vendor: 6,852 bytes, lines 1-9
1var OG=Object.defineProperty;var wA=e=>{throw TypeError(e)};var IG=(e,t,n)=>t in e?OG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Yt=(e,t,n)=>IG(e,typeof t!="symbol"?t+"":t,n),e5=(e,t,n)=>t.has(e)||wA("Cannot "+n);var Be=(e,t,n)=>(e5(e,t,"read from private field"),n?n.call(e):t.get(e)),un=(e,t,n)=>t.has(e)?wA("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Ht=(e,t,n,r)=>(e5(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),la=(e,t,n)=>(e5(e,t,"access private method"),n);var jv=(e,t,n,r)=>({set _(i){Ht(e,t,i,n)},get _(){return Be(e,t,r)}});function UG(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 s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var Dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ih(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function LC(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 WR={exports:{}},g1={},VR={exports:{}},Jt={};/** 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 Gx=Symbol.for("react.element"),FG=Symbol.for("react.portal"),MG=Symbol.for("react.fragment"),qG=Symbol.for("react.strict_mode"),BG=Symbol.for("react.profiler"),zG=Symbol.for("react.provider"),$G=Symbol.for("react.context"),WG=Symbol.for("react.forward_ref"),VG=Symbol.for("react.suspense"),HG=Symbol.for("react.memo"),GG=Symbol.for("react.lazy"),jA=Symbol.iterator;function XG(e){return e===null||typeof e!="object"?null:(e=jA&&e[jA]||e["@@iterator"],typeof e=="function"?e:null)}var HR={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},GR=Object.assign,XR={};function Uh(e,t,n){this.props=e,this.context=t,this.refs=XR,this.updater=n||HR}Uh.prototype.isReactComponent={};Uh.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")};Uh.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function KR(){}KR.prototype=Uh.prototype;function RC(e,t,n){this.props=e,this.context=t,this.refs=XR,this.updater=n||HR}var OC=RC.prototype=new KR;OC.constructor=RC;GR(OC,Uh.prototype);OC.isPureReactComponent=!0;var _A=Array.isArray,YR=Object.prototype.hasOwnProperty,IC={current:null},QR={key:!0,ref:!0,__self:!0,__source:!0};function ZR(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)YR.call(t,r)&&!QR.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(c===1)i.children=n;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in c=e.defaultProps,c)i[r]===void 0&&(i[r]=c[r]);return{$$typeof:Gx,type:e,key:s,ref:o,props:i,_owner:IC.current}}function KG(e,t){return{$$typeof:Gx,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function UC(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gx}function YG(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var NA=/\/+/g;function t5(e,t){return typeof e=="object"&&e!==null&&e.key!=null?YG(""+e.key):t.toString(36)}function Cb(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Gx:case FG:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+t5(o,0):r,_A(i)?(n="",e!=null&&(n=e.replace(NA,"$&/")+"/"),Cb(i,t,n,"",function(u){return u})):i!=null&&(UC(i)&&(i=KG(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(NA,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",_A(e))for(var c=0;c<e.length;c++){s=e[c];var l=r+t5(s,c);o+=Cb(s,t,n,l,i)}else if(l=XG(e),typeof l=="function")for(e=l.call(e),c=0;!(s=e.next()).done;)s=s.value,l=r+t5(s,c++),o+=Cb(s,t,n,l,i);else if(s==="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 o}function _v(e,t,n){if(e==null)return e;var r=[],i=0;return Cb(e,r,"","",function(s){return t.call(n,s,i++)}),r}function QG(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 Ha={current:null},Eb={transition:null},ZG={ReactCurrentDispatcher:Ha,ReactCurrentBatchConfig:Eb,ReactCurrentOwner:IC};function JR(){throw Error("act(...) is not supported in production builds of React.")}Jt.Children={map:_v,forEach:function(e,t,n){_v(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return _v(e,function(){t++}),t},toArray:function(e){return _v(e,function(t){return t})||[]},only:function(e){if(!UC(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Jt.Component=Uh;Jt.Fragment=MG;Jt.Profiler=BG;Jt.PureComponent=RC;Jt.StrictMode=qG;Jt.Suspense=VG;
vendor: 7,226 bytes, lines 9-25
9Jt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ZG;Jt.act=JR;Jt.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=GR({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=IC.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in t)YR.call(t,l)&&!QR.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&c!==void 0?c[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];r.children=c}return{$$typeof:Gx,type:e.type,key:i,ref:s,props:r,_owner:o}};Jt.createContext=function(e){return e={$$typeof:$G,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:zG,_context:e},e.Consumer=e};Jt.createElement=ZR;Jt.createFactory=function(e){var t=ZR.bind(null,e);return t.type=e,t};Jt.createRef=function(){return{current:null}};Jt.forwardRef=function(e){return{$$typeof:WG,render:e}};Jt.isValidElement=UC;Jt.lazy=function(e){return{$$typeof:GG,_payload:{_status:-1,_result:e},_init:QG}};Jt.memo=function(e,t){return{$$typeof:HG,type:e,compare:t===void 0?null:t}};Jt.startTransition=function(e){var t=Eb.transition;Eb.transition={};try{e()}finally{Eb.transition=t}};Jt.unstable_act=JR;Jt.useCallback=function(e,t){return Ha.current.useCallback(e,t)};Jt.useContext=function(e){return Ha.current.useContext(e)};Jt.useDebugValue=function(){};Jt.useDeferredValue=function(e){return Ha.current.useDeferredValue(e)};Jt.useEffect=function(e,t){return Ha.current.useEffect(e,t)};Jt.useId=function(){return Ha.current.useId()};Jt.useImperativeHandle=function(e,t,n){return Ha.current.useImperativeHandle(e,t,n)};Jt.useInsertionEffect=function(e,t){return Ha.current.useInsertionEffect(e,t)};Jt.useLayoutEffect=function(e,t){return Ha.current.useLayoutEffect(e,t)};Jt.useMemo=function(e,t){return Ha.current.useMemo(e,t)};Jt.useReducer=function(e,t,n){return Ha.current.useReducer(e,t,n)};Jt.useRef=function(e){return Ha.current.useRef(e)};Jt.useState=function(e){return Ha.current.useState(e)};Jt.useSyncExternalStore=function(e,t,n){return Ha.current.useSyncExternalStore(e,t,n)};Jt.useTransition=function(){return Ha.current.useTransition()};Jt.version="18.3.1";VR.exports=Jt;var j=VR.exports;const Ue=Ih(j),FC=UG({__proto__:null,default:Ue},[j]);/** 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 JG=j,eX=Symbol.for("react.element"),tX=Symbol.for("react.fragment"),nX=Object.prototype.hasOwnProperty,rX=JG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,aX={key:!0,ref:!0,__self:!0,__source:!0};function eO(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)nX.call(t,r)&&!aX.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:eX,type:e,key:s,ref:o,props:i,_owner:rX.current}}g1.Fragment=tX;g1.jsx=eO;g1.jsxs=eO;WR.exports=g1;var a=WR.exports,tO={exports:{}},Gi={},nO={exports:{}},rO={};/** 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(M,F){var H=M.length;M.push(F);e:for(;0<H;){var V=H-1>>>1,O=M[V];if(0<i(O,F))M[V]=F,M[H]=O,H=V;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var F=M[0],H=M.pop();if(H!==F){M[0]=H;e:for(var V=0,O=M.length,$=O>>>1;V<$;){var K=2*(V+1)-1,Y=M[K],ee=K+1,re=M[ee];if(0>i(Y,H))ee<O&&0>i(re,Y)?(M[V]=re,M[ee]=H,V=ee):(M[V]=Y,M[K]=H,V=K);else if(ee<O&&0>i(re,H))M[V]=re,M[ee]=H,V=ee;else break e}}return F}function i(M,F){var H=M.sortIndex-F.sortIndex;return H!==0?H:M.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,c=o.now();e.unstable_now=function(){return o.now()-c}}var l=[],u=[],d=1,p=null,h=3,f=!1,v=!1,m=!1,y=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(M){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=M)r(u),F.sortIndex=F.expirationTime,t(l,F);else break;F=n(u)}}function _(M){if(m=!1,b(M),!v)if(n(l)!==null)v=!0,I(E);else{var F=n(u);F!==null&&z(_,F.startTime-M)}}function E(M,F){v=!1,m&&(m=!1,g(w),w=-1),f=!0;var H=h;try{for(b(F),p=n(l);p!==null&&(!(p.expirationTime>F)||M&&!P());){var V=p.callback;if(typeof V=="function"){p.callback=null,h=p.priorityLevel;var O=V(p.expirationTime<=F);F=e.unstable_now(),typeof O=="function"?p.callback=O:p===n(l)&&r(l),b(F)}else r(l);p=n(l)}if(p!==null)var $=!0;else{var K=n(u);K!==null&&z(_,K.startTime-F),$=!1}return $}finally{p=null,h=H,f=!1}}var T=!1,A=null,w=-1,S=5,k=-1;function P(){return!(e.unstable_now()-k<S)}function D(){if(A!==null){var M=e.unstable_now();k=M;var F=!0;try{F=A(!0,M)}finally{F?R():(T=!1,A=null)}}else T=!1}var R;if(typeof x=="function")R=function(){x(D)};else if(typeof MessageChannel<"u"){var N=new MessageChannel,q=N.port2;N.port1.onmessage=D,R=function(){q.postMessage(null)}}else R=function(){y(D,0)};function I(M){A=M,T||(T=!0,R())}function z(M,F){w=y(function(){M(e.unstable_now())},F)}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(M){M.callback=null},e.unstable_continueExecution=function(){v||f||(v=!0,I(E))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(h){case 1:case 2:case 3:var F=3;break;default:F=h}var H=h;h=F;try{return M()}finally{h=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,F){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var H=h;h=M;try{return F()}finally{h=H}},e.unstable_scheduleCallback=function(M,F,H){var V=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?V+H:V):H=V,M){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=H+O,M={id:d++,callback:F,priorityLevel:M,startTime:H,expirationTime:O,sortIndex:-1},H>V?(M.sortIndex=H,t(u,M),n(l)===null&&M===n(u)&&(m?(g(w),w=-1):m=!0,z(_,H-V))):(M.sortIndex=O,t(l,M),v||f||(v=!0,I(E))
vendor: 4,403 bytes, lines 25-33
25),M},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(M){var F=h;return function(){var H=h;h=F;try{return M.apply(this,arguments)}finally{h=H}}}})(rO);nO.exports=rO;var iX=nO.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 sX=j,Wi=iX;function Qe(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 aO=new Set,Wg={};function ip(e,t){uh(e,t),uh(e+"Capture",t)}function uh(e,t){for(Wg[e]=t,e=0;e<t.length;e++)aO.add(t[e])}var zc=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mN=Object.prototype.hasOwnProperty,oX=/^[: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]*$/,CA={},EA={};function cX(e){return mN.call(EA,e)?!0:mN.call(CA,e)?!1:oX.test(e)?EA[e]=!0:(CA[e]=!0,!1)}function lX(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 uX(e,t,n,r){if(t===null||typeof t>"u"||lX(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 Ga(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var na={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){na[e]=new Ga(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];na[t]=new Ga(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){na[e]=new Ga(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){na[e]=new Ga(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){na[e]=new Ga(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){na[e]=new Ga(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){na[e]=new Ga(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){na[e]=new Ga(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){na[e]=new Ga(e,5,!1,e.toLowerCase(),null,!1,!1)});var MC=/[\-:]([a-z])/g;function qC(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
33-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(MC,qC);na[t]=new Ga(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(MC,qC);na[t]=new Ga(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(MC,qC);na[t]=new Ga(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){na[e]=new Ga(e,1,!1,e.toLowerCase(),null,!1,!1)});na.xlinkHref=new Ga("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){na[e]=new Ga(e,1,!1,e.toLowerCase(),null,!0,!0)});function BC(e,t,n,r){var i=na.hasOwnProperty(t)?na[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(uX(t,n,i,r)&&(n=null),r||i===null?cX(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 Jc=sX.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Nv=Symbol.for("react.element"),xf=Symbol.for("react.portal"),yf=Symbol.for("react.fragment"),zC=Symbol.for("react.strict_mode"),gN=Symbol.for("react.profiler"),iO=Symbol.for("react.provider"),sO=Symbol.for("react.context"),$C=Symbol.for("react.forward_ref"),xN=Symbol.for("react.suspense"),yN=Symbol.for("react.suspense_list"),WC=Symbol.for("react.memo"),Ol=Symbol.for("react.lazy"),oO=Symbol.for("react.offscreen"),SA=Symbol.iterator;function Im(e){return e===null||typeof e!="object"?null:(e=SA&&e[SA]||e["@@iterator"],typeof e=="function"?e:null)}var Yn=Object.assign,n5;function cg(e){if(n5===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);n5=t&&t[1]||""}return` 34`+n5+e}var r5=!1;function a5(e,t){if(!e||r5)return"";r5=!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()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),s=r.stack.split(` 36`),o=i.length-1,c=s.length-1;1<=o&&0<=c&&i[o]!==s[c];)c--;for(;1<=o&&0<=c;o--,c--)if(i[o]!==s[c]){if(o!==1||c!==1)do if(o--,c--,0>c||i[o]!==s[c]){var l=` 37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=c);break}}}finally{r5=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?cg(e):""}function dX(e){switch(e.tag){case 5:return cg(e.type);case 16:return cg("Lazy");case 13:return cg("Suspense");case 19:return cg("SuspenseList");case 0:case 2:case 15:return e=a5(e.type,!1),e;case 11:return e=a5(e.type.render,!1),e;case 1:return e=a5(e.type,!0),e;default:return""}}function vN(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 yf:return"Fragment";case xf:return"Portal";case gN:return"Profiler";case zC:return"StrictMode";case xN:return"Suspense";case yN:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case sO:return(e.displayName||"Context")+".Consumer";case iO:return(e._context.displayName||"Context")+".Provider";case $C:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case WC:return t=e.displayName||null,t!==null?t:vN(e.type)||"Memo";case Ol:t=e._payload,e=e._init;try{return vN(e(t))}catch{}}return null}function pX(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 vN(t);case 8:return t===zC?"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 pu(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function cO(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fX(e){var t=cO(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cv(e){e._valueTracker||(e._valueTracker=fX(e))}function lO(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=cO(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function e0(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 bN(e,t){var n=t.checked;return Yn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function DA(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pu(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 uO(e,t){t=t.checked,t!=null&&BC(e,"checked",t,!1)}function wN(e,t){uO(e,t);var n=pu(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")?jN(e,t.type,n):t.hasOwnProperty("defaultValue")&&jN(e,t.type,pu(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function AA(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 jN(e,t,n){(t!=="number"||e0(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var lg=Array.isArray;function Tf(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=""+pu(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 _N(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Qe(91));return Yn({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function kA(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Qe(92));if(lg(n)){if(1<n.length)throw Error(Qe(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:pu(n)}}function dO(e,t){var n=pu(t.value),r=pu(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 TA(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function pO(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 NN(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?pO(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ev,fO=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(Ev=Ev||document.createElement("div"),Ev.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ev.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vg(e,t){if(t){var n=e.firstChild;
vendor: 10,517 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jg={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},hX=["Webkit","ms","Moz","O"];Object.keys(jg).forEach(function(e){hX.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jg[t]=jg[e]})});function hO(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jg.hasOwnProperty(e)&&jg[e]?(""+t).trim():t+"px"}function mO(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=hO(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var mX=Yn({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 CN(e,t){if(t){if(mX[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Qe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Qe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Qe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Qe(62))}}function EN(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 SN=null;function VC(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var DN=null,Pf=null,Lf=null;function PA(e){if(e=Yx(e)){if(typeof DN!="function")throw Error(Qe(280));var t=e.stateNode;t&&(t=w1(t),DN(e.stateNode,e.type,t))}}function gO(e){Pf?Lf?Lf.push(e):Lf=[e]:Pf=e}function xO(){if(Pf){var e=Pf,t=Lf;if(Lf=Pf=null,PA(e),t)for(e=0;e<t.length;e++)PA(t[e])}}function yO(e,t){return e(t)}function vO(){}var i5=!1;function bO(e,t,n){if(i5)return e(t,n);i5=!0;try{return yO(e,t,n)}finally{i5=!1,(Pf!==null||Lf!==null)&&(vO(),xO())}}function Hg(e,t){var n=e.stateNode;if(n===null)return null;var r=w1(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(Qe(231,t,typeof n));return n}var AN=!1;if(zc)try{var Um={};Object.defineProperty(Um,"passive",{get:function(){AN=!0}}),window.addEventListener("test",Um,Um),window.removeEventListener("test",Um,Um)}catch{AN=!1}function gX(e,t,n,r,i,s,o,c,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var _g=!1,t0=null,n0=!1,kN=null,xX={onError:function(e){_g=!0,t0=e}};function yX(e,t,n,r,i,s,o,c,l){_g=!1,t0=null,gX.apply(xX,arguments)}function vX(e,t,n,r,i,s,o,c,l){if(yX.apply(this,arguments),_g){if(_g){var u=t0;_g=!1,t0=null}else throw Error(Qe(198));n0||(n0=!0,kN=u)}}function sp(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 wO(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 LA(e){if(sp(e)!==e)throw Error(Qe(188))}function bX(e){var t=e.alternate;if(!t){if(t=sp(e),t===null)throw Error(Qe(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return LA(i),e;if(s===r)return LA(i),t;s=s.sibling}throw Error(Qe(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,c=i.child;c;){if(c===n){o=!0,n=i,r=s;break}if(c===r){o=!0,r=i,n=s;break}c=c.sibling}if(!o){for(c=s.child;c;){if(c===n){o=!0,n=s,r=i;break}if(c===r){o=!0,r=s,n=i;break}c=c.sibling}if(!o)throw Error(Qe(189))}}if(n.alternate!==r)throw Error(Qe(190))}if(n.tag!==3)throw Error(Qe(188));return n.stateNode.current===n?e:t}function jO(e){return e=bX(e),e!==null?_O(e):null}function _O(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_O(e);if(t!==null)return t;e=e.sibling}return null}var NO=Wi.unstable_scheduleCallback,RA=Wi.unstable_cancelCallback,wX=Wi.unstable_shouldYield,jX=Wi.unstable_requestPaint,ur=Wi.unstable_now,_X=Wi.unstable_getCurrentPriorityLevel,HC=Wi.unstable_ImmediatePriority,CO=Wi.unstable_UserBlockingPriority,r0=Wi.unstable_NormalPriority,NX=Wi.unstable_LowPriority,EO=Wi.unstable_IdlePriority,x1=null,Mo=null;function CX(e){if(Mo&&typeof Mo.onCommitFiberRoot=="function")try{Mo.onCommitFiberRoot(x1,e,void 0,(e.current.flags&128)===128)}catch{}}var to=Math.clz32?Math.clz32:DX,EX=Math.log,SX=Math.LN2;function DX(e){return e>>>=0,e===0?32:31-(EX(e)/SX|0)|0}var Sv=64,Dv=4194304;function ug(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 a0(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var c=o&~i;c!==0?r=ug(c):(s&=o,s!==0&&(r=ug(s)))}else o=n&~i,o!==0?r=ug(o):s!==0&&(r=ug(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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-to(t),i=1<<n,r|=e[n],t&=~i;return r}function AX(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 kX(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-to(s),c=1<<o,l=i[o];l===-1?(!(c&n)||c&r)&&(i[o]=AX(c,t)):l<=t&&(e.expiredLanes|=c),s&=~c}}function TN(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function SO(){var e=Sv;return Sv<<=1,!(Sv&4194240)&&(Sv=64),e}function s5(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Xx(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-to(t),e[t]=n}function TX(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-to(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function GC(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-to(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var gn=0;function DO(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var AO,XC,kO,TO,PO,PN=!1,Av=[],Zl=null,Jl=null,eu=null,Gg=new Map,Xg=new Map,Fl=[],PX="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 OA(e,t){switch(e){case"focusin":case"focusout":Zl=null;break;case"dragenter":case"dragleave":Jl=null;break;case"mouseover":case"mouseout":eu=null;break;case"pointerover":case"pointerout":Gg.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xg.delete(t.pointerId)}}function Fm(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=Yx(t),t!==null&&XC(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function LX(e,t,n,r,i){switch(t){case"focusin":return Zl=Fm(Zl,e,t,n,r,i),!0;case"dragenter":return Jl=Fm(Jl,e,t,n,r,i),!0;case"mouseover":return eu=Fm(eu,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Gg.set(s,Fm(Gg.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Xg.set(s,Fm(Xg.get(s)||null,e,t,n,r,i)),!0}return!1}function LO(e){var t=bd(e.target);if(t!==null){var n=sp(t);if(n!==null){if(t=n.tag,t===13){if(t=wO(n),t!==null){e.blockedOn=t,PO(e.priority,function(){kO(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 Sb(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=LN(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);SN=r,n.target.dispatchEvent(r),SN=null}else return t=Yx(n),t!==null&&XC(t),e.blockedOn=n,!1;t.shift()}return!0}function IA(e,t,n){Sb(e)&&n.delete(t)}function RX(){PN=!1,Zl!==null&&Sb(Zl)&&(Zl=null),Jl!==null&&Sb(Jl)&&(Jl=null),eu!==null&&Sb(eu)&&(eu=null),Gg.forEach(IA),Xg.forEach(IA)}function Mm(e,t){e.blockedOn===t&&(e.blockedOn=null,PN||(PN=!0,Wi.unstable_scheduleCallback(Wi.unstable_NormalPriority,RX)))}function Kg(e){function t(i){return Mm(i,e)}if(0<Av.length){Mm(Av[0],e);for(var n=1;n<Av.length;n++){var r=Av[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Zl!==null&&Mm(Zl,e),Jl!==null&&Mm(Jl,e),eu!==null&&Mm(eu,e),Gg.forEach(t),Xg.forEach(t),n=0;n<Fl.length;n++)r=Fl[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Fl.length&&(n=Fl[0],n.blockedOn===null);
vendor: 11,342 bytes, line 37
37)LO(n),n.blockedOn===null&&Fl.shift()}var Rf=Jc.ReactCurrentBatchConfig,i0=!0;function OX(e,t,n,r){var i=gn,s=Rf.transition;Rf.transition=null;try{gn=1,KC(e,t,n,r)}finally{gn=i,Rf.transition=s}}function IX(e,t,n,r){var i=gn,s=Rf.transition;Rf.transition=null;try{gn=4,KC(e,t,n,r)}finally{gn=i,Rf.transition=s}}function KC(e,t,n,r){if(i0){var i=LN(e,t,n,r);if(i===null)g5(e,t,r,s0,n),OA(e,r);else if(LX(i,e,t,n,r))r.stopPropagation();else if(OA(e,r),t&4&&-1<PX.indexOf(e)){for(;i!==null;){var s=Yx(i);if(s!==null&&AO(s),s=LN(e,t,n,r),s===null&&g5(e,t,r,s0,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else g5(e,t,r,null,n)}}var s0=null;function LN(e,t,n,r){if(s0=null,e=VC(r),e=bd(e),e!==null)if(t=sp(e),t===null)e=null;else if(n=t.tag,n===13){if(e=wO(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 s0=e,null}function RO(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(_X()){case HC:return 1;case CO:return 4;case r0:case NX:return 16;case EO:return 536870912;default:return 16}default:return 16}}var Gl=null,YC=null,Db=null;function OO(){if(Db)return Db;var e,t=YC,n=t.length,r,i="value"in Gl?Gl.value:Gl.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return Db=i.slice(e,1<r?1-r:void 0)}function Ab(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 kv(){return!0}function UA(){return!1}function Xi(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?kv:UA,this.isPropagationStopped=UA,this}return Yn(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=kv)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kv)},persist:function(){},isPersistent:kv}),t}var Fh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},QC=Xi(Fh),Kx=Yn({},Fh,{view:0,detail:0}),UX=Xi(Kx),o5,c5,qm,y1=Yn({},Kx,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ZC,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!==qm&&(qm&&e.type==="mousemove"?(o5=e.screenX-qm.screenX,c5=e.screenY-qm.screenY):c5=o5=0,qm=e),o5)},movementY:function(e){return"movementY"in e?e.movementY:c5}}),FA=Xi(y1),FX=Yn({},y1,{dataTransfer:0}),MX=Xi(FX),qX=Yn({},Kx,{relatedTarget:0}),l5=Xi(qX),BX=Yn({},Fh,{animationName:0,elapsedTime:0,pseudoElement:0}),zX=Xi(BX),$X=Yn({},Fh,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),WX=Xi($X),VX=Yn({},Fh,{data:0}),MA=Xi(VX),HX={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},GX={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"},XX={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function KX(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=XX[e])?!!t[e]:!1}function ZC(){return KX}var YX=Yn({},Kx,{key:function(e){if(e.key){var t=HX[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ab(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?GX[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ZC,charCode:function(e){return e.type==="keypress"?Ab(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ab(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),QX=Xi(YX),ZX=Yn({},y1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qA=Xi(ZX),JX=Yn({},Kx,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ZC}),eK=Xi(JX),tK=Yn({},Fh,{propertyName:0,elapsedTime:0,pseudoElement:0}),nK=Xi(tK),rK=Yn({},y1,{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}),aK=Xi(rK),iK=[9,13,27,32],JC=zc&&"CompositionEvent"in window,Ng=null;zc&&"documentMode"in document&&(Ng=document.documentMode);var sK=zc&&"TextEvent"in window&&!Ng,IO=zc&&(!JC||Ng&&8<Ng&&11>=Ng),BA=" ",zA=!1;function UO(e,t){switch(e){case"keyup":return iK.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function FO(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vf=!1;function oK(e,t){switch(e){case"compositionend":return FO(t);case"keypress":return t.which!==32?null:(zA=!0,BA);case"textInput":return e=t.data,e===BA&&zA?null:e;default:return null}}function cK(e,t){if(vf)return e==="compositionend"||!JC&&UO(e,t)?(e=OO(),Db=YC=Gl=null,vf=!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 IO&&t.locale!=="ko"?null:t.data;default:return null}}var lK={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 $A(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!lK[e.type]:t==="textarea"}function MO(e,t,n,r){gO(r),t=o0(t,"onChange"),0<t.length&&(n=new QC("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Cg=null,Yg=null;function uK(e){YO(e,0)}function v1(e){var t=jf(e);if(lO(t))return e}function dK(e,t){if(e==="change")return t}var qO=!1;if(zc){var u5;if(zc){var d5="oninput"in document;if(!d5){var WA=document.createElement("div");WA.setAttribute("oninput","return;"),d5=typeof WA.oninput=="function"}u5=d5}else u5=!1;qO=u5&&(!document.documentMode||9<document.documentMode)}function VA(){Cg&&(Cg.detachEvent("onpropertychange",BO),Yg=Cg=null)}function BO(e){if(e.propertyName==="value"&&v1(Yg)){var t=[];MO(t,Yg,e,VC(e)),bO(uK,t)}}function pK(e,t,n){e==="focusin"?(VA(),Cg=t,Yg=n,Cg.attachEvent("onpropertychange",BO)):e==="focusout"&&VA()}function fK(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return v1(Yg)}function hK(e,t){if(e==="click")return v1(t)}function mK(e,t){if(e==="input"||e==="change")return v1(t)}function gK(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ro=typeof Object.is=="function"?Object.is:gK;function Qg(e,t){if(ro(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(!mN.call(t,i)||!ro(e[i],t[i]))return!1}return!0}function HA(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function GA(e,t){var n=HA(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=HA(n)}}function zO(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zO(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function $O(){for(var e=window,t=e0();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=e0(e.document)}return t}function eE(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 xK(e){var t=$O(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zO(n.ownerDocument.documentElement,n)){if(r!==null&&eE(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=GA(n,s);var o=GA(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 yK=zc&&"documentMode"in document&&11>=document.documentMode,bf=null,RN=null,Eg=null,ON=!1;function XA(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ON||bf==null||bf!==e0(r)||(r=bf,"selectionStart"in r&&eE(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}),Eg&&Qg(Eg,r)||(Eg=r,r=o0(RN,"onSelect"),0<r.length&&(t=new QC("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=bf)))}function Tv(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wf={animationend:Tv("Animation","AnimationEnd"),animationiteration:Tv("Animation","AnimationIteration"),animationstart:Tv("Animation","AnimationStart"),transitionend:Tv("Transition","TransitionEnd")},p5={},WO={};zc&&(WO=document.createElement("div").style,"AnimationEvent"in window||(delete wf.animationend.animation,delete wf.animationiteration.animation,delete wf.animationstart.animation),"TransitionEvent"in window||delete wf.transitionend.transition);function b1(e){if(p5[e])return p5[e];if(!wf[e])return e;var t=wf[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in WO)return p5[e]=t[n];return e}var VO=b1("animationend"),HO=b1("animationiteration"),GO=b1("animationstart"),XO=b1("transitionend"),KO=new Map,KA="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 Nu(e,t){KO.set(e,t),ip(t,[e])}for(var f5=0;f5<KA.length;f5++){var h5=KA[f5],vK=h5.toLowerCase(),bK=h5[0].toUpperCase()+h5.slice(1);Nu(vK,"on"+bK)}Nu(VO,"onAnimationEnd");Nu(HO,"onAnimationIteration");Nu(GO,"onAnimationStart");Nu("dblclick","onDoubleClick");Nu("focusin","onFocus");Nu("focusout","onBlur");Nu(XO,"onTransitionEnd");uh("onMouseEnter",["mouseout","mouseover"]);uh("onMouseLeave",["mouseout","mouseover"]);uh("onPointerEnter",["pointerout","pointerover"]);uh("onPointerLeave",["pointerout","pointerover"]);ip("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ip("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ip("onBeforeInput",["compositionend","keypress","textInput","paste"]);ip("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ip("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ip("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dg="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(" "),wK=new Set("cancel close invalid load scroll toggle".split(" ").concat(dg));function YA(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,vX(r,t,void 0,e),e.currentTarget=null}function YO(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 s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var c=r[o],l=c.instance,u=c.currentTarget;if(c=c.listener,l!==s&&i.isPropagationStopped())break e;YA(i,c,u),s=l}else for(o=0;o<r.length;o++){if(c=r[o],l=c.instance,u=c.currentTarget,c=c.listener,l!==s&&i.isPropagationStopped())break e;YA(i,c,u),s=l}}}if(n0)throw e=kN,n0=!1,kN=null,e}function Un(e,t){var n=t[qN];n===void 0&&(n=t[qN]=new Set);var r=e+"__bubble";n.has(r)||(QO(t,e,2,!1),n.add(r))}function m5(e,t,n){var r=0;t&&(r|=4),QO(n,e,r,t)}var Pv="_reactListening"+Math.random().toString(36).slice(2);function Zg(e){if(!e[Pv]){e[Pv]=!0,aO.forEach(function(n){n!=="selectionchange"&&(wK.has(n)||m5(n,!1,e),m5(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Pv]||(t[Pv]=!0,m5("selectionchange",!1,t))}}function QO(e,t,n,r){switch(RO(t)){case 1:var i=OX;break;case 4:i=IX;break;default:i=KC}n=i.bind(null,t,n,e),i=void 0,!AN||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 g5(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var c=r.stateNode.containerInfo;
vendor: 3,090 bytes, line 37
37if(c===i||c.nodeType===8&&c.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;c!==null;){if(o=bd(c),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}c=c.parentNode}}r=r.return}bO(function(){var u=s,d=VC(n),p=[];e:{var h=KO.get(e);if(h!==void 0){var f=QC,v=e;switch(e){case"keypress":if(Ab(n)===0)break e;case"keydown":case"keyup":f=QX;break;case"focusin":v="focus",f=l5;break;case"focusout":v="blur",f=l5;break;case"beforeblur":case"afterblur":f=l5;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=FA;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=MX;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=eK;break;case VO:case HO:case GO:f=zX;break;case XO:f=nK;break;case"scroll":f=UX;break;case"wheel":f=aK;break;case"copy":case"cut":case"paste":f=WX;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=qA}var m=(t&4)!==0,y=!m&&e==="scroll",g=m?h!==null?h+"Capture":null:h;m=[];for(var x=u,b;x!==null;){b=x;var _=b.stateNode;if(b.tag===5&&_!==null&&(b=_,g!==null&&(_=Hg(x,g),_!=null&&m.push(Jg(x,_,b)))),y)break;x=x.return}0<m.length&&(h=new f(h,v,null,n,d),p.push({event:h,listeners:m}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",h&&n!==SN&&(v=n.relatedTarget||n.fromElement)&&(bd(v)||v[$c]))break e;if((f||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,f?(v=n.relatedTarget||n.toElement,f=u,v=v?bd(v):null,v!==null&&(y=sp(v),v!==y||v.tag!==5&&v.tag!==6)&&(v=null)):(f=null,v=u),f!==v)){if(m=FA,_="onMouseLeave",g="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(m=qA,_="onPointerLeave",g="onPointerEnter",x="pointer"),y=f==null?h:jf(f),b=v==null?h:jf(v),h=new m(_,x+"leave",f,n,d),h.target=y,h.relatedTarget=b,_=null,bd(d)===u&&(m=new m(g,x+"enter",v,n,d),m.target=b,m.relatedTarget=y,_=m),y=_,f&&v)t:{for(m=f,g=v,x=0,b=m;b;b=Rp(b))x++;for(b=0,_=g;_;_=Rp(_))b++;for(;0<x-b;)m=Rp(m),x--;for(;0<b-x;)g=Rp(g),b--;for(;x--;){if(m===g||g!==null&&m===g.alternate)break t;m=Rp(m),g=Rp(g)}m=null}else m=null;f!==null&&QA(p,h,f,m,!1),v!==null&&y!==null&&QA(p,y,v,m,!0)}}e:{if(h=u?jf(u):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var E=dK;else if($A(h))if(qO)E=mK;else{E=fK;var T=pK}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(E=hK);if(E&&(E=E(e,u))){MO(p,E,n,d);break e}T&&T(e,h,u),e==="focusout"&&(T=h._wrapperState)&&T.controlled&&h.type==="number"&&jN(h,"number",h.value)}switch(T=u?jf(u):window,e){case"focusin":($A(T)||T.contentEditable==="true")&&(bf=T,RN=u,Eg=null);break;case"focusout":Eg=RN=bf=null;break;case"mousedown":ON=!0;break;
vendor: 4,097 bytes, lines 37-38
37case"contextmenu":case"mouseup":case"dragend":ON=!1,XA(p,n,d);break;case"selectionchange":if(yK)break;case"keydown":case"keyup":XA(p,n,d)}var A;if(JC)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else vf?UO(e,n)&&(w="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(w="onCompositionStart");w&&(IO&&n.locale!=="ko"&&(vf||w!=="onCompositionStart"?w==="onCompositionEnd"&&vf&&(A=OO()):(Gl=d,YC="value"in Gl?Gl.value:Gl.textContent,vf=!0)),T=o0(u,w),0<T.length&&(w=new MA(w,e,null,n,d),p.push({event:w,listeners:T}),A?w.data=A:(A=FO(n),A!==null&&(w.data=A)))),(A=sK?oK(e,n):cK(e,n))&&(u=o0(u,"onBeforeInput"),0<u.length&&(d=new MA("onBeforeInput","beforeinput",null,n,d),p.push({event:d,listeners:u}),d.data=A))}YO(p,t)})}function Jg(e,t,n){return{instance:e,listener:t,currentTarget:n}}function o0(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Hg(e,n),s!=null&&r.unshift(Jg(e,s,i)),s=Hg(e,t),s!=null&&r.push(Jg(e,s,i))),e=e.return}return r}function Rp(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function QA(e,t,n,r,i){for(var s=t._reactName,o=[];n!==null&&n!==r;){var c=n,l=c.alternate,u=c.stateNode;if(l!==null&&l===r)break;c.tag===5&&u!==null&&(c=u,i?(l=Hg(n,s),l!=null&&o.unshift(Jg(n,l,c))):i||(l=Hg(n,s),l!=null&&o.push(Jg(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jK=/\r\n?/g,_K=/\u0000|\uFFFD/g;function ZA(e){return(typeof e=="string"?e:""+e).replace(jK,` 38`).replace(_K,"")}function Lv(e,t,n){if(t=ZA(t),ZA(e)!==t&&n)throw Error(Qe(425))}function c0(){}var IN=null,UN=null;function FN(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 MN=typeof setTimeout=="function"?setTimeout:void 0,NK=typeof clearTimeout=="function"?clearTimeout:void 0,JA=typeof Promise=="function"?Promise:void 0,CK=typeof queueMicrotask=="function"?queueMicrotask:typeof JA<"u"?function(e){return JA.resolve(null).then(e).catch(EK)}:MN;function EK(e){setTimeout(function(){throw e})}function x5(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),Kg(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Kg(t)}function tu(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 ek(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 Mh=Math.random().toString(36).slice(2),Oo="__reactFiber$"+Mh,ex="__reactProps$"+Mh,$c="__reactContainer$"+Mh,qN="__reactEvents$"+Mh,SK="__reactListeners$"+Mh,DK="__reactHandles$"+Mh;function bd(e){var t=e[Oo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$c]||n[Oo]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ek(e);e!==null;){if(n=e[Oo])return n;e=ek(e)}return t}e=n,n=e.parentNode}return null}function Yx(e){return e=e[Oo]||e[$c],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function jf(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Qe(33))}function w1(e){return e[ex]||null}var BN=[],_f=-1;function Cu(e){return{current:e}}function Mn(e){0>_f||(e.current=BN[_f],BN[_f]=null,_f--)}function Pn(e,t){_f++,BN[_f]=e.current,e.current=t}var fu={},Ca=Cu(fu),li=Cu(!1),Id=fu;function dh(e,t){var n=e.type.contextTypes;if(!n)return fu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ui(e){return e=e.childContextTypes,e!=null}function l0(){Mn(li),Mn(Ca)}
vendor: 13,109 bytes, line 38
38function tk(e,t,n){if(Ca.current!==fu)throw Error(Qe(168));Pn(Ca,t),Pn(li,n)}function ZO(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(Qe(108,pX(e)||"Unknown",i));return Yn({},n,r)}function u0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fu,Id=Ca.current,Pn(Ca,e),Pn(li,li.current),!0}function nk(e,t,n){var r=e.stateNode;if(!r)throw Error(Qe(169));n?(e=ZO(e,t,Id),r.__reactInternalMemoizedMergedChildContext=e,Mn(li),Mn(Ca),Pn(Ca,e)):Mn(li),Pn(li,n)}var Sc=null,j1=!1,y5=!1;function JO(e){Sc===null?Sc=[e]:Sc.push(e)}function AK(e){j1=!0,JO(e)}function Eu(){if(!y5&&Sc!==null){y5=!0;var e=0,t=gn;try{var n=Sc;for(gn=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Sc=null,j1=!1}catch(i){throw Sc!==null&&(Sc=Sc.slice(e+1)),NO(HC,Eu),i}finally{gn=t,y5=!1}}return null}var Nf=[],Cf=0,d0=null,p0=0,ps=[],fs=0,Ud=null,Pc=1,Lc="";function id(e,t){Nf[Cf++]=p0,Nf[Cf++]=d0,d0=e,p0=t}function eI(e,t,n){ps[fs++]=Pc,ps[fs++]=Lc,ps[fs++]=Ud,Ud=e;var r=Pc;e=Lc;var i=32-to(r)-1;r&=~(1<<i),n+=1;var s=32-to(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Pc=1<<32-to(t)+i|n<<i|r,Lc=s+e}else Pc=1<<s|n<<i|r,Lc=e}function tE(e){e.return!==null&&(id(e,1),eI(e,1,0))}function nE(e){for(;e===d0;)d0=Nf[--Cf],Nf[Cf]=null,p0=Nf[--Cf],Nf[Cf]=null;for(;e===Ud;)Ud=ps[--fs],ps[fs]=null,Lc=ps[--fs],ps[fs]=null,Pc=ps[--fs],ps[fs]=null}var zi=null,Mi=null,$n=!1,Ys=null;function tI(e,t){var n=gs(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 rk(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,zi=e,Mi=tu(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,zi=e,Mi=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ud!==null?{id:Pc,overflow:Lc}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gs(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,zi=e,Mi=null,!0):!1;default:return!1}}function zN(e){return(e.mode&1)!==0&&(e.flags&128)===0}function $N(e){if($n){var t=Mi;if(t){var n=t;if(!rk(e,t)){if(zN(e))throw Error(Qe(418));t=tu(n.nextSibling);var r=zi;t&&rk(e,t)?tI(r,n):(e.flags=e.flags&-4097|2,$n=!1,zi=e)}}else{if(zN(e))throw Error(Qe(418));e.flags=e.flags&-4097|2,$n=!1,zi=e}}}function ak(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;zi=e}function Rv(e){if(e!==zi)return!1;if(!$n)return ak(e),$n=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!FN(e.type,e.memoizedProps)),t&&(t=Mi)){if(zN(e))throw nI(),Error(Qe(418));for(;t;)tI(e,t),t=tu(t.nextSibling)}if(ak(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Qe(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Mi=tu(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Mi=null}}else Mi=zi?tu(e.stateNode.nextSibling):null;return!0}function nI(){for(var e=Mi;e;)e=tu(e.nextSibling)}function ph(){Mi=zi=null,$n=!1}function rE(e){Ys===null?Ys=[e]:Ys.push(e)}var kK=Jc.ReactCurrentBatchConfig;function Bm(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(Qe(309));var r=n.stateNode}if(!r)throw Error(Qe(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var c=i.refs;o===null?delete c[s]:c[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(Qe(284));if(!n._owner)throw Error(Qe(290,e))}return e}function Ov(e,t){throw e=Object.prototype.toString.call(t),Error(Qe(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ik(e){var t=e._init;return t(e._payload)}function rI(e){function t(g,x){if(e){var b=g.deletions;b===null?(g.deletions=[x],g.flags|=16):b.push(x)}}function n(g,x){if(!e)return null;for(;x!==null;)t(g,x),x=x.sibling;return null}function r(g,x){for(g=new Map;x!==null;)x.key!==null?g.set(x.key,x):g.set(x.index,x),x=x.sibling;return g}function i(g,x){return g=iu(g,x),g.index=0,g.sibling=null,g}function s(g,x,b){return g.index=b,e?(b=g.alternate,b!==null?(b=b.index,b<x?(g.flags|=2,x):b):(g.flags|=2,x)):(g.flags|=1048576,x)}function o(g){return e&&g.alternate===null&&(g.flags|=2),g}function c(g,x,b,_){return x===null||x.tag!==6?(x=C5(b,g.mode,_),x.return=g,x):(x=i(x,b),x.return=g,x)}function l(g,x,b,_){var E=b.type;return E===yf?d(g,x,b.props.children,_,b.key):x!==null&&(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ol&&ik(E)===x.type)?(_=i(x,b.props),_.ref=Bm(g,x,b),_.return=g,_):(_=Ib(b.type,b.key,b.props,null,g.mode,_),_.ref=Bm(g,x,b),_.return=g,_)}function u(g,x,b,_){return x===null||x.tag!==4||x.stateNode.containerInfo!==b.containerInfo||x.stateNode.implementation!==b.implementation?(x=E5(b,g.mode,_),x.return=g,x):(x=i(x,b.children||[]),x.return=g,x)}function d(g,x,b,_,E){return x===null||x.tag!==7?(x=Pd(b,g.mode,_,E),x.return=g,x):(x=i(x,b),x.return=g,x)}function p(g,x,b){if(typeof x=="string"&&x!==""||typeof x=="number")return x=C5(""+x,g.mode,b),x.return=g,x;if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Nv:return b=Ib(x.type,x.key,x.props,null,g.mode,b),b.ref=Bm(g,null,x),b.return=g,b;case xf:return x=E5(x,g.mode,b),x.return=g,x;case Ol:var _=x._init;return p(g,_(x._payload),b)}if(lg(x)||Im(x))return x=Pd(x,g.mode,b,null),x.return=g,x;Ov(g,x)}return null}function h(g,x,b,_){var E=x!==null?x.key:null;if(typeof b=="string"&&b!==""||typeof b=="number")return E!==null?null:c(g,x,""+b,_);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Nv:return b.key===E?l(g,x,b,_):null;case xf:return b.key===E?u(g,x,b,_):null;case Ol:return E=b._init,h(g,x,E(b._payload),_)}if(lg(b)||Im(b))return E!==null?null:d(g,x,b,_,null);Ov(g,b)}return null}function f(g,x,b,_,E){if(typeof _=="string"&&_!==""||typeof _=="number")return g=g.get(b)||null,c(x,g,""+_,E);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Nv:return g=g.get(_.key===null?b:_.key)||null,l(x,g,_,E);case xf:return g=g.get(_.key===null?b:_.key)||null,u(x,g,_,E);case Ol:var T=_._init;return f(g,x,b,T(_._payload),E)}if(lg(_)||Im(_))return g=g.get(b)||null,d(x,g,_,E,null);Ov(x,_)}return null}function v(g,x,b,_){for(var E=null,T=null,A=x,w=x=0,S=null;A!==null&&w<b.length;w++){A.index>w?(S=A,A=null):S=A.sibling;var k=h(g,A,b[w],_);if(k===null){A===null&&(A=S);break}e&&A&&k.alternate===null&&t(g,A),x=s(k,x,w),T===null?E=k:T.sibling=k,T=k,A=S}if(w===b.length)return n(g,A),$n&&id(g,w),E;if(A===null){for(;w<b.length;w++)A=p(g,b[w],_),A!==null&&(x=s(A,x,w),T===null?E=A:T.sibling=A,T=A);return $n&&id(g,w),E}for(A=r(g,A);w<b.length;w++)S=f(A,g,w,b[w],_),S!==null&&(e&&S.alternate!==null&&A.delete(S.key===null?w:S.key),x=s(S,x,w),T===null?E=S:T.sibling=S,T=S);return e&&A.forEach(function(P){return t(g,P)}),$n&&id(g,w),E}function m(g,x,b,_){var E=Im(b);if(typeof E!="function")throw Error(Qe(150));if(b=E.call(b),b==null)throw Error(Qe(151));for(var T=E=null,A=x,w=x=0,S=null,k=b.next();A!==null&&!k.done;w++,k=b.next()){A.index>w?(S=A,A=null):S=A.sibling;var P=h(g,A,k.value,_);if(P===null){A===null&&(A=S);break}e&&A&&P.alternate===null&&t(g,A),x=s(P,x,w),T===null?E=P:T.sibling=P,T=P,A=S}if(k.done)return n(g,A),$n&&id(g,w),E;if(A===null){for(;!k.done;w++,k=b.next())k=p(g,k.value,_),k!==null&&(x=s(k,x,w),T===null?E=k:T.sibling=k,T=k);return $n&&id(g,w),E}for(A=r(g,A);!k.done;w++,k=b.next())k=f(A,g,w,k.value,_),k!==null&&(e&&k.alternate!==null&&A.delete(k.key===null?w:k.key),x=s(k,x,w),T===null?E=k:T.sibling=k,T=k);return e&&A.forEach(function(D){return t(g,D)}),$n&&id(g,w),E}function y(g,x,b,_){if(typeof b=="object"&&b!==null&&b.type===yf&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Nv:e:{for(var E=b.key,T=x;T!==null;){if(T.key===E){if(E=b.type,E===yf){if(T.tag===7){n(g,T.sibling),x=i(T,b.props.children),x.return=g,g=x;break e}}else if(T.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ol&&ik(E)===T.type){n(g,T.sibling),x=i(T,b.props),x.ref=Bm(g,T,b),x.return=g,g=x;break e}n(g,T);break}else t(g,T);T=T.sibling}b.type===yf?(x=Pd(b.props.children,g.mode,_,b.key),x.return=g,g=x):(_=Ib(b.type,b.key,b.props,null,g.mode,_),_.ref=Bm(g,x,b),_.return=g,g=_)}return o(g);case xf:e:{for(T=b.key;x!==null;){if(x.key===T)if(x.tag===4&&x.stateNode.containerInfo===b.containerInfo&&x.stateNode.implementation===b.implementation){n(g,x.sibling),x=i(x,b.children||[]),x.return=g,g=x;break e}else{n(g,x);break}else t(g,x);x=x.sibling}x=E5(b,g.mode,_),x.return=g,g=x}return o(g);case Ol:return T=b._init,y(g,x,T(b._payload),_)}if(lg(b))return v(g,x,b,_);if(Im(b))return m(g,x,b,_);Ov(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,x!==null&&x.tag===6?(n(g,x.sibling),x=i(x,b),x.return=g,g=x):(n(g,x),x=C5(b,g.mode,_),x.return=g,g=x),o(g)):n(g,x)}return y}var fh=rI(!0),aI=rI(!1),f0=Cu(null),h0=null,Ef=null,aE=null;function iE(){aE=Ef=h0=null}function sE(e){var t=f0.current;Mn(f0),e._currentValue=t}function WN(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 Of(e,t){h0=e,aE=Ef=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(si=!0),e.firstContext=null)}function js(e){var t=e._currentValue;if(aE!==e)if(e={context:e,memoizedValue:t,next:null},Ef===null){if(h0===null)throw Error(Qe(308));Ef=e,h0.dependencies={lanes:0,firstContext:e}}else Ef=Ef.next=e;return t}var wd=null;function oE(e){wd===null?wd=[e]:wd.push(e)}function iI(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,oE(t)):(n.next=i.next,i.next=n),t.interleaved=n,Wc(e,r)}function Wc(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 Il=!1;function cE(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function sI(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 Rc(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function nu(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,on&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Wc(e,n)}return i=r.interleaved,i===null?(t.next=t,oE(r)):(t.next=i.next,i.next=t),r.interleaved=t,Wc(e,n)}function kb(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,GC(e,n)}}function sk(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 m0(e,t,n,r){var i=e.updateQueue;Il=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,c=i.shared.pending;if(c!==null){i.shared.pending=null;var l=c,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,c=d.lastBaseUpdate,c!==o&&(c===null?d.firstBaseUpdate=u:c.next=u,d.lastBaseUpdate=l))}if(s!==null){var p=i.baseState;o=0,d=u=l=null,c=s;do{var h=c.lane,f=c.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:f,lane:0,tag:c.tag,payload:c.payload,callback:c.callback,next:null});e:{var v=e,m=c;switch(h=t,f=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){p=v.call(f,p,h);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,h=typeof v=="function"?v.call(f,p,h):v,h==null)break e;p=Yn({},p,h);break e;case 2:Il=!0}}c.callback!==null&&c.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[c]:h.push(c))}else f={eventTime:f,lane:h,tag:c.tag,payload:c.payload,callback:c.callback,next:null},d===null?(u=d=f,l=p):d=d.next=f,o|=h;if(c=c.next,c===null){if(c=i.shared.pending,c===null)break;h=c,c=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(l=p),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Md|=o,e.lanes=o,e.memoizedState=p}}function ok(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(Qe(191,i));i.call(r)}}}var Qx={},qo=Cu(Qx),tx=Cu(Qx),nx=Cu(Qx);
vendor: 8,377 bytes, line 38
38function jd(e){if(e===Qx)throw Error(Qe(174));return e}function lE(e,t){switch(Pn(nx,t),Pn(tx,e),Pn(qo,Qx),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:NN(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=NN(t,e)}Mn(qo),Pn(qo,t)}function hh(){Mn(qo),Mn(tx),Mn(nx)}function oI(e){jd(nx.current);var t=jd(qo.current),n=NN(t,e.type);t!==n&&(Pn(tx,e),Pn(qo,n))}function uE(e){tx.current===e&&(Mn(qo),Mn(tx))}var Gn=Cu(0);function g0(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 v5=[];function dE(){for(var e=0;e<v5.length;e++)v5[e]._workInProgressVersionPrimary=null;v5.length=0}var Tb=Jc.ReactCurrentDispatcher,b5=Jc.ReactCurrentBatchConfig,Fd=0,Kn=null,Ar=null,Mr=null,x0=!1,Sg=!1,rx=0,TK=0;function ua(){throw Error(Qe(321))}function pE(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ro(e[n],t[n]))return!1;return!0}function fE(e,t,n,r,i,s){if(Fd=s,Kn=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Tb.current=e===null||e.memoizedState===null?OK:IK,e=n(r,i),Sg){s=0;do{if(Sg=!1,rx=0,25<=s)throw Error(Qe(301));s+=1,Mr=Ar=null,t.updateQueue=null,Tb.current=UK,e=n(r,i)}while(Sg)}if(Tb.current=y0,t=Ar!==null&&Ar.next!==null,Fd=0,Mr=Ar=Kn=null,x0=!1,t)throw Error(Qe(300));return e}function hE(){var e=rx!==0;return rx=0,e}function To(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mr===null?Kn.memoizedState=Mr=e:Mr=Mr.next=e,Mr}function _s(){if(Ar===null){var e=Kn.alternate;e=e!==null?e.memoizedState:null}else e=Ar.next;var t=Mr===null?Kn.memoizedState:Mr.next;if(t!==null)Mr=t,Ar=e;else{if(e===null)throw Error(Qe(310));Ar=e,e={memoizedState:Ar.memoizedState,baseState:Ar.baseState,baseQueue:Ar.baseQueue,queue:Ar.queue,next:null},Mr===null?Kn.memoizedState=Mr=e:Mr=Mr.next=e}return Mr}function ax(e,t){return typeof t=="function"?t(e):t}function w5(e){var t=_s(),n=t.queue;if(n===null)throw Error(Qe(311));n.lastRenderedReducer=e;var r=Ar,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var c=o=null,l=null,u=s;do{var d=u.lane;if((Fd&d)===d)l!==null&&(l=l.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 p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=p,o=r):l=l.next=p,Kn.lanes|=d,Md|=d}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=c,ro(r,t.memoizedState)||(si=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,Kn.lanes|=s,Md|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function j5(e){var t=_s(),n=t.queue;if(n===null)throw Error(Qe(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);ro(s,t.memoizedState)||(si=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function cI(){}function lI(e,t){var n=Kn,r=_s(),i=t(),s=!ro(r.memoizedState,i);if(s&&(r.memoizedState=i,si=!0),r=r.queue,mE(pI.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Mr!==null&&Mr.memoizedState.tag&1){if(n.flags|=2048,ix(9,dI.bind(null,n,r,i,t),void 0,null),$r===null)throw Error(Qe(349));Fd&30||uI(n,t,i)}return i}function uI(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Kn.updateQueue,t===null?(t={lastEffect:null,stores:null},Kn.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function dI(e,t,n,r){t.value=n,t.getSnapshot=r,fI(t)&&hI(e)}function pI(e,t,n){return n(function(){fI(t)&&hI(e)})}function fI(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ro(e,n)}catch{return!0}}function hI(e){var t=Wc(e,1);t!==null&&no(t,e,1,-1)}function ck(e){var t=To();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ax,lastRenderedState:e},t.queue=e,e=e.dispatch=RK.bind(null,Kn,e),[t.memoizedState,e]}function ix(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Kn.updateQueue,t===null?(t={lastEffect:null,stores:null},Kn.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 mI(){return _s().memoizedState}function Pb(e,t,n,r){var i=To();Kn.flags|=e,i.memoizedState=ix(1|t,n,void 0,r===void 0?null:r)}function _1(e,t,n,r){var i=_s();r=r===void 0?null:r;var s=void 0;if(Ar!==null){var o=Ar.memoizedState;if(s=o.destroy,r!==null&&pE(r,o.deps)){i.memoizedState=ix(t,n,s,r);return}}Kn.flags|=e,i.memoizedState=ix(1|t,n,s,r)}function lk(e,t){return Pb(8390656,8,e,t)}function mE(e,t){return _1(2048,8,e,t)}function gI(e,t){return _1(4,2,e,t)}function xI(e,t){return _1(4,4,e,t)}function yI(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 vI(e,t,n){return n=n!=null?n.concat([e]):null,_1(4,4,yI.bind(null,t,e),n)}function gE(){}function bI(e,t){var n=_s();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&pE(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wI(e,t){var n=_s();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&pE(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jI(e,t,n){return Fd&21?(ro(n,t)||(n=SO(),Kn.lanes|=n,Md|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,si=!0),e.memoizedState=n)}function PK(e,t){var n=gn;gn=n!==0&&4>n?n:4,e(!0);var r=b5.transition;b5.transition={};try{e(!1),t()}finally{gn=n,b5.transition=r}}function _I(){return _s().memoizedState}function LK(e,t,n){var r=au(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},NI(e))CI(t,n);else if(n=iI(e,t,n,r),n!==null){var i=za();no(n,e,r,i),EI(n,t,r)}}function RK(e,t,n){var r=au(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(NI(e))CI(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,c=s(o,n);if(i.hasEagerState=!0,i.eagerState=c,ro(c,o)){var l=t.interleaved;l===null?(i.next=i,oE(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=iI(e,t,i,r),n!==null&&(i=za(),no(n,e,r,i),EI(n,t,r))}}function NI(e){var t=e.alternate;return e===Kn||t!==null&&t===Kn}function CI(e,t){Sg=x0=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function EI(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,GC(e,n)}}var y0={readContext:js,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useInsertionEffect:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useDeferredValue:ua,useTransition:ua,useMutableSource:ua,useSyncExternalStore:ua,useId:ua,unstable_isNewReconciler:!1},OK={readContext:js,useCallback:function(e,t){return To().memoizedState=[e,t===void 0?null:t],e},useContext:js,useEffect:lk,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pb(4194308,4,yI.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pb(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pb(4,2,e,t)},useMemo:function(e,t){var n=To();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=To();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=LK.bind(null,Kn,e),[r.memoizedState,e]},useRef:function(e){var t=To();return e={current:e},t.memoizedState=e},useState:ck,useDebugValue:gE,useDeferredValue:function(e){return To().memoizedState=e},useTransition:function(){var e=ck(!1),t=e[0];return e=PK.bind(null,e[1]),To().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Kn,i=To();
vendor: 4,292 bytes, lines 38-40
38if($n){if(n===void 0)throw Error(Qe(407));n=n()}else{if(n=t(),$r===null)throw Error(Qe(349));Fd&30||uI(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,lk(pI.bind(null,r,s,e),[e]),r.flags|=2048,ix(9,dI.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=To(),t=$r.identifierPrefix;if($n){var n=Lc,r=Pc;n=(r&~(1<<32-to(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=rx++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=TK++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},IK={readContext:js,useCallback:bI,useContext:js,useEffect:mE,useImperativeHandle:vI,useInsertionEffect:gI,useLayoutEffect:xI,useMemo:wI,useReducer:w5,useRef:mI,useState:function(){return w5(ax)},useDebugValue:gE,useDeferredValue:function(e){var t=_s();return jI(t,Ar.memoizedState,e)},useTransition:function(){var e=w5(ax)[0],t=_s().memoizedState;return[e,t]},useMutableSource:cI,useSyncExternalStore:lI,useId:_I,unstable_isNewReconciler:!1},UK={readContext:js,useCallback:bI,useContext:js,useEffect:mE,useImperativeHandle:vI,useInsertionEffect:gI,useLayoutEffect:xI,useMemo:wI,useReducer:j5,useRef:mI,useState:function(){return j5(ax)},useDebugValue:gE,useDeferredValue:function(e){var t=_s();return Ar===null?t.memoizedState=e:jI(t,Ar.memoizedState,e)},useTransition:function(){var e=j5(ax)[0],t=_s().memoizedState;return[e,t]},useMutableSource:cI,useSyncExternalStore:lI,useId:_I,unstable_isNewReconciler:!1};function Vs(e,t){if(e&&e.defaultProps){t=Yn({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function VN(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Yn({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var N1={isMounted:function(e){return(e=e._reactInternals)?sp(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=za(),i=au(e),s=Rc(r,i);s.payload=t,n!=null&&(s.callback=n),t=nu(e,s,i),t!==null&&(no(t,e,i,r),kb(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=za(),i=au(e),s=Rc(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=nu(e,s,i),t!==null&&(no(t,e,i,r),kb(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=za(),r=au(e),i=Rc(n,r);i.tag=2,t!=null&&(i.callback=t),t=nu(e,i,r),t!==null&&(no(t,e,r,n),kb(t,e,r))}};function uk(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Qg(n,r)||!Qg(i,s):!0}function SI(e,t,n){var r=!1,i=fu,s=t.contextType;return typeof s=="object"&&s!==null?s=js(s):(i=ui(t)?Id:Ca.current,r=t.contextTypes,s=(r=r!=null)?dh(e,i):fu),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=N1,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function dk(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&&N1.enqueueReplaceState(t,t.state,null)}function HN(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},cE(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=js(s):(s=ui(t)?Id:Ca.current,i.context=dh(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(VN(e,t,s,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&&N1.enqueueReplaceState(i,i.state,null),m0(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function mh(e,t){try{var n="",r=t;do n+=dX(r),r=r.return;while(r);var i=n}catch(s){i=` 39Error generating stack: `+s.message+` 40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function _5(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function GN(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var FK=typeof WeakMap=="function"?WeakMap:Map;
vendor: 9,488 bytes, line 40
40function DI(e,t,n){n=Rc(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){b0||(b0=!0,r3=r),GN(e,t)},n}function AI(e,t,n){n=Rc(-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(){GN(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){GN(e,t),typeof r!="function"&&(ru===null?ru=new Set([this]):ru.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function pk(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new FK;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=ZK.bind(null,e,t,n),t.then(e,e))}function fk(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 hk(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=Rc(-1,1),t.tag=2,nu(n,t,1))),n.lanes|=1),e)}var MK=Jc.ReactCurrentOwner,si=!1;function Ma(e,t,n,r){t.child=e===null?aI(t,null,n,r):fh(t,e.child,n,r)}function mk(e,t,n,r,i){n=n.render;var s=t.ref;return Of(t,i),r=fE(e,t,n,r,s,i),n=hE(),e!==null&&!si?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vc(e,t,i)):($n&&n&&tE(t),t.flags|=1,Ma(e,t,r,i),t.child)}function gk(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!NE(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,kI(e,t,s,r,i)):(e=Ib(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Qg,n(o,r)&&e.ref===t.ref)return Vc(e,t,i)}return t.flags|=1,e=iu(s,r),e.ref=t.ref,e.return=t,t.child=e}function kI(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Qg(s,r)&&e.ref===t.ref)if(si=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(si=!0);else return t.lanes=e.lanes,Vc(e,t,i)}return XN(e,t,n,r,i)}function TI(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pn(Df,Ui),Ui|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pn(Df,Ui),Ui|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Pn(Df,Ui),Ui|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Pn(Df,Ui),Ui|=r;return Ma(e,t,i,n),t.child}function PI(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function XN(e,t,n,r,i){var s=ui(n)?Id:Ca.current;return s=dh(t,s),Of(t,i),n=fE(e,t,n,r,s,i),r=hE(),e!==null&&!si?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Vc(e,t,i)):($n&&r&&tE(t),t.flags|=1,Ma(e,t,n,i),t.child)}function xk(e,t,n,r,i){if(ui(n)){var s=!0;u0(t)}else s=!1;if(Of(t,i),t.stateNode===null)Lb(e,t),SI(t,n,r),HN(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,c=t.memoizedProps;o.props=c;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=js(u):(u=ui(n)?Id:Ca.current,u=dh(t,u));var d=n.getDerivedStateFromProps,p=typeof d=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(c!==r||l!==u)&&dk(t,o,r,u),Il=!1;var h=t.memoizedState;o.state=h,m0(t,r,o,i),l=t.memoizedState,c!==r||h!==l||li.current||Il?(typeof d=="function"&&(VN(t,n,d,r),l=t.memoizedState),(c=Il||uk(t,n,c,r,h,l,u))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=c):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,sI(e,t),c=t.memoizedProps,u=t.type===t.elementType?c:Vs(t.type,c),o.props=u,p=t.pendingProps,h=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=js(l):(l=ui(n)?Id:Ca.current,l=dh(t,l));var f=n.getDerivedStateFromProps;(d=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(c!==p||h!==l)&&dk(t,o,r,l),Il=!1,h=t.memoizedState,o.state=h,m0(t,r,o,i);var v=t.memoizedState;c!==p||h!==v||li.current||Il?(typeof f=="function"&&(VN(t,n,f,r),v=t.memoizedState),(u=Il||uk(t,n,u,r,h,v,l)||!1)?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,v,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,v,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||c===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),o.props=r,o.state=v,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||c===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return KN(e,t,n,r,s,i)}function KN(e,t,n,r,i,s){PI(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&nk(t,n,!1),Vc(e,t,s);r=t.stateNode,MK.current=t;var c=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=fh(t,e.child,null,s),t.child=fh(t,null,c,s)):Ma(e,t,c,s),t.memoizedState=r.state,i&&nk(t,n,!0),t.child}function LI(e){var t=e.stateNode;t.pendingContext?tk(e,t.pendingContext,t.pendingContext!==t.context):t.context&&tk(e,t.context,!1),lE(e,t.containerInfo)}function yk(e,t,n,r,i){return ph(),rE(i),t.flags|=256,Ma(e,t,n,r),t.child}var YN={dehydrated:null,treeContext:null,retryLane:0};function QN(e){return{baseLanes:e,cachePool:null,transitions:null}}function RI(e,t,n){var r=t.pendingProps,i=Gn.current,s=!1,o=(t.flags&128)!==0,c;if((c=o)||(c=e!==null&&e.memoizedState===null?!1:(i&2)!==0),c?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Pn(Gn,i&1),e===null)return $N(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=S1(o,r,0,null),e=Pd(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=QN(n),t.memoizedState=YN,e):xE(t,o));if(i=e.memoizedState,i!==null&&(c=i.dehydrated,c!==null))return qK(e,t,o,r,c,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,c=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=iu(i,l),r.subtreeFlags=i.subtreeFlags&14680064),c!==null?s=iu(c,s):(s=Pd(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?QN(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=YN,r}return s=e.child,e=s.sibling,r=iu(s,{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 xE(e,t){return t=S1({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Iv(e,t,n,r){return r!==null&&rE(r),fh(t,e.child,null,n),e=xE(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function qK(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=_5(Error(Qe(422))),Iv(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=S1({mode:"visible",children:r.children},i,0,null),s=Pd(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&fh(t,e.child,null,o),t.child.memoizedState=QN(o),t.memoizedState=YN,s);if(!(t.mode&1))return Iv(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var c=r.dgst;return r=c,s=Error(Qe(419)),r=_5(s,r,void 0),Iv(e,t,o,r)}if(c=(o&e.childLanes)!==0,si||c){if(r=$r,r!==null){switch(o&-o){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|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,Wc(e,i),no(r,e,i,-1))}return _E(),r=_5(Error(Qe(421))),Iv(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=JK.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,Mi=tu(i.nextSibling),zi=t,$n=!0,Ys=null,e!==null&&(ps[fs++]=Pc,ps[fs++]=Lc,ps[fs++]=Ud,Pc=e.id,Lc=e.overflow,Ud=t),t=xE(t,r.children),t.flags|=4096,t)}function vk(e,t,n){e.lanes|=t;var r=e.alternate;
vendor: 6,483 bytes, line 40
40r!==null&&(r.lanes|=t),WN(e.return,t,n)}function N5(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function OI(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ma(e,t,r.children,n),r=Gn.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&&vk(e,n,t);else if(e.tag===19)vk(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(Pn(Gn,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&&g0(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),N5(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&g0(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}N5(t,!0,n,null,s);break;case"together":N5(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Lb(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Md|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(Qe(153));if(t.child!==null){for(e=t.child,n=iu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=iu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function BK(e,t,n){switch(t.tag){case 3:LI(t),ph();break;case 5:oI(t);break;case 1:ui(t.type)&&u0(t);break;case 4:lE(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Pn(f0,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Pn(Gn,Gn.current&1),t.flags|=128,null):n&t.child.childLanes?RI(e,t,n):(Pn(Gn,Gn.current&1),e=Vc(e,t,n),e!==null?e.sibling:null);Pn(Gn,Gn.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return OI(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Pn(Gn,Gn.current),r)break;return null;case 22:case 23:return t.lanes=0,TI(e,t,n)}return Vc(e,t,n)}var II,ZN,UI,FI;II=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}};ZN=function(){};UI=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,jd(qo.current);var s=null;switch(n){case"input":i=bN(e,i),r=bN(e,r),s=[];break;case"select":i=Yn({},i,{value:void 0}),r=Yn({},r,{value:void 0}),s=[];break;case"textarea":i=_N(e,i),r=_N(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=c0)}CN(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var c=i[u];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Wg.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(c=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u==="style")if(c){for(o in c)!c.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&c[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Wg.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Un("scroll",e),s||c===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};FI=function(e,t,n,r){n!==r&&(t.flags|=4)};function zm(e,t){if(!$n)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 da(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 zK(e,t,n){var r=t.pendingProps;switch(nE(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return da(t),null;case 1:return ui(t.type)&&l0(),da(t),null;case 3:return r=t.stateNode,hh(),Mn(li),Mn(Ca),dE(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Rv(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ys!==null&&(s3(Ys),Ys=null))),ZN(e,t),da(t),null;case 5:uE(t);var i=jd(nx.current);if(n=t.type,e!==null&&t.stateNode!=null)UI(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(Qe(166));return da(t),null}if(e=jd(qo.current),Rv(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Oo]=t,r[ex]=s,e=(t.mode&1)!==0,n){case"dialog":Un("cancel",r),Un("close",r);break;case"iframe":case"object":case"embed":Un("load",r);break;case"video":case"audio":for(i=0;i<dg.length;i++)Un(dg[i],r);break;case"source":Un("error",r);break;case"img":case"image":case"link":Un("error",r),Un("load",r);break;case"details":Un("toggle",r);break;case"input":DA(r,s),Un("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Un("invalid",r);break;case"textarea":kA(r,s),Un("invalid",r)}CN(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var c=s[o];o==="children"?typeof c=="string"?r.textContent!==c&&(s.suppressHydrationWarning!==!0&&Lv(r.textContent,c,e),i=["children",c]):typeof c=="number"&&r.textContent!==""+c&&(s.suppressHydrationWarning!==!0&&Lv(r.textContent,c,e),i=["children",""+c
vendor: 28,745 bytes, line 40
40]):Wg.hasOwnProperty(o)&&c!=null&&o==="onScroll"&&Un("scroll",r)}switch(n){case"input":Cv(r),AA(r,s,!0);break;case"textarea":Cv(r),TA(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=c0)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=pO(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Oo]=t,e[ex]=r,II(e,t,!1,!1),t.stateNode=e;e:{switch(o=EN(n,r),n){case"dialog":Un("cancel",e),Un("close",e),i=r;break;case"iframe":case"object":case"embed":Un("load",e),i=r;break;case"video":case"audio":for(i=0;i<dg.length;i++)Un(dg[i],e);i=r;break;case"source":Un("error",e),i=r;break;case"img":case"image":case"link":Un("error",e),Un("load",e),i=r;break;case"details":Un("toggle",e),i=r;break;case"input":DA(e,r),i=bN(e,r),Un("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Yn({},r,{value:void 0}),Un("invalid",e);break;case"textarea":kA(e,r),i=_N(e,r),Un("invalid",e);break;default:i=r}CN(n,i),c=i;for(s in c)if(c.hasOwnProperty(s)){var l=c[s];s==="style"?mO(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&fO(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Vg(e,l):typeof l=="number"&&Vg(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Wg.hasOwnProperty(s)?l!=null&&s==="onScroll"&&Un("scroll",e):l!=null&&BC(e,s,l,o))}switch(n){case"input":Cv(e),AA(e,r,!1);break;case"textarea":Cv(e),TA(e);break;case"option":r.value!=null&&e.setAttribute("value",""+pu(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?Tf(e,!!r.multiple,s,!1):r.defaultValue!=null&&Tf(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=c0)}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 da(t),null;case 6:if(e&&t.stateNode!=null)FI(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(Qe(166));if(n=jd(nx.current),jd(qo.current),Rv(t)){if(r=t.stateNode,n=t.memoizedProps,r[Oo]=t,(s=r.nodeValue!==n)&&(e=zi,e!==null))switch(e.tag){case 3:Lv(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Lv(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Oo]=t,t.stateNode=r}return da(t),null;case 13:if(Mn(Gn),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if($n&&Mi!==null&&t.mode&1&&!(t.flags&128))nI(),ph(),t.flags|=98560,s=!1;else if(s=Rv(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(Qe(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Qe(317));s[Oo]=t}else ph(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;da(t),s=!1}else Ys!==null&&(s3(Ys),Ys=null),s=!0;if(!s)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||Gn.current&1?Pr===0&&(Pr=3):_E())),t.updateQueue!==null&&(t.flags|=4),da(t),null);case 4:return hh(),ZN(e,t),e===null&&Zg(t.stateNode.containerInfo),da(t),null;case 10:return sE(t.type._context),da(t),null;case 17:return ui(t.type)&&l0(),da(t),null;case 19:if(Mn(Gn),s=t.memoizedState,s===null)return da(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)zm(s,!1);else{if(Pr!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=g0(e),o!==null){for(t.flags|=128,zm(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Pn(Gn,Gn.current&1|2),t.child}e=e.sibling}s.tail!==null&&ur()>gh&&(t.flags|=128,r=!0,zm(s,!1),t.lanes=4194304)}else{if(!r)if(e=g0(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zm(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!$n)return da(t),null}else 2*ur()-s.renderingStartTime>gh&&n!==1073741824&&(t.flags|=128,r=!0,zm(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ur(),t.sibling=null,n=Gn.current,Pn(Gn,r?n&1|2:n&1),t):(da(t),null);case 22:case 23:return jE(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ui&1073741824&&(da(t),t.subtreeFlags&6&&(t.flags|=8192)):da(t),null;case 24:return null;case 25:return null}throw Error(Qe(156,t.tag))}function $K(e,t){switch(nE(t),t.tag){case 1:return ui(t.type)&&l0(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hh(),Mn(li),Mn(Ca),dE(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return uE(t),null;case 13:if(Mn(Gn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Qe(340));ph()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Mn(Gn),null;case 4:return hh(),null;case 10:return sE(t.type._context),null;case 22:case 23:return jE(),null;case 24:return null;default:return null}}var Uv=!1,wa=!1,WK=typeof WeakSet=="function"?WeakSet:Set,pt=null;function Sf(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){rr(e,t,r)}else n.current=null}function JN(e,t,n){try{n()}catch(r){rr(e,t,r)}}var bk=!1;function VK(e,t){if(IN=i0,e=$O(),eE(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,c=-1,l=-1,u=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||i!==0&&p.nodeType!==3||(c=o+i),p!==s||r!==0&&p.nodeType!==3||(l=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(f=p.firstChild)!==null;)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++u===i&&(c=o),h===s&&++d===r&&(l=o),(f=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=f}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(UN={focusedElem:e,selectionRange:n},i0=!1,pt=t;pt!==null;)if(t=pt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,pt=e;else for(;pt!==null;){t=pt;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,y=v.memoizedState,g=t.stateNode,x=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Vs(t.type,m),y);g.__reactInternalSnapshotBeforeUpdate=x}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Qe(163))}}catch(_){rr(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,pt=e;break}pt=t.return}return v=bk,bk=!1,v}function Dg(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 s=i.destroy;i.destroy=void 0,s!==void 0&&JN(t,n,s)}i=i.next}while(i!==r)}}function C1(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 e3(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 MI(e){var t=e.alternate;t!==null&&(e.alternate=null,MI(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oo],delete t[ex],delete t[qN],delete t[SK],delete t[DK])),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 qI(e){return e.tag===5||e.tag===3||e.tag===4}function wk(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qI(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 t3(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=c0));else if(r!==4&&(e=e.child,e!==null))for(t3(e,t,n),e=e.sibling;e!==null;)t3(e,t,n),e=e.sibling}function n3(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(n3(e,t,n),e=e.sibling;e!==null;)n3(e,t,n),e=e.sibling}var Qr=null,Xs=!1;function jl(e,t,n){for(n=n.child;n!==null;)BI(e,t,n),n=n.sibling}function BI(e,t,n){if(Mo&&typeof Mo.onCommitFiberUnmount=="function")try{Mo.onCommitFiberUnmount(x1,n)}catch{}switch(n.tag){case 5:wa||Sf(n,t);case 6:var r=Qr,i=Xs;Qr=null,jl(e,t,n),Qr=r,Xs=i,Qr!==null&&(Xs?(e=Qr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qr.removeChild(n.stateNode));break;case 18:Qr!==null&&(Xs?(e=Qr,n=n.stateNode,e.nodeType===8?x5(e.parentNode,n):e.nodeType===1&&x5(e,n),Kg(e)):x5(Qr,n.stateNode));break;case 4:r=Qr,i=Xs,Qr=n.stateNode.containerInfo,Xs=!0,jl(e,t,n),Qr=r,Xs=i;break;case 0:case 11:case 14:case 15:if(!wa&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&JN(n,t,o),i=i.next}while(i!==r)}jl(e,t,n);break;case 1:if(!wa&&(Sf(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(c){rr(n,t,c)}jl(e,t,n);break;case 21:jl(e,t,n);break;case 22:n.mode&1?(wa=(r=wa)||n.memoizedState!==null,jl(e,t,n),wa=r):jl(e,t,n);break;default:jl(e,t,n)}}function jk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new WK),t.forEach(function(r){var i=eY.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function qs(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,c=o;e:for(;c!==null;){switch(c.tag){case 5:Qr=c.stateNode,Xs=!1;break e;case 3:Qr=c.stateNode.containerInfo,Xs=!0;break e;case 4:Qr=c.stateNode.containerInfo,Xs=!0;break e}c=c.return}if(Qr===null)throw Error(Qe(160));BI(s,o,i),Qr=null,Xs=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){rr(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)zI(t,e),t=t.sibling}function zI(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(qs(t,e),Do(e),r&4){try{Dg(3,e,e.return),C1(3,e)}catch(m){rr(e,e.return,m)}try{Dg(5,e,e.return)}catch(m){rr(e,e.return,m)}}break;case 1:qs(t,e),Do(e),r&512&&n!==null&&Sf(n,n.return);break;case 5:if(qs(t,e),Do(e),r&512&&n!==null&&Sf(n,n.return),e.flags&32){var i=e.stateNode;try{Vg(i,"")}catch(m){rr(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c==="input"&&s.type==="radio"&&s.name!=null&&uO(i,s),EN(c,o);var u=EN(c,s);for(o=0;o<l.length;o+=2){var d=l[o],p=l[o+1];d==="style"?mO(i,p):d==="dangerouslySetInnerHTML"?fO(i,p):d==="children"?Vg(i,p):BC(i,d,p,u)}switch(c){case"input":wN(i,s);break;case"textarea":dO(i,s);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var f=s.value;f!=null?Tf(i,!!s.multiple,f,!1):h!==!!s.multiple&&(s.defaultValue!=null?Tf(i,!!s.multiple,s.defaultValue,!0):Tf(i,!!s.multiple,s.multiple?[]:"",!1))}i[ex]=s}catch(m){rr(e,e.return,m)}}break;case 6:if(qs(t,e),Do(e),r&4){if(e.stateNode===null)throw Error(Qe(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(m){rr(e,e.return,m)}}break;case 3:if(qs(t,e),Do(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Kg(t.containerInfo)}catch(m){rr(e,e.return,m)}break;case 4:qs(t,e),Do(e);break;case 13:qs(t,e),Do(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(bE=ur())),r&4&&jk(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(wa=(u=wa)||d,qs(t,e),wa=u):qs(t,e),Do(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(pt=e,d=e.child;d!==null;){for(p=pt=d;pt!==null;){switch(h=pt,f=h.child,h.tag){case 0:case 11:case 14:case 15:Dg(4,h,h.return);break;case 1:Sf(h,h.return);var v=h.stateNode;if(typeof v.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){rr(r,n,m)}}break;case 5:Sf(h,h.return);break;case 22:if(h.memoizedState!==null){Nk(p);continue}}f!==null?(f.return=h,pt=f):Nk(p)}d=d.sibling}e:for(d=null,p=e;;){if(p.tag===5){if(d===null){d=p;try{i=p.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(c=p.stateNode,l=p.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,c.style.display=hO("display",o))}catch(m){rr(e,e.return,m)}}}else if(p.tag===6){if(d===null)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(m){rr(e,e.return,m)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:qs(t,e),Do(e),r&4&&jk(e);break;case 21:break;default:qs(t,e),Do(e)}}function Do(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(qI(n)){var r=n;break e}n=n.return}throw Error(Qe(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Vg(i,""),r.flags&=-33);var s=wk(e);n3(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,c=wk(e);t3(e,c,o);break;default:throw Error(Qe(161))}}catch(l){rr(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function HK(e,t,n){pt=e,$I(e)}function $I(e,t,n){for(var r=(e.mode&1)!==0;pt!==null;){var i=pt,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Uv;if(!o){var c=i.alternate,l=c!==null&&c.memoizedState!==null||wa;c=Uv;var u=wa;if(Uv=o,(wa=l)&&!u)for(pt=i;pt!==null;)o=pt,l=o.child,o.tag===22&&o.memoizedState!==null?Ck(i):l!==null?(l.return=o,pt=l):Ck(i);for(;s!==null;)pt=s,$I(s),s=s.sibling;pt=i,Uv=c,wa=u}_k(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,pt=s):_k(e)}}function _k(e){for(;pt!==null;){var t=pt;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:wa||C1(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!wa)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Vs(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&ok(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}ok(t,o,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.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 d=u.memoizedState;if(d!==null){var p=d.dehydrated;p!==null&&Kg(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Qe(163))}wa||t.flags&512&&e3(t)}catch(h){rr(t,t.return,h)}}if(t===e){pt=null;break}if(n=t.sibling,n!==null){n.return=t.return,pt=n;break}pt=t.return}}function Nk(e){for(;pt!==null;){var t=pt;if(t===e){pt=null;break}var n=t.sibling;if(n!==null){n.return=t.return,pt=n;break}pt=t.return}}function Ck(e){for(;pt!==null;){var t=pt;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{C1(4,t)}catch(l){rr(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){rr(t,i,l)}}var s=t.return;try{e3(t)}catch(l){rr(t,s,l)}break;case 5:var o=t.return;try{e3(t)}catch(l){rr(t,o,l)}}}catch(l){rr(t,t.return,l)}if(t===e){pt=null;break}var c=t.sibling;if(c!==null){c.return=t.return,pt=c;break}pt=t.return}}var GK=Math.ceil,v0=Jc.ReactCurrentDispatcher,yE=Jc.ReactCurrentOwner,ys=Jc.ReactCurrentBatchConfig,on=0,$r=null,vr=null,ta=0,Ui=0,Df=Cu(0),Pr=0,sx=null,Md=0,E1=0,vE=0,Ag=null,ri=null,bE=0,gh=1/0,Nc=null,b0=!1,r3=null,ru=null,Fv=!1,Xl=null,w0=0,kg=0,a3=null,Rb=-1,Ob=0;function za(){return on&6?ur():Rb!==-1?Rb:Rb=ur()}function au(e){return e.mode&1?on&2&&ta!==0?ta&-ta:kK.transition!==null?(Ob===0&&(Ob=SO()),Ob):(e=gn,e!==0||(e=window.event,e=e===void 0?16:RO(e.type)),e):1}function no(e,t,n,r){if(50<kg)throw kg=0,a3=null,Error(Qe(185));Xx(e,n,r),(!(on&2)||e!==$r)&&(e===$r&&(!(on&2)&&(E1|=n),Pr===4&&Ml(e,ta)),di(e,r),n===1&&on===0&&!(t.mode&1)&&(gh=ur()+500,j1&&Eu()))}function di(e,t){var n=e.callbackNode;kX(e,t);var r=a0(e,e===$r?ta:0);if(r===0)n!==null&&RA(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&RA(n),t===1)e.tag===0?AK(Ek.bind(null,e)):JO(Ek.bind(null,e)),CK(function(){!(on&6)&&Eu()}),n=null;else{switch(DO(r)){case 1:n=HC;break;case 4:n=CO;break;case 16:n=r0;break;case 536870912:n=EO;break;default:n=r0}n=QI(n,WI.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function WI(e,t){if(Rb=-1,Ob=0,on&6)throw Error(Qe(327));var n=e.callbackNode;if(If()&&e.callbackNode!==n)return null;var r=a0(e,e===$r?ta:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=j0(e,r);else{t=r;var i=on;on|=2;var s=HI();($r!==e||ta!==t)&&(Nc=null,gh=ur()+500,Td(e,t));do try{YK();break}catch(c){VI(e,c)}while(!0);iE(),v0.current=s,on=i,vr!==null?t=0:($r=null,ta=0,t=Pr)}if(t!==0){if(t===2&&(i=TN(e),i!==0&&(r=i,t=i3(e,i))),t===1)throw n=sx,Td(e,0),Ml(e,r),di(e,ur()),n;if(t===6)Ml(e,r);else{if(i=e.current.alternate,!(r&30)&&!XK(i)&&(t=j0(e,r),t===2&&(s=TN(e),s!==0&&(r=s,t=i3(e,s))),t===1))throw n=sx,Td(e,0),Ml(e,r),di(e,ur()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(Qe(345));case 2:sd(e,ri,Nc);break;case 3:if(Ml(e,r),(r&130023424)===r&&(t=bE+500-ur(),10<t)){if(a0(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){za(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=MN(sd.bind(null,e,ri,Nc),t);break}sd(e,ri,Nc);break;case 4:if(Ml(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-to(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=ur()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*GK(r/1960))-r,10<r){e.timeoutHandle=MN(sd.bind(null,e,ri,Nc),r);break}sd(e,ri,Nc);break;case 5:sd(e,ri,Nc);break;default:throw Error(Qe(329))}}}return di(e,ur()),e.callbackNode===n?WI.bind(null,e):null}function i3(e,t){var n=Ag;return e.current.memoizedState.isDehydrated&&(Td(e,t).flags|=256),e=j0(e,t),e!==2&&(t=ri,ri=n,t!==null&&s3(t)),e}function s3(e){ri===null?ri=e:ri.push.apply(ri,e)}function XK(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],s=i.getSnapshot;i=i.value;try{if(!ro(s(),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 Ml(e,t){for(t&=~vE,t&=~E1,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-to(t),r=1<<n;e[n]=-1,t&=~r}}function Ek(e){if(on&6)throw Error(Qe(327));If();var t=a0(e,0);if(!(t&1))return di(e,ur()),null;var n=j0(e,t);if(e.tag!==0&&n===2){var r=TN(e);r!==0&&(t=r,n=i3(e,r))}if(n===1)throw n=sx,Td(e,0),Ml(e,t),di(e,ur()),n;if(n===6)throw Error(Qe(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,sd(e,ri,Nc),di(e,ur()),null}function wE(e,t){var n=on;on|=1;try{return e(t)}finally{on=n,on===0&&(gh=ur()+500,j1&&Eu())}}function qd(e){Xl!==null&&Xl.tag===0&&!(on&6)&&If();var t=on;on|=1;var n=ys.transition,r=gn;try{if(ys.transition=null,gn=1,e)return e()}finally{gn=r,ys.transition=n,on=t,!(on&6)&&Eu()}}function jE(){Ui=Df.current,Mn(Df)}function Td(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,NK(n)),vr!==null)for(n=vr.return;n!==null;){var r=n;switch(nE(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&l0();break;case 3:hh(),Mn(li),Mn(Ca),dE();break;case 5:uE(r);break;case 4:hh();break;case 13:Mn(Gn);break;case 19:Mn(Gn);break;case 10:sE(r.type._context);break;case 22:case 23:jE()}n=n.return}if($r=e,vr=e=iu(e.current,null),ta=Ui=t,Pr=0,sx=null,vE=E1=Md=0,ri=Ag=null,wd!==null){for(t=0;t<wd.length;t++)if(n=wd[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}wd=null}return e}function VI(e,t){do{var n=vr;try{if(iE(),Tb.current=y0,x0){for(var r=Kn.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}x0=!1}if(Fd=0,Mr=Ar=Kn=null,Sg=!1,rx=0,yE.current=null,n===null||n.return===null){Pr=1,sx=t,vr=null;break}e:{var s=e,o=n.return,c=n,l=t;if(t=ta,c.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=c,p=d.tag;if(!(d.mode&1)&&(p===0||p===11||p===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=fk(o);if(f!==null){f.flags&=-257,hk(f,o,c,s,t),f.mode&1&&pk(s,u,t),t=f,l=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(l),t.updateQueue=m}else v.add(l);break e}else{if(!(t&1)){pk(s,u,t),_E();break e}l=Error(Qe(426))}}else if($n&&c.mode&1){var y=fk(o);if(y!==null){!(y.flags&65536)&&(y.flags|=256),hk(y,o,c,s,t),rE(mh(l,c));break e}}s=l=mh(l,c),Pr!==4&&(Pr=2),Ag===null?Ag=[s]:Ag.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var g=DI(s,l,t);sk(s,g);break e;case 1:c=l;var x=s.type,b=s.stateNode;if(!(s.flags&128)&&(typeof x.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(ru===null||!ru.has(b)))){s.flags|=65536,t&=-t,s.lanes|=t;var _=AI(s,c,t);sk(s,_);break e}}s=s.return}while(s!==null)}XI(n)}catch(E){t=E,vr===n&&n!==null&&(vr=n=n.return);continue}break}while(!0)}function HI(){var e=v0.current;return v0.current=y0,e===null?y0:e}function _E(){(Pr===0||Pr===3||Pr===2)&&(Pr=4),$r===null||!(Md&268435455)&&!(E1&268435455)||Ml($r,ta)}function j0(e,t){var n=on;on|=2;var r=HI();($r!==e||ta!==t)&&(Nc=null,Td(e,t));do try{KK();break}catch(i){VI(e,i)}while(!0);if(iE(),on=n,v0.current=r,vr!==null)throw Error(Qe(261));return $r=null,ta=0,Pr}function KK(){for(;vr!==null;)GI(vr)}function YK(){for(;vr!==null&&!wX();)GI(vr)}function GI(e){var t=YI(e.alternate,e,Ui);e.memoizedProps=e.pendingProps,t===null?XI(e):vr=t,yE.current=null}function XI(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=$K(n,t),n!==null){n.flags&=32767,vr=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Pr=6,vr=null;return}}else if(n=zK(n,t,Ui),n!==null){vr=n;return}if(t=t.sibling,t!==null){vr=t;return}vr=t=e}while(t!==null);Pr===0&&(Pr=5)}function sd(e,t,n){var r=gn,i=ys.transition;try{ys.transition=null,gn=1,QK(e,t,n,r)}finally{ys.transition=i,gn=r}return null}function QK(e,t,n,r){do If();while(Xl!==null);if(on&6)throw Error(Qe(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(Qe(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(TX(e,s),e===$r&&(vr=$r=null,ta=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Fv||(Fv=!0,QI(r0,function(){return If(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=ys.transition,ys.transition=null;var o=gn;gn=1;var c=on;on|=4,yE.current=null,VK(e,n),zI(n,e),xK(UN),i0=!!IN,UN=IN=null,e.current=n,HK(n),jX(),on=c,gn=o,ys.transition=s}else e.current=n;if(Fv&&(Fv=!1,Xl=e,w0=i),s=e.pendingLanes,s===0&&(ru=null),CX(n.stateNode),di(e,ur()),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(b0)throw b0=!1,e=r3,r3=null,e;return w0&1&&e.tag!==0&&If(),s=e.pendingLanes,s&1?e===a3?kg++:(kg=0,a3=e):kg=0,Eu(),null}function If(){if(Xl!==null){var e=DO(w0),t=ys.transition,n=gn;try{if(ys.transition=null,gn=16>e?16:e,Xl===null)var r=!1;else{if(e=Xl,Xl=null,w0=0,on&6)throw Error(Qe(331));var i=on;for(on|=4,pt=e.current;pt!==null;){var s=pt,o=s.child;if(pt.flags&16){var c=s.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(pt=u;pt!==null;){var d=pt;switch(d.tag){case 0:case 11:case 15:Dg(8,d,s)}var p=d.child;if(p!==null)p.return=d,pt=p;else for(;pt!==null;){d=pt;var h=d.sibling,f=d.return;if(MI(d),d===u){pt=null;break}if(h!==null){h.return=f,pt=h;break}pt=f}}}var v=s.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(m!==null)}}pt=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,pt=o;else e:for(;pt!==null;){if(s=pt,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Dg(9,s,s.return)}var g=s.sibling;if(g!==null){g.return=s.return,pt=g;break e}pt=s.return}}var x=e.current;for(pt=x;pt!==null;){o=pt;var b=o.child;if(o.subtreeFlags&2064&&b!==null)b.return=o,pt=b;else e:for(o=x;pt!==null;){if(c=pt,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:C1(9,c)}}catch(E){rr(c,c.return,E)}if(c===o){pt=null;break e}var _=c.sibling;if(_!==null){_.return=c.return,pt=_;break e}pt=c.return}}if(on=i,Eu(),Mo&&typeof Mo.onPostCommitFiberRoot=="function")try{Mo.onPostCommitFiberRoot(x1,e)}catch{}r=!0}return r}finally{gn=n,ys.transition=t}}return!1}function Sk(e,t,n){t=mh(n,t),t=DI(e,t,1),e=nu(e,t,1),t=za(),e!==null&&(Xx(e,1,t),di(e,t))}function rr(e,t,n){if(e.tag===3)Sk(e,e,n);else for(;t!==null;){if(t.tag===3){Sk(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ru===null||!ru.has(r))){e=mh(n,e),e=AI(t,e,1),t=nu(t,e,1),e=za(),t!==null&&(Xx(t,1,e),di(t,e));break}}t=t.return}}function ZK(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=za(),e.pingedLanes|=e.suspendedLanes&n,$r===e&&(ta&n)===n&&(Pr===4||Pr===3&&(ta&130023424)===ta&&500>ur()-bE?Td(e,0):vE|=n),di(e,t)}function KI(e,t){t===0&&(e.mode&1?(t=Dv,Dv<<=1,!(Dv&130023424)&&(Dv=4194304)):t=1);var n=za();e=Wc(e,t),e!==null&&(Xx(e,t,n),di(e,n))}function JK(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),KI(e,n)}function eY(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(Qe(314))}r!==null&&r.delete(t),KI(e,n)}var YI;YI=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||li.current)si=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return si=!1,BK(e,t,n);si=!!(e.flags&131072)}else si=!1,$n&&t.flags&1048576&&eI(t,p0,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Lb(e,t),e=t.pendingProps;var i=dh(t,Ca.current);Of(t,n),i=fE(null,t,r,e,i,n);var s=hE();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,ui(r)?(s=!0,u0(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,cE(t),i.updater=N1,t.stateNode=i,i._reactInternals=t,HN(t,r,e,n),t=KN(null,t,r,!0,s,n)):(t.tag=0,$n&&s&&tE(t),Ma(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Lb(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=nY(r),e=Vs(r,e),i){case 0:t=XN(null,t,r,e,n);break e;case 1:t=xk(null,t,r,e,n);break e;case 11:t=mk(null,t,r,e,n);break e;case 14:t=gk(null,t,r,Vs(r.type,e),n);break e}throw Error(Qe(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Vs(r,i),XN(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Vs(r,i),xk(e,t,r,i,n);case 3:e:{if(LI(t),e===null)throw Error(Qe(387));
vendor: 4,581 bytes, line 40
40r=t.pendingProps,s=t.memoizedState,i=s.element,sI(e,t),m0(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=mh(Error(Qe(423)),t),t=yk(e,t,r,n,i);break e}else if(r!==i){i=mh(Error(Qe(424)),t),t=yk(e,t,r,n,i);break e}else for(Mi=tu(t.stateNode.containerInfo.firstChild),zi=t,$n=!0,Ys=null,n=aI(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ph(),r===i){t=Vc(e,t,n);break e}Ma(e,t,r,n)}t=t.child}return t;case 5:return oI(t),e===null&&$N(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,FN(r,i)?o=null:s!==null&&FN(r,s)&&(t.flags|=32),PI(e,t),Ma(e,t,o,n),t.child;case 6:return e===null&&$N(t),null;case 13:return RI(e,t,n);case 4:return lE(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=fh(t,null,r,n):Ma(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Vs(r,i),mk(e,t,r,i,n);case 7:return Ma(e,t,t.pendingProps,n),t.child;case 8:return Ma(e,t,t.pendingProps.children,n),t.child;case 12:return Ma(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Pn(f0,r._currentValue),r._currentValue=o,s!==null)if(ro(s.value,o)){if(s.children===i.children&&!li.current){t=Vc(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var c=s.dependencies;if(c!==null){o=s.child;for(var l=c.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=Rc(-1,n&-n),l.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),WN(s.return,n,t),c.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(Qe(341));o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),WN(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ma(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Of(t,n),i=js(i),r=r(i),t.flags|=1,Ma(e,t,r,n),t.child;case 14:return r=t.type,i=Vs(r,t.pendingProps),i=Vs(r.type,i),gk(e,t,r,i,n);case 15:return kI(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Vs(r,i),Lb(e,t),t.tag=1,ui(r)?(e=!0,u0(t)):e=!1,Of(t,n),SI(t,r,i),HN(t,r,i,n),KN(null,t,r,!0,e,n);case 19:return OI(e,t,n);case 22:return TI(e,t,n)}throw Error(Qe(156,t.tag))};function QI(e,t){return NO(e,t)}function tY(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 gs(e,t,n,r){return new tY(e,t,n,r)}function NE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nY(e){if(typeof e=="function")return NE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$C)return 11;if(e===WC)return 14}return 2}function iu(e,t){var n=e.alternate;return n===null?(n=gs(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 Ib(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")NE(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case yf:return Pd(n.children,i,s,t);case zC:o=8,i|=8;break;case gN:return e=gs(12,n,t,i|2),e.elementType=gN,e.lanes=s,e;case xN:return e=gs(13,n,t,i),e.elementType=xN,e.lanes=s,e;case yN:return e=gs(19,n,t,i),e.elementType=yN,e.lanes=s,e;case oO:return S1(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case iO:o=10;break e;case sO:o=9;break e;case $C:o=11;break e;case WC:o=14;break e;case Ol:o=16,r=null;break e}throw Error(Qe(130,e==null?e:typeof e,""))}return t=gs(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Pd(e,t,n,r){return e=gs(7,e,r,t),e.lanes=n,e}
vendor: 5,793 bytes, line 40
40function S1(e,t,n,r){return e=gs(22,e,r,t),e.elementType=oO,e.lanes=n,e.stateNode={isHidden:!1},e}function C5(e,t,n){return e=gs(6,e,null,t),e.lanes=n,e}function E5(e,t,n){return t=gs(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rY(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=s5(0),this.expirationTimes=s5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=s5(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function CE(e,t,n,r,i,s,o,c,l){return e=new rY(e,t,n,c,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=gs(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},cE(s),e}function aY(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:xf,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function ZI(e){if(!e)return fu;e=e._reactInternals;e:{if(sp(e)!==e||e.tag!==1)throw Error(Qe(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ui(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(Qe(171))}if(e.tag===1){var n=e.type;if(ui(n))return ZO(e,n,t)}return t}function JI(e,t,n,r,i,s,o,c,l){return e=CE(n,r,!0,e,i,s,o,c,l),e.context=ZI(null),n=e.current,r=za(),i=au(n),s=Rc(r,i),s.callback=t??null,nu(n,s,i),e.current.lanes=i,Xx(e,i,r),di(e,r),e}function D1(e,t,n,r){var i=t.current,s=za(),o=au(i);return n=ZI(n),t.context===null?t.context=n:t.pendingContext=n,t=Rc(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=nu(i,t,o),e!==null&&(no(e,i,o,s),kb(e,i,o)),o}function _0(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 Dk(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function EE(e,t){Dk(e,t),(e=e.alternate)&&Dk(e,t)}function iY(){return null}var e7=typeof reportError=="function"?reportError:function(e){console.error(e)};function SE(e){this._internalRoot=e}A1.prototype.render=SE.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(Qe(409));D1(e,t,null,null)};A1.prototype.unmount=SE.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qd(function(){D1(null,e,null,null)}),t[$c]=null}};function A1(e){this._internalRoot=e}A1.prototype.unstable_scheduleHydration=function(e){if(e){var t=TO();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Fl.length&&t!==0&&t<Fl[n].priority;n++);Fl.splice(n,0,e),n===0&&LO(e)}};function DE(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function k1(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ak(){}function sY(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=_0(o);s.call(u)}}var o=JI(t,r,e,0,null,!1,!1,"",Ak);return e._reactRootContainer=o,e[$c]=o.current,Zg(e.nodeType===8?e.parentNode:e),qd(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var c=r;r=function(){var u=_0(l);c.call(u)}}var l=CE(e,0,!1,null,null,!1,!1,"",Ak);return e._reactRootContainer=l,e[$c]=l.current,Zg(e.nodeType===8?e.parentNode:e),qd(function(){D1(t,l,n,r)}),l}function T1(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var c=i;i=function(){var l=_0(o);c.call(l)}}D1(t,o,e,i)}else o=sY(n,t,e,i,r);return _0(o)}AO=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ug(t.pendingLanes);n!==0&&(GC(t,n|1),di(t,ur()),!(on&6)&&(gh=ur()+500,Eu()))}break;case 13:qd(function(){var r=Wc(e,1);if(r!==null){var i=za();no(r,e,1,i)}}),EE(e,1)}};XC=function(e){if(e.tag===13){var t=Wc(e,134217728);if(t!==null){var n=za();no(t,e,134217728,n)}EE(e,134217728)}};kO=function(e){if(e.tag===13){var t=au(e),n=Wc(e,t);if(n!==null){var r=za();no(n,e,t,r)}EE(e,t)}};TO=function(){return gn};PO=function(e,t){var n=gn;try{return gn=e,t()}finally{gn=n}};DN=function(e,t,n){switch(t){case"input":if(wN(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=w1(r);if(!i)throw Error(Qe(90));lO(r),wN(r,i)}}}break;case"textarea":dO(e,n);break;case"select":t=n.value,t!=null&&Tf(e,!!n.multiple,t,!1)}};yO=wE;vO=qd;var oY={usingClientEntryPoint:!1,Events:[Yx,jf,w1,gO,xO,wE]},$m={findFiberByHostInstance:bd,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},cY={bundleType:$m.bundleType,version:$m.version,rendererPackageName:$m.rendererPackageName,rendererConfig:$m.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Jc.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=jO(e),e===null?null:e.stateNode},findFiberByHostInstance:$m.findFiberByHostInstance||iY,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mv.isDisabled&&Mv.supportsFiber)try{x1=Mv.inject(cY),Mo=Mv}catch{}}Gi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oY;Gi.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!DE(t))throw Error(Qe(200));return aY(e,t,null,n)};Gi.createRoot=function(e,t){if(!DE(e))throw Error(Qe(299));var n=!1,r="",i=e7;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=CE(e,1,!1,null,null,n,!1,r,i),e[$c]=t.current,Zg(e.nodeType===8?e.parentNode:e),new SE(t)};Gi.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(Qe(188)):(e=Object.keys(e).join(","),Error(Qe(268,e)));return e=jO(t),e=e===null?null:e.stateNode,e};Gi.flushSync=function(e){return qd(e)};Gi.hydrate=function(e,t,n){if(!k1(t))throw Error(Qe(200));return T1(null,e,t,!0,n)};Gi.hydrateRoot=function(e,t,n){if(!DE(e))throw Error(Qe(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=e7;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=JI(t,null,e,1,n??null,i,!1,s,o),e[$c]=t.current,Zg(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 A1(t)};Gi.render=function(e,t,n){if(!k1(t))throw Error(Qe(200));return T1(null,e,t,!1,n)};Gi.unmountComponentAtNode=function(e){if(!k1(e))throw Error(Qe(40));return e._reactRootContainer?(qd(function(){T1(null,null,e,!1,function(){e._reactRootContainer=null,e[$c]=null})}),!0):!1};Gi.unstable_batchedUpdates=wE;Gi.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!k1(n))throw Error(Qe(200));if(e==null||e._reactInternals===void 0)throw Error(Qe(38));return T1(e,t,n,!1,r)};Gi.version="18.3.1-next-f1338f8080-20240426";function t7(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t7)}catch(e){console.error(e)}}t7(),tO.exports=Gi;var oi=tO.exports;const AE=Ih(oi);var n7,kk=oi;n7=kk.createRoot,kk.hydrateRoot;var lY=typeof Element<"u",uY=typeof Map=="function",dY=typeof Set=="function",pY=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Ub(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Ub(e[r],t[r]))return!1;return!0}var s;if(uY&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;for(s=e.entries();!(r=s.next()).done;)if(!Ub(r.value[1],t.get(r.value[0])))return!1;return!0}if(dY&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(r=s.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(pY&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(lY&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!Ub(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var kE=function(t,n){try{return Ub(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const fY=Ih(kE);var hY=function(e,t,n,r,i,s,o,c){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,s,o,c],d=0;l=new Error(t.replace(/%s/g,function(){return u[d++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},mY=hY;const Tk=Ih(mY);var gY=function(t,n,r,i){var s=r?r.call(i,t,n):void 0;if(s!==void 0)return!!s;
40if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var o=Object.keys(t),c=Object.keys(n);if(o.length!==c.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<o.length;u++){var d=o[u];if(!l(d))return!1;var p=t[d],h=n[d];if(s=r?r.call(i,p,h,d):void 0,s===!1||s===void 0&&p!==h)return!1}return!0};const xY=Ih(gY);var r7=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(r7||{}),S5={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Pk=Object.values(r7),TE={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},yY=Object.entries(TE).reduce((e,[t,n])=>(e[n]=t,e),{}),Qs="data-rh",Uf={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Ff=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},vY=e=>{let t=Ff(e,"title");const n=Ff(e,Uf.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Ff(e,Uf.DEFAULT_TITLE);return t||r||void 0},bY=e=>Ff(e,Uf.ON_CHANGE_CLIENT_STATE)||(()=>{}),D5=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),wY=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let s=0;s<i.length;s+=1){const c=i[s].toLowerCase();if(e.indexOf(c)!==-1&&r[c])return n.concat(r)}}return n},[]),jY=e=>console&&typeof console.warn=="function"&&console.warn(e),Wm=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&jY(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,s)=>{const o={};s.filter(l=>{let u;const d=Object.keys(l);for(let h=0;h<d.length;h+=1){const f=d[h],v=f.toLowerCase();t.indexOf(v)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(v==="rel"&&l[v].toLowerCase()==="stylesheet")&&(u=v),t.indexOf(f)!==-1&&(f==="innerHTML"||f==="cssText"||f==="itemprop")&&(u=f)}if(!u||!l[u])return!1;const p=l[u].toLowerCase();return r[u]||(r[u]={}),o[u]||(o[u]={}),r[u][p]?!1:(o[u][p]=!0,!0)}).reverse().forEach(l=>i.push(l));const c=Object.keys(o);for(let l=0;l<c.length;l+=1){const u=c[l],d={...r[u],...o[u]};r[u]=d}return i},[]).reverse()},_Y=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},NY=e=>({baseTag:wY(["href"],e),bodyAttributes:D5("bodyAttributes",e),defer:Ff(e,Uf.DEFER),encode:Ff(e,Uf.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:D5("htmlAttributes",e),linkTags:Wm("link",["rel","href"],e),metaTags:Wm("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Wm("noscript",["innerHTML"],e),onChangeClientState:bY(e),scriptTags:Wm("script",["src","innerHTML"],e),styleTags:Wm("style",["cssText"],e),title:vY(e),titleAttributes:D5("titleAttributes",e),prioritizeSeoTags:_Y(e,Uf.PRIORITIZE_SEO_TAGS)}),a7=e=>Array.isArray(e)?e.join(""):e,CY=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},A5=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(CY(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Lk=(e,t)=>({...e,[t]:void 0}),EY=["noscript","script","style"],o3=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),i7=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),SY=(e,t,n,r)=>{const i=i7(n),s=a7(t);return i?`<${e} ${Qs}="true" ${i}>${o3(s,r)}</${e}>`:`<${e} ${Qs}="true">${o3(s,r)}</${e}>`},DY=(e,t,n=!0)=>t.reduce((r,i)=>{const s=i,o=Object.keys(s).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,d)=>{const p=typeof s[d]>"u"?d:`${d}="${o3(s[d],n)}"`;return u?`${u} ${p}`:p},""),c=s.innerHTML||s.cssText||"",l=EY.indexOf(e)===-1;return`${r}<${e} ${Qs}="true" ${o}${l?"/>":`>${c}</${e}>`}`},""),s7=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=TE[r];return n[i||r]=e[r],n}
40,t),AY=(e,t,n)=>{const r={key:t,[Qs]:!0},i=s7(n,r);return[Ue.createElement("title",i,t)]},Fb=(e,t)=>t.map((n,r)=>{const i={key:r,[Qs]:!0};return Object.keys(n).forEach(s=>{const c=TE[s]||s;if(c==="innerHTML"||c==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[c]=n[s]}),Ue.createElement(e,i)}),cs=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>AY(e,t.title,t.titleAttributes),toString:()=>SY(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>s7(t),toString:()=>i7(t)};default:return{toComponent:()=>Fb(e,t),toString:()=>DY(e,t,n)}}},kY=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=A5(e,S5.meta),s=A5(t,S5.link),o=A5(n,S5.script);return{priorityMethods:{toComponent:()=>[...Fb("meta",i.priority),...Fb("link",s.priority),...Fb("script",o.priority)],toString:()=>`${cs("meta",i.priority,r)} ${cs("link",s.priority,r)} ${cs("script",o.priority,r)}`},metaTags:i.default,linkTags:s.default,scriptTags:o.default}},TY=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:s,styleTags:o,title:c="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:d,metaTags:p,scriptTags:h}=e,f={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:f,linkTags:d,metaTags:p,scriptTags:h}=kY(e)),{priority:f,base:cs("base",t,r),bodyAttributes:cs("bodyAttributes",n,r),htmlAttributes:cs("htmlAttributes",i,r),link:cs("link",d,r),meta:cs("meta",p,r),noscript:cs("noscript",s,r),script:cs("script",h,r),style:cs("style",o,r),title:cs("title",{title:c,titleAttributes:l},r)}},c3=TY,qv=[],o7=!!(typeof window<"u"&&window.document&&window.document.createElement),l3=class{constructor(e,t){Yt(this,"instances",[]);Yt(this,"canUseDOM",o7);Yt(this,"context");Yt(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?qv:this.instances,add:e=>{(this.canUseDOM?qv:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?qv:this.instances).indexOf(e);(this.canUseDOM?qv:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=c3({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},PY={},c7=Ue.createContext(PY),Ed,l7=(Ed=class extends j.Component{constructor(n){super(n);Yt(this,"helmetData");this.helmetData=new l3(this.props.context||{},Ed.canUseDOM)}render(){return Ue.createElement(c7.Provider,{value:this.helmetData.value},this.props.children)}},Yt(Ed,"canUseDOM",o7),Ed),Op=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${Qs}]`),i=[].slice.call(r),s=[];let o;return t&&t.length&&t.forEach(c=>{const l=document.createElement(e);for(const u in c)if(Object.prototype.hasOwnProperty.call(c,u))if(u==="innerHTML")l.innerHTML=c.innerHTML;else if(u==="cssText")l.styleSheet?l.styleSheet.cssText=c.cssText:l.appendChild(document.createTextNode(c.cssText));else{const d=u,p=typeof c[d]>"u"?"":c[d];l.setAttribute(u,p)}l.setAttribute(Qs,"true"),i.some((u,d)=>(o=d,l.isEqualNode(u)))?i.splice(o,1):s.push(l)}),i.forEach(c=>{var l;return(l=c.parentNode)==null?void 0:l.removeChild(c)}),s.forEach(c=>n.appendChild(c)),{oldTags:i,newTags:s}},u3=(e,t)=>
40{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(Qs),i=r?r.split(","):[],s=[...i],o=Object.keys(t);for(const c of o){const l=t[c]||"";n.getAttribute(c)!==l&&n.setAttribute(c,l),i.indexOf(c)===-1&&i.push(c);const u=s.indexOf(c);u!==-1&&s.splice(u,1)}for(let c=s.length-1;c>=0;c-=1)n.removeAttribute(s[c]);i.length===s.length?n.removeAttribute(Qs):n.getAttribute(Qs)!==o.join(",")&&n.setAttribute(Qs,o.join(","))},LY=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=a7(e)),u3("title",t)},Rk=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:s,metaTags:o,noscriptTags:c,onChangeClientState:l,scriptTags:u,styleTags:d,title:p,titleAttributes:h}=e;u3("body",r),u3("html",i),LY(p,h);const f={baseTag:Op("base",n),linkTags:Op("link",s),metaTags:Op("meta",o),noscriptTags:Op("noscript",c),scriptTags:Op("script",u),styleTags:Op("style",d)},v={},m={};Object.keys(f).forEach(y=>{const{newTags:g,oldTags:x}=f[y];g.length&&(v[y]=g),x.length&&(m[y]=f[y].oldTags)}),t&&t(),l(e,v,m)},Vm=null,RY=e=>{Vm&&cancelAnimationFrame(Vm),e.defer?Vm=requestAnimationFrame(()=>{Rk(e,()=>{Vm=null})}):(Rk(e),Vm=null)},OY=RY,Ok=class extends j.Component{constructor(){super(...arguments);Yt(this,"rendered",!1)}shouldComponentUpdate(t){return!xY(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=NY(t.get().map(s=>{const o={...s.props};return delete o.context,o}));l7.canUseDOM?OY(i):c3&&(r=c3(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},hN,IY=(hN=class extends j.Component{shouldComponentUpdate(e){return!fY(Lk(this.props,"helmetData"),Lk(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return Tk(Pk.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Pk.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Tk(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return Ue.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...s}=r.props,o=Object.keys(s).reduce((l,u)=>(l[yY[u]||u]=s[u],l),{});let{type:c}=r;
40switch(typeof c=="symbol"?c=c.toString():this.warnOnInvalidChildren(r,i),c){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,o,i);break;default:t=this.mapObjectTypeChildren(r,t,o,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof l3)){const i=r;r=new l3(i.context,!0),delete n.helmetData}return r?Ue.createElement(Ok,{...n,context:r.value}):Ue.createElement(c7.Consumer,null,i=>Ue.createElement(Ok,{...n,context:i}))}},Yt(hN,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),hN);const UY=1,FY=1e6;let k5=0;function MY(){return k5=(k5+1)%Number.MAX_SAFE_INTEGER,k5.toString()}const T5=new Map,Ik=e=>{if(T5.has(e))return;const t=setTimeout(()=>{T5.delete(e),Tg({type:"REMOVE_TOAST",toastId:e})},FY);T5.set(e,t)},qY=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,UY)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Ik(n):e.toasts.forEach(r=>{Ik(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Mb=[];let qb={toasts:[]};function Tg(e){qb=qY(qb,e),Mb.forEach(t=>{t(qb)})}function BY({...e}){const t=MY(),n=i=>Tg({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Tg({type:"DISMISS_TOAST",toastId:t});return Tg({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function ar(){const[e,t]=j.useState(qb);return j.useEffect(()=>(Mb.push(t),()=>{const n=Mb.indexOf(t);n>-1&&Mb.splice(n,1)}),[e]),{...e,toast:BY,dismiss:n=>Tg({type:"DISMISS_TOAST",toastId:n})}}function Je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function zY(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function P1(...e){return t=>e.forEach(n=>zY(n,t))}function Zt(...e){return j.useCallback(P1(...e),e)}function $Y(e,t=[]){let n=[];function r(s,o){const c=j.createContext(o),l=n.length;n=[...n,o];function u(p){const{scope:h,children:f,...v}=p,m=(h==null?void 0:h[e][l])||c,y=j.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:y,children:f})}function d(p,h){const f=(h==null?void 0:h[e][l])||c,v=j.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,d]}const i=()=>{const s=n.map(o=>j.createContext(o));return function(c){const l=(c==null?void 0:c[e])||s;return j.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return i.scopeName=e,[r,WY(i,...t)]}function WY(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...c,...p}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var Hc=j.forwardRef((e,t)=>{const{children:n,...r}=e,i=j.Children.toArray(n),s=i.find(VY);if(s){const o=s.props.children,c=i.map(l=>l===s?j.Children.count(o)>1?j.Children.only(null):j.isValidElement(o)?o.props.children:null:l);return a.jsx(d3,{...r,ref:t,children:j.isValidElement(o)?j.cloneElement(o,void 0,c):null})}return a.jsx(d3,{...r,ref:t,children:n})});Hc.displayName="Slot";var d3=j.forwardRef((e,t)=>{const{children:n,...r}=e;if(j.isValidElement(n)){const i=GY(n);return j.cloneElement(n,{...HY(r,n.props),ref:t?P1(t,i):i})}return j.Children.count(n)>1?j.Children.only(null):null});d3.displayName="SlotClone";var u7=({children:e})=>a.jsx(a.Fragment,{children:e});function VY(e){return j.isValidElement(e)&&e.type===u7}function HY(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{s(...c),i(...c)}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}
vendor: 8,300 bytes, line 40
40:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function GY(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Zx(e){const t=e+"CollectionProvider",[n,r]=$Y(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=f=>{const{scope:v,children:m}=f,y=Ue.useRef(null),g=Ue.useRef(new Map).current;return a.jsx(i,{scope:v,itemMap:g,collectionRef:y,children:m})};o.displayName=t;const c=e+"CollectionSlot",l=Ue.forwardRef((f,v)=>{const{scope:m,children:y}=f,g=s(c,m),x=Zt(v,g.collectionRef);return a.jsx(Hc,{ref:x,children:y})});l.displayName=c;const u=e+"CollectionItemSlot",d="data-radix-collection-item",p=Ue.forwardRef((f,v)=>{const{scope:m,children:y,...g}=f,x=Ue.useRef(null),b=Zt(v,x),_=s(u,m);return Ue.useEffect(()=>(_.itemMap.set(x,{ref:x,...g}),()=>void _.itemMap.delete(x))),a.jsx(Hc,{[d]:"",ref:b,children:y})});p.displayName=u;function h(f){const v=s(e+"CollectionConsumer",f);return Ue.useCallback(()=>{const y=v.collectionRef.current;if(!y)return[];const g=Array.from(y.querySelectorAll(`[${d}]`));return Array.from(v.itemMap.values()).sort((_,E)=>g.indexOf(_.ref.current)-g.indexOf(E.ref.current))},[v.collectionRef,v.itemMap])}return[{Provider:o,Slot:l,ItemSlot:p},h,r]}function XY(e,t){const n=j.createContext(t),r=s=>{const{children:o,...c}=s,l=j.useMemo(()=>c,Object.values(c));return a.jsx(n.Provider,{value:l,children:o})};r.displayName=e+"Provider";function i(s){const o=j.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,i]}function Es(e,t=[]){let n=[];function r(s,o){const c=j.createContext(o),l=n.length;n=[...n,o];const u=p=>{var g;const{scope:h,children:f,...v}=p,m=((g=h==null?void 0:h[e])==null?void 0:g[l])||c,y=j.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:y,children:f})};u.displayName=s+"Provider";function d(p,h){var m;const f=((m=h==null?void 0:h[e])==null?void 0:m[l])||c,v=j.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[u,d]}const i=()=>{const s=n.map(o=>j.createContext(o));return function(c){const l=(c==null?void 0:c[e])||s;return j.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return i.scopeName=e,[r,KY(i,...t)]}function KY(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...c,...p}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var YY=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nt=YY.reduce((e,t)=>{const n=j.forwardRef((r,i)=>{const{asChild:s,...o}=r,c=s?Hc:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(c,{...o,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function PE(e,t){e&&oi.flushSync(()=>e.dispatchEvent(t))}function Ea(e){const t=j.useRef(e);return j.useEffect(()=>{t.current=e}),j.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function QY(e,t=globalThis==null?void 0:globalThis.document){const n=Ea(e);j.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var ZY="DismissableLayer",p3="dismissableLayer.update",JY="dismissableLayer.pointerDownOutside",eQ="dismissableLayer.focusOutside",Uk,d7=j.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),op=j.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:c,...l}=e,u=j.useContext(d7),[d,p]=j.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=j.useState({}),v=Zt(t,A=>p(A)),m=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(y),x=d?m.indexOf(d):-1,b=u.layersWithOutsidePointerEventsDisabled.size>0,_=x>=g,E=nQ(A=>{const w=A.target,S=[...u.branches].some(k=>k.contains(w));!_||S||(i==null||i(A),o==null||o(A),A.defaultPrevented||c==null||c())},h),T=rQ(A=>{const w=A.target;[...u.branches].some(k=>k.contains(w))||(s==null||s(A),o==null||o(A),A.defaultPrevented||c==null||c())},h);return QY(A=>{x===u.layers.size-1&&(r==null||r(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},h),j.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Uk=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Fk(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Uk)}},[d,h,n,u]),j.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Fk())},[d,u]),j.useEffect(()=>{const A=()=>f({});return document.addEventListener(p3,A),()=>document.removeEventListener(p3,A)},[]),a.jsx(Nt.div,{...l,ref:v,style:{pointerEvents:b?_?"auto":"none":void 0,...e.style},onFocusCapture:Je(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Je(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Je(e.onPointerDownCapture,E.onPointerDownCapture)})});op.displayName=ZY;var tQ="DismissableLayerBranch",p7=j.forwardRef((e,t)=>{const n=j.useContext(d7),r=j.useRef(null),i=Zt(t,r);return j.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),a.jsx(Nt.div,{...e,ref:i})});p7.displayName=tQ;function nQ(e,t=globalThis==null?void 0:globalThis.document){const n=Ea(e),r=j.useRef(!1),i=j.useRef(()=>{});return j.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let l=function(){f7(JY,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function rQ(e,t=globalThis==null?void 0:globalThis.document){const n=Ea(e),r=j.useRef(!1);return j.useEffect(()=>{const i=s=>{s.target&&!r.current&&f7(eQ,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fk(){const e=new CustomEvent(p3);document.dispatchEvent(e)}function f7(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?PE(i,s):i.dispatchEvent(s)}var aQ=op,iQ=p7,ra=globalThis!=null&&globalThis.document?j.useLayoutEffect:()=>{},sQ="Portal",qh=j.forwardRef((e,t)=>{var c;const{container:n,...r}=e,[i,s]=j.useState(!1);ra(()=>s(!0),[]);const o=n||i&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?AE.createPortal(a.jsx(Nt.div,{...r,ref:t}),o):null});qh.displayName=sQ;function oQ(e,t){return j.useReducer((n,r)=>t[n][r]??n,e)}var Xa=e=>{const{present:t,children:n}=e,r=cQ(t),i=typeof n=="function"?n({present:r.isPresent}):j.Children.only(n),s=Zt(r.ref,lQ(i));return typeof n=="function"||r.isPresent?j.cloneElement(i,{ref:s}):null};Xa.displayName="Presence";function cQ(e){const[t,n]=j.useState(),r=j.useRef({}),i=j.useRef(e),s=j.useRef("none"),o=e?"mounted":"unmounted",[c,l]=oQ(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return j.useEffect(()=>{const u=Bv(r.current);s.current=c==="mounted"?u:"none"},[c]),ra(()=>{const u=r.current,d=i.current;if(d!==e){const h=s.current,f=Bv(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ra(()=>
40{if(t){let u;const d=t.ownerDocument.defaultView??window,p=f=>{const m=Bv(r.current).includes(f.animationName);if(f.target===t&&m&&(l("ANIMATION_END"),!i.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},h=f=>{f.target===t&&(s.current=Bv(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:j.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Bv(e){return(e==null?void 0:e.animationName)||"none"}function lQ(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vi({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=uQ({defaultProp:t,onChange:n}),s=e!==void 0,o=s?e:r,c=Ea(n),l=j.useCallback(u=>{if(s){const p=typeof u=="function"?u(e):u;p!==e&&c(p)}else i(u)},[s,e,i,c]);return[o,l]}function uQ({defaultProp:e,onChange:t}){const n=j.useState(e),[r]=n,i=j.useRef(r),s=Ea(t);return j.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),n}var dQ="VisuallyHidden",Jx=j.forwardRef((e,t)=>a.jsx(Nt.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Jx.displayName=dQ;var pQ=Jx,LE="ToastProvider",[RE,fQ,hQ]=Zx("Toast"),[h7,c_e]=Es("Toast",[hQ]),[mQ,L1]=h7(LE),m7=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[c,l]=j.useState(null),[u,d]=j.useState(0),p=j.useRef(!1),h=j.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${LE}\`. Expected non-empty \`string\`.`),a.jsx(RE.Provider,{scope:t,children:a.jsx(mQ,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:c,onViewportChange:l,onToastAdd:j.useCallback(()=>d(f=>f+1),[]),onToastRemove:j.useCallback(()=>d(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:h,children:o})})};m7.displayName=LE;var g7="ToastViewport",gQ=["F8"],f3="toast.viewportPause",h3="toast.viewportResume",x7=j.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=gQ,label:i="Notifications ({hotkey})",...s}=e,o=L1(g7,n),c=fQ(n),l=j.useRef(null),u=j.useRef(null),d=j.useRef(null),p=j.useRef(null),h=Zt(t,p,o.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=o.toastCount>0;j.useEffect(()=>{const y=g=>{var b;r.length!==0&&r.every(_=>g[_]||g.code===_)&&((b=p.current)==null||b.focus())};return document.addEventListener("keydown",y),()=>document.removeEventListener("keydown",y)},[r]),j.useEffect(()=>{const y=l.current,g=p.current;if(v&&y&&g){const x=()=>{if(!o.isClosePausedRef.current){const T=new CustomEvent(f3);g.dispatchEvent(T),o.isClosePausedRef.current=!0}},b=()=>{if(o.isClosePausedRef.current){const T=new CustomEvent(h3);g.dispatchEvent(T),o.isClosePausedRef.current=!1}},_=T=>{!y.contains(T.relatedTarget)&&b()},E=()=>{y.contains(document.activeElement)||b()};return y.addEventListener("focusin",x),y.addEventListener("focusout",_),y.addEventListener("pointermove",x),y.addEventListener("pointerleave",E),window.addEventListener("blur",x),window.addEventListener("focus",b),()=>{y.removeEventListener("focusin",x),y.removeEventListener("focusout",_),y.removeEventListener("pointermove",x),y.removeEventListener("pointerleave",E),window.removeEventListener("blur",x),window.removeEventListener("focus",b)}}},[v,o.isClosePausedRef]);const m=j.useCallback(({tabbingDirection:y})=>{const x=c().map(b=>{const _=b.ref.current,E=[_,...AQ(_)];return y==="forwards"?E:E.reverse()});return(y==="forwards"?x.reverse():x).flat()},[c]);return j.useEffect(()=>{const y=p.current;if(y){const g=x=>{var E,T,A;const b=x.altKey||x.ctrlKey||x.metaKey;if(x.key==="Tab"&&!b){const w=document.activeElement,S=x.shiftKey;if(x.target===y&&S){(E=u.current)==null||E.focus();return}const D=m({tabbingDirection:S?"backwards":"forwards"}),R=D.findIndex(N=>N===w);P5(D.slice(R+1))?x.preventDefault():S?(T=u.current)==null||T.focus():(A=d.current)==null||A.focus()}};return y.addEventListener("keydown",g),()=>y.removeEventListener("keydown",g)}},[c,m]),a.jsxs(iQ,{ref:l,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&a.jsx(m3,{ref:u,onFocusFromOutsideViewport:()=>{const y=m({tabbingDirection:"forwards"});P5(y)}}),a.jsx(RE.Slot,{scope:n,children:a.jsx(Nt.ol,{tabIndex:-1,...s,ref:h})}),v&&a.jsx(m3,{ref:d,onFocusFromOutsideViewport:()=>{const y=m({tabbingDirection:"backwards"});P5(y)}})]})});x7.displayName=g7;var y7="ToastFocusProxy",m3=j.forwardRef((e,t)=>
40{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=L1(y7,n);return a.jsx(Jx,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const c=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(c))&&r()}})});m3.displayName=y7;var R1="Toast",xQ="toast.swipeStart",yQ="toast.swipeMove",vQ="toast.swipeCancel",bQ="toast.swipeEnd",v7=j.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[c=!0,l]=Vi({prop:r,defaultProp:i,onChange:s});return a.jsx(Xa,{present:n||c,children:a.jsx(_Q,{open:c,...o,ref:t,onClose:()=>l(!1),onPause:Ea(e.onPause),onResume:Ea(e.onResume),onSwipeStart:Je(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Je(e.onSwipeMove,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:Je(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Je(e.onSwipeEnd,u=>{const{x:d,y:p}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),l(!1)})})})});v7.displayName=R1;var[wQ,jQ]=h7(R1,{onClose(){}}),_Q=j.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:c,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:p,onSwipeCancel:h,onSwipeEnd:f,...v}=e,m=L1(R1,n),[y,g]=j.useState(null),x=Zt(t,N=>g(N)),b=j.useRef(null),_=j.useRef(null),E=i||m.duration,T=j.useRef(0),A=j.useRef(E),w=j.useRef(0),{onToastAdd:S,onToastRemove:k}=m,P=Ea(()=>{var q;(y==null?void 0:y.contains(document.activeElement))&&((q=m.viewport)==null||q.focus()),o()}),D=j.useCallback(N=>{!N||N===1/0||(window.clearTimeout(w.current),T.current=new Date().getTime(),w.current=window.setTimeout(P,N))},[P]);j.useEffect(()=>{const N=m.viewport;if(N){const q=()=>{D(A.current),u==null||u()},I=()=>{const z=new Date().getTime()-T.current;A.current=A.current-z,window.clearTimeout(w.current),l==null||l()};return N.addEventListener(f3,I),N.addEventListener(h3,q),()=>{N.removeEventListener(f3,I),N.removeEventListener(h3,q)}}},[m.viewport,E,l,u,D]),j.useEffect(()=>{s&&!m.isClosePausedRef.current&&D(E)},[s,E,m.isClosePausedRef,D]),j.useEffect(()=>(S(),()=>k()),[S,k]);const R=j.useMemo(()=>y?E7(y):null,[y]);return m.viewport?a.jsxs(a.Fragment,{children:[R&&a.jsx(NQ,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:R}),a.jsx(wQ,{scope:n,onClose:P,children:oi.createPortal(a.jsx(RE.ItemSlot,{scope:n,children:a.jsx(aQ,{asChild:!0,onEscapeKeyDown:Je(c,()=>{m.isFocusedToastEscapeKeyDownRef.current||P(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:a.jsx(Nt.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":m.swipeDirection,...v,ref:x,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Je(e.onKeyDown,N=>{N.key==="Escape"&&(c==null||c(N.nativeEvent),N.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,P()))}),onPointerDown:Je(e.onPointerDown,N=>{N.button===0&&(b.current={x:N.clientX,y:N.clientY})}),onPointerMove:Je(e.onPointerMove,N=>{if(!b.current)return;const q=N.clientX-b.current.x,I=N.clientY-b.current.y,z=!!_.current,M=["left","right"].includes(m.swipeDirection),F=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,H=M?F(0,q):0,V=M?0:F(0,I),O=N.pointerType==="touch"?10:2,$={x:H,y:V},K={originalEvent:N,delta:$};z?(_.current=$,zv(yQ,p,K,{discrete:!1})):Mk($,m.swipeDirection,O)?(_.current=$,zv(xQ,d,K,{discrete:!1}),N.target.setPointerCapture(N.pointerId)):(Math.abs(q)>O||Math.abs(I)>O)&&(b.current=null)}),onPointerUp:Je(e.onPointerUp,N=>{const q=_.current,I=N.target;if(I.hasPointerCapture(N.pointerId)&&I.releasePointerCapture(N.pointerId),_.current=null,b.current=null,q){const z=N.currentTarget,M={originalEvent:N,delta:q};Mk(q,m.swipeDirection,m.swipeThreshold)?zv(bQ,f,M,{discrete:!0}):zv(vQ,h,M,{discrete:!0}),z.addEventListener("click",F=>F.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),NQ=e=>{const{__scopeToast:t,children:n,...r}=e,i=L1(R1,t),[s,o]=j.useState(!1),[c,l]=j.useState(!1);return SQ(()=>o(!0)),j.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),c?null:a.jsx(qh,{asChild:!0,children:a.jsx(Jx,{...r,children:s&&a.jsxs(a.Fragment,{children:[i.label," ",n]})})})},CQ="ToastTitle",b7=j.forwardRef((e,t)=>
vendor: 4,742 bytes, lines 40-60
40{const{__scopeToast:n,...r}=e;return a.jsx(Nt.div,{...r,ref:t})});b7.displayName=CQ;var EQ="ToastDescription",w7=j.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return a.jsx(Nt.div,{...r,ref:t})});w7.displayName=EQ;var j7="ToastAction",_7=j.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?a.jsx(C7,{altText:n,asChild:!0,children:a.jsx(OE,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${j7}\`. Expected non-empty \`string\`.`),null)});_7.displayName=j7;var N7="ToastClose",OE=j.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=jQ(N7,n);return a.jsx(C7,{asChild:!0,children:a.jsx(Nt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,i.onClose)})})});OE.displayName=N7;var C7=j.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return a.jsx(Nt.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function E7(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),DQ(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...E7(r))}}),t}function zv(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?PE(i,s):i.dispatchEvent(s)}var Mk=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function SQ(e=()=>{}){const t=Ea(e);ra(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function DQ(e){return e.nodeType===e.ELEMENT_NODE}function AQ(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function P5(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var kQ=m7,S7=x7,D7=v7,A7=b7,k7=w7,T7=_7,P7=OE;function L7(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=L7(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function R7(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=L7(e))&&(r&&(r+=" "),r+=t);return r}const qk=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Bk=R7,ey=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Bk(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const d=n==null?void 0:n[u],p=s==null?void 0:s[u];if(d===null)return null;const h=qk(d)||qk(p);return i[u][h]}),c=n&&Object.entries(n).reduce((u,d)=>{let[p,h]=d;return h===void 0||(u[p]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:p,className:h,...f}=d;return Object.entries(f).every(v=>{let[m,y]=v;return Array.isArray(y)?y.includes({...s,...c}[m]):{...s,...c}[m]===y})?[...u,p,h]:u},[]);return Bk(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const TQ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),O7=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var PQ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const LQ=j.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...c},l)=>j.createElement("svg",{ref:l,...PQ,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:O7("lucide",i),...c},[...o.map(([u,d])=>j.createElement(u,d)),...Array.isArray(s)?s:[s]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Ge=(e,t)=>
60{const n=j.forwardRef(({className:r,...i},s)=>j.createElement(LQ,{ref:s,iconNode:t,className:O7(`lucide-${TQ(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const xh=Ge("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const $a=Ge("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const Gt=Ge("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const Bd=Ge("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const el=Ge("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const tl=Ge("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const RQ=Ge("CalendarCheck",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const OQ=Ge("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const cp=Ge("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const I7=Ge("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const IQ=Ge("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const ty=Ge("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Zs=Ge("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const UQ=Ge("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const ny=Ge("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const FQ=Ge("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const MQ=Ge("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const U7=Ge("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const Xn=Ge("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const ea=Ge("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 161 * @license lucide-react v0.462.0 - ISC 162 * 163 * This source code is licensed under the ISC license. 164 * See the LICENSE file in the root directory of this source tree. 165 */const lp=Ge("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 166 * @license lucide-react v0.462.0 - ISC 167 * 168 * This source code is licensed under the ISC license. 169 * See the LICENSE file in the root directory of this source tree. 170 */const F7=Ge("CirclePause",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"10",x2:"10",y1:"15",y2:"9",key:"c1nkhi"}],["line",{x1:"14",x2:"14",y1:"15",y2:"9",key:"h65svq"}]]);/** 171 * @license lucide-react v0.462.0 - ISC 172 * 173 * This source code is licensed under the ISC license. 174 * See the LICENSE file in the root directory of this source tree. 175 */const Zr=Ge("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 176 * @license lucide-react v0.462.0 - ISC 177 * 178 * This source code is licensed under the ISC license. 179 * See the LICENSE file in the root directory of this source tree. 180 */const M7=Ge("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 181 * @license lucide-react v0.462.0 - ISC 182 * 183 * This source code is licensed under the ISC license. 184 * See the LICENSE file in the root directory of this source tree.
185 */const qQ=Ge("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** 186 * @license lucide-react v0.462.0 - ISC 187 * 188 * This source code is licensed under the ISC license. 189 * See the LICENSE file in the root directory of this source tree. 190 */const En=Ge("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** 191 * @license lucide-react v0.462.0 - ISC 192 * 193 * This source code is licensed under the ISC license. 194 * See the LICENSE file in the root directory of this source tree. 195 */const q7=Ge("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** 196 * @license lucide-react v0.462.0 - ISC 197 * 198 * This source code is licensed under the ISC license. 199 * See the LICENSE file in the root directory of this source tree. 200 */const Ld=Ge("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"}]]);/** 201 * @license lucide-react v0.462.0 - ISC 202 * 203 * This source code is licensed under the ISC license. 204 * See the LICENSE file in the root directory of this source tree. 205 */const BQ=Ge("Crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);/** 206 * @license lucide-react v0.462.0 - ISC 207 * 208 * This source code is licensed under the ISC license. 209 * See the LICENSE file in the root directory of this source tree. 210 */const zk=Ge("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** 211 * @license lucide-react v0.462.0 - ISC 212 * 213 * This source code is licensed under the ISC license. 214 * See the LICENSE file in the root directory of this source tree. 215 */const B7=Ge("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** 216 * @license lucide-react v0.462.0 - ISC 217 * 218 * This source code is licensed under the ISC license. 219 * See the LICENSE file in the root directory of this source tree. 220 */const Oc=Ge("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** 221 * @license lucide-react v0.462.0 - ISC 222 * 223 * This source code is licensed under the ISC license. 224 * See the LICENSE file in the root directory of this source tree. 225 */const zQ=Ge("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 226 * @license lucide-react v0.462.0 - ISC 227 * 228 * This source code is licensed under the ISC license. 229 * See the LICENSE file in the root directory of this source tree. 230 */const zd=Ge("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"}]]);/** 231 * @license lucide-react v0.462.0 - ISC 232 * 233 * This source code is licensed under the ISC license. 234 * See the LICENSE file in the root directory of this source tree. 235 */const Mf=Ge("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/** 236 * @license lucide-react v0.462.0 - ISC 237 * 238 * This source code is licensed under the ISC license. 239 * See the LICENSE file in the root directory of this source tree. 240 */const Ic=Ge("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 241 * @license lucide-react v0.462.0 - ISC 242 * 243 * This source code is licensed under the ISC license. 244 * See the LICENSE file in the root directory of this source tree. 245 */const N0=Ge("FileChartColumnIncreasing",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["path",{d:"M12 18v-4",key:"q1q25u"}],["path",{d:"M16 18v-6",key:"15y0np"}]]);/** 246 * @license lucide-react v0.462.0 - ISC 247 * 248 * This source code is licensed under the ISC license. 249 * See the LICENSE file in the root directory of this source tree. 250 */const $Q=Ge("FileCheck",[["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:"m9 15 2 2 4-4",key:"1grp1n"}]]);/** 251 * @license lucide-react v0.462.0 - ISC 252 * 253 * This source code is licensed under the ISC license. 254 * See the LICENSE file in the root directory of this source tree. 255 */const z7=Ge("FileSearch",[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"ms7g94"}],["path",{d:"m9 18-1.5-1.5",key:"1j6qii"}],["circle",{cx:"5",cy:"14",r:"3",key:"ufru5t"}]]);/** 256 * @license lucide-react v0.462.0 - ISC 257 * 258 * This source code is licensed under the ISC license. 259 * See the LICENSE file in the root directory of this source tree. 260 */const br=Ge("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"}]]);/** 261 * @license lucide-react v0.462.0 - ISC 262 * 263 * This source code is licensed under the ISC license. 264 * See the LICENSE file in the root directory of this source tree. 265 */const WQ=Ge("FileX",[["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:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]);/** 266 * @license lucide-react v0.462.0 - ISC 267 * 268 * This source code is licensed under the ISC license. 269 * See the LICENSE file in the root directory of this source tree. 270 */const yh=Ge("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** 271 * @license lucide-react v0.462.0 - ISC 272 * 273 * This source code is licensed under the ISC license. 274 * See the LICENSE file in the root directory of this source tree. 275 */const C0=Ge("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** 276 * @license lucide-react v0.462.0 - ISC 277 * 278 * This source code is licensed under the ISC license. 279 * See the LICENSE file in the root directory of this source tree. 280 */const $7=Ge("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/** 281 * @license lucide-react v0.462.0 - ISC 282 * 283 * This source code is licensed under the ISC license. 284 * See the LICENSE file in the root directory of this source tree. 285 */const W7=Ge("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** 286 * @license lucide-react v0.462.0 - ISC 287 * 288 * This source code is licensed under the ISC license. 289 * See the LICENSE file in the root directory of this source tree. 290 */const VQ=Ge("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/** 291 * @license lucide-react v0.462.0 - ISC 292 * 293 * This source code is licensed under the ISC license. 294 * See the LICENSE file in the root directory of this source tree. 295 */const V7=Ge("HeartHandshake",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]]);/** 296 * @license lucide-react v0.462.0 - ISC 297 * 298 * This source code is licensed under the ISC license. 299 * See the LICENSE file in the root directory of this source tree. 300 */const HQ=Ge("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 301 * @license lucide-react v0.462.0 - ISC 302 * 303 * This source code is licensed under the ISC license. 304 * See the LICENSE file in the root directory of this source tree. 305 */const vh=Ge("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);/** 306 * @license lucide-react v0.462.0 - ISC 307 * 308 * This source code is licensed under the ISC license. 309 * See the LICENSE file in the root directory of this source tree. 310 */const H7=Ge("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 311 * @license lucide-react v0.462.0 - ISC 312 * 313 * This source code is licensed under the ISC license. 314 * See the LICENSE file in the root directory of this source tree. 315 */const GQ=Ge("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** 316 * @license lucide-react v0.462.0 - ISC 317 * 318 * This source code is licensed under the ISC license. 319 * See the LICENSE file in the root directory of this source tree. 320 */const XQ=Ge("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 321 * @license lucide-react v0.462.0 - ISC 322 * 323 * This source code is licensed under the ISC license. 324 * See the LICENSE file in the root directory of this source tree. 325 */const KQ=Ge("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]);/** 326 * @license lucide-react v0.462.0 - ISC 327 * 328 * This source code is licensed under the ISC license. 329 * See the LICENSE file in the root directory of this source tree. 330 */const YQ=Ge("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);/** 331 * @license lucide-react v0.462.0 - ISC 332 * 333 * This source code is licensed under the ISC license. 334 * See the LICENSE file in the root directory of this source tree.
335 */const QQ=Ge("LayoutDashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** 336 * @license lucide-react v0.462.0 - ISC 337 * 338 * This source code is licensed under the ISC license. 339 * See the LICENSE file in the root directory of this source tree. 340 */const up=Ge("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 341 * @license lucide-react v0.462.0 - ISC 342 * 343 * This source code is licensed under the ISC license. 344 * See the LICENSE file in the root directory of this source tree. 345 */const hu=Ge("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 346 * @license lucide-react v0.462.0 - ISC 347 * 348 * This source code is licensed under the ISC license. 349 * See the LICENSE file in the root directory of this source tree. 350 */const mu=Ge("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** 351 * @license lucide-react v0.462.0 - ISC 352 * 353 * This source code is licensed under the ISC license. 354 * See the LICENSE file in the root directory of this source tree. 355 */const g3=Ge("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);/** 356 * @license lucide-react v0.462.0 - ISC 357 * 358 * This source code is licensed under the ISC license. 359 * See the LICENSE file in the root directory of this source tree. 360 */const O1=Ge("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"}]]);/** 361 * @license lucide-react v0.462.0 - ISC 362 * 363 * This source code is licensed under the ISC license. 364 * See the LICENSE file in the root directory of this source tree. 365 */const Tr=Ge("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 366 * @license lucide-react v0.462.0 - ISC 367 * 368 * This source code is licensed under the ISC license. 369 * See the LICENSE file in the root directory of this source tree. 370 */const Ns=Ge("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 371 * @license lucide-react v0.462.0 - ISC 372 * 373 * This source code is licensed under the ISC license. 374 * See the LICENSE file in the root directory of this source tree. 375 */const G7=Ge("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 376 * @license lucide-react v0.462.0 - ISC 377 * 378 * This source code is licensed under the ISC license. 379 * See the LICENSE file in the root directory of this source tree. 380 */const bh=Ge("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** 381 * @license lucide-react v0.462.0 - ISC 382 * 383 * This source code is licensed under the ISC license. 384 * See the LICENSE file in the root directory of this source tree. 385 */const gu=Ge("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** 386 * @license lucide-react v0.462.0 - ISC 387 * 388 * This source code is licensed under the ISC license. 389 * See the LICENSE file in the root directory of this source tree. 390 */const IE=Ge("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/** 391 * @license lucide-react v0.462.0 - ISC 392 * 393 * This source code is licensed under the ISC license. 394 * See the LICENSE file in the root directory of this source tree. 395 */const ZQ=Ge("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/** 396 * @license lucide-react v0.462.0 - ISC 397 * 398 * This source code is licensed under the ISC license. 399 * See the LICENSE file in the root directory of this source tree. 400 */const JQ=Ge("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]);/** 401 * @license lucide-react v0.462.0 - ISC 402 * 403 * This source code is licensed under the ISC license. 404 * See the LICENSE file in the root directory of this source tree. 405 */const eZ=Ge("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);/** 406 * @license lucide-react v0.462.0 - ISC 407 * 408 * This source code is licensed under the ISC license. 409 * See the LICENSE file in the root directory of this source tree. 410 */const tZ=Ge("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** 411 * @license lucide-react v0.462.0 - ISC 412 * 413 * This source code is licensed under the ISC license. 414 * See the LICENSE file in the root directory of this source tree. 415 */const nZ=Ge("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 416 * @license lucide-react v0.462.0 - ISC 417 * 418 * This source code is licensed under the ISC license. 419 * See the LICENSE file in the root directory of this source tree. 420 */const pi=Ge("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/** 421 * @license lucide-react v0.462.0 - ISC 422 * 423 * This source code is licensed under the ISC license. 424 * See the LICENSE file in the root directory of this source tree. 425 */const ry=Ge("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 426 * @license lucide-react v0.462.0 - ISC 427 * 428 * This source code is licensed under the ISC license. 429 * See the LICENSE file in the root directory of this source tree. 430 */const dp=Ge("Quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/** 431 * @license lucide-react v0.462.0 - ISC 432 * 433 * This source code is licensed under the ISC license. 434 * See the LICENSE file in the root directory of this source tree. 435 */const rZ=Ge("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);/** 436 * @license lucide-react v0.462.0 - ISC 437 * 438 * This source code is licensed under the ISC license. 439 * See the LICENSE file in the root directory of this source tree. 440 */const qf=Ge("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"}]]);/** 441 * @license lucide-react v0.462.0 - ISC 442 * 443 * This source code is licensed under the ISC license. 444 * See the LICENSE file in the root directory of this source tree. 445 */const UE=Ge("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
445kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/** 446 * @license lucide-react v0.462.0 - ISC 447 * 448 * This source code is licensed under the ISC license. 449 * See the LICENSE file in the root directory of this source tree. 450 */const aZ=Ge("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** 451 * @license lucide-react v0.462.0 - ISC 452 * 453 * This source code is licensed under the ISC license. 454 * See the LICENSE file in the root directory of this source tree. 455 */const X7=Ge("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/** 456 * @license lucide-react v0.462.0 - ISC 457 * 458 * This source code is licensed under the ISC license. 459 * See the LICENSE file in the root directory of this source tree. 460 */const iZ=Ge("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** 461 * @license lucide-react v0.462.0 - ISC 462 * 463 * This source code is licensed under the ISC license. 464 * See the LICENSE file in the root directory of this source tree. 465 */const I1=Ge("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** 466 * @license lucide-react v0.462.0 - ISC 467 * 468 * This source code is licensed under the ISC license. 469 * See the LICENSE file in the root directory of this source tree. 470 */const K7=Ge("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** 471 * @license lucide-react v0.462.0 - ISC 472 * 473 * This source code is licensed under the ISC license. 474 * See the LICENSE file in the root directory of this source tree. 475 */const sZ=Ge("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** 476 * @license lucide-react v0.462.0 - ISC 477 * 478 * This source code is licensed under the ISC license. 479 * See the LICENSE file in the root directory of this source tree. 480 */const FE=Ge("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** 481 * @license lucide-react v0.462.0 - ISC 482 * 483 * This source code is licensed under the ISC license. 484 * See the LICENSE file in the root directory of this source tree. 485 */const Y7=Ge("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** 486 * @license lucide-react v0.462.0 - ISC 487 * 488 * This source code is licensed under the ISC license. 489 * See the LICENSE file in the root directory of this source tree. 490 */const xs=Ge("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** 491 * @license lucide-react v0.462.0 - ISC 492 * 493 * This source code is licensed under the ISC license. 494 * See the LICENSE file in the root directory of this source tree. 495 */const oZ=Ge("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/** 496 * @license lucide-react v0.462.0 - ISC 497 * 498 * This source code is licensed under the ISC license. 499 * See the LICENSE file in the root directory of this source tree. 500 */const nl=Ge("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** 501 * @license lucide-react v0.462.0 - ISC 502 * 503 * This source code is licensed under the ISC license. 504 * See the LICENSE file in the root directory of this source tree.
505 */const Q7=Ge("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** 506 * @license lucide-react v0.462.0 - ISC 507 * 508 * This source code is licensed under the ISC license. 509 * See the LICENSE file in the root directory of this source tree. 510 */const po=Ge("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 511 * @license lucide-react v0.462.0 - ISC 512 * 513 * This source code is licensed under the ISC license. 514 * See the LICENSE file in the root directory of this source tree. 515 */const ay=Ge("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 516 * @license lucide-react v0.462.0 - ISC 517 * 518 * This source code is licensed under the ISC license. 519 * See the LICENSE file in the root directory of this source tree. 520 */const iy=Ge("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"}]]);/** 521 * @license lucide-react v0.462.0 - ISC 522 * 523 * This source code is licensed under the ISC license. 524 * See the LICENSE file in the root directory of this source tree. 525 */const Z7=Ge("TriangleAlert",[["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-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** 526 * @license lucide-react v0.462.0 - ISC 527 * 528 * This source code is licensed under the ISC license. 529 * See the LICENSE file in the root directory of this source tree. 530 */const ox=Ge("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/** 531 * @license lucide-react v0.462.0 - ISC 532 * 533 * This source code is licensed under the ISC license. 534 * See the LICENSE file in the root directory of this source tree. 535 */const sy=Ge("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** 536 * @license lucide-react v0.462.0 - ISC 537 * 538 * This source code is licensed under the ISC license. 539 * See the LICENSE file in the root directory of this source tree. 540 */const ME=Ge("UserCheck",[["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"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/** 541 * @license lucide-react v0.462.0 - ISC 542 * 543 * This source code is licensed under the ISC license. 544 * See the LICENSE file in the root directory of this source tree. 545 */const Bo=Ge("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"}]]);/** 546 * @license lucide-react v0.462.0 - ISC 547 * 548 * This source code is licensed under the ISC license. 549 * See the LICENSE file in the root directory of this source tree. 550 */const Da=Ge("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"}]]);/** 551 * @license lucide-react v0.462.0 - ISC 552 * 553 * This source code is licensed under the ISC license. 554 * See the LICENSE file in the root directory of this source tree. 555 */const x3=Ge("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);/** 556 * @license lucide-react v0.462.0 - ISC 557 * 558 * This source code is licensed under the ISC license. 559 * See the LICENSE file in the root directory of this source tree. 560 */const rl=Ge("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,306 bytes, lines 560-565
560],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** 561 * @license lucide-react v0.462.0 - ISC 562 * 563 * This source code is licensed under the ISC license. 564 * See the LICENSE file in the root directory of this source tree. 565 */const cZ=Ge("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),qE="-",lZ=e=>{const t=dZ(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const c=o.split(qE);return c[0]===""&&c.length!==1&&c.shift(),J7(c,t)||uZ(o)},getConflictingClassGroupIds:(o,c)=>{const l=n[o]||[];return c&&r[o]?[...l,...r[o]]:l}}},J7=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?J7(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(qE);return(o=t.validators.find(({validator:c})=>c(s)))==null?void 0:o.classGroupId},$k=/^\[(.+)\]$/,uZ=e=>{if($k.test(e)){const t=$k.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},dZ=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fZ(Object.entries(e.classGroups),n).forEach(([s,o])=>{y3(o,r,s,t)}),r},y3=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Wk(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(pZ(i)){y3(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{y3(o,Wk(t,s),n,r)})})},Wk=(e,t)=>{let n=e;return t.split(qE).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},pZ=e=>e.isThemeGetter,fZ=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,c])=>[t+o,c])):s);return[n,i]}):e,hZ=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},eU="!",mZ=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=c=>{const l=[];let u=0,d=0,p;for(let y=0;y<c.length;y++){let g=c[y];if(u===0){if(g===i&&(r||c.slice(y,y+s)===t)){l.push(c.slice(d,y)),d=y+s;continue}if(g==="/"){p=y;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?c:c.substring(d),f=h.startsWith(eU),v=f?h.substring(1):h,m=p&&p>d?p-d:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:v,maybePostfixModifierPosition:m}};return n?c=>n({className:c,parseClassName:o}):o},gZ=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},xZ=e=>({cache:hZ(e.cacheSize),parseClassName:mZ(e),...lZ(e)}),yZ=/\s+/,vZ=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=[],o=e.trim().split(yZ);let c="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:d,hasImportantModifier:p,baseClassName:h,maybePostfixModifierPosition:f}=n(u);let v=!!f,m=r(v?h.substring(0,f):h);if(!m){if(!v){c=u+(c.length>0?" "+c:c);continue}if(m=r(h),!m){c=u+(c.length>0?" "+c:c);continue}v=!1}const y=gZ(d).join(":"),g=p?y+eU:y,x=g+m;if(s.includes(x))continue;s.push(x);const b=i(m,v);for(let _=0;_<b.length;++_){const E=b[_];s.push(g+E)}c=u+(c.length>0?" "+c:c)}return c};function bZ(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=tU(t))&&(r&&(r+=" "),r+=n);return r}const tU=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=tU(e[r]))&&(n&&(n+=" "),n+=t);return n};function wZ(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((d,p)=>p(d),e());return n=xZ(u),r=n.cache.get,i=n.cache.set,s=c,c(l)}function c(l){const u=r(l);if(u)return u;const d=vZ(l,n);return i(l,d),d}return function(){return s(bZ.apply(null,arguments))}}const In=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},nU=/^\[(?:([a-z-]+):)?(.+)\]$/i,jZ=/^\d+\/\d+$/,_Z=new Set(["px","full","screen"]),NZ=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,CZ=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,EZ=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,SZ=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,DZ=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gc=e=>Bf(e)||_Z.has(e)||jZ.test(e),_l=e=>Bh(e,"length",IZ),Bf=e=>!!e&&!Number.isNaN(Number(e)),L5=e=>Bh(e,"number",Bf),Hm=e=>!!e&&Number.isInteger(Number(e)),AZ=e=>e.endsWith("%")&&Bf(e.slice(0,-1)),$t=e=>nU.test(e),Nl=e=>NZ.test(e),kZ=new Set(["length","size","percentage"]),TZ=e=>Bh(e,kZ,rU),PZ=e=>Bh(e,"position",rU),LZ=new Set(["image","url"]),RZ=e=>Bh(e,LZ,FZ),OZ=e=>Bh(e,"",UZ),Gm=()=>!0,Bh=(e,t,n)=>{const r=nU.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},IZ=e=>CZ.test(e)&&!EZ.test(e),rU=()=>!1,UZ=e=>SZ.test(e),FZ=e=>DZ.test(e),MZ=()=>{const e=In("colors"),t=In("spacing"),n=In("blur"),r=In("brightness"),i=In("borderColor"),s=In("borderRadius"),o=In("borderSpacing"),c=In("borderWidth"),l=In("contrast"),u=In("grayscale"),d=In("hueRotate"),p=In("invert"),h=In("gap"),f=In("gradientColorStops"),v=
vendor: 12,506 bytes, line 565
565In("gradientColorStopPositions"),m=In("inset"),y=In("margin"),g=In("opacity"),x=In("padding"),b=In("saturate"),_=In("scale"),E=In("sepia"),T=In("skew"),A=In("space"),w=In("translate"),S=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",$t,t],D=()=>[$t,t],R=()=>["",gc,_l],N=()=>["auto",Bf,$t],q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],I=()=>["solid","dashed","dotted","double","none"],z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],F=()=>["","0",$t],H=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[Bf,$t];return{cacheSize:500,separator:":",theme:{colors:[Gm],spacing:[gc,_l],blur:["none","",Nl,$t],brightness:V(),borderColor:[e],borderRadius:["none","","full",Nl,$t],borderSpacing:D(),borderWidth:R(),contrast:V(),grayscale:F(),hueRotate:V(),invert:F(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[AZ,_l],inset:P(),margin:P(),opacity:V(),padding:D(),saturate:V(),scale:V(),sepia:F(),skew:V(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",$t]}],container:["container"],columns:[{columns:[Nl]}],"break-after":[{"break-after":H()}],"break-before":[{"break-before":H()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...q(),$t]}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Hm,$t]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$t]}],grow:[{grow:F()}],shrink:[{shrink:F()}],order:[{order:["first","last","none",Hm,$t]}],"grid-cols":[{"grid-cols":[Gm]}],"col-start-end":[{col:["auto",{span:["full",Hm,$t]},$t]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[Gm]}],"row-start-end":[{row:["auto",{span:[Hm,$t]},$t]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$t]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$t]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$t,t]}],"min-w":[{"min-w":[$t,t,"min","max","fit"]}],"max-w":[{"max-w":[$t,t,"none","full","min","max","fit","prose",{screen:[Nl]},Nl]}],h:[{h:[$t,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$t,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$t,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$t,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Nl,_l]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",L5]}],"font-family":[{font:[Gm]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$t]}],"line-clamp":[{"line-clamp":["none",Bf,L5]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",gc,$t]}],"list-image":[{"list-image":["none",$t]}],"list-style-type":[{list:["none","disc","decimal",$t]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...I(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",gc,_l]}],"underline-offset":[{"underline-offset":["auto",gc,$t]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$t]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$t]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...q(),PZ]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",TZ]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},RZ]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...I(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:I()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...I()]}],"outline-offset":[{"outline-offset":[gc,$t]}],"outline-w":[{outline:[gc,_l]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[gc,_l]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Nl,OZ]}],"shadow-color":[{shadow:[Gm]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Nl,$t]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[p]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$t]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",$t]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",$t]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[Hm,$t]}],"translate-x":[{"translate-x":[w]}],"translate-y":[{"translate-y":[w]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$t]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$t]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,647 bytes, line 565
565],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$t]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[gc,_l,L5]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},qZ=wZ(MZ);function lt(...e){return qZ(R7(e))}const BZ=kQ,aU=j.forwardRef(({className:e,...t},n)=>a.jsx(S7,{ref:n,className:lt("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));aU.displayName=S7.displayName;const zZ=ey("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),iU=j.forwardRef(({className:e,variant:t,...n},r)=>a.jsx(D7,{ref:r,className:lt(zZ({variant:t}),e),...n}));iU.displayName=D7.displayName;const $Z=j.forwardRef(({className:e,...t},n)=>a.jsx(T7,{ref:n,className:lt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));$Z.displayName=T7.displayName;const sU=j.forwardRef(({className:e,...t},n)=>a.jsx(P7,{ref:n,className:lt("absolute right-2 top-2 rounded-md p-1 text-foreground
565/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:a.jsx(rl,{className:"h-4 w-4"})}));sU.displayName=P7.displayName;const oU=j.forwardRef(({className:e,...t},n)=>a.jsx(A7,{ref:n,className:lt("text-sm font-semibold",e),...t}));oU.displayName=A7.displayName;const cU=j.forwardRef(({className:e,...t},n)=>a.jsx(k7,{ref:n,className:lt("text-sm opacity-90",e),...t}));cU.displayName=k7.displayName;function WZ(){const{toasts:e}=ar();return a.jsxs(BZ,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return a.jsxs(iU,{...s,children:[a.jsxs("div",{className:"grid gap-1",children:[n&&a.jsx(oU,{children:n}),r&&a.jsx(cU,{children:r})]}),i,a.jsx(sU,{})]},t)}),a.jsx(aU,{})]})}var Vk=["light","dark"],VZ="(prefers-color-scheme: dark)",HZ=j.createContext(void 0),GZ={setTheme:e=>{},themes:[]},XZ=()=>{var e;return(e=j.useContext(HZ))!=null?e:GZ};j.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:c,nonce:l})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${c.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=i?Vk.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(v,m=!1,y=!0)=>{let g=o?o[v]:v,x=m?v+"|| ''":`'${g}'`,b="";return i&&y&&!m&&Vk.includes(v)&&(b+=`d.style.colorScheme = '${v}';`),n==="class"?m||g?b+=`c.add(${x})`:b+="null":g&&(b+=`d[s](n,${x})`),b},f=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${VZ}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${h(o?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${p}}catch(t){}}();`;return j.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var KZ=e=>{switch(e){case"success":return ZZ;case"info":return eJ;case"warning":return JZ;case"error":return tJ;default:return null}},YZ=Array(12).fill(0),QZ=({visible:e})=>Ue.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},Ue.createElement("div",{className:"sonner-spinner"},YZ.map((t,n)=>Ue.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),ZZ=Ue.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ue.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),JZ=Ue.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Ue.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),eJ=Ue.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ue.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),tJ=Ue.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Ue.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),nJ=()=>{let[e,t]=Ue.useState(document.hidden);return Ue.useEffect(()=>{let n=()=>{t(document.hidden)};
565return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},v3=1,rJ=class{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{let n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;let{message:r,...i}=t,s=typeof(t==null?void 0:t.id)=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:v3++,o=this.toasts.find(l=>l.id===s),c=t.dismissible===void 0?!0:t.dismissible;return o?this.toasts=this.toasts.map(l=>l.id===s?(this.publish({...l,...t,id:s,title:r}),{...l,...t,id:s,dismissible:c,title:r}):l):this.addToast({title:r,...i,dismissible:c,id:s}),s},this.dismiss=t=>(t||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:t,dismiss:!0})),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));let i=t instanceof Promise?t:t(),s=r!==void 0;return i.then(async o=>{if(iJ(o)&&!o.ok){s=!1;let c=typeof n.error=="function"?await n.error(`HTTP error! status: ${o.status}`):n.error,l=typeof n.description=="function"?await n.description(`HTTP error! status: ${o.status}`):n.description;this.create({id:r,type:"error",message:c,description:l})}else if(n.success!==void 0){s=!1;let c=typeof n.success=="function"?await n.success(o):n.success,l=typeof n.description=="function"?await n.description(o):n.description;this.create({id:r,type:"success",message:c,description:l})}}).catch(async o=>{if(n.error!==void 0){s=!1;let c=typeof n.error=="function"?await n.error(o):n.error,l=typeof n.description=="function"?await n.description(o):n.description;this.create({id:r,type:"error",message:c,description:l})}}).finally(()=>{var o;s&&(this.dismiss(r),r=void 0),(o=n.finally)==null||o.call(n)}),r},this.custom=(t,n)=>{let r=(n==null?void 0:n.id)||v3++;return this.create({jsx:t(r),id:r,...n}),r},this.subscribers=[],this.toasts=[]}},Ii=new rJ,aJ=(e,t)=>{let n=(t==null?void 0:t.id)||v3++;return Ii.addToast({title:e,...t,id:n}),n},iJ=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",sJ=aJ,oJ=()=>Ii.toasts,Kt=Object.assign(sJ,{success:Ii.success,info:Ii.info,warning:Ii.warning,error:Ii.error,custom:Ii.custom,message:Ii.message,promise:Ii.promise,dismiss:Ii.dismiss,loading:Ii.loading},{getHistory:oJ});function cJ(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}cJ(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
565left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
565:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 566`);function $v(e){return e.label!==void 0}var lJ=3,uJ="32px",dJ=4e3,pJ=356,fJ=14,hJ=20,mJ=200;function gJ(...e){return e.filter(Boolean).join(" ")}var xJ=e=>{var t,n,r,i,s,o,c,l,u,d;let{invert:p,toast:h,unstyled:f,interacting:v,setHeights:m,visibleToasts:y,heights:g,index:x,toasts:b,expanded:_,removeToast:E,defaultRichColors:T,closeButton:A,style:w,cancelButtonStyle:S,actionButtonStyle:k,className:P="",descriptionClassName:D="",duration:R,position:N,gap:q,loadingIcon:I,expandByDefault:z,classNames:M,icons:F,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:V,cn:O}=e,[$,K]=Ue.useState(!1),[Y,ee]=Ue.useState(!1),[re,ae]=Ue.useState(!1),[le,ge]=Ue.useState(!1),[ke,de]=Ue.useState(0),[we,W]=Ue.useState(0),X=Ue.useRef(null),pe=Ue.useRef(null),ie=x===0,te=x+1<=y,oe=h.type,Ne=h.dismissible!==!1,De=h.className||"",ye=h.descriptionClassName||"",ce=Ue.useMemo(()=>g.findIndex(st=>st.toastId===h.id)||0,[g,h.id]),xe=Ue.useMemo(()=>{var st;return(st=h.closeButton)!=null?st:A},[h.closeButton,A]),ve=Ue.useMemo(()=>h.duration||R||dJ,[h.duration,R]),Se=Ue.useRef(0),Oe=Ue.useRef(0),We=Ue.useRef(0),qe=Ue.useRef(null),[Xe,Ve]=N.split("-"),Ct=Ue.useMemo(()=>g.reduce((st,et,rt)=>rt>=ce?st:st+et.height,0),[g,ce]),ct=nJ(),bt=h.invert||p,Et=oe==="loading";Oe.current=Ue.useMemo(()=>ce*q+Ct,[ce,Ct]),Ue.useEffect(()=>{K(!0)},[]),Ue.useLayoutEffect(()=>{if(!$)return;let st=pe.current,et=st.style.height;st.style.height="auto";let rt=st.getBoundingClientRect().height;st.style.height=et,W(rt),m(Vt=>Vt.find(ot=>ot.toastId===h.id)?Vt.map(ot=>ot.toastId===h.id?{...ot,height:rt}:ot):[{toastId:h.id,height:rt,position:h.position},...Vt])},[$,h.title,h.description,m,h.id]);let At=Ue.useCallback(()=>{ee(!0),de(Oe.current),m(st=>st.filter(et=>et.toastId!==h.id)),setTimeout(()=>{E(h)},mJ)},[h,E,m,Oe]);Ue.useEffect(()=>{if(h.promise&&oe==="loading"||h.duration===1/0||h.type==="loading")return;let st,et=ve;return _||v||V&&ct?(()=>{if(We.current<Se.current){let rt=new Date().getTime()-Se.current;et=et-rt}
566We.current=new Date().getTime()})():et!==1/0&&(Se.current=new Date().getTime(),st=setTimeout(()=>{var rt;(rt=h.onAutoClose)==null||rt.call(h,h),At()},et)),()=>clearTimeout(st)},[_,v,z,h,ve,At,h.promise,oe,V,ct]),Ue.useEffect(()=>{let st=pe.current;if(st){let et=st.getBoundingClientRect().height;return W(et),m(rt=>[{toastId:h.id,height:et,position:h.position},...rt]),()=>m(rt=>rt.filter(Vt=>Vt.toastId!==h.id))}},[m,h.id]),Ue.useEffect(()=>{h.delete&&At()},[At,h.delete]);function yt(){return F!=null&&F.loading?Ue.createElement("div",{className:"sonner-loader","data-visible":oe==="loading"},F.loading):I?Ue.createElement("div",{className:"sonner-loader","data-visible":oe==="loading"},I):Ue.createElement(QZ,{visible:oe==="loading"})}return Ue.createElement("li",{"aria-live":h.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:pe,className:O(P,De,M==null?void 0:M.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[oe],(n=h==null?void 0:h.classNames)==null?void 0:n[oe]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:T,"data-styled":!(h.jsx||h.unstyled||f),"data-mounted":$,"data-promise":!!h.promise,"data-removed":Y,"data-visible":te,"data-y-position":Xe,"data-x-position":Ve,"data-index":x,"data-front":ie,"data-swiping":re,"data-dismissible":Ne,"data-type":oe,"data-invert":bt,"data-swipe-out":le,"data-expanded":!!(_||z&&$),style:{"--index":x,"--toasts-before":x,"--z-index":b.length-x,"--offset":`${Y?ke:Oe.current}px`,"--initial-height":z?"auto":`${we}px`,...w,...h.style},onPointerDown:st=>{Et||!Ne||(X.current=new Date,de(Oe.current),st.target.setPointerCapture(st.pointerId),st.target.tagName!=="BUTTON"&&(ae(!0),qe.current={x:st.clientX,y:st.clientY}))},onPointerUp:()=>{var st,et,rt,Vt;if(le||!Ne)return;qe.current=null;let ot=Number(((st=pe.current)==null?void 0:st.style.getPropertyValue("--swipe-amount").replace("px",""))||0),at=new Date().getTime()-((et=X.current)==null?void 0:et.getTime()),Rt=Math.abs(ot)/at;if(Math.abs(ot)>=hJ||Rt>.11){de(Oe.current),(rt=h.onDismiss)==null||rt.call(h,h),At(),ge(!0);return}(Vt=pe.current)==null||Vt.style.setProperty("--swipe-amount","0px"),ae(!1)},onPointerMove:st=>{var et;if(!qe.current||!Ne)return;let rt=st.clientY-qe.current.y,Vt=st.clientX-qe.current.x,ot=(Xe==="top"?Math.min:Math.max)(0,rt),at=st.pointerType==="touch"?10:2;Math.abs(ot)>at?(et=pe.current)==null||et.style.setProperty("--swipe-amount",`${rt}px`):Math.abs(Vt)>at&&(qe.current=null)}},xe&&!h.jsx?Ue.createElement("button",{"aria-label":H,"data-disabled":Et,"data-close-button":!0,onClick:Et||!Ne?()=>{}:()=>{var st;At(),(st=h.onDismiss)==null||st.call(h,h)},className:O(M==null?void 0:M.closeButton,(i=h==null?void 0:h.classNames)==null?void 0:i.closeButton)},Ue.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},Ue.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Ue.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,h.jsx||Ue.isValidElement(h.title)?h.jsx||h.title:Ue.createElement(Ue.Fragment,null,oe||h.icon||h.promise?Ue.createElement("div",{"data-icon":"",className:O(M==null?void 0:M.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||yt():null,h.type!=="loading"?h.icon||(F==null?void 0:F[oe])||KZ(oe):null):null,Ue.createElement("div",{"data-content":"",className:O(M==null?void 0:M.content,(o=h==null?void 0:h.classNames)==null?void 0:o.content)},Ue.createElement("div",{"data-title":"",className:O(M==null?void 0:M.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},h.title),h.description?Ue.createElement("div",{"data-description":"",className:O(D,ye,M==null?void 0:M.description,(l=h==null?void 0:h.classNames)==null?void 0:l.description)},h.description):null),Ue.isValidElement(h.cancel)?h.cancel:h.cancel&&$v(h.cancel)?Ue.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||S,onClick:st=>{var et,rt;$v(h.cancel)&&Ne&&((rt=(et=h.cancel).onClick)==null||rt.call(et,st),At())},className:O(M==null?void 0:M.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,Ue.isValidElement(h.action)?h.action:h.action&&$v(h.action)?Ue.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||k,onClick:st=>{var et,rt;$v(h.action)&&(st.defaultPrevented||((rt=(et=h.action).onClick)==null||rt.call(et,st),At()))},className:O(M==null?void 0:M.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Hk(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}var yJ=e=>{let{invert:t,position:n="bottom-right",hotkey:r=["altKey","KeyT"],expand:i,closeButton:s,className:o,offset:c,theme:l="light",richColors:u,duration:d,style:p,visibleToasts:h=lJ,toastOptions:f,dir:v=Hk(),gap:m=fJ,loadingIcon:y,icons:g,containerAriaLabel:x="Notifications",pauseWhenPageIsHidden:b,cn:_=gJ}=e,[E,T]=Ue.useState([]),A=Ue.useMemo(()=>Array.from(new Set([n].concat(E.filter(V=>V.position).map(V=>V.position)))),[E,n]),[w,S]=Ue.useState([]),[k,P]=Ue.useState(!1),[D,R]=Ue.useState(!1),[N,q]=Ue.useState(l!=="system"?l:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
566k":"light"),I=Ue.useRef(null),z=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=Ue.useRef(null),F=Ue.useRef(!1),H=Ue.useCallback(V=>{var O;(O=E.find($=>$.id===V.id))!=null&&O.delete||Ii.dismiss(V.id),T($=>$.filter(({id:K})=>K!==V.id))},[E]);return Ue.useEffect(()=>Ii.subscribe(V=>{if(V.dismiss){T(O=>O.map($=>$.id===V.id?{...$,delete:!0}:$));return}setTimeout(()=>{AE.flushSync(()=>{T(O=>{let $=O.findIndex(K=>K.id===V.id);return $!==-1?[...O.slice(0,$),{...O[$],...V},...O.slice($+1)]:[V,...O]})})})}),[]),Ue.useEffect(()=>{if(l!=="system"){q(l);return}l==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:V})=>{q(V?"dark":"light")})},[l]),Ue.useEffect(()=>{E.length<=1&&P(!1)},[E]),Ue.useEffect(()=>{let V=O=>{var $,K;r.every(Y=>O[Y]||O.code===Y)&&(P(!0),($=I.current)==null||$.focus()),O.code==="Escape"&&(document.activeElement===I.current||(K=I.current)!=null&&K.contains(document.activeElement))&&P(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[r]),Ue.useEffect(()=>{if(I.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,F.current=!1)}},[I.current]),E.length?Ue.createElement("section",{"aria-label":`${x} ${z}`,tabIndex:-1},A.map((V,O)=>{var $;let[K,Y]=V.split("-");return Ue.createElement("ol",{key:V,dir:v==="auto"?Hk():v,tabIndex:-1,ref:I,className:o,"data-sonner-toaster":!0,"data-theme":N,"data-y-position":K,"data-x-position":Y,style:{"--front-toast-height":`${(($=w[0])==null?void 0:$.height)||0}px`,"--offset":typeof c=="number"?`${c}px`:c||uJ,"--width":`${pJ}px`,"--gap":`${m}px`,...p},onBlur:ee=>{F.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(F.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||F.current||(F.current=!0,M.current=ee.relatedTarget)},onMouseEnter:()=>P(!0),onMouseMove:()=>P(!0),onMouseLeave:()=>{D||P(!1)},onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||R(!0)},onPointerUp:()=>R(!1)},E.filter(ee=>!ee.position&&O===0||ee.position===V).map((ee,re)=>{var ae,le;return Ue.createElement(xJ,{key:ee.id,icons:g,index:re,toast:ee,defaultRichColors:u,duration:(ae=f==null?void 0:f.duration)!=null?ae:d,className:f==null?void 0:f.className,descriptionClassName:f==null?void 0:f.descriptionClassName,invert:t,visibleToasts:h,closeButton:(le=f==null?void 0:f.closeButton)!=null?le:s,interacting:D,position:V,style:f==null?void 0:f.style,unstyled:f==null?void 0:f.unstyled,classNames:f==null?void 0:f.classNames,cancelButtonStyle:f==null?void 0:f.cancelButtonStyle,actionButtonStyle:f==null?void 0:f.actionButtonStyle,removeToast:H,toasts:E.filter(ge=>ge.position==ee.position),heights:w.filter(ge=>ge.position==ee.position),setHeights:S,expandByDefault:i,gap:m,loadingIcon:y,expanded:k,pauseWhenPageIsHidden:b,cn:_})}))})):null};const vJ=({...e})=>{const{theme:t="system"}=XZ();return a.jsx(yJ,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var bJ=FC.useId||(()=>{}),wJ=0;function fi(e){const[t,n]=j.useState(bJ());return ra(()=>{n(r=>r??String(wJ++))},[e]),t?`radix-${t}`:""}const jJ=["top","right","bottom","left"],xu=Math.min,Fi=Math.max,E0=Math.round,Wv=Math.floor,yu=e=>({x:e,y:e}),_J={left:"right",right:"left",bottom:"top",top:"bottom"},NJ={start:"end",end:"start"};function b3(e,t,n){return Fi(e,xu(t,n))}function Gc(e,t){return typeof e=="function"?e(t):e}function Xc(e){return e.split("-")[0]}function zh(e){return e.split("-")[1]}function BE(e){return e==="x"?"y":"x"}function zE(e){return e==="y"?"height":"width"}function vu(e){return["top","bottom"].includes(Xc(e))?"y":"x"}function $E(e){return BE(vu(e))}function CJ(e,t,n){n===void 0&&(n=!1);const r=zh(e),i=$E(e),s=zE(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=S0(o)),[o,S0(o)]}function EJ(e){const t=S0(e);return[w3(e),t,w3(t)]}function w3(e){return e.replace(/start|end/g,t=>NJ[t])}function SJ(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function DJ(e,t,n,r){const i=zh(e);let s=SJ(Xc(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(w3)))),s}function S0(e){return e.replace(/left|right|bottom|top/g,t=>_J[t])}function AJ(e){return{top:0,right:0,bottom:0,left:0,...e}}function lU(e){return typeof e!="number"?AJ(e):{top:e,right:e,bottom:e,left:e}}function D0(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}
vendor: 9,527 bytes, line 566
566function Gk(e,t,n){let{reference:r,floating:i}=e;const s=vu(t),o=$E(t),c=zE(o),l=Xc(t),u=s==="y",d=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[c]/2-i[c]/2;let f;switch(l){case"top":f={x:d,y:r.y-i.height};break;case"bottom":f={x:d,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:p};break;case"left":f={x:r.x-i.width,y:p};break;default:f={x:r.x,y:r.y}}switch(zh(t)){case"start":f[o]-=h*(n&&u?-1:1);break;case"end":f[o]+=h*(n&&u?-1:1);break}return f}const kJ=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,c=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:p}=Gk(u,r,l),h=r,f={},v=0;for(let m=0;m<c.length;m++){const{name:y,fn:g}=c[m],{x,y:b,data:_,reset:E}=await g({x:d,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:f,rects:u,platform:o,elements:{reference:e,floating:t}});d=x??d,p=b??p,f={...f,[y]:{...f[y],..._}},E&&v<=50&&(v++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(u=E.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:d,y:p}=Gk(u,h,l)),m=-1)}return{x:d,y:p,placement:h,strategy:i,middlewareData:f}};async function cx(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:c,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:f=0}=Gc(t,e),v=lU(f),y=c[h?p==="floating"?"reference":"floating":p],g=D0(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(y)))==null||n?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:d,strategy:l})),x=p==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),_=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},E=D0(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:b,strategy:l}):x);return{top:(g.top-E.top+v.top)/_.y,bottom:(E.bottom-g.bottom+v.bottom)/_.y,left:(g.left-E.left+v.left)/_.x,right:(E.right-g.right+v.right)/_.x}}const TJ=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:c,middlewareData:l}=t,{element:u,padding:d=0}=Gc(e,t)||{};if(u==null)return{};const p=lU(d),h={x:n,y:r},f=$E(i),v=zE(f),m=await o.getDimensions(u),y=f==="y",g=y?"top":"left",x=y?"bottom":"right",b=y?"clientHeight":"clientWidth",_=s.reference[v]+s.reference[f]-h[f]-s.floating[v],E=h[f]-s.reference[f],T=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let A=T?T[b]:0;(!A||!await(o.isElement==null?void 0:o.isElement(T)))&&(A=c.floating[b]||s.floating[v]);const w=_/2-E/2,S=A/2-m[v]/2-1,k=xu(p[g],S),P=xu(p[x],S),D=k,R=A-m[v]-P,N=A/2-m[v]/2+w,q=b3(D,N,R),I=!l.arrow&&zh(i)!=null&&N!==q&&s.reference[v]/2-(N<D?k:P)-m[v]/2<0,z=I?N<D?N-D:N-R:0;return{[f]:h[f]+z,data:{[f]:q,centerOffset:N-q-z,...I&&{alignmentOffset:z}},reset:I}}}),PJ=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:c,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...y}=Gc(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const g=Xc(i),x=vu(c),b=Xc(c)===c,_=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=h||(b||!m?[S0(c)]:EJ(c)),T=v!=="none";!h&&T&&E.push(...DJ(c,m,v,_));const A=[c,...E],w=await cx(t,y),S=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(d&&S.push(w[g]),p){const N=CJ(i,o,_);S.push(w[N[0]],w[N[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every(N=>N<=0)){var P,D;const N=(((P=s.flip)==null?void 0:P.index)||0)+1,q=A[N];if(q)return{data:{index:N,overflows:k},reset:{placement:q}};let I=(D=k.filter(z=>z.overflows[0]<=0).sort((z,M)=>z.overflows[1]-M.overflows[1])[0])==null?void 0:D.placement;if(!I)switch(f){case"bestFit":{var R;const z=(R=k.filter(M=>{if(T){const F=vu(M.placement);return F===x||F==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(F=>F>0).reduce((F,H)=>F+H,0)]).sort((M,F)=>M[1]-F[1])[0])==null?void 0:R[0];z&&(I=z);break}case"initialPlacement":I=c;break}if(i!==I)return{reset:{placement:I}}}return{}}}};function Xk(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Kk(e){return jJ.some(t=>e[t]>=0)}const LJ=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Gc(e,t);switch(r){case"referenceHidden":{const s=await cx(t,{...i,elementContext:"reference"}),o=Xk(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:Kk(o)}}}case"escaped":{const s=await cx(t,{...i,altBoundary:!0}),o=Xk(s,n.floating);return{data:{escapedOffsets:o,escaped:Kk(o)}}}default:return{}}}}};async function RJ(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Xc(n),c=zh(n),l=vu(n)==="y",u=["left","top"].includes(o)?-1:1,d=s&&l?-1:1,p=Gc(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:v}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof v=="number"&&(f=c==="end"?v*-1:v),l?{x:f*d,y:h*u}:{x:h*u,y:f*d}}const OJ=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:c}=t,l=await RJ(t,e);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},IJ=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:c={fn:y=>{let{x:g,y:x}=y;return{x:g,y:x}}},...l}=Gc(e,t),u={x:n,y:r},d=await cx(t,l),p=vu(Xc(i)),h=BE(p);let f=u[h],v=u[p];if(s){const y=h==="y"?"top":"left",g=h==="y"?"bottom":"right",x=f+d[y],b=f-d[g];f=b3(x,f,b)}if(o){const y=p==="y"?"top":"left",g=p==="y"?"bottom":"right",x=v+d[y],b=v-d[g];v=b3(x,v,b)}const m=c.fn({...t,[h]:f,[p]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:s,[p]:o}}}}}},UJ=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:c=0,mainAxis:l=!0,crossAxis:u=!0}=Gc(e,t),d={x:n,y:r},p=vu(i),h=BE(p);let f=d[h],v=d[p];const m=Gc(c,t),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",_=s.reference[h]-s.floating[b]+y.mainAxis,E=s.reference[h]+s.reference[b]-y.mainAxis;f<_?f=_:f>E&&(f=E)}if(u){var g,x;const b=h==="y"?"width":"height",_=["top","left"].includes(Xc(i)),E=s.reference[p]-s.floating[b]+(_&&((g=o.offset)==null?void 0:g[p])||0)+(_?0:y.crossAxis),T=s.reference[p]+s.reference[b]+(_?0:((x=o.offset)==null?void 0:x[p])||0)-(_?y.crossAxis:0);v<E?v=E:v>T&&(v=T)}return{[h]:f,[p]:v}}}},FJ=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:c}=t,{apply:l=()=>{},...u}=Gc(e,t),d=await cx(t,u),p=Xc(i),h=zh(i),f=vu(i)==="y",{width:v,height:m}=s.floating;let y,g;p==="top"||p==="bottom"?(y=p,g=h===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(g=p,y=h==="end"?"top":"bottom");const x=m-d.top-d.bottom,b=v-d.left-d.right,_=xu(m-d[y],x),E=xu(v-d[g],b),T=!t.middlewareData.shift;let A=_,w=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(A=x),T&&!h){const k=Fi(d.left,0),P=Fi(d.right,0),D=Fi(d.top,0),R=Fi(d.bottom,0);f?w=v-2*(k!==0||P!==0?k+P:Fi(d.left,d.right)):A=m-2*(D!==0||R!==0?D+R:Fi(d.top,d.bottom))}await l({...t,availableWidth:w,availableHeight:A});const S=await o.getDimensions(c.floating);return v!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}};function U1(){return typeof window<"u"}function $h(e){return uU(e)?(e.nodeName||"").toLowerCase():"#document"}function $i(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yo(e){var t;return(t=(uU(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function uU(e){return U1()?e instanceof Node||e instanceof $i(e).Node:!1}function ao(e){return U1()?e instanceof Element||e instanceof $i(e).Element:!1}function Ho(e){return U1()?e instanceof HTMLElement||e instanceof $i(e).HTMLElement:!1}function Yk(e){return!U1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $i(e).ShadowRoot}function oy(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=io(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function MJ(e){return["table","td","th"].includes($h(e))}function F1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function WE(e){const t=VE(),n=ao(e)?io(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function qJ(e){let t=bu(e);for(;Ho(t)&&!wh(t);){if(WE(t))return t;if(F1(t))return null;t=bu(t)}
vendor: 4,362 bytes, line 566
566return null}function VE(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function wh(e){return["html","body","#document"].includes($h(e))}function io(e){return $i(e).getComputedStyle(e)}function M1(e){return ao(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bu(e){if($h(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yk(e)&&e.host||Yo(e);return Yk(t)?t.host:t}function dU(e){const t=bu(e);return wh(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ho(t)&&oy(t)?t:dU(t)}function lx(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=dU(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=$i(i);if(s){const c=j3(o);return t.concat(o,o.visualViewport||[],oy(i)?i:[],c&&n?lx(c):[])}return t.concat(i,lx(i,[],n))}function j3(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pU(e){const t=io(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ho(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,c=E0(n)!==s||E0(r)!==o;return c&&(n=s,r=o),{width:n,height:r,$:c}}function HE(e){return ao(e)?e:e.contextElement}function zf(e){const t=HE(e);if(!Ho(t))return yu(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=pU(t);let o=(s?E0(n.width):n.width)/r,c=(s?E0(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const BJ=yu(0);function fU(e){const t=$i(e);return!VE()||!t.visualViewport?BJ:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zJ(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$i(e)?!1:t}function $d(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=HE(e);let o=yu(1);t&&(r?ao(r)&&(o=zf(r)):o=zf(e));const c=zJ(s,n,r)?fU(s):yu(0);let l=(i.left+c.x)/o.x,u=(i.top+c.y)/o.y,d=i.width/o.x,p=i.height/o.y;if(s){const h=$i(s),f=r&&ao(r)?$i(r):r;let v=h,m=j3(v);for(;m&&r&&f!==v;){const y=zf(m),g=m.getBoundingClientRect(),x=io(m),b=g.left+(m.clientLeft+parseFloat(x.paddingLeft))*y.x,_=g.top+(m.clientTop+parseFloat(x.paddingTop))*y.y;l*=y.x,u*=y.y,d*=y.x,p*=y.y,l+=b,u+=_,v=$i(m),m=j3(v)}}return D0({width:d,height:p,x:l,y:u})}function $J(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Yo(r),c=t?F1(t.floating):!1;if(r===o||c&&s)return n;let l={scrollLeft:0,scrollTop:0},u=yu(1);const d=yu(0),p=Ho(r);if((p||!p&&!s)&&(($h(r)!=="body"||oy(o))&&(l=M1(r)),Ho(r))){const h=$d(r);u=zf(r),d.x=h.x+r.clientLeft,d.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function WJ(e){return Array.from(e.getClientRects())}function _3(e,t){const n=M1(e).scrollLeft;return t?t.left+n:$d(Yo(e)).left+n}function VJ(e){const t=Yo(e),n=M1(e),r=e.ownerDocument.body,i=Fi(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Fi(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+_3(e);const c=-n.scrollTop;return io(r).direction==="rtl"&&(o+=Fi(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:c}}function HJ(e,t){const n=$i(e),r=Yo(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,c=0,l=0;if(i){s=i.width,o=i.height;const u=VE();(!u||u&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:c,y:l}}function GJ(e,t){const n=$d(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Ho(e)?zf(e):yu(1),o=e.clientWidth*s.x,c=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:c,x:l,y:u}}function Qk(e,t,n){let r;if(t==="viewport")r=HJ(e,n);else if(t==="document")r=VJ(Yo(e));else if(ao(t))r=GJ(t,n);else{const i=fU(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return D0(r)}function hU(e,t){const n=bu(e);return n===t||!ao(n)||wh(n)?!1:io(n).position==="fixed"||hU(n,t)}function XJ(e,t){const n=t.get(e);if(n)return n;let r=lx(e,[],!1).filter(c=>ao(c)&&$h(c)!=="body"),i=null;const s=io(e).position==="fixed";let o=s?bu(e):e;for(;ao(o)&&!wh(o);){const c=io(o),l=WE(o);!l&&c.position==="fixed"&&(i=null),(s?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||oy(o)&&!l&&hU(e,o))?r=r.filter(d=>d!==o):i=c,o=bu(o)}return t.set(e,r),r}function KJ(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?F1(t)?[]:XJ(t,this._c):[].concat(n),r],c=o[0],l=o.reduce((u,d)=>{const p=Qk(t,d,i);
vendor: 12,990 bytes, line 566
566return u.top=Fi(p.top,u.top),u.right=xu(p.right,u.right),u.bottom=xu(p.bottom,u.bottom),u.left=Fi(p.left,u.left),u},Qk(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function YJ(e){const{width:t,height:n}=pU(e);return{width:t,height:n}}function QJ(e,t,n){const r=Ho(t),i=Yo(t),s=n==="fixed",o=$d(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=yu(0);if(r||!r&&!s)if(($h(t)!=="body"||oy(i))&&(c=M1(t)),r){const f=$d(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else i&&(l.x=_3(i));let u=0,d=0;if(i&&!r&&!s){const f=i.getBoundingClientRect();d=f.top+c.scrollTop,u=f.left+c.scrollLeft-_3(i,f)}const p=o.left+c.scrollLeft-l.x-u,h=o.top+c.scrollTop-l.y-d;return{x:p,y:h,width:o.width,height:o.height}}function R5(e){return io(e).position==="static"}function Zk(e,t){if(!Ho(e)||io(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Yo(e)===n&&(n=n.ownerDocument.body),n}function mU(e,t){const n=$i(e);if(F1(e))return n;if(!Ho(e)){let i=bu(e);for(;i&&!wh(i);){if(ao(i)&&!R5(i))return i;i=bu(i)}return n}let r=Zk(e,t);for(;r&&MJ(r)&&R5(r);)r=Zk(r,t);return r&&wh(r)&&R5(r)&&!WE(r)?n:r||qJ(e)||n}const ZJ=async function(e){const t=this.getOffsetParent||mU,n=this.getDimensions,r=await n(e.floating);return{reference:QJ(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function JJ(e){return io(e).direction==="rtl"}const eee={convertOffsetParentRelativeRectToViewportRelativeRect:$J,getDocumentElement:Yo,getClippingRect:KJ,getOffsetParent:mU,getElementRects:ZJ,getClientRects:WJ,getDimensions:YJ,getScale:zf,isElement:ao,isRTL:JJ};function tee(e,t){let n=null,r;const i=Yo(e);function s(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const{left:u,top:d,width:p,height:h}=e.getBoundingClientRect();if(c||t(),!p||!h)return;const f=Wv(d),v=Wv(i.clientWidth-(u+p)),m=Wv(i.clientHeight-(d+h)),y=Wv(u),x={rootMargin:-f+"px "+-v+"px "+-m+"px "+-y+"px",threshold:Fi(0,xu(1,l))||1};let b=!0;function _(E){const T=E[0].intersectionRatio;if(T!==l){if(!b)return o();T?o(!1,T):r=setTimeout(()=>{o(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(_,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(_,x)}n.observe(e)}return o(!0),s}function nee(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=HE(e),d=i||s?[...u?lx(u):[],...lx(t)]:[];d.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const p=u&&c?tee(u,n):null;let h=-1,f=null;o&&(f=new ResizeObserver(g=>{let[x]=g;x&&x.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let v,m=l?$d(e):null;l&&y();function y(){const g=$d(e);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,v=requestAnimationFrame(y)}return n(),()=>{var g;d.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),p==null||p(),(g=f)==null||g.disconnect(),f=null,l&&cancelAnimationFrame(v)}}const ree=OJ,aee=IJ,iee=PJ,see=FJ,oee=LJ,Jk=TJ,cee=UJ,lee=(e,t,n)=>{const r=new Map,i={platform:eee,...n},s={...i.platform,_c:r};return kJ(e,t,{...i,platform:s})};var Bb=typeof document<"u"?j.useLayoutEffect:j.useEffect;function A0(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!A0(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!A0(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function gU(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eT(e,t){const n=gU(e);return Math.round(t*n)/n}function O5(e){const t=j.useRef(e);return Bb(()=>{t.current=e}),t}function uee(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:c=!0,whileElementsMounted:l,open:u}=e,[d,p]=j.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=j.useState(r);A0(h,r)||f(r);const[v,m]=j.useState(null),[y,g]=j.useState(null),x=j.useCallback(M=>{M!==T.current&&(T.current=M,m(M))},[]),b=j.useCallback(M=>{M!==A.current&&(A.current=M,g(M))},[]),_=s||v,E=o||y,T=j.useRef(null),A=j.useRef(null),w=j.useRef(d),S=l!=null,k=O5(l),P=O5(i),D=O5(u),R=j.useCallback(()=>{if(!T.current||!A.current)return;const M={placement:t,strategy:n,middleware:h};P.current&&(M.platform=P.current),lee(T.current,A.current,M).then(F=>{const H={...F,isPositioned:D.current!==!1};N.current&&!A0(w.current,H)&&(w.current=H,oi.flushSync(()=>{p(H)}))})},[h,t,n,P,D]);Bb(()=>{u===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,p(M=>({...M,isPositioned:!1})))},[u]);const N=j.useRef(!1);Bb(()=>(N.current=!0,()=>{N.current=!1}),[]),Bb(()=>{if(_&&(T.current=_),E&&(A.current=E),_&&E){if(k.current)return k.current(_,E,R);R()}},[_,E,R,k,S]);const q=j.useMemo(()=>({reference:T,floating:A,setReference:x,setFloating:b}),[x,b]),I=j.useMemo(()=>({reference:_,floating:E}),[_,E]),z=j.useMemo(()=>{const M={position:n,left:0,top:0};if(!I.floating)return M;const F=eT(I.floating,d.x),H=eT(I.floating,d.y);return c?{...M,transform:"translate("+F+"px, "+H+"px)",...gU(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:F,top:H}},[n,c,I.floating,d.x,d.y]);return j.useMemo(()=>({...d,update:R,refs:q,elements:I,floatingStyles:z}),[d,R,q,I,z])}const dee=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Jk({element:r.current,padding:i}).fn(n):{}:r?Jk({element:r,padding:i}).fn(n):{}}}},pee=(e,t)=>({...ree(e),options:[e,t]}),fee=(e,t)=>({...aee(e),options:[e,t]}),hee=(e,t)=>({...cee(e),options:[e,t]}),mee=(e,t)=>({...iee(e),options:[e,t]}),gee=(e,t)=>({...see(e),options:[e,t]}),xee=(e,t)=>({...oee(e),options:[e,t]}),yee=(e,t)=>({...dee(e),options:[e,t]});var vee="Arrow",xU=j.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return a.jsx(Nt.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});xU.displayName=vee;var bee=xU;function wee(e,t=[]){let n=[];function r(s,o){const c=j.createContext(o),l=n.length;n=[...n,o];function u(p){const{scope:h,children:f,...v}=p,m=(h==null?void 0:h[e][l])||c,y=j.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:y,children:f})}function d(p,h){const f=(h==null?void 0:h[e][l])||c,v=j.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,d]}const i=()=>{const s=n.map(o=>j.createContext(o));return function(c){const l=(c==null?void 0:c[e])||s;return j.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return i.scopeName=e,[r,jee(i,...t)]}function jee(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...c,...p}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function yU(e){const[t,n]=j.useState(void 0);return ra(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,c;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,c=u.blockSize}else o=e.offsetWidth,c=e.offsetHeight;n({width:o,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var GE="Popper",[vU,Su]=wee(GE),[_ee,bU]=vU(GE),wU=e=>{const{__scopePopper:t,children:n}=e,[r,i]=j.useState(null);return a.jsx(_ee,{scope:t,anchor:r,onAnchorChange:i,children:n})};wU.displayName=GE;var jU="PopperAnchor",_U=j.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=bU(jU,n),o=j.useRef(null),c=Zt(t,o);return j.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:a.jsx(Nt.div,{...i,ref:c})});_U.displayName=jU;var XE="PopperContent",[Nee,Cee]=vU(XE),NU=j.forwardRef((e,t)=>{var re,ae,le,ge,ke,de;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:v,...m}=e,y=bU(XE,n),[g,x]=j.useState(null),b=Zt(t,we=>x(we)),[_,E]=j.useState(null),T=yU(_),A=(T==null?void 0:T.width)??0,w=(T==null?void 0:T.height)??0,S=r+(s!=="center"?"-"+s:""),k=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},P=Array.isArray(u)?u:[u],D=P.length>0,R={padding:k,boundary:P.filter(See),altBoundary:D},{refs:N,floatingStyles:q,placement:I,isPositioned:z,middlewareData:M}=uee({strategy:"fixed",placement:S,whileElementsMounted:(...we)=>nee(...we,{animationFrame:f==="always"}),elements:{reference:y.anchor},middleware:[pee({mainAxis:i+w,alignmentAxis:o}),l&&fee({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?hee():void 0,...R}),l&&mee({...R}),gee({...R,apply:({elements:we,rects:W,availableWidth:X,availableHeight:pe})=>{const{width:ie,height:te}=W.reference,oe=we.floating.style;oe.setProperty("--radix-popper-available-width",`${X}px`),oe.setProperty("--radix-popper-available-height",`${pe}px`),oe.setProperty("--radix-popper-anchor-width",`${ie}px`),oe.setProperty("--radix-popper-anchor-height",`${te}px`)}}),_&&yee({element:_,padding:c}),Dee({arrowWidth:A,arrowHeight:w}),h&&xee({strategy:"referenceHidden",...R})]}),[F,H]=SU(I),V=Ea(v);ra(()=>{z&&(V==null||V())},[z,V]);const O=(re=M.arrow)==null?void 0:re.x,$=(ae=M.arrow)==null?void 0:ae.y,K=((le=M.arrow)==null?void 0:le.centerOffset)!==0,[Y,ee]=j.useState();return ra(()=>{g&&ee(window.getComputedStyle(g).zIndex)},[g]),a.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...q,transform:z?q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Y,"--radix-popper-transform-origin":[(ge=M.transformOrigin)==null?void 0:ge.x,(ke=M.transformOrigin)==null?void 0:ke.y].join(" "),...((de=M.hide)==null?void 0:de.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:a.jsx(Nee,{scope:n,placedSide:F,onArrowChange:E,arrowX:O,arrowY:$,shouldHideArrow:K,children:a.jsx(Nt.div,{"data-side":F,"data-align":H,...m,ref:b,style:{...m.style,animation:z?void 0:"none"}})})})});NU.displayName=XE;var CU="PopperArrow",Eee={top:"bottom",right:"left",bottom:"top",left:"right"},EU=j.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=Cee(CU,r),o=Eee[s.placedSide];return a.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:a.jsx(bee,{...i,ref:n,style:{...i.style,display:"block"}})})});EU.displayName=CU;function See(e){return e!==null}var Dee=e=>({name:"transformOrigin",options:e,fn(t){var y,g,x;const{placement:n,rects:r,middlewareData:i}=t,o=((y=i.arrow)==null?void 0:y.centerOffset)!==0,c=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,d]=SU(n),p={start:"0%",center:"50%",end:"100%"}[d],h=(((g=i.arrow)==null?void 0:g.x)??0)+c/2,f=(((x=i.arrow)==null?void 0:x.y)??0)+l/2;let v="",m="";return u==="bottom"?(v=o?p:`${h}px`,m=`${-l}px`):u==="top"?(v=o?p:`${h}px`,m=`${r.floating.height+l}px`):u==="right"?(v=`${-l}px`,m=o?p:`${f}px`):u==="left"&&(v=`${r.floating.width+l}px`,m=o?p:`${f}px`),{data:{x:v,y:m}}}});function SU(e){const[t,n="center"]=e.split("-");return[t,n]}var q1=wU,cy=_U,B1=NU,z1=EU,[$1,u_e]=Es("Tooltip",[Su]),W1=Su(),DU="TooltipProvider",Aee=700,N3="tooltip.open",[kee,KE]=$1(DU),AU=e=>{const{__scopeTooltip:t,delayDuration:n=Aee,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,[o,c]=j.useState(!0),l=j.useRef(!1),u=j.useRef(0);return j.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),a.jsx(kee,{scope:t,isOpenDelayed:o,delayDuration:n,onOpen:j.useCallback(()=>{window.clearTimeout(u.current),c(!1)},[]),onClose:j.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>c(!0),r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:j.useCallback(d=>{l.current=d}
vendor: 4,900 bytes, line 566
566,[]),disableHoverableContent:i,children:s})};AU.displayName=DU;var V1="Tooltip",[Tee,H1]=$1(V1),kU=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i=!1,onOpenChange:s,disableHoverableContent:o,delayDuration:c}=e,l=KE(V1,e.__scopeTooltip),u=W1(t),[d,p]=j.useState(null),h=fi(),f=j.useRef(0),v=o??l.disableHoverableContent,m=c??l.delayDuration,y=j.useRef(!1),[g=!1,x]=Vi({prop:r,defaultProp:i,onChange:A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(N3))):l.onClose(),s==null||s(A)}}),b=j.useMemo(()=>g?y.current?"delayed-open":"instant-open":"closed",[g]),_=j.useCallback(()=>{window.clearTimeout(f.current),f.current=0,y.current=!1,x(!0)},[x]),E=j.useCallback(()=>{window.clearTimeout(f.current),f.current=0,x(!1)},[x]),T=j.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{y.current=!0,x(!0),f.current=0},m)},[m,x]);return j.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),a.jsx(q1,{...u,children:a.jsx(Tee,{scope:t,contentId:h,open:g,stateAttribute:b,trigger:d,onTriggerChange:p,onTriggerEnter:j.useCallback(()=>{l.isOpenDelayed?T():_()},[l.isOpenDelayed,T,_]),onTriggerLeave:j.useCallback(()=>{v?E():(window.clearTimeout(f.current),f.current=0)},[E,v]),onOpen:_,onClose:E,disableHoverableContent:v,children:n})})};kU.displayName=V1;var C3="TooltipTrigger",TU=j.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=H1(C3,n),s=KE(C3,n),o=W1(n),c=j.useRef(null),l=Zt(t,c,i.onTriggerChange),u=j.useRef(!1),d=j.useRef(!1),p=j.useCallback(()=>u.current=!1,[]);return j.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),a.jsx(cy,{asChild:!0,...o,children:a.jsx(Nt.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Je(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),d.current=!0)}),onPointerLeave:Je(e.onPointerLeave,()=>{i.onTriggerLeave(),d.current=!1}),onPointerDown:Je(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Je(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Je(e.onBlur,i.onClose),onClick:Je(e.onClick,i.onClose)})})});TU.displayName=C3;var Pee="TooltipPortal",[d_e,Lee]=$1(Pee,{forceMount:void 0}),jh="TooltipContent",PU=j.forwardRef((e,t)=>{const n=Lee(jh,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=H1(jh,e.__scopeTooltip);return a.jsx(Xa,{present:r||o.open,children:o.disableHoverableContent?a.jsx(LU,{side:i,...s,ref:t}):a.jsx(Ree,{side:i,...s,ref:t})})}),Ree=j.forwardRef((e,t)=>{const n=H1(jh,e.__scopeTooltip),r=KE(jh,e.__scopeTooltip),i=j.useRef(null),s=Zt(t,i),[o,c]=j.useState(null),{trigger:l,onClose:u}=n,d=i.current,{onPointerInTransitChange:p}=r,h=j.useCallback(()=>{c(null),p(!1)},[p]),f=j.useCallback((v,m)=>{const y=v.currentTarget,g={x:v.clientX,y:v.clientY},x=Fee(g,y.getBoundingClientRect()),b=Mee(g,x),_=qee(m.getBoundingClientRect()),E=zee([...b,..._]);c(E),p(!0)},[p]);return j.useEffect(()=>()=>h(),[h]),j.useEffect(()=>{if(l&&d){const v=y=>f(y,d),m=y=>f(y,l);return l.addEventListener("pointerleave",v),d.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",v),d.removeEventListener("pointerleave",m)}}},[l,d,f,h]),j.useEffect(()=>{if(o){const v=m=>{const y=m.target,g={x:m.clientX,y:m.clientY},x=(l==null?void 0:l.contains(y))||(d==null?void 0:d.contains(y)),b=!Bee(g,o);x?h():b&&(h(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[l,d,o,u,h]),a.jsx(LU,{...e,ref:s})}),[Oee,Iee]=$1(V1,{isInside:!1}),LU=j.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...c}=e,l=H1(jh,n),u=W1(n),{onClose:d}=l;return j.useEffect(()=>(document.addEventListener(N3,d),()=>document.removeEventListener(N3,d)),[d]),j.useEffect(()=>{if(l.trigger){const p=h=>{const f=h.target;f!=null&&f.contains(l.trigger)&&d()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[l.trigger,d]),a.jsx(op,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:p=>p.preventDefault(),onDismiss:d,children:a.jsxs(B1,{"data-state":l.stateAttribute,...u,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[a.jsx(u7,{children:r}),a.jsx(Oee,{scope:n,isInside:!0,children:a.jsx(pQ,{id:l.contentId,role:"tooltip",children:i||r})})]})})});PU.displayName=jh;var RU="TooltipArrow",Uee=j.forwardRef((e,t)=>
566{const{__scopeTooltip:n,...r}=e,i=W1(n);return Iee(RU,n).isInside?null:a.jsx(z1,{...i,...r,ref:t})});Uee.displayName=RU;function Fee(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Mee(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function qee(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Bee(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const c=t[s].x,l=t[s].y,u=t[o].x,d=t[o].y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function zee(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),$ee(t)}function $ee(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Wee=AU,Vee=kU,Hee=TU,OU=PU;const G1=Wee,YE=Vee,QE=Hee,X1=j.forwardRef(({className:e,sideOffset:t=4,...n},r)=>a.jsx(OU,{ref:r,sideOffset:t,className:lt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));X1.displayName=OU.displayName;var K1=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Y1=typeof window>"u"||"Deno"in globalThis;function Hs(){}function Gee(e,t){return typeof e=="function"?e(t):e}function Xee(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kee(e,t){return Math.max(e+(t||0)-Date.now(),0)}function tT(e,t){return typeof e=="function"?e(t):e}function Yee(e,t){return typeof e=="function"?e(t):e}function nT(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:c}=e;if(o){if(r){if(t.queryHash!==ZE(o,t.options))return!1}else if(!dx(t.queryKey,o))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||i&&i!==t.state.fetchStatus||s&&!s(t))}function rT(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ux(t.options.mutationKey)!==ux(s))return!1}else if(!dx(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ZE(e,t){return((t==null?void 0:t.queryKeyHashFn)||ux)(e)}function ux(e){return JSON.stringify(e,(t,n)=>E3(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function dx(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!dx(e[n],t[n])):!1}function IU(e,t){if(e===t)return e;const n=aT(e)&&aT(t);if(n||E3(e)&&E3(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,c=n?[]:{};let l=0;for(let u=0;u<o;u++){const d=n?u:s[u];(!n&&r.includes(d)||n)&&e[d]===void 0&&t[d]===void 0?(c[d]=void 0,l++):(c[d]=IU(e[d],t[d]),c[d]===e[d]&&e[d]!==void 0&&l++)}return i===o&&l===i?e:c}return t}function aT(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function E3(e){if(!iT(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!iT(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function iT(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qee(e){return new Promise(t=>{setTimeout(t,e)})}function Zee(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?IU(e,t):t}function Jee(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function ete(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var JE=Symbol();function UU(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===JE?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Sd,zl,th,IR,tte=(IR=class extends K1{constructor(){super();un(this,Sd);un(this,zl);un(this,th);Ht(this,th,t=>{if(!Y1&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Be(this,zl)||this.setEventListener(Be(this,th))}onUnsubscribe(){var t;this.hasListeners()||((t=Be(this,zl))==null||t.call(this),Ht(this,zl,void 0))}setEventListener(t){var n;
vendor: 19,824 bytes, line 566
566Ht(this,th,t),(n=Be(this,zl))==null||n.call(this),Ht(this,zl,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Be(this,Sd)!==t&&(Ht(this,Sd,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Be(this,Sd)=="boolean"?Be(this,Sd):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Sd=new WeakMap,zl=new WeakMap,th=new WeakMap,IR),FU=new tte,nh,$l,rh,UR,nte=(UR=class extends K1{constructor(){super();un(this,nh,!0);un(this,$l);un(this,rh);Ht(this,rh,t=>{if(!Y1&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){Be(this,$l)||this.setEventListener(Be(this,rh))}onUnsubscribe(){var t;this.hasListeners()||((t=Be(this,$l))==null||t.call(this),Ht(this,$l,void 0))}setEventListener(t){var n;Ht(this,rh,t),(n=Be(this,$l))==null||n.call(this),Ht(this,$l,t(this.setOnline.bind(this)))}setOnline(t){Be(this,nh)!==t&&(Ht(this,nh,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Be(this,nh)}},nh=new WeakMap,$l=new WeakMap,rh=new WeakMap,UR),k0=new nte;function rte(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function ate(e){return Math.min(1e3*2**e,3e4)}function MU(e){return(e??"online")==="online"?k0.isOnline():!0}var qU=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function I5(e){return e instanceof qU}function BU(e){let t=!1,n=0,r=!1,i;const s=rte(),o=m=>{var y;r||(h(new qU(m)),(y=e.abort)==null||y.call(e))},c=()=>{t=!0},l=()=>{t=!1},u=()=>FU.isFocused()&&(e.networkMode==="always"||k0.isOnline())&&e.canRun(),d=()=>MU(e.networkMode)&&e.canRun(),p=m=>{var y;r||(r=!0,(y=e.onSuccess)==null||y.call(e,m),i==null||i(),s.resolve(m))},h=m=>{var y;r||(r=!0,(y=e.onError)==null||y.call(e,m),i==null||i(),s.reject(m))},f=()=>new Promise(m=>{var y;i=g=>{(r||u())&&m(g)},(y=e.onPause)==null||y.call(e)}).then(()=>{var m;i=void 0,r||(m=e.onContinue)==null||m.call(e)}),v=()=>{if(r)return;let m;const y=n===0?e.initialPromise:void 0;try{m=y??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(p).catch(g=>{var T;if(r)return;const x=e.retry??(Y1?0:3),b=e.retryDelay??ate,_=typeof b=="function"?b(n,g):b,E=x===!0||typeof x=="number"&&n<x||typeof x=="function"&&x(n,g);if(t||!E){h(g);return}n++,(T=e.onFail)==null||T.call(e,n,g),Qee(_).then(()=>u()?void 0:f()).then(()=>{t?h(g):v()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:c,continueRetry:l,canStart:d,start:()=>(d()?v():f().then(v),s)}}function ite(){let e=[],t=0,n=c=>{c()},r=c=>{c()},i=c=>setTimeout(c,0);const s=c=>{t?e.push(c):i(()=>{n(c)})},o=()=>{const c=e;e=[],c.length&&i(()=>{r(()=>{c.forEach(l=>{n(l)})})})};return{batch:c=>{let l;t++;try{l=c()}finally{t--,t||o()}return l},batchCalls:c=>(...l)=>{s(()=>{c(...l)})},schedule:s,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{i=c}}}var qa=ite(),Dd,FR,zU=(FR=class{constructor(){un(this,Dd)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xee(this.gcTime)&&Ht(this,Dd,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Y1?1/0:5*60*1e3))}clearGcTimeout(){Be(this,Dd)&&(clearTimeout(Be(this,Dd)),Ht(this,Dd,void 0))}},Dd=new WeakMap,FR),ah,ih,us,ba,Vx,Ad,Gs,jc,MR,ste=(MR=class extends zU{constructor(t){super();un(this,Gs);un(this,ah);un(this,ih);un(this,us);un(this,ba);un(this,Vx);un(this,Ad);Ht(this,Ad,!1),Ht(this,Vx,t.defaultOptions),this.setOptions(t.options),this.observers=[],Ht(this,us,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Ht(this,ah,cte(this.options)),this.state=t.state??Be(this,ah),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Be(this,ba))==null?void 0:t.promise}setOptions(t){this.options={...Be(this,Vx),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Be(this,us).remove(this)}setData(t,n){const r=Zee(this.state.data,t,this.options);return la(this,Gs,jc).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){la(this,Gs,jc).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=Be(this,ba))==null?void 0:r.promise;return(i=Be(this,ba))==null||i.cancel(t),n?n.then(Hs).catch(Hs):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Be(this,ah))}isActive(){return this.observers.some(t=>Yee(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===JE||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Kee(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Be(this,ba))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Be(this,ba))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Be(this,us).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Be(this,ba)&&(Be(this,Ad)?Be(this,ba).cancel({revert:!0}):Be(this,ba).cancelRetry()),this.scheduleGc()),Be(this,us).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||la(this,Gs,jc).call(this,{type:"invalidate"})}fetch(t,n){var l,u,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Be(this,ba))return Be(this,ba).continueRetry(),Be(this,ba).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(h=>h.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,i=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(Ht(this,Ad,!0),r.signal)})},s=()=>{const p=UU(this.options,n),h={queryKey:this.queryKey,meta:this.meta};return i(h),Ht(this,Ad,!1),this.options.persister?this.options.persister(p,h,this):p(h)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};i(o),(l=this.options.behavior)==null||l.onFetch(o,this),Ht(this,ih,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=o.fetchOptions)==null?void 0:u.meta))&&la(this,Gs,jc).call(this,{type:"fetch",meta:(d=o.fetchOptions)==null?void 0:d.meta});const c=p=>{var h,f,v,m;I5(p)&&p.silent||la(this,Gs,jc).call(this,{type:"error",error:p}),I5(p)||((f=(h=Be(this,us).config).onError)==null||f.call(h,p,this),(m=(v=Be(this,us).config).onSettled)==null||m.call(v,this.state.data,p,this)),this.scheduleGc()};return Ht(this,ba,BU({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var h,f,v,m;if(p===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(y){c(y);return}(f=(h=Be(this,us).config).onSuccess)==null||f.call(h,p,this),(m=(v=Be(this,us).config).onSettled)==null||m.call(v,p,this.state.error,this),this.scheduleGc()},onError:c,onFail:(p,h)=>{la(this,Gs,jc).call(this,{type:"failed",failureCount:p,error:h})},onPause:()=>{la(this,Gs,jc).call(this,{type:"pause"})},onContinue:()=>{la(this,Gs,jc).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),Be(this,ba).start()}},ah=new WeakMap,ih=new WeakMap,us=new WeakMap,ba=new WeakMap,Vx=new WeakMap,Ad=new WeakMap,Gs=new WeakSet,jc=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ote(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return I5(i)&&i.revert&&Be(this,ih)?{...Be(this,ih),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qa.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),Be(this,us).notify({query:this,type:"updated",action:t})})},MR);function ote(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:MU(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function cte(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Po,qR,lte=(qR=class extends K1{constructor(t={}){super();un(this,Po);this.config=t,Ht(this,Po,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??ZE(i,n);let o=this.get(s);return o||(o=new ste({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){Be(this,Po).has(t.queryHash)||(Be(this,Po).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Be(this,Po).get(t.queryHash);n&&(t.destroy(),n===t&&Be(this,Po).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qa.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Be(this,Po).get(t)}getAll(){return[...Be(this,Po).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>nT(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>nT(t,r)):n}notify(t){qa.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qa.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qa.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Po=new WeakMap,qR),Lo,Fa,kd,Ro,Tl,BR,ute=(BR=class extends zU{constructor(t){super();un(this,Ro);un(this,Lo);un(this,Fa);un(this,kd);this.mutationId=t.mutationId,Ht(this,Fa,t.mutationCache),Ht(this,Lo,[]),this.state=t.state||dte(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Be(this,Lo).includes(t)||(Be(this,Lo).push(t),this.clearGcTimeout(),Be(this,Fa).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Ht(this,Lo,Be(this,Lo).filter(n=>n!==t)),this.scheduleGc(),Be(this,Fa).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Be(this,Lo).length||(this.state.status==="pending"?this.scheduleGc():Be(this,Fa).remove(this))}continue(){var t;return((t=Be(this,kd))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,c,l,u,d,p,h,f,v,m,y,g,x,b,_,E,T,A;Ht(this,kd,BU({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(w,S)=>{la(this,Ro,Tl).call(this,{type:"failed",failureCount:w,error:S})},onPause:()=>{la(this,Ro,Tl).call(this,{type:"pause"})},onContinue:()=>{la(this,Ro,Tl).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Be(this,Fa).canRun(this)}));const n=this.state.status==="pending",r=!Be(this,kd).canStart();try{if(!n){la(this,Ro,Tl).call(this,{type:"pending",variables:t,isPaused:r}),await((s=(i=Be(this,Fa).config).onMutate)==null?void 0:s.call(i,t,this));const S=await((c=(o=this.options).onMutate)==null?void 0:c.call(o,t));S!==this.state.context&&la(this,Ro,Tl).call(this,{type:"pending",context:S,variables:t,isPaused:r})}const w=await Be(this,kd).start();return await((u=(l=Be(this,Fa).config).onSuccess)==null?void 0:u.call(l,w,t,this.state.context,this)),await((p=(d=this.options).onSuccess)==null?void 0:p.call(d,w,t,this.state.context)),await((f=(h=Be(this,Fa).config).onSettled)==null?void 0:f.call(h,w,null,this.state.variables,this.state.context,this)),await((m=(v=this.options).onSettled)==null?void 0:m.call(v,w,null,t,this.state.context)),la(this,Ro,Tl).call(this,{type:"success",data:w}),w}catch(w){try{throw await((g=(y=Be(this,Fa).config).onError)==null?void 0:g.call(y,w,t,this.state.context,this)),await((b=(x=this.options).onError)==null?void 0:b.call(x,w,t,this.state.context)),await((E=(_=Be(this,Fa).config).onSettled)==null?void 0:E.call(_,void 0,w,this.state.variables,this.state.context,this)),await((A=(T=this.options).onSettled)==null?void 0:A.call(T,void 0,w,t,this.state.context)),w}finally{la(this,Ro,Tl).call(this,{type:"error",error:w})}}finally{Be(this,Fa).runNext(this)}}},Lo=new WeakMap,Fa=new WeakMap,kd=new WeakMap,Ro=new WeakSet,Tl=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),qa.batch(()=>{Be(this,Lo).forEach(r=>{r.onMutationUpdate(t)}),Be(this,Fa).notify({mutation:this,type:"updated",action:t})})},BR);function dte(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Oi,Hx,zR,pte=(zR=class extends K1{constructor(t={}){super();un(this,Oi);un(this,Hx);this.config=t,Ht(this,Oi,new Map),Ht(this,Hx,Date.now())}build(t,n,r){const i=new ute({mutationCache:this,mutationId:++jv(this,Hx)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Vv(t),r=Be(this,Oi).get(n)??[];r.push(t),Be(this,Oi).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Vv(t);if(Be(this,Oi).has(n)){const i=(r=Be(this,Oi).get(n))==null?void 0:r.filter(s=>s!==t);i&&(i.length===0?Be(this,Oi).delete(n):Be(this,Oi).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Be(this,Oi).get(Vv(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Be(this,Oi).get(Vv(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){qa.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Be(this,Oi).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>rT(n,r))}findAll(t={}){return this.getAll().filter(n=>rT(t,n))}notify(t){qa.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qa.batch(()=>Promise.all(t.map(n=>n.continue().catch(Hs))))}},Oi=new WeakMap,Hx=new WeakMap,zR);function Vv(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function sT(e){return{onFetch:(t,n)=>{var d,p,h,f,v;const r=t.options,i=(h=(p=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:p.fetchMore)==null?void 0:h.direction,s=((f=t.state.data)==null?void 0:f.pages)||[],o=((v=t.state.data)==null?void 0:v.pageParams)||[];let c={pages:[],pageParams:[]},l=0;const u=async()=>{let m=!1;const y=b=>{Object.defineProperty(b,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},g=UU(t.options,t.fetchOptions),x=async(b,_,E)=>{if(m)return Promise.reject();if(_==null&&b.pages.length)return Promise.resolve(b);const T={queryKey:t.queryKey,pageParam:_,direction:E?"backward":"forward",meta:t.options.meta};y(T);const A=await g(T),{maxPages:w}=t.options,S=E?ete:Jee;return{pages:S(b.pages,A,w),pageParams:S(b.pageParams,_,w)}};if(i&&s.length){const b=i==="backward",_=b?fte:oT,E={pages:s,pageParams:o},T=_(r,E);c=await x(E,T,b)}else{const b=e??s.length;do{const _=l===0?o[0]??r.initialPageParam:oT(r,c);if(l>0&&_==null)break;c=await x(c,_),l++}while(l<b)}return c};t.options.persister?t.fetchFn=()=>{var m,y;return(y=(m=t.options).persister)==null?void 0:y.call(m,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function oT(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function fte(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var tr,Wl,Vl,sh,oh,Hl,ch,lh,$R,hte=($R=class{constructor(e={}){un(this,tr);un(this,Wl);un(this,Vl);un(this,sh);un(this,oh);un(this,Hl);un(this,ch);un(this,lh);Ht(this,tr,e.queryCache||new lte),Ht(this,Wl,e.mutationCache||new pte),Ht(this,Vl,e.defaultOptions||{}),Ht(this,sh,new Map),Ht(this,oh,new Map),Ht(this,Hl,0)}mount(){jv(this,Hl)._++,Be(this,Hl)===1&&(Ht(this,ch,FU.subscribe(async e=>{e&&(await this.resumePausedMutations(),Be(this,tr).onFocus())})),Ht(this,lh,k0.subscribe(async e=>{e&&(await this.resumePausedMutations(),Be(this,tr).onOnline())})))}unmount(){var e,t;jv(this,Hl)._--,Be(this,Hl)===0&&((e=Be(this,ch))==null||e.call(this),Ht(this,ch,void 0),(t=Be(this,lh))==null||t.call(this),Ht(this,lh,void 0))}isFetching(e){return Be(this,tr).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Be(this,Wl).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Be(this,tr).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Be(this,tr).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(tT(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Be(this,tr).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Be(this,tr).get(r.queryHash),s=i==null?void 0:i.state.data,o=Gee(t,s);if(o!==void 0)return Be(this,tr).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return qa.batch(()=>Be(this,tr).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Be(this,tr).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Be(this,tr);qa.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Be(this,tr),r={type:"active",...e};return qa.batch(()=>(n.findAll(e).forEach(i=>
566{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=qa.batch(()=>Be(this,tr).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Hs).catch(Hs)}invalidateQueries(e={},t={}){return qa.batch(()=>{if(Be(this,tr).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=qa.batch(()=>Be(this,tr).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Hs)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Hs)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Be(this,tr).build(this,t);return n.isStaleByTime(tT(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Hs).catch(Hs)}fetchInfiniteQuery(e){return e.behavior=sT(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Hs).catch(Hs)}ensureInfiniteQueryData(e){return e.behavior=sT(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return k0.isOnline()?Be(this,Wl).resumePausedMutations():Promise.resolve()}getQueryCache(){return Be(this,tr)}getMutationCache(){return Be(this,Wl)}getDefaultOptions(){return Be(this,Vl)}setDefaultOptions(e){Ht(this,Vl,e)}setQueryDefaults(e,t){Be(this,sh).set(ux(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Be(this,sh).values()];let n={};return t.forEach(r=>{dx(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){Be(this,oh).set(ux(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Be(this,oh).values()];let n={};return t.forEach(r=>{dx(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Be(this,Vl).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ZE(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===JE&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Be(this,Vl).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Be(this,tr).clear(),Be(this,Wl).clear()}},tr=new WeakMap,Wl=new WeakMap,Vl=new WeakMap,sh=new WeakMap,oh=new WeakMap,Hl=new WeakMap,ch=new WeakMap,lh=new WeakMap,$R),mte=j.createContext(void 0),gte=({client:e,children:t})=>(j.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),a.jsx(mte.Provider,{value:e,children:t}));/** 567 * @remix-run/router v1.23.0 568 * 569 * Copyright (c) Remix Software Inc. 570 * 571 * This source code is licensed under the MIT license found in the 572 * LICENSE.md file in the root directory of this source tree. 573 * 574 * @license MIT 575 */function px(){return px=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},px.apply(this,arguments)}var Kl;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Kl||(Kl={}));const cT="popstate";function xte(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:c}=r.location;return S3("",{pathname:s,search:o,hash:c},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:T0(i)}return vte(t,n,null,e)}function hr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $U(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yte(){return Math.random().toString(36).substr(2,8)}function lT(e,t){return{usr:e.state,key:e.key,idx:t}}function S3(e,t,n,r){return n===void 0&&(n=null),px({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Wh(t):t,{state:n,key:t&&t.key||r||yte()})}function T0(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 Wh(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 vte(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,c=Kl.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(px({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function p(){c=Kl.Pop;let y=d(),g=y==null?null:y-u;u=y,l&&l({action:c,location:m.location,delta:g})}function h(y,g){c=Kl.Push;let x=S3(m.location,y,g);u=d()+1;let b=lT(x,u),_=m.createHref(x);try{o.pushState(b,"",_)}
vendor: 3,348 bytes, line 575
575catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(_)}s&&l&&l({action:c,location:m.location,delta:1})}function f(y,g){c=Kl.Replace;let x=S3(m.location,y,g);u=d();let b=lT(x,u),_=m.createHref(x);o.replaceState(b,"",_),s&&l&&l({action:c,location:m.location,delta:0})}function v(y){let g=i.location.origin!=="null"?i.location.origin:i.location.href,x=typeof y=="string"?y:T0(y);return x=x.replace(/ $/,"%20"),hr(g,"No window.location.(origin|href) available to create URL for href: "+x),new URL(x,g)}let m={get action(){return c},get location(){return e(i,o)},listen(y){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(cT,p),l=y,()=>{i.removeEventListener(cT,p),l=null}},createHref(y){return t(i,y)},createURL:v,encodeLocation(y){let g=v(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:f,go(y){return o.go(y)}};return m}var uT;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(uT||(uT={}));function bte(e,t,n){return n===void 0&&(n="/"),wte(e,t,n,!1)}function wte(e,t,n,r){let i=typeof t=="string"?Wh(t):t,s=e4(i.pathname||"/",n);if(s==null)return null;let o=WU(e);jte(o);let c=null;for(let l=0;c==null&&l<o.length;++l){let u=Lte(s);c=Tte(o[l],u,r)}return c}function WU(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,c)=>{let l={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(hr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=su([r,l.relativePath]),d=n.concat(l);s.children&&s.children.length>0&&(hr(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),WU(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:Ate(u,s.index),routesMeta:d})};return e.forEach((s,o)=>{var c;if(s.path===""||!((c=s.path)!=null&&c.includes("?")))i(s,o);else for(let l of VU(s.path))i(s,o,l)}),t}function VU(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=VU(r.join("/")),c=[];return c.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&c.push(...o),c.map(l=>e.startsWith("/")&&l===""?"/":l)}function jte(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:kte(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const _te=/^:[\w-]+$/,Nte=3,Cte=2,Ete=1,Ste=10,Dte=-2,dT=e=>e==="*";function Ate(e,t){let n=e.split("/"),r=n.length;return n.some(dT)&&(r+=Dte),t&&(r+=Cte),n.filter(i=>!dT(i)).reduce((i,s)=>i+(_te.test(s)?Nte:s===""?Ete:Ste),r)}function kte(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 Tte(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let c=0;c<r.length;++c){let l=r[c],u=c===r.length-1,d=s==="/"?t:t.slice(s.length)||"/",p=pT({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=pT({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!p)return null;
vendor: 7,078 bytes, lines 575-584
575Object.assign(i,p.params),o.push({params:i,pathname:su([s,p.pathname]),pathnameBase:Ute(su([s,p.pathnameBase])),route:h}),p.pathnameBase!=="/"&&(s=su([s,p.pathnameBase]))}return o}function pT(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Pte(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),c=i.slice(1);return{params:r.reduce((u,d,p)=>{let{paramName:h,isOptional:f}=d;if(h==="*"){let m=c[p]||"";o=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const v=c[p];return f&&!v?u[h]=void 0:u[h]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function Pte(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$U(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,(o,c,l)=>(r.push({paramName:c,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Lte(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $U(!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 e4(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 Rte(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Wh(e):e;return{pathname:n?n.startsWith("/")?n:Ote(n,t):t,search:Fte(r),hash:Mte(i)}}function Ote(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 U5(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 Ite(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function t4(e,t){let n=Ite(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function n4(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Wh(e):(i=px({},e),hr(!i.pathname||!i.pathname.includes("?"),U5("?","pathname","search",i)),hr(!i.pathname||!i.pathname.includes("#"),U5("#","pathname","hash",i)),hr(!i.search||!i.search.includes("#"),U5("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,c;if(o==null)c=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),p-=1;i.pathname=h.join("/")}c=p>=0?t[p]:"/"}let l=Rte(i,c),u=o&&o!=="/"&&o.endsWith("/"),d=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const su=e=>e.join("/").replace(/\/\/+/g,"/"),Ute=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fte=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Mte=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function qte(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const HU=["post","put","patch","delete"];new Set(HU);const Bte=["get",...HU];new Set(Bte);/** 576 * React Router v6.30.1 577 * 578 * Copyright (c) Remix Software Inc. 579 * 580 * This source code is licensed under the MIT license found in the 581 * LICENSE.md file in the root directory of this source tree. 582 * 583 * @license MIT 584 */function fx(){return fx=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},fx.apply(this,arguments)}const r4=j.createContext(null),zte=j.createContext(null),Du=j.createContext(null),Q1=j.createContext(null),Qo=j.createContext({outlet:null,matches:[],isDataRoute:!1}),GU=j.createContext(null);function $te(e,t){let{relative:n}=t===void 0?{}:t;Vh()||hr(!1);let{basename:r,navigator:i}=j.useContext(Du),{hash:s,pathname:o,search:c}=YU(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:su([r,o])),i.createHref({pathname:l,search:c,hash:s})}function Vh(){return j.useContext(Q1)!=null}function fo(){return Vh()||hr(!1),j.useContext(Q1).location}function XU(e){j.useContext(Du).static||j.useLayoutEffect(e)}function Xt(){let{isDataRoute:e}=j.useContext(Qo);return e?ane():Wte()}function Wte(){Vh()||hr(!1);let e=j.useContext(r4),{basename:t,future:n,navigator:r}=j.useContext(Du),{matches:i}=j.useContext(Qo),{pathname:s}=fo(),o=JSON.stringify(t4(i,n.v7_relativeSplatPath)),c=j.useRef(!1);return XU(()=>{c.current=!0}),j.useCallback(function(u,d){if(d===void 0&&(d={}),!c.current)return;if(typeof u=="number"){r.go(u);return}let p=n4(u,JSON.parse(o),s,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:su([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,o,s,e])}const Vte=j.createContext(null);function Hte(e){let t=j.useContext(Qo).outlet;return t&&j.createElement(Vte.Provider,{value:e},t)}function KU(){let{matches:e}=j.useContext(Qo),t=e[e.length-1];return t?t.params:{}}function YU(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=j.useContext(Du),{matches:i}=j.useContext(Qo),{pathname:s}=fo(),o=JSON.stringify(t4(i,r.v7_relativeSplatPath));return j.useMemo(()=>n4(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function Gte(e,t){return Xte(e,t)}function Xte(e,t,n,r){Vh()||hr(!1);let{navigator:i}=j.useContext(Du),{matches:s}=j.useContext(Qo),o=s[s.length-1],c=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=fo(),d;if(t){var p;let y=typeof t=="string"?Wh(t):t;l==="/"||(p=y.pathname)!=null&&p.startsWith(l)||hr(!1),d=y}else d=u;let h=d.pathname||"/",f=h;if(l!=="/"){let y=l.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(y.length).join("/")}let v=bte(e,{pathname:f}),m=Jte(v&&v.map(y=>Object.assign({},y,{params:Object.assign({},c,y.params),pathname:su([l,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:su([l,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),s,n,r);return t&&m?j.createElement(Q1.Provider,{value:{location:fx({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Kl.Pop}},m):m}function Kte(){let e=rne(),t=qte(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 j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application
584Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},t),n?j.createElement("pre",{style:i},n):null,null)}const Yte=j.createElement(Kte,null);class Qte extends j.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?j.createElement(Qo.Provider,{value:this.props.routeContext},j.createElement(GU.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Zte(e){let{routeContext:t,match:n,children:r}=e,i=j.useContext(r4);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),j.createElement(Qo.Provider,{value:t},r)}function Jte(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,c=(i=n)==null?void 0:i.errors;if(c!=null){let d=o.findIndex(p=>p.route.id&&(c==null?void 0:c[p.route.id])!==void 0);d>=0||hr(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<o.length;d++){let p=o[d];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(u=d),p.route.id){let{loaderData:h,errors:f}=n,v=p.route.loader&&h[p.route.id]===void 0&&(!f||f[p.route.id]===void 0);if(p.route.lazy||v){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,p,h)=>{let f,v=!1,m=null,y=null;n&&(f=c&&p.route.id?c[p.route.id]:void 0,m=p.route.errorElement||Yte,l&&(u<0&&h===0?(v=!0,y=null):u===h&&(v=!0,y=p.route.hydrateFallbackElement||null)));let g=t.concat(o.slice(0,h+1)),x=()=>{let b;return f?b=m:v?b=y:p.route.Component?b=j.createElement(p.route.Component,null):p.route.element?b=p.route.element:b=d,j.createElement(Zte,{match:p,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:b})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?j.createElement(Qte,{location:n.location,revalidation:n.revalidation,component:m,error:f,children:x(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):x()},null)}var QU=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(QU||{}),P0=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}(P0||{});function ene(e){let t=j.useContext(r4);return t||hr(!1),t}function tne(e){let t=j.useContext(zte);return t||hr(!1),t}function nne(e){let t=j.useContext(Qo);return t||hr(!1),t}function ZU(e){let t=nne(),n=t.matches[t.matches.length-1];return n.route.id||hr(!1),n.route.id}function rne(){var e;let t=j.useContext(GU),n=tne(P0.UseRouteError),r=ZU(P0.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function ane(){let{router:e}=ene(QU.UseNavigateStable),t=ZU(P0.UseNavigateStable),n=j.useRef(!1);return XU(()=>{n.current=!0}),j.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,fx({fromRouteId:t},s)))},[e,t])}function ine(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function $s(e){let{to:t,replace:n,state:r,relative:i}=e;Vh()||hr(!1);let{future:s,static:o}=j.useContext(Du),{matches:c}=j.useContext(Qo),{pathname:l}=fo(),u=Xt(),d=n4(t,t4(c,s.v7_relativeSplatPath),l,i==="path"),p=JSON.stringify(d);return j.useEffect(()=>u(JSON.parse(p),{replace:n,state:r,relative:i}),[u,p,i,n,r]),null}function sne(e){return Hte(e.context)}function ut(e){hr(!1)}function one(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Kl.Pop,navigator:s,static:o=!1,future:c}=e;Vh()&&hr(!1);let l=t.replace(/^\/*/,"/"),u=j.useMemo(()=>({basename:l,navigator:s,static:o,future:fx({v7_relativeSplatPath:!1},c)}),[l,c,s,o]);typeof r=="string"&&(r=Wh(r));let{pathname:d="/",search:p="",hash:h="",state:f=null,key:v="default"}=r,m=j.useMemo(()=>{let y=e4(d,l);return y==null?null:{location:{pathname:y,search:p,hash:h,state:f,key:v},navigationType:i}},[l,d,p,h,f,v,i]);return m==null?null:j.createElement(Du.Provider,{value:u},j.createElement(Q1.Provider,{children:n,value:m}))}function cne(e){let{children:t,location:n}=e;return Gte(D3(t),n)}new Promise(()=>{});function D3(e,t){t===void 0&&(t=[]);let n=[];
584return j.Children.forEach(e,(r,i)=>{if(!j.isValidElement(r))return;let s=[...t,i];if(r.type===j.Fragment){n.push.apply(n,D3(r.props.children,s));return}r.type!==ut&&hr(!1),!r.props.index||!r.props.children||hr(!1);let o={id:r.props.id||s.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&&(o.children=D3(r.props.children,s)),n.push(o)}),n}/** 585 * React Router DOM v6.30.1 586 * 587 * Copyright (c) Remix Software Inc. 588 * 589 * This source code is licensed under the MIT license found in the 590 * LICENSE.md file in the root directory of this source tree. 591 * 592 * @license MIT 593 */function A3(){return A3=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},A3.apply(this,arguments)}function lne(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function une(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dne(e,t){return e.button===0&&(!t||t==="_self")&&!une(e)}function k3(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(i=>[n,i]):[[n,r]])},[]))}function pne(e,t){let n=k3(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(s=>{n.append(i,s)})}),n}const fne=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],hne="6";try{window.__reactRouterVersion=hne}catch{}const mne="startTransition",fT=FC[mne];function gne(e){let{basename:t,children:n,future:r,window:i}=e,s=j.useRef();s.current==null&&(s.current=xte({window:i,v5Compat:!0}));let o=s.current,[c,l]=j.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=j.useCallback(p=>{u&&fT?fT(()=>l(p)):l(p)},[l,u]);return j.useLayoutEffect(()=>o.listen(d),[o,d]),j.useEffect(()=>ine(r),[r]),j.createElement(one,{basename:t,children:n,location:c.location,navigationType:c.action,navigator:o,future:r})}const xne=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",yne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,je=j.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:c,target:l,to:u,preventScrollReset:d,viewTransition:p}=t,h=lne(t,fne),{basename:f}=j.useContext(Du),v,m=!1;if(typeof u=="string"&&yne.test(u)&&(v=u,xne))try{let b=new URL(window.location.href),_=u.startsWith("//")?new URL(b.protocol+u):new URL(u),E=e4(_.pathname,f);_.origin===b.origin&&E!=null?u=E+_.search+_.hash:m=!0}catch{}let y=$te(u,{relative:i}),g=vne(u,{replace:o,state:c,target:l,preventScrollReset:d,relative:i,viewTransition:p});function x(b){r&&r(b),b.defaultPrevented||g(b)}return j.createElement("a",A3({},h,{href:v||y,onClick:m||s?r:x,ref:n,target:l}))});var hT;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hT||(hT={}));var mT;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(mT||(mT={}));function vne(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:c}=t===void 0?{}:t,l=Xt(),u=fo(),d=YU(e,{relative:o});return j.useCallback(p=>{if(dne(p,n)){p.preventDefault();let h=r!==void 0?r:T0(u)===T0(d);l(e,{replace:h,state:i,preventScrollReset:s,relative:o,viewTransition:c})}},[u,l,d,r,i,n,e,s,o,c])}function a4(e){let t=j.useRef(k3(e)),n=j.useRef(!1),r=fo(),i=j.useMemo(()=>pne(r.search,n.current?null:t.current),[r.search]),s=Xt(),o=j.useCallback((c,l)=>{const u=k3(typeof c=="function"?c(i):c);n.current=!0,s("?"+u,l)},[s,i]);return[i,o]}const bne=()=>{const{pathname:e}=fo();return j.useEffect(()=>{window.scrollTo({top:0,left:0})},[e]),null},JU="https://emplicity.ai",wne="Consigue trabajo más rápido con IA y Career Coach | Emplicity",jne="Consigue empleo en 2.5 meses con tu propio Career Coach + IA. Optimiza tu CV, LinkedIn y entrevistas. Sin pago hasta que firmes contrato. +320 profesionales colocados en México, Colombia, Perú y Chile.",_ne="/preview.png",Nne=e=>/^https?:\/\//i.test(e)?e:`${JU}${e.startsWith("/")?e:`/${e}`}`,mr=({title:e=wne,description:t=jne,canonicalPath:n="/",ogType:r="website",ogImage:i=_ne})=>{const s=`${JU}${n}`,o=Nne(i),c=o.toLowerCase().endsWith(".svg")?"image/svg+xml":"image/png";return a.jsxs(IY,{children:[a.jsx("title",{children:e}),a.jsx("meta",{name:"description",content:t}),a.jsx("link",{rel:"canonical",href:s}),a.jsx("meta",{property:"og:title",content:e}),a.jsx("meta",{property:"og:description",content:t}),a.jsx("meta",{property:"og:type",content:r}),a.jsx("meta",{property:"og:url",content:s}),a.jsx("meta",{property:"og:image",content:o}),a.jsx("meta",{property:"og:image:secure_url",content:o}),a.jsx("meta",{property:"og:image:type",content:c}
593),a.jsx("meta",{property:"og:image:width",content:"1200"}),a.jsx("meta",{property:"og:image:height",content:"675"}),a.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),a.jsx("meta",{name:"twitter:title",content:e}),a.jsx("meta",{name:"twitter:description",content:t}),a.jsx("meta",{name:"twitter:url",content:s}),a.jsx("meta",{name:"twitter:image",content:o})]})},Cne=ey("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",professional:"bg-gradient-hero text-primary-foreground shadow-elegant hover:shadow-glow hover:scale-105 font-medium",success:"bg-success text-success-foreground hover:bg-success/90",warning:"bg-warning text-warning-foreground hover:bg-warning/90",info:"bg-info text-info-foreground hover:bg-info/90"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",xl:"h-14 roun
593ded-lg px-10 text-lg"}},defaultVariants:{variant:"default",size:"default"}}),Ce=j.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?Hc:"button";return a.jsx(o,{className:lt(Cne({variant:t,size:n,className:e})),ref:s,...i})});Ce.displayName="Button";const Ene="modulepreload",Sne=function(e){return"/"+e},gT={},ou=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),c=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(n.map(l=>{if(l=Sne(l),l in gT)return;gT[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Ene,u||(p.as="script"),p.crossOrigin="",p.href=l,c&&p.setAttribute("nonce",c),document.head.appendChild(p),u)return new Promise((h,f)=>{p.addEventListener("load",h),p.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return i.then(o=>{for(const c of o||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})},Dne=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>ou(async()=>{const{default:r}=await Promise.resolve().then(()=>Hh);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)};class i4 extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class Ane extends i4{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class xT extends i4{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class yT extends i4{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var T3;(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"})(T3||(T3={}));var kne=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};class Tne{constructor(t,{headers:n={},customFetch:r,region:i=T3.Any}={}){this.url=t,this.headers=n,this.region=i,this.fetch=Dne(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t,n={}){var r;return kne(this,void 0,void 0,function*(){try{const{headers:i,method:s,body:o}=n;let c={},{region:l}=n;l||(l=this.region);const u=new URL(`${this.url}/${t}`);l&&l!=="any"&&(c["x-region"]=l,u.searchParams.set("forceFunctionRegion",l));let d;o&&(i&&!Object.prototype.hasOwnProperty.call(i,"Content-Type")||!i)&&(typeof Blob<"u"&&o instanceof Blob||o instanceof ArrayBuffer?(c["Content-Type"]="application/octet-stream",d=o):typeof o=="string"?(c["Content-Type"]="text/plain",d=o):typeof FormData<"u"&&o instanceof FormData?d=o:(c["Content-Type"]="application/json",d=JSON.stringify(o)));const p=yield this.fetch(u.toString(),{method:s||"POST",headers:Object.assign(Object.assign(Object.assign({},c),this.headers),i),body:d}).catch(m=>{throw new Ane(m)}),h=p.headers.get("x-relay-error");if(h&&h==="true")throw new xT(p);if(!p.ok)throw new yT(p);let f=((r=p.headers.get("Content-Type"))!==null&&r!==void 0?r:"text/plain").split(";")[0].trim(),v;return f==="application/json"?v=yield p.json():f==="application/octet-stream"?v=yield p.blob():f==="text/event-stream"?v=p:f==="multipart/form-data"?v=yield p.formData():v=yield p.text(),{data:v,error:null,response:p}}catch(i){return{data:null,error:i,response:i instanceof yT||i instanceof xT?i.context:void 0}}})}}var ai={},s4={},Z1={},ly={},J1={},e2={},Pne=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")},_h=Pne();const Lne=_h.fetch,eF=_h.fetch.bind(_h),tF=_h.Headers,Rne=_h.Request,One=_h.Response,Hh=Object.freeze(Object.defineProperty({__proto__:null,Headers:tF,Request:Rne,Response:One,default:eF,fetch:Lne},Symbol.toStringTag,{value:"Module"})),Ine=LC(Hh);var t2={};
593Object.defineProperty(t2,"__esModule",{value:!0});let Une=class extends Error{constructor(t){super(t.message),this.name="PostgrestError",this.details=t.details,this.hint=t.hint,this.code=t.code}};t2.default=Une;var nF=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e2,"__esModule",{value:!0});const Fne=nF(Ine),Mne=nF(t2);let qne=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=Fne.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 s=>{var o,c,l;let u=null,d=null,p=null,h=s.status,f=s.statusText;if(s.ok){if(this.method!=="HEAD"){const g=await s.text();g===""||(this.headers.Accept==="text/csv"||this.headers.Accept&&this.headers.Accept.includes("application/vnd.pgrst.plan+text")?d=g:d=JSON.parse(g))}const m=(o=this.headers.Prefer)===null||o===void 0?void 0:o.match(/count=(exact|planned|estimated)/),y=(c=s.headers.get("content-range"))===null||c===void 0?void 0:c.split("/");m&&y&&y.length>1&&(p=parseInt(y[1])),this.isMaybeSingle&&this.method==="GET"&&Array.isArray(d)&&(d.length>1?(u={code:"PGRST116",details:`Results contain ${d.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},d=null,p=null,h=406,f="Not Acceptable"):d.length===1?d=d[0]:d=null)}else{const m=await s.text();try{u=JSON.parse(m),Array.isArray(u)&&s.status===404&&(d=[],u=null,h=200,f="OK")}catch{s.status===404&&m===""?(h=204,f="No Content"):u={message:m}}if(u&&this.isMaybeSingle&&(!((l=u==null?void 0:u.details)===null||l===void 0)&&l.includes("0 rows"))&&(u=null,h=200,f="OK"),u&&this.shouldThrowOnError)throw new Mne.default(u)}return{error:u,data:d,count:p,status:h,statusText:f}});return this.shouldThrowOnError||(i=i.catch(s=>{var o,c,l;return{error:{message:`${(o=s==null?void 0:s.name)!==null&&o!==void 0?o:"FetchError"}: ${s==null?void 0:s.message}`,details:`${(c=s==null?void 0:s.stack)!==null&&c!==void 0?c:""}`,hint:"",code:`${(l=s==null?void 0:s.code)!==null&&l!==void 0?l:""}`},data:null,count:null,status:0,statusText:""}})),i.then(t,n)}returns(){return this}overrideTypes(){return this}};e2.default=qne;var Bne=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(J1,"__esModule",{value:!0});const zne=Bne(e2);let $ne=class extends zne.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:s=i}={}){const o=s?`${s}.order`:"order",c=this.url.searchParams.get(o);return this.url.searchParams.set(o,`${c?`${c},`:""}${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 s=typeof i>"u"?"offset":`${i}.offset`,o=typeof i>"u"?"limit":`${i}.limit`;return this.url.searchParams.set(s,`${t}`),this.url.searchParams.set(o,`${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}
593explain({analyze:t=!1,verbose:n=!1,settings:r=!1,buffers:i=!1,wal:s=!1,format:o="text"}={}){var c;const l=[t?"analyze":null,n?"verbose":null,r?"settings":null,i?"buffers":null,s?"wal":null].filter(Boolean).join("|"),u=(c=this.headers.Accept)!==null&&c!==void 0?c:"application/json";return this.headers.Accept=`application/vnd.pgrst.plan+${o}; for="${u}"; options=${l};`,o==="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}};J1.default=$ne;var Wne=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ly,"__esModule",{value:!0});const Vne=Wne(J1);let Hne=class extends Vne.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 s="";i==="plain"?s="pl":i==="phrase"?s="ph":i==="websearch"&&(s="w");const o=r===void 0?"":`(${r})`;return this.url.searchParams.append(t,`${s}fts${o}.${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}};ly.default=Hne;var Gne=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Z1,"__esModule",{value:!0});const Xm=Gne(ly);let Xne=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 s=!1;const o=(t??"*").split("").map(c=>/\s/.test(c)&&!s?"":(c==='"'&&(s=!s),c)).join("");return this.url.searchParams.set("select",o),r&&(this.headers.Prefer=`count=${r}`),new Xm.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",s=[];if(this.headers.Prefer&&s.push(this.headers.Prefer),n&&s.push(`count=${n}`),r||s.push("missing=default"),this.headers.Prefer=s.join(","),Array.isArray(t)){const o=t.reduce((c,l)=>c.concat(Object.keys(l)),[]);if(o.length>
5930){const c=[...new Set(o)].map(l=>`"${l}"`);this.url.searchParams.set("columns",c.join(","))}}return new Xm.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:s=!0}={}){const o="POST",c=[`resolution=${r?"ignore":"merge"}-duplicates`];if(n!==void 0&&this.url.searchParams.set("on_conflict",n),this.headers.Prefer&&c.push(this.headers.Prefer),i&&c.push(`count=${i}`),s||c.push("missing=default"),this.headers.Prefer=c.join(","),Array.isArray(t)){const l=t.reduce((u,d)=>u.concat(Object.keys(d)),[]);if(l.length>0){const u=[...new Set(l)].map(d=>`"${d}"`);this.url.searchParams.set("columns",u.join(","))}}return new Xm.default({method:o,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 Xm.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 Xm.default({method:n,url:this.url,headers:this.headers,schema:this.schema,fetch:this.fetch,allowEmpty:!1})}};Z1.default=Xne;var n2={},r2={};Object.defineProperty(r2,"__esModule",{value:!0});r2.version=void 0;r2.version="0.0.0-automated";Object.defineProperty(n2,"__esModule",{value:!0});n2.DEFAULT_HEADERS=void 0;const Kne=r2;n2.DEFAULT_HEADERS={"X-Client-Info":`postgrest-js/${Kne.version}`};var rF=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(s4,"__esModule",{value:!0});const Yne=rF(Z1),Qne=rF(ly),Zne=n2;let Jne=class aF{constructor(t,{headers:n={},schema:r,fetch:i}={}){this.url=t,this.headers=Object.assign(Object.assign({},Zne.DEFAULT_HEADERS),n),this.schemaName=r,this.fetch=i}from(t){const n=new URL(`${this.url}/${t}`);return new Yne.default(n,{headers:Object.assign({},this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new aF(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:i=!1,count:s}={}){let o;const c=new URL(`${this.url}/rpc/${t}`);let l;r||i?(o=r?"HEAD":"GET",Object.entries(n).filter(([d,p])=>p!==void 0).map(([d,p])=>[d,Array.isArray(p)?`{${p.join(",")}}`:`${p}`]).forEach(([d,p])=>{c.searchParams.append(d,p)})):(o="POST",l=n);const u=Object.assign({},this.headers);return s&&(u.Prefer=`count=${s}`),new Qne.default({method:o,url:c,headers:u,schema:this.schemaName,body:l,fetch:this.fetch,allowEmpty:!1})}};s4.default=Jne;var Gh=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ai,"__esModule",{value:!0});ai.PostgrestError=ai.PostgrestBuilder=ai.PostgrestTransformBuilder=ai.PostgrestFilterBuilder=ai.PostgrestQueryBuilder=ai.PostgrestClient=void 0;const iF=Gh(s4);ai.PostgrestClient=iF.default;const sF=Gh(Z1);ai.PostgrestQueryBuilder=sF.default;const oF=Gh(ly);ai.PostgrestFilterBuilder=oF.default;const cF=Gh(J1);ai.PostgrestTransformBuilder=cF.default;const lF=Gh(e2);ai.PostgrestBuilder=lF.default;const uF=Gh(t2);ai.PostgrestError=uF.default;var ere=ai.default={PostgrestClient:iF.default,PostgrestQueryBuilder:sF.default,PostgrestFilterBuilder:oF.default,PostgrestTransformBuilder:cF.default,PostgrestBuilder:lF.default,PostgrestError:uF.default};const{PostgrestClient:tre,PostgrestQueryBuilder:x_e,PostgrestFilterBuilder:y_e,PostgrestTransformBuilder:v_e,PostgrestBuilder:b_e,PostgrestError:w_e}=ere;function nre(){if(typeof WebSocket<"u")return WebSocket;if(typeof global.WebSocket<"u")return global.WebSocket;if(typeof window.WebSocket<"u")return window.WebSocket;if(typeof self.WebSocket<"u")return self.WebSocket;throw new Error("`WebSocket` is not supported in this environment")}const rre=nre(),are="2.11.15",ire=`realtime-js/${are}`,sre="1.0.0",dF=1e4,ore=1e3;var Pg;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(Pg||(Pg={}));var va;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(va||(va={}));var Ks;(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"})(Ks||(Ks={}));var P3;(function(e){e.websocket="websocket"})(P3||(P3={}));var ud;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(ud||(ud={}));class cre{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),s=n.getUint8(2);let o=this.HEADER_LENGTH+2;const c=r.decode(t.slice(o,o+i));o=o+i;const l=r.decode(t.slice(o,o+s));o=o+s;const u=JSON.parse(r.decode(t.slice(o,t.byteLength)));return{ref:null,topic:c,event:l,payload:u}}}class pF{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 Tn;(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"})(Tn||(Tn={}));const vT=(e,t,n={})=>{var r;const i=(r=n.skipTypes)!==null&&r!==void 0?r:[];return Object.keys(t).reduce((s,o)=>(s[o]=lre(o,e,t,i),s),{})},lre=(e,t,n,r)=>{const i=t.find(c=>c.name===e),s=i==null?void 0:i.type,o=n[e];return s&&!r.includes(s)?fF(s,o):L3(o)},fF=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return fre(t,n)}switch(e){case Tn.bool:return ure(t);case Tn.float4:case Tn.float8:case Tn.int2:case Tn.int4:case Tn.int8:case Tn.numeric:case Tn.oid:return dre(t);case Tn.json:case Tn.jsonb:return pre(t);case Tn.timestamp:return hre(t);case Tn.abstime:case Tn.date:case Tn.daterange:case Tn.int4range:case Tn.int8range:case Tn.money:case Tn.reltime:case Tn.text:case Tn.time:case Tn.timestamptz:case Tn.timetz:case Tn.tsrange:case Tn.tstzrange:return L3(t);default:return L3(t)}},L3=e=>e,ure=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},dre=e=>{if(typeof e=="string"){const t=parseFloat(e);
vendor: 5,617 bytes, line 593
593if(!Number.isNaN(t))return t}return e},pre=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch(t){return console.log(`JSON parse error: ${t}`),e}return e},fre=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let s;const o=e.slice(1,n);try{s=JSON.parse("["+o+"]")}catch{s=o?o.split(","):[]}return s.map(c=>fF(t,c))}return e},hre=e=>typeof e=="string"?e.replace(" ","T"):e,hF=e=>{let t=e;return t=t.replace(/^ws/i,"http"),t=t.replace(/(\/socket\/websocket|\/socket|\/websocket)\/?$/i,""),t.replace(/\/+$/,"")};class F5{constructor(t,n,r={},i=dF){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 bT;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(bT||(bT={}));class Lg{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:s,onLeave:o,onSync:c}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Lg.syncState(this.state,i,s,o),this.pendingDiffs.forEach(l=>{this.state=Lg.syncDiff(this.state,l,s,o)}),this.pendingDiffs=[],c()}),this.channel._on(r.diff,{},i=>{const{onJoin:s,onLeave:o,onSync:c}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(i):(this.state=Lg.syncDiff(this.state,i,s,o),c())}),this.onJoin((i,s,o)=>{this.channel._trigger("presence",{event:"join",key:i,currentPresences:s,newPresences:o})}),this.onLeave((i,s,o)=>{this.channel._trigger("presence",{event:"leave",key:i,currentPresences:s,leftPresences:o})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,i){const s=this.cloneDeep(t),o=this.transformState(n),c={},l={};return this.map(s,(u,d)=>{o[u]||(l[u]=d)}),this.map(o,(u,d)=>{const p=s[u];if(p){const h=d.map(y=>y.presence_ref),f=p.map(y=>y.presence_ref),v=d.filter(y=>f.indexOf(y.presence_ref)<0),m=p.filter(y=>h.indexOf(y.presence_ref)<0);v.length>0&&(c[u]=v),m.length>0&&(l[u]=m)}else c[u]=d}),this.syncDiff(s,{joins:c,leaves:l},r,i)}static syncDiff(t,n,r,i){const{joins:s,leaves:o}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),i||(i=()=>{}),this.map(s,(c,l)=>{var u;const d=(u=t[c])!==null&&u!==void 0?u:[];if(t[c]=this.cloneDeep(l),d.length>0){const p=t[c].map(f=>f.presence_ref),h=d.filter(f=>p.indexOf(f.presence_ref)<0);t[c].unshift(...h)}r(c,d,l)}),this.map(o,(c,l)=>{let u=t[c];if(!u)return;const d=l.map(p=>p.presence_ref);u=u.filter(p=>d.indexOf(p.presence_ref)<0),t[c]=u,i(c,u,l),u.length===0&&delete t[c]}),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(s=>(s.presence_ref=s.phx_ref,delete s.phx_ref,delete s.phx_ref_prev,s)):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 wT;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(wT||(wT={}));var jT;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(jT||(jT={}));var Cc;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(Cc||(Cc={}));class o4{constructor(t,n={config:{}},r){this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=va.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 F5(this,Ks.join,this.params,this.timeout),this.rejoinTimer=new pF(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=va.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(i=>
593i.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=va.closed,this.socket._remove(this)}),this._onError(i=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,i),this.state=va.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=va.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Ks.reply,{},(i,s)=>{this._trigger(this._replyEventName(s),i)}),this.presence=new Lg(this),this.broadcastEndpointURL=hF(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.state==va.closed){const{config:{broadcast:s,presence:o,private:c}}=this.params;this._onError(d=>t==null?void 0:t(Cc.CHANNEL_ERROR,d)),this._onClose(()=>t==null?void 0:t(Cc.CLOSED));const l={},u={broadcast:s,presence:o,postgres_changes:(i=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(d=>d.filter))!==null&&i!==void 0?i:[],private:c};this.socket.accessTokenValue&&(l.access_token=this.socket.accessTokenValue),this.updateJoinPayload(Object.assign({config:u},l)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:d})=>{var p;if(this.socket.setAuth(),d===void 0){t==null||t(Cc.SUBSCRIBED);return}else{const h=this.bindings.postgres_changes,f=(p=h==null?void 0:h.length)!==null&&p!==void 0?p:0,v=[];for(let m=0;m<f;m++){const y=h[m],{filter:{event:g,schema:x,table:b,filter:_}}=y,E=d&&d[m];if(E&&E.event===g&&E.schema===x&&E.table===b&&E.filter===_)v.push(Object.assign(Object.assign({},y),{id:E.id}));else{this.unsubscribe(),this.state=va.errored,t==null||t(Cc.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=v,t&&t(Cc.SUBSCRIBED);return}}).receive("error",d=>{this.state=va.errored,t==null||t(Cc.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(d).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(Cc.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:s,payload:o}=t,l={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:s,payload:o,private:this.private}]})};try{const u=await this._fetchWithTimeout(this.broadcastEndpointURL,l,(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(s=>{var o,c,l;const u=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((l=(c=(o=this.params)===null||o===void 0?void 0:o.config)===null||c===void 0?void 0:c.broadcast)===null||l===void 0)&&l.ack)&&s("ok"),u.receive("ok",()=>s("ok")),u.receive("error",()=>s("error")),u.receive("timeout",()=>s("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=va.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Ks.close,"leave",this._joinRef())};this.joinPush.destroy();let r=null;return new Promise(i=>{r=new F5(this,Ks.leave,{},t),r.receive("ok",()=>{n(),i("ok")}).receive("timeout",()=>{n(),i("timed out")}).receive("error",()=>{i("error")}),r.send(),this._canPush()||r.trigger("ok",{})}).finally(()=>{r==null||r.destroy()})}teardown(){this.pushBuffer.forEach(t=>t.destroy()),this.rejoinTimer&&clearTimeout(this.rejoinTimer.timer),this.joinPush.destroy()}async _fetchWithTimeout(t,n,r){const i=new AbortController,s=setTimeout(()=>i.abort(),r),o=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:i.signal}));return clearTimeout(s),o}_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 F5(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,s;const o=t.toLocaleLowerCase(),{close:c,error:l,leave:u,join:d}=Ks;if(r&&[c,l,u,d].indexOf(o)>=0&&r!==this._joinRef())return;let h=this._onMessage(o,n,r);if(n&&!h)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(o)?(i=this.bindings.postgres_changes)===null||i===void 0||i.filter(f=>{var v,m,y;return((v=f.filter)===null||v===void 0?void 0:v.event)==="*"||((y=(m=f.filter)===null||m===void 0?void 0:m.event)===null||y===void 0?void 0:y.toLocaleLowerCase())===o}).map(f=>f.callback(h,r)):(s=this.bindings[o])===null||s===void 0||s.filter(f=>{var v,m,y,g,x,b;if(["broadcast","presence","postgres_changes"].includes(o))if("id"in f){const _=f.id,E=(v=f.filter)===null||v===void 0?void 0:v.event;return _&&((m=n.ids)===null||m===void 0?void 0:m.includes(_))&&(E==="*"||(E==null?void 0:E.toLocaleLowerCase())===((y=n.data)===null||y===void 0?void 0:y.type.toLocaleLowerCase()))}else{const _=(x=(g=f==null?void 0:f.filter)===null||g===void 0?void 0:g.event)===null||x===void 0?void 0:x.toLocaleLowerCase();return _==="*"||_===((b=n==null?void 0:n.event)===null||b===void 0?void 0:b.toLocaleLowerCase())}else return f.type.toLocaleLowerCase()===o}).map(f=>{if(typeof h=="object"&&"ids"in h){const v=h.data,{schema:m,table:y,commit_timestamp:g,type:x,errors:b}=v;h=Object.assign(Object.assign({},{schema:m,table:y,commit_timestamp:g,eventType:x,new:{},old:{},errors:b}),this._getPayloadRecords(v))}f.callback(h,r)})}_isClosed(){return this.state===va.closed}_isJoined(){return this.state===va.joined}_isJoining(){return this.state===va.joining}_isLeaving(){return this.state===va.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const i=t.toLocaleLowerCase(),s={type:i,filter:n,callback:r};return this.bindings[i]?this.bindings[i].push(s):this.bindings[i]=[s],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]=this.bindings[r].filter(i=>{var s;return!(((s=i.type)===null||s===void 0?void 0:s.toLocaleLowerCase())===r&&o4.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(Ks.close,{},t)}_onError(t){this._on(Ks.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=va.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=vT(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=vT(t.columns,t.old_record)),n}}const _T=()=>{},mre=` 594 addEventListener("message", (e) => { 595 if (e.data.event === "start") { 596 setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval); 597 } 598 });`;class gre{constructor(t,n){var r;this.accessTokenValue=null,this.apiKey=null,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={}
598,this.timeout=dF,this.heartbeatIntervalMs=25e3,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=_T,this.ref=0,this.logger=_T,this.conn=null,this.sendBuffer=[],this.serializer=new cre,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._resolveFetch=s=>{let o;return s?o=s:typeof fetch>"u"?o=(...c)=>ou(async()=>{const{default:l}=await Promise.resolve().then(()=>Hh);return{default:l}},void 0).then(({default:l})=>l(...c)):o=fetch,(...c)=>o(...c)},this.endPoint=`${t}/${P3.websocket}`,this.httpEndpoint=hF(t),n!=null&&n.transport?this.transport=n.transport:this.transport=null,n!=null&&n.params&&(this.params=n.params),n!=null&&n.timeout&&(this.timeout=n.timeout),n!=null&&n.logger&&(this.logger=n.logger),(n!=null&&n.logLevel||n!=null&&n.log_level)&&(this.logLevel=n.logLevel||n.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),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:s=>[1e3,2e3,5e3,1e4][s-1]||1e4,this.encode=n!=null&&n.encode?n.encode:(s,o)=>o(JSON.stringify(s)),this.decode=n!=null&&n.decode?n.decode:this.serializer.decode.bind(this.serializer),this.reconnectTimer=new pF(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.transport=rre),!this.transport)throw new Error("No transport provided");this.conn=new this.transport(this.endpointURL()),this.setupConnection()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:sre}))}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(),this.channels.forEach(r=>r.teardown()))}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.channels=[],this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case Pg.connecting:return ud.Connecting;case Pg.open:return ud.Open;case Pg.closing:return ud.Closing;default:return ud.Closed}}isConnected(){return this.connectionState()===ud.Open}channel(t,n={config:{}}){const r=`realtime:${t}`,i=this.getChannels().find(s=>s.topic===r);if(i)return i;{const s=new o4(`realtime:${t}`,n,this);return this.channels.push(s),s}}push(t){const{topic:n,event:r,payload:i,ref:s}=t,o=()=>{this.encode(t,c=>{var l;(l=this.conn)===null||l===void 0||l.send(c)})};this.log("push",`${n} ${r} (${s})`,i),this.isConnected()?o():this.sendBuffer.push(o)}async setAuth(t=null){let n=t||this.accessToken&&await this.accessToken()||this.accessTokenValue;this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEach(r=>{const i={access_token:n,version:ire};n&&r.updateJoinPayload(i),r.joinedOnce&&r._isJoined()&&r._push(Ks.access_token,{access_token:n})}))}async sendHeartbeat(){var t;if(!this.isConnected()){this.heartbeatCallback("disconnected");return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection"),this.heartbeatCallback("timeout"),(t=this.conn)===null||t===void 0||t.close(ore,"hearbeat timeout");return}this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef}),this.heartbeatCallback("sent"),await this.setAuth()}onHeartbeat(t){this.heartbeatCallback=t}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.topic!==t.topic)}setupConnection(){this.conn&&(this.conn.binaryType="arraybuffer",this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>
598this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t))}_onConnMessage(t){this.decode(t.data,n=>{let{topic:r,event:i,payload:s,ref:o}=n;r==="phoenix"&&i==="phx_reply"&&this.heartbeatCallback(n.payload.status=="ok"?"ok":"error"),o&&o===this.pendingHeartbeatRef&&(this.pendingHeartbeatRef=null),this.log("receive",`${s.status||""} ${r} ${i} ${o&&"("+o+")"||""}`,s),Array.from(this.channels).filter(c=>c._isMember(r)).forEach(c=>c._trigger(i,s,o)),this.stateChangeCallbacks.message.forEach(c=>c(n))})}_onConnOpen(){this.log("transport",`connected to ${this.endpointURL()}`),this.flushSendBuffer(),this.reconnectTimer.reset(),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this.stateChangeCallbacks.open.forEach(t=>t())}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const 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})}_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}`),this._triggerChanError(),this.stateChangeCallbacks.error.forEach(n=>n(t))}_triggerChanError(){this.channels.forEach(t=>t._trigger(Ks.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([mre],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}}class c4 extends Error{constructor(t){super(t),this.__isStorageError=!0,this.name="StorageError"}}function Ur(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}class xre extends c4{constructor(t,n,r){super(t),this.name="StorageApiError",this.status=n,this.statusCode=r}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}}class R3 extends c4{constructor(t,n){super(t),this.name="StorageUnknownError",this.originalError=n}}var yre=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};const mF=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>ou(async()=>{const{default:r}=await Promise.resolve().then(()=>Hh);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},vre=()=>yre(void 0,void 0,void 0,function*(){return typeof Response>"u"?(yield ou(()=>Promise.resolve().then(()=>Hh),void 0)).Response:Response}),O3=e=>{if(Array.isArray(e))return e.map(n=>O3(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,s=>s.toUpperCase().replace(/[-_]/g,""));t[i]=O3(r)}),t},bre=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)};var pp=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};const M5=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),wre=(e,t,n)=>pp(void 0,void 0,void 0,function*(){const r=yield vre();e instanceof r&&!(n!=null&&n.noResolveJson)?e.json().then(i=>{const s=e.status||500,o=(i==null?void 0:i.statusCode)||s+"";t(new xre(M5(i),s,o))}).catch(i=>{t(new R3(M5(i),i))}):t(new R3(M5(e),e))}),jre=(e,t,n,r)=>{const i={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"||!r?i:(bre(r)?(i.headers=Object.assign({"Content-Type":"application/json"},t==null?void 0:t.headers),i.body=JSON.stringify(r)):i.body=r,Object.assign(Object.assign({},i),n))};function uy(e,t,n,r,i,s){return pp(this,void 0,void 0,function*(){return new Promise((o,c)=>{e(n,jre(t,r,i,s)).then(l=>{if(!l.ok)throw l;return r!=null&&r.noResolveJson?l:l.json()}).then(l=>o(l)).catch(l=>wre(l,c,r))})})}function L0(e,t,n,r){return pp(this,void 0,void 0,function*(){return uy(e,"GET",t,n,r)})}function Ec(e,t,n,r,i){return pp(this,void 0,void 0,function*(){return uy(e,"POST",t,r,i,n)})}function I3(e,t,n,r,i){return pp(this,void 0,void 0,function*(){return uy(e,"PUT",t,r,i,n)})}function _re(e,t,n,r){return pp(this,void 0,void 0,function*(){return uy(e,"HEAD",t,Object.assign(Object.assign({},n),{noResolveJson:!0}),r)})}function gF(e,t,n,r,i){return pp(this,void 0,void 0,function*(){return uy(e,"DELETE",t,r,i,n)})}var ei=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}
598return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};const Nre={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},NT={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};class Cre{constructor(t,n={},r,i){this.url=t,this.headers=n,this.bucketId=r,this.fetch=mF(i)}uploadOrUpdate(t,n,r,i){return ei(this,void 0,void 0,function*(){try{let s;const o=Object.assign(Object.assign({},NT),i);let c=Object.assign(Object.assign({},this.headers),t==="POST"&&{"x-upsert":String(o.upsert)});const l=o.metadata;typeof Blob<"u"&&r instanceof Blob?(s=new FormData,s.append("cacheControl",o.cacheControl),l&&s.append("metadata",this.encodeMetadata(l)),s.append("",r)):typeof FormData<"u"&&r instanceof FormData?(s=r,s.append("cacheControl",o.cacheControl),l&&s.append("metadata",this.encodeMetadata(l))):(s=r,c["cache-control"]=`max-age=${o.cacheControl}`,c["content-type"]=o.contentType,l&&(c["x-metadata"]=this.toBase64(this.encodeMetadata(l)))),i!=null&&i.headers&&(c=Object.assign(Object.assign({},c),i.headers));const u=this._removeEmptyFolders(n),d=this._getFinalPath(u),p=yield(t=="PUT"?I3:Ec)(this.fetch,`${this.url}/object/${d}`,s,Object.assign({headers:c},o!=null&&o.duplex?{duplex:o.duplex}:{}));return{data:{path:u,id:p.Id,fullPath:p.Key},error:null}}catch(s){if(Ur(s))return{data:null,error:s};throw s}})}upload(t,n,r){return ei(this,void 0,void 0,function*(){return this.uploadOrUpdate("POST",t,n,r)})}uploadToSignedUrl(t,n,r,i){return ei(this,void 0,void 0,function*(){const s=this._removeEmptyFolders(t),o=this._getFinalPath(s),c=new URL(this.url+`/object/upload/sign/${o}`);c.searchParams.set("token",n);try{let l;const u=Object.assign({upsert:NT.upsert},i),d=Object.assign(Object.assign({},this.headers),{"x-upsert":String(u.upsert)});typeof Blob<"u"&&r instanceof Blob?(l=new FormData,l.append("cacheControl",u.cacheControl),l.append("",r)):typeof FormData<"u"&&r instanceof FormData?(l=r,l.append("cacheControl",u.cacheControl)):(l=r,d["cache-control"]=`max-age=${u.cacheControl}`,d["content-type"]=u.contentType);const p=yield I3(this.fetch,c.toString(),l,{headers:d});return{data:{path:s,fullPath:p.Key},error:null}}catch(l){if(Ur(l))return{data:null,error:l};throw l}})}createSignedUploadUrl(t,n){return ei(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 s=yield Ec(this.fetch,`${this.url}/object/upload/sign/${r}`,{},{headers:i}),o=new URL(this.url+s.url),c=o.searchParams.get("token");if(!c)throw new c4("No token returned by API");return{data:{signedUrl:o.toString(),path:t,token:c},error:null}}catch(r){if(Ur(r))return{data:null,error:r};throw r}})}update(t,n,r){return ei(this,void 0,void 0,function*(){return this.uploadOrUpdate("PUT",t,n,r)})}move(t,n,r){return ei(this,void 0,void 0,function*(){try{return{data:yield Ec(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(Ur(i))return{data:null,error:i};throw i}})}copy(t,n,r){return ei(this,void 0,void 0,function*(){try{return{data:{path:(yield Ec(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(Ur(i))return{data:null,error:i};throw i}})}createSignedUrl(t,n,r){return ei(this,void 0,void 0,function*(){try{let i=this._getFinalPath(t),s=yield Ec(this.fetch,`${this.url}/object/sign/${i}`,Object.assign({expiresIn:n},r!=null&&r.transform?{transform:r.transform}:{}),{headers:this.headers});const o=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return s={signedUrl:encodeURI(`${this.url}${s.signedURL}${o}`)},{data:s,error:null}}catch(i){if(Ur(i))return{data:null,error:i};throw i}})}createSignedUrls(t,n,r){return ei(this,void 0,void 0,function*(){try{const i=yield Ec(this.fetch,`${this.url}/object/sign/${this.bucketId}`,{expiresIn:n,paths:t},{headers:this.headers}),s=r!=null&&r.download?`&download=${r.download===!0?"":r.download}`:"";return{data:i.map(o=>Object.assign(Object.assign({},o),{signedUrl:o.signedURL?encodeURI(`${this.url}${o.signedURL}${s}`):null})),error:null}}catch(i){if(Ur(i))return{data:null,error:i};throw i}})}download(t,n){return ei(this,void 0,void 0,function*(){const i=typeof(n==null?void 0:n.transform)<"u"?"render/image/authenticated":"object",s=this.transformOptsToQueryString((n==null?void 0:n.transform)||{}),o=s?`?${s}`:"";try{const c=this._getFinalPath(t);return{data:yield(yield L0(this.fetch,`${this.url}/${i}/${c}${o}`,{headers:this.headers,noResolveJson:!0})).blob(),error:null}}catch(c){if(Ur(c))return{data:null,error:c};throw c}})}info(t){return ei(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{const r=yield L0(this.fetch,`${this.url}/object/info/${n}`,{headers:this.headers});return{data:O3(r),error:null}}catch(r){if(Ur(r))return{data:null,error:r};throw r}})}exists(t){return ei(this,void 0,void 0,function*(){const n=this._getFinalPath(t);try{return yield _re(this.fetch,`${this.url}/object/${n}`,{headers:this.headers}),{data:!0,error:null}}catch(r){if(Ur(r)&&r instanceof R3){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=[],s=n!=null&&n.download?`download=${n.download===!0?"":n.download}`:"";s!==""&&i.push(s);const c=typeof(n==null?void 0:n.transform)<"u"?"render/image":"object",l=this.transformOptsToQueryString((n==null?void 0:n.transform)||{});l!==""&&i.push(l);let u=i.join("&");return u!==""&&(u=`?${u}`),{data:{publicUrl:encodeURI(`${this.url}/${c}/public/${r}${u}`)}}}remove(t){return ei(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(Ur(n))return{data:null,error:n};throw n}})}list(t,n,r){return ei(this,void 0,void 0,function*(){try{const i=Object.assign(Object.assign(Object.assign({},Nre),n),{prefix:t||""});return{data:yield Ec(this.fetch,`${this.url}/object/list/${this.bucketId}`,i,{headers:this.headers},r),error:null}}catch(i){if(Ur(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.replace(/^\/+/,"")}`}_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 Ere="2.10.4",Sre={"X-Client-Info":`storage-js/${Ere}`};var Ip=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}
598return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};class Dre{constructor(t,n={},r,i){const s=new URL(t);i!=null&&i.useNewHostname&&/supabase\.(co|in|red)$/.test(s.hostname)&&!s.hostname.includes("storage.supabase.")&&(s.hostname=s.hostname.replace("supabase.","storage.supabase.")),this.url=s.href,this.headers=Object.assign(Object.assign({},Sre),n),this.fetch=mF(r)}listBuckets(){return Ip(this,void 0,void 0,function*(){try{return{data:yield L0(this.fetch,`${this.url}/bucket`,{headers:this.headers}),error:null}}catch(t){if(Ur(t))return{data:null,error:t};throw t}})}getBucket(t){return Ip(this,void 0,void 0,function*(){try{return{data:yield L0(this.fetch,`${this.url}/bucket/${t}`,{headers:this.headers}),error:null}}catch(n){if(Ur(n))return{data:null,error:n};throw n}})}createBucket(t,n={public:!1}){return Ip(this,void 0,void 0,function*(){try{return{data:yield Ec(this.fetch,`${this.url}/bucket`,{id:t,name:t,type:n.type,public:n.public,file_size_limit:n.fileSizeLimit,allowed_mime_types:n.allowedMimeTypes},{headers:this.headers}),error:null}}catch(r){if(Ur(r))return{data:null,error:r};throw r}})}updateBucket(t,n){return Ip(this,void 0,void 0,function*(){try{return{data:yield I3(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(Ur(r))return{data:null,error:r};throw r}})}emptyBucket(t){return Ip(this,void 0,void 0,function*(){try{return{data:yield Ec(this.fetch,`${this.url}/bucket/${t}/empty`,{},{headers:this.headers}),error:null}}catch(n){if(Ur(n))return{data:null,error:n};throw n}})}deleteBucket(t){return Ip(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(Ur(n))return{data:null,error:n};throw n}})}}class Are extends Dre{constructor(t,n={},r,i){super(t,n,r,i)}from(t){return new Cre(this.url,this.headers,t,this.fetch)}}const kre="2.53.0";let pg="";typeof Deno<"u"?pg="deno":typeof document<"u"?pg="web":typeof navigator<"u"&&navigator.product==="ReactNative"?pg="react-native":pg="node";const Tre={"X-Client-Info":`supabase-js-${pg}/${kre}`},Pre={headers:Tre},Lre={schema:"public"},Rre={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},Ore={};var Ire=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};const Ure=e=>{let t;return e?t=e:typeof fetch>"u"?t=eF:t=fetch,(...n)=>t(...n)},Fre=()=>typeof Headers>"u"?tF:Headers,Mre=(e,t,n)=>{const r=Ure(n),i=Fre();return(s,o)=>Ire(void 0,void 0,void 0,function*(){var c;const l=(c=yield t())!==null&&c!==void 0?c:e;let u=new i(o==null?void 0:o.headers);return u.has("apikey")||u.set("apikey",e),u.has("Authorization")||u.set("Authorization",`Bearer ${l}`),r(s,Object.assign(Object.assign({},o),{headers:u}))})};var qre=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};function Bre(e){return e.endsWith("/")?e:e+"/"}function zre(e,t){var n,r;const{db:i,auth:s,realtime:o,global:c}=e,{db:l,auth:u,realtime:d,global:p}=t,h={db:Object.assign(Object.assign({},l),i),auth:Object.assign(Object.assign({},u),s),realtime:Object.assign(Object.assign({},d),o),storage:{},global:Object.assign(Object.assign(Object.assign({},p),c),{headers:Object.assign(Object.assign({},(n=p==null?void 0:p.headers)!==null&&n!==void 0?n:{}),(r=c==null?void 0:c.headers)!==null&&r!==void 0?r:{})}),accessToken:()=>qre(this,void 0,void 0,function*(){return""})};return e.accessToken?h.accessToken=e.accessToken:delete h.accessToken,h}const xF="2.71.1",cf=30*1e3,U3=3,q5=U3*cf,$re="http://localhost:9999",Wre="supabase.auth.token",Vre={"X-Client-Info":`gotrue-js/${xF}`},F3="X-Supabase-Api-Version",yF={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},Hre=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,Gre=10*60*1e3;
598class l4 extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function qt(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class Xre extends l4{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function Kre(e){return qt(e)&&e.name==="AuthApiError"}class vF extends l4{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Au extends l4{constructor(t,n,r,i){super(t,r,i),this.name=n,this.status=r}}class Pl extends Au{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function Yre(e){return qt(e)&&e.name==="AuthSessionMissingError"}class Hv extends Au{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Gv extends Au{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Xv extends Au{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 Qre(e){return qt(e)&&e.name==="AuthImplicitGrantRedirectError"}class CT extends Au{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 M3 extends Au{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function B5(e){return qt(e)&&e.name==="AuthRetryableFetchError"}class ET extends Au{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class q3 extends Au{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const R0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),ST=` 599\r=`.split(""),Zre=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<ST.length;t+=1)e[ST[t].charCodeAt(0)]=-2;for(let t=0;t<R0.length;t+=1)e[R0[t].charCodeAt(0)]=t;return e})();function DT(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(R0[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(R0[r]),t.queuedBits-=6}}function bF(e,t,n){const r=Zre[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 AT(e){const t=[],n=o=>{t.push(String.fromCodePoint(o))},r={utf8seq:0,codepoint:0},i={queue:0,queuedBits:0},s=o=>{tae(o,r,n)};for(let o=0;o<e.length;o+=1)bF(e.charCodeAt(o),i,s);return t.join("")}function Jre(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 eae(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}Jre(r,t)}}function tae(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 nae(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};for(let i=0;i<e.length;i+=1)bF(e.charCodeAt(i),n,r);return new Uint8Array(t)}function rae(e){const t=[];return eae(e,n=>t.push(n)),new Uint8Array(t)}function aae(e){const t=[],n={queue:0,queuedBits:0},r=i=>{t.push(i)};return e.forEach(i=>DT(i,n,r)),DT(null,n,r),t.join("")}function iae(e){return Math.round(Date.now()/1e3)+e}function sae(){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 zs=()=>typeof window<"u"&&typeof document<"u",td={tested:!1,writable:!1},wF=()=>
599{if(!zs())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(td.tested)return td.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),td.tested=!0,td.writable=!0}catch{td.tested=!0,td.writable=!1}return td.writable};function oae(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((i,s)=>{t[s]=i})}catch{}return n.searchParams.forEach((r,i)=>{t[i]=r}),t}const jF=e=>{let t;return e?t=e:typeof fetch>"u"?t=(...n)=>ou(async()=>{const{default:r}=await Promise.resolve().then(()=>Hh);return{default:r}},void 0).then(({default:r})=>r(...n)):t=fetch,(...n)=>t(...n)},cae=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",lf=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},nd=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},Cl=async(e,t)=>{await e.removeItem(t)};class a2{constructor(){this.promise=new a2.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}a2.promiseConstructor=Promise;function z5(e){const t=e.split(".");if(t.length!==3)throw new q3("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!Hre.test(t[r]))throw new q3("JWT not in base64url format");return{header:JSON.parse(AT(t[0])),payload:JSON.parse(AT(t[1])),signature:nae(t[2]),raw:{header:t[0],payload:t[1]}}}async function lae(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function uae(e,t){return new Promise((r,i)=>{(async()=>{for(let s=0;s<1/0;s++)try{const o=await e(s);if(!t(s,null,o)){r(o);return}}catch(o){if(!t(s,o)){i(o);return}}})()})}function dae(e){return("0"+e.toString(16)).substr(-2)}function pae(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let i="";for(let s=0;s<56;s++)i+=n.charAt(Math.floor(Math.random()*r));return i}return crypto.getRandomValues(t),Array.from(t,dae).join("")}async function fae(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),i=new Uint8Array(r);return Array.from(i).map(s=>String.fromCharCode(s)).join("")}async function hae(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 fae(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Up(e,t,n=!1){const r=pae();let i=r;n&&(i+="/PASSWORD_RECOVERY"),await lf(e,`${t}-code-verifier`,i);const s=await hae(r);return[s,r===s?"plain":"s256"]}const mae=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function gae(e){const t=e.headers.get(F3);if(!t||!t.match(mae))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function xae(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 yae(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")}}const vae=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function Fp(e){if(!vae.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function $5(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function kT(e){return JSON.parse(JSON.stringify(e))}var bae=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 od=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),wae=[502,503,504];async function TT(e){var t;if(!cae(e))throw new M3(od(e),0);if(wae.includes(e.status))throw new M3(od(e),e.status);let n;try{n=await e.json()}catch(s){throw new vF(od(s),s)}let r;const i=gae(e);if(i&&i.getTime()>=yF["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 ET(od(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new Pl}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((s,o)=>
599s&&typeof o=="string",!0))throw new ET(od(n),e.status,n.weak_password.reasons);throw new Xre(od(n),e.status||500,r)}const jae=(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 Qt(e,t,n,r){var i;const s=Object.assign({},r==null?void 0:r.headers);s[F3]||(s[F3]=yF["2024-01-01"].name),r!=null&&r.jwt&&(s.Authorization=`Bearer ${r.jwt}`);const o=(i=r==null?void 0:r.query)!==null&&i!==void 0?i:{};r!=null&&r.redirectTo&&(o.redirect_to=r.redirectTo);const c=Object.keys(o).length?"?"+new URLSearchParams(o).toString():"",l=await _ae(e,t,n+c,{headers:s,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(l):{data:Object.assign({},l),error:null}}async function _ae(e,t,n,r,i,s){const o=jae(t,r,i,s);let c;try{c=await e(n,Object.assign({},o))}catch(l){throw console.error(l),new M3(od(l),0)}if(c.ok||await TT(c),r!=null&&r.noResolveJson)return c;try{return await c.json()}catch(l){await TT(l)}}function _c(e){var t;let n=null;Sae(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=iae(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function PT(e){const t=_c(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 ql(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function Nae(e){return{data:e,error:null}}function Cae(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:s}=e,o=bae(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),c={action_link:t,email_otp:n,hashed_token:r,redirect_to:i,verification_type:s},l=Object.assign({},o);return{data:{properties:c,user:l},error:null}}function Eae(e){return e}function Sae(e){return e.access_token&&e.refresh_token&&e.expires_in}const W5=["global","local","others"];var Dae=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 Aae{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=jF(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)}}async signOut(t,n=W5[0]){if(W5.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${W5.join(", ")}`);try{return await Qt(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(qt(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await Qt(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:ql})}catch(r){if(qt(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Dae(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 Qt(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:i,headers:this.headers,xform:Cae,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(qt(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await Qt(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:ql})}catch(n){if(qt(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,i,s,o,c,l;try{const u={nextPage:null,lastPage:0,total:0},d=await Qt(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:(s=(i=t==null?void 0:t.perPage)===null||i===void 0?void 0:i.toString())!==null&&s!==void 0?s:""},xform:Eae});if(d.error)throw d.error;const p=await d.json(),h=(o=d.headers.get("x-total-count"))!==null&&o!==void 0?o:0,f=(l=(c=d.headers.get("link"))===null||c===void 0?void 0:c.split(","))!==null&&l!==void 0?l:[];return f.length>0&&(f.forEach(v=>{const m=parseInt(v.split(";")[0].split("=")[1].substring(0,1)),y=JSON.parse(v.split(";")[1].split("=")[1]);u[`${y}Page`]=m}),u.total=parseInt(h)),{data:Object.assign(Object.assign({},p),u),error:null}}catch(u){if(qt(u))return{data:{users:[]},error:u};throw u}}async getUserById(t){Fp(t);try{return await Qt(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:ql})}catch(n){if(qt(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){Fp(t);try{return await Qt(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:ql})}catch(r){if(qt(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){Fp(t);
599try{return await Qt(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:ql})}catch(r){if(qt(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){Fp(t.userId);try{const{data:n,error:r}=await Qt(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(qt(n))return{data:null,error:n};throw n}}async _deleteFactor(t){Fp(t.userId),Fp(t.id);try{return{data:await Qt(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(qt(n))return{data:null,error:n};throw n}}}function LT(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}function kae(){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 Mp={debug:!!(globalThis&&wF()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class _F extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class Tae extends _F{}async function Pae(e,t,n){Mp.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),Mp.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){Mp.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,i.name);try{return await n()}finally{Mp.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,i.name)}}else{if(t===0)throw Mp.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new Tae(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(Mp.debug)try{const s=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(s,null," "))}catch(s){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",s)}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()}}))}kae();const Lae={url:$re,storageKey:Wre,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:Vre,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1};async function RT(e,t,n){return await n()}const qp={};class hx{constructor(t){var n,r;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log,this.instanceID=hx.nextInstanceID,hx.nextInstanceID+=1,this.instanceID>0&&zs()&&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({},Lae),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 Aae({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=jF(i.fetch),this.lock=i.lock||RT,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,i.lock?this.lock=i.lock:zs()&&(!((n=globalThis==null?void 0:globalThis.navigator)===null||n===void 0)&&n.locks)?this.lock=Pae:this.lock=RT,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:wF()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=LT(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=LT(this.memoryStorage)),zs()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(s){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",s)}(r=this.broadcastChannel)===null||r===void 0||r.addEventListener("message",async s=>{this._debug("received broadcast notification from other tab or client",s),await this._notifyAllSubscribers(s.data.event,s.data.session,!1)})}this.initialize()}get jwks(){var t,n;return(n=(t=qp[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){qp[this.storageKey]=Object.assign(Object.assign({},qp[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=qp[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){qp[this.storageKey]=Object.assign(Object.assign({},qp[this.storageKey]),{cachedAt:t})}_debug(...t){return this.logDebugMessages&&this.logger(`GoTrueClient@${this.instanceID} (${xF}) ${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=oae(window.location.href);let r="none";if(this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce"),zs()&&this.detectSessionInUrl&&r!=="none"){const{data:i,error:s}=await this._getSessionFromURL(n,r);if(s){if(this._debug("#_initialize()","error detecting session from URL",s),Qre(s)){const l=(t=s.details)===null||t===void 0?void 0:t.code;if(l==="identity_already_exists"||l==="identity_not_found"||l==="single_identity_not_deletable")return{error:s}}return await this._removeSession(),{error:s}}const{session:o,redirectType:c}=i;return this._debug("#_initialize()","detected session in URL",o,"redirect type",c),await this._saveSession(o),setTimeout(async()=>{c==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",o):await this._notifyAllSubscribers("SIGNED_IN",o)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return qt(n)?{error:n}:{error:new vF("Unexpected error during initialization",n)}}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,i;try{const s=await Qt(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:_c}),{data:o,error:c}=s;if(c||!o)return{data:{user:null,session:null},error:c};const l=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(s){if(qt(s))return{data:{user:null,session:null},error:s};throw s}}async signUp(t){var n,r,i;try{let s;if("email"in t){const{email:d,password:p,options:h}=t;let f=null,v=null;this.flowType==="pkce"&&([f,v]=await Up(this.storage,this.storageKey)),s=await Qt(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:h==null?void 0:h.emailRedirectTo,body:{email:d,password:p,data:(n=h==null?void 0:h.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken},code_challenge:f,code_challenge_method:v},xform:_c})}else if("phone"in t){const{phone:d,password:p,options:h}=t;s=await Qt(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:d,password:p,data:(r=h==null?void 0:h.data)!==null&&r!==void 0?r:{},channel:(i=h==null?void 0:h.channel)!==null&&i!==void 0?i:"sms",gotrue_meta_security:{captcha_token:h==null?void 0:h.captchaToken}},xform:_c})}else throw new Gv("You must provide either an email or phone number and a password");const{data:o,error:c}=s;if(c||!o)return{data:{user:null,session:null},error:c};const l=o.session,u=o.user;return o.session&&(await this._saveSession(o.session),await this._notifyAllSubscribers("SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(s){if(qt(s))return{data:{user:null,session:null},error:s};throw s}}async signInWithPassword(t){try{let n;if("email"in t){const{email:s,password:o,options:c}=t;n=await Qt(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:s,password:o,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken}},xform:PT})}else if("phone"in t){const{phone:s,password:o,options:c}=t;n=await Qt(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:s,password:o,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken}},xform:PT})}else throw new Gv("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 Hv}:(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(qt(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOAuth(t){var n,r,i,s;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:(s=t.options)===null||s===void 0?void 0:s.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(-1,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;if(n==="solana")return await this.signInWithSolana(t);throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}async signInWithSolana(t){var n,r,i,s,o,c,l,u,d,p,h,f;let v,m;if("message"in t)v=t.message,m=t.signature;else{const{chain:y,wallet:g,statement:x,options:b}=t;let _;if(zs())if(typeof g=="object")_=g;else{const T=window;if("solana"in T&&typeof T.solana=="object"&&("signIn"in T.solana&&typeof T.solana.signIn=="function"||"signMessage"in T.solana&&typeof T.solana.signMessage=="function"))_=T.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof g!="object"||!(b!=null&&b.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");_=g}const E=new URL((n=b==null?void 0:b.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in _&&_.signIn){const T=await _.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},b==null?void 0:b.signInWithSolana),{version:"1",domain:E.host,uri:E.href}),x?{statement:x}:null));let A;if(Array.isArray(T)&&T[0]&&typeof T[0]=="object")A=T[0];else if(T&&typeof T=="object"&&"signedMessage"in T&&"signature"in T)A=T;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in A&&"signature"in A&&(typeof A.signedMessage=="string"||A.signedMessage instanceof Uint8Array)&&A.signature instanceof Uint8Array)v=typeof A.signedMessage=="string"?A.signedMessage:new TextDecoder().decode(A.signedMessage),m=A.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in _)||typeof _.signMessage!="function"||!("publicKey"in _)||typeof _!="object"||!_.publicKey||!("toBase58"in _.publicKey)||typeof _.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");v=[`${E.host} wants you to sign in with your Solana account:`,_.publicKey.toBase58(),...x?["",x,""]:[""],"Version: 1",`URI: ${E.href}`,`Issued At: ${(i=(r=b==null?void 0:b.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&i!==void 0?i:new Date().toISOString()}`,...!((s=b==null?void 0:b.signInWithSolana)===null||s===void 0)&&s.notBefore?[`Not Before: ${b.signInWithSolana.notBefore}`]:[],...!((o=b==null?void 0:b.signInWithSolana)===null||o===void 0)&&o.expirationTime?[`Expiration Time: ${b.signInWithSolana.expirationTime}`]:[],...!((c=b==null?void 0:b.signInWithSolana)===null||c===void 0)&&c.chainId?[`Chain ID: ${b.signInWithSolana.chainId}`]:[],...!((l=b==null?void 0:b.signInWithSolana)===null||l===void 0)&&l.nonce?[`Nonce: ${b.signInWithSolana.nonce}`]:[],...!((u=b==null?void 0:b.signInWithSolana)===null||u===void 0)&&u.requestId?[`Request ID: ${b.signInWithSolana.requestId}`]:[],...!((p=(d=b==null?void 0:b.signInWithSolana)===null||d===void 0?void 0:d.resources)===null||p===void 0)&&p.length?["Resources",...b.signInWithSolana.resources.map(A=>`- ${A}`)]:[]].join(` 600`);const T=await _.signMessage(new TextEncoder().encode(v),"utf8");if(!T||!(T instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");m=T}}try{const{data:y,error:g}=await Qt(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:v,signature:aae(m)}
600,!((h=t.options)===null||h===void 0)&&h.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:_c});if(g)throw g;return!y||!y.session||!y.user?{data:{user:null,session:null},error:new Hv}:(y.session&&(await this._saveSession(y.session),await this._notifyAllSubscribers("SIGNED_IN",y.session)),{data:Object.assign({},y),error:g})}catch(y){if(qt(y))return{data:{user:null,session:null},error:y};throw y}}async _exchangeCodeForSession(t){const n=await nd(this.storage,`${this.storageKey}-code-verifier`),[r,i]=(n??"").split("/");try{const{data:s,error:o}=await Qt(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:_c});if(await Cl(this.storage,`${this.storageKey}-code-verifier`),o)throw o;return!s||!s.session||!s.user?{data:{user:null,session:null,redirectType:null},error:new Hv}:(s.session&&(await this._saveSession(s.session),await this._notifyAllSubscribers("SIGNED_IN",s.session)),{data:Object.assign(Object.assign({},s),{redirectType:i??null}),error:o})}catch(s){if(qt(s))return{data:{user:null,session:null,redirectType:null},error:s};throw s}}async signInWithIdToken(t){try{const{options:n,provider:r,token:i,access_token:s,nonce:o}=t,c=await Qt(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:i,access_token:s,nonce:o,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:_c}),{data:l,error:u}=c;return u?{data:{user:null,session:null},error:u}:!l||!l.session||!l.user?{data:{user:null,session:null},error:new Hv}:(l.session&&(await this._saveSession(l.session),await this._notifyAllSubscribers("SIGNED_IN",l.session)),{data:l,error:u})}catch(n){if(qt(n))return{data:{user:null,session:null},error:n};throw n}}async signInWithOtp(t){var n,r,i,s,o;try{if("email"in t){const{email:c,options:l}=t;let u=null,d=null;this.flowType==="pkce"&&([u,d]=await Up(this.storage,this.storageKey));const{error:p}=await Qt(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:c,data:(n=l==null?void 0:l.data)!==null&&n!==void 0?n:{},create_user:(r=l==null?void 0:l.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},code_challenge:u,code_challenge_method:d},redirectTo:l==null?void 0:l.emailRedirectTo});return{data:{user:null,session:null},error:p}}if("phone"in t){const{phone:c,options:l}=t,{data:u,error:d}=await Qt(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:c,data:(i=l==null?void 0:l.data)!==null&&i!==void 0?i:{},create_user:(s=l==null?void 0:l.shouldCreateUser)!==null&&s!==void 0?s:!0,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken},channel:(o=l==null?void 0:l.channel)!==null&&o!==void 0?o:"sms"}});return{data:{user:null,session:null,messageId:u==null?void 0:u.message_id},error:d}}throw new Gv("You must provide either an email or phone number.")}catch(c){if(qt(c))return{data:{user:null,session:null},error:c};throw c}}async verifyOtp(t){var n,r;try{let i,s;"options"in t&&(i=(n=t.options)===null||n===void 0?void 0:n.redirectTo,s=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:o,error:c}=await Qt(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:s}}),redirectTo:i,xform:_c});if(c)throw c;if(!o)throw new Error("An error occurred on token verification.");const l=o.session,u=o.user;return l!=null&&l.access_token&&(await this._saveSession(l),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",l)),{data:{user:u,session:l},error:null}}catch(i){if(qt(i))return{data:{user:null,session:null},error:i};throw i}}async signInWithSSO(t){var n,r,i;try{let s=null,o=null;return this.flowType==="pkce"&&([s,o]=await Up(this.storage,this.storageKey)),await Qt(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:s,code_challenge_method:o}),headers:this.headers,xform:Nae})}catch(s){if(qt(s))return{data:null,error:s};throw s}}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 Pl;const{error:i}=await Qt(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return{data:{user:null,session:null},error:i}})}catch(t){if(qt(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:s}=t,{error:o}=await Qt(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:i,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}},redirectTo:s==null?void 0:s.emailRedirectTo});return{data:{user:null,session:null},error:o}}else if("phone"in t){const{phone:r,type:i,options:s}=t,{data:o,error:c}=await Qt(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:i,gotrue_meta_security:{captcha_token:s==null?void 0:s.captchaToken}}});return{data:{user:null,session:null,messageId:o==null?void 0:o.message_id},error:c}}throw new Gv("You must provide either an email or phone number and a type")}catch(n){if(qt(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 nd(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
600id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<q5:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const o=await nd(this.userStorage,this.storageKey+"-user");o!=null&&o.user?t.user=o.user:t.user=$5()}if(this.storage.isServer&&t.user){let o=this.suppressGetSessionWarning;t=new Proxy(t,{get:(l,u,d)=>(!o&&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."),o=!0,this.suppressGetSessionWarning=!0),Reflect.get(l,u,d))})}return{data:{session:t},error:null}}const{session:i,error:s}=await this._callRefreshToken(t.refresh_token);return s?{data:{session:null},error:s}:{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 Qt(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:ql}):await this._useSession(async n=>{var r,i,s;const{data:o,error:c}=n;if(c)throw c;return!(!((r=o.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Pl}:await Qt(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(s=(i=o.session)===null||i===void 0?void 0:i.access_token)!==null&&s!==void 0?s:void 0,xform:ql})})}catch(n){if(qt(n))return Yre(n)&&(await this._removeSession(),await Cl(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:s}=r;if(s)throw s;if(!i.session)throw new Pl;const o=i.session;let c=null,l=null;this.flowType==="pkce"&&t.email!=null&&([c,l]=await Up(this.storage,this.storageKey));const{data:u,error:d}=await Qt(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:c,code_challenge_method:l}),jwt:o.access_token,xform:ql});if(d)throw d;return o.user=u.user,await this._saveSession(o),await this._notifyAllSubscribers("USER_UPDATED",o),{data:{user:o.user},error:null}})}catch(r){if(qt(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 Pl;const n=Date.now()/1e3;let r=n,i=!0,s=null;const{payload:o}=z5(t.access_token);if(o.exp&&(r=o.exp,i=r<=n),i){const{session:c,error:l}=await this._callRefreshToken(t.refresh_token);if(l)return{data:{user:null,session:null},error:l};if(!c)return{data:{user:null,session:null},error:null};s=c}else{const{data:c,error:l}=await this._getUser(t.access_token);if(l)throw l;s={access_token:t.access_token,refresh_token:t.refresh_token,user:c.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(s),await this._notifyAllSubscribers("SIGNED_IN",s)}return{data:{user:s.user,session:s},error:null}}catch(n){if(qt(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:o,error:c}=n;if(c)throw c;t=(r=o.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Pl;const{session:i,error:s}=await this._callRefreshToken(t.refresh_token);return s?{data:{user:null,session:null},error:s}:i?{data:{user:i.user,session:i},error:null}:{data:{user:null,session:null},error:null}})}catch(n){if(qt(n))return{data:{user:null,session:null},error:n};throw n}}async _getSessionFromURL(t,n){try{if(!zs())throw new Xv("No browser detected.");
600if(t.error||t.error_description||t.error_code)throw new Xv(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 CT("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Xv("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 CT("No code detected.");const{data:x,error:b}=await this._exchangeCodeForSession(t.code);if(b)throw b;const _=new URL(window.location.href);return _.searchParams.delete("code"),window.history.replaceState(window.history.state,"",_.toString()),{data:{session:x.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:i,access_token:s,refresh_token:o,expires_in:c,expires_at:l,token_type:u}=t;if(!s||!c||!o||!u)throw new Xv("No session defined in URL");const d=Math.round(Date.now()/1e3),p=parseInt(c);let h=d+p;l&&(h=parseInt(l));const f=h-d;f*1e3<=cf&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${f}s, should have been closer to ${p}s`);const v=h-p;d-v>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",v,h,d):d-v<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",v,h,d);const{data:m,error:y}=await this._getUser(s);if(y)throw y;const g={provider_token:r,provider_refresh_token:i,access_token:s,expires_in:p,expires_at:h,refresh_token:o,token_type:u,user:m.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),{data:{session:g,redirectType:t.type},error:null}}catch(r){if(qt(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 nd(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:s}=n;if(s)return{error:s};const o=(r=i.session)===null||r===void 0?void 0:r.access_token;if(o){const{error:c}=await this.admin.signOut(o,t);if(c&&!(Kre(c)&&(c.status===404||c.status===401||c.status===403)))return{error:c}}return t!=="others"&&(await this._removeSession(),await Cl(this.storage,`${this.storageKey}-code-verifier`)),{error:null}})}onAuthStateChange(t){const n=sae(),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:s},error:o}=n;if(o)throw o;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",s)),this._debug("INITIAL_SESSION","callback id",t,"session",s)}catch(s){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",s),console.error(s)}})}async resetPasswordForEmail(t,n={}){let r=null,i=null;this.flowType==="pkce"&&([r,i]=await Up(this.storage,this.storageKey,!0));try{return await Qt(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(s){if(qt(s))return{data:null,error:s};throw s}}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(qt(n))return{data:null,error:n};throw n}}async linkIdentity(t){var n;try{const{data:r,error:i}=await this._useSession(async s=>{var o,c,l,u,d;const{data:p,error:h}=s;if(h)throw h;const f=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(o=t.options)===null||o===void 0?void 0:o.redirectTo,scopes:(c=t.options)===null||c===void 0?void 0:c.scopes,queryParams:(l=t.options)===null||l===void 0?void 0:l.queryParams,skipBrowserRedirect:!0});return await Qt(this.fetch,"GET",f,{headers:this.headers,jwt:(d=(u=p.session)===null||u===void 0?void 0:u.access_token)!==null&&d!==void 0?d:void 0})});if(i)throw i;return zs()&&!(!((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(qt(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:s,error:o}=n;
600if(o)throw o;return await Qt(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(i=(r=s.session)===null||r===void 0?void 0:r.access_token)!==null&&i!==void 0?i:void 0})})}catch(n){if(qt(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 uae(async i=>(i>0&&await lae(200*Math.pow(2,i-1)),this._debug(n,"refreshing attempt",i),await Qt(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:_c})),(i,s)=>{const o=200*Math.pow(2,i);return s&&B5(s)&&Date.now()+o-r<cf})}catch(r){if(this._debug(n,"error",r),qt(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),zs()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const i=await nd(this.storage,this.storageKey);if(i&&this.userStorage){let o=await nd(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!o&&(o={user:i.user},await lf(this.userStorage,this.storageKey+"-user",o)),i.user=(t=o==null?void 0:o.user)!==null&&t!==void 0?t:$5()}else if(i&&!i.user&&!i.user){const o=await nd(this.storage,this.storageKey+"-user");o&&(o!=null&&o.user)?(i.user=o.user,await Cl(this.storage,this.storageKey+"-user"),await lf(this.storage,this.storageKey,i)):i.user=$5()}if(this._debug(r,"session from storage",i),!this._isValidSession(i)){this._debug(r,"session is not valid"),i!==null&&await this._removeSession();return}const s=((n=i.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<q5;if(this._debug(r,`session has${s?"":" not"} expired with margin of ${q5}s`),s){if(this.autoRefreshToken&&i.refresh_token){const{error:o}=await this._callRefreshToken(i.refresh_token);o&&(console.error(o),B5(o)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",o),await this._removeSession()))}}else if(i.user&&i.user.__isUserNotAvailableProxy===!0)try{const{data:o,error:c}=await this._getUser(i.access_token);!c&&(o!=null&&o.user)?(i.user=o.user,await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(o){console.error("Error getting user data:",o),this._debug(r,"error getting user data, skipping SIGNED_IN notification",o)}else await this._notifyAllSubscribers("SIGNED_IN",i)}catch(i){this._debug(r,"error",i),console.error(i);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new Pl;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const i=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(i,"begin");try{this.refreshingDeferred=new a2;const{data:s,error:o}=await this._refreshAccessToken(t);if(o)throw o;if(!s.session)throw new Pl;await this._saveSession(s.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",s.session);const c={session:s.session,error:null};return this.refreshingDeferred.resolve(c),c}catch(s){if(this._debug(i,"error",s),qt(s)){const o={session:null,error:s};return B5(s)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(o),o}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(s),s}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 s=[],o=Array.from(this.stateChangeEmitters.values()).map(async c=>{try{await c.callback(t,n)}catch(l){s.push(l)}});if(await Promise.all(o),s.length>0){for(let c=0;c<s.length;c+=1)console.error(s[c]);throw s[0]}}finally{this._debug(i,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0;const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await lf(this.userStorage,this.storageKey+"-user",{user:n.user});const i=Object.assign({},n);delete i.user;const s=kT(i);await lf(this.storage,this.storageKey,s)}else{const i=kT(n);await lf(this.storage,this.storageKey,i)}}async _removeSession(){this._debug("#_removeSession()"),await Cl(this.storage,this.storageKey),await Cl(this.storage,this.storageKey+"-code-verifier"),await Cl(this.storage,this.storageKey+"-user"),this.userStorage&&await Cl(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&zs()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}
600catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),cf);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)/cf);this._debug("#_autoRefreshTokenTick()",`access token expires in ${i} ticks, a tick lasts ${cf}ms, refresh threshold is ${U3} ticks`),i<=U3&&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 _F)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!zs()||!(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()=>{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[s,o]=await Up(this.storage,this.storageKey),c=new URLSearchParams({code_challenge:`${encodeURIComponent(s)}`,code_challenge_method:`${encodeURIComponent(o)}`});i.push(c.toString())}if(r!=null&&r.queryParams){const s=new URLSearchParams(r.queryParams);i.push(s.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:s}=n;return s?{data:null,error:s}:await Qt(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(qt(n))return{data:null,error:n};throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,i;const{data:s,error:o}=n;if(o)return{data:null,error:o};const c=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:{issuer:t.issuer}),{data:l,error:u}=await Qt(this.fetch,"POST",`${this.url}/factors`,{body:c,headers:this.headers,jwt:(r=s==null?void 0:s.session)===null||r===void 0?void 0:r.access_token});return u?{data:null,error:u}:(t.factorType==="totp"&&(!((i=l==null?void 0:l.totp)===null||i===void 0)&&i.qr_code)&&(l.totp.qr_code=`data:image/svg+xml;utf-8,${l.totp.qr_code}`),{data:l,error:null})})}catch(n){if(qt(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:s}=n;if(s)return{data:null,error:s};const{data:o,error:c}=await Qt(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 c?{data:null,error:c}:(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+o.expires_in},o)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",o),{data:o,error:c})})}catch(n){if(qt(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:s}=n;return s?{data:null,error:s}:await Qt(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(qt(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(o=>o.factor_type==="totp"&&o.status==="verified"),s=r.filter(o=>o.factor_type==="phone"&&o.status==="verified");return{data:{all:r,totp:i,phone:s},error:null}}async _getAuthenticatorAssuranceLevel(){return this._acquireLock(-1,async()=>await this._useSession(async t=>{var n,r;const{data:{session:i},error:s}=t;if(s)return{data:null,error:s};if(!i)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:o}=z5(i.access_token);let c=null;o.aal&&(c=o.aal);let l=c;((r=(n=i.user.factors)===null||n===void 0?void 0:n.filter(p=>p.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(l="aal2");const d=o.amr||[];return{data:{currentLevel:c,nextLevel:l,currentAuthenticationMethods:d},error:null}}))}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(c=>c.kid===t);if(r)return r;const i=Date.now();if(r=this.jwks.keys.find(c=>c.kid===t),r&&this.jwks_cached_at+Gre>i)return r;const{data:s,error:o}=await Qt(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(o)throw o;return!s.keys||s.keys.length===0||(this.jwks=s,this.jwks_cached_at=i,r=s.keys.find(c=>c.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:f,error:v}
600=await this.getSession();if(v||!f.session)return{data:null,error:v};r=f.session.access_token}const{header:i,payload:s,signature:o,raw:{header:c,payload:l}}=z5(r);n!=null&&n.allowExpired||xae(s.exp);const u=!i.alg||i.alg.startsWith("HS")||!i.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(i.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!u){const{error:f}=await this.getUser(r);if(f)throw f;return{data:{claims:s,header:i,signature:o},error:null}}const d=yae(i.alg),p=await crypto.subtle.importKey("jwk",u,d,!0,["verify"]);if(!await crypto.subtle.verify(d,p,o,rae(`${c}.${l}`)))throw new q3("Invalid JWT signature");return{data:{claims:s,header:i,signature:o},error:null}}catch(r){if(qt(r))return{data:null,error:r};throw r}}}hx.nextInstanceID=0;const Rae=hx;class Oae extends Rae{constructor(t){super(t)}}var Iae=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?s(d.value):i(d.value).then(c,l)}u((r=r.apply(e,t||[])).next())})};class Uae{constructor(t,n,r){var i,s,o;if(this.supabaseUrl=t,this.supabaseKey=n,!t)throw new Error("supabaseUrl is required.");if(!n)throw new Error("supabaseKey is required.");const c=Bre(t),l=new URL(c);this.realtimeUrl=new URL("realtime/v1",l),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",l),this.storageUrl=new URL("storage/v1",l),this.functionsUrl=new URL("functions/v1",l);const u=`sb-${l.hostname.split(".")[0]}-auth-token`,d={db:Lre,realtime:Ore,auth:Object.assign(Object.assign({},Rre),{storageKey:u}),global:Pre},p=zre(r??{},d);this.storageKey=(i=p.auth.storageKey)!==null&&i!==void 0?i:"",this.headers=(s=p.global.headers)!==null&&s!==void 0?s:{},p.accessToken?(this.accessToken=p.accessToken,this.auth=new Proxy({},{get:(h,f)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(f)} is not possible`)}})):this.auth=this._initSupabaseAuthClient((o=p.auth)!==null&&o!==void 0?o:{},this.headers,p.global.fetch),this.fetch=Mre(n,this._getAccessToken.bind(this),p.global.fetch),this.realtime=this._initRealtimeClient(Object.assign({headers:this.headers,accessToken:this._getAccessToken.bind(this)},p.realtime)),this.rest=new tre(new URL("rest/v1",l).href,{headers:this.headers,schema:p.db.schema,fetch:this.fetch}),this.storage=new Are(this.storageUrl.href,this.headers,this.fetch,r==null?void 0:r.storage),p.accessToken||this._listenForAuthEvents()}get functions(){return new Tne(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(t){return this.rest.from(t)}schema(t){return this.rest.schema(t)}rpc(t,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 Iae(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:s,flowType:o,lock:c,debug:l},u,d){const p={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new Oae({url:this.authUrl.href,headers:Object.assign(Object.assign({},p),u),storageKey:s,autoRefreshToken:t,persistSession:n,detectSessionInUrl:r,storage:i,flowType:o,lock:c,debug:l,fetch:d,hasCustomAuthorizationHeader:"Authorization"in this.headers})}_initRealtimeClient(t){return new gre(this.realtimeUrl.href,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 Fae=(e,t,n)=>new Uae(e,t,n);
600function Mae(){if(typeof window<"u"||typeof process>"u"||process.version===void 0||process.version===null)return!1;const e=process.version.match(/^v(\d+)\./);return e?parseInt(e[1],10)<=18:!1}Mae()&&console.warn("â ï¸ Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");const qae="https://qgxpzuaeorjkcjwwphjt.supabase.co",Bae="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFneHB6dWFlb3Jqa2Nqd3dwaGp0Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTQzMzE4MjksImV4cCI6MjA2OTkwNzgyOX0.pCmN3tdq8hlyQ7J4Jd6TF0KDHw7ZNriPMvg8biGPA7E",Ye=Fae(qae,Bae,{auth:{storage:localStorage,persistSession:!0,autoRefreshToken:!0}}),NF="/assets/Logotipo%[email protected]",zae="https://wa.me/+523337872943?text=Hola%20equipo%20de%20Emplicity%2C%20tengo%20dudas%20sobre%20el%20programa",OT=[{label:"México",path:"/conseguir-trabajo-mexico"},{label:"Colombia",path:"/conseguir-trabajo-colombia"},{label:"Perú",path:"/conseguir-trabajo-peru"},{label:"Chile",path:"/conseguir-trabajo-chile"}],IT=[{label:"Buscar trabajo",path:"/buscar-trabajo"},{label:"Primer empleo",path:"/primer-empleo"},{label:"Trabajo remoto",path:"/trabajo-remoto"},{label:"Cambio de carrera",path:"/cambio-de-carrera"}],Rr=()=>{const e=Xt(),t=fo(),[n,r]=j.useState(!1),[i,s]=j.useState(!1),[o,c]=j.useState(!1),[l,u]=j.useState(!1),[d,p]=j.useState(!1),[h,f]=j.useState(!1),[v,m]=j.useState(!1),y=j.useRef(null),g=j.useRef(null);j.useEffect(()=>{(async()=>{const{data:{session:T}}=await Ye.auth.getSession();s(!!T)})();const{data:{subscription:E}}=Ye.auth.onAuthStateChange((T,A)=>{s(!!A)});return()=>E.unsubscribe()},[]),j.useEffect(()=>{const _=()=>r(window.scrollY>10);return window.addEventListener("scroll",_,{passive:!0}),_(),()=>window.removeEventListener("scroll",_)},[]),j.useEffect(()=>{const _=E=>{y.current&&!y.current.contains(E.target)&&c(!1),g.current&&!g.current.contains(E.target)&&f(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[]),j.useEffect(()=>{u(!1),p(!1),c(!1),f(!1),m(!1)},[t.pathname]);const x=()=>{var _;t.pathname==="/"?(_=document.getElementById("hero-form"))==null||_.scrollIntoView({behavior:"smooth",block:"start"}):window.location.href="/#hero-form"},b="text-sm font-semibold text-foreground/80 hover:text-primary transition-colors";return a.jsxs("nav",{className:`sticky top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-white shadow-[0_1px_0_rgba(0,0,0,0.08),0_4px_12px_rgba(0,0,0,0.05)]":"bg-white shadow-[0_1px_0_rgba(0,0,0,0.08)]"}`,children:[a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"flex items-center justify-between h-16",children:[a.jsx("div",{className:"flex items-center gap-2 cursor-pointer",onClick:()=>e("/"),children:a.jsx("img",{src:NF,alt:"Emplicity",className:"h-10 w-auto"})}),a.jsxs("div",{className:"hidden lg:flex items-center gap-6",children:[a.jsx("a",{href:"/career-coach",className:b,children:"Career Coach"}),a.jsx("a",{href:"/programa-empleabilidad",className:b,children:"Programa"}),a.jsxs("div",{className:"relative",ref:y,children:[a.jsxs("button",{onClick:()=>c(_=>!_),className:`${b} inline-flex items-center gap-1`,children:["Conseguir trabajo",a.jsx(Zs,{className:`w-3.5 h-3.5 transition-transform ${o?"rotate-180":""}`})]}),o&&a.jsx("div",{className:"absolute top-full left-0 mt-2 w-48 bg-white rounded-xl border border-border shadow-lg py-2 animate-in fade-in slide-in-from-top-2 duration-200",children:OT.map(_=>a.jsx("a",{href:_.path,className:"block px-4 py-2.5 text-sm font-medium text-foreground/80 hover:bg-muted hover:text-primary transition-colors",children:_.label},_.path))})]}),a.jsx("a",{href:"/blog",className:b,children:"Blog"}),a.jsxs("div",{className:"relative",ref:g,children:[a.jsxs("button",{onClick:()=>f(_=>!_),className:`${b} inline-flex items-center gap-1`,children:["Para ti",a.jsx(Zs,{className:`w-3.5 h-3.5 transition-transform ${h?"rotate-180":""}`})]}),h&&a.jsx("div",{className:"absolute top-full left-0 mt-2 w-48 bg-white rounded-xl border border-border shadow-lg py-2 animate-in fade-in slide-in-from-top-2 duration-200",children:IT.map(_=>a.jsx("a",{href:_.path,className:"block px-4 py-2.5 text-sm font-medium text-foreground
600/80 hover:bg-muted hover:text-primary transition-colors",children:_.label},_.path))})]}),a.jsx("a",{href:"/para-empresas",className:b,children:"Para empresas"})]}),a.jsxs("div",{className:"flex items-center gap-2 sm:gap-3",children:[i?a.jsxs(Ce,{onClick:()=>e("/dashboard"),className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform duration-300 font-bold shadow-lg text-sm sm:text-base px-3 sm:px-4",children:[a.jsx(QQ,{className:"w-4 h-4 sm:mr-2"}),a.jsx("span",{className:"hidden sm:inline",children:"Ir al Dashboard"})]}):a.jsxs(a.Fragment,{children:[a.jsxs(Ce,{onClick:x,className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform duration-300 font-bold shadow-[0_4px_20px_hsl(183_100%_40%/0.35)] text-sm sm:text-base px-3 sm:px-4",children:[a.jsx(Gt,{className:"w-4 h-4 sm:mr-2"}),a.jsx("span",{className:"hidden sm:inline",children:"Aplicar"})]}),a.jsxs(Ce,{variant:"outline",onClick:()=>e("/login"),className:"hidden sm:inline-flex border border-border text-foreground hover:bg-muted transition-all duration-300 font-semibold text-sm sm:text-base px-3 sm:px-4 bg-transparent",children:[a.jsx(g3,{className:"w-4 h-4 sm:mr-2"}),a.jsx("span",{className:"hidden sm:inline",children:"Iniciar Sesión"})]})]}),a.jsx("button",{onClick:()=>u(_=>!_),className:"lg:hidden p-2 rounded-lg hover:bg-muted transition-colors","aria-label":"Menú",children:l?a.jsx(rl,{className:"w-5 h-5 text-foreground"}):a.jsx(G7,{className:"w-5 h-5 text-foreground"})})]})]})}),l&&a.jsx("div",{className:"lg:hidden border-t border-border bg-white animate-in slide-in-from-top-2 duration-200",children:a.jsxs("div",{className:"container mx-auto px-4 py-4 flex flex-col gap-1",children:[a.jsx("a",{href:"/career-coach",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors",children:"Career Coach"}),a.jsx("a",{href:"/programa-empleabilidad",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors",children:"Programa"}),a.jsxs("button",{onClick:()=>p(_=>!_),className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors flex items-center justify-between w-full",children:["Conseguir trabajo",a.jsx(Zs,{className:`w-4 h-4 transition-transform ${d?"rotate-180":""}`})]}),d&&a.jsx("div",{className:"pl-4 flex flex-col gap-1",children:OT.map(_=>a.jsx("a",{href:_.path,className:"px-3 py-2 rounded-lg text-sm font-medium text-foreground/70 hover:bg-muted hover:text-primary transition-colors",children:_.label},_.path))}),a.jsx("a",{href:"/blog",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors",children:"Blog"}),a.jsxs("button",{onClick:()=>m(_=>!_),className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors flex items-center justify-between w-full",children:["Para ti",a.jsx(Zs,{className:`w-4 h-4 transition-transform ${v?"rotate-180":""}`})]}),v&&a.jsx("div",{className:"pl-4 flex flex-col gap-1",children:IT.map(_=>a.jsx("a",{href:_.path,className:"px-3 py-2 rounded-lg text-sm font-medium text-foreground/70 hover:bg-muted hover:text-primary transition-colors",children:_.label},_.path))}),a.jsx("a",{href:"/para-empresas",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground/80 hover:bg-muted hover:text-primary transition-colors",children:"Para empresas"}),!i&&a.jsxs(a.Fragment,{children:[a.jsxs("a",{href:zae,target:"_blank",rel:"noopener noreferrer",className:"mt-2 flex items-center gap-2 bg-green-500 hover:bg-green-600 text-white font-bold px-4 py-2.5 rounded-lg transition-all duration-200 text-sm justify-center",children:[a.jsx(bh,{className:"w-4 h-4"}),"Hablar por WhatsApp"]}),a.jsxs(Ce,{variant:"outline",onClick:()=>e("/login"),className:"mt-1 w-full border border-border text-foreground hover:bg-muted font-semibold text-sm bg-transparent",children:[a.jsx(g3,{className:"w-4 h-4 mr-2"}),"Iniciar Sesión"]})]})]})})]})},$ae=()=>a.jsxs("div",{className:"rounded-2xl p-8 sm:p-9 text-center",style:{background:"rgba(255, 255, 255, 0.07)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.13)"},children:[a.jsx("div",{className:"flex justify-center mb-5",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-primary/15 border border-primary/30",children:a.jsx(F7,{className:"h-8 w-8 text-primary","aria-hidden":!0})})}),a.jsx("h3",{className:"font-display text-white font-bold text-[20px] leading-tight mb-3",children:"Las postulaciones están en pausa"}),a.jsx("p",{className:"text-white/60 text-[15px] leading-relaxed mb-7",children:"Estamos mejorando la experiencia de Emplicity para darte un mejor acompañamiento. Por ah
600ora no estamos aceptando nuevas postulaciones, pero muy pronto reabriremos."})]}),Wae=["Solo pagas cuando consigues trabajo","Career Coach asignado desde el dÃa 1","+320 profesionales ya colocados en empresas top"],Vae=()=>a.jsxs("section",{id:"hero-form",className:"relative overflow-clip pt-12 pb-12",style:{background:` 601 radial-gradient(ellipse at 70% 0%, rgba(0,194,203,0.15) 0%, transparent 50%), 602 radial-gradient(ellipse at 10% 100%, rgba(30,100,220,0.12) 0%, transparent 50%), 603 #0D1B2A 604 `},children:[a.jsx("div",{className:"absolute inset-0 hero-grid","aria-hidden":!0}),a.jsx("div",{className:"landing-orb w-[500px] h-[500px] -top-[100px] -left-[100px] opacity-20",style:{background:"rgba(0, 194, 203, 0.18)",filter:"blur(80px)"},"aria-hidden":!0}),a.jsx("div",{className:"landing-orb w-[400px] h-[400px] -bottom-[80px] right-[10%] opacity-[0.15]",style:{background:"rgba(30, 100, 220, 0.12)",filter:"blur(80px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"grid lg:grid-cols-[58%_42%] gap-10 lg:gap-12 items-stretch",children:[a.jsxs("div",{className:"text-center lg:text-left self-center",children:[a.jsxs("div",{className:"mb-6",children:[a.jsx("h1",{className:"font-display text-[32px] md:text-[40px] lg:text-[56px] font-extrabold leading-[1.1] tracking-tight text-white",children:"El problema no eres tú."}),a.jsx("p",{className:"font-display text-[24px] md:text-[32px] lg:text-[40px] font-extrabold text-primary mt-2 drop-shadow-[0_0_20px_hsl(183_100%_40%/0.3)]",children:"Es cómo estás buscando trabajo."})]}),a.jsxs("p",{className:"text-[18px] lg:text-[20px] text-white/60 leading-[1.5] max-w-xl mx-auto lg:mx-0 mb-8 font-normal",children:["El programa de empleabilidad que combina ",a.jsx("span",{className:"text-white font-medium",children:"IA + Career Coaches reales"})," que te lleva hacia tu próximo empleo."]}),a.jsx("ul",{className:"flex flex-col items-center lg:items-start gap-[14px] mb-6",children:Wae.map((e,t)=>a.jsxs("li",{className:"flex items-center gap-2.5",children:[a.jsx("div",{className:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-primary/15 border border-primary/30",children:a.jsx(ea,{className:"h-5 w-5 text-primary","aria-hidden":!0})}),a.jsx("span",{className:"text-[16px] lg:text-[18px] text-white/85 font-medium",children:e})]},t))}),a.jsxs("div",{className:"flex justify-center lg:justify-start gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2.5 rounded-xl p-2.5 px-4",style:{background:"rgba(255, 255, 255, 0.07)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.13)"},children:[a.jsx(nl,{className:"h-4 w-4 text-primary shrink-0","aria-hidden":!0}),a.jsxs("div",{className:"text-[14px] text-white/50 leading-tight",children:[a.jsx("span",{className:"font-display font-bold text-primary text-[22px]",children:"4.7/5"})," ","de satisfacción"]})]}),a.jsxs("div",{className:"flex items-center gap-2.5 rounded-xl p-2.5 px-4",style:{background:"rgba(255, 255, 255, 0.07)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.13)"},children:[a.jsx(Ns,{className:"h-4 w-4 text-primary shrink-0","aria-hidden":!0}),a.jsxs("div",{className:"text-[14px] text-white/50 leading-tight",children:[a.jsx("span",{className:"font-display font-bold text-primary text-[22px]",children:"2.5"})," ","meses promedio"]})]})]})]}),a.jsx("div",{className:"w-full flex justify-center lg:justify-end",children:a.jsx("div",{className:"w-full max-w-[420px]",children:a.jsx($ae,{})})})]})})]}),Hae=[{name:"Forbes",src:"/logos/forbes.png"},{name:"El Financiero",src:"/logos/el-financiero.png"},{name:"El Economista",src:"/logos/el-economista.png"},{name:"Milenio",src:"/logos/milenio.png"},{name:"Contxto",src:"/logos/contxto.jpeg"}],Gae=()=>{const[e,t]=j.useState(new Set);return a.jsxs("section",{className:"py-12 md:py-16 relative overflow-hidden",style:{background:"linear-gradient(180deg, #ffffff 0%, #f8fbfc 60%, #ffffff 100%)"},"aria-label":"Respaldo y prensa",children:[a.jsx("div",{className:"absolute -top-32 left-1/2 -translate-x-1/2 w-[700px] h-[400px] pointer-events-none",style:{background:"radial-gradient(closest-side, rgba(0,194,203,0.08), transparent 70%)",filter:"blur(40px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-5 ga
604p-5 md:gap-6 max-w-6xl mx-auto",children:[a.jsxs("div",{className:"lg:col-span-2 rounded-[24px] p-6 md:p-7 flex flex-col items-center lg:items-start text-center lg:text-left transition-all duration-300 hover:-translate-y-0.5",style:{background:"rgba(255,255,255,0.75)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",border:"1px solid rgba(0,194,203,0.2)",boxShadow:"0 4px 24px rgba(0,194,203,0.08), inset 0 1px 0 rgba(255,255,255,0.9)"},children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full mb-4",style:{background:"rgba(0,194,203,0.10)",border:"1px solid rgba(0,194,203,0.25)"},children:[a.jsx(xs,{className:"w-3.5 h-3.5 text-primary"}),a.jsx("span",{className:"text-[11px] uppercase tracking-widest font-semibold text-primary",children:"Parte de"})]}),a.jsx("a",{href:"https://lapieza.io",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center mb-3","aria-label":"LaPieza",children:a.jsx("img",{src:"/logos/lapieza.png",alt:"LaPieza",className:"h-9 md:h-10 w-auto object-contain",loading:"lazy"})}),a.jsxs("p",{className:"text-sm md:text-[15px] leading-relaxed text-[#475569] max-w-sm",children:["Emplicity es una iniciativa de"," ",a.jsx("span",{className:"font-semibold text-[#0D1B2A]",children:"LaPieza"}),", la HR tech lÃder en reclutamiento en LATAM."]})]}),a.jsxs("div",{className:"lg:col-span-3 rounded-[24px] p-6 md:p-7 transition-all duration-300 hover:-translate-y-0.5",style:{background:"rgba(255,255,255,0.75)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",border:"1px solid rgba(13,27,42,0.08)",boxShadow:"0 4px 24px rgba(13,27,42,0.05), inset 0 1px 0 rgba(255,255,255,0.9)"},children:[a.jsx("div",{className:"flex items-center justify-center lg:justify-start gap-2 mb-5",children:a.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full",style:{background:"rgba(13,27,42,0.06)",border:"1px solid rgba(13,27,42,0.10)"},children:[a.jsx(eZ,{className:"w-3.5 h-3.5 text-[#0D1B2A]"}),a.jsx("span",{className:"text-[11px] uppercase tracking-widest font-semibold text-[#0D1B2A]",children:"Mencionados en"})]})}),a.jsx("div",{className:"grid grid-cols-3 md:grid-cols-5 gap-x-4 gap-y-5 items-center",children:Hae.map(n=>a.jsx("div",{className:"flex items-center justify-center h-10 md:h-12",title:n.name,children:e.has(n.name)?a.jsx("span",{className:"font-display text-sm md:text-base font-semibold text-[#0D1B2A]/70",children:n.name}):a.jsx("img",{src:n.src,alt:n.name,className:"max-h-9 md:max-h-11 w-auto max-w-[120px] object-contain opacity-80 hover:opacity-100 transition-opacity",loading:"lazy",onError:()=>t(r=>new Set(r).add(n.name))})},n.name))})]})]})})]})},Xae="/assets/demo-coach-CTnzX6DV.mp4",Kae="/assets/video-thumbnail-DmPISm-g.png",Yae=[{icon:po,text:"Sabrás exactamente cómo aplicar y diferenciarte"},{icon:br,text:"Tu CV y LinkedIn hablarán por ti antes de cada entrevista"},{icon:IE,text:"Practicarás entrevistas con IA hasta dominarlo"},{icon:el,text:"Negociarás tu sueldo con estrategia, no a ciegas"}],Qae=()=>{const e=j.useRef(null),t=j.useRef(null),[n,r]=j.useState(!1);return j.useEffect(()=>{const i=e.current,s=t.current;if(!i||!s)return;const o=new IntersectionObserver(([c])=>{c.isIntersecting?(i.muted=!1,i.play().then(()=>r(!0)).catch(()=>{})):i.pause()},{threshold:.4});return o.observe(s),()=>o.disconnect()},[]),a.jsxs("section",{id:"que-es-emplicity",ref:t,className:"py-10 md:py-16 relative overflow-clip",style:{background:"linear-gradient(135deg, #f0f9ff 0%, #e8f8f9 50%, #f4f6f9 100%)"},children:[a.jsx("div",{className:"landing-orb w-[700px] h-[700px] -bottom-[200px] -left-[200px]",style:{background:"rgba(0, 194, 203, 0.10)",filter:"blur(120px)"},"aria-hidden":!0}),a.jsx("div",{className:"landing-orb w-[400px] h-[400px] -top-[100px] -right-[100px]",style:{background:"rgba(30, 100, 220, 0.08)",filter:"blur(80px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsx("div",{className:"max-w-6xl mx-auto",children:a.jsxs("div",{className:"grid lg:grid-cols-[1.2fr_1fr] gap-10 lg:gap-14 items-start",children:[a.jsxs("div",{className:"w-full rounded-2xl overflow-hidden",style:{border:"1px solid rgba(255,255,255,0.8)",boxShadow:"0 12px 48px rgba(0,0,0,0.15), inset 0 2px 0 rgba(255,255,255,0.8)",borderRadius:"16px"},children:[a.jsx("p",{className:"sr-only",children:"VÃdeo: cómo funciona Emplicity"}),a.jsxs("div",{className:"relative aspect-video",children:[a.jsx("video",{ref:e,src:Xae,poster:Kae,playsInl
604ine:!0,controls:!0,loop:!0,muted:!0,className:"w-full h-full object-cover",onPlay:()=>r(!0),onPause:()=>r(!1)}),!n&&a.jsx("button",{onClick:()=>{const i=e.current;i&&(i.muted=!1,i.play().then(()=>r(!0)).catch(()=>{}))},className:"absolute inset-0 flex items-center justify-center bg-black/20 transition-opacity hover:bg-black/30 cursor-pointer","aria-label":"Reproducir video",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-white/90 shadow-lg transition-transform hover:scale-110",children:a.jsx(pi,{className:"h-7 w-7 text-primary ml-1",fill:"currentColor"})})})]}),a.jsxs("div",{className:"bg-white px-4 py-2.5",children:[a.jsx("p",{className:"text-center text-sm text-[#64748B] mb-2",children:"Conócenos en menos de 30 segundos"}),a.jsxs("p",{className:"text-center text-xs text-[#64748B] bg-[#F4F6F9] rounded-lg px-3 py-2 border border-[#E2E8F0]",children:[a.jsx("span",{className:"inline-block mr-1","aria-hidden":!0,children:"ð"}),"Disponible en:"," ",a.jsx("span",{className:"font-semibold text-[#0D1B2A]",children:"México, Colombia, Perú y Chile."})]})]})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium text-primary uppercase tracking-widest mb-2",children:"¿Por qué funciona?"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl font-extrabold leading-tight text-[#0D1B2A]",children:["No te dejamos solo. Tienes un coach real contigo"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent",children:"hasta el final."})]})]}),a.jsx("p",{className:"text-sm md:text-base text-[#64748B] leading-relaxed",children:"Combinamos tecnologÃa y acompañamiento humano para que no pierdas tiempo ni energÃa en el proceso equivocado."}),a.jsx("ul",{className:"grid grid-cols-1 gap-2",children:Yae.map((i,s)=>{const o=i.icon;return a.jsx("li",{children:a.jsxs("div",{className:"flex items-center gap-3 rounded-[14px] px-3 py-2.5 transition-all duration-300 cursor-default",style:{background:"rgba(255, 255, 255, 0.75)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",border:"1px solid rgba(255, 255, 255, 0.9)",borderLeft:"3px solid hsl(183, 100%, 40%)",boxShadow:"0 4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1)"},onMouseEnter:c=>{c.currentTarget.style.transform="translateX(6px)",c.currentTarget.style.boxShadow="0 6px 28px rgba(0, 194, 203, 0.15)",c.currentTarget.style.borderLeftColor="#00A8B0"},onMouseLeave:c=>{c.currentTarget.style.transform="translateX(0)",c.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1)",c.currentTarget.style.borderLeftColor="hsl(183, 100%, 40%)"},children:[a.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:a.jsx(o,{className:"h-4 w-4","aria-hidden":!0})}),a.jsx("span",{className:"text-sm font-medium text-[#0D1B2A]",children:i.text})]})},s)})})]})]})})})]})},u4=({text:e="Aplicar ahora",className:t="",variant:n="light"})=>{const r=Xt();return a.jsx("div",{className:`flex justify-center pt-6 ${t}`,children:a.jsxs(Ce,{size:"lg",onClick:()=>r("/apply"),className:"h-11 px-8 rounded-lg bg-gradient-to-r from-primary to-[hsl(190_90%_35%)] text-primary-foreground hover:opacity-90 shadow-[0_4px_20px_hsl(183_100%_40%/0.35)] hover:shadow-[0_6px_28px_hsl(183_100%_40%/0.5)] transition-all duration-200 font-bold py-3.5",children:[e,a.jsx(Gt,{className:"ml-2 h-4 w-4","aria-hidden":!0})]})})},Zae=[{icon:ME,number:"01",title:"Diagnóstico con tu Career Coach",description:"Evaluamos tu perfil y trazamos tu estrategia de búsqueda personalizada."},{icon:z7,number:"02",title:"Tu CV y LinkedIn listos para destacar",description:"Tu coach te guiará para optimizar tu CV y Linkedin a través de nuestra IA."},{icon:IE,number:"03",title:"Practica hasta dominar cada entrevista",description:"Simulaciones con IA y feedback real de tu coach."},{icon:BQ,number:"04",title:"Postulación dirigida, no aleatoria",description:"Postulas a las empresas correctas, con seguimiento activo de tu coach en cada proceso."},{icon:W7,number:"05",title:"Hasta que firmes, seguimos contigo",description:"Te acompañamos en la negociación de sueldo hasta que firmes."}],Jae=()=>a.jsxs("section",{className:"py-10 md:py-14 relative overflow-clip",style:{background:"linear-gradient(180deg, #ffffff 0%, #f0fafa 50%, #ffffff 100%)"}
604,children:[a.jsx("div",{className:"landing-orb w-[800px] h-[800px] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",style:{background:"rgba(0, 194, 203, 0.06)",filter:"blur(150px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsxs("header",{className:"text-center mb-8",children:[a.jsx("p",{className:"text-sm font-medium text-primary uppercase tracking-widest mb-2",children:"Paso a paso"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl font-extrabold text-[#0D1B2A]",children:["Tu camino del CV al"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent",children:"contrato"})]}),a.jsx("p",{className:"text-sm text-[#64748B] mt-2",children:"En promedio, nuestros candidatos firman en 2.5 meses. Asà se ve el proceso:"})]}),a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"hidden md:block absolute top-8 left-[10%] right-[10%] h-1",style:{background:"linear-gradient(90deg, transparent, rgba(0,194,203,0.3), rgba(0,194,203,0.3), transparent)"},"aria-hidden":!0}),a.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-5 gap-4 md:gap-3",children:Zae.map((e,t)=>{const n=e.icon,r=t===2;return a.jsxs("div",{className:"relative flex flex-col items-center text-center",children:[a.jsxs("div",{className:"relative mb-3",children:[a.jsx("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-primary/10 border border-primary/25 text-primary",style:{boxShadow:r?"0 4px 16px rgba(0, 194, 203, 0.4), 0 0 0 4px rgba(0, 194, 203, 0.1)":"0 4px 16px rgba(0, 194, 203, 0.3), 0 0 0 4px rgba(0, 194, 203, 0.1)"},children:a.jsx(n,{className:"h-6 w-6","aria-hidden":!0})}),a.jsx("span",{className:"absolute -top-1 -right-1 flex h-5 w-5 items-center justify-center rounded-full text-[10px] font-bold text-primary-foreground",style:{background:"linear-gradient(135deg, #00C2CB, #00A8B0)",boxShadow:"0 0 10px rgba(0,194,203,0.4)"},children:e.number})]}),a.jsxs("div",{className:"rounded-xl p-3 w-full transition-all duration-300 cursor-default",style:{background:"rgba(255, 255, 255, 0.8)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:`1px solid ${r?"rgba(0,194,203,0.3)":"rgba(0, 194, 203, 0.15)"}`,boxShadow:"0 4px 20px rgba(0,0,0,0.06)"},onMouseEnter:i=>{i.currentTarget.style.borderColor="rgba(0,194,203,0.4)",i.currentTarget.style.boxShadow="0 8px 32px rgba(0,194,203,0.12)",i.currentTarget.style.transform="translateY(-4px)"},onMouseLeave:i=>{i.currentTarget.style.borderColor=r?"rgba(0,194,203,0.3)":"rgba(0,194,203,0.15)",i.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.06)",i.currentTarget.style.transform="translateY(0)"},children:[a.jsx("h3",{className:"font-display text-sm font-bold text-[#0D1B2A] mb-1 leading-tight",children:e.title}),a.jsx("p",{className:"text-xs text-[#64748B] leading-relaxed",children:e.description})]})]},t)})})]}),a.jsx(u4,{text:"Comenzar mi proceso"})]})})]}),eie="pub_3986931da8aeb7dfd8a1289a6c48347e",UT=[{name:"Disney",domain:"disney.com"},{name:"HSBC",domain:"hsbc.com"},{name:"Nielsen",domain:"nielsen.com"},{name:"Deloitte",domain:"deloitte.com"},{name:"Warner Bros",domain:"warnerbros.com"},{name:"PepsiCo",domain:"pepsico.com",localLogo:"/logos/pepsico-color.png"},{name:"Nestlé",domain:"nestle.com",localLogo:"/logos/nestle-color.png"},{name:"KPMG",domain:"kpmg.com",localLogo:"/logos/kpmg-color.png"},{name:"Accenture",domain:"accenture.com",localLogo:"/logos/accenture-color.png"},{name:"L'Oréal",domain:"loreal.com",localLogo:"/logos/loreal-color.png"},{name:"Bimbo",domain:"grupobimbo.com",localLogo:"/logos/bimbo-color.png"},{name:"Cemex",domain:"cemex.com",localLogo:"/logos/cemex-color.png"},{name:"Unilever",domain:"unilever.com",localLogo:"/logos/unilever-color.png"},{name:"Amazon",domain:"amazon.com",localLogo:"/logos/amazon-color.png"},{name:"Google",domain:"google.com",localLogo:"/logos/google-color.png"}],tie=[{value:"320+",label:"profesionales colocados en los últimos 2 años"},{value:"2.5",label:"meses promedio desde el registro hasta firmar contrato"},{value:"4.7/5",label:"calificación promedio de candidatos colocados"}],nie=e=>`https://getlogo.dev/logos/${e}?token=${eie}`,rie=e=>e.localLogo??nie(e.domain),aie=()=>{const[e,t]=j.useState(new Set),n=i=>{t(s=>new Set(s).add(i))},r=[...UT,...UT];return a.jsxs("section",{className:"py-10 md:py-14 relative overflow-clip",style:{background:"linear-gradient(180deg, #f0fafa 0%, #ffffff 100%)"},children:[a.jsx("div",{className:"landing-orb w-[600px] h-[600px] -top-[200px] -right-[150px]",style:{background:"rgba(0, 194, 203, 0.08)",filter:"blur(100px)"},"aria-hidden":!0}),a.jsxs("div",{className:"container mx-auto px-4 relative z-[1]",children:[a.jsxs("h2",{className:"text-center font-display text-3xl md:text-4xl font-extrabold leading-tight mb-8 text-[#0D1B2A]",children:["Más de 320 de nuestros usuarios ya trabajan en"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent",children:"empresas como:"})]}),a.jsx("div",{className:"relative overflow-hidden py-4 mb-8 marquee-mask",children:a.jsx("div",{className:"flex animate-scroll w-max gap-12 md:gap-16",children:r.map((i,s)=>a.jsx("div",{className:"flex items-center justify-center shrink-0",children:a.jsx("div",{className:"flex h-16 md:h-20 w-32 md:w-36 items-center justify-center",children:e.has(i.name)?a.jsx("span",{className:"font-display text-lg font-semibold text-[#64748B]",children:i.name}):a.jsx("img",{src:rie(i),alt:i.name,className:"h-14 md:h-16 w-auto max-w-full object-contain object-center transition-all duration-300",loading:"lazy",onError:()=>n(i.name)})})},`${i.name}-${s}`))})}),a.jsx("div",{className:"max-w-4xl mx-auto grid grid-cols-3 gap-4",children:tie.map((i,s)=>a.jsxs("div",{className:"text-center p-4 md:p-5 rounded-[20px] transition-all duration-300 hover:-translate-y-1 group",style:{background:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(16px)",WebkitBackdropFilter:"blur(16px)",border:"1px solid rgba(0, 194, 203, 0.2)",boxShadow:"0 4px 24px rgba(0, 194, 203, 0.08), inset 0 1px 0 rgba(255,255,255,0.8)"},onMouseEnter:o=>{o.currentTarget.style.borderColor="rgba(0,194,203,0.4)",o.currentTarget.style.boxShadow="0 8px 32px rgba(0,194,203,0.15), inset 0 1px 0 rgba(255,255,255,0.8)"},onMouseLeave:o=>{o.currentTarget.style.borderColor="rgba(0,194,203,0.2)",o.currentTarget.style.boxShadow="0 4px 24px rgba(0,194,203,0.08), inset 0 1px 0 rgba(255,255,255,0.8)"},children:[a.jsx("div",{className:"text-3xl md:text-[48px] font-display font-extrabold text-primary tabular-nums mb-1",children:i.value}),a.jsx("div",{className:"text-xs font-medium text-[#64748B]",children:i.label})]},s))})]})]})},iie="https://wa.me/+523337872943?text=Hola%20equipo%20de%20Emplicity%2C%20tengo%20dudas%20sobre%20el%20programa",sie=({text:e="Hablar por WhatsApp",className:t="",variant:n="dark"})=>{const r=n==="dark";return a.jsx("div",{className:`flex justify-center ${t}`,children:a.jsx("a",{href:iie,target:"_blank",rel:"noopener noreferrer",children:a.jsxs(Ce,{variant:"outline",size:"sm",className:`font-medium text-sm gap-2 ${r?"border-white/20 text-white/70 hover:bg-white/10 hover:border-white/30 bg-transparent":"border-[#
604E2E8F0] text-[#64748B] hover:bg-[#F4F6F9] hover:border-[#CBD5E1] bg-transparent"}`,children:[a.jsx(bh,{className:"h-4 w-4","aria-hidden":!0}),e]})})})},oie="/assets/team-hero-D5YxtBza.png",cie=()=>a.jsxs("section",{className:"py-14 md:py-20 relative overflow-clip",style:{background:` 605 radial-gradient(ellipse at 80% 20%, rgba(0,194,203,0.12) 0%, transparent 50%), 606 radial-gradient(ellipse at 20% 80%, rgba(30,100,220,0.10) 0%, transparent 50%), 607 #0D1B2A 608 `},children:[a.jsx("div",{className:"landing-orb w-[500px] h-[500px] -top-[100px] -right-[100px]",style:{background:"rgba(0, 194, 203, 0.15)",filter:"blur(100px)"},"aria-hidden":!0}),a.jsx("div",{className:"landing-orb w-[400px] h-[400px] -bottom-[100px] left-[10%]",style:{background:"rgba(30, 100, 220, 0.12)",filter:"blur(80px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsx("div",{className:"max-w-5xl mx-auto",children:a.jsxs("div",{className:"grid lg:grid-cols-[2fr_3fr] gap-8 lg:gap-12 items-center",children:[a.jsxs("div",{className:"hidden lg:block relative",children:[a.jsx("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none","aria-hidden":!0,children:a.jsx("div",{className:"w-[300px] h-[300px] rounded-full",style:{background:"radial-gradient(circle, rgba(0,194,203,0.25) 0%, rgba(0,194,203,0.05) 70%, transparent 100%)",filter:"blur(20px)"}})}),a.jsx("div",{className:"relative rounded-2xl overflow-hidden shadow-[0_8px_32px_rgba(0,0,0,0.4)]",children:a.jsx("img",{src:oie,alt:"Profesional avanzando en su carrera con Emplicity",className:"w-full h-auto object-cover"})})]}),a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium text-primary uppercase tracking-widest mb-3",children:"Modelo de pago"}),a.jsxs("h2",{className:"font-display text-3xl md:text-4xl font-extrabold text-white mb-4",children:["Pagas solo cuando ya firmaste tu"," ",a.jsx("span",{className:"text-primary",children:"contrato."})]}),a.jsx("p",{className:"text-base md:text-lg text-white/50 leading-relaxed mb-8",children:"Sin cuotas de entrada. El costo es un mes de tu nuevo sueldo y se cobra solo cuando lo logras."}),a.jsx("div",{className:"grid sm:grid-cols-3 gap-4",children:[{icon:Y7,title:"Riesgo cero",desc:"No desembolsas nada mientras estás en el proceso. El cobro ocurre únicamente después de firmar tu contrato. (Pago al éxito)"},{icon:Ld,title:"Lo dividimos para ti",desc:"Una vez colocado, puedes pagar en hasta 3 mensualidades. Sin intereses."},{icon:ea,title:"Sin letras chicas",desc:"El costo es exactamente un mes de tu sueldo bruto en tu nuevo trabajo. Sin cargos ocultos ni sorpresas."}].map((e,t)=>a.jsxs("div",{className:"group flex flex-col items-center gap-2.5 rounded-[18px] p-5 transition-all duration-300",style:{background:"rgba(255, 255, 255, 0.06)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.12)",boxShadow:"0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08)"},onMouseEnter:n=>{n.currentTarget.style.borderColor="rgba(0, 194, 203, 0.35)",n.currentTarget.style.boxShadow="0 8px 32px rgba(0,0,0,0.2), 0 0 20px rgba(0,194,203,0.12)",n.currentTarget.style.transform="translateY(-4px)"},onMouseLeave:n=>{n.currentTarget.style.borderColor="rgba(255, 255, 255, 0.12)",n.currentTarget.style.boxShadow="0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08)",n.currentTarget.style.transform="translateY(0)"},children:[a.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-primary/15 text-primary",children:a.jsx(e.icon,{className:"h-5 w-5","aria-hidden":!0})}),a.jsx("h3",{className:"font-display text-sm font-bold text-white",children:e.title}),a.jsx("p",{className:"text-xs text-white/50 leading-relaxed text-center",children:e.desc})]},t))}),a.jsx(u4,{text:"Aplicar ahora",className:"pt-4"}),a.jsx(sie,{text:"Preguntar por WhatsApp",className:"pt-3"})]})]})})})]}),lie="/assets/reel-remarketing-DK1K1nsK.mp4",uie="/assets/reel-thumbnail-ZkeyzFDS.png",Bp=[{quote:"Pasé de 4 meses sin entrevistas a firmar contrato en 6 semanas gracias al acompañamiento de mi Career Coach.",highlight:"Contrato firmado en 6 semanas",context:"Candidata con resultados concretos",time:"8:42"},{quote:"Ayer me llegó la propuesta de TERAN como a las 5 y me mandaron mensaje hoy como 8:30 que si ya la revisé pero tengo la entrevista con Ganem a las 11, siento que TERAN quiere una respuesta ya.",highlight:"Múltiples ofertas laborales",context:"Candidata recibiendo propuestas de trabajo",time:"9:15"},{quote:"Me ayudaste demasiado en este proceso que sentÃa que me iba a tardar demasiado jajaja. Muchas gracias por tanto de verdad.",highlight:"Proceso más rápido de lo esperado",context:"Candidata agradeciendo el acompañamiento",time:"10:03"},{quote:"Hoy es mi primer dÃa en un nuevo trabajo! Me tomó como seis meses pero no se desanimen, ¡sà se puede! Háganle mucho caso a sus Career Coaches, fue un gran apoyo para mÃ, muchas gracias comunidad.",highlight:"Primer dÃa de trabajo",context:"Candidato celebrando su nuevo empleo",time:"11:28"},{quote:"Mi primer dÃa estuvo increÃble!! Oficialmente ya soy parte del equipo, hoy firmé :) Me gustó mucho todo!",highlight:"Primer dÃa de trabajo",context:"Candidato celebrando su primer dÃa laboral",time:"14:50"},{quote:"Muy buen servicio y apoyo durante el proceso, mantienen comunicación muy transparente y ayuda mucho a perfilar tus aplicaciones.",highlight:"Servicio excepcional",context:"Candidato destacando la calidad del acompañamiento",time:"16:22"}],die=()=>{const[e,t]=j.useState(0),n=j.useRef(null),r=j.useRef(null),[i,s]=j.useState(!1);j.useEffect(()=>{const u=setInterval(()=>{t(d=>(d+1)%Bp.length)},5e3);return()=>clearInterval(u)},[]),j.useEffect(()=>{const u=r.current,d=n.current;if(!u||!d)return;const p=new IntersectionObserver(([h])=>{h.isIntersecting?(d.muted=!1,d.play().then(()=>s(!0)).catch(()=>{})):d.muted=!0}
608,{threshold:.5});return p.observe(u),()=>p.disconnect()},[]);const o=()=>{t(u=>(u-1+Bp.length)%Bp.length)},c=()=>{t(u=>(u+1)%Bp.length)},l=u=>{t(u)};return a.jsxs("section",{ref:r,className:"py-10 md:py-14 relative overflow-clip",style:{background:"linear-gradient(135deg, #e8f8f9 0%, #f4f6f9 50%, #f0f9ff 100%)"},children:[a.jsx("div",{className:"landing-orb w-[600px] h-[600px] -bottom-[150px] -right-[150px]",style:{background:"rgba(0, 194, 203, 0.10)",filter:"blur(100px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-6",children:[a.jsxs("h2",{className:"font-display text-3xl md:text-4xl font-extrabold mb-1.5 text-[#0D1B2A]",children:["De meses sin respuesta a"," ",a.jsx("span",{className:"text-primary",children:"firmar contrato"})]}),a.jsx("p",{className:"text-sm text-[#64748B]",children:"Historias reales de profesionales que ya dieron el cambio"})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[2fr_3fr] gap-6 items-center",children:[a.jsx("div",{className:"flex justify-center",children:a.jsxs("div",{className:"w-full max-w-[260px] aspect-[9/16] rounded-xl overflow-hidden relative",children:[a.jsx("div",{className:"absolute inset-0 bg-primary/[0.12] rounded-xl blur-[40px] pointer-events-none","aria-hidden":!0}),a.jsx("video",{ref:n,src:lie,poster:uie,loop:!0,muted:!0,playsInline:!0,className:"w-full h-full object-cover relative z-10 rounded-xl",onPlay:()=>s(!0),onPause:()=>s(!1)}),!i&&a.jsx("button",{onClick:()=>{const u=n.current;u&&(u.muted=!1,u.play().then(()=>s(!0)).catch(()=>{}))},className:"absolute inset-0 z-20 flex items-center justify-center bg-black/20 rounded-xl transition-opacity hover:bg-black/30 cursor-pointer","aria-label":"Reproducir video",children:a.jsx("div",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-white/90 shadow-lg transition-transform hover:scale-110",children:a.jsx(pi,{className:"h-6 w-6 text-primary ml-0.5",fill:"currentColor"})})})]})}),a.jsxs("div",{className:"relative",children:[a.jsx(Ce,{variant:"ghost",size:"icon",onClick:o,className:"absolute left-0 top-1/2 -translate-y-1/2 -translate-x-2 z-20 rounded-full size-9",style:{background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(0, 194, 203, 0.2)",boxShadow:"0 4px 12px rgba(0,0,0,0.08)",color:"#0D1B2A"},onMouseEnter:u=>{u.currentTarget.style.borderColor="#00C2CB",u.currentTarget.style.boxShadow="0 4px 16px rgba(0,194,203,0.2)"},onMouseLeave:u=>{u.currentTarget.style.borderColor="rgba(0,194,203,0.2)",u.currentTarget.style.boxShadow="0 4px 12px rgba(0,0,0,0.08)"},children:a.jsx(UQ,{className:"w-4 h-4"})}),a.jsx(Ce,{variant:"ghost",size:"icon",onClick:c,className:"absolute right-0 top-1/2 -translate-y-1/2 translate-x-2 z-20 rounded-full size-9",style:{background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(0, 194, 203, 0.2)",boxShadow:"0 4px 12px rgba(0,0,0,0.08)",color:"#0D1B2A"},onMouseEnter:u=>{u.currentTarget.style.borderColor="#00C2CB",u.currentTarget.style.boxShadow="0 4px 16px rgba(0,194,203,0.2)"},onMouseLeave:u=>{u.currentTarget.style.borderColor="rgba(0,194,203,0.2)",u.currentTarget.style.boxShadow="0 4px 12px rgba(0,0,0,0.08)"},children:a.jsx(ny,{className:"w-4 h-4"})}),a.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{background:"rgba(255, 255, 255, 0.85)",backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.95)",boxShadow:"0 8px 40px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,1)"},children:[a.jsx("div",{className:"flex items-center gap-2 px-4 py-2 bg-[#F8FAFC] border-b border-[#E2E8F0]",children:a.jsxs("div",{className:"flex items-center gap-1.5",children:[a.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-[#FF5F57]","aria-hidden":!0}),a.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-[#FEBC2E]","aria-hidden":!0}),a.jsx("span",{className:"w-2.5 h-2.5 rounded-full bg-[#28C840]","aria-hidden":!0})]})}),a.jsx("div",{className:"h-[180px] md:h-[200px] relative overflow-hidden",children:Bp.map((u,d)=>a.jsx("div",{className:"absolute inset-0 px-4 pt-3 pb-2 transition-opacity duration-300 ease-in-out pointer-events-none data-[visible]:pointer-events-auto",style:{opacity:d===e?1:0},"data-visible":d===e?!0:void 0,children:a.jsx("div",{className:"flex justify-start",children:a.jsxs("div",{className:"w-full max-w-[92%]",children:[a.jsx("p",{className:"text-xs text-[#94A3B8] mb-1 pl-1",children:u.context}),a.jsxs("div",{className:"relative rounded-2xl rounded-bl-md py-2.5 px-3.5 bg-[#F4F6F9] border border-[#
608E2E8F0]",children:[a.jsx("p",{className:"text-[14px] text-[#0D1B2A] leading-[1.4] select-text",children:u.quote}),a.jsx("div",{className:"flex justify-end items-center gap-1 mt-1.5",children:a.jsx("span",{className:"text-[11px] text-[#94A3B8] tabular-nums",children:u.time})})]}),a.jsx("p",{className:"text-[11px] text-primary mt-1 pl-1 font-medium",children:u.highlight})]})})},d))})]}),a.jsx("div",{className:"flex justify-center gap-1.5 mt-4",children:Bp.map((u,d)=>a.jsx("button",{onClick:()=>l(d),className:`h-1.5 rounded-full transition-all duration-300 ${d===e?"bg-primary w-5":"bg-[#CBD5E1] hover:bg-[#94A3B8] w-1.5"}`,"aria-label":`Ver testimonio ${d+1}`},d))})]})]}),a.jsxs("p",{className:"mt-5 text-center text-sm text-[#64748B]",children:[a.jsx("span",{className:"font-semibold text-primary",children:"+320"})," ","profesionales han acelerado su búsqueda con Emplicity"]}),a.jsx(u4,{text:"Aplicar ahora"})]})})]})},pie=()=>{const[e,t]=j.useState(7),[n,r]=j.useState({hours:0,minutes:0,seconds:0});j.useEffect(()=>{const o=()=>{const u=new Date().getDay(),d=u===0?7:7-u;t(d)};o();const c=setInterval(o,1e3*60*60);return()=>clearInterval(c)},[]),j.useEffect(()=>{const o=()=>{const l=new Date,u=new Date(l);u.setHours(23,59,59,999);const d=u.getTime()-l.getTime();r({hours:Math.floor(d/36e5),minutes:Math.floor(d/6e4%60),seconds:Math.floor(d/1e3%60)})};o();const c=setInterval(o,1e3);return()=>clearInterval(c)},[]);const i=o=>String(o).padStart(2,"0"),s=Xt();return a.jsxs("div",{className:"relative overflow-hidden bg-gradient-to-r from-primary via-[hsl(190_90%_35%)] to-primary shadow-md",children:[a.jsx("div",{className:"absolute inset-0 pointer-events-none","aria-hidden":!0,children:a.jsx("div",{className:"absolute inset-0 animate-shimmer bg-gradient-to-r from-transparent via-white/[0.12] to-transparent w-1/2"})}),a.jsx("div",{className:"container mx-auto px-3 py-1.5 sm:py-2 relative z-10",children:a.jsxs("div",{className:"flex items-center justify-center gap-3 sm:gap-5 flex-wrap",children:[a.jsx("span",{className:"text-white font-semibold text-[11px] sm:text-xs",children:"â³ Cierre de cohorte en"}),a.jsxs("div",{className:"flex items-center gap-1 text-white font-display font-bold text-[11px] sm:text-xs tabular-nums",children:[a.jsxs("span",{className:"bg-black/20 rounded-md px-2 py-0.5 backdrop-blur-sm",children:[e,"d"]}),a.jsx("span",{className:"text-white/60",children:":"}),a.jsxs("span",{className:"bg-black/20 rounded-md px-2 py-0.5 backdrop-blur-sm",children:[i(n.hours),"h"]}),a.jsx("span",{className:"text-white/60",children:":"}),a.jsxs("span",{className:"bg-black/20 rounded-md px-2 py-0.5 backdrop-blur-sm",children:[i(n.minutes),"m"]}),a.jsx("span",{className:"text-white/60",children:":"}),a.jsxs("span",{className:"bg-black/20 rounded-md px-2 py-0.5 backdrop-blur-sm",children:[i(n.seconds),"s"]})]}),a.jsx("span",{className:"text-white/70 text-[11px] sm:text-xs hidden sm:inline",children:"· Más de 40 personas ya aplicaron esta semana"}),a.jsxs(Ce,{onClick:()=>s("/apply"),size:"sm",className:"h-6 px-2.5 text-[11px] bg-white text-primary hover:bg-white/90 font-semibold shadow-sm rounded-md",children:["Aplica gratis hoy",a.jsx(Gt,{className:"w-3 h-3 ml-1","aria-hidden":!0})]})]})})]})},fie=()=>{const e=Xt();return a.jsxs("section",{id:"cta-final",className:"py-14 md:py-20 relative overflow-clip",style:{background:"linear-gradient(135deg, #00C2CB 0%, #00A8B0 40%, #0090A0 100%)"},children:[a.jsx("div",{className:"landing-orb w-[400px] h-[400px] -top-[100px] -left-[100px]",style:{background:"rgba(255, 255, 255, 0.08)",filter:"blur(80px)"},"aria-hidden":!0}),a.jsx("div",{className:"landing-orb w-[300px] h-[300px] -bottom-[80px] -right-[80px]",style:{background:"rgba(255, 255, 255, 0.06)",filter:"blur(60px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center space-y-6",children:[a.jsxs("h2",{className:"font-display text-2xl sm:text-3xl md:text-4xl font-extrabold text-white leading-tight",children:["La próxima cohorte empieza pronto."," ",a.jsx("span",{className:"text-white/90",children:"¿Vas a estar en ella?"})]}),a.jsx("p",{className:"text-base text-white/70 max-w-xl mx-auto",children:"Aplica en 30 segundos. Un Career Coach te contactará hoy."}),a.jsxs(Ce,{size:"lg",onClick:()=>e("/apply"),className:"h-13 px-10 rounded-xl bg-white text-[#0090A0] hover:bg-white/[0.92] font-bold text-lg py-3.5 border-none transition-all duration-200",style:{boxShadow:"0 4px 20px rgba(0,0,0,0.15)"},onMouseEnter:t=>{t.currentTarget.style.boxShadow="0 8px 32px rgba(0,0,0,0.2)",t.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:t=>{t.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.15)",t.currentTarget.style.transform="translateY(0)"},children:["SÃ, quiero conseguir trabajo",a.jsx(Gt,{className:"ml-2 h-5 w-5","aria-hidden":!0})]}),a.jsx("p",{className:"text-xs text-white/[0.75]",children:"Sin pagos hasta que firmes tu contrato · Respuesta en menos de 24 h · Sin riesgo"})]})})]})};var d4="Collapsible",[hie,CF]=Es(d4),[mie,p4]=hie(d4),EF=j.forwardRef((e,t)=>
608{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:s,onOpenChange:o,...c}=e,[l=!1,u]=Vi({prop:r,defaultProp:i,onChange:o});return a.jsx(mie,{scope:n,disabled:s,contentId:fi(),open:l,onOpenToggle:j.useCallback(()=>u(d=>!d),[u]),children:a.jsx(Nt.div,{"data-state":h4(l),"data-disabled":s?"":void 0,...c,ref:t})})});EF.displayName=d4;var SF="CollapsibleTrigger",DF=j.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=p4(SF,n);return a.jsx(Nt.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":h4(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:Je(e.onClick,i.onOpenToggle)})});DF.displayName=SF;var f4="CollapsibleContent",AF=j.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=p4(f4,e.__scopeCollapsible);return a.jsx(Xa,{present:n||i.open,children:({present:s})=>a.jsx(gie,{...r,ref:t,present:s})})});AF.displayName=f4;var gie=j.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...s}=e,o=p4(f4,n),[c,l]=j.useState(r),u=j.useRef(null),d=Zt(t,u),p=j.useRef(0),h=p.current,f=j.useRef(0),v=f.current,m=o.open||c,y=j.useRef(m),g=j.useRef();return j.useEffect(()=>{const x=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(x)},[]),ra(()=>{const x=u.current;if(x){g.current=g.current||{transitionDuration:x.style.transitionDuration,animationName:x.style.animationName},x.style.transitionDuration="0s",x.style.animationName="none";const b=x.getBoundingClientRect();p.current=b.height,f.current=b.width,y.current||(x.style.transitionDuration=g.current.transitionDuration,x.style.animationName=g.current.animationName),l(r)}},[o.open,r]),a.jsx(Nt.div,{"data-state":h4(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!m,...s,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":v?`${v}px`:void 0,...e.style},children:m&&i})});function h4(e){return e?"open":"closed"}var xie=EF,yie=DF,vie=AF,bie=j.createContext(void 0);function Xh(e){const t=j.useContext(bie);return e||t||"ltr"}var al="Accordion",wie=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[m4,jie,_ie]=Zx(al),[i2,j_e]=Es(al,[_ie,CF]),g4=CF(),kF=Ue.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,s=r;return a.jsx(m4.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?a.jsx(Sie,{...s,ref:t}):a.jsx(Eie,{...i,ref:t})})});kF.displayName=al;var[TF,Nie]=i2(al),[PF,Cie]=i2(al,{collapsible:!1}),Eie=Ue.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:s=!1,...o}=e,[c,l]=Vi({prop:n,defaultProp:r,onChange:i});return a.jsx(TF,{scope:e.__scopeAccordion,value:c?[c]:[],onItemOpen:l,onItemClose:Ue.useCallback(()=>s&&l(""),[s,l]),children:a.jsx(PF,{scope:e.__scopeAccordion,collapsible:s,children:a.jsx(LF,{...o,ref:t})})})}),Sie=Ue.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...s}=e,[o=[],c]=Vi({prop:n,defaultProp:r,onChange:i}),l=Ue.useCallback(d=>c((p=[])=>[...p,d]),[c]),u=Ue.useCallback(d=>c((p=[])=>p.filter(h=>h!==d)),[c]);return a.jsx(TF,{scope:e.__scopeAccordion,value:o,onItemOpen:l,onItemClose:u,children:a.jsx(PF,{scope:e.__scopeAccordion,collapsible:!0,children:a.jsx(LF,{...s,ref:t})})})}),[Die,s2]=i2(al),LF=Ue.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:s="vertical",...o}=e,c=Ue.useRef(null),l=Zt(c,t),u=jie(n),p=Xh(i)==="ltr",h=Je(e.onKeyDown,f=>{var w;if(!wie.includes(f.key))return;const v=f.target,m=u().filter(S=>{var k;return!((k=S.ref.current)!=null&&k.disabled)}),y=m.findIndex(S=>S.ref.current===v),g=m.length;if(y===-1)return;f.preventDefault();let x=y;const b=0,_=g-1,E=()=>{x=y+1,x>_&&(x=b)},T=()=>{x=y-1,x<b&&(x=_)};switch(f.key){case"Home":x=b;break;case"End":x=_;break;case"ArrowRight":s==="horizontal"&&(p?E():T());break;case"ArrowDown":s==="vertical"&&E();break;case"ArrowLeft":s==="horizontal"&&(p?T():E());break;case"ArrowUp":s==="vertical"&&T();break}const A=x%g;(w=m[A].ref.current)==null||w.focus()});return a.jsx(Die,{scope:n,disabled:r,direction:i,orientation:s,children:a.jsx(m4.Slot,{scope:n,children:a.jsx(Nt.div,{...o,"data-orientation":s,ref:l,onKeyDown:r?void 0:h})})})}),O0="AccordionItem",[Aie,x4]=i2(O0),RF=Ue.forwardRef((e,t)=>
608{const{__scopeAccordion:n,value:r,...i}=e,s=s2(O0,n),o=Nie(O0,n),c=g4(n),l=fi(),u=r&&o.value.includes(r)||!1,d=s.disabled||e.disabled;return a.jsx(Aie,{scope:n,open:u,disabled:d,triggerId:l,children:a.jsx(xie,{"data-orientation":s.orientation,"data-state":qF(u),...c,...i,ref:t,disabled:d,open:u,onOpenChange:p=>{p?o.onItemOpen(r):o.onItemClose(r)}})})});RF.displayName=O0;var OF="AccordionHeader",IF=Ue.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=s2(al,n),s=x4(OF,n);return a.jsx(Nt.h3,{"data-orientation":i.orientation,"data-state":qF(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});IF.displayName=OF;var B3="AccordionTrigger",UF=Ue.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=s2(al,n),s=x4(B3,n),o=Cie(B3,n),c=g4(n);return a.jsx(m4.ItemSlot,{scope:n,children:a.jsx(yie,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...c,...r,ref:t})})});UF.displayName=B3;var FF="AccordionContent",MF=Ue.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=s2(al,n),s=x4(FF,n),o=g4(n);return a.jsx(vie,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});MF.displayName=FF;function qF(e){return e?"open":"closed"}var kie=kF,Tie=RF,Pie=IF,BF=UF,zF=MF;const ho=kie,Ss=j.forwardRef(({className:e,...t},n)=>a.jsx(Tie,{ref:n,className:lt("border-b",e),...t}));Ss.displayName="AccordionItem";const Ds=j.forwardRef(({className:e,children:t,...n},r)=>a.jsx(Pie,{className:"flex",children:a.jsxs(BF,{ref:r,className:lt("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,a.jsx(Zs,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Ds.displayName=BF.displayName;const As=j.forwardRef(({className:e,children:t,...n},r)=>a.jsx(zF,{ref:r,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:a.jsx("div",{className:lt("pb-4 pt-0",e),children:t})}));As.displayName=zF.displayName;const Lie=()=>{const e=[{question:"¿Cuánto cuesta Emplicity y cuándo tengo que pagar?",answer:"No pagas nada mientras estás en el proceso. El costo del programa equivale a un mes de tu sueldo bruto en tu nuevo trabajo y se cobra únicamente cuando ya firmaste tu contrato. Si quieres, puedes dividirlo en hasta 3 pagos sin intereses."},{question:"¿Qué pasa si termino el proceso y no consigo trabajo?",answer:"Puedes darte de baja dentro de las primeras 24 horas si sientes que el programa no es para ti. No existe ningún cargo en ese periodo."},{question:"¿Cuál es la garantÃa del programa de empleabilidad?",answer:"La garantÃa es que no pagas nada por adelantado. Solo existe pago si el programa cumple su objetivo: ayudarte a conseguir trabajo. Es un modelo de pago al éxito."},{question:"¿Cuánto dura el programa de empleabilidad?",answer:"El programa tiene una duración de 4 meses. Durante este tiempo accedes a la plataforma, sesiones grupales semanales, comunidad exclusiva y acompañamiento de Career Coaches para avanzar paso a paso hasta conseguir trabajo."},{question:"¿Funciona si llevo mucho tiempo sin trabajar, si soy recién egresado o si quiero cambiar de carrera?",answer:"SÃ. El programa está diseña
608do para profesionales en distintas etapas de su carrera, incluyendo recién egresados y personas en transición. Tu Career Coach personaliza la estrategia según tu perfil, experiencia y objetivos.",richAnswer:a.jsxs("span",{children:["SÃ. El programa está diseñado para profesionales en distintas etapas de su carrera, incluyendo recién egresados y personas en transición. Tu Career Coach personaliza la estrategia según tu perfil, experiencia y objetivos. Consulta nuestras páginas de"," ",a.jsx(je,{to:"/primer-empleo",className:"text-primary hover:underline font-semibold",children:"primer empleo"})," y"," ",a.jsx(je,{to:"/cambio-de-carrera",className:"text-primary hover:underline font-semibold",children:"cambio de carrera"}),"."]})},{question:"¿En qué paÃses opera Emplicity? ¿Puedo acceder desde México, Colombia, Perú o Chile?",answer:"Actualmente, el programa está disponible para personas que buscan empleo en México, Colombia, Perú y Chile, con estrategias adaptadas a cada mercado laboral."},{question:"¿En qué se diferencia Emplicity de una agencia de empleo o bolsa de trabajo?",answer:"En Emplicity no pagas por cursos genéricos ni promesas. Trabajas con una metodologÃa creada por expertos y acompañamiento humano real. Solo pagas si consigues trabajo."},{question:"¿Qué relación tiene Emplicity con LaPieza?",answer:"Emplicity es la evolución del programa de empleabilidad que anteriormente operaba como Academy by LaPieza, conservando el know-how y experiencia acumulada desde 2020 bajo una metodologÃa enfocada 100% en empleabilidad."},{question:"¿Cómo conseguir trabajo más rápido con IA y Career Coach?",answer:"Emplicity combina inteligencia artificial con Career Coaches humanos para acelerar tu búsqueda de empleo. La IA optimiza tu CV para filtros ATS, simula entrevistas y sugiere vacantes. Tu Career Coach diseña la estrategia, revisa tu perfil y te acompaña hasta que firmes contrato. El promedio de colocación es de 2.5 meses.",richAnswer:a.jsxs("span",{children:["Emplicity combina inteligencia artificial con Career Coaches humanos para acelerar tu búsqueda de empleo. La IA optimiza tu CV para filtros ATS, simula entrevistas y sugiere vacantes. Tu Career Coach diseña la estrategia, revisa tu perfil y te acompaña hasta que firmes contrato. El promedio de colocación es de 2.5 meses. Conoce más sobre el"," ",a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"programa de empleabilidad"}),"."]})},{question:"¿Qué es un Career Coach y cómo ayuda a conseguir empleo?",answer:"Un Career Coach es un profesional experto en empleabilidad que te guÃa paso a paso: diagnostica tu perfil, optimiza tu CV y LinkedIn, te prepara para entrevistas y te acompaña en la negociación salarial. A diferencia de una agencia, el coach trabaja para ti, no para la empresa.",richAnswer:a.jsxs("span",{children:["Un Career Coach es un profesional experto en empleabilidad que te guÃa paso a paso: diagnostica tu perfil, optimiza tu CV y LinkedIn, te prepara para entrevistas y te acompaña en la negociación salarial. A diferencia de una agencia, el coach trabaja para ti, no para la empresa. Lee más en nuestro artÃculo"," ",a.jsx(je,{to:"/blog/que-es-un-career-coach",className:"text-primary hover:underline font-semibold",children:"¿Qué es un Career Coach?"})," o conoce a"," ",a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"nuestros coaches"}),"."]})},{question:"¿Sirve Emplicity para conseguir trabajo remoto u home office?",answer:"SÃ. Emplicity te prepara para competir por vacantes remotas con CV en inglés y español, LinkedIn orientado a recruiters globales, simulaciones de entrevistas en inglés y negociación salarial remota. Muchos de nuestros candidatos consiguen posiciones home office en empresas de México, Colombia, Perú, Chile y Estados Unidos.",richAnswer:a.jsxs("span",{children:["SÃ. Emplicity te prepara para competir por vacantes remotas con CV en inglés y español, LinkedIn orientado a recruiters globales, simulaciones de entrevistas en inglés y negociación salarial remota. Muchos de nuestros candidatos consiguen posiciones home office en empresas de México, Colombia, Perú, Chile y Estados Unidos. Descubre más en"," ",a.jsx(je,{to:"/trabajo-remoto",className:"text-primary hover:underline font-semibold",children:"trabajo remoto con Emplicity"}),"."]})},{question:"¿Emplicity ofrece outplacement para empresas?",answer:"SÃ. Emplicity ofrece programas de outplacement y recolocación laboral para empresas en México, Colombia, Perú y Chile. Acompañamos a tus colaboradores en transición con Career Coach 1 a 1 más herramientas de IA, cuidando tu marca empleadora.",richAnswer:a.jsxs("span",{children:["SÃ. Ofre
608cemos programas de outplacement y recolocación laboral para empresas en LATAM. Acompañamos a tus colaboradores en transición con Career Coach 1 a 1 más herramientas de IA, cuidando tu marca empleadora. Conoce el programa"," ",a.jsx(je,{to:"/para-empresas",className:"text-primary hover:underline font-semibold",children:"para empresas"}),"."]})},{question:"¿Qué hago si me acaban de despedir?",answer:"Tómate 24 a 48 horas antes de tomar decisiones, revisa tu finiquito, actualiza CV y LinkedIn, define tu plan de búsqueda y considera el apoyo de un Career Coach para acelerar tu recolocación.",richAnswer:a.jsxs("span",{children:["Tómate 24 a 48 horas antes de tomar decisiones, revisa tu finiquito, actualiza CV y LinkedIn y define tu plan de búsqueda. Te dejamos la guÃa paso a paso en"," ",a.jsx(je,{to:"/blog/que-hacer-despues-de-un-despido",className:"text-primary hover:underline font-semibold",children:"qué hacer después de un despido"})," ","y, si quieres acelerar tu recolocación, conoce a nuestro"," ",a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coach"}),"."]})}];return a.jsxs(a.Fragment,{children:[a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))})}}),a.jsxs("section",{className:"py-14 md:py-16 relative overflow-clip",style:{background:"linear-gradient(180deg, #f4f6f9 0%, #eef9fa 100%)"},children:[a.jsx("div",{className:"landing-orb w-[500px] h-[500px] -top-[100px] left-1/2 -translate-x-1/2",style:{background:"rgba(0, 194, 203, 0.08)",filter:"blur(100px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsxs("div",{className:"max-w-2xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("div",{className:"inline-flex items-center justify-center w-11 h-11 rounded-full bg-primary/10 text-primary mb-4",children:a.jsx(lp,{className:"w-5 h-5","aria-hidden":!0})}),a.jsxs("h2",{className:"font-display text-2xl md:text-3xl font-extrabold text-[#0D1B2A] mb-2",children:["Seguramente tienes estas dudas."," ",a.jsx("span",{className:"text-primary",children:"Aquà están las respuestas."})]})]}),a.jsx(ho,{type:"single",collapsible:!0,className:"space-y-2",children:e.map((t,n)=>a.jsxs(Ss,{value:`item-${n}`,className:"rounded-xl px-4 transition-all duration-200 data-[state=open]:border-l-[3px] data-[state=open]:border-l-primary hover:shadow-[0_2px_8px_rgba(0,0,0,0.07)]",style:{background:"rgba(255, 255, 255, 0.8)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.9)",boxShadow:"0 2px 8px rgba(0,0,0,0.04)"},children:[a.jsx(Ds,{className:"text-left font-semibold text-sm text-[#0D1B2A] hover:text-primary hover:no-underline py-4 [&[data-state=open]>svg]:rotate-180 [&>svg]:text-primary",children:t.question}),a.jsx(As,{className:"text-[#64748B] leading-relaxed text-sm pb-4 pr-6",children:t.richAnswer||t.answer})]},n))})]})})]})]})},Rie=[{to:"/buscar-trabajo",title:"Cómo buscar trabajo",desc:"Estrategia paso a paso para conseguir empleo más rápido en LATAM.",Icon:I1},{to:"/career-coach",title:"Career Coach",desc:"Acompañamiento humano experto hasta que firmes contrato.",Icon:ME},{to:"/programa-empleabilidad",title:"Programa de empleabilidad",desc:"MetodologÃa completa con IA y coaching personalizado.",Icon:xs},{to:"/trabajo-remoto",title:"Trabajo remoto",desc:"Accede al mercado regional e internacional desde LATAM.",Icon:zQ},{to:"/primer-empleo",title:"Primer empleo",desc:"Estrategia para recién egresados y sin experiencia.",Icon:$7},{to:"/cambio-de-carrera",title:"Cambio de carrera",desc:"Transiciona a una nueva industria con un plan claro.",Icon:el},{to:"/para-empresas",title:"Outplacement para empresas",desc:"Programas de recolocación laboral con Career Coach + IA para tus colaboradores.",Icon:tl}],Oie=()=>a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-3",children:"Recursos para conseguir trabajo más rápido"}),a.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"GuÃas y rutas accionables para cada momento de tu búsqueda."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:Rie.map(({to:e,title:t,desc:n,Icon:r})=>a.jsxs(je,{to:e,className:"group rounded-2xl border border-border bg-card p-6 hover:border-primary/40 hover:shadow-lg transition-all",children:[a.jsx("div",{className:"w-11 h-11 rounded-xl bg-primary/10 text-primary flex items-center justify-center mb-4",children:a.jsx(r,{className:"w-5 h-5"})}),a.jsx("h3",{className:"font-display text-lg font-bold mb-2 group-hover:text-primary transition-colors",children:t}),a.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-4",children:n}),a.jsxs("span",{className:"inline-flex items-center gap-1 text-sm text-primary font-semibold",children:["Ver más ",a.jsx(Gt,{className:"w-3.5 h-3.5 group-hover:translate-x-0.5 transition-transform"})]})]},e))})]})})}),Iie=()=>a.jsx("section",{className:"py-16 md:py-20 bg-muted/40",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"max-w-5xl mx-auto rounded-3xl border border-border bg-card p-8 md:p-12",children:a.jsxs("div",{className:"flex flex-col md:flex-row items-start md:items-center gap-6 md:gap-10",children:[a.jsx("div",{className:"w-14 h-14 roun
608ded-2xl bg-primary/10 text-primary flex items-center justify-center shrink-0",children:a.jsx(tl,{className:"w-7 h-7"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-3",children:"¿Eres una empresa? Programa de outplacement con Emplicity"}),a.jsx("p",{className:"text-muted-foreground",children:"Acompañamos a tus colaboradores en transición con Career Coach 1 a 1 más herramientas de IA en México, Colombia, Perú y Chile. Cuida tu marca empleadora y acelera la recolocación."})]}),a.jsx(Ce,{asChild:!0,size:"lg",variant:"outline",className:"shrink-0",children:a.jsxs(je,{to:"/para-empresas",children:["Conocer más ",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]})})]})})})}),Uie=()=>{const e=[{name:"Alexa Villegas",role:"COO",color:"from-secondary to-primary",image:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/Academy%2FImagenesACA%20(4).png?alt=media&token=a3909034-19b9-47cf-9406-94513209f52b",linkedin:"https://www.linkedin.com/in/alexa-villegas-236506199"},{name:"Tulia Valdez",role:"Career Coach Lead",color:"from-primary to-secondary",image:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/Academy%2FImagenesACA%20(2).png?alt=media&token=c89bf144-96f6-47bd-b781-2f89ccccded1",linkedin:"https://www.linkedin.com/in/tuliavaldez/"},{name:"Alejandra Isosorbe",role:"Sr. Career Coach",color:"from-secondary to-accent",image:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/Academy%2FImagenesACA%20(1).png?alt=media&token=fd8ef6c8-a2c5-4144-bd75-89d2e2afa5fe",linkedin:"https://www.linkedin.com/in/alejandra-isosorbe/"},{name:"Jossette GarcÃa",role:"Sr. Career Coach",color:"from-accent to-primary",image:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/Academy%2FImagenesACA.png?alt=media&token=b8183265-1880-4e82-9961-f5c3bf8cc104",linkedin:"https://www.linkedin.com/in/jossette-aurora/"},{name:"Fernanda Cano",role:"Marketing Manager",color:"from-secondary to-primary",image:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/Academy%2FImagenesACA%20(3).png?alt=media&token=ee6c8cfa-97f7-43c7-ba72-2d6bd971ff8c",linkedin:"https://www.linkedin.com/in/nandacano/"}];return a.jsxs("section",{className:"py-12 md:py-16 relative overflow-clip",style:{background:"linear-gradient(180deg, #ffffff 0%, #f8fdfe 100%)"},children:[a.jsx("div",{className:"landing-orb w-[800px] h-[800px] top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",style:{background:"rgba(0, 194, 203, 0.05)",filter:"blur(150px)"},"aria-hidden":!0}),a.jsx("div",{className:"container mx-auto px-4 relative z-[1]",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsxs("h2",{className:"font-display text-4xl lg:text-5xl font-black mb-3 text-[#0D1B2A]",children:["Las coaches que van a"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent",children:"trabajar contigo"})]}),a.jsx("p",{className:"text-base text-[#64748B] font-medium",children:"No eres un número en un sistema. Tienes un Career Coach real asignado desde el primer dÃa."})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",children:e.map((t,n)=>a.jsxs("div",{className:"group text-center p-6 rounded-[20px] transition-all duration-300",style:{background:"rgba(255, 255, 255, 0.9)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(0, 194, 203, 0.12)",boxShadow:"0 4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1)"},onMouseEnter:r=>{r.currentTarget.style.borderColor="rgba(0, 194, 203, 0.35)",r.currentTarget.style.boxShadow="0 12px 40px rgba(0, 194, 203, 0.12)",r.currentTarget.style.transform="translateY(-5px)"},onMouseLeave:r=>{r.currentTarget.style.borderColor="rgba(0, 194, 203, 0.12)",r.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,1)",r.currentTarget.style.transform="translateY(0)"},children:[a.jsx("div",{className:"w-16 h-16 mx-auto rounded-xl overflow-hidden mb-3 group-hover:scale-105 transition-transform duration-300",style:{border:"2.5px solid rgba(0, 194, 203, 0.5)",borderRadius:"50%",padding:"3px",background:"transparent"},children:a.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-cover rounded-full bg-transparent"})}),a.jsx("p",{className:"font-display font-bold text-sm mb-0.5 text-[#0D1B2A]",children:t.name}),a.jsx("p",{className:"text-xs text-primary font-medium mb-2",children:t.role}),t.linkedin&&a.jsx("a",{href:t.linkedin,target:"_blank",rel:"noopener noreferrer",children:a.jsxs(Ce,{variant:"outline",size:"sm",className:"text-[10px] h-7 px-2 gap-1 bg-transparent border-[1.5px] border-[#0077B5] text-[#0077B5] hover:bg-[#0077B5] hover:text-white transition-all duration-200",children:[a.jsx(up,{className:"w-3 h-3"}),"LinkedIn"]})})]},n))})]})})]})},Fie=()=>{const[e,t]=j.useState(!0),n=Xt();return j.useEffect(()=>{const r=document.getElementById("cta-final");if(!r)return;const i=new IntersectionObserver(s=>{const o=s.some(c=>c.isIntersecting);t(!o)},{threshold:.1});return i.observe(r),()=>i.disconnect()},[]),e?a.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-[999] md:hidden",children:a.jsx("div",{className:"bg-gradient-to-r from-primary to-[hsl(190_90%_35%)] py-3.5 px-4 shadow-[0_-4px_20px_rgba(0,0,0,0.3)]",children:a.jsxs(Ce,{onClick:()=>n("/apply"),className:"w-full h-11 bg-white text-[hsl(213_50%_10%)] hover:bg-white/90 font-bold text-base shadow-sm",children:["Aplicar gratis",a.jsx(Gt,{className:"ml-2 h-4 w-4","aria-hidden":!0})]})})}):null},Ki=()=>a.jsx("footer",{className:"text-white py-16 relative overflow-clip",style:{background:"linear-gradient(180deg, #0a1628 0%, #080e1c 100%)"},children:a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-5 ga
608p-8 mb-12",children:[a.jsxs("div",{className:"col-span-2 md:col-span-1",children:[a.jsx("div",{className:"mb-3",children:a.jsx("img",{src:NF,alt:"Emplicity",className:"h-10 w-auto"})}),a.jsx("p",{className:"text-white/60 text-sm mb-4",children:"El programa que te acompaña hasta que firmes contrato."}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx("a",{href:"https://www.instagram.com/emplicity.ai/",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-full bg-white/[0.06] border border-white/[0.12] flex items-center justify-center hover:bg-primary/20 hover:scale-110 transition-all",children:a.jsx(XQ,{className:"w-4 h-4 text-white"})}),a.jsx("a",{href:"https://www.tiktok.com/@emplicity.ai",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-full bg-white/[0.06] border border-white/[0.12] flex items-center justify-center hover:bg-primary/20 hover:scale-110 transition-all",children:a.jsx("svg",{className:"w-4 h-4 text-white",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z"})})}),a.jsx("a",{href:"https://www.linkedin.com/company/emplicity-ai",target:"_blank",rel:"noopener noreferrer",className:"w-9 h-9 rounded-full bg-white/[0.06] border border-white/[0.12] flex items-center justify-center hover:bg-primary/20 hover:scale-110 transition-all",children:a.jsx(up,{className:"w-4 h-4 text-white"})})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-display text-sm font-bold mb-3 text-white uppercase tracking-wider",children:"Recursos"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(je,{to:"/blog",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Blog"}),a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Cómo conseguir trabajo rápido"}),a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Preguntas y respuestas de entrevistas"}),a.jsx(je,{to:"/blog/como-hacer-cv-sin-experiencia",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"CV sin experiencia"}),a.jsx(je,{to:"/blog/carta-de-presentacion-ejemplos",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Carta de presentación"}),a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Negociar sueldo"}),a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Entrevistas"})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-display text-sm font-bold mb-3 text-white uppercase tracking-wider",children:"Ubicaciones"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"México"}),a.jsx(je,{to:"/conseguir-trabajo-monterrey",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Monterrey"}),a.jsx(je,{to:"/conseguir-trabajo-colombia",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Colombia"}),a.jsx(je,{to:"/conseguir-trabajo-peru",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Perú"}),a.jsx(je,{to:"/conseguir-trabajo-chile",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Chile"})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-display text-sm font-bold mb-3 text-white uppercase tracking-wider",children:"Para ti"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(je,{to:"/buscar-trabajo",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Buscar trabajo"}),a.jsx(je,{to:"/primer-empleo",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Primer empleo"}),a.jsx(je,{to:"/trabajo-remoto",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Trabajo remoto"}),a.jsx(je,{to:"/cambio-de-carrera",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Cambio de carrera"}),a.jsx(je,{to:"/career-coach",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Career Coach"}),a.jsx(je,{to:"/programa-empleabilidad",className:"block text-sm text-white/60 hover:text-primary transition-colors",children:"Programa"}),a.jsx(je,{to:"/para-empresas",className:"block text-sm text-primary hover:text-primary/80 font-semibold transition-colors",children:"Para empresas â Outplacement"})]})]}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-display text-sm font-bold mb-3 text-white uppercase tracking-wider",children:"Contacto"}),a.jsxs("div",{className:"space-y-2 text-sm text-white/60",children:[a.jsxs("p",{children:["Córdoba 95, Roma Norte",a.jsx("br",{}),"CDMX, 06700"]}),a.jsx("a",{href:"mailto:[email protected]",className:"block hover:text-primary transition-colors",children:"[email protected]"}),a.jsx("a",{href:"https://wa.me/523337872943",target:"_blank",rel:"noopener noreferrer",className:"block hover:text-primary transition-colors",children:"+52 33 3787 2943"})]}),a.jsxs("div",{className:"mt-4 space-y-1",children:[a.jsx("a",{href:"/terms-conditions",className:"block text-xs text-white/40 hover:text-primary transition-colors",children:"Términos y Condiciones"}),a.jsx("a",{href:"/privacity",className:"block text-xs text-white/40 hover:text-primary transition-colors",children:"PolÃtica de Privacidad"}),a.jsx("a",{href:"/usability",className:"block text-xs text-white/40 hover:text-primary transition-colors",children:"Usabilidad"})]})]})]}),a.jsxs("div",{className:"pt-8 border-t border-white/10 text-center",children:[a.jsxs("p",{className:"text-sm text-white/40",children:["© ",new Date().getFullYear()," Emplicity. Todos los derechos reservados."]}),a.jsx("p",{className:"mt-3 text-xs text-white/30 max-w-3xl mx-auto leading-relaxed",children:"Emplicity te ayuda a conseguir trabajo en México, Colombia, Perú y Chile con Career Coach + IA. También ofrecemos programas de outplacement para empresas que necesitan apoyar a sus colaboradores en transición laboral."})]})]})})});function FT(){return j.useEffect(()=>{const e=document.querySelectorAll(".fade-in-section"),t=new IntersectionObserver(n=>
vendor: 6,004 bytes, line 608
608{n.forEach(r=>{r.isIntersecting&&r.target.classList.add("is-visible")})},{threshold:.1,rootMargin:"0px 0px -40px 0px"});return e.forEach(n=>t.observe(n)),()=>t.disconnect()},[]),a.jsxs("div",{className:"min-h-screen bg-white relative",children:[a.jsx(mr,{canonicalPath:"/"}),a.jsxs("div",{className:"relative z-10",children:[a.jsx(pie,{}),a.jsx(Rr,{}),a.jsx(Vae,{}),a.jsx(Gae,{}),a.jsx("div",{className:"fade-in-section",children:a.jsx(aie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Qae,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Jae,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(cie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(die,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Uie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Lie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Oie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(Iie,{})}),a.jsx("div",{className:"fade-in-section",children:a.jsx(fie,{})}),a.jsx(Ki,{}),a.jsx(Fie,{})]})]})}var V5=0;function o2(){j.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??MT()),document.body.insertAdjacentElement("beforeend",e[1]??MT()),V5++,()=>{V5===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),V5--}},[])}function MT(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var H5="focusScope.autoFocusOnMount",G5="focusScope.autoFocusOnUnmount",qT={bubbles:!1,cancelable:!0},Mie="FocusScope",dy=j.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[c,l]=j.useState(null),u=Ea(i),d=Ea(s),p=j.useRef(null),h=Zt(t,m=>l(m)),f=j.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;j.useEffect(()=>{if(r){let m=function(b){if(f.paused||!c)return;const _=b.target;c.contains(_)?p.current=_:Ll(p.current,{select:!0})},y=function(b){if(f.paused||!c)return;const _=b.relatedTarget;_!==null&&(c.contains(_)||Ll(p.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const E of b)E.removedNodes.length>0&&Ll(c)};document.addEventListener("focusin",m),document.addEventListener("focusout",y);const x=new MutationObserver(g);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",y),x.disconnect()}}},[r,c,f.paused]),j.useEffect(()=>{if(c){zT.add(f);const m=document.activeElement;if(!c.contains(m)){const g=new CustomEvent(H5,qT);c.addEventListener(H5,u),c.dispatchEvent(g),g.defaultPrevented||(qie(Vie($F(c)),{select:!0}),document.activeElement===m&&Ll(c))}return()=>{c.removeEventListener(H5,u),setTimeout(()=>{const g=new CustomEvent(G5,qT);c.addEventListener(G5,d),c.dispatchEvent(g),g.defaultPrevented||Ll(m??document.body,{select:!0}),c.removeEventListener(G5,d),zT.remove(f)},0)}}},[c,u,d,f]);const v=j.useCallback(m=>{if(!n&&!r||f.paused)return;const y=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(y&&g){const x=m.currentTarget,[b,_]=Bie(x);b&&_?!m.shiftKey&&g===_?(m.preventDefault(),n&&Ll(b,{select:!0})):m.shiftKey&&g===b&&(m.preventDefault(),n&&Ll(_,{select:!0})):g===x&&m.preventDefault()}},[n,r,f.paused]);return a.jsx(Nt.div,{tabIndex:-1,...o,ref:h,onKeyDown:v})});dy.displayName=Mie;function qie(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ll(r,{select:t}),document.activeElement!==n)return}function Bie(e){const t=$F(e),n=BT(t,e),r=BT(t.reverse(),e);return[n,r]}function $F(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function BT(e,t){for(const n of e)if(!zie(n,{upTo:t}))return n}function zie(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function $ie(e){return e instanceof HTMLInputElement&&"select"in e}function Ll(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&$ie(e)&&t&&e.select()}}var zT=Wie();function Wie(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=$T(e,t),e.unshift(t)},remove(t){var n;e=$T(e,t),(n=e[0])==null||n.resume()}}}function $T(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Vie(e){return e.filter(t=>t.tagName!=="A")}function Hie(e,t=[]){let n=[];function r(s,o){const c=j.createContext(o),l=n.length;n=[...n,o];function u(p){const{scope:h,children:f,...v}=p,m=(h==null?void 0:h[e][l])||c,y=j.useMemo(()=>v,Object.values(v));return a.jsx(m.Provider,{value:y,children:f})}function d(p,h){const f=(h==null?void 0:h[e][l])||c,v=j.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,d]}const i=()=>{const s=n.map(o=>j.createContext(o));return function(c){const l=(c==null?void 0:c[e])||s;return j.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return i.scopeName=e,[r,Gie(i,...t)]}function Gie(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...c,...p}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var X5="rovingFocusGroup.onEntryFocus",Xie={bubbles:!1,cancelable:!0},c2="RovingFocusGroup",[z3,WF,Kie]=Zx(c2),[Yie,Kh]=Hie(c2,[Kie]),[Qie,Zie]=Yie(c2),VF=j.forwardRef((e,t)=>
vendor: 10,153 bytes, lines 608-623
608a.jsx(z3.Provider,{scope:e.__scopeRovingFocusGroup,children:a.jsx(z3.Slot,{scope:e.__scopeRovingFocusGroup,children:a.jsx(Jie,{...e,ref:t})})}));VF.displayName=c2;var Jie=j.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:s,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...p}=e,h=j.useRef(null),f=Zt(t,h),v=Xh(s),[m=null,y]=Vi({prop:o,defaultProp:c,onChange:l}),[g,x]=j.useState(!1),b=Ea(u),_=WF(n),E=j.useRef(!1),[T,A]=j.useState(0);return j.useEffect(()=>{const w=h.current;if(w)return w.addEventListener(X5,b),()=>w.removeEventListener(X5,b)},[b]),a.jsx(Qie,{scope:n,orientation:r,dir:v,loop:i,currentTabStopId:m,onItemFocus:j.useCallback(w=>y(w),[y]),onItemShiftTab:j.useCallback(()=>x(!0),[]),onFocusableItemAdd:j.useCallback(()=>A(w=>w+1),[]),onFocusableItemRemove:j.useCallback(()=>A(w=>w-1),[]),children:a.jsx(Nt.div,{tabIndex:g||T===0?-1:0,"data-orientation":r,...p,ref:f,style:{outline:"none",...e.style},onMouseDown:Je(e.onMouseDown,()=>{E.current=!0}),onFocus:Je(e.onFocus,w=>{const S=!E.current;if(w.target===w.currentTarget&&S&&!g){const k=new CustomEvent(X5,Xie);if(w.currentTarget.dispatchEvent(k),!k.defaultPrevented){const P=_().filter(I=>I.focusable),D=P.find(I=>I.active),R=P.find(I=>I.id===m),q=[D,R,...P].filter(Boolean).map(I=>I.ref.current);XF(q,d)}}E.current=!1}),onBlur:Je(e.onBlur,()=>x(!1))})})}),HF="RovingFocusGroupItem",GF=j.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,...o}=e,c=fi(),l=s||c,u=Zie(HF,n),d=u.currentTabStopId===l,p=WF(n),{onFocusableItemAdd:h,onFocusableItemRemove:f}=u;return j.useEffect(()=>{if(r)return h(),()=>f()},[r,h,f]),a.jsx(z3.ItemSlot,{scope:n,id:l,focusable:r,active:i,children:a.jsx(Nt.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...o,ref:t,onMouseDown:Je(e.onMouseDown,v=>{r?u.onItemFocus(l):v.preventDefault()}),onFocus:Je(e.onFocus,()=>u.onItemFocus(l)),onKeyDown:Je(e.onKeyDown,v=>{if(v.key==="Tab"&&v.shiftKey){u.onItemShiftTab();return}if(v.target!==v.currentTarget)return;const m=nse(v,u.orientation,u.dir);if(m!==void 0){if(v.metaKey||v.ctrlKey||v.altKey||v.shiftKey)return;v.preventDefault();let g=p().filter(x=>x.focusable).map(x=>x.ref.current);if(m==="last")g.reverse();else if(m==="prev"||m==="next"){m==="prev"&&g.reverse();const x=g.indexOf(v.currentTarget);g=u.loop?rse(g,x+1):g.slice(x+1)}setTimeout(()=>XF(g))}})})})});GF.displayName=HF;var ese={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function tse(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function nse(e,t,n){const r=tse(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ese[r]}function XF(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function rse(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var y4=VF,v4=GF,ase=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zp=new WeakMap,Kv=new WeakMap,Yv={},K5=0,KF=function(e){return e&&(e.host||KF(e.parentNode))},ise=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=KF(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},sse=function(e,t,n,r){var i=ise(t,Array.isArray(e)?e:[e]);Yv[n]||(Yv[n]=new WeakMap);var s=Yv[n],o=[],c=new Set,l=new Set(i),u=function(p){!p||c.has(p)||(c.add(p),u(p.parentNode))};i.forEach(u);var d=function(p){!p||l.has(p)||Array.prototype.forEach.call(p.children,function(h){if(c.has(h))d(h);else try{var f=h.getAttribute(r),v=f!==null&&f!=="false",m=(zp.get(h)||0)+1,y=(s.get(h)||0)+1;zp.set(h,m),s.set(h,y),o.push(h),m===1&&v&&Kv.set(h,!0),y===1&&h.setAttribute(n,"true"),v||h.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return d(t),c.clear(),K5++,function(){o.forEach(function(p){var h=zp.get(p)-1,f=s.get(p)-1;zp.set(p,h),s.set(p,f),h||(Kv.has(p)||p.removeAttribute(r),Kv.delete(p)),f||p.removeAttribute(n)}),K5--,K5||(zp=new WeakMap,zp=new WeakMap,Kv=new WeakMap,Yv={})}},py=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=ase(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),sse(r,i,n,"aria-hidden")):function(){return null}},ja=function(){return ja=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ja.apply(this,arguments)};function b4(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}function YF(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Rg="right-scroll-bar-position",Og="width-before-scroll-bar",ose="with-scroll-bars-hidden",cse="--removed-body-scroll-bar-size";function Y5(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function lse(e,t){var n=j.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var use=typeof window<"u"?j.useLayoutEffect:j.useEffect,WT=new WeakMap;function QF(e,t){var n=lse(null,function(r){return e.forEach(function(i){return Y5(i,r)})});return use(function(){var r=WT.get(n);if(r){var i=new Set(r),s=new Set(e),o=n.current;i.forEach(function(c){s.has(c)||Y5(c,null)}),s.forEach(function(c){i.has(c)||Y5(c,o)})}WT.set(n,e)},[e]),n}function dse(e){return e}function pse(e,t){t===void 0&&(t=dse);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(c){return c!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(c){return s(c)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var c=n;n=[],c.forEach(s),o=n}var l=function(){var d=o;o=[],d.forEach(s)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){o.push(d),u()},filter:function(d){return o=o.filter(d),n}}}};return i}function ZF(e){e===void 0&&(e={});var t=pse(null);return t.options=ja({async:!0,ssr:!1},e),t}var JF=function(e){var t=e.sideCar,n=b4(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return j.createElement(r,ja({},n))};JF.isSideCarExport=!0;function e9(e,t){return e.useMedium(t),JF}var t9=ZF(),Q5=function(){},l2=j.forwardRef(function(e,t){var n=j.useRef(null),r=j.useState({onScrollCapture:Q5,onWheelCapture:Q5,onTouchMoveCapture:Q5}),i=r[0],s=r[1],o=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,f=e.noIsolation,v=e.inert,m=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,x=e.gapMode,b=b4(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=h,E=QF([n,t]),T=ja(ja({},b),i);return j.createElement(j.Fragment,null,d&&j.createElement(_,{sideCar:t9,removeScrollBar:u,shards:p,noIsolation:f,inert:v,setCallbacks:s,allowPinchZoom:!!m,lockRef:n,gapMode:x}),o?j.cloneElement(j.Children.only(c),ja(ja({},T),{ref:E})):j.createElement(g,ja({},T,{className:l,ref:E}),c))});l2.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};l2.classNames={fullWidth:Og,zeroRight:Rg};var fse=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function hse(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=fse();return t&&e.setAttribute("nonce",t),e}function mse(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function gse(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var xse=function(){var e=0,t=null;return{add:function(n){e==0&&(t=hse())&&(mse(t,n),gse(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},yse=function(){var e=xse();return function(t,n){j.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w4=function(){var e=yse(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},vse={left:0,top:0,right:0,gap:0},Z5=function(e){return parseInt(e||"",10)||0},bse=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Z5(n),Z5(r),Z5(i)]},wse=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return vse;var t=bse(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},jse=w4(),$f="data-scroll-locked",_se=function(e,t,n,r){var i=e.left,s=e.top,o=e.right,c=e.gap;return n===void 0&&(n="margin"),` 609 .`.concat(ose,` { 610 overflow: hidden `).concat(r,`; 611 padding-right: `).concat(c,"px ").concat(r,`; 612 } 613 body[`).concat($f,`] { 614 overflow: hidden `).concat(r,`; 615 overscroll-behavior: contain; 616 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 617 padding-left: `.concat(i,`px; 618 padding-top: `).concat(s,`px; 619 padding-right: `).concat(o,`px; 620 margin-left:0; 621 margin-top:0; 622 margin-right: `).concat(c,"px ").concat(r,`; 623 `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";
623")].filter(Boolean).join(""),` 624 } 625 626 .`).concat(Rg,` { 627 right: `).concat(c,"px ").concat(r,`; 628 } 629 630 .`).concat(Og,` { 631 margin-right: `).concat(c,"px ").concat(r,`; 632 } 633 634 .`).concat(Rg," .").concat(Rg,` { 635 right: 0 `).concat(r,`; 636 } 637 638 .`).concat(Og," .").concat(Og,` { 639 margin-right: 0 `).concat(r,`; 640 } 641 642 body[`).concat($f,`] { 643 `).concat(cse,": ").concat(c,`px; 644 } 645`)},VT=function(){var e=parseInt(document.body.getAttribute($f)||"0",10);return isFinite(e)?e:0},Nse=function(){j.useEffect(function(){return document.body.setAttribute($f,(VT()+1).toString()),function(){var e=VT()-1;e<=0?document.body.removeAttribute($f):document.body.setAttribute($f,e.toString())}},[])},n9=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;Nse();var s=j.useMemo(function(){return wse(i)},[i]);return j.createElement(jse,{styles:_se(s,!t,i,n?"":"!important")})},$3=!1;if(typeof window<"u")try{var Qv=Object.defineProperty({},"passive",{get:function(){return $3=!0,!0}});window.addEventListener("test",Qv,Qv),window.removeEventListener("test",Qv,Qv)}catch{$3=!1}var $p=$3?{passive:!1}:!1,Cse=function(e){return e.tagName==="TEXTAREA"},r9=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Cse(e)&&n[t]==="visible")},Ese=function(e){return r9(e,"overflowY")},Sse=function(e){return r9(e,"overflowX")},HT=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=a9(e,r);if(i){var s=i9(e,r),o=s[1],c=s[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Dse=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Ase=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},a9=function(e,t){return e==="v"?Ese(t):Sse(t)},i9=function(e,t){return e==="v"?Dse(t):Ase(t)},kse=function(e,t){return e==="h"&&t==="rtl"?-1:1},Tse=function(e,t,n,r,i){var s=kse(e,window.getComputedStyle(t).direction),o=s*r,c=n.target,l=t.contains(c),u=!1,d=o>0,p=0,h=0;do{var f=i9(e,c),v=f[0],m=f[1],y=f[2],g=m-y-s*v;(v||g)&&a9(e,c)&&(p+=g,h+=v),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(d&&(Math.abs(p)<1||!i)||!d&&(Math.abs(h)<1||!i))&&(u=!0),u},Zv=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},GT=function(e){return[e.deltaX,e.deltaY]},XT=function(e){return e&&"current"in e?e.current:e},Pse=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Lse=function(e){return` 646 .block-interactivity-`.concat(e,` {pointer-events: none;} 647 .allow-interactivity-`).concat(e,` {pointer-events: all;} 648`)},Rse=0,Wp=[];function Ose(e){var t=j.useRef([]),n=j.useRef([0,0]),r=j.useRef(),i=j.useState(Rse++)[0],s=j.useState(w4)[0],o=j.useRef(e);j.useEffect(function(){o.current=e},[e]),j.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var m=YF([e.lockRef.current],(e.shards||[]).map(XT),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=j.useCallback(function(m,y){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!o.current.allowPinchZoom;var g=Zv(m),x=n.current,b="deltaX"in m?m.deltaX:x[0]-g[0],_="deltaY"in m?m.deltaY:x[1]-g[1],E,T=m.target,A=Math.abs(b)>Math.abs(_)?"h":"v";if("touches"in m&&A==="h"&&T.type==="range")return!1;var w=HT(A,T);if(!w)return!0;if(w?E=A:(E=A==="v"?"h":"v",w=HT(A,T)),!w)return!1;if(!r.current&&"changedTouches"in m&&(b||_)&&(r.current=E),!E)return!0;var S=r.current||E;return Tse(S,y,m,S==="h"?b:_,!0)},[]),l=j.useCallback(function(m){var y=m;if(!(!Wp.length||Wp[Wp.length-1]!==s)){var g="deltaY"in y?GT(y):Zv(y),x=t.current.filter(function(E){return E.name===y.type&&(E.target===y.target||y.target===E.shadowParent)&&Pse(E.delta,g)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}
vendor: 15,564 bytes, line 648
648if(!x){var b=(o.current.shards||[]).map(XT).filter(Boolean).filter(function(E){return E.contains(y.target)}),_=b.length>0?c(y,b[0]):!o.current.noIsolation;_&&y.cancelable&&y.preventDefault()}}},[]),u=j.useCallback(function(m,y,g,x){var b={name:m,delta:y,target:g,should:x,shadowParent:Ise(g)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(_){return _!==b})},1)},[]),d=j.useCallback(function(m){n.current=Zv(m),r.current=void 0},[]),p=j.useCallback(function(m){u(m.type,GT(m),m.target,c(m,e.lockRef.current))},[]),h=j.useCallback(function(m){u(m.type,Zv(m),m.target,c(m,e.lockRef.current))},[]);j.useEffect(function(){return Wp.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",l,$p),document.addEventListener("touchmove",l,$p),document.addEventListener("touchstart",d,$p),function(){Wp=Wp.filter(function(m){return m!==s}),document.removeEventListener("wheel",l,$p),document.removeEventListener("touchmove",l,$p),document.removeEventListener("touchstart",d,$p)}},[]);var f=e.removeScrollBar,v=e.inert;return j.createElement(j.Fragment,null,v?j.createElement(s,{styles:Lse(i)}):null,f?j.createElement(n9,{gapMode:e.gapMode}):null)}function Ise(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Use=e9(t9,Ose);var fy=j.forwardRef(function(e,t){return j.createElement(l2,ja({},e,{ref:t,sideCar:Use}))});fy.classNames=l2.classNames;var W3=["Enter"," "],Fse=["ArrowDown","PageUp","Home"],s9=["ArrowUp","PageDown","End"],Mse=[...Fse,...s9],qse={ltr:[...W3,"ArrowRight"],rtl:[...W3,"ArrowLeft"]},Bse={ltr:["ArrowLeft"],rtl:["ArrowRight"]},hy="Menu",[mx,zse,$se]=Zx(hy),[fp,o9]=Es(hy,[$se,Su,Kh]),u2=Su(),c9=Kh(),[Wse,hp]=fp(hy),[Vse,my]=fp(hy),l9=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:s,modal:o=!0}=e,c=u2(t),[l,u]=j.useState(null),d=j.useRef(!1),p=Ea(s),h=Xh(i);return j.useEffect(()=>{const f=()=>{d.current=!0,document.addEventListener("pointerdown",v,{capture:!0,once:!0}),document.addEventListener("pointermove",v,{capture:!0,once:!0})},v=()=>d.current=!1;return document.addEventListener("keydown",f,{capture:!0}),()=>{document.removeEventListener("keydown",f,{capture:!0}),document.removeEventListener("pointerdown",v,{capture:!0}),document.removeEventListener("pointermove",v,{capture:!0})}},[]),a.jsx(q1,{...c,children:a.jsx(Wse,{scope:t,open:n,onOpenChange:p,content:l,onContentChange:u,children:a.jsx(Vse,{scope:t,onClose:j.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:d,dir:h,modal:o,children:r})})})};l9.displayName=hy;var Hse="MenuAnchor",j4=j.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=u2(n);return a.jsx(cy,{...i,...r,ref:t})});j4.displayName=Hse;var _4="MenuPortal",[Gse,u9]=fp(_4,{forceMount:void 0}),d9=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:i}=e,s=hp(_4,t);return a.jsx(Gse,{scope:t,forceMount:n,children:a.jsx(Xa,{present:n||s.open,children:a.jsx(qh,{asChild:!0,container:i,children:r})})})};d9.displayName=_4;var vs="MenuContent",[Xse,N4]=fp(vs),p9=j.forwardRef((e,t)=>{const n=u9(vs,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=hp(vs,e.__scopeMenu),o=my(vs,e.__scopeMenu);return a.jsx(mx.Provider,{scope:e.__scopeMenu,children:a.jsx(Xa,{present:r||s.open,children:a.jsx(mx.Slot,{scope:e.__scopeMenu,children:o.modal?a.jsx(Kse,{...i,ref:t}):a.jsx(Yse,{...i,ref:t})})})})}),Kse=j.forwardRef((e,t)=>{const n=hp(vs,e.__scopeMenu),r=j.useRef(null),i=Zt(t,r);return j.useEffect(()=>{const s=r.current;if(s)return py(s)},[]),a.jsx(C4,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:Je(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Yse=j.forwardRef((e,t)=>{const n=hp(vs,e.__scopeMenu);return a.jsx(C4,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),C4=j.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:o,disableOutsidePointerEvents:c,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:h,onDismiss:f,disableOutsideScroll:v,...m}=e,y=hp(vs,n),g=my(vs,n),x=u2(n),b=c9(n),_=zse(n),[E,T]=j.useState(null),A=j.useRef(null),w=Zt(t,A,y.onContentChange),S=j.useRef(0),k=j.useRef(""),P=j.useRef(0),D=j.useRef(null),R=j.useRef("right"),N=j.useRef(0),q=v?fy:j.Fragment,I=v?{as:Hc,allowPinchZoom:!0}:void 0,z=F=>{var re,ae;const H=k.current+F,V=_().filter(le=>!le.disabled),O=document.activeElement,$=(re=V.find(le=>le.ref.current===O))==null?void 0:re.textValue,K=V.map(le=>le.textValue),Y=coe(K,H,$),ee=(ae=V.find(le=>le.textValue===Y))==null?void 0:ae.ref.current;(function le(ge){k.current=ge,window.clearTimeout(S.current),ge!==""&&(S.current=window.setTimeout(()=>le(""),1e3))})(H),ee&&setTimeout(()=>ee.focus())};j.useEffect(()=>()=>window.clearTimeout(S.current),[]),o2();const M=j.useCallback(F=>{var V,O;return R.current===((V=D.current)==null?void 0:V.side)&&uoe(F,(O=D.current)==null?void 0:O.area)},[]);return a.jsx(Xse,{scope:n,searchRef:k,onItemEnter:j.useCallback(F=>{M(F)&&F.preventDefault()},[M]),onItemLeave:j.useCallback(F=>{var H;M(F)||((H=A.current)==null||H.focus(),T(null))},[M]),onTriggerLeave:j.useCallback(F=>{M(F)&&F.preventDefault()},[M]),pointerGraceTimerRef:P,onPointerGraceIntentChange:j.useCallback(F=>{D.current=F},[]),children:a.jsx(q,{...I,children:a.jsx(dy,{asChild:!0,trapped:i,onMountAutoFocus:Je(s,F=>{var H;F.preventDefault(),(H=A.current)==null||H.focus({preventScroll:!0})}),onUnmountAutoFocus:o,children:a.jsx(op,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:h,onDismiss:f,children:a.jsx(y4,{asChild:!0,...b,dir:g.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:T,onEntryFocus:Je(l,F=>{g.isUsingKeyboardRef.current||F.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsx(B1,{role:"menu","aria-orientation":"vertical","data-state":D9(y.open),"data-radix-menu-content":"",dir:g.dir,...x,...m,ref:w,style:{outline:"none",...m.style},onKeyDown:Je(m.onKeyDown,F=>{const V=F.target.closest("[data-radix-menu-content]")===F.currentTarget,O=F.ctrlKey||F.altKey||F.metaKey,$=F.key.length===1;V&&(F.key==="Tab"&&F.preventDefault(),!O&&$&&z(F.key));const K=A.current;if(F.target!==K||!Mse.includes(F.key))return;F.preventDefault();const ee=_().filter(re=>!re.disabled).map(re=>re.ref.current);s9.includes(F.key)&&ee.reverse(),soe(ee)}),onBlur:Je(e.onBlur,F=>{F.currentTarget.contains(F.target)||(window.clearTimeout(S.current),k.current="")}),onPointerMove:Je(e.onPointerMove,gx(F=>{const H=F.target,V=N.current!==F.clientX;if(F.currentTarget.contains(H)&&V){const O=F.clientX>N.current?"right":"left";R.current=O,N.current=F.clientX}}))})})})})})})});p9.displayName=vs;var Qse="MenuGroup",E4=j.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(Nt.div,{role:"group",...r,ref:t})});E4.displayName=Qse;var Zse="MenuLabel",f9=j.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(Nt.div,{...r,ref:t})});f9.displayName=Zse;var I0="MenuItem",KT="menu.itemSelect",d2=j.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...i}=e,s=j.useRef(null),o=my(I0,e.__scopeMenu),c=N4(I0,e.__scopeMenu),l=Zt(t,s),u=j.useRef(!1),d=()=>{const p=s.current;if(!n&&p){const h=new CustomEvent(KT,{bubbles:!0,cancelable:!0});p.addEventListener(KT,f=>r==null?void 0:r(f),{once:!0}),PE(p,h),h.defaultPrevented?u.current=!1:o.onClose()}};return a.jsx(h9,{...i,ref:l,disabled:n,onClick:Je(e.onClick,d),onPointerDown:p=>{var h;(h=e.onPointerDown)==null||h.call(e,p),u.current=!0},onPointerUp:Je(e.onPointerUp,p=>{var h;u.current||(h=p.currentTarget)==null||h.click()}),onKeyDown:Je(e.onKeyDown,p=>{const h=c.searchRef.current!=="";n||h&&p.key===" "||W3.includes(p.key)&&(p.currentTarget.click(),p.preventDefault())})})});d2.displayName=I0;var h9=j.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:i,...s}=e,o=N4(I0,n),c=c9(n),l=j.useRef(null),u=Zt(t,l),[d,p]=j.useState(!1),[h,f]=j.useState("");return j.useEffect(()=>{const v=l.current;v&&f((v.textContent??"").trim())},[s.children]),a.jsx(mx.ItemSlot,{scope:n,disabled:r,textValue:i??h,children:a.jsx(v4,{asChild:!0,...c,focusable:!r,children:a.jsx(Nt.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...s,ref:u,onPointerMove:Je(e.onPointerMove,gx(v=>{r?o.onItemLeave(v):(o.onItemEnter(v),v.defaultPrevented||v.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Je(e.onPointerLeave,gx(v=>o.onItemLeave(v))),onFocus:Je(e.onFocus,()=>p(!0)),onBlur:Je(e.onBlur,()=>p(!1))})})})}),Jse="MenuCheckboxItem",m9=j.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...i}=e;return a.jsx(b9,{scope:e.__scopeMenu,checked:n,children:a.jsx(d2,{role:"menuitemcheckbox","aria-checked":U0(n)?"mixed":n,...i,ref:t,"data-state":D4(n),onSelect:Je(i.onSelect,()=>r==null?void 0:r(U0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});m9.displayName=Jse;var g9="MenuRadioGroup",[eoe,toe]=fp(g9,{value:void 0,onValueChange:()=>{}}),x9=j.forwardRef((e,t)=>{const{value:n,onValueChange:r,...i}=e,s=Ea(r);return a.jsx(eoe,{scope:e.__scopeMenu,value:n,onValueChange:s,children:a.jsx(E4,{...i,ref:t})})});x9.displayName=g9;var y9="MenuRadioItem",v9=j.forwardRef((e,t)=>{const{value:n,...r}=e,i=toe(y9,e.__scopeMenu),s=n===i.value;return a.jsx(b9,{scope:e.__scopeMenu,checked:s,children:a.jsx(d2,{role:"menuitemradio","aria-checked":s,...r,ref:t,"data-state":D4(s),onSelect:Je(r.onSelect,()=>{var o;return(o=i.onValueChange)==null?void 0:o.call(i,n)},{checkForDefaultPrevented:!1})})})});v9.displayName=y9;var S4="MenuItemIndicator",[b9,noe]=fp(S4,{checked:!1}),w9=j.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...i}=e,s=noe(S4,n);return a.jsx(Xa,{present:r||U0(s.checked)||s.checked===!0,children:a.jsx(Nt.span,{...i,ref:t,"data-state":D4(s.checked)})})});w9.displayName=S4;var roe="MenuSeparator",j9=j.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return a.jsx(Nt.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});j9.displayName=roe;var aoe="MenuArrow",_9=j.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,i=u2(n);return a.jsx(z1,{...i,...r,ref:t})});_9.displayName=aoe;var ioe="MenuSub",[__e,N9]=fp(ioe),fg="MenuSubTrigger",C9=j.forwardRef((e,t)=>{const n=hp(fg,e.__scopeMenu),r=my(fg,e.__scopeMenu),i=N9(fg,e.__scopeMenu),s=N4(fg,e.__scopeMenu),o=j.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:l}=s,u={__scopeMenu:e.__scopeMenu},d=j.useCallback(()=>{o.current&&window.clearTimeout(o.current),o.current=null},[]);return j.useEffect(()=>d,[d]),j.useEffect(()=>{const p=c.current;return()=>{window.clearTimeout(p),l(null)}},[c,l]),a.jsx(j4,{asChild:!0,...u,children:a.jsx(h9,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":D9(n.open),...e,ref:P1(t,i.onTriggerChange),onClick:p=>{var h;(h=e.onClick)==null||h.call(e,p),!(e.disabled||p.defaultPrevented)&&(p.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:Je(e.onPointerMove,gx(p=>{s.onItemEnter(p),!p.defaultPrevented&&!e.disabled&&!n.open&&!o.current&&(s.onPointerGraceIntentChange(null),o.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:Je(e.onPointerLeave,gx(p=>{var f,v;d();const h=(f=n.content)==null?void 0:f.getBoundingClientRect();if(h){const m=(v=n.content)==null?void 0:v.dataset.side,y=m==="right",g=y?-5:5,x=h[y?"left":"right"],b=h[y?"right":"left"];s.onPointerGraceIntentChange({area:[{x:p.clientX+g,y:p.clientY},{x,y:h.top},{x:b,y:h.top},{x:b,y:h.bottom},{x,y:h.bottom}],side:m}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(p),p.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:Je(e.onKeyDown,p=>{var f;const h=s.searchRef.current!=="";e.disabled||h&&p.key===" "||qse[r.dir].includes(p.key)&&(n.onOpenChange(!0),(f=n.content)==null||f.focus(),p.preventDefault())})})})});C9.displayName=fg;var E9="MenuSubContent",S9=j.forwardRef((e,t)=>{const n=u9(vs,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,s=hp(vs,e.__scopeMenu),o=my(vs,e.__scopeMenu),c=N9(E9,e.__scopeMenu),l=j.useRef(null),u=Zt(t,l);return a.jsx(mx.Provider,{scope:e.__scopeMenu,children:a.jsx(Xa,{present:r||s.open,children:a.jsx(mx.Slot,{scope:e.__scopeMenu,children:a.jsx(C4,{id:c.contentId,"aria-labelledby":c.triggerId,...i,ref:u,align:"start",side:o.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var p;o.isUsingKeyboardRef.current&&((p=l.current)==null||p.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:Je(e.onFocusOutside,d=>{d.target!==c.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:Je(e.onEscapeKeyDown,d=>{o.onClose(),d.preventDefault()}),onKeyDown:Je(e.onKeyDown,d=>{var f;const p=d.currentTarget.contains(d.target),h=Bse[o.dir].includes(d.key);p&&h&&(s.onOpenChange(!1),(f=c.trigger)==null||f.focus(),d.preventDefault())})})})})})});S9.displayName=E9;function D9(e){return e?"open":"closed"}function U0(e){return e==="indeterminate"}function D4(e){return U0(e)?"indeterminate":e?"checked":"unchecked"}function soe(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function ooe(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function coe(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=ooe(e,Math.max(s,0));i.length===1&&(o=o.filter(u=>u!==n));const l=o.find(u=>u.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function loe(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const c=t[s].x,l=t[s].y,u=t[o].x,d=t[o].y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}function uoe(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return loe(n,t)}function gx(e){return t=>t.pointerType==="mouse"?e(t):void 0}var doe=l9,poe=j4,foe=d9,hoe=p9,moe=E4,goe=f9,xoe=d2,yoe=m9,voe=x9,boe=v9,woe=w9,joe=j9,_oe=_9,Noe=C9,Coe=S9,A4="DropdownMenu",[Eoe,N_e]=Es(A4,[o9]),Ka=o9(),[Soe,A9]=Eoe(A4),k9=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:i,defaultOpen:s,onOpenChange:o,modal:c=!0}=e,l=Ka(t),u=j.useRef(null),[d=!1,p]=Vi({prop:i,defaultProp:s,onChange:o});return a.jsx(Soe,{scope:t,triggerId:fi(),triggerRef:u,contentId:fi(),open:d,onOpenChange:p,onOpenToggle:j.useCallback(()=>p(h=>!h),[p]),modal:c,children:a.jsx(doe,{...l,open:d,onOpenChange:p,dir:r,modal:c,children:n})})};k9.displayName=A4;var T9="DropdownMenuTrigger",P9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...i}=e,s=A9(T9,n),o=Ka(n);return a.jsx(poe,{asChild:!0,...o,children:a.jsx(Nt.button,{type:"button",id:s.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":s.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...i,ref:P1(t,s.triggerRef),onPointerDown:Je(e.onPointerDown,c=>{!r&&c.button===0&&c.ctrlKey===!1&&(s.onOpenToggle(),s.open||c.preventDefault())}),onKeyDown:Je(e.onKeyDown,c=>{r||(["Enter"," "].includes(c.key)&&s.onOpenToggle(),c.key==="ArrowDown"&&s.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});P9.displayName=T9;var Doe="DropdownMenuPortal",L9=e=>{const{__scopeDropdownMenu:t,...n}=e,r=Ka(t);return a.jsx(foe,{...r,...n})};L9.displayName=Doe;var R9="DropdownMenuContent",O9=j.forwardRef((e,t)=>
648{const{__scopeDropdownMenu:n,...r}=e,i=A9(R9,n),s=Ka(n),o=j.useRef(!1);return a.jsx(hoe,{id:i.contentId,"aria-labelledby":i.triggerId,...s,...r,ref:t,onCloseAutoFocus:Je(e.onCloseAutoFocus,c=>{var l;o.current||(l=i.triggerRef.current)==null||l.focus(),o.current=!1,c.preventDefault()}),onInteractOutside:Je(e.onInteractOutside,c=>{const l=c.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,d=l.button===2||u;(!i.modal||d)&&(o.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});O9.displayName=R9;var Aoe="DropdownMenuGroup",koe=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(moe,{...i,...r,ref:t})});koe.displayName=Aoe;var Toe="DropdownMenuLabel",I9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(goe,{...i,...r,ref:t})});I9.displayName=Toe;var Poe="DropdownMenuItem",U9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(xoe,{...i,...r,ref:t})});U9.displayName=Poe;var Loe="DropdownMenuCheckboxItem",F9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(yoe,{...i,...r,ref:t})});F9.displayName=Loe;var Roe="DropdownMenuRadioGroup",Ooe=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(voe,{...i,...r,ref:t})});Ooe.displayName=Roe;var Ioe="DropdownMenuRadioItem",M9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(boe,{...i,...r,ref:t})});M9.displayName=Ioe;var Uoe="DropdownMenuItemIndicator",q9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(woe,{...i,...r,ref:t})});q9.displayName=Uoe;var Foe="DropdownMenuSeparator",B9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(joe,{...i,...r,ref:t})});B9.displayName=Foe;var Moe="DropdownMenuArrow",qoe=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(_oe,{...i,...r,ref:t})});qoe.displayName=Moe;var Boe="DropdownMenuSubTrigger",z9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(Noe,{...i,...r,ref:t})});z9.displayName=Boe;var zoe="DropdownMenuSubContent",$9=j.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,i=Ka(n);return a.jsx(Coe,{...i,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});$9.displayName=zoe;var $oe=k9,Woe=P9,Voe=L9,W9=O9,V9=I9,H9=U9,G9=F9,X9=M9,K9=q9,Y9=B9,Q9=z9,Z9=$9;const Hoe=$oe,Goe=Woe,Xoe=j.forwardRef(({className:e,inset:t,children:n,...r},i)=>a.jsxs(Q9,{ref:i,className:lt("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,a.jsx(ny,{className:"ml-auto h-4 w-4"})]}));Xoe.displayName=Q9.displayName;const Koe=j.forwardRef(({className:e,...t},n)=>a.jsx(Z9,{ref:n,className:lt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Koe.displayName=Z9.displayName;const J9=j.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
648a.jsx(Voe,{children:a.jsx(W9,{ref:r,sideOffset:t,className:lt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));J9.displayName=W9.displayName;const hg=j.forwardRef(({className:e,inset:t,...n},r)=>a.jsx(H9,{ref:r,className:lt("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));hg.displayName=H9.displayName;const Yoe=j.forwardRef(({className:e,children:t,checked:n,...r},i)=>a.jsxs(G9,{ref:i,className:lt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(K9,{children:a.jsx(ty,{className:"h-4 w-4"})})}),t]}));Yoe.displayName=G9.displayName;const Qoe=j.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(X9,{ref:r,className:lt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(K9,{children:a.jsx(M7,{className:"h-2 w-2 fill-current"})})}),t]}));Qoe.displayName=X9.displayName;const Zoe=j.forwardRef(({className:e,inset:t,...n},r)=>a.jsx(V9,{ref:r,className:lt("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));Zoe.displayName=V9.displayName;const Joe=j.forwardRef(({className:e,...t},n)=>a.jsx(Y9,{ref:n,className:lt("-mx-1 my-1 h-px bg-muted",e),...t}));Joe.displayName=Y9.displayName;const ece=["rejected","unsuccessful","inactive"],eM=j.createContext(void 0),Vr=()=>{const e=j.useContext(eM);if(e===void 0)throw new Error("useAuth must be used within an AuthProvider");return e},tce=({children:e})=>{const[t,n]=j.useState(null),[r,i]=j.useState(null),[s,o]=j.useState(!0),[c,l]=j.useState(!1),[u,d]=j.useState(!1),[p,h]=j.useState(!1),[f,v]=j.useState(!1),[m,y]=j.useState(!1),[g,x]=j.useState(!1);console.log("session",r);const b=async w=>{const S={canAccess:!1,applyRejected:!1,userUnsuccessful:!1};if(!w)return S;try{const{data:k,error:P}=await Ye.from("profiles").select("source, apply_status").eq("user_id",w.id).maybeSingle();if(P)return console.error("â Error fetching profile for access:",P),d(!1),h(!1),v(!1),y(!1),x(!1),S;if(!k)return d(!1),h(!1),v(!1),y(!1),x(!1),S;const D=k.source??null,R=k.apply_status||null;if(D==="masterclass"&&R!=="active")return d(!1),h(!1),v(!1),x(!1),y(!0),{canAccess:!1,applyRejected:!1,userUnsuccessful:!1};if(y(!1),D==="apply"&&!R||!R)return d(!1),h(!1),v(!1),x(!0),{canAccess:!1,applyRejected:!1,userUnsuccessful:!1};if(x(!1),D==="apply"){const N=R==="rejected"||R==="inactive",q=R==="unsuccessful",I=!ece.includes(R);return d(I),h(N),v(q),{canAccess:I,applyRejected:N,userUnsuccessful:q}}return d(!0),h(!1),v(!1),{canAccess:!0,applyRejected:!1,userUnsuccessful:!1}}catch(k){return console.error("â Error in checkApplyAccess:",k),d(!1),h(!1),setUserBanned(!1),setUserContracted(!1),v(!1),y(!1),x(!1),S}},_=async()=>{try{o(!0),n(null),i(null),l(!1),d(!1),h(!1),v(!1),y(!1),x(!1),await Ye.auth.signOut(),window.location.href="/",o(!1)}catch(w){console.error("Error during sign out:",w),window.location.href="/"}},E=async()=>{try{const{data:{session:w}}=await Ye.auth.getSession();n((w==null?void 0:w.user)??null),i(w),w!=null&&w.user&&await b(w.user),o(!1)}catch(w){console.error("Error in getInitialSession:",w),o(!1)}},T=async w=>{const{error:S}=await Ye.auth.updateUser({data:w});return S?(console.error("Error updating user metadata:",S),!1):"metadata updated successfully"};j.useEffect(()=>{E()},[]),j.useEffect(()=>{const{data:{subscription:w}}
vendor: 4,332 bytes, line 648
648=Ye.auth.onAuthStateChange((S,k)=>{n((k==null?void 0:k.user)??null),i(k),k!=null&&k.user?b(k.user):(d(!1),h(!1),v(!1),y(!1),x(!1))});return()=>w.unsubscribe()},[]);const A={user:t,session:r,loading:s,emailVerified:c,subscriptionActive:u,applyRejected:p,userUnsuccessful:f,canAccessMasterclassVideo:m,applyContactSupport:g,signOut:_,checkApplyAccess:b,updateUserMetadata:T};return a.jsx(eM.Provider,{value:A,children:e})},J5=768;function nce(){const[e,t]=j.useState(void 0);return j.useEffect(()=>{const n=window.matchMedia(`(max-width: ${J5-1}px)`),r=()=>{t(window.innerWidth<J5)};return n.addEventListener("change",r),t(window.innerWidth<J5),()=>n.removeEventListener("change",r)},[]),!!e}var k4="Dialog",[tM,C_e]=Es(k4),[rce,mo]=tM(k4),nM=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!0}=e,c=j.useRef(null),l=j.useRef(null),[u=!1,d]=Vi({prop:r,defaultProp:i,onChange:s});return a.jsx(rce,{scope:t,triggerRef:c,contentRef:l,contentId:fi(),titleId:fi(),descriptionId:fi(),open:u,onOpenChange:d,onOpenToggle:j.useCallback(()=>d(p=>!p),[d]),modal:o,children:n})};nM.displayName=k4;var rM="DialogTrigger",aM=j.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=mo(rM,n),s=Zt(t,i.triggerRef);return a.jsx(Nt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":L4(i.open),...r,ref:s,onClick:Je(e.onClick,i.onOpenToggle)})});aM.displayName=rM;var T4="DialogPortal",[ace,iM]=tM(T4,{forceMount:void 0}),sM=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,s=mo(T4,t);return a.jsx(ace,{scope:t,forceMount:n,children:j.Children.map(r,o=>a.jsx(Xa,{present:n||s.open,children:a.jsx(qh,{asChild:!0,container:i,children:o})}))})};sM.displayName=T4;var F0="DialogOverlay",oM=j.forwardRef((e,t)=>{const n=iM(F0,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=mo(F0,e.__scopeDialog);return s.modal?a.jsx(Xa,{present:r||s.open,children:a.jsx(ice,{...i,ref:t})}):null});oM.displayName=F0;var ice=j.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=mo(F0,n);return a.jsx(fy,{as:Hc,allowPinchZoom:!0,shards:[i.contentRef],children:a.jsx(Nt.div,{"data-state":L4(i.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Wd="DialogContent",cM=j.forwardRef((e,t)=>{const n=iM(Wd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=mo(Wd,e.__scopeDialog);return a.jsx(Xa,{present:r||s.open,children:s.modal?a.jsx(sce,{...i,ref:t}):a.jsx(oce,{...i,ref:t})})});cM.displayName=Wd;var sce=j.forwardRef((e,t)=>{const n=mo(Wd,e.__scopeDialog),r=j.useRef(null),i=Zt(t,n.contentRef,r);return j.useEffect(()=>{const s=r.current;if(s)return py(s)},[]),a.jsx(lM,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,s=>{var o;s.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&s.preventDefault()}),onFocusOutside:Je(e.onFocusOutside,s=>s.preventDefault())})}),oce=j.forwardRef((e,t)=>{const n=mo(Wd,e.__scopeDialog),r=j.useRef(!1),i=j.useRef(!1);return a.jsx(lM,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,c;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),lM=j.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...o}=e,c=mo(Wd,n),l=j.useRef(null),u=Zt(t,l);return o2(),a.jsxs(a.Fragment,{children:[a.jsx(dy,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:a.jsx(op,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":L4(c.open),...o,ref:u,onDismiss:()=>c.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(cce,{titleId:c.titleId}),a.jsx(uce,{contentRef:l,descriptionId:c.descriptionId})]})]})}),P4="DialogTitle",uM=j.forwardRef((e,t)=>
648{const{__scopeDialog:n,...r}=e,i=mo(P4,n);return a.jsx(Nt.h2,{id:i.titleId,...r,ref:t})});uM.displayName=P4;var dM="DialogDescription",pM=j.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=mo(dM,n);return a.jsx(Nt.p,{id:i.descriptionId,...r,ref:t})});pM.displayName=dM;var fM="DialogClose",hM=j.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=mo(fM,n);return a.jsx(Nt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,()=>i.onOpenChange(!1))})});hM.displayName=fM;function L4(e){return e?"open":"closed"}var mM="DialogTitleWarning",[E_e,gM]=XY(mM,{contentName:Wd,titleName:P4,docsSlug:"dialog"}),cce=({titleId:e})=>{const t=gM(mM),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 649 650If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 651 652For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return j.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},lce="DialogDescriptionWarning",uce=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${gM(lce).contentName}}.`;return j.useEffect(()=>{var s;const i=(s=e.current)==null?void 0:s.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},xM=nM,yM=aM,vM=sM,p2=oM,f2=cM,h2=uM,m2=pM,bM=hM;const YT=xM,dce=yM,pce=vM,wM=j.forwardRef(({className:e,...t},n)=>a.jsx(p2,{className:lt("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));wM.displayName=p2.displayName;const fce=ey("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),jM=j.forwardRef(({side:e="right",className:t,children:n,...r},i)=>a.jsxs(pce,{children:[a.jsx(wM,{}),a.jsxs(f2,{ref:i,className:lt(fce({side:e}),t),...r,children:[n,a.jsxs(bM,{className:"absolute right-4 top-4 roun
652ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[a.jsx(rl,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));jM.displayName=f2.displayName;const _M=({className:e,...t})=>a.jsx("div",{className:lt("flex flex-col space-y-2 text-center sm:text-left",e),...t});_M.displayName="SheetHeader";const NM=j.forwardRef(({className:e,...t},n)=>a.jsx(h2,{ref:n,className:lt("text-lg font-semibold text-foreground",e),...t}));NM.displayName=h2.displayName;const hce=j.forwardRef(({className:e,...t},n)=>a.jsx(m2,{ref:n,className:lt("text-sm text-muted-foreground",e),...t}));hce.displayName=m2.displayName;const Go=xM,M0=yM,mce=vM,CM=j.forwardRef(({className:e,...t},n)=>a.jsx(p2,{ref:n,className:lt("fixed inset-0 z-[99998] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));CM.displayName=p2.displayName;const so=j.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(mce,{children:[a.jsx(CM,{}),a.jsxs(f2,{ref:r,className:lt("fixed left-[50%] top-[50%] z-[99999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,a.jsxs(bM,{className:"absolute right-4 top-4 roun
652ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(rl,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));so.displayName=f2.displayName;const Xo=({className:e,...t})=>a.jsx("div",{className:lt("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Xo.displayName="DialogHeader";const oo=j.forwardRef(({className:e,...t},n)=>a.jsx(h2,{ref:n,className:lt("text-lg font-semibold leading-none tracking-tight",e),...t}));oo.displayName=h2.displayName;const xx=j.forwardRef(({className:e,...t},n)=>a.jsx(m2,{ref:n,className:lt("text-sm text-muted-foreground",e),...t}));xx.displayName=m2.displayName;const nt=j.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:lt("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));nt.displayName="Card";const kt=j.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:lt("flex flex-col space-y-1.5 p-6",e),...t}));kt.displayName="CardHeader";const Tt=j.forwardRef(({className:e,...t},n)=>a.jsx("h3",{ref:n,className:lt("text-2xl font-semibold leading-none tracking-tight",e),...t}));Tt.displayName="CardTitle";const Wt=j.forwardRef(({className:e,...t},n)=>a.jsx("p",{ref:n,className:lt("text-sm text-muted-foreground",e),...t}));Wt.displayName="CardDescription";const it=j.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:lt("p-6 pt-0",e),...t}));it.displayName="CardContent";const gce=j.forwardRef(({className:e,...t},n)=>a.jsx("div",{ref:n,className:lt("flex items-center p-6 pt-0",e),...t}));gce.displayName="CardFooter";const xce=({isOpen:e,onClose:t})=>{const[n,r]=j.useState(0),{updateUserMetadata:i}=Vr(),s=[{title:"¡Bienvenido/a al Programa de Empleabilidad 360°!",subtitle:"Emplicity",content:a.jsxs("div",{className:"text-center space-y-3 sm:space-y-4",children:[a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 mx-auto bg-gradient-to-br from-primary to-primary-glow rounded-full flex items-center justify-center",children:a.jsx(ox,{className:"w-10 h-10 sm:w-12 sm:h-12 text-white"})}),a.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[a.jsx("p",{className:"text-base sm:text-lg text-muted-foreground px-2",children:"¡Felicidades por dar el primer paso hacia tu transformación profesional!"}),a.jsx("p",{className:"text-sm sm:text-base text-muted-foreground px-2",children:"Comienzas un programa creado para acompañarte en todo tu proceso de empleabilidad. Nuestro objetivo es darte claridad, estructura y el apoyo necesario para que tomes decisiones seguras en tu carrera."})]})]})},{title:"Conoce a tu Career Coach",subtitle:"No estás solo/a en tu búsqueda: aquà comienza tu acompañamiento.",content:a.jsxs("div",{className:"text-center space-y-3 sm:space-y-4",children:[a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 mx-auto bg-gradient-to-br from-green-500 to-emerald-600 rounded-full flex items-center justify-center",children:a.jsx(gu,{className:"w-10 h-10 sm:w-12 sm:h-12 text-white"})}),a.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[a.jsx("p",{className:"text-base sm:text-lg text-muted-foreground px-2",children:"¡Un Career Coach especializado te acompañará en todo tu proceso!"}),a.jsx("p",{className:"text-sm sm:text-base text-muted-foreground px-2",children:"EnvÃanos un mensaje ahora mismo para conocer a tu Career Coach asignado, responder tus dudas y diseñar junto contigo un plan de acción adaptado a tus metas."}),a.jsxs(Ce,{className:"w-full bg-green-600 hover:bg-green-700 text-white text-sm sm:text-base mt-3 sm:mt-4",onClick:()=>window.open("https://api.whatsapp.com/send/?phone=%2B523337872943&text=Hola+equipo+de+Emplicity%2C+quiero+hablar+con+mi+Career+Coach&type=phone_number&app_absent=0","_blank"),children:[a.jsx(gu,{className:"w-4 h-4 mr-2"}),"Conocer mi Career Coach"]})]})]})},{title:"Explora el E-Learning y las Herramientas",subtitle:"Todo lo que necesitas en un solo lugar",content:a.jsxs("div",{className:"text-center space-y-3 sm:space-y-4",children:[a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 mx-auto bg-gradient-to-br from-blue-500 to-purple-600 rounded-full flex items-center justify-center",children:a.jsx(Bd,{className:"w-10 h-10 sm:w-12 sm:h-12 text-white"})}),a.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[a.jsx("p",{className:"text-base sm:text-lg text-muted-foreground px-2",children:"Comienza tu aprendizaje ahora mismo"}),a.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 sm:gap-4 text-xs sm:text-sm",children:[a.jsxs(nt,{className:"p-3 sm:p-4 space-y-2",children:[a.jsx(Xn,{className:"w-5 h-5 sm:w-6 sm:h-6 text-green-500 mx-auto"}),a.jsx("p",{className:"font-medium",children:"E-Learning Hub"}),a.jsx("p",{className:"text-muted-foreground",children:"Cursos especializados"})]}),a.jsxs(nt,{className:"p-3 sm:p-4 space-y-2",children:[a.jsx(Xn,{className:"w-5 h-5 sm:w-6 sm:h-6 text-green-500 mx-auto"}),a.jsx("p",{className:"font-medium",children:"CV Boost"}),a.jsx("p",{className:"text-muted-foreground",children:"Optimiza tu CV"})]}),a.jsxs(nt,{className:"p-3 sm:p-4 space-y-2",children:[a.jsx(Xn,{className:"w-5 h-5 sm:w-6 sm:h-6 text-green-500 mx-auto"}),a.jsx("p",{className:"font-medium",children:"LinkedIn Optimizer"}),a.jsx("p",{className:"text-muted-foreground",children:"Perfil profesional"})]}),a.jsxs(nt,{className:"p-3 sm:p-4 space-y-2",children:[a.jsx(Xn,{className:"w-5 h-5 sm:w-6 sm:h-6 text-green-500 mx-auto"}),a.jsx("p",{className:"font-medium",children:"Mock Interviews"}),a.jsx("p",{className:"text-muted-foreground",children:"Practica entrevistas"})]})]})]})]})},{title:"¡Tu éxito comienza ahora!",subtitle:"Estamos aquà para apoyarte en cada paso",content:a.jsxs("div",{className:"text-center space-y-3 sm:space-y-4",children:[a.jsx("div",{className:"w-20 h-20 sm:w-24 sm:h-24 mx-auto bg-gradient-to-br from-yellow-500 to-orange-500 rounded-full flex items-center justify-center",children:a.jsx(ox,{className:"w-10 h-10 sm:w-12 sm:h-12 text-white animate-pulse"})}),a.jsxs("div",{className:"space-y-2 sm:space-y-3",children:[a.jsx("p",{className:"text-lg sm:text-xl font-semibold text-primary px-2",children:"¡Felicitaciones por invertir en tu futuro profesional!"}),a.jsx("p",{className:"text-base sm:text-lg text-muted-foreground px-2",children:"Tienes todo lo necesario para alcanzar tus objetivos profesionales."}),a.jsx("div",{className:"bg-gradient-to-r from-primary/10 to-primary-glow/10 p-3 sm:p-4 roun
652ded-lg mx-2",children:a.jsx("p",{className:"text-sm sm:text-base font-medium text-primary",children:'"El éxito no es casualidad. Es trabajo duro, perseverancia, aprendizaje, estudio, sacrificio y, sobre todo, amor por lo que haces."'})}),a.jsx("p",{className:"text-sm sm:text-base text-muted-foreground px-2",children:"¡Comienza tu transformación profesional ahora mismo!"})]})]})}],o=async()=>!!await i({welcome_tutorial_completed:!0}),c=async()=>{n<s.length-1?r(n+1):(await o(),t())},l=()=>{n>0&&r(n-1)},u=async()=>{await o(),t()};return a.jsx(Go,{open:e,onOpenChange:()=>{},children:a.jsxs(so,{className:"w-[calc(100vw-2rem)] max-w-lg sm:max-w-2xl max-h-[calc(100vh-2rem)] flex flex-col p-0 [&>button]:hidden border-0 shadow-none rounded-lg",style:{position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",zIndex:99999,margin:0,marginLeft:0,marginRight:0,right:"auto",border:"none",boxShadow:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"},children:[a.jsx(oo,{className:"sr-only",children:"Tutorial de Bienvenida"}),a.jsxs("div",{className:"flex justify-between items-center p-4 sm:p-6 pb-4 sm:pb-4 border-b border-gray-200 bg-white rounded-t-lg",children:[a.jsx("div",{className:"flex space-x-2",children:s.map((d,p)=>a.jsx("div",{className:`w-3 h-3 rounded-full transition-colors ${p===n?"bg-primary":p<n?"bg-primary/60":"bg-muted"}`},p))}),a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsxs(Ce,{variant:"ghost",size:"sm",onClick:u,className:"text-muted-foreground hover:text-foreground text-xs px-2",children:[a.jsx("span",{className:"hidden min-[365px]:inline",children:"Saltar tutorial"}),a.jsx("span",{className:"min-[365px]:hidden",children:"Saltar"})]}),a.jsx(Ce,{variant:"ghost",size:"sm",onClick:t,className:"text-muted-foreground hover:text-foreground p-1",children:a.jsx(rl,{className:"w-4 h-4"})})]})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4 sm:p-6",children:a.jsxs("div",{className:"space-y-3 sm:space-y-4",children:[a.jsxs("div",{className:"text-center space-y-1 sm:space-y-2",children:[a.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-primary px-2",children:s[n].title}),a.jsx("p",{className:"text-base sm:text-lg text-muted-foreground px-2",children:s[n].subtitle})]}),a.jsx("div",{className:"min-h-[300px] sm:min-h-[350px] flex items-center justify-center",children:s[n].content})]})}),a.jsxs("div",{className:"flex justify-between items-center p-4 sm:p-6 pt-4 sm:pt-4 border-t border-gray-200 bg-white rounded-b-lg gap-1 sm:gap-2",children:[a.jsxs(Ce,{variant:"outline",onClick:l,disabled:n===0,className:"flex items-center text-xs px-2 min-w-0 flex-shrink",children:[a.jsx($a,{className:"w-3 h-3 mr-1"}),a.jsx("span",{className:"hidden min-[365px]:inline",children:"Anterior"}),a.jsx("span",{className:"min-[365px]:hidden",children:"Ant."})]}),a.jsxs("span",{className:"text-xs text-muted-foreground flex-shrink-0 px-2",children:[n+1," de ",s.length]}),a.jsx(Ce,{onClick:c,className:"flex items-center bg-primary hover:bg-primary/90 text-xs px-2 min-w-0 flex-shrink",children:n===s.length-1?a.jsxs(a.Fragment,{children:[a.jsx(Xn,{className:"w-3 h-3 mr-1"}),a.jsx("span",{className:"hidden min-[365px]:inline",children:"¡Comenzar!"}),a.jsx("span",{className:"min-[365px]:hidden",children:"¡Listo!"})]}):a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"hidden min-[365px]:inline",children:"Siguiente"}),a.jsx("span",{className:"min-[365px]:hidden",children:"Sig."}),a.jsx(Gt,{className:"w-3 h-3 ml-1"})]})})]})]})})},Lt=j.forwardRef(({className:e,type:t,...n},r)=>a.jsx("input",{type:t,className:lt("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));Lt.displayName="Input";var yce="Label",EM=j.forwardRef((e,t)=>a.jsx(Nt.label,{...e,ref:t,onMouseDown:n=>{var i;n.target.closest("button, input, select, textarea")||((i=e.onMouseDown)==null||i.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));EM.displayName=yce;var SM=EM;const vce=ey("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),dt=j.forwardRef(({className:e,...t},n)=>a.jsx(SM,{ref:n,className:lt(vce(),e),...t}));dt.displayName=SM.displayName;const Hi=j.forwardRef(({className:e,...t},n)=>a.jsx("textarea",{className:lt("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
652ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Hi.displayName="Textarea";function bce({onClose:e}){const[t,n]=j.useState({company:"",position:"",salary:"",startDate:"",testimonial:""}),r=i=>{i.preventDefault(),console.log("Job success data:",t),e()};return a.jsx("div",{className:"fixed inset-0 bg-black/50 flex items-center justify-center p-4 z-50",children:a.jsxs(nt,{className:"w-full max-w-2xl max-h-[90vh] overflow-y-auto",children:[a.jsxs(kt,{className:"text-center",children:[a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("div",{className:"w-20 h-20 bg-gradient-to-r from-primary to-accent rounded-full flex items-center justify-center",children:a.jsx(ox,{className:"w-10 h-10 text-white"})})}),a.jsx(Tt,{className:"text-2xl text-primary",children:"¡Felicidades por tu Nuevo Empleo! ð"}),a.jsx(Wt,{className:"text-lg",children:"Nos alegra saber que has conseguido trabajo. Comparte tu éxito con nosotros."})]}),a.jsxs(it,{className:"space-y-6",children:[a.jsxs("div",{className:"bg-gradient-to-r from-primary/10 to-accent/10 border border-primary/20 rounded-lg p-4 text-center",children:[a.jsx(HQ,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-sm",children:"Tu éxito es nuestro éxito. Gracias por confiar en Emplicity para impulsar tu carrera profesional."})]}),a.jsxs("form",{onSubmit:r,className:"space-y-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"company",children:"Empresa *"}),a.jsx(Lt,{id:"company",placeholder:"Nombre de la empresa",value:t.company,onChange:i=>n({...t,company:i.target.value}),required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"position",children:"Puesto *"}),a.jsx(Lt,{id:"position",placeholder:"TÃtulo del puesto",value:t.position,onChange:i=>n({...t,position:i.target.value}),required:!0})]})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"salary",children:"Salario (opcional)"}),a.jsx(Lt,{id:"salary",placeholder:"Ej: $50,000 USD",value:t.salary,onChange:i=>n({...t,salary:i.target.value})})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"startDate",children:"Fecha de inicio"}),a.jsx(Lt,{id:"startDate",type:"date",value:t.startDate,onChange:i=>n({...t,startDate:i.target.value})})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"testimonial",children:"Testimonial (opcional)"}),a.jsx(Hi,{id:"testimonial",placeholder:"Comparte tu experiencia con Emplicity y cómo te ayudó a conseguir este empleo...",value:t.testimonial,onChange:i=>n({...t,testimonial:i.target.value}),rows:4})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3",children:[a.jsxs(Ce,{type:"submit",className:"flex-1",children:[a.jsx(nl,{className:"w-4 h-4 mr-2"}),"Compartir mi Ãxito",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]}),a.jsx(Ce,{type:"button",variant:"outline",onClick:e,children:"Cerrar"})]})]}),a.jsx("div",{className:"text-center text-sm text-muted-foreground",children:a.jsx("p",{children:"Tu historia puede inspirar a otros profesionales en su búsqueda laboral. Gracias por ser parte de nuestra comunidad de éxito."})})]})]})})}function wce(){const e=()=>{window.open("https://wa.me/+523337872943?text=Hola%20equipo%20de%20Academy%2C%20quiero%20hablar%20con%20mi%20Career%20Coach","_blank")};return a.jsx(G1,{children:a.jsxs(YE,{children:[a.jsx(QE,{asChild:!0,children:a.jsx("button",{onClick:e,className:"fixed bottom-3 right-3 sm:bottom-6 sm:right-6 z-[9999] w-11 h-11 sm:w-14 sm:h-14 bg-green-500 hover:bg-green-600 text-white rounded-full shadow-lg hover:shadow-xl transition-all duration-300 flex items-center justify-center group","aria-label":"Contactar por WhatsApp",children:a.jsx(bh,{className:"w-5 h-5 sm:w-7 sm:h-7 group-hover:scale-110 transition-transform duration-200"})})}),a.jsx(X1,{side:"left",className:"bg-gray-800 text-white px-3 py-2 rounded-lg shadow-lg",children:a.jsx("p",{className:"text-sm font-medium",children:"Habla con tu Career Coach"})})]})})}const Kc="/assets/Isotipo%[email protected]",QT=[{id:"overview",label:"Panel principal",icon:H7,path:"/dashboard/overview"},{id:"learning",label:"Aprendizaje",icon:Bd,path:"/dashboard/learning"},{id:"cv-boost",label:"CV Boost",icon:br,path:"/dashboard/cv-boost"},{id:"linkedin",label:"LinkedIn Boost",icon:Da,path:"/dashboard/linkedin"},{id:"interviews",label:"Simulación de entrevista",icon:gu,path:"/dashboard/interviews"},{id:"job-tracker",label:"Tablero de vacantes",icon:po,path:"/dashboard/job-tracker"},{id:"automated-messages",label:"Templates de Empleabilidad",icon:N0,path:"/dashboard/automated-messages"}],ZT=(e,t)=>t==="/dashboard/overview"?e==="/dashboard"||e===t||e.startsWith(t+"/"):e===t||e.startsWith(t+"/");function jce(){const[e,t]=j.useState(!1),[n,r]=j.useState(!1),[i,s]=j.useState(!1),{user:o,signOut:c}=Vr(),{toast:l}=ar(),u=Xt(),d=fo(),p=nce();j.useEffect(()=>{(async()=>{var T;const E=localStorage.getItem("welcomeTutorialCompleted");o&&!E&&!((T=o==null?void 0:o.user_metadata)!=null&&T.welcome_tutorial_completed)&&setTimeout(()=>{s(!0)},1e3)})()},[o]);const h=_=>{u(_),window.scrollTo({top:0,behavior:"smooth"}),p&&t(!1)},f=async()=>{try{await c(),l({title:"Sesión cerrada",description:"Has cerrado sesión correctamente"}),u("/")}catch{l({title:"Error",description:"Error al cerrar sesión",variant:"destructive"})}},v=d.pathname,m=v==="/dashboard"||v==="/dashboard/overview",y=QT.find(_=>ZT(v,_.path)),g=_=>a.jsxs("div",{className:"flex flex-col h-full",children:[a.jsxs("div",{className:_?"px-2 py-4":"p-6",children:[a.jsx("div",{className:"flex justify-center mb-2",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:`h-8 ${_?"scale-90":""}`})}),!_&&a.jsx("p",{className:"text-sm text-muted-foreground text-center",children:"Impulsa tu potencial profesional"})]}),a.jsx("nav",{className:"flex-1 px-2 space-y-2",children:QT.map(E=>
652{const T=E.icon,A=ZT(v,E.path),w=a.jsxs("button",{type:"button",onClick:()=>h(E.path),className:`w-full flex items-center gap-3 ${_?"px-3 justify-center":"px-4"} py-3 rounded-lg text-left transition-all duration-300 backdrop-blur-sm ${A?"bg-primary/20 text-primary border border-primary/30 shadow-lg backdrop-blur-md":"text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground hover:backdrop-blur-sm"}`,children:[a.jsx(T,{className:"w-5 h-5 shrink-0"}),!_&&a.jsx("span",{className:"font-medium",children:E.label})]});return _?a.jsxs(YE,{children:[a.jsx(QE,{asChild:!0,children:w}),a.jsx(X1,{side:"right",className:"font-medium",children:E.label})]},E.id):a.jsx("div",{children:w},E.id)})})]}),x=()=>p?a.jsx(YT,{open:e,onOpenChange:t,children:a.jsxs(jM,{side:"left",className:"w-80 p-0",children:[a.jsx(_M,{className:"p-6 pb-4",children:a.jsx(NM,{className:"text-left",children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-8"}),a.jsx("span",{className:"text-lg font-semibold",children:"Emplicity"})]})})}),g(!1)]})}):a.jsx(G1,{delayDuration:200,children:a.jsx("div",{className:"fixed inset-y-0 left-0 z-20 w-14",children:a.jsx("div",{className:"h-full w-full bg-card border-r border-border shadow-card",children:g(!0)})})}),b=m?"Panel principal":(y==null?void 0:y.label)||"Panel principal";return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsxs("div",{className:"flex",children:[x(),a.jsxs("div",{className:`flex-1 ${p?"ml-0":"ml-14"}`,children:[a.jsx("header",{className:"bg-card border-b border-border px-4 md:px-6 py-4",children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[p&&a.jsx(YT,{open:e,onOpenChange:t,children:a.jsx(dce,{asChild:!0,children:a.jsx(Ce,{variant:"ghost",size:"icon","aria-label":"Abrir menú",className:"md:hidden",children:a.jsx(G7,{className:"w-5 h-5"})})})}),a.jsxs("div",{children:[a.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(Ce,{variant:"ghost",size:"sm",onClick:()=>h("/dashboard/overview"),className:"text-muted-foreground hover:text-foreground",children:"Dashboard"}),!m&&y&&a.jsxs(a.Fragment,{children:[a.jsx("span",{className:"text-muted-foreground",children:"/"}),a.jsx("span",{className:"text-foreground font-medium",children:y.label})]})]}),a.jsx("h2",{className:"text-xl font-semibold text-foreground",children:b}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Gestiona tu desarrollo profesional"})]})]}),a.jsxs(Hoe,{children:[a.jsx(Goe,{asChild:!0,children:a.jsxs(Ce,{variant:"outline",size:"sm",children:[a.jsx(Bo,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"hidden sm:inline",children:"Mi Perfil"}),a.jsx(Zs,{className:"w-4 h-4 ml-2"})]})}),a.jsxs(J9,{align:"end",className:"w-48",children:[a.jsxs(hg,{onClick:()=>h("/dashboard/settings"),children:[a.jsx(sZ,{className:"w-4 h-4 mr-2"}),"Configuración"]}),a.jsxs(hg,{onClick:()=>h("/dashboard/membership"),children:[a.jsx(N0,{className:"w-4 h-4 mr-2"}),"Mi MembresÃa"]}),a.jsxs(hg,{onClick:()=>r(!0),children:[a.jsx(ox,{className:"w-4 h-4 mr-2"}),"¡Conseguà Empleo!"]}),a.jsxs(hg,{onClick:f,children:[a.jsx(O1,{className:"w-4 h-4 mr-2"}),"Cerrar Sesión"]})]})]})]})}),a.jsx("main",{className:"p-4 md:p-6",children:a.jsx(sne,{})})]})]}),n&&a.jsx(bce,{onClose:()=>r(!1)}),i&&a.jsx(xce,{isOpen:i,onClose:()=>s(!1)}),a.jsx(wce,{})]})}function JT(){const e={name:"MarÃa González",photo:"/lovable-uploads/team-collaboration.png",whatsappLink:"https://wa.me/+523337872943?text=Hola%20,%20necesito%20ayuda%20con%20mi%20desarrollo%20profesional",availability:"Disponible",specialties:["Entrevistas","CV","LinkedIn","Networking"]},t=Xt();return a.jsx("div",{className:"space-y-4 md:space-y-6",children:a.jsxs("div",{className:"grid grid-cols-1 gap-4 md:gap-6",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-6 items-stretch",children:[a.jsxs(nt,{className:"shadow-card w-full flex flex-col",children:[a.jsxs(kt,{className:"p-4 md:p-6",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg md:text-xl",children:[a.jsx(po,{className:"w-5 h-5 text-primary"}),"Acciones Rápidas"]}),a.jsx(Wt,{className:"text-sm md:text-base",children:"Comienza tu desarrollo profesional"})]}),a.jsxs(it,{className:"space-y-3 p-4 md:p-6 flex-1",children:[a.jsxs(Ce,{variant:"outline",className:"w-full justify-start h-12 md:h-10",onClick:()=>t("/dashboard/cv-boost"),children:[a.jsx(sy,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"CV Boost"})]}),a.jsxs(Ce,{variant:"outline",className:"w-full justify-start h-12 md:h-10",onClick:()=>t("/dashboard/linkedin"),children:[a.jsx(Da,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"Optimizar Perfil LinkedIn"})]}),a.jsxs(Ce,{variant:"outline",className:"w-full justify-start h-12 md:h-10",onClick:()=>t("/dashboard/job-tracker"),children:[a.jsx(ry,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"Agregar Aplicación Laboral"})]}),a.jsxs(Ce,{variant:"outline",className:"w-full justify-start h-12 md:h-10",onClick:()=>t("/dashboard/interviews"),children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"Iniciar Entrevista Simulada"})]})]})]}),a.jsxs(nt,{className:"shadow-card w-full flex flex-col overflow-hidden",children:[a.jsxs(kt,{className:"p-4 md:p-6 pb-2",children:[a.jsx(Tt,{className:"text-lg md:text-xl",children:"Bienvenida a la plataforma"}),a.jsx(Wt,{className:"text-sm md:text-base",children:"Conoce las herramientas disponibles para tu desarrollo profesional"})]}),a.jsx(it,{className:"p-4 md:p-6 pt-0 flex-1 flex flex-col min-h-0",children:a.jsx("div",{className:"relative w-full aspect-video rounded-lg overflow-hidden bg-muted",children:a.jsx("iframe",{title:"Bienvenida a la plataforma",src:"https://player.vimeo.com/video/1178934264",className:"absolute inset-0 h-full w-full border-0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0})})})]})]}),a.jsxs(nt,{className:"shadow-card border-green-200 bg-gradient-to-br from-green-50 to-emerald-50",children:[a.jsxs(kt,{className:"p-4 md:p-6",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-green-800 text-lg md:text-xl",children:[a.jsx(bh,{className:"w-5 h-5"}),"Chatea con tu Career Coach"]}),a.jsx(Wt,{className:"text-green-700 text-sm md:text-base",children:"EscrÃbenos de Lunes a Viernes de 9:00 am - 6:00pm hora CDMX"})]}),a.jsx(it,{className:"p-4 md:p-6",children:a.jsxs(Ce,{size:"lg",className:"w-full h-12 md:h-10",onClick:()=>window.open(e.whatsappLink,"_blank"),children:[a.jsx(bh,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"Enviar mensaje por WhatsApp"})]})})]}),a.jsxs(nt,{className:"shadow-card border-blue-200 bg-gradient-to-br from-blue-50 to-indigo-50",children:[a.jsxs(kt,{className:"p-4 md:p-6",children:[a.jsx(Tt,{className:"flex items-center gap-2 text-blue-800 text-lg md:text-xl",children:"ð§© Sesión de Comunidad"}),a.jsx(Wt,{className:"text-blue-700 text-sm md:text-base",children:"Sesiones semanales de Empleabilidad para compartir avances y resolver dudas en grupo."})]}),a.jsxs(it,{className:"space-y-4 p-4 md:p-6 pt-0",children:[a.jsxs("div",{className:"flex items-center gap-2 rounded-lg border border-blue-200 bg-white/60 px-4 py-3 text-blue-900",children:[a.jsx(En,{className:"h-4 w-4 shrink-0 text-blue-600"}),a.jsx("p",{className:"text-sm font-medium md:text-base",children:"Todos los jueves, 5:00 PM CDMX"})]}),a.jsxs(Ce,{size:"lg",className:"w-full h-12 md:h-10 bg-blue-600 hover:bg-blue-700 text-white",onClick:()=>window.open("https://meet.google.com/ceu-zuts-qjw","_blank"),children:[a.jsx(cp,{className:"w-4 h-4 mr-2"}),a.jsx("span",{className:"text-sm md:text-base",children:"Unirse a la sesión"})]})]})]})]})})}const Uc=()=>a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsxs("div",{className:"flex flex-col items-center gap-4",children:[a.jsx(hu,{className:"h-8 w-8 animate-spin text-primary"}),a.jsx("p",{className:"text-muted-foreground",children:"Cargando..."})]})});function _ce(){const{user:e}=Vr(),{toast:t}=ar(),[n,r]=j.useState(!0),[i,s]=j.useState(null);j.useEffect(()=>{(async()=>
652{if(e)try{r(!0);const{data:l}=await Ye.from("profiles").select("*").eq("user_id",e.id).single(),{data:u}=await Ye.functions.invoke("get-user-subscription",{body:{user_id:e.id}}),d=u==null?void 0:u.subscription;let p={plan:(l==null?void 0:l.subscription_plan)||"Academy",status:(l==null?void 0:l.subscription_status)||"inactive",startDate:(l==null?void 0:l.created_at)||new Date().toISOString(),endDate:null,credits:(l==null?void 0:l.interview_credits)||0,customerId:null,subscriptionId:null,amount:149,currency:"usd",nextBillingDate:null};if(d){const h=(d.plan_type||"6months").toLowerCase();p={plan:h==="12months"?"Academy - 12 Meses":"Academy - 6 Meses",status:d.status||"active",startDate:d.started_at||p.startDate,endDate:d.expires_at||null,credits:p.credits,customerId:d.stripe_customer_id||null,subscriptionId:d.id||null,amount:typeof d.amount_paid=="number"?Math.max(0,d.amount_paid/100):h==="12months"?199:149,currency:(d.currency||"usd").toLowerCase(),nextBillingDate:null}}s(p)}catch(l){console.error("Error loading subscription info:",l),t({title:"Error",description:"Error al cargar la información de suscripción",variant:"destructive"})}finally{r(!1)}})()},[e,t]);const o=async()=>{try{window.location.href="/payment"}catch{t({title:"Error",description:"No se pudo procesar la renovación",variant:"destructive"})}};return e?n?a.jsx("div",{className:"space-y-6",children:a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"flex items-center justify-center py-8",children:a.jsx(Uc,{})})})}):(i==null?void 0:i.status)!=="active"?a.jsxs("div",{className:"space-y-6",children:[a.jsxs(nt,{className:"shadow-card border-amber-200 bg-amber-50/50",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-amber-800",children:[a.jsx(N0,{className:"w-5 h-5"}),"MembresÃa Inactiva"]}),a.jsx(Wt,{className:"text-amber-700",children:"No tienes una membresÃa activa. Activa tu cuenta para acceder a todas las funcionalidades."})]}),a.jsx(it,{className:"space-y-4",children:a.jsx("div",{className:"text-center",children:a.jsxs(Ce,{onClick:o,size:"lg",className:"bg-amber-600 hover:bg-amber-700 text-white",children:[a.jsx(Ld,{className:"w-4 h-4 mr-2"}),"Activar MembresÃa"]})})})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(yh,{className:"w-5 h-5 text-primary"}),"Planes Disponibles"]}),a.jsx(Wt,{children:"Elige el plan que mejor se adapte a tus necesidades profesionales y comienza tu transformación"})]}),a.jsx(it,{children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"border border-border rounded-lg p-4",children:[a.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Academy - 6 Meses"}),a.jsxs("div",{className:"mb-2",children:[a.jsx("div",{className:"bg-gradient-to-r from-red-500 to-red-600 text-white px-3 py-1 rounded-full text-xs font-bold text-center mb-2 animate-pulse",children:"¡AHORRA $148!"}),a.jsxs("div",{className:"flex items-center gap-2 justify-center",children:[a.jsx("span",{className:"text-lg text-muted-foreground line-through",children:"$5457.61"}),a.jsxs("p",{className:"text-3xl font-bold text-primary",children:["$1364.4",a.jsx("span",{className:"text-base",children:" MXN"})]})]}),a.jsx("div",{className:"bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-bold text-center mt-1",children:"75% DESCUENTO LIMITADO"})]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"6 meses de acceso completo"}),a.jsxs("ul",{className:"space-y-2 text-sm mb-4",children:[a.jsx("li",{children:"⢠CV Boost con IA"}),a.jsx("li",{children:"⢠LinkedIn Optimizer"}),a.jsx("li",{children:"⢠5 Entrevistas IA"}),a.jsx("li",{children:"⢠E-learning Hub"}),a.jsx("li",{children:"⢠Job Tracker"})]}),a.jsxs(Ce,{onClick:o,className:"w-full",children:[a.jsx(Ld,{className:"w-4 h-4 mr-2"}),"Activar Plan"]})]}),a.jsxs("div",{className:"border border-border rounded-lg p-4",children:[a.jsx("h4",{className:"font-semibold text-lg mb-2",children:"Academy - 12 Meses"}),a.jsxs("div",{className:"mb-2",children:[a.jsx("div",{className:"bg-gradient-to-r from-red-500 to-red-600 text-white px-3 py-1 rounded-full text-xs font-bold text-center mb-2 animate-pulse",children:"¡AHORRA $198!"}),a.jsxs("div",{className:"flex items-center gap-2 justify-center",children:[a.jsx("span",{className:"text-lg text-muted-foreground line-through",children:"$7295.19"}),a.jsxs("p",{className:"text-3xl font-bold text-primary",children:["$1823.8",a.jsx("span",{className:"text-base",children:" MXN"})]})]}),a.jsx("div",{className:"bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-bold text-center mt-1",children:"75% DESCUENTO LIMITADO"})]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:"12 meses de acceso completo"}),a.jsxs("ul",{className:"space-y-2 text-sm mb-4",children:[a.jsx("li",{children:"⢠CV Boost con IA"}),a.jsx("li",{children:"⢠LinkedIn Optimizer"}),a.jsx("li",{children:"⢠5 Entrevistas IA"}),a.jsx("li",{children:"⢠E-learning Hub"}),a.jsx("li",{children:"⢠Job Tracker"})]}),a.jsxs(Ce,{onClick:o,className:"w-full",children:[a.jsx(Ld,{className:"w-4 h-4 mr-2"}),"Activar Plan"]})]})]})})]})]}):a.jsxs("div",{className:"space-y-6",children:[a.jsxs(nt,{className:"shadow-card border-green-200 bg-green-50/50",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-green-800",children:[a.jsx(N0,{className:"w-5 h-5"}),"Mi MembresÃa"]}),a.jsx(Wt,{className:"text-green-700",children:"Acceso activo - Gestiona tu cuenta"})]}),a.jsxs(it,{className:"space-y-4",children:[i&&a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[a.jsxs("div",{className:"text-center p-3 bg-white rounded-lg",children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Plan"}),a.jsx("p",{className:"font-semibold text-lg",children:i.plan})]}),a.jsxs("div",{className:"text-center p-3 bg-white rounded-lg",children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Estado"}),a.jsx("p",{className:"font-semibold text-lg text-green-600",children:i.status==="active"?"Activo":i.status})]})]}),i&&a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Fecha de inicio:"}),a.jsx("span",{className:"font-medium",children:new Date(i.startDate).toLocaleDateString("es-MX")})]}),i.endDate&&a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Fecha de fin:"}),a.jsx("span",{className:"font-medium",children:new Date(i.endDate).toLocaleDateString("es-MX")})]}),i.nextBillingDate&&a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Próxima facturación:"}),a.jsx("span",{className:"font-medium",children:new Date(i.nextBillingDate).toLocaleDateString("es-MX")})]}),i.customerId&&a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"ID de Cliente:"}),a.jsx("span",{className:"font-medium text-xs font-mono",children:i.customerId})]})]})]})]}),(i==null?void 0:i.customerId)&&a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(Bo,{className:"w-5 h-5 text-primary"}),"Información del Cliente"]}),a.jsx(Wt,{children:"Detalles de tu cuenta en Stripe"})]}),a.jsx(it,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Customer ID:"}),a.jsx("span",{className:"font-medium text-xs font-mono",children:i.customerId})]}),i.subscriptionId&&a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Subscription ID:"}),a.jsx("span",{className:"font-medium text-xs font-mono",children:i.subscriptionId})]}),a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Plan actual:"}),a.jsx("span",{className:"font-medium",children:i.plan})]})]})})]})]}):a.jsx("div",{className:"space-y-6",children:a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"flex items-center justify-center py-8",children:a.jsx(Uc,{})})})})}const Nce="/assets/PlantillaCVEmplicity1-DFxP1GsO.png",Cce="/assets/PlantillaCVEmplicity2-B6A_TgRS.png",Ece="/assets/PlantillaCVEmplicity3-Es4-NHzi.png",Sce="/assets/PlantillaCVEmplicity4-BlmP-b1U.png",Dce="/assets/PlantillaCVEmplicity5-CdfRk--k.png",Ace=[{id:1,name:"Template Perfil Competitivo",description:"¡Recomendado para destacar tu perfil de manera clara y aumentar tus posibilidades de ser contactado!",image:Nce,canvaUrl:"https://www.canva.com/design/DAHBlz1cZVU/44BYQmuharEXaiaMbh2-4g/edit?utm_c
652ontent=DAHBlz1cZVU&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton"},{id:2,name:"Template Inicio Profesional",description:"Perfecto para perfiles recién egresados o en transición",image:Cce,canvaUrl:"https://www.canva.com/design/DAHBfza6hVs/GAQnoVyJWQ3Wy4q4yrgF5w/edit?utm_content=DAHBfza6hVs&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton"},{id:3,name:"Template Perfil Ejecutivo",description:"Ideal para roles ejecutivos y gerenciales",image:Ece,canvaUrl:"https://www.canva.com/design/DAHBmyGWrAU/BB3i5cHK0Sx14uZPH_fV3A/edit?utm_content=DAHBmyGWrAU&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton"},{id:4,name:"Template Optimizado ATS",description:"Ideal para mostrar crecimiento y evolución de tu carrera",image:Sce,canvaUrl:"https://www.canva.com/design/DAHBntuxNFw/bw8eGpv4wWRh89eu83ZvLg/edit?utm_content=DAHBntuxNFw&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton"},{id:5,name:"Template Impacto Profesional",description:"Diseñado para quienes buscan proyectar crecimiento y seniority.",image:Dce,canvaUrl:"https://www.canva.com/design/DAHBl_VZauU/6p1qXHPClTZYZGWSod0qNg/edit?utm_content=DAHBl_VZauU&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton"}];function kce(e){return!!window.open(e,"_blank","noopener,noreferrer")}function Tce({userProfile:e,isLoadingProfile:t,isEditingProfile:n,editedProfile:r,setEditedProfile:i,onEdit:s,onSave:o,onCancel:c}){return t?a.jsx("div",{className:"space-y-6",children:a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"flex items-center justify-center py-8",children:a.jsx(Uc,{})})})}):e?a.jsx("div",{className:"space-y-6",children:a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{className:"flex flex-row items-center justify-between space-y-0 pb-4",children:[a.jsxs("div",{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(Bo,{className:"w-5 h-5 text-primary"}),"Mi Perfil"]}),a.jsx(Wt,{children:"Gestiona tus datos personales y de contacto"})]}),a.jsx("div",{className:"flex gap-2",children:n?a.jsxs(a.Fragment,{children:[a.jsxs(Ce,{variant:"outline",onClick:c,children:[a.jsx(rl,{className:"w-4 h-4 mr-2"}),"Cancelar"]}),a.jsxs(Ce,{onClick:o,children:[a.jsx(X7,{className:"w-4 h-4 mr-2"}),"Guardar Cambios"]})]}):a.jsxs(Ce,{variant:"outline",onClick:s,children:[a.jsx(oZ,{className:"w-4 h-4 mr-2"}),"Editar Perfil"]})})]}),a.jsx(it,{children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"full_name",className:"text-sm",children:"Nombre Completo"}),a.jsx(Lt,{id:"full_name",value:r.full_name||"",onChange:l=>i({...r,full_name:l.target.value}),disabled:!n})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"email",className:"text-sm",children:"Email"}),a.jsx(Lt,{id:"email",type:"email",value:r.email||"",onChange:l=>i({...r,email:l.target.value}),disabled:!n})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"phone",className:"text-sm",children:"Teléfono"}),a.jsx(Lt,{id:"phone",value:r.phone||"",onChange:l=>i({...r,phone:l.target.value}),disabled:!n})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"linkedin",className:"text-sm",children:"LinkedIn"}),a.jsx(Lt,{id:"linkedin",value:r.linkedin_url||"",onChange:l=>i({...r,linkedin_url:l.target.value}),disabled:!n})]})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"bio",className:"text-sm",children:"BiografÃa"}),a.jsx(Hi,{id:"bio",value:r.bio||"",onChange:l=>i({...r,bio:l.target.value}),disabled:!n})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"skills",className:"text-sm",children:"Habilidades"}),a.jsx(Lt,{id:"skills",value:r.skills||"",onChange:l=>i({...r,skills:l.target.value}),disabled:!n})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(dt,{htmlFor:"experience",className:"text-sm",children:"Experiencia"}),a.jsx(Hi,{id:"experience",value:r.experience||"",onChange:l=>i({...r,experience:l.target.value}),disabled:!n})]})]})]})})]})}):a.jsx("div",{className:"space-y-6",children:a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"flex items-center justify-center py-8",children:a.jsx("p",{className:"text-muted-foreground",children:"Perfil no encontrado."})})})})}function Pce(){const{user:e}=Vr(),{toast:t}=ar(),[n,r]=j.useState(null),[i,s]=j.useState(!0),[o,c]=j.useState(!1),[l,u]=j.useState({});j.useEffect(()=>{(async()=>
652{if(!e){s(!1);return}try{s(!0);const{data:v,error:m}=await Ye.from("profiles").select("*").eq("user_id",e.id).single();m?(console.error("Error loading profile:",m),t({title:"Error",description:"No se pudo cargar el perfil del usuario",variant:"destructive"})):(r(v),u(v))}catch(v){console.error("Error in getUserProfile:",v),t({title:"Error",description:"Error al cargar el perfil",variant:"destructive"})}finally{s(!1)}})()},[e,t]);const d=()=>{c(!0),u(n||{})},p=async()=>{if(!(!e||!n))try{const{error:f}=await Ye.from("profiles").update(l).eq("user_id",e.id);if(f)throw f;r({...n,...l}),c(!1),t({title:"Perfil actualizado",description:"Tu perfil se ha actualizado correctamente"})}catch(f){console.error("Error updating profile:",f),t({title:"Error",description:"No se pudo actualizar el perfil",variant:"destructive"})}},h=()=>{c(!1),u(n||{})};return a.jsx(Tce,{userProfile:n,isLoadingProfile:i,isEditingProfile:o,editedProfile:l,setEditedProfile:u,onEdit:d,onSave:p,onCancel:h})}const Lce=ey("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ln({className:e,variant:t,...n}){return a.jsx("div",{className:lt(Lce({variant:t}),e),...n})}var R4="Tabs",[Rce,S_e]=Es(R4,[Kh]),DM=Kh(),[Oce,O4]=Rce(R4),AM=j.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:s,orientation:o="horizontal",dir:c,activationMode:l="automatic",...u}=e,d=Xh(c),[p,h]=Vi({prop:r,onChange:i,defaultProp:s});return a.jsx(Oce,{scope:n,baseId:fi(),value:p,onValueChange:h,orientation:o,dir:d,activationMode:l,children:a.jsx(Nt.div,{dir:d,"data-orientation":o,...u,ref:t})})});AM.displayName=R4;var kM="TabsList",TM=j.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,s=O4(kM,n),o=DM(n);return a.jsx(y4,{asChild:!0,...o,orientation:s.orientation,dir:s.dir,loop:r,children:a.jsx(Nt.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})});TM.displayName=kM;var PM="TabsTrigger",LM=j.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...s}=e,o=O4(PM,n),c=DM(n),l=IM(o.baseId,r),u=UM(o.baseId,r),d=r===o.value;return a.jsx(v4,{asChild:!0,...c,focusable:!i,active:d,children:a.jsx(Nt.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l,...s,ref:t,onMouseDown:Je(e.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?o.onValueChange(r):p.preventDefault()}),onKeyDown:Je(e.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&o.onValueChange(r)}),onFocus:Je(e.onFocus,()=>{const p=o.activationMode!=="manual";!d&&!i&&p&&o.onValueChange(r)})})})});LM.displayName=PM;var RM="TabsContent",OM=j.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:s,...o}=e,c=O4(RM,n),l=IM(c.baseId,r),u=UM(c.baseId,r),d=r===c.value,p=j.useRef(d);return j.useEffect(()=>{const h=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(h)},[]),a.jsx(Xa,{present:i||d,children:({present:h})=>a.jsx(Nt.div,{"data-state":d?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":l,hidden:!h,id:u,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:h&&s})})});OM.displayName=RM;function IM(e,t){return`${e}-trigger-${t}`}function UM(e,t){return`${e}-content-${t}`}var Ice=AM,FM=TM,MM=LM,qM=OM;const g2=Ice,gy=j.forwardRef(({className:e,...t},n)=>a.jsx(FM,{ref:n,className:lt("inline-flex h-auto items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground gap-1",e),...t}));gy.displayName=FM.displayName;const Js=j.forwardRef(({className:e,...t},n)=>a.jsx(MM,{ref:n,className:lt("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-2 text-sm font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary/10 data-[state=active]:text-primary data-[state=active]:border data-[state=active]:border-primary/20",e),...t}));Js.displayName=MM.displayName;const eo=j.forwardRef(({className:e,...t},n)=>a.jsx(qM,{ref:n,className:lt("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));eo.displayName=qM.displayName;function I4(){const{user:e}=Vr();return{trackFeatureUsage:j.useCallback(async n=>{if(!e){console.warn("Cannot track feature usage: user not authenticated");return}try{const{error:r}=await Ye.from("feature_usage").upsert({user_id:e.id,feature_type:n,used_at:new Date().toISOString()},{onConflict:"user_id,feature_type",ignoreDuplicates:!1});r?console.error(`Error tracking ${n}:`,r):(console.log(`â Tracked ${n} usage for user ${e.id}`),window.dispatchEvent(new CustomEvent("feature-tracked",{detail:{featureType:n,userId:e.id}})))}catch(r){console.error(`Exception tracking ${n}:`,r)}},[e])}}const xy={primary:"#2cbdee",primaryDark:"#1a9ed0",primaryTint:"#e6f6fd"},Uce=["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document",".docx"],q0=xy.primary,Fce=xy.primaryDark;function mg({copyKey:e,text:t,copiedKey:n,onCopy:r,small:i}){const s=n===e,o=i?13:15;return a.jsxs("button",{type:"button",onClick:()=>r(e,t),className:"inline-flex shrink-0 items-center gap-1.5 rounded-lg px-3 py-1.5 text-xs font-semibold text-white transition-colors",style:{background:s?"#16a34a":q0},children:[s?a.jsx(ty,{size:o}):a.jsx(q7,{size:o}),s?"Copiado":"Copiar"]})}function Jv({icon:e,title:t,subtitle:n,copyKey:r,copyText:i,copiedKey:s,onCopy:o,children:c}){return a.jsxs("div",{className:"mb-4 overflow-hidden rounded-2xl border border-border/70 bg-card",children:[a.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-border/60 bg-muted/30 px-4 py-3",children:[a.jsxs("div",{className:"flex items-center gap-2.5",children:[a.jsx("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg",style:{background:q0},children:a.jsx(e,{size:18,color:"#fff"})}),a.jsxs("div",{children:[a.jsx("div",{className:"font-semibold text-foreground",children:t}),n&&a.jsx("div",{className:"text-xs text-muted-foreground",children:n})]})]}),i!==void 0&&r&&a.jsx(mg,{copyKey:r,text:i,copiedKey:s,onCopy:o})]}),a.jsx("div",{className:"p-4",children:c})]})}function Mce({result:e,lang:t,setLang:n,copiedKey:r,onCopy:i,onReset:s}){const o=(c,l)=>t==="es"?c:l;return a.jsxs("div",{children:[a.jsxs("div",{className:"mb-4 flex flex-wrap items-center justify-between gap-3",children:[a.jsx("div",{className:"flex rounded-xl border border-border/70 bg-card p-1",children:["es","en"].map(c=>a.jsxs("button",{type:"button",onClick:()=>n(c),className:"flex items-center gap-1.5 rounded-lg px-4 py-1.5 text-sm font-semibold transition-colors",style:{background:t===c?q0:"transparent",color:t===c?"#fff":"var(--muted-foreground, #7a93a0)"},children:[a.jsx(C0,{size:14})," ",c==="es"?"Español":"English"]},c))}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:s,children:"Nuevo CV"})]}),a.jsx(Jv,{icon:xs,title:o("Titular de LinkedIn","LinkedIn Headline"),subtitle:`${e.headline[t].length} / 220 caracteres`,copyKey:"headline",copyText:e.headline[t],copiedKey:r,onCopy:i,children:a.jsx("p",{className:"text-base font-semibold leading-relaxed text-foreground",children:e.headline[t]})}),a.jsx(Jv,{icon:Bo,title:o("Acerca de","About"),subtitle:o("Pégalo en la sección 'Acerca de' de tu perfil","Paste it in your 'About' section"),copyKey:"about",copyText:e.about[t].join(` 653 654`),copiedKey:r,onCopy:i,children:e.about[t].map((c,l)=>
654a.jsx("p",{className:`text-sm leading-relaxed text-foreground/90 ${l===0?"":"mt-3"}`,children:c},l))}),a.jsxs(Jv,{icon:el,title:o("Experiencia","Experience"),subtitle:o("Funciones de cada empleo, listas para LinkedIn","Each job's functions, ready for LinkedIn"),copiedKey:r,onCopy:i,children:[a.jsxs("div",{className:"mb-4 flex items-start gap-2 rounded-xl border border-amber-200 bg-amber-50 px-3.5 py-2.5",children:[a.jsx(qQ,{size:17,className:"mt-0.5 shrink-0 text-amber-600"}),a.jsx("p",{className:"text-xs leading-relaxed text-amber-800",children:o("Copia y pega las funciones de cada empleo en la sección de experiencia correspondiente de tu LinkedIn. En español se toman tal cual de tu CV; en inglés se traducen con verbos de acción.","Copy and paste each job's functions into the matching experience entry on your LinkedIn. The Spanish version is taken verbatim from your CV; the English one uses action verbs.")})]}),e.experience.map((c,l)=>{var d;const u=((d=c.functions)==null?void 0:d[t])??[];return a.jsxs("div",{className:`rounded-xl border border-border/60 p-3.5 ${l===e.experience.length-1?"":"mb-3"}`,children:[a.jsxs("div",{className:"mb-2.5 flex items-start justify-between gap-2.5",children:[a.jsxs("div",{children:[a.jsx("div",{className:"font-semibold text-foreground",children:c.title}),c.company&&a.jsx("div",{className:"text-sm text-muted-foreground",children:c.company})]}),a.jsx(mg,{copyKey:`exp${l}`,text:u.map(p=>`⢠${p}`).join(` 655`),copiedKey:r,onCopy:i,small:!0})]}),a.jsx("div",{className:"space-y-1.5",children:u.map((p,h)=>a.jsxs("p",{className:"flex gap-2 text-sm leading-relaxed text-foreground/90",children:[a.jsx("span",{className:"shrink-0 font-bold",style:{color:q0},children:"â¢"}),a.jsx("span",{children:p})]},h))})]},l)})]}),a.jsxs(Jv,{icon:C0,title:o("Versión para portales","Job boards version"),subtitle:"OCC · Computrabajo · Indeed",copiedKey:r,onCopy:i,children:[a.jsxs("div",{className:"mb-4",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("span",{className:"text-xs font-bold uppercase tracking-wide text-muted-foreground",children:o("Puesto objetivo","Target position")}),a.jsx(mg,{copyKey:"pPuesto",text:e.portales.puesto[t],copiedKey:r,onCopy:i,small:!0})]}),a.jsx("p",{className:"mt-1.5 font-semibold text-foreground",children:e.portales.puesto[t]})]}),a.jsxs("div",{className:"mb-4",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("span",{className:"text-xs font-bold uppercase tracking-wide text-muted-foreground",children:[o("Perfil profesional","Professional profile")," (",e.portales.perfil[t].length," ",o("caracteres","characters"),")"]}),a.jsx(mg,{copyKey:"pPerfil",text:e.portales.perfil[t],copiedKey:r,onCopy:i,small:!0})]}),a.jsx("p",{className:"mt-1.5 text-sm leading-relaxed text-foreground/90",children:e.portales.perfil[t]})]}),a.jsxs("div",{className:"border-t border-border/60 pt-4",children:[a.jsx("div",{className:"mb-3 text-xs font-bold uppercase tracking-wide text-muted-foreground",children:o("Descripción por empleo","Description per job")}),e.portales.empleos.map((c,l)=>{const u=c.descripcion[t];return a.jsxs("div",{className:`rounded-xl border border-border/60 p-3.5 ${l===e.portales.empleos.length-1?"":"mb-3"}`,children:[a.jsxs("div",{className:"mb-2 flex items-start justify-between gap-2.5",children:[a.jsxs("div",{children:[a.jsx("div",{className:"font-semibold text-foreground",children:c.title}),c.company&&a.jsx("div",{className:"text-sm text-muted-foreground",children:c.company}),a.jsxs("div",{className:"mt-0.5 text-[11px] text-muted-foreground/80",children:[u.length," ",o("caracteres","characters")]})]}),a.jsx(mg,{copyKey:`emp${l}`,text:u,copiedKey:r,onCopy:i,small:!0})]}),a.jsx("p",{className:"text-sm leading-relaxed text-foreground/90",children:u})]},l)})]})]}),e.email&&a.jsxs("div",{className:"flex items-center gap-2 rounded-xl border border-border/70 bg-card px-4 py-3 text-sm text-muted-foreground",children:[a.jsx(Tr,{size:15,color:Fce}),o("Contacto detectado:","Detected contact:")," ",a.jsx("strong",{className:"text-foreground",children:e.email})]})]})}const Km=xy.primary,qce=xy.primaryDark;function Bce({boost:e}){const{currentStep:t,originalFilename:n,result:r,lang:i,setLang:s,copiedKey:o,errorMessage:c,handleFileSelected:l,optimize:u,copy:d,reset:p}=e;return t==="generating"?a.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 py-16 text-center",children:[a.jsx(hu,{className:"h-10 w-10 animate-spin",style:{color:Km}}),a.jsx("p",{className:"font-medium text-muted-foreground",children:"Optimizando tu perfil de LinkedInâ¦"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Unos segundos y listo â vale la espera."})]}):t==="result"&&r?a.jsx(Mce,{result:r,lang:i,setLang:s,copiedKey:o,onCopy:d,onReset:p}):a.jsx("div",{className:"mx-auto max-w-2xl",children:a.jsxs("div",{className:"rounded-2xl border border-border/70 bg-card p-6",children:[a.jsxs("label",{htmlFor:"linkedin-boost-file",className:"group flex cursor-pointer flex-col items-center justify-center gap-3 rounded-2xl border-2 border-dashed px-6 py-12 text-center transition-all hover:shadow-sm",style:{borderColor:Km,background:xy.primaryTint},onDragOver:h=>h.preventDefault(),onDrop:h=>{h.preventDefault();const f=h.dataTransfer.files[0];f&&l(f)},children:[a.jsx("span",{className:"flex h-14 w-14 items-center justify-center rounded-2xl transition-transform group-hover:scale-105",style:{background:"#fff"},children:a.jsx(sy,{size:26,color:Km})}),a.jsx("div",{className:"font-semibold text-foreground",children:"Carga tu CV"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:"Arrastra tu archivo aquà o selecciónalo (PDF o DOCX · hasta 5 MB)"}),a.jsx("span",{className:"mt-1 inline-block rounded-lg px-5 py-2 text-sm font-semibold text-white",style:{background:Km},children:"Seleccionar archivo"}),a.jsx("input",{id:"linkedin-boost-file",type:"file",accept:Uce.join(","),className:"sr-only",onChange:h=>{var v;const f=(v=h.target.files)==null?void 0:v[0];f&&l(f)}}),n&&a.jsxs("div",{className:"mt-3 inline-flex items-center gap-2 rounded-lg px-3.5 py-2 text-sm font-semibold",style:{background:"#fff",color:qce},children:[a.jsx(br,{size:16,color:Km})," ",n]})]}),c&&a.jsxs("div",{className:"mt-4 flex items-center gap-2 rounded-lg bg-destructive/10 px-3.5 py-2.5 text-sm text-destructive",children:[a.jsx(U7,{size:16})," ",c]}),a.jsxs(Ce,{className:"mt-5 w-full gap-2",size:"lg",onClick:()=>void u(),children:[a.jsx(xs,{size:18})," Optimizar mi LinkedIn"]})]})})}function zce({records:e,onView:t,onDelete:n}){return e.length===0?a.jsxs("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-16 text-center",children:[a.jsx(vh,{className:"mx-auto h-12 w-12 text-muted-foreground
655/60"}),a.jsx("p",{className:"mt-4 font-medium text-foreground",children:"Aún no hay optimizaciones"}),a.jsx("p",{className:"mx-auto mt-1 max-w-sm text-sm text-muted-foreground",children:'Ve a "Crear", sube tu CV y tu optimización de LinkedIn aparecerá aquà automáticamente.'})]}):a.jsx("div",{className:"space-y-3",children:e.map(r=>{var i;return a.jsxs("div",{className:"flex flex-col gap-3 rounded-xl border border-border/80 bg-card p-4 shadow-sm transition-shadow hover:shadow-md sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:a.jsx(up,{className:"h-5 w-5"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:((i=r.content.headline)==null?void 0:i.es)||r.originalFilename||"Optimización"}),r.originalFilename&&a.jsx("p",{className:"text-sm text-muted-foreground",children:r.originalFilename}),a.jsxs("p",{className:"mt-0.5 flex items-center gap-1 text-xs text-muted-foreground",children:[a.jsx(cp,{className:"h-3 w-3"}),new Date(r.createdAt).toLocaleDateString("es-ES")]})]})]}),a.jsxs("div",{className:"flex shrink-0 gap-2",children:[a.jsxs(Ce,{variant:"outline",size:"sm",className:"gap-1",onClick:()=>t(r),children:[a.jsx(Ic,{className:"h-4 w-4"}),"Ver"]}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>n(r.id),children:a.jsx(ay,{className:"h-4 w-4"})})]})]},r.id)})})}function e6(e){const t=e??{},n=Array.isArray(t.experiences)?t.experiences.map(r=>{const i=r??{};return{title:String(i.title??""),company:String(i.company??""),description:String(i.description??""),bullets:Array.isArray(i.bullets)?i.bullets.map(s=>String(s)):[]}}):[];return{headline:String(t.headline??""),summary:String(t.summary??""),experiences:n,skills:Array.isArray(t.skills)?t.skills.map(r=>String(r)):[]}}function $ce(e){const t=typeof e.optimized_content=="object"&&e.optimized_content!==null?e.optimized_content:{},n=typeof t.personalFileNameSigned=="string"&&t.personalFileNameSigned||typeof t.linkedinFileNameSigned=="string"&&t.linkedinFileNameSigned||e.file_name_signed||void 0;return{id:e.id,createdAt:e.created_at,personalFilename:e.personal_cv_filename,linkedinFilename:e.linkedin_cv_filename,fileNameSigned:n||void 0,es:e6(t.spanish),en:e6(t.english)}}async function Wce(){const{data:{user:e}}=await Ye.auth.getUser();if(!e)return[];const{data:t,error:n}=await Ye.from("linkedin_optimizations").select("id, personal_cv_filename, linkedin_cv_filename, created_at, file_name_signed, optimized_content").eq("user_id",e.id).order("created_at",{ascending:!1});if(n)throw n;return t.map($ce)}async function Vce(e){const{data:t,error:n}=await Ye.functions.invoke("get-cv-download-url",{body:{fileName:e}});if(n)throw new Error(`Error al generar enlace: ${n.message}`);const r=await fetch(t.downloadUrl);if(!r.ok)throw new Error(`Error al descargar: ${r.status}`);const i=await r.blob(),s=window.URL.createObjectURL(i),o=document.createElement("a");o.href=s,o.download=`CV_Original_${new Date().toISOString().split("T")[0]}.pdf`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(s)}function Hce({records:e}){const{toast:t}=ar(),[n,r]=j.useState(new Set),[i,s]=j.useState(null),o=l=>{r(u=>{const d=new Set(u);return d.has(l)?d.delete(l):d.add(l),d})},c=async l=>{if(!l.fileNameSigned){t({title:"Sin archivo original",description:"Este registro no tiene un PDF original disponible.",variant:"destructive"});return}s(l.id);try{await Vce(l.fileNameSigned)}catch{t({title:"Error al descargar",description:"No se pudo descargar el CV original. Inténtalo de nuevo.",variant:"destructive"})}finally{s(null)}};return e.length===0?a.jsxs("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-16 text-center",children:[a.jsx(xh,{className:"mx-auto h-12 w-12 text-muted-foreground/60"}),a.jsx("p",{className:"mt-4 font-medium text-foreground",children:"No hay optimizaciones en el historial anterior"})]}):a.jsx("div",{className:"space-y-3",children:e.map(l=>{const u=n.has(l.id),d=l.personalFilename||l.linkedinFilename||"Optimización";return a.jsxs("div",{className:"overflow-hidden rounded-xl border border-border/80 bg-card shadow-sm",children:[a.jsxs("div",{className:"flex flex-col gap-3 p-4 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:d}),a.jsxs("p",{className:"mt-0.5 flex items-center gap-1 text-xs text-muted-foreground",children:[a.jsx(cp,{className:"h-3 w-3"}),new Date(l.createdAt).toLocaleDateString("es-ES")]})]}),a.jsxs("div",{className:"flex shrink-0 gap-2",children:[a.jsx(Ce,{variant:"outline",size:"sm",className:"gap-1",onClick:()=>o(l.id),children:u?a.jsxs(a.Fragment,{children:[a.jsx(Zs,{className:"h-4 w-4"}),"Ocultar"]}):a.jsxs(a.Fragment,{children:[a.jsx(ny,{className:"h-4 w-4"}),"Ver"]})}),l.fileNameSigned&&a.jsxs(Ce,{variant:"outline",size:"sm",className:"gap-1",disabled:i===l.id,onClick:()=>c(l),children:[a.jsx(Oc,{className:"h-4 w-4"}),i===l.id?"...":"Original"]})]})]}),u&&a.jsx("div",{className:"space-y-5 border-t border-border/80 bg-muted/20 p-5",children:["es","en"].map(p=>{const h=l[p],f=p==="es"?"Español":"English";return a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-xs font-bold uppercase tracking-wide text-primary",children:f}),h.headline&&a.jsxs("div",{children:[a.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:"Headline"}),a.jsx("p",{className:"text-sm text-foreground",children:h.headline})]}),h.summary&&a.jsxs("div",{children:[a.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:"Acerca de"}),a.jsx("p",{className:"whitespace-pre-wrap text-sm text-foreground",children:h.summary})]}),h.experiences.length>0&&a.jsxs("div",{className:"space-y-2",children:[a.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:"Experiencia"}),h.experiences.map((v,m)=>a.jsxs("div",{className:"text-sm",children:[a.jsx("span",{className:"font-medium text-foreground",children:v.title}),v.company&&a.jsxs("span",{className:"text-muted-foreground",children:[" ","· ",v.company]}),v.bullets.length>0&&a.jsx("ul",{className:"mt-1 list-disc space-y-0.5 pl-5 text-foreground
655/90",children:v.bullets.map((y,g)=>a.jsx("li",{children:y},g))})]},m))]}),h.skills.length>0&&a.jsx("div",{className:"flex flex-wrap gap-1.5",children:h.skills.map((v,m)=>a.jsx("span",{className:"rounded-full bg-primary/10 px-2.5 py-0.5 text-xs text-primary",children:v},m))})]},p)})})]},l.id)})})}var U4="1.13.8",t6=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},x2=Array.prototype,F4=Object.prototype,n6=typeof Symbol<"u"?Symbol.prototype:null,Gce=x2.push,yy=x2.slice,yx=F4.toString,Xce=F4.hasOwnProperty,BM=typeof ArrayBuffer<"u",Kce=typeof DataView<"u",Yce=Array.isArray,r6=Object.keys,a6=Object.create,i6=BM&&ArrayBuffer.isView,Qce=isNaN,Zce=isFinite,zM=!{toString:null}.propertyIsEnumerable("toString"),s6=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Jce=Math.pow(2,53)-1;function Wa(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var s=Array(t+1);for(i=0;i<t;i++)s[i]=arguments[i];return s[t]=r,e.apply(this,s)}}function ku(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function $M(e){return e===null}function M4(e){return e===void 0}function q4(e){return e===!0||e===!1||yx.call(e)==="[object Boolean]"}function WM(e){return!!(e&&e.nodeType===1)}function Aa(e){var t="[object "+e+"]";return function(n){return yx.call(n)===t}}const y2=Aa("String"),B4=Aa("Number"),VM=Aa("Date"),HM=Aa("RegExp"),GM=Aa("Error"),z4=Aa("Symbol"),$4=Aa("ArrayBuffer");var XM=Aa("Function"),ele=t6.document&&t6.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof ele!="function"&&(XM=function(e){return typeof e=="function"||!1});const Sa=XM,KM=Aa("Object");var YM=Kce&&(!/\[native code\]/.test(String(DataView))||KM(new DataView(new ArrayBuffer(8)))),W4=typeof Map<"u"&&KM(new Map),tle=Aa("DataView");function nle(e){return e!=null&&Sa(e.getInt8)&&$4(e.buffer)}const vx=YM?nle:tle,Tu=Yce||Aa("Array");function Pu(e,t){return e!=null&&Xce.call(e,t)}var V3=Aa("Arguments");
655(function(){V3(arguments)||(V3=function(e){return Pu(e,"callee")})})();const v2=V3;function QM(e){return!z4(e)&&Zce(e)&&!isNaN(parseFloat(e))}function V4(e){return B4(e)&&Qce(e)}function H4(e){return function(){return e}}function ZM(e){return function(t){var n=e(t);return typeof n=="number"&&n>=0&&n<=Jce}}function JM(e){return function(t){return t==null?void 0:t[e]}}const B0=JM("byteLength"),rle=ZM(B0);var ale=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function ile(e){return i6?i6(e)&&!vx(e):rle(e)&&ale.test(yx.call(e))}const G4=BM?ile:H4(!1),Na=JM("length");function sle(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(i){return t[i]===!0},push:function(i){return t[i]=!0,e.push(i)}}}function eq(e,t){t=sle(t);var n=s6.length,r=e.constructor,i=Sa(r)&&r.prototype||F4,s="constructor";for(Pu(e,s)&&!t.contains(s)&&t.push(s);n--;)s=s6[n],s in e&&e[s]!==i[s]&&!t.contains(s)&&t.push(s)}function Lr(e){if(!ku(e))return[];if(r6)return r6(e);var t=[];for(var n in e)Pu(e,n)&&t.push(n);return zM&&eq(e,t),t}function tq(e){if(e==null)return!0;var t=Na(e);return typeof t=="number"&&(Tu(e)||y2(e)||v2(e))?t===0:Na(Lr(e))===0}function X4(e,t){var n=Lr(t),r=n.length;if(e==null)return!r;for(var i=Object(e),s=0;s<r;s++){var o=n[s];if(t[o]!==i[o]||!(o in i))return!1}return!0}function dn(e){if(e instanceof dn)return e;if(!(this instanceof dn))return new dn(e);this._wrapped=e}dn.VERSION=U4;dn.prototype.value=function(){return this._wrapped};dn.prototype.valueOf=dn.prototype.toJSON=dn.prototype.value;dn.prototype.toString=function(){return String(this._wrapped)};function o6(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,B0(e))}var c6="[object DataView]";function nq(e,t){for(var n=[{a:e,b:t}],r=[],i=[];n.length;){var s=n.pop();if(s===!0){r.pop(),i.pop();continue}if(e=s.a,t=s.b,e===t){if(e!==0||1/e===1/t)continue;return!1}if(e==null||t==null)return!1;if(e!==e){if(t!==t)continue;return!1}var o=typeof e;if(o!=="function"&&o!=="object"&&typeof t!="object")return!1;e instanceof dn&&(e=e._wrapped),t instanceof dn&&(t=t._wrapped);var c=yx.call(e);if(c!==yx.call(t))return!1;if(YM&&c=="[object Object]"&&vx(e)){if(!vx(t))return!1;c=c6}switch(c){case"[object RegExp]":case"[object String]":if(""+e==""+t)continue;return!1;case"[object Number]":n.push({a:+e,b:+t});continue;case"[object Date]":case"[object Boolean]":if(+e==+t)continue;return!1;case"[object Symbol]":if(n6.valueOf.call(e)===n6.valueOf.call(t))continue;return!1;case"[object ArrayBuffer]":case c6:n.push({a:o6(e),b:o6(t)});continue}var l=c==="[object Array]";if(!l&&G4(e)){var u=B0(e);if(u!==B0(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)continue;l=!0}if(!l){if(typeof e!="object"||typeof t!="object")return!1;var d=e.constructor,p=t.constructor;if(d!==p&&!(Sa(d)&&d instanceof d&&Sa(p)&&p instanceof p)&&"constructor"in e&&"constructor"in t)return!1}for(var h=r.length;h--;)if(r[h]===e){if(i[h]===t)break;return!1}if(!(h>=0))if(r.push(e),i.push(t),n.push(!0),l){if(h=e.length,h!==t.length)return!1;for(;h--;)n.push({a:e[h],b:t[h]})}else{var f=Lr(e),v;if(h=f.length,Lr(t).length!==h)return!1;for(;h--;){if(v=f[h],!Pu(t,v))return!1;n.push({a:e[v],b:t[v]})}}}return!0}function Yh(e){if(!ku(e))return[];var t=[];for(var n in e)t.push(n);return zM&&eq(e,t),t}function K4(e){var t=Na(e);return function(n){if(n==null)return!1;var r=Yh(n);if(Na(r))return!1;for(var i=0;i<t;i++)if(!Sa(n[e[i]]))return!1;return e!==iq||!Sa(n[Y4])}}var Y4="forEach",rq="has",Q4=["clear","delete"],aq=["get",rq,"set"],ole=Q4.concat(Y4,aq),iq=Q4.concat(aq),cle=["add"].concat(Q4,Y4,rq);const sq=W4?K4(ole):Aa("Map"),oq=W4?K4(iq):Aa("WeakMap"),cq=W4?K4(cle):Aa("Set"),lq=Aa("WeakSet");function mp(e){for(var t=Lr(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}function uq(e){for(var t=Lr(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}function Z4(e){for(var t={},n=Lr(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}function bx(e){var t=[];for(var n in e)Sa(e[n])&&t.push(n);return t.sort()}function J4(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var s=arguments[i],o=e(s),c=o.length,l=0;l<c;l++){var u=o[l];(!t||n[u]===void 0)&&(n[u]=s[u])}return n}}const eS=J4(Yh),Nh=J4(Lr),tS=J4(Yh,!0);function lle(){return function(){}}function dq(e){if(!ku(e))return{};if(a6)return a6(e);var t=lle();t.prototype=e;var n=new t;return t.prototype=null,n}function pq(e,t){var n=dq(e);return t&&Nh(n,t),n}function fq(e){return ku(e)?Tu(e)?e.slice():eS({},e):e}function hq(e,t){return t(e),e}function nS(e){return Tu(e)?e:[e]}dn.toPath=nS;function vy(e){return dn.toPath(e)}function rS(e,t){for(var n=t.length,r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}function aS(e,t,n){var r=rS(e,vy(t));return M4(r)?n:r}function mq(e,t){t=vy(t);for(var n=t.length,r=0;r<n;r++){var i=t[r];
655if(!Pu(e,i))return!1;e=e[i]}return!!n}function b2(e){return e}function Vd(e){return e=Nh({},e),function(t){return X4(t,e)}}function w2(e){return e=vy(e),function(t){return rS(t,e)}}function by(e,t,n){if(t===void 0)return e;switch(n??3){case 1:return function(r){return e.call(t,r)};case 3:return function(r,i,s){return e.call(t,r,i,s)};case 4:return function(r,i,s,o){return e.call(t,r,i,s,o)}}return function(){return e.apply(t,arguments)}}function gq(e,t,n){return e==null?b2:Sa(e)?by(e,t,n):ku(e)&&!Tu(e)?Vd(e):w2(e)}function j2(e,t){return gq(e,t,1/0)}dn.iteratee=j2;function mi(e,t,n){return dn.iteratee!==j2?dn.iteratee(e,t):gq(e,t,n)}function xq(e,t,n){t=mi(t,n);for(var r=Lr(e),i=r.length,s={},o=0;o<i;o++){var c=r[o];s[c]=t(e[c],c,e)}return s}function iS(){}function yq(e){return e==null?iS:function(t){return aS(e,t)}}function vq(e,t,n){var r=Array(Math.max(0,e));t=by(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function z0(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}const Ch=Date.now||function(){return new Date().getTime()};function bq(e){var t=function(s){return e[s]},n="(?:"+Lr(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(s){return s=s==null?"":""+s,r.test(s)?s.replace(i,t):s}}const wq={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},jq=bq(wq),ule=Z4(wq),_q=bq(ule),Nq=dn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ej=/(.)^/,dle={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ple=/\\|'|\r|\n|\u2028|\u2029/g;function fle(e){return"\\"+dle[e]}var hle=/^\s*(\w|\$)+\s*$/;function Cq(e,t,n){!t&&n&&(t=n),t=tS({},t,dn.templateSettings);var r=RegExp([(t.escape||ej).source,(t.interpolate||ej).source,(t.evaluate||ej).source].join("|")+"|$","g"),i=0,s="__p+='";e.replace(r,function(u,d,p,h,f){return s+=e.slice(i,f).replace(ple,fle),i=f+u.length,d?s+=`'+ 656((__t=(`+d+`))==null?'':_.escape(__t))+ 657'`:p?s+=`'+ 658((__t=(`+p+`))==null?'':__t)+ 659'`:h&&(s+=`'; 660`+h+` 661__p+='`),u}),s+=`'; 662`;var o=t.variable;if(o){if(!hle.test(o))throw new Error("variable is not a bare identifier: "+o)}else s=`with(obj||{}){ 663`+s+`} 664`,o="obj";s=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; 665`+s+`return __p; 666`;var c;try{c=new Function(o,"_",s)}catch(u){throw u.source=s,u}var l=function(u){return c.call(this,u,dn)};return l.source="function("+o+`){ 667`+s+"}",l}function Eq(e,t,n){t=vy(t);var r=t.length;if(!r)return Sa(n)?n.call(e):n;for(var i=0;i<r;i++){var s=e==null?void 0:e[t[i]];s===void 0&&(s=n,i=r),e=Sa(s)?s.call(e):s}return e}var mle=0;function Sq(e){var t=++mle+"";return e?e+t:t}function Dq(e){var t=dn(e);return t._chain=!0,t}function Aq(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var s=dq(e.prototype),o=e.apply(s,i);return ku(o)?o:s}var gp=Wa(function(e,t){var n=gp.placeholder,r=function(){for(var i=0,s=t.length,o=Array(s),c=0;c<s;c++)o[c]=t[c]===n?arguments[i++]:t[c];for(;i<arguments.length;)o.push(arguments[i++]);return Aq(e,r,this,this,o)};return r});gp.placeholder=dn;const sS=Wa(function(e,t,n){if(!Sa(e))throw new TypeError("Bind must be called on a function");var r=Wa(function(i){return Aq(e,r,t,this,n.concat(i))});return r}),Yi=ZM(Na);function Qh(e,t,n){!t&&t!==0&&(t=1/0);for(var r=[],i=0,s=0,o=Na(e)||0,c=[];;){if(s>=o){if(!c.length)break;var l=c.pop();s=l.i,e=l.v,o=Na(e);continue}var u=e[s++];c.length>
667=t?r[i++]=u:Yi(u)&&(Tu(u)||v2(u))?(c.push({i:s,v:e}),s=0,e=u,o=Na(e)):n||(r[i++]=u)}return r}const kq=Wa(function(e,t){t=Qh(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=sS(e[r],e)}return e});function Tq(e,t){var n=function(r){var i=n.cache,s=""+(t?t.apply(this,arguments):r);return Pu(i,s)||(i[s]=e.apply(this,arguments)),i[s]};return n.cache={},n}const oS=Wa(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),Pq=gp(oS,dn,1);function Lq(e,t,n){var r,i,s,o,c=0;n||(n={});var l=function(){c=n.leading===!1?0:Ch(),r=null,o=e.apply(i,s),r||(i=s=null)},u=function(){var d=Ch();!c&&n.leading===!1&&(c=d);var p=t-(d-c);return i=this,s=arguments,p<=0||p>t?(r&&(clearTimeout(r),r=null),c=d,o=e.apply(i,s),r||(i=s=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,p)),o};return u.cancel=function(){clearTimeout(r),c=0,r=i=s=null},u}function Rq(e,t,n){var r,i,s,o,c,l=function(){var d=Ch()-i;t>d?r=setTimeout(l,t-d):(r=null,n||(o=e.apply(c,s)),r||(s=c=null))},u=Wa(function(d){return c=this,s=d,i=Ch(),r||(r=setTimeout(l,t),n&&(o=e.apply(c,s))),o});return u.cancel=function(){clearTimeout(r),r=s=c=null},u}function Oq(e,t){return gp(t,e)}function _2(e){return function(){return!e.apply(this,arguments)}}function Iq(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function Uq(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function cS(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Fq=gp(cS,2);function lS(e,t,n){t=mi(t,n);for(var r=Lr(e),i,s=0,o=r.length;s<o;s++)if(i=r[s],t(e[i],i,e))return i}function Mq(e){return function(t,n,r){n=mi(n,r);for(var i=Na(t),s=e>0?0:i-1;s>=0&&s<i;s+=e)if(n(t[s],s,t))return s;return-1}}const N2=Mq(1),uS=Mq(-1);function dS(e,t,n,r){n=mi(n,r,1);for(var i=n(t),s=0,o=Na(e);s<o;){var c=Math.floor((s+o)/2);n(e[c])<i?s=c+1:o=c}return s}function qq(e,t,n){return function(r,i,s){var o=0,c=Na(r);if(typeof s=="number")e>0?o=s>=0?s:Math.max(s+c,o):c=s>=0?Math.min(s+1,c):s+c+1;else if(n&&s&&c)return s=n(r,i),r[s]===i?s:-1;if(i!==i)return s=t(yy.call(r,o,c),V4),s>=0?s+o:-1;for(s=e>0?o:c-1;s>=0&&s<c;s+=e)if(r[s]===i)return s;return-1}}const pS=qq(1,N2,dS),Bq=qq(-1,uS);function wx(e,t,n){var r=Yi(e)?N2:lS,i=r(e,t,n);if(i!==void 0&&i!==-1)return e[i]}function zq(e,t){return wx(e,Vd(t))}function co(e,t,n){t=by(t,n);var r,i;if(Yi(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var s=Lr(e);for(r=0,i=s.length;r<i;r++)t(e[s[r]],s[r],e)}return e}function Yc(e,t,n){t=mi(t,n);for(var r=!Yi(e)&&Lr(e),i=(r||e).length,s=Array(i),o=0;o<i;o++){var c=r?r[o]:o;s[o]=t(e[c],c,e)}return s}function $q(e){var t=function(n,r,i,s){var o=!Yi(n)&&Lr(n),c=(o||n).length,l=e>0?0:c-1;for(s||(i=n[o?o[l]:l],l+=e);l>=0&&l<c;l+=e){var u=o?o[l]:l;i=r(i,n[u],u,n)}return i};return function(n,r,i,s){var o=arguments.length>=3;return t(n,by(r,s,4),i,o)}}const Wf=$q(1),$0=$q(-1);function wu(e,t,n){var r=[];return t=mi(t,n),co(e,function(i,s,o){t(i,s,o)&&r.push(i)}),r}function Wq(e,t,n){return wu(e,_2(mi(t)),n)}function W0(e,t,n){t=mi(t,n);for(var r=!Yi(e)&&Lr(e),i=(r||e).length,s=0;s<i;s++){var o=r?r[s]:s;if(!t(e[o],o,e))return!1}return!0}function V0(e,t,n){t=mi(t,n);for(var r=!Yi(e)&&Lr(e),i=(r||e).length,s=0;s<i;s++){var o=r?r[s]:s;if(t(e[o],o,e))return!0}return!1}function bs(e,t,n,r){return Yi(e)||(e=mp(e)),(typeof n!="number"||r)&&(n=0),pS(e,t,n)>=0}const Vq=Wa(function(e,t,n){var r,i;return Sa(t)?i=t:(t=vy(t),r=t.slice(0,-1),t=t[t.length-1]),Yc(e,function(s){var o=i;if(!o){if(r&&r.length&&(s=rS(s,r)),s==null)return;o=s[t]}return o==null?o:o.apply(s,n)})});function C2(e,t){return Yc(e,w2(t))}function Hq(e,t){return wu(e,Vd(t))}function fS(e,t,n){var r=-1/0,i=-1/0,s,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Yi(e)?e:mp(e);for(var c=0,l=e.length;c<l;c++)s=e[c],s!=null&&s>r&&(r=s)}else t=mi(t,n),co(e,function(u,d,p){o=t(u,d,p),(o>i||o===-1/0&&r===-1/0)&&(r=u,i=o)});return r}function Gq(e,t,n){var r=1/0,i=1/0,s,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Yi(e)?e:mp(e);for(var c=0,l=e.length;c<l;c++)s=e[c],s!=null&&s<r&&(r=s)}else t=mi(t,n),co(e,function(u,d,p){o=t(u,d,p),(o<i||o===1/0&&r===1/0)&&(r=u,i=o)});return r}var gle=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function hS(e){return e?Tu(e)?yy.call(e):y2(e)?e.match(gle):Yi(e)?Yc(e,b2):mp(e):[]}
667function mS(e,t,n){if(t==null||n)return Yi(e)||(e=mp(e)),e[z0(e.length-1)];var r=hS(e),i=Na(r);t=Math.max(Math.min(t,i),0);for(var s=i-1,o=0;o<t;o++){var c=z0(o,s),l=r[o];r[o]=r[c],r[c]=l}return r.slice(0,t)}function Xq(e){return mS(e,1/0)}function Kq(e,t,n){var r=0;return t=mi(t,n),C2(Yc(e,function(i,s,o){return{value:i,index:r++,criteria:t(i,s,o)}}).sort(function(i,s){var o=i.criteria,c=s.criteria;if(o!==c){if(o>c||o===void 0)return 1;if(o<c||c===void 0)return-1}return i.index-s.index}),"value")}function E2(e,t){return function(n,r,i){var s=t?[[],[]]:{};return r=mi(r,i),co(n,function(o,c){var l=r(o,c,n);e(s,o,l)}),s}}const Yq=E2(function(e,t,n){Pu(e,n)?e[n].push(t):e[n]=[t]}),Qq=E2(function(e,t,n){e[n]=t}),Zq=E2(function(e,t,n){Pu(e,n)?e[n]++:e[n]=1}),Jq=E2(function(e,t,n){e[n?0:1].push(t)},!0);function eB(e){return e==null?0:Yi(e)?e.length:Lr(e).length}function xle(e,t,n){return t in n}const gS=Wa(function(e,t){var n={},r=t[0];if(e==null)return n;Sa(r)?(t.length>1&&(r=by(r,t[1])),t=Yh(e)):(r=xle,t=Qh(t,!1,!1),e=Object(e));for(var i=0,s=t.length;i<s;i++){var o=t[i],c=e[o];r(c,o,e)&&(n[o]=c)}return n}),tB=Wa(function(e,t){var n=t[0],r;return Sa(n)?(n=_2(n),t.length>1&&(r=t[1])):(t=Yc(Qh(t,!1,!1),String),n=function(i,s){return!bs(t,s)}),gS(e,n,r)});function xS(e,t,n){return yy.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function Vf(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:xS(e,e.length-t)}function Rd(e,t,n){return yy.call(e,t==null||n?1:t)}function nB(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:Rd(e,Math.max(0,e.length-t))}function rB(e){return wu(e,Boolean)}function aB(e,t){return Qh(e,t,!1)}const yS=Wa(function(e,t){return t=Qh(t,!0,!0),wu(e,function(n){return!bs(t,n)})}),iB=Wa(function(e,t){return yS(e,t)});function jx(e,t,n,r){q4(t)||(r=n,n=t,t=!1),n!=null&&(n=mi(n,r));for(var i=[],s=[],o=0,c=Na(e);o<c;o++){var l=e[o],u=n?n(l,o,e):l;t&&!n?((!o||s!==u)&&i.push(l),s=u):n?bs(s,u)||(s.push(u),i.push(l)):bs(i,l)||i.push(l)}return i}const sB=Wa(function(e){return jx(Qh(e,!0,!0))});function oB(e){for(var t=[],n=arguments.length,r=0,i=Na(e);r<i;r++){var s=e[r];if(!bs(t,s)){var o;for(o=1;o<n&&bs(arguments[o],s);o++);o===n&&t.push(s)}}return t}function _x(e){for(var t=e&&fS(e,Na).length||0,n=Array(t),r=0;r<t;r++)n[r]=C2(e,r);return n}const cB=Wa(_x);function lB(e,t){for(var n={},r=0,i=Na(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function uB(e,t,n){t==null&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),s=0;s<r;s++,e+=n)i[s]=e;return i}function dB(e,t){if(t==null||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(yy.call(e,r,r+=t));return n}function vS(e,t){return e._chain?dn(t).chain():t}function bS(e){return co(bx(e),function(t){var n=dn[t]=e[t];dn.prototype[t]=function(){var r=[this._wrapped];return Gce.apply(r,arguments),vS(this,n.apply(dn,r))}}),dn}co(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=x2[e];dn.prototype[e]=function(){var n=this._wrapped;return n!=null&&(t.apply(n,arguments),(e==="shift"||e==="splice")&&n.length===0&&delete n[0]),vS(this,n)}});co(["concat","join","slice"],function(e){var t=x2[e];dn.prototype[e]=function(){var n=this._wrapped;return n!=null&&(n=t.apply(n,arguments)),vS(this,n)}});const yle=Object.freeze(Object.defineProperty({__proto__:null,VERSION:U4,after:Uq,all:W0,allKeys:Yh,any:V0,assign:Nh,before:cS,bind:sS,bindAll:kq,chain:Dq,chunk:dB,clone:fq,collect:Yc,compact:rB,compose:Iq,constant:H4,contains:bs,countBy:Zq,create:pq,debounce:Rq,default:dn,defaults:tS,defer:Pq,delay:oS,detect:wx,difference:yS,drop:Rd,each:co,escape:jq,every:W0,extend:eS,extendOwn:Nh,filter:wu,find:wx,findIndex:N2,findKey:lS,findLastIndex:uS,findWhere:zq,first:Vf,flatten:aB,foldl:Wf,foldr:$0,forEac
667h:co,functions:bx,get:aS,groupBy:Yq,has:mq,head:Vf,identity:b2,include:bs,includes:bs,indexBy:Qq,indexOf:pS,initial:xS,inject:Wf,intersection:oB,invert:Z4,invoke:Vq,isArguments:v2,isArray:Tu,isArrayBuffer:$4,isBoolean:q4,isDataView:vx,isDate:VM,isElement:WM,isEmpty:tq,isEqual:nq,isError:GM,isFinite:QM,isFunction:Sa,isMap:sq,isMatch:X4,isNaN:V4,isNull:$M,isNumber:B4,isObject:ku,isRegExp:HM,isSet:cq,isString:y2,isSymbol:z4,isTypedArray:G4,isUndefined:M4,isWeakMap:oq,isWeakSet:lq,iteratee:j2,keys:Lr,last:nB,lastIndexOf:Bq,map:Yc,mapObject:xq,matcher:Vd,matches:Vd,max:fS,memoize:Tq,methods:bx,min:Gq,mixin:bS,negate:_2,noop:iS,now:Ch,object:lB,omit:tB,once:Fq,pairs:uq,partial:gp,partition:Jq,pick:gS,pluck:C2,property:w2,propertyOf:yq,random:z0,range:uB,reduce:Wf,reduceRight:$0,reject:Wq,rest:Rd,restArguments:Wa,result:Eq,sample:mS,select:wu,shuffle:Xq,size:eB,some:V0,sortBy:Kq,sortedIndex:dS,tail:Rd,take:Vf,tap:hq,template:Cq,templateSettings:Nq,throttle:Lq,times:vq,toArray:hS,toPath:nS,transpose:_x,unescape:_q,union:sB,uniq:jx,unique:jx,uniqueId:Sq,unzip:_x,values:mp,where:Hq,without:iB,wrap:Oq,zip:cB},Symbol.toStringTag,{value:"Module"}));var H3=bS(yle);H3._=H3;const vle=Object.freeze(Object.defineProperty({__proto__:null,VERSION:U4,after:Uq,all:W0,allKeys:Yh,any:V0,assign:Nh,before:cS,bind:sS,bindAll:kq,chain:Dq,chunk:dB,clone:fq,collect:Yc,compact:rB,compose:Iq,constant:H4,contains:bs,countBy:Zq,create:pq,debounce:Rq,default:H3,defaults:tS,defer:Pq,delay:oS,detect:wx,difference:yS,drop:Rd,each:co,escape:jq,every:W0,extend:eS,extendOwn:Nh,filter:wu,find:wx,findIndex:N2,findKey:lS,findLastIndex:uS,findWhere:zq,first:Vf,flatten:aB,foldl:Wf,foldr:$0,forEac
667h:co,functions:bx,get:aS,groupBy:Yq,has:mq,head:Vf,identity:b2,include:bs,includes:bs,indexBy:Qq,indexOf:pS,initial:xS,inject:Wf,intersection:oB,invert:Z4,invoke:Vq,isArguments:v2,isArray:Tu,isArrayBuffer:$4,isBoolean:q4,isDataView:vx,isDate:VM,isElement:WM,isEmpty:tq,isEqual:nq,isError:GM,isFinite:QM,isFunction:Sa,isMap:sq,isMatch:X4,isNaN:V4,isNull:$M,isNumber:B4,isObject:ku,isRegExp:HM,isSet:cq,isString:y2,isSymbol:z4,isTypedArray:G4,isUndefined:M4,isWeakMap:oq,isWeakSet:lq,iteratee:j2,keys:Lr,last:nB,lastIndexOf:Bq,map:Yc,mapObject:xq,matcher:Vd,matches:Vd,max:fS,memoize:Tq,methods:bx,min:Gq,mixin:bS,negate:_2,noop:iS,now:Ch,object:lB,omit:tB,once:Fq,pairs:uq,partial:gp,partition:Jq,pick:gS,pluck:C2,property:w2,propertyOf:yq,random:z0,range:uB,reduce:Wf,reduceRight:$0,reject:Wq,rest:Rd,restArguments:Wa,result:Eq,sample:mS,select:wu,shuffle:Xq,size:eB,some:V0,sortBy:Kq,sortedIndex:dS,tail:Rd,take:Vf,tap:hq,template:Cq,templateSettings:Nq,throttle:Lq,times:vq,toArray:hS,toPath:nS,transpose:_x,unescape:_q,union:sB,uniq:jx,unique:jx,uniqueId:Sq,unzip:_x,values:mp,where:Hq,without:iB,wrap:Oq,zip:cB},Symbol.toStringTag,{value:"Module"})),Ya=LC(vle);var wS={},ka={},pB={exports:{}},eb={exports:{}},l6;function Zh(){if(l6)return eb.exports;l6=1;var e=function(){return this===void 0}();if(e)eb.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:e,propertyIsWritable:function(d,p){var h=Object.getOwnPropertyDescriptor(d,p);return!!(!h||h.writable||h.set)}};else{var t={}.hasOwnProperty,n={}.toString,r={}.constructor.prototype,i=function(d){var p=[];for(var h in d)t.call(d,h)&&p.push(h);return p},s=function(d,p){return{value:d[p]}},o=function(d,p,h){return d[p]=h.value,d},c=function(d){return d},l=function(d){try{return Object(d).constructor.prototype}catch{return r}},u=function(d){try{return n.call(d)==="[object Array]"}catch{return!1}};eb.exports={isArray:u,keys:i,names:i,defineProperty:o,getDescriptor:s,freeze:c,getPrototypeOf:l,isES5:e,propertyIsWritable:function(){return!0}}}return eb.exports}var tj,u6;function Rn(){if(u6)return tj;u6=1;var e={},t=Zh(),n=typeof navigator>"u",r={e:{}},i,s=typeof self<"u"?self:typeof window<"u"?window:typeof Dt<"u"||Dt!==void 0?Dt:null;function o(){try{var $=i;return i=null,$.apply(this,arguments)}catch(K){return r.e=K,r}}function c($){return i=$,o}var l=function($,K){var Y={}.hasOwnProperty;function ee(){this.constructor=$,this.constructor$=K;for(var re in K.prototype)Y.call(K.prototype,re)&&re.charAt(re.length-1)!=="$"&&(this[re+"$"]=K.prototype[re])}return ee.prototype=K.prototype,$.prototype=new ee,$.prototype};function u($){return $==null||$===!0||$===!1||typeof $=="string"||typeof $=="number"}function d($){return typeof $=="function"||typeof $=="object"&&$!==null}function p($){return u($)?new Error(A($)):$}function h($,K){var Y=$.length,ee=new Array(Y+1),re;for(re=0;re<Y;++re)ee[re]=$[re];return ee[re]=K,ee}function f($,K,Y){if(t.isES5){var ee=Object.getOwnPropertyDescriptor($,K);if(ee!=null)return ee.get==null&&ee.set==null?ee.value:Y}else return{}.hasOwnProperty.call($,K)?$[K]:void 0}function v($,K,Y){if(u($))return $;var ee={value:Y,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty($,K,ee),$}function m($){throw $}var y=function(){var $=[Array.prototype,Object.prototype,Function.prototype],K=function(re){for(var ae=0;ae<$.length;++ae)if($[ae]===re)return!0;return!1};if(t.isES5){var Y=Object.getOwnPropertyNames;return function(re){for(var ae=[],le=Object.create(null);re!=null&&!K(re);){var ge;try{ge=Y(re)}catch{return ae}for(var ke=0;ke<ge.length;++ke){var de=ge[ke];if(!le[de]){le[de]=!0;var we=Object.getOwnPropertyDescriptor(re,de);we!=null&&we.get==null&&we.set==null&&ae.push(de)}}re=t.getPrototypeOf(re)}return ae}}else{var ee={}.hasOwnProperty;return function(re){if(K(re))return[];var ae=[];e:for(var le in re)if(ee.call(re,le))ae.push(le);else{for(var ge=0;ge<$.length;++ge)if(ee.call($[ge],le))continue e;ae.push(le)}return ae}}}(),g=/this\s*\.\s*\S+\s*=/;function x($){try{if(typeof $=="function"){var K=t.names($.prototype),Y=t.isES5&&K.length>1,ee=K.length>0&&!(K.length===1&&K[0]==="constructor"),re=g.test($+"")&&t.names($).length>0;if(Y||ee||re)return!0}return!1}catch{return!1}}function b($){return $}var _=/^[a-z$_][a-z$_0-9]*$/i;function E($){return _.test($)}function T($,K,Y){for(var ee=new Array($),re=0;re<$;++re)ee[re]=K+re+Y;return ee}function A($){try{return $+""}
667catch{return"[no string representation]"}}function w($){return $!==null&&typeof $=="object"&&typeof $.message=="string"&&typeof $.name=="string"}function S($){try{v($,"isOperational",!0)}catch{}}function k($){return $==null?!1:$ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function P($){return w($)&&t.propertyIsWritable($,"stack")}var D=function(){return"stack"in new Error?function($){return P($)?$:new Error(A($))}:function($){if(P($))return $;try{throw new Error(A($))}catch(K){return K}}}();function R($){return{}.toString.call($)}function N($,K,Y){for(var ee=t.names($),re=0;re<ee.length;++re){var ae=ee[re];if(Y(ae))try{t.defineProperty(K,ae,t.getDescriptor($,ae))}catch{}}}var q=function($){return t.isArray($)?$:null};if(typeof Symbol<"u"&&Symbol.iterator){var I=typeof Array.from=="function"?function($){return Array.from($)}:function($){for(var K=[],Y=$[Symbol.iterator](),ee;!(ee=Y.next()).done;)K.push(ee.value);return K};q=function($){return t.isArray($)?$:$!=null&&typeof $[Symbol.iterator]=="function"?I($):null}}var z=typeof process<"u"&&R(process).toLowerCase()==="[object process]",M=typeof process<"u"&&typeof e<"u";function F($){return M?e[$]:void 0}function H(){if(typeof Promise=="function")try{var $=new Promise(function(){});if({}.toString.call($)==="[object Promise]")return Promise}catch{}}function V($,K){return $.bind(K)}var O={isClass:x,isIdentifier:E,inheritedDataKeys:y,getDataPropertyOrDefault:f,thrower:m,isArray:t.isArray,asArray:q,notEnumerableProp:v,isPrimitive:u,isObject:d,isError:w,canEvaluate:n,errorObj:r,tryCatch:c,inherits:l,withAppended:h,maybeWrapAsError:p,toFastProperties:b,filledRange:T,toString:A,canAttachTrace:P,ensureErrorObject:D,originatesFromRejection:k,markAsOriginatingFromRejection:S,classString:R,copyDescriptors:N,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:z,hasEnvVariables:M,env:F,global:s,getNativePromise:H,domainBind:V};O.isRecentNode=O.isNode&&function(){var $=process.versions.node.split(".").map(Number);return $[0]===0&&$[1]>10||$[0]>0}(),O.isNode&&O.toFastProperties(process);try{throw new Error}catch($){O.lastLineError=$}return tj=O,tj}var tb={exports:{}},nj,d6;function ble(){if(d6)return nj;d6=1;var e=Rn(),t,n=function(){throw new Error(`No async scheduler available 668 669 See http://goo.gl/MqrFmX 670`)},r=e.getNativePromise();if(e.isNode&&typeof MutationObserver>"u"){var i=Dt.setImmediate,s=process.nextTick;t=e.isRecentNode?function(c){i.call(Dt,c)}:function(c){s.call(process,c)}}else if(typeof r=="function"&&typeof r.resolve=="function"){var o=r.resolve();t=function(c){o.then(c)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?t=function(){var c=document.createElement("div"),l={attributes:!0},u=!1,d=document.createElement("div"),p=new MutationObserver(function(){c.classList.toggle("foo"),u=!1});p.observe(d,l);var h=function(){u||(u=!0,d.classList.toggle("foo"))};return function(v){var m=new MutationObserver(function(){m.disconnect(),v()});m.observe(c,l),h()}}():typeof setImmediate<"u"?t=function(c){setImmediate(c)}:typeof setTimeout<"u"?t=function(c){setTimeout(c,0)}:t=n;return nj=t,nj}var rj,p6;function wle(){if(p6)return rj;p6=1;function e(n,r,i,s,o){for(var c=0;c<o;++c)i[c+s]=n[c+r],n[c+r]=void 0}function t(n){this._capacity=n,this._length=0,this._front=0}return t.prototype._willBeOverCapacity=function(n){return this._capacity<n},t.prototype._pushOne=function(n){var r=this.length();this._checkCapacity(r+1);var i=this._front+r&this._capacity-1;this[i]=n,this._length=r+1},t.prototype.push=function(n,r,i){var s=this.length()+3;if(this._willBeOverCapacity(s)){this._pushOne(n),this._pushOne(r),this._pushOne(i);return}var o=this._front+s-3;this._checkCapacity(s);var c=this._capacity-1;this[o+0&c]=n,this[o+1&c]=r,this[o+2&c]=i,this._length=s},t.prototype.shift=function(){var n=this._front,r=this[n];return this[n]=void 0,this._front=n+1&this._capacity-1,this._length--,r},t.prototype.length=function(){return this._length},t.prototype._checkCapacity=function(n){this._capacity<n&&this._resizeTo(this._capacity<<1)},t.prototype._resizeTo=function(n){var r=this._capacity;this._capacity=n;var i=this._front,s=this._length,o=i+s&r-1;e(this,0,this,r,o)},rj=t,rj}var f6;function jle(){if(f6)return tb.exports;f6=1;var e;try{throw new Error}catch(l){e=l}var t=ble(),n=wle(),r=Rn();
670function i(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new n(16),this._normalQueue=new n(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var l=this;this.drainQueues=function(){l._drainQueues()},this._schedule=t}i.prototype.setScheduler=function(l){var u=this._schedule;return this._schedule=l,this._customScheduler=!0,u},i.prototype.hasCustomScheduler=function(){return this._customScheduler},i.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},i.prototype.disableTrampolineIfNecessary=function(){r.hasDevTools&&(this._trampolineEnabled=!1)},i.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},i.prototype.fatalError=function(l,u){u?(process.stderr.write("Fatal "+(l instanceof Error?l.stack:l)+` 671`),process.exit(2)):this.throwLater(l)},i.prototype.throwLater=function(l,u){if(arguments.length===1&&(u=l,l=function(){throw u}),typeof setTimeout<"u")setTimeout(function(){l(u)},0);else try{this._schedule(function(){l(u)})}catch{throw new Error(`No async scheduler available 672 673 See http://goo.gl/MqrFmX 674`)}};function s(l,u,d){this._lateQueue.push(l,u,d),this._queueTick()}function o(l,u,d){this._normalQueue.push(l,u,d),this._queueTick()}function c(l){this._normalQueue._pushOne(l),this._queueTick()}return r.hasDevTools?(i.prototype.invokeLater=function(l,u,d){this._trampolineEnabled?s.call(this,l,u,d):this._schedule(function(){setTimeout(function(){l.call(u,d)},100)})},i.prototype.invoke=function(l,u,d){this._trampolineEnabled?o.call(this,l,u,d):this._schedule(function(){l.call(u,d)})},i.prototype.settlePromises=function(l){this._trampolineEnabled?c.call(this,l):this._schedule(function(){l._settlePromises()})}):(i.prototype.invokeLater=s,i.prototype.invoke=o,i.prototype.settlePromises=c),i.prototype._drainQueue=function(l){for(;l.length()>0;){var u=l.shift();if(typeof u!="function"){u._settlePromises();continue}var d=l.shift(),p=l.shift();u.call(d,p)}},i.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},i.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},i.prototype._reset=function(){this._isTickUsed=!1}
674,tb.exports=i,tb.exports.firstLineError=e,tb.exports}var aj,h6;function ju(){if(h6)return aj;h6=1;var e=Zh(),t=e.freeze,n=Rn(),r=n.inherits,i=n.notEnumerableProp;function s(g,x){function b(_){if(!(this instanceof b))return new b(_);i(this,"message",typeof _=="string"?_:x),i(this,"name",g),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(b,Error),b}var o,c,l=s("Warning","warning"),u=s("CancellationError","cancellation error"),d=s("TimeoutError","timeout error"),p=s("AggregateError","aggregate error");try{o=TypeError,c=RangeError}catch{o=s("TypeError","type error"),c=s("RangeError","range error")}for(var h="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),f=0;f<h.length;++f)typeof Array.prototype[h[f]]=="function"&&(p.prototype[h[f]]=Array.prototype[h[f]]);e.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var v=0;p.prototype.toString=function(){var g=Array(v*4+1).join(" "),x=` 675`+g+`AggregateError of: 676`;v++,g=Array(v*4+1).join(" ");for(var b=0;b<this.length;++b){for(var _=this[b]===this?"[Circular AggregateError]":this[b]+"",E=_.split(` 677`),T=0;T<E.length;++T)E[T]=g+E[T];_=E.join(` 678`),x+=_+` 679`}return v--,x};function m(g){if(!(this instanceof m))return new m(g);i(this,"name","OperationalError"),i(this,"message",g),this.cause=g,this.isOperational=!0,g instanceof Error?(i(this,"message",g.message),i(this,"stack",g.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}r(m,Error);var y=Error.__BluebirdErrorTypes__;return y||(y=t({CancellationError:u,TimeoutError:d,OperationalError:m,RejectionError:m,AggregateError:p}),e.defineProperty(Error,"__BluebirdErrorTypes__",{value:y,writable:!1,enumerable:!1,configurable:!1})),aj={Error,TypeError:o,RangeError:c,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:l},aj}var ij,m6;function _le(){return m6||(m6=1,ij=function(e,t){var n=Rn(),r=n.errorObj,i=n.isObject;function s(p,h){if(i(p)){if(p instanceof e)return p;var f=c(p);if(f===r){h&&h._pushContext();var v=e.reject(f.e);return h&&h._popContext(),v}else if(typeof f=="function"){if(u(p)){var v=new e(t);return p._then(v._fulfill,v._reject,void 0,v,null),v}return d(p,f,h)}}return p}function o(p){return p.then}function c(p){try{return o(p)}catch(h){return r.e=h,r}}var l={}.hasOwnProperty;function u(p){try{return l.call(p,"_promise0")}catch{return!1}}function d(p,h,f){var v=new e(t),m=v;f&&f._pushContext(),v._captureStackTrace(),f&&f._popContext();var y=!0,g=n.tryCatch(h).call(p,x,b);y=!1,v&&g===r&&(v._rejectCallback(g.e,!0,!0),v=null);function x(_){v&&(v._resolveCallback(_),v=null)}function b(_){v&&(v._rejectCallback(_,y,!0),v=null)}return m}return s}),ij}var sj,g6;function Nle(){return g6||(g6=1,sj=function(e,t,n,r,i){var s=Rn();s.isArray;function o(l){switch(l){case-2:return[];case-3:return{}}}function c(l){var u=this._promise=new e(t);l instanceof e&&u._propagateFrom(l,3),u._setOnCancel(this),this._values=l,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return s.inherits(c,i),c.prototype.length=function(){return this._length},c.prototype.promise=function(){return this._promise},c.prototype._init=function l(u,d){var p=n(this._values,this._promise);if(p instanceof e){p=p._target();var h=p._bitField;if(this._values=p,h&50397184)if(h&33554432)p=p._value();else return h&16777216?this._reject(p._reason()):this._cancel();else return this._promise._setAsyncGuaranteed(),p._then(l,this._reject,void 0,this,d)}if(p=s.asArray(p),p===null){var f=r("expecting an array or an iterable object but got "+s.classString(p)).reason();this._promise._rejectCallback(f,!1);return}if(p.length===0){d===-5?this._resolveEmptyArray():this._resolve(o(d));return}this._iterate(p)},c.prototype._iterate=function(l){var u=this.getActualLength(l.length);this._length=u,this._values=this.shouldCopyValues()?new Array(u):this._values;for(var d=this._promise,p=!1,h=null,f=0;f<u;++f){var v=n(l[f],d);v instanceof e?(v=v._target(),h=v._bitField):h=null,p?h!==null&&v.suppressUnhandledRejections():h!==null?h&50397184?h&33554432?p=this._promiseFulfilled(v._value(),f):h&16777216?p=this._promiseRe
679jected(v._reason(),f):p=this._promiseCancelled(f):(v._proxy(this,f),this._values[f]=v):p=this._promiseFulfilled(v,f)}p||d._setAsyncGuaranteed()},c.prototype._isResolved=function(){return this._values===null},c.prototype._resolve=function(l){this._values=null,this._promise._fulfill(l)},c.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},c.prototype._reject=function(l){this._values=null,this._promise._rejectCallback(l,!1)},c.prototype._promiseFulfilled=function(l,u){this._values[u]=l;var d=++this._totalResolved;return d>=this._length?(this._resolve(this._values),!0):!1},c.prototype._promiseCancelled=function(){return this._cancel(),!0},c.prototype._promiseRejected=function(l){return this._totalResolved++,this._reject(l),!0},c.prototype._resultCancelled=function(){if(!this._isResolved()){var l=this._values;if(this._cancel(),l instanceof e)l.cancel();else for(var u=0;u<l.length;++u)l[u]instanceof e&&l[u].cancel()}},c.prototype.shouldCopyValues=function(){return!0},c.prototype.getActualLength=function(l){return l},c}),sj}var oj,x6;function Cle(){return x6||(x6=1,oj=function(e){var t=!1,n=[];e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(s())}r.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(this._trace!==void 0){var o=n.pop(),c=o._promiseCreated;return o._promiseCreated=null,c}return null};function i(){if(t)return new r}function s(){var o=n.length-1;if(o>=0)return n[o]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var o=e.prototype._pushContext,c=e.prototype._popContext,l=e._peekContext,u=e.prototype._peekContext,d=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=o,e.prototype._popContext=c,e._peekContext=l,e.prototype._peekContext=u,e.prototype._promiseCreated=d,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=s,e.prototype._promiseCreated=function(){var p=this._peekContext();p&&p._promiseCreated==null&&(p._promiseCreated=this)}},r}),oj}var cj,y6;function Ele(){return y6||(y6=1,cj=function(e,t){var n=e._getDomain,r=e._async,i=ju().Warning,s=Rn(),o=s.canAttachTrace,c,l,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,d=/\((?:timers\.js):\d+:\d+\)/,p=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,h=null,f=null,v=!1,m,y=!!(s.env("BLUEBIRD_DEBUG")!=0&&(s.env("BLUEBIRD_DEBUG")||s.env("NODE_ENV")==="development")),g=!!(s.env("BLUEBIRD_WARNINGS")!=0&&(y||s.env("BLUEBIRD_WARNINGS"))),x=!!(s.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(y||s.env("BLUEBIRD_LONG_STACK_TRACES"))),b=s.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(g||!!s.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var ce=this._target();ce._bitField=ce._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){this._bitField&524288||(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){de("rejectionHandled",c,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var ce=this._settledValue();this._setUnhandledRejectionIsNotified(),de("unhandledRejection",l,ce,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(ce,xe,ve){return K(ce,xe,ve||this)},e.onPossiblyUnhandledRejection=function(ce){var xe=n();l=typeof ce=="function"?xe===null?ce:s.domainBind(xe,ce):void 0},e.onUnhandledRejectionHandled=function(ce){var xe=n();c=typeof ce=="function"?xe===null?ce:s.domainBind(xe,ce):void 0};var _=function(){};e.longStackTraces=function(){if(r.haveItemsQueued()&&!ye.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created 680 681 See http://goo.gl/MqrFmX 682`);if(!ye.longStackTraces&&X()){var ce=e.prototype._captureStackTrace,xe=e.prototype._attachExtraTrace;ye.longStackTraces=!0,_=function(){if(r.haveItemsQueued()&&!ye.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created 683 684 See http://goo.gl/MqrFmX 685`);e.prototype._captureStackTrace=ce,e.prototype._attachExtraTrace=xe,t.deactivateLongStackTraces(),r.enableTrampoline(),ye.longStackTraces=!1},e.prototype._captureStackTrace=H,e.prototype._attachExtraTrace=V,t.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return ye.longStackTraces&&X()};var E=function(){try{if(typeof CustomEvent=="function"){var ce=new CustomEvent("CustomEvent");return s.global.dispatchEvent(ce),function(xe,ve){var Se=new CustomEvent(xe.toLowerCase(),{detail:ve,cancelable:!0});return!s.global.dispatchEvent(Se)}}else if(typeof Event=="function"){var ce=new Event("CustomEvent");return s.global.dispatchEvent(ce),function(ve,Se){var Oe=new Event(ve.toLowerCase(),{cancelable:!0});return Oe.detail=Se,!s.global.dispatchEvent(Oe)}}else{var ce=document.createEvent("CustomEvent");return ce.initCustomEvent("testingtheevent",!1,!0,{}),s.global.dispatchEvent(ce),function(ve,Se){var Oe=document.createEvent("CustomEvent");return Oe.initCustomEvent(ve.toLowerCase(),!1,!0,Se),!s.global.dispatchEvent(Oe)}}}catch{}return function(){return!1}}(),T=function(){return s.isNode?function(){return process.emit.apply(process,arguments)}:s.global?function(ce){var xe="on"+ce.toLowerCase(),ve=s.global[xe];
685return ve?(ve.apply(s.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function A(ce,xe){return{promise:xe}}var w={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(ce,xe,ve){return{promise:xe,child:ve}},warning:function(ce,xe){return{warning:xe}},unhandledRejection:function(ce,xe,ve){return{reason:xe,promise:ve}},rejectionHandled:A},S=function(ce){var xe=!1;try{xe=T.apply(null,arguments)}catch(Se){r.throwLater(Se),xe=!0}var ve=!1;try{ve=E(ce,w[ce].apply(null,arguments))}catch(Se){r.throwLater(Se),ve=!0}return ve||xe};e.config=function(ce){if(ce=Object(ce),"longStackTraces"in ce&&(ce.longStackTraces?e.longStackTraces():!ce.longStackTraces&&e.hasLongStackTraces()&&_()),"warnings"in ce){var xe=ce.warnings;ye.warnings=!!xe,b=ye.warnings,s.isObject(xe)&&"wForgottenReturn"in xe&&(b=!!xe.wForgottenReturn)}if("cancellation"in ce&&ce.cancellation&&!ye.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=q,e.prototype._propagateFrom=I,e.prototype._onCancel=R,e.prototype._setOnCancel=N,e.prototype._attachCancellationCallback=D,e.prototype._execute=P,M=I,ye.cancellation=!0}return"monitoring"in ce&&(ce.monitoring&&!ye.monitoring?(ye.monitoring=!0,e.prototype._fireEvent=S):!ce.monitoring&&ye.monitoring&&(ye.monitoring=!1,e.prototype._fireEvent=k)),e};function k(){return!1}e.prototype._fireEvent=k,e.prototype._execute=function(ce,xe,ve){try{ce(xe,ve)}catch(Se){return Se}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(ce){},e.prototype._attachCancellationCallback=function(ce){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(ce,xe){};function P(ce,xe,ve){var Se=this;try{ce(xe,ve,function(Oe){if(typeof Oe!="function")throw new TypeError("onCancel must be a function, got: "+s.toString(Oe));Se._attachCancellationCallback(Oe)})}catch(Oe){return Oe}}function D(ce){if(!this._isCancellable())return this;var xe=this._onCancel();xe!==void 0?s.isArray(xe)?xe.push(ce):this._setOnCancel([xe,ce]):this._setOnCancel(ce)}function R(){return this._onCancelField}function N(ce){this._onCancelField=ce}function q(){this._cancellationParent=void 0,this._onCancelField=void 0}function I(ce,xe){if(xe&1){this._cancellationParent=ce;var ve=ce._branchesRemainingToCancel;ve===void 0&&(ve=0),ce._branchesRemainingToCancel=ve+1}xe&2&&ce._isBound()&&this._setBoundTo(ce._boundTo)}function z(ce,xe){xe&2&&ce._isBound()&&this._setBoundTo(ce._boundTo)}var M=z;function F(){var ce=this._boundTo;return ce!==void 0&&ce instanceof e?ce.isFulfilled()?ce.value():void 0:ce}function H(){this._trace=new Ne(this._peekContext())}function V(ce,xe){if(o(ce)){var ve=this._trace;if(ve!==void 0&&xe&&(ve=ve._parent),ve!==void 0)ve.attachExtraTrace(ce);else if(!ce.__stackCleaned__){var Se=ge(ce);s.notEnumerableProp(ce,"stack",Se.message+` 686`+Se.stack.join(` 687`)),s.notEnumerableProp(ce,"__stackCleaned__",!0)}}}function O(ce,xe,ve,Se,Oe){if(ce===void 0&&xe!==null&&b){if(Oe!==void 0&&Oe._returnedNonUndefined()||!(Se._bitField&65535))return;ve&&(ve=ve+" ");var We="",qe="";if(xe._trace){for(var Xe=xe._trace.stack.split(` 688`),Ve=ae(Xe),Ct=Ve.length-1;Ct>=0;--Ct){var ct=Ve[Ct];if(!d.test(ct)){var bt=ct.match(p);bt&&(We="at "+bt[1]+":"+bt[2]+":"+bt[3]+" ");break}}if(Ve.length>0){for(var Et=Ve[0],Ct=0;Ct<Xe.length;++Ct)if(Xe[Ct]===Et){Ct>0&&(qe=` 689`+Xe[Ct-1]);break}}}var At="a promise was created in a "+ve+"handler "+We+"but was not returned from it, see http://goo.gl/rRqMUw"+qe;Se._warn(At,!0,xe)}}function $(ce,xe){var ve=ce+" is deprecated and will be removed in a future version.";return xe&&(ve+=" Use "+xe+" instead."),K(ve)}function K(ce,xe,ve){if(ye.warnings){var Se=new i(ce),Oe;if(xe)ve._attachExtraTrace(Se);else if(ye.longStackTraces&&(Oe=e._peekContext()))Oe.attachExtraTrace(Se);else{var We=ge(Se);Se.stack=We.message+` 690`+We.stack.join(` 691`)}S("warning",Se)||ke(Se,"",!0)}}function Y(ce,xe){for(var ve=0;ve<xe.length-1;++ve)xe[ve].push("From previous event:"),xe[ve]=xe[ve].join(` 692`);return ve<xe.length&&(xe[ve]=xe[ve].join(` 693`)),ce+` 694`+xe.join(` 695`)}function ee(ce){for(var xe=0;xe<ce.length;++xe)(ce[xe].length===0||xe+1<ce.length&&ce[xe][0]===ce[xe+1][0])&&(ce.splice(xe,1),xe--)}function re(ce){for(var xe=ce[0],ve=1;ve<ce.length;++ve){for(var Se=ce[ve],Oe=xe.length-1,We=xe[Oe],qe=-1,Xe=Se.length-1;Xe>=0;--Xe)if(Se[Xe]===We){qe=Xe;break}for(var Xe=qe;Xe>=0;--Xe){var Ve=Se[Xe];if(xe[Oe]===Ve)xe.pop(),Oe--;else break}xe=Se}}function ae(ce){for(var xe=[],ve=0;ve<ce.length;++ve){var Se=ce[ve],Oe=Se===" (No stack trace)"||h.test(Se),We=Oe&&pe(Se);Oe&&!We&&(v&&Se.charAt(0)!==" "&&(Se=" "+Se),xe.push(Se))}return xe}function le(ce){for(var xe=ce.stack.replace(/\s+$/g,"").split(` 696`),ve=0;ve<xe.length;++ve){var Se=xe[ve];if(Se===" (No stack trace)"||h.test(Se))break}return ve>0&&ce.name!="SyntaxError"&&(xe=xe.slice(ve)),xe}function ge(ce){var xe=ce.stack,ve=ce.toString();return xe=typeof xe=="string"&&xe.length>0?le(ce):[" (No stack trace)"],{message:ve,stack:ce.name=="SyntaxError"?xe:ae(xe)}}function ke(ce,xe,ve){if(typeof console<"u"){var Se;if(s.isObject(ce)){var Oe=ce.stack;Se=xe+f(Oe,ce)}else Se=xe+String(ce);typeof m=="function"?m(Se,ve):(typeof console.log=="function"||typeof console.log=="object")&&console.log(Se)}}function de(ce,xe,ve,Se){var Oe=!1;try{typeof xe=="function"&&(Oe=!0,ce==="rejectionHandled"?xe(Se):xe(ve,Se))}catch(We){r.throwLater(We)}
696ce==="unhandledRejection"?!S(ce,ve,Se)&&!Oe&&ke(ve,"Unhandled rejection "):S(ce,Se)}function we(ce){var xe;if(typeof ce=="function")xe="[function "+(ce.name||"anonymous")+"]";else{xe=ce&&typeof ce.toString=="function"?ce.toString():s.toString(ce);var ve=/\[object [a-zA-Z0-9$_]+\]/;if(ve.test(xe))try{var Se=JSON.stringify(ce);xe=Se}catch{}xe.length===0&&(xe="(empty array)")}return"(<"+W(xe)+">, no stack trace)"}function W(ce){var xe=41;return ce.length<xe?ce:ce.substr(0,xe-3)+"..."}function X(){return typeof De=="function"}var pe=function(){return!1},ie=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function te(ce){var xe=ce.match(ie);if(xe)return{fileName:xe[1],line:parseInt(xe[2],10)}}function oe(ce,xe){if(X()){for(var ve=ce.stack.split(` 697`),Se=xe.stack.split(` 698`),Oe=-1,We=-1,qe,Xe,Ve=0;Ve<ve.length;++Ve){var Ct=te(ve[Ve]);if(Ct){qe=Ct.fileName,Oe=Ct.line;break}}for(var Ve=0;Ve<Se.length;++Ve){var Ct=te(Se[Ve]);if(Ct){Xe=Ct.fileName,We=Ct.line;break}}Oe<0||We<0||!qe||!Xe||qe!==Xe||Oe>=We||(pe=function(ct){if(u.test(ct))return!0;var bt=te(ct);return!!(bt&&bt.fileName===qe&&Oe<=bt.line&&bt.line<=We)})}}function Ne(ce){this._parent=ce,this._promisesCreated=0;var xe=this._length=1+(ce===void 0?0:ce._length);De(this,Ne),xe>32&&this.uncycle()}s.inherits(Ne,Error),t.CapturedTrace=Ne,Ne.prototype.uncycle=function(){var ce=this._length;if(!(ce<2)){for(var xe=[],ve={},Se=0,Oe=this;Oe!==void 0;++Se)xe.push(Oe),Oe=Oe._parent;ce=this._length=Se;for(var Se=ce-1;Se>=0;--Se){var We=xe[Se].stack;ve[We]===void 0&&(ve[We]=Se)}for(var Se=0;Se<ce;++Se){var qe=xe[Se].stack,Xe=ve[qe];if(Xe!==void 0&&Xe!==Se){Xe>0&&(xe[Xe-1]._parent=void 0,xe[Xe-1]._length=1),xe[Se]._parent=void 0,xe[Se]._length=1;var Ve=Se>0?xe[Se-1]:this;Xe<ce-1?(Ve._parent=xe[Xe+1],Ve._parent.uncycle(),Ve._length=Ve._parent._length+1):(Ve._parent=void 0,Ve._length=1);for(var Ct=Ve._length+1,ct=Se-2;ct>=0;--ct)xe[ct]._length=Ct,Ct++;return}}}},Ne.prototype.attachExtraTrace=function(ce){if(!ce.__stackCleaned__){this.uncycle();for(var xe=ge(ce),ve=xe.message,Se=[xe.stack],Oe=this;Oe!==void 0;)Se.push(ae(Oe.stack.split(` 699`))),Oe=Oe._parent;re(Se),ee(Se),s.notEnumerableProp(ce,"stack",Y(ve,Se)),s.notEnumerableProp(ce,"__stackCleaned__",!0)}};var De=function(){var xe=/^\s*at\s*/,ve=function(qe,Xe){return typeof qe=="string"?qe:Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():we(Xe)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,h=xe,f=ve;var Se=Error.captureStackTrace;return pe=function(qe){return u.test(qe)},function(qe,Xe){Error.stackTraceLimit+=6,Se(qe,Xe),Error.stackTraceLimit-=6}}var Oe=new Error;if(typeof Oe.stack=="string"&&Oe.stack.split(` 700`)[0].indexOf("stackDetection@")>=0)return h=/@/,f=ve,v=!0,function(Xe){Xe.stack=new Error().stack};var We;try{throw new Error}catch(qe){We="stack"in qe}return!("stack"in Oe)&&We&&typeof Error.stackTraceLimit=="number"?(h=xe,f=ve,function(Xe){Error.stackTraceLimit+=6;try{throw new Error}catch(Ve){Xe.stack=Ve.stack}Error.stackTraceLimit-=6}):(f=function(qe,Xe){return typeof qe=="string"?qe:(typeof Xe=="object"||typeof Xe=="function")&&Xe.name!==void 0&&Xe.message!==void 0?Xe.toString():we(Xe)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(m=function(ce){console.warn(ce)},s.isNode&&process.stderr.isTTY?m=function(ce,xe){var ve=xe?"\x1B[33m":"\x1B[31m";console.warn(ve+ce+`\x1B[0m 701`)}:!s.isNode&&typeof new Error().stack=="string"&&(m=function(ce,xe){console.warn("%c"+ce,xe?"color: darkorange":"color: red")}));var ye={warnings:g,longStackTraces:!1,cancellation:!1,monitoring:!1};return x&&e.longStackTraces(),{longStackTraces:function(){return ye.longStackTraces},warnings:function(){return ye.warnings},cancellation:function(){return ye.cancellation},monitoring:function(){return ye.monitoring},propagateFromFunction:function(){return M},boundValueFunction:function(){return F},checkForgottenReturns:O,setBounds:oe,warn:K,deprecated:$,CapturedTrace:Ne,fireDomEvent:E,fireGlobalEvent:T}}),cj}var lj,v6;function Sle(){return v6||(v6=1,lj=function(e,t){var n=Rn(),r=e.CancellationError,i=n.errorObj;function s(p,h,f){this.promise=p,this.type=h,this.handler=f,this.called=!1,this.cancelPromise=null}s.prototype.isFinallyHandler=function(){return this.type===0};function o(p){this.finallyHandler=p}o.prototype._resultCancelled=function(){c(this.finallyHandler)};function c(p,h){return p.cancelPromise!=null?(arguments.length>1?p.cancelPromise._reject(h):p.cancelPromise._cancel(),p.cancelPromise=null,!0):!1}function l(){return d.call(this,this.promise._target()._settledValue())}function u(p){if(!c(this,p))return i.e=p,i}function d(p){var h=this.promise,f=this.handler;if(!this.called){this.called=!0;var v=this.isFinallyHandler()?f.call(h._boundValue()):f.call(h._boundValue(),p);if(v!==void 0){h._setReturnedNonUndefined();var m=t(v,h);if(m instanceof e){if(this.cancelPromise!=null)if(m._isCancelled()){var y=new r("late cancellation observer");return h._attachExtraTrace(y),i.e=y,i}
701else m.isPending()&&m._attachCancellationCallback(new o(this));return m._then(l,u,void 0,this,void 0)}}}return h.isRejected()?(c(this),i.e=p,i):(c(this),p)}return e.prototype._passThrough=function(p,h,f,v){return typeof p!="function"?this.then():this._then(f,v,void 0,new s(this,h,p),void 0)},e.prototype.lastly=e.prototype.finally=function(p){return this._passThrough(p,0,d,d)},e.prototype.tap=function(p){return this._passThrough(p,1,d)},s}),lj}var uj,b6;function Dle(){return b6||(b6=1,uj=function(e){var t=Rn(),n=Zh().keys,r=t.tryCatch,i=t.errorObj;function s(o,c,l){return function(u){var d=l._boundValue();e:for(var p=0;p<o.length;++p){var h=o[p];if(h===Error||h!=null&&h.prototype instanceof Error){if(u instanceof h)return r(c).call(d,u)}else if(typeof h=="function"){var f=r(h).call(d,u);if(f===i)return f;if(f)return r(c).call(d,u)}else if(t.isObject(u)){for(var v=n(h),m=0;m<v.length;++m){var y=v[m];if(h[y]!=u[y])continue e}return r(c).call(d,u)}}return e}}return s}),uj}var dj,w6;function fB(){if(w6)return dj;w6=1;var e=Rn(),t=e.maybeWrapAsError,n=ju(),r=n.OperationalError,i=Zh();function s(u){return u instanceof Error&&i.getPrototypeOf(u)===Error.prototype}var o=/^(?:name|message|stack|cause)$/;function c(u){var d;if(s(u)){d=new r(u),d.name=u.name,d.message=u.message,d.stack=u.stack;for(var p=i.keys(u),h=0;h<p.length;++h){var f=p[h];o.test(f)||(d[f]=u[f])}return d}return e.markAsOriginatingFromRejection(u),u}function l(u,d){return function(p,h){if(u!==null){if(p){var f=c(t(p));u._attachExtraTrace(f),u._reject(f)}else if(!d)u._fulfill(h);else{for(var v=arguments.length,m=new Array(Math.max(v-1,0)),y=1;y<v;++y)m[y-1]=arguments[y];u._fulfill(m)}u=null}}}return dj=l,dj}var pj,j6;function Ale(){return j6||(j6=1,pj=function(e,t,n,r,i){var s=Rn(),o=s.tryCatch;e.method=function(c){if(typeof c!="function")throw new e.TypeError("expecting a function but got "+s.classString(c));return function(){var l=new e(t);l._captureStackTrace(),l._pushContext();var u=o(c).apply(this,arguments),d=l._popContext();return i.checkForgottenReturns(u,d,"Promise.method",l),l._resolveFromSyncValue(u),l}},e.attempt=e.try=function(c){if(typeof c!="function")return r("expecting a function but got "+s.classString(c));var l=new e(t);l._captureStackTrace(),l._pushContext();var u;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var d=arguments[1],p=arguments[2];u=s.isArray(d)?o(c).apply(p,d):o(c).call(p,d)}else u=o(c)();var h=l._popContext();return i.checkForgottenReturns(u,h,"Promise.try",l),l._resolveFromSyncValue(u),l},e.prototype._resolveFromSyncValue=function(c){c===s.errorObj?this._rejectCallback(c.e,!1):this._resolveCallback(c,!0)}}),pj}var fj,_6;function kle(){return _6||(_6=1,fj=function(e,t,n,r){var i=!1,s=function(u,d){this._reject(d)}
701,o=function(u,d){d.promiseRejectionQueued=!0,d.bindingPromise._then(s,s,null,this,u)},c=function(u,d){this._bitField&50397184||this._resolveCallback(d.target)},l=function(u,d){d.promiseRejectionQueued||this._reject(u)};e.prototype.bind=function(u){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var d=n(u),p=new e(t);p._propagateFrom(this,1);var h=this._target();if(p._setBoundTo(d),d instanceof e){var f={promiseRejectionQueued:!1,promise:p,target:h,bindingPromise:d};h._then(t,o,void 0,p,f),d._then(c,l,void 0,p,f),p._setOnCancel(d)}else p._resolveCallback(h);return p},e.prototype._setBoundTo=function(u){u!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=u):this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return(this._bitField&2097152)===2097152},e.bind=function(u,d){return e.resolve(d).bind(u)}}),fj}var hj,N6;function Tle(){return N6||(N6=1,hj=function(e,t,n,r){var i=Rn(),s=i.tryCatch,o=i.errorObj,c=e._async;e.prototype.break=e.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var l=this,u=l;l._isCancellable();){if(!l._cancelBy(u)){u._isFollowing()?u._followee().cancel():u._cancelBranched();break}var d=l._cancellationParent;if(d==null||!d._isCancellable()){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}else l._isFollowing()&&l._followee().cancel(),l._setWillBeCancelled(),u=l,l=d}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(l){return l===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(l,u){if(i.isArray(l))for(var d=0;d<l.length;++d)this._doInvokeOnCancel(l[d],u);else if(l!==void 0)if(typeof l=="function"){if(!u){var p=s(l).call(this._boundValue());p===o&&(this._attachExtraTrace(p.e),c.throwLater(p.e))}}else l._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var l=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,l)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}),hj}var mj,C6;function Ple(){return C6||(C6=1,mj=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(r){return r instanceof e&&r.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:r},void 0)},e.prototype.throw=e.prototype.thenThrow=function(r){return this._then(n,void 0,void 0,{reason:r},void 0)},e.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:r},void 0);var i=arguments[1],s=function(){throw i};return this.caught(r,s)},e.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof e&&r.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:r},void 0);var i=arguments[1];i instanceof e&&i.suppressUnhandledRejections();var s=function(){return i};return this.caught(r,s)}}),mj}var gj,E6;function Lle(){return E6||(E6=1,gj=function(e){function t(l){l!==void 0?(l=l._target(),this._bitField=l._bitField,this._settledValueField=l._isFateSealed()?l._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise 702 703 See http://goo.gl/MqrFmX 704`);return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise 705 706 See http://goo.gl/MqrFmX 707`);return this._settledValue()},i=t.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},s=t.prototype.isRejected=function(){return(this._bitField&16777216)!==0},o=t.prototype.isPending=function(){return(this._bitField&50397184)===0},c=t.prototype.isResolved=function(){return(this._bitField&50331648)!==0};t.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},e.prototype.__isCancelled=function(){return(this._bitField&65536)===6
7075536},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},e.prototype.isPending=function(){return o.call(this._target())},e.prototype.isRejected=function(){return s.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return c.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var l=this._target();return l._unsetRejectionIsUnhandled(),r.call(l)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}),gj}var xj,S6;function Rle(){return S6||(S6=1,xj=function(e,t,n,r,i,s){var o=Rn(),c=o.canEvaluate,l=o.tryCatch,u=o.errorObj,d;if(c){for(var p=function(x){return new Function("value","holder",` 708 'use strict'; 709 holder.pIndex = value; 710 holder.checkFulfillment(this); 711 `.replace(/Index/g,x))},h=function(x){return new Function("promise","holder",` 712 'use strict'; 713 holder.pIndex = promise; 714 `.replace(/Index/g,x))},f=function(x){for(var b=new Array(x),_=0;_<b.length;++_)b[_]="this.p"+(_+1);var E=b.join(" = ")+" = null;",T=`var promise; 715`+b.map(function(k){return` 716 promise = `+k+`; 717 if (promise instanceof Promise) { 718 promise.cancel(); 719 } 720 `}).join(` 721`),A=b.join(", "),w="Holder$"+x,S=`return function(tryCatch, errorObj, Promise, async) { 722 'use strict'; 723 function [TheName](fn) { 724 [TheProperties] 725 this.fn = fn; 726 this.asyncNeeded = true; 727 this.now = 0; 728 } 729 730 [TheName].prototype._callFunction = function(promise) { 731 promise._pushContext(); 732 var ret = tryCatch(this.fn)([ThePassedArguments]); 733 promise._popContext(); 734 if (ret === errorObj) { 735 promise._rejectCallback(ret.e, false); 736 } else { 737 promise._resolveCallback(ret); 738 } 739 }; 740 741 [TheName].prototype.checkFulfillment = function(promise) { 742 var now = ++this.now; 743 if (now === [TheTotal]) { 744 if (this.asyncNeeded) { 745 async.invoke(this._callFunction, this, promise); 746 } else { 747 this._callFunction(promise); 748 } 749 750 } 751 }; 752 753 [TheName].prototype._resultCancelled = function() { 754 [CancellationCode] 755 }; 756 757 return [TheName]; 758 }(tryCatch, errorObj, Promise, async); 759 `;return S=S.replace(/\[TheName\]/g,w).replace(/\[TheTotal\]/g,x).replace(/\[ThePassedArguments\]/g,A).replace(/\[TheProperties\]/g,E).replace(/\[CancellationCode\]/g,T),new Function("tryCatch","errorObj","Promise","async",S)(l,u,e,i)},v=[],m=[],y=[],g=0;g<8;++g)v.push(f(g+1)),m.push(p(g+1)),y.push(h(g+1));d=function(x){this._reject(x)}}e.join=function(){var x=arguments.length-1,b;if(x>
7590&&typeof arguments[x]=="function"&&(b=arguments[x],x<=8&&c)){var N=new e(r);N._captureStackTrace();for(var _=v[x-1],E=new _(b),T=m,A=0;A<x;++A){var w=n(arguments[A],N);if(w instanceof e){w=w._target();var S=w._bitField;S&50397184?S&33554432?T[A].call(N,w._value(),E):S&16777216?N._reject(w._reason()):N._cancel():(w._then(T[A],d,void 0,N,E),y[A](w,E),E.asyncNeeded=!1)}else T[A].call(N,w,E)}if(!N._isFateSealed()){if(E.asyncNeeded){var k=s();k!==null&&(E.fn=o.domainBind(k,E.fn))}N._setAsyncGuaranteed(),N._setOnCancel(E)}return N}for(var P=arguments.length,D=new Array(P),R=0;R<P;++R)D[R]=arguments[R];b&&D.pop();var N=new t(D).promise();return b!==void 0?N.spread(b):N}}),xj}var yj,D6;function Ole(){return D6||(D6=1,yj=function(e,t,n,r,i,s){var o=e._getDomain,c=Rn(),l=c.tryCatch,u=c.errorObj,d=e._async;function p(f,v,m,y){this.constructor$(f),this._promise._captureStackTrace();var g=o();this._callback=g===null?v:c.domainBind(g,v),this._preservedValues=y===i?new Array(this.length()):null,this._limit=m,this._inFlight=0,this._queue=[],d.invoke(this._asyncInit,this,void 0)}c.inherits(p,t),p.prototype._asyncInit=function(){this._init$(void 0,-2)},p.prototype._init=function(){},p.prototype._promiseFulfilled=function(f,v){var m=this._values,y=this.length(),g=this._preservedValues,x=this._limit;if(v<0){if(v=v*-1-1,m[v]=f,x>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(x>=1&&this._inFlight>=x)return m[v]=f,this._queue.push(v),!1;g!==null&&(g[v]=f);var b=this._promise,_=this._callback,E=b._boundValue();b._pushContext();var T=l(_).call(E,f,v,y),A=b._popContext();if(s.checkForgottenReturns(T,A,g!==null?"Promise.filter":"Promise.map",b),T===u)return this._reject(T.e),!0;var w=r(T,this._promise);if(w instanceof e){w=w._target();var S=w._bitField;if(S&50397184)if(S&33554432)T=w._value();else return S&16777216?(this._reject(w._reason()),!0):(this._cancel(),!0);else return x>=1&&this._inFlight++,m[v]=w,w._proxy(this,(v+1)*-1),!1}m[v]=T}var k=++this._totalResolved;return k>=y?(g!==null?this._filter(m,g):this._resolve(m),!0):!1},p.prototype._drainQueue=function(){for(var f=this._queue,v=this._limit,m=this._values;f.length>0&&this._inFlight<v;){if(this._isResolved())return;var y=f.pop();this._promiseFulfilled(m[y],y)}},p.prototype._filter=function(f,v){for(var m=v.length,y=new Array(m),g=0,x=0;x<m;++x)f[x]&&(y[g++]=v[x]);y.length=g,this._resolve(y)},p.prototype.preservedValues=function(){return this._preservedValues};function h(f,v,m,y){if(typeof v!="function")return n("expecting a function but got "+c.classString(v));var g=0;if(m!==void 0)if(typeof m=="object"&&m!==null){if(typeof m.concurrency!="number")return e.reject(new TypeError("'concurrency' must be a number but it is "+c.classString(m.concurrency)));g=m.concurrency}else return e.reject(new TypeError("options argument must be an object but it is "+c.classString(m)));return g=typeof g=="number"&&isFinite(g)&&g>=1?g:0,new p(f,v,g,y).promise()}e.prototype.map=function(f,v){return h(this,f,v,null)},e.map=function(f,v,m,y){return h(f,v,m,y)}}),yj}var vj,A6;function Ile(){if(A6)return vj;A6=1;var e=Object.create;if(e){var t=e(null),n=e(null);t[" size"]=n[" size"]=0}return vj=function(r){var i=Rn(),s=i.canEvaluate,o=i.isIdentifier,c,l;{var u=function(y){return new Function("ensureMethod",` 760 return function(obj) { 761 'use strict' 762 var len = this.length; 763 ensureMethod(obj, 'methodName'); 764 switch(len) { 765 case 1: return obj.methodName(this[0]); 766 case 2: return obj.methodName(this[0], this[1]); 767 case 3: return obj.methodName(this[0], this[1], this[2]); 768 case 0: return obj.methodName(); 769 default: 770 return obj.methodName.apply(obj, this); 771 } 772 }; 773 `.replace(/methodName/g,y))(h)},d=function(y){return new Function("obj",` 774 'use strict'; 775 return obj.propertyName; 776 `.replace("propertyName",y))},p=function(y,g,x){var b=x[y];if(typeof b!="function"){if(!o(y))return null;if(b=g(y),x[y]=b,x[" size"]++,x[" size"]>512){for(var _=Object.keys(x),E=0;E<256;++E)delete x[_[E]];x[" size"]=_.length-256}}return b};c=function(y){return p(y,u,t)},l=function(y){return p(y,d,n)}}function h(y,g){var x;if(y!=null&&(x=y[g]),typeof x!="function"){var b="Object "+i.classString(y)+" has no method '"+i.toString(g)+"'";throw new r.TypeError(b)}return x}function f(y){var g=this.pop(),x=h(y,g);return x.apply(y,this)}r.prototype.call=function(y){for(var g=arguments.length,x=new Array(Math.max(g-1,0)),b=1;b<g;++b)x[b-1]=arguments[b];if(s){var _=c(y);if(_!==null)return this._then(_,void 0,void 0,x,void 0)}return x.push(y),this._then(f,void 0,void 0,x,void 0)};function v(y){return y[this]}function m(y){var g=+this;return g<0&&(g=Math.max(0,g+y.length)),y[g]}r.prototype.get=function(y){var g=typeof y=="number",x;if(g)x=m;else if(s){var b=l(y);x=b!==null?b:v}else x=v;return this._then(x,void 0,void 0,y,void 0)}},vj}var bj,k6;function Ule(){return k6||(k6=1,bj=function(e,t,n,r,i,s){var o=Rn(),c=ju().TypeError,l=Rn().inherits,u=o.errorObj,d=o.tryCatch,p={};function h(b){setTimeout(function(){throw b},0)}function f(b){var _=n(b);return _!==b&&typeof b._isDisposable=="function"&&typeof b._getDisposer=="function"&&b._isDisposable()&&_._setDisposable(b._getDisposer()),_}function v(b,_){var E=0,T=b.length,A=new e(i);function w(){if(E>=T)return A._fulfill();var S=f(b[E++]);
776if(S instanceof e&&S._isDisposable()){try{S=n(S._getDisposer().tryDispose(_),b.promise)}catch(k){return h(k)}if(S instanceof e)return S._then(w,h,null,null,null)}w()}return w(),A}function m(b,_,E){this._data=b,this._promise=_,this._context=E}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():p},m.prototype.tryDispose=function(b){var _=this.resource(),E=this._context;E!==void 0&&E._pushContext();var T=_!==p?this.doDispose(_,b):null;return E!==void 0&&E._popContext(),this._promise._unsetDisposable(),this._data=null,T},m.isDisposer=function(b){return b!=null&&typeof b.resource=="function"&&typeof b.tryDispose=="function"};function y(b,_,E){this.constructor$(b,_,E)}l(y,m),y.prototype.doDispose=function(b,_){var E=this.data();return E.call(b,b,_)};function g(b){return m.isDisposer(b)?(this.resources[this.index]._setDisposable(b),b.promise()):b}function x(b){this.length=b,this.promise=null,this[b-1]=null}x.prototype._resultCancelled=function(){for(var b=this.length,_=0;_<b;++_){var E=this[_];E instanceof e&&E.cancel()}},e.using=function(){var b=arguments.length;if(b<2)return t("you must pass at least 2 arguments to Promise.using");var _=arguments[b-1];if(typeof _!="function")return t("expecting a function but got "+o.classString(_));var E,T=!0;b===2&&Array.isArray(arguments[0])?(E=arguments[0],b=E.length,T=!1):(E=arguments,b--);for(var A=new x(b),w=0;w<b;++w){var S=E[w];if(m.isDisposer(S)){var k=S;S=S.promise(),S._setDisposable(k)}else{var P=n(S);P instanceof e&&(S=P._then(g,null,null,{resources:A,index:w},void 0))}A[w]=S}for(var D=new Array(A.length),w=0;w<D.length;++w)D[w]=e.resolve(A[w]).reflect();var R=e.all(D).then(function(q){for(var I=0;I<q.length;++I){var z=q[I];if(z.isRejected())return u.e=z.error(),u;if(!z.isFulfilled()){R.cancel();return}q[I]=z.value()}N._pushContext(),_=d(_);var M=T?_.apply(void 0,q):_(q),F=N._popContext();return s.checkForgottenReturns(M,F,"Promise.using",N),M}),N=R.lastly(function(){var q=new e.PromiseInspection(R);return v(A,q)});return A.promise=N,N._setOnCancel(A),N},e.prototype._setDisposable=function(b){this._bitField=this._bitField|131072,this._disposer=b},e.prototype._isDisposable=function(){return(this._bitField&131072)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(b){if(typeof b=="function")return new y(b,this,r());throw new c}}),bj}var wj,T6;function Fle(){return T6||(T6=1,wj=function(e,t,n){var r=Rn(),i=e.TimeoutError;function s(p){this.handle=p}s.prototype._resultCancelled=function(){clearTimeout(this.handle)};var o=function(p){return c(+this).thenReturn(p)},c=e.delay=function(p,h){var f,v;return h!==void 0?(f=e.resolve(h)._then(o,null,null,p,void 0),n.cancellation()&&h instanceof e&&f._setOnCancel(h)):(f=new e(t),v=setTimeout(function(){f._fulfill()},+p),n.cancellation()&&f._setOnCancel(new s(v)),f._captureStackTrace()),f._setAsyncGuaranteed(),f};e.prototype.delay=function(p){return c(p,this)};var l=function(p,h,f){var v;typeof h!="string"?h instanceof Error?v=h:v=new i("operation timed out"):v=new i(h),r.markAsOriginatingFromRejection(v),p._attachExtraTrace(v),p._reject(v),f!=null&&f.cancel()};function u(p){return clearTimeout(this.handle),p}function d(p){throw clearTimeout(this.handle),p}e.prototype.timeout=function(p,h){p=+p;var f,v,m=new s(setTimeout(function(){f.isPending()&&l(f,h,v)},p));return n.cancellation()?(v=this.then(),f=v._then(u,d,void 0,m,void 0),f._setOnCancel(m)):f=this._then(u,d,void 0,m,void 0),f}}),wj}var jj,P6;function Mle(){return P6||(P6=1,jj=function(e,t,n,r,i,s){var o=ju(),c=o.TypeError,l=Rn(),u=l.errorObj,d=l.tryCatch,p=[];function h(v,m,y){for(var g=0;g<m.length;++g){y._pushContext();var x=d(m[g])(v);if(y._popContext(),x===u){y._pushContext();var b=e.reject(u.e);return y._popContext(),b}var _=r(x,y);if(_ instanceof e)return _}return null}function f(v,m,y,g){if(s.cancellation()){var x=new e(n),b=this._finallyPromise=new e(n);this._promise=x.lastly(function(){return b}),x._captureStackTrace(),x._setOnCancel(this)}else{var _=this._promise=new e(n);_._captureStackTrace()}this._stack=g,this._generatorFunction=v,this._receiver=m,this._generator=void 0,this._yieldHandlers=typeof y=="function"?[y].concat(p):p,this._yieldedPromise=null,this._cancellationPhase=!1}l.inherits(f,i),f.prototype._isResolved=function(){return this._promise===null},f.prototype._cleanup=function(){this._promise=this._generator=null,s.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},f.prototype._promiseCancelled=function(){if(!this._isResolved()){var v=typeof this._generator.return<"u",m;
776if(v)this._promise._pushContext(),m=d(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var y=new e.CancellationError("generator .return() sentinel");e.coroutine.returnSentinel=y,this._promise._attachExtraTrace(y),this._promise._pushContext(),m=d(this._generator.throw).call(this._generator,y),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(m)}},f.prototype._promiseFulfilled=function(v){this._yieldedPromise=null,this._promise._pushContext();var m=d(this._generator.next).call(this._generator,v);this._promise._popContext(),this._continue(m)},f.prototype._promiseRejected=function(v){this._yieldedPromise=null,this._promise._attachExtraTrace(v),this._promise._pushContext();var m=d(this._generator.throw).call(this._generator,v);this._promise._popContext(),this._continue(m)},f.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var v=this._yieldedPromise;this._yieldedPromise=null,v.cancel()}},f.prototype.promise=function(){return this._promise},f.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},f.prototype._continue=function(v){var m=this._promise;if(v===u)return this._cleanup(),this._cancellationPhase?m.cancel():m._rejectCallback(v.e,!1);var y=v.value;if(v.done===!0)return this._cleanup(),this._cancellationPhase?m.cancel():m._resolveCallback(y);var g=r(y,this._promise);if(!(g instanceof e)&&(g=h(g,this._yieldHandlers,this._promise),g===null)){this._promiseRejected(new c(`A value %s was yielded that could not be treated as a promise 777 778 See http://goo.gl/MqrFmX 779 780`.replace("%s",y)+`From coroutine: 781`+this._stack.split(` 782`).slice(1,-7).join(` 783`)));return}g=g._target();var x=g._bitField;x&50397184?x&33554432?e._async.invoke(this._promiseFulfilled,this,g._value()):x&16777216?e._async.invoke(this._promiseRejected,this,g._reason()):this._promiseCancelled():(this._yieldedPromise=g,g._proxy(this,null))},e.coroutine=function(v,m){if(typeof v!="function")throw new c(`generatorFunction must be a function 784 785 See http://goo.gl/MqrFmX 786`);var y=Object(m).yieldHandler,g=f,x=new Error().stack;return function(){var b=v.apply(this,arguments),_=new g(void 0,void 0,y,x),E=_.promise();return _._generator=b,_._promiseFulfilled(void 0),E}},e.coroutine.addYieldHandler=function(v){if(typeof v!="function")throw new c("expecting a function but got "+l.classString(v));p.push(v)},e.spawn=function(v){if(s.deprecated("Promise.spawn()","Promise.coroutine()"),typeof v!="function")return t(`generatorFunction must be a function 787 788 See http://goo.gl/MqrFmX 789`);var m=new f(v,this),y=m.promise();return m._run(e.spawn),y}}),jj}var _j,L6;function qle(){return L6||(L6=1,_j=function(e){var t=Rn(),n=e._async,r=t.tryCatch,i=t.errorObj;function s(l,u){var d=this;if(!t.isArray(l))return o.call(d,l,u);var p=r(u).apply(d._boundValue(),[null].concat(l));p===i&&n.throwLater(p.e)}function o(l,u){var d=this,p=d._boundValue(),h=l===void 0?r(u).call(p,null):r(u).call(p,null,l);h===i&&n.throwLater(h.e)}function c(l,u){var d=this;if(!l){var p=new Error(l+"");p.cause=l,l=p}var h=r(u).call(d._boundValue(),l);h===i&&n.throwLater(h.e)}e.prototype.asCallback=e.prototype.nodeify=function(l,u){if(typeof l=="function"){var d=o;u!==void 0&&Object(u).spread&&(d=s),this._then(d,c,void 0,this,l)}return this}}),_j}var Nj,R6;function Ble(){return R6||(R6=1,Nj=function(e,t){var n={},r=Rn(),i=fB(),s=r.withAppended,o=r.maybeWrapAsError,c=r.canEvaluate,l=ju().TypeError,u="Async",d={__isPromisified__:!0},p=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],h=new RegExp("^(?:"+p.join("|")+")$"),f=function(R){return r.isIdentifier(R)&&R.charAt(0)!=="_"&&R!=="constructor"};function v(R){return!h.test(R)}function m(R){try{return R.__isPromisified__===!0}catch{return!1}}function y(R,N,q){var I=r.getDataPropertyOrDefault(R,N+q,d);return I?m(I):!1}function g(R,N,q){for(var I=0;I<R.length;I+=2){var z=R[I];if(q.test(z)){for(var M=z.replace(q,""),F=0;F<R.length;F+=2)if(R[F]===M)throw new l(`Cannot promisify an API that has normal methods with '%s'-suffix 790 791 See http://goo.gl/MqrFmX 792`.replace("%s",N))}}}function x(R,N,q,I){for(var z=r.inheritedDataKeys(R),M=[],F=0;F<z.length;++F){var H=z[F],V=R[H],O=I===f?!0:f(H);typeof V=="function"&&!m(V)&&!y(R,H,N)&&I(H,V,R,O)&&M.push(H,V)}return g(M,N,q),M}var b=function(R){return R.replace(/([$])/,"\\$")},_;{var E=function(R){for(var N=[R],q=Math.max(0,R-1-3),I=R-1;I>=q;--I)N.push(I);for(var I=R+1;I<=3;++I)N.push(I);return N},T=function(R){return r.filledRange(R,"_arg","")},A=function(R){return r.filledRange(Math.max(R,3),"_arg","")},w=function(R){return typeof R.length=="number"?Math.max(Math.min(R.length,1024),0):0};_=function(R,N,q,I,z,M){var F=Math.max(0,w(I)-1),H=E(F),V=typeof R=="str
792ing"||N===n;function O(ee){var re=T(ee).join(", "),ae=ee>0?", ":"",le;return V?le=`ret = callback.call(this, {{args}}, nodeback); break; 793`:le=N===void 0?`ret = callback({{args}}, nodeback); break; 794`:`ret = callback.call(receiver, {{args}}, nodeback); break; 795`,le.replace("{{args}}",re).replace(", ",ae)}function $(){for(var ee="",re=0;re<H.length;++re)ee+="case "+H[re]+":"+O(H[re]);return ee+=` 796 default: 797 var args = new Array(len + 1); 798 var i = 0; 799 for (var i = 0; i < len; ++i) { 800 args[i] = arguments[i]; 801 } 802 args[i] = nodeback; 803 [CodeForCall] 804 break; 805 `.replace("[CodeForCall]",V?`ret = callback.apply(this, args); 806`:`ret = callback.apply(receiver, args); 807`),ee}var K=typeof R=="string"?"this != null ? this['"+R+"'] : fn":"fn",Y=`'use strict'; 808 var ret = function (Parameters) { 809 'use strict'; 810 var len = arguments.length; 811 var promise = new Promise(INTERNAL); 812 promise._captureStackTrace(); 813 var nodeback = nodebackForPromise(promise, `+M+`); 814 var ret; 815 var callback = tryCatch([GetFunctionCode]); 816 switch(len) { 817 [CodeForSwitchCase] 818 } 819 if (ret === errorObj) { 820 promise._rejectCallback(maybeWrapAsError(ret.e), true, true); 821 } 822 if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); 823 return promise; 824 }; 825 notEnumerableProp(ret, '__isPromisified__', true); 826 return ret; 827 `.replace("[CodeForSwitchCase]",$()).replace("[GetFunctionCode]",K);return Y=Y.replace("Parameters",A(F)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",Y)(e,I,N,s,o,i,r.tryCatch,r.errorObj,r.notEnumerableProp,t)}}function S(R,N,q,I,z,M){var F=function(){return this}(),H=R;typeof H=="string"&&(R=I);function V(){var O=N;N===n&&(O=this);var $=new e(t);$._captureStackTrace();var K=typeof H=="string"&&this!==F?this[H]:R,Y=i($,M);try{K.apply(O,s(arguments,Y))}catch(ee){$._rejectCallback(o(ee),!0,!0)}return $._isFateSealed()||$._setAsyncGuaranteed(),$}return r.notEnumerableProp(V,"__isPromisified__",!0),V}var k=c?_:S;function P(R,N,q,I,z){for(var M=new RegExp(b(N)+"$"),F=x(R,N,M,q),H=0,V=F.length;H<V;H+=2){var O=F[H],$=F[H+1],K=O+N;if(I===k)R[K]=k(O,n,O,$,N,z);else{var Y=I($,function(){return k(O,n,O,$,N,z)});r.notEnumerableProp(Y,"__isPromisified__",!0),R[K]=Y}}return r.toFastProperties(R),R}function D(R,N,q){return k(R,N,void 0,R,null,q)}e.promisify=function(R,N){if(typeof R!="function")throw new l("expecting a function but got "+r.classString(R));if(m(R))return R;N=Object(N);var q=N.context===void 0?n:N.context,I=!!N.multiArgs,z=D(R,q,I);return r.copyDescriptors(R,z,v),z}
827,e.promisifyAll=function(R,N){if(typeof R!="function"&&typeof R!="object")throw new l(`the target of promisifyAll must be an object or a function 828 829 See http://goo.gl/MqrFmX 830`);N=Object(N);var q=!!N.multiArgs,I=N.suffix;typeof I!="string"&&(I=u);var z=N.filter;typeof z!="function"&&(z=f);var M=N.promisifier;if(typeof M!="function"&&(M=k),!r.isIdentifier(I))throw new RangeError(`suffix must be a valid identifier 831 832 See http://goo.gl/MqrFmX 833`);for(var F=r.inheritedDataKeys(R),H=0;H<F.length;++H){var V=R[F[H]];F[H]!=="constructor"&&r.isClass(V)&&(P(V.prototype,I,z,M,q),P(V,I,z,M,q))}return P(R,I,z,M,q)}}),Nj}var Cj,O6;function zle(){return O6||(O6=1,Cj=function(e,t,n,r){var i=Rn(),s=i.isObject,o=Zh(),c;typeof Map=="function"&&(c=Map);var l=function(){var h=0,f=0;function v(m,y){this[h]=m,this[h+f]=y,h++}return function(y){f=y.size,h=0;var g=new Array(y.size*2);return y.forEach(v,g),g}}(),u=function(h){for(var f=new c,v=h.length/2|0,m=0;m<v;++m){var y=h[v+m],g=h[m];f.set(y,g)}return f};function d(h){var f=!1,v;if(c!==void 0&&h instanceof c)v=l(h),f=!0;else{var m=o.keys(h),y=m.length;v=new Array(y*2);for(var g=0;g<y;++g){var x=m[g];v[g]=h[x],v[g+y]=x}}this.constructor$(v),this._isMap=f,this._init$(void 0,-3)}i.inherits(d,t),d.prototype._init=function(){},d.prototype._promiseFulfilled=function(h,f){this._values[f]=h;var v=++this._totalResolved;if(v>=this._length){var m;if(this._isMap)m=u(this._values);else{m={};for(var y=this.length(),g=0,x=this.length();g<x;++g)m[this._values[g+y]]=this._values[g]}return this._resolve(m),!0}return!1},d.prototype.shouldCopyValues=function(){return!1},d.prototype.getActualLength=function(h){return h>>1};function p(h){var f,v=n(h);if(s(v))v instanceof e?f=v._then(e.props,void 0,void 0,void 0,void 0):f=new d(v).promise();else return r(`cannot await properties of a non-object 834 835 See http://goo.gl/MqrFmX 836`);return v instanceof e&&f._propagateFrom(v,2),f}e.prototype.props=function(){return p(this)},e.props=function(h){return p(h)}}),Cj}var Ej,I6;function $le(){return I6||(I6=1,Ej=function(e,t,n,r){var i=Rn(),s=function(c){return c.then(function(l){return o(l,c)})};function o(c,l){var u=n(c);if(u instanceof e)return s(u);if(c=i.asArray(c),c===null)return r("expecting an array or an iterable object but got "+i.classString(c));var d=new e(t);l!==void 0&&d._propagateFrom(l,3);for(var p=d._fulfill,h=d._reject,f=0,v=c.length;f<v;++f){var m=c[f];m===void 0&&!(f in c)||e.cast(m)._then(p,h,void 0,d,null)}return d}e.race=function(c){return o(c,void 0)},e.prototype.race=function(){return o(this,void 0)}}),Ej}var Sj,U6;function Wle(){return U6||(U6=1,Sj=function(e,t,n,r,i,s){var o=e._getDomain,c=Rn(),l=c.tryCatch;function u(v,m,y,g){this.constructor$(v);var x=o();this._fn=x===null?m:c.domainBind(x,m),y!==void 0&&(y=e.resolve(y),y._attachCancellationCallback(this)),this._initialValue=y,this._currentCancellable=null,g===i?this._eachValues=Array(this._length):g===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}c.inherits(u,t),u.prototype._gotAccum=function(v){this._eachValues!==void 0&&this._eachValues!==null&&v!==i&&this._eachValues.push(v)},u.prototype._eachComplete=function(v){return this._eachValues!==null&&this._eachValues.push(v),this._eachValues},u.prototype._init=function(){},u.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},u.prototype.shouldCopyValues=function(){return!1},u.prototype._resolve=function(v){this._promise._resolveCallback(v),this._values=null},u.prototype._resultCancelled=function(v){if(v===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof e&&this._currentCancellable.cancel(),this._initialValue instanceof e&&this._initialValue.cancel())},u.prototype._iterate=function(v){this._values=v;var m,y,g=v.length;if(this._initialValue!==void 0?(m=this._initialValue,y=0):(m=e.resolve(v[0]),y=1),this._currentCancellable=m,!m.isRejected())for(;y<g;++y){var x={accum:null,value:v[y],index:y,length:g,array:this};
836m=m._then(h,void 0,void 0,x,void 0)}this._eachValues!==void 0&&(m=m._then(this._eachComplete,void 0,void 0,this,void 0)),m._then(d,d,void 0,m,this)},e.prototype.reduce=function(v,m){return p(this,v,m,null)},e.reduce=function(v,m,y,g){return p(v,m,y,g)};function d(v,m){this.isFulfilled()?m._resolve(v):m._reject(v)}function p(v,m,y,g){if(typeof m!="function")return n("expecting a function but got "+c.classString(m));var x=new u(v,m,y,g);return x.promise()}function h(v){this.accum=v,this.array._gotAccum(v);var m=r(this.value,this.array._promise);return m instanceof e?(this.array._currentCancellable=m,m._then(f,void 0,void 0,this,void 0)):f.call(this,m)}function f(v){var m=this.array,y=m._promise,g=l(m._fn);y._pushContext();var x;m._eachValues!==void 0?x=g.call(y._boundValue(),v,this.index,this.length):x=g.call(y._boundValue(),this.accum,v,this.index,this.length),x instanceof e&&(m._currentCancellable=x);var b=y._popContext();return s.checkForgottenReturns(x,b,m._eachValues!==void 0?"Promise.each":"Promise.reduce",y),x}}),Sj}var Dj,F6;function Vle(){return F6||(F6=1,Dj=function(e,t,n){var r=e.PromiseInspection,i=Rn();function s(o){this.constructor$(o)}i.inherits(s,t),s.prototype._promiseResolved=function(o,c){this._values[o]=c;var l=++this._totalResolved;return l>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseFulfilled=function(o,c){var l=new r;return l._bitField=33554432,l._settledValueField=o,this._promiseResolved(c,l)}
836,s.prototype._promiseRejected=function(o,c){var l=new r;return l._bitField=16777216,l._settledValueField=o,this._promiseResolved(c,l)},e.settle=function(o){return n.deprecated(".settle()",".reflect()"),new s(o).promise()},e.prototype.settle=function(){return e.settle(this)}}),Dj}var Aj,M6;function Hle(){return M6||(M6=1,Aj=function(e,t,n){var r=Rn(),i=ju().RangeError,s=ju().AggregateError,o=r.isArray,c={};function l(d){this.constructor$(d),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(l,t),l.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var d=o(this._values);!this._isResolved()&&d&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(d){this._howMany=d},l.prototype._promiseFulfilled=function(d){return this._addFulfilled(d),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1}
836,l.prototype._promiseRejected=function(d){return this._addRejected(d),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof e||this._values==null?this._cancel():(this._addRejected(c),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var d=new s,p=this.length();p<this._values.length;++p)this._values[p]!==c&&d.push(this._values[p]);return d.length>0?this._reject(d):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(d){this._values.push(d)},l.prototype._addFulfilled=function(d){this._values[this._totalResolved++]=d},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(d){var p="Input array must contain at least "+this._howMany+" items but contains only "+d+" items";return new i(p)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function u(d,p){if((p|0)!==p||p<0)return n(`expecting a positive integer 837 838 See http://goo.gl/MqrFmX 839`);var h=new l(d),f=h.promise();return h.setHowMany(p),h.init(),f}e.some=function(d,p){return u(d,p)},e.prototype.some=function(d){return u(this,d)},e._SomePromiseArray=l}),Aj}var kj,q6;function Gle(){return q6||(q6=1,kj=function(e,t){var n=e.map;e.prototype.filter=function(r,i){return n(this,r,i,t)},e.filter=function(r,i,s){return n(r,i,s,t)}}),kj}var Tj,B6;function Xle(){return B6||(B6=1,Tj=function(e,t){var n=e.reduce,r=e.all;function i(){return r(this)}function s(o,c){return n(o,c,t,t)}e.prototype.each=function(o){return n(this,o,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(o){return n(this,o,t,t)},e.each=function(o,c){return n(o,c,t,0)._then(i,void 0,void 0,o,void 0)},e.mapSeries=s}),Tj}var Pj,z6;function Kle(){return z6||(z6=1,Pj=function(e){var t=e._SomePromiseArray;function n(r){var i=new t(r),s=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),s}e.any=function(r){return n(r)},e.prototype.any=function(){return n(this)}}),Pj}(function(e){e.exports=function(){var t=function(){return new h(`circular promise resolution chain 840 841 See http://goo.gl/MqrFmX 842`)},n=function(){return new D.PromiseInspection(this._target())},r=function(I){return D.reject(new h(I))};function i(){}var s={},o=Rn(),c;o.isNode?c=function(){var I=process.domain;return I===void 0&&(I=null),I}:c=function(){return null},o.notEnumerableProp(D,"_getDomain",c);var l=Zh(),u=jle(),d=new u;l.defineProperty(D,"_async",{value:d});var p=ju(),h=D.TypeError=p.TypeError;D.RangeError=p.RangeError;var f=D.CancellationError=p.CancellationError;D.TimeoutError=p.TimeoutError,D.OperationalError=p.OperationalError,D.RejectionError=p.OperationalError,D.AggregateError=p.AggregateError;var v=function(){},m={},y={},g=_le()(D,v),x=Nle()(D,v,g,r,i),b=Cle()(D),_=b.create,E=Ele()(D,b);E.CapturedTrace;var T=Sle()(D,g),A=Dle()(y),w=fB(),S=o.errorObj,k=o.tryCatch;function P(I,z){if(typeof z!="function")throw new h("expecting a function but got "+o.classString(z));if(I.constructor!==D)throw new h(`the promise constructor cannot be invoked directly 843 844 See http://goo.gl/MqrFmX 845`)}function D(I){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,I!==v&&(P(this,I),this._resolveFromExecutor(I)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}D.prototype.toString=function(){return"[object Promise]"},D.prototype.caught=D.prototype.catch=function(I){var z=arguments.length;if(z>1){var M=new Array(z-1),F=0,H;for(H=0;H<z-1;++H){var V=arguments[H];if(o.isObject(V))M[F++]=V;else return r("expecting an object but got A catch statement predicate "+o.classString(V))}return M.length=F,I=arguments[H],this.then(void 0,A(M,I,this))}return this.then(void 0,I)},D.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},D.prototype.then=function(I,z){if(E.warnings()&&arguments.length>0&&typeof I!="function"&&typeof z!="function"){var M=".then() only accepts functions but was passed: "+o.classString(I);arguments.length>1&&(M+=", "+o.classString(z)),this._warn(M)}return this._then(I,z,void 0,void 0,void 0)},D.prototype.done=function(I,z){var M=this._then(I,z,void 0,void 0,void 0);M._setIsFinal()},D.prototype.spread=function(I){return typeof I!="function"?r("expecting a function but got "+o.classString(I)):this.all()._then(I,void 0,void 0,m,void 0)},D.prototype.toJSON=function(){var I={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(I.fulfillmentValue=this.value(),I.isFulfilled=!0):this.isRejected()&&(I.rejectionReason=this.reason(),I.isRejected=!0),I},D.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new x(this).promise()},D.prototype.error=function(I){return this.caught(o.originatesFromRejection,I)},D.getNewLibraryCopy=e.exports,D.is=function(I){return I instanceof D},D.fromNode=D.fromCallback=function(I){var z=new D(v);z._captureStackTrace();var M=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,F=k(I)(w(z,M));return F===S&&z._rejectCallback(F.e,!0),z._isFateSealed()||z._setAsyncGuaranteed(),z},D.all=function(I){return new x(I).promise()},D.cast=function(I){var z=g(I);return z instanceof D||(z=new D(v),z._captureStackTrace(),z._setFulfilled(),z._rejectionHandler0=I),z},D.resolve=D.fulfilled=D.cast,D.reject=D.rejected=function(I){var z=new D(v);return z._captureStackTrace(),z._rejectCallback(I,!0),z}
845,D.setScheduler=function(I){if(typeof I!="function")throw new h("expecting a function but got "+o.classString(I));return d.setScheduler(I)},D.prototype._then=function(I,z,M,F,H){var V=H!==void 0,O=V?H:new D(v),$=this._target(),K=$._bitField;V||(O._propagateFrom(this,3),O._captureStackTrace(),F===void 0&&this._bitField&2097152&&(K&50397184?F=this._boundValue():F=$===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,O));var Y=c();if(K&50397184){var ee,re,ae=$._settlePromiseCtx;K&33554432?(re=$._rejectionHandler0,ee=I):K&16777216?(re=$._fulfillmentHandler0,ee=z,$._unsetRejectionIsUnhandled()):(ae=$._settlePromiseLateCancellationObserver,re=new f("late cancellation observer"),$._attachExtraTrace(re),ee=z),d.invoke(ae,$,{handler:Y===null?ee:typeof ee=="function"&&o.domainBind(Y,ee),promise:O,receiver:F,value:re})}else $._addCallbacks(I,z,O,F,Y);return O},D.prototype._length=function(){return this._bitField&65535},D.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},D.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},D.prototype._setLength=function(I){this._bitField=this._bitField&-65536|I&65535},D.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},D.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},D.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},D.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},D.prototype._isFinal=function(){return(this._bitField&4194304)>0},D.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},D.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},D.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},D.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},D.prototype._receiverAt=function(I){var z=I===0?this._receiver0:this[I*4-4+3];if(z!==s)return z===void 0&&this._isBound()?this._boundValue():z},D.prototype._promiseAt=function(I){return this[I*4-4+2]},D.prototype._fulfillmentHandlerAt=function(I){return this[I*4-4+0]},D.prototype._rejectionHandlerAt=function(I){return this[I*4-4+1]},D.prototype._boundValue=function(){},D.prototype._migrateCallback0=function(I){I._bitField;var z=I._fulfillmentHandler0,M=I._rejectionHandler0,F=I._promise0,H=I._receiverAt(0);H===void 0&&(H=s),this._addCallbacks(z,M,F,H,null)},D.prototype._migrateCallbackAt=function(I,z){var M=I._fulfillmentHandlerAt(z),F=I._rejectionHandlerAt(z),H=I._promiseAt(z),V=I._receiverAt(z);V===void 0&&(V=s),this._addCallbacks(M,F,H,V,null)},D.prototype._addCallbacks=function(I,z,M,F,H){var V=this._length();if(V>=65531&&(V=0,this._setLength(0)),V===0)this._promise0=M,this._receiver0=F,typeof I=="function"&&(this._fulfillmentHandler0=H===null?I:o.domainBind(H,I)),typeof z=="function"&&(this._rejectionHandler0=H===null?z:o.domainBind(H,z));else{var O=V*4-4;this[O+2]=M,this[O+3]=F,typeof I=="function"&&(this[O+0]=H===null?I:o.domainBind(H,I)),typeof z=="function"&&(this[O+1]=H===null?z:o.domainBind(H,z))}return this._setLength(V+1),V},D.prototype._proxy=function(I,z){this._addCallbacks(void 0,void 0,z,I,null)},D.prototype._resolveCallback=function(I,z){if(!(this._bitField&117506048)){if(I===this)return this._rejectCallback(t(),!1);var M=g(I,this);if(!(M instanceof D))return this._fulfill(I);z&&this._propagateFrom(M,2);var F=M._target();if(F===this){this._reject(t());return}var H=F._bitField;if(H&50397184)if(H&33554432)this._fulfill(F._value());else if(H&16777216)this._reject(F._reason());else{var $=new f("late cancellation observer");F._attachExtraTrace($),this._reject($)}else{var V=this._length();V>0&&F._migrateCallback0(this);for(var O=1;O<V;++O)F._migrateCallbackAt(this,O);this._setFollowing(),this._setLength(0),this._setFollowee(F)}}},D.prototype._rejectCallback=function(I,z,M){var F=o.ensureErrorObject(I),H=F===I;if(!H&&!M&&E.warnings()){var V="a promise was rejected with a non-error: "+o.classString(I);this._warn(V,!0)}this._attachExtraTrace(F,z?H:!1),this._reject(I)},D.prototype._resolveFromExecutor=function(I){var z=this;this._captureStackTrace(),this._pushContext();var M=!0,F=this._execute(I,function(H){z._resolveCallback(H)},function(H){z._rejectCallback(H,M)});M=!1,this._popContext(),F!==void 0&&z._rejectCallback(F,!0)},D.prototype._settlePromiseFromHandler=function(I,z,M,F){var H=F._bitField;if(!(H&65536)){F._pushContext();var V;z===m?!M||typeof M.length!="number"?(V=S,V.e=new h("cannot .spread() a non-array: "+o.classString(M))):V=k(I).apply(this._boundValue(),M):V=k(I).call(z,M);var O=F._popContext();H=F._bitField,!(H&65536)&&(V===y?F._reject(M):V===S?F._rejectCallback(V.e,!1):(E.checkForgottenReturns(V,O,"",F,this),F._resolveCallback(V)))}},D.prototype._target=function(){for(var I=this;I._isFollowing();)I=I._followee();return I},D.prototype._followee=function(){return this._rejectionHandler0},D.prototype._setFollowee=function(I){this._rejectionHandler0=I},D.prototype._settlePromise=function(I,z,M,F){var H=I instanceof D,V=this._bitField,O=(V&134217728)!==0;V&65536?(H&&I._invokeInternalOnCancel(),M instanceof T&&M.isFinallyHandler()?(M.cancelPromise=I,k(z).call(M,F)===S&&I._reject(S.e)):z===n?I._fulfill(n.call(M)):M instanceof i?M._promiseCancelled(I):H||I instanceof x?I._cancel():M.cancel()):typeof z=="function"?H?(O&&I._setAsyncGuaranteed(),this._settlePromiseFromHandler(z,M,F,I)):z.call(M,F,I):M instanceof i?M._isResolved()||(V&33554432?M._promiseFulfilled(F,I):M._promiseRe
845jected(F,I)):H&&(O&&I._setAsyncGuaranteed(),V&33554432?I._fulfill(F):I._reject(F))},D.prototype._settlePromiseLateCancellationObserver=function(I){var z=I.handler,M=I.promise,F=I.receiver,H=I.value;typeof z=="function"?M instanceof D?this._settlePromiseFromHandler(z,F,H,M):z.call(F,H,M):M instanceof D&&M._reject(H)},D.prototype._settlePromiseCtx=function(I){this._settlePromise(I.promise,I.handler,I.receiver,I.value)},D.prototype._settlePromise0=function(I,z,M){var F=this._promise0,H=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(F,I,H,z)},D.prototype._clearCallbackDataAtIndex=function(I){var z=I*4-4;this[z+2]=this[z+3]=this[z+0]=this[z+1]=void 0},D.prototype._fulfill=function(I){var z=this._bitField;if(!((z&117506048)>>>16)){if(I===this){var M=t();return this._attachExtraTrace(M),this._reject(M)}this._setFulfilled(),this._rejectionHandler0=I,(z&65535)>0&&(z&134217728?this._settlePromises():d.settlePromises(this))}},D.prototype._reject=function(I){var z=this._bitField;if(!((z&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=I,this._isFinal())return d.fatalError(I,o.isNode);(z&65535)>0?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},D.prototype._fulfillPromises=function(I,z){for(var M=1;M<I;M++){var F=this._fulfillmentHandlerAt(M),H=this._promiseAt(M),V=this._receiverAt(M);this._clearCallbackDataAtIndex(M),this._settlePromise(H,F,V,z)}},D.prototype._rejectPromises=function(I,z){for(var M=1;M<I;M++){var F=this._rejectionHandlerAt(M),H=this._promiseAt(M),V=this._receiverAt(M);this._clearCallbackDataAtIndex(M),this._settlePromise(H,F,V,z)}},D.prototype._settlePromises=function(){var I=this._bitField,z=I&65535;if(z>0){if(I&16842752){var M=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,M,I),this._rejectPromises(z,M)}else{var F=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,F,I),this._fulfillPromises(z,F)}this._setLength(0)}this._clearCancellationData()},D.prototype._settledValue=function(){var I=this._bitField;if(I&33554432)return this._rejectionHandler0;if(I&16777216)return this._fulfillmentHandler0};function R(I){this.promise._resolveCallback(I)}function N(I){this.promise._rejectCallback(I,!1)}D.defer=D.pending=function(){E.deprecated("Promise.defer","new Promise");var I=new D(v);return{promise:I,resolve:R,reject:N}},o.notEnumerableProp(D,"_makeSelfResolutionError",t),Ale()(D,v,g,r,E),kle()(D,v,g,E),Tle()(D,x,r,E),Ple()(D),Lle()(D),Rle()(D,x,g,v,d,c),D.Promise=D,D.version="3.4.7",Ole()(D,x,r,g,v,E),Ile()(D),Ule()(D,r,g,_,v,E),Fle()(D,v,E),Mle()(D,r,v,g,i,E),qle()(D),Ble()(D,v),zle()(D,x,g,r),$le()(D,v,g,r),Wle()(D,x,r,g,v,E),Vle()(D,x,E),Hle()(D,x,r),Gle()(D,v),Xle()(D,v),Kle()(D),o.toFastProperties(D),o.toFastProperties(D.prototype);function q(I){var z=new D(v);z._fulfillmentHandler0=I,z._rejectionHandler0=I,z._promise0=I,z._receiver0=I}return q({a:1}),q({b:2}),q({c:3}),q(1),q(function(){}),q(void 0),q(!1),q(new D(v)),E.setBounds(u.firstLineError,o.lastLineError),D}})(pB);var Yle=pB.exports,Qle=Ya,hi=Yle();ka.defer=Zle;ka.when=hi.resolve;ka.resolve=hi.resolve;ka.all=hi.all;ka.props=hi.props;ka.reject=hi.reject;ka.promisify=hi.promisify;ka.mapSeries=hi.mapSeries;ka.attempt=hi.attempt;ka.nfcall=function(e){var t=Array.prototype.slice.call(arguments,1),n=hi.promisify(e);return n.apply(null,t)};hi.prototype.fail=hi.prototype.caught;hi.prototype.also=function(e){return this.then(function(t){var n=Qle.extend({},t,e(t));return hi.props(n)})};function Zle(){var e,t,n=new hi.Promise(function(r,i){e=r,t=i});return{resolve:e,reject:t,promise:n}}var nn={},Jle=Ya,ia=nn.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function eue(e,t){return t=t||{},{type:ia.document,children:e,notes:t.notes||new S2({}),comments:t.comments||[]}}function tue(e,t){t=t||{};var n=t.indent||{};return{type:ia.paragraph,children:e,styleId:t.styleId||null,styleName:t.styleName||null,numbering:t.
845numbering||null,alignment:t.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function nue(e,t){return t=t||{},{type:ia.run,children:e,styleId:t.styleId||null,styleName:t.styleName||null,isBold:!!t.isBold,isUnderline:!!t.isUnderline,isItalic:!!t.isItalic,isStrikethrough:!!t.isStrikethrough,isAllCaps:!!t.isAllCaps,isSmallCaps:!!t.isSmallCaps,verticalAlignment:t.verticalAlignment||hB.baseline,font:t.font||null,fontSize:t.fontSize||null,highlight:t.highlight||null}}var hB={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function rue(e){return{type:ia.text,value:e}}function aue(){return{type:ia.tab}}function iue(e){return{type:ia.checkbox,checked:e.checked}}function sue(e,t){return{type:ia.hyperlink,children:e,href:t.href,anchor:t.anchor,targetFrame:t.targetFrame}}function oue(e){return{type:ia.noteReference,noteType:e.noteType,noteId:e.noteId}}function S2(e){this._notes=Jle.indexBy(e,function(t){return mB(t.noteType,t.noteId)})}S2.prototype.resolve=function(e){return this.findNoteByKey(mB(e.noteType,e.noteId))};S2.prototype.findNoteByKey=function(e){return this._notes[e]||null};
845function cue(e){return{type:ia.note,noteType:e.noteType,noteId:e.noteId,body:e.body}}function lue(e){return{type:ia.commentReference,commentId:e.commentId}}function uue(e){return{type:ia.comment,commentId:e.commentId,body:e.body,authorName:e.authorName,authorInitials:e.authorInitials}}function mB(e,t){return e+"-"+t}function due(e){return{type:ia.image,read:function(t){return t?e.readImage(t):e.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return e.readImage()},readAsBase64String:function(){return e.readImage("base64")},readAsBuffer:function(){return e.readImage().then(function(t){return Buffer.from(t)})},altText:e.altText,contentType:e.contentType}}function pue(e,t){return t=t||{},{type:ia.table,children:e,styleId:t.styleId||null,styleName:t.styleName||null}}function fue(e,t){return t=t||{},{type:ia.tableRow,children:e,isHeader:t.isHeader||!1}}function hue(e,t){return t=t||{},{type:ia.tableCell,children:e,colSpan:t.colSpan==null?1:t.colSpan,rowSpan:t.rowSpan==null?1:t.rowSpan}}function jS(e){return{type:ia.break,breakType:e}}function mue(e){return{type:ia.bookmarkStart,name:e.name}}nn.document=nn.Document=eue;nn.paragraph=nn.Paragraph=tue;nn.run=nn.Run=nue;nn.text=nn.Text=rue;nn.tab=nn.Tab=aue;nn.checkbox=nn.Checkbox=iue;nn.Hyperlink=sue;nn.noteReference=nn.NoteReference=oue;nn.Notes=S2;nn.Note=cue;nn.commentReference=lue;nn.comment=uue;nn.Image=due;nn.Table=pue;nn.TableRow=fue;nn.TableCell=hue;nn.lineBreak=jS("line");nn.pageBreak=jS("page");nn.columnBreak=jS("column");nn.BookmarkStart=mue;nn.verticalAlignment=hB;var Zo={},Nx=Ya;Zo.Result=Ko;Zo.success=gue;Zo.warning=xue;Zo.error=yue;function Ko(e,t){this.value=e,this.messages=t||[]}Ko.prototype.map=function(e){return new Ko(e(this.value),this.messages)};Ko.prototype.flatMap=function(e){var t=e(this.value);return new Ko(t.value,_S([this,t]))};Ko.prototype.flatMapThen=function(e){var t=this;return e(this.value).then(function(n){return new Ko(n.value,_S([t,n]))})};Ko.combine=function(e){var t=Nx.flatten(Nx.pluck(e,"value")),n=_S(e);return new Ko(t,n)};function gue(e){return new Ko(e,[])}function xue(e){return{type:"warning",message:e}}function yue(e){return{type:"error",message:e.message,error:e}}function _S(e){var t=[];return Nx.flatten(Nx.pluck(e,"messages"),!0).forEach(function(n){vue(t,n)||t.push(n)}),t}function vue(e,t){return Nx.find(e,bue.bind(null,t))!==void 0}function bue(e,t){return e.type===t.type&&e.message===t.message}var wy={},D2={};D2.byteLength=_ue;D2.toByteArray=Cue;D2.fromByteArray=Due;var Io=[],ls=[],wue=typeof Uint8Array<"u"?Uint8Array:Array,Lj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Vp=0,jue=Lj.length;Vp<jue;++Vp)Io[Vp]=Lj[Vp],ls[Lj.charCodeAt(Vp)]=Vp;ls[45]=62;ls[95]=63;function gB(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function _ue(e){var t=gB(e),n=t[0],r=t[1];return(n+r)*3/4-r}function Nue(e,t,n){return(t+n)*3/4-n}function Cue(e){var t,n=gB(e),r=n[0],i=n[1],s=new wue(Nue(e,r,i)),o=0,c=i>0?r-4:r,l;for(l=0;l<c;l+=4)t=ls[e.charCodeAt(l)]<<18|ls[e.charCodeAt(l+1)]<<12|ls[e.charCodeAt(l+2)]<<6|ls[e.charCodeAt(l+3)],s[o++]=t>>16&255,s[o++]=t>>8&255,s[o++]=t&255;return i===2&&(t=ls[e.charCodeAt(l)]<<2|ls[e.charCodeAt(l+1)]>>4,s[o++]=t&255),i===1&&(t=ls[e.charCodeAt(l)]<<10|ls[e.charCodeAt(l+1)]<<4|ls[e.charCodeAt(l+2)]>>2,s[o++]=t>>8&255,s[o++]=t&255),s}function Eue(e){return Io[e>>18&63]+Io[e>>12&63]+Io[e>>6&63]+Io[e&63]}function Sue(e,t,n){for(var r,i=[],s=t;s<n;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(e[s+2]&255),i.push(Eue(r));return i.join("")}function Due(e){for(var t,n=e.length,r=n%3,i=[],s=16383,o=0,c=n-r;o<c;o+=s)i.push(Sue(e,o,o+s>c?c:o+s));return r===1?(t=e[n-1],i.push(Io[t>>2]+Io[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Io[t>>10]+Io[t>>4&63]+Io[t<<2&63]+"=")),i.join("")}function nb(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}
vendor: 4,793 bytes, lines 845-855
845var xB={exports:{}};/*! 846 847JSZip v3.10.1 - A JavaScript class for generating and reading zip files 848<http://stuartk.com/jszip> 849 850(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> 851Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. 852 853JSZip uses the library pako released under the MIT license : 854https://github.com/nodeca/pako/blob/main/LICENSE 855*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,i,s){function o(u,d){if(!i[u]){if(!r[u]){var p=typeof nb=="function"&&nb;if(!d&&p)return p(u,!0);if(c)return c(u,!0);var h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h}var f=i[u]={exports:{}};r[u][0].call(f.exports,function(v){var m=r[u][1][v];return o(m||v)},f,f.exports,n,r,i,s)}return i[u].exports}for(var c=typeof nb=="function"&&nb,l=0;l<s.length;l++)o(s[l]);return o}({1:[function(n,r,i){var s=n("./utils"),o=n("./support"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(l){for(var u,d,p,h,f,v,m,y=[],g=0,x=l.length,b=x,_=s.getTypeOf(l)!=="string";g<l.length;)b=x-g,p=_?(u=l[g++],d=g<x?l[g++]:0,g<x?l[g++]:0):(u=l.charCodeAt(g++),d=g<x?l.charCodeAt(g++):0,g<x?l.charCodeAt(g++):0),h=u>>2,f=(3&u)<<4|d>>4,v=1<b?(15&d)<<2|p>>6:64,m=2<b?63&p:64,y.push(c.charAt(h)+c.charAt(f)+c.charAt(v)+c.charAt(m));return y.join("")},i.decode=function(l){var u,d,p,h,f,v,m=0,y=0,g="data:";if(l.substr(0,g.length)===g)throw new Error("Invalid base64 input, it looks like a data url.");var x,b=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===c.charAt(64)&&b--,l.charAt(l.length-2)===c.charAt(64)&&b--,b%1!=0)throw new Error("Invalid base64 input, bad content length.");for(x=o.uint8array?new Uint8Array(0|b):new Array(0|b);m<l.length;)u=c.indexOf(l.charAt(m++))<<2|(h=c.indexOf(l.charAt(m++)))>>4,d=(15&h)<<4|(f=c.indexOf(l.charAt(m++)))>>2,p=(3&f)<<6|(v=c.indexOf(l.charAt(m++))),x[y++]=u,f!==64&&(x[y++]=d),v!==64&&(x[y++]=p);return x}},{"./support":30,"./utils":32}],2:[function(n,r,i){var s=n("./external"),o=n("./stream/DataWorker"),c=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function u(d,p,h,f,v){this.compressedSize=d,this.uncompressedSize=p,this.crc32=h,this.compression=f,this.compressedContent=v}u.prototype={getContentWorker:function(){var d=new o(s.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),p=this;return d.on("end",function(){if(this.streamInfo.data_length!==p.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new o(s.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(d,p,h){return d.pipe(new c).pipe(new l("uncompressedSize")).pipe(p.compressWorker(h)).pipe(new l("compressedSize")).withStreamInfo("compression",p)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var s=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new s("STORE compression")},uncompressWorker:function(){return new s("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var s=n("./utils"),o=function(){for(var c,l=[],u=0;u<256;u++){c=u;for(var d=0;d<8;d++)c=1&c?3988292384^c>>>1:c>>>1;l[u]=c}return l}();r.exports=function(c,l){return c!==void 0&&c.length?s.getTypeOf(c)!=="string"?function(u,d,p,h){var f=o,v=h+p;u^=-1;for(var m=h;m<v;m++)u=u>>>8^f[255&(u^d[m])];return-1^u}(0|l,c,c.length,0):function(u,d,p,h){var f=o,v=h+p;u^=-1;for(var m=h;m<v;m++)u=u>>>8^f[255&(u^d.charCodeAt(m))];return-1^u}(0|l,c,c.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var s=null;s=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:s}},{lie:37}],7:[function(n,r,i){var s=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=n("pako"),c=n("./utils"),l=n("./stream/GenericWorker"),u=s?"uint8array":"array";function d(p,h){l.call(this,"FlateWorker/"+p),this._pako=null,this._pakoAction=p,this._pakoOptions=h,this.meta={}}i.magic="\b\0",c.inherits(d,l),d.prototype.processChunk=function(p){this.meta=p.meta,this._pako===null&&this._createPako(),this._pako.push(c.transformTo(u,p.data),!1)},d.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)}
vendor: 4,906 bytes, lines 855-856
855,d.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var p=this;this._pako.onData=function(h){p.push({data:h,meta:p.meta})}},i.compressWorker=function(p){return new d("Deflate",p)},i.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function s(f,v){var m,y="";for(m=0;m<v;m++)y+=String.fromCharCode(255&f),f>>>=8;return y}function o(f,v,m,y,g,x){var b,_,E=f.file,T=f.compression,A=x!==u.utf8encode,w=c.transformTo("string",x(E.name)),S=c.transformTo("string",u.utf8encode(E.name)),k=E.comment,P=c.transformTo("string",x(k)),D=c.transformTo("string",u.utf8encode(k)),R=S.length!==E.name.length,N=D.length!==k.length,q="",I="",z="",M=E.dir,F=E.date,H={crc32:0,compressedSize:0,uncompressedSize:0};v&&!m||(H.crc32=f.crc32,H.compressedSize=f.compressedSize,H.uncompressedSize=f.uncompressedSize);var V=0;v&&(V|=8),A||!R&&!N||(V|=2048);var O=0,$=0;M&&(O|=16),g==="UNIX"?($=798,O|=function(Y,ee){var re=Y;return Y||(re=ee?16893:33204),(65535&re)<<16}(E.unixPermissions,M)):($=20,O|=function(Y){return 63&(Y||0)}(E.dosPermissions)),b=F.getUTCHours(),b<<=6,b|=F.getUTCMinutes(),b<<=5,b|=F.getUTCSeconds()/2,_=F.getUTCFullYear()-1980,_<<=4,_|=F.getUTCMonth()+1,_<<=5,_|=F.getUTCDate(),R&&(I=s(1,1)+s(d(w),4)+S,q+="up"+s(I.length,2)+I),N&&(z=s(1,1)+s(d(P),4)+D,q+="uc"+s(z.length,2)+z);var K="";return K+=` 856\0`,K+=s(V,2),K+=T.magic,K+=s(b,2),K+=s(_,2),K+=s(H.crc32,4),K+=s(H.compressedSize,4),K+=s(H.uncompressedSize,4),K+=s(w.length,2),K+=s(q.length,2),{fileRecord:p.LOCAL_FILE_HEADER+K+w+q,dirRecord:p.CENTRAL_FILE_HEADER+s($,2)+K+s(P.length,2)+"\0\0\0\0"+s(O,4)+s(y,4)+w+q+P}}var c=n("../utils"),l=n("../stream/GenericWorker"),u=n("../utf8"),d=n("../crc32"),p=n("../signature");function h(f,v,m,y){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=v,this.zipPlatform=m,this.encodeFileName=y,this.streamFiles=f,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}c.inherits(h,l),h.prototype.push=function(f){var v=f.meta.percent||0,m=this.entriesCount,y=this._sources.length;this.accumulate?this.contentBuffer.push(f):(this.bytesWritten+=f.data.length,l.prototype.push.call(this,{data:f.data,meta:{currentFile:this.currentFile,percent:m?(v+100*(m-y-1))/m:100}}))},h.prototype.openedSource=function(f){this.currentSourceOffset=this.bytesWritten,this.currentFile=f.file.name;var v=this.streamFiles&&!f.file.dir;if(v){var m=o(f,v,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(f){this.accumulate=!1;var v=this.streamFiles&&!f.file.dir,m=o(f,v,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),v)this.push({data:function(y){return p.DATA_DESCRIPTOR+s(y.crc32,4)+s(y.compressedSize,4)+s(y.uncompressedSize,4)}(f),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var f=this.bytesWritten,v=0;v<this.dirRecords.length;v++)this.push({data:this.dirRecords[v],meta:{percent:100}});var m=this.bytesWritten-f,y=function(g,x,b,_,E){var T=c.transformTo("string",E(_));return p.CENTRAL_DIRECTORY_END+"\0\0\0\0"+s(g,2)+s(g,2)+s(x,4)+s(b,4)+s(T.length,2)+T}(this.dirRecords.length,m,f,this.zipComment,this.encodeFileName);this.push({data:y,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(f){this._sources.push(f);var v=this;return f.on("data",function(m){v.processChunk(m)}),f.on("end",function(){v.closedSource(v.previous.streamInfo),v._sources.length?v.prepareNextSource():v.end()}),f.on("error",function(m){v.error(m)}),this},h.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(f){var v=this._sources;if(!l.prototype.error.call(this,f))return!1;for(var m=0;m<v.length;m++)try{v[m].error(f)}catch{}return!0},h.prototype.lock=function(){l.prototype.lock.call(this);for(var f=this._sources,v=0;v<f.length;v++)f[v].lock()},r.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var s=n("../compressions"),o=n("./ZipFileWorker");i.generateWorker=function(c,l,u){var d=new o(l.streamFiles,u,l.platform,l.encodeFileName),p=0;
vendor: 24,410 bytes, line 856
856try{c.forEach(function(h,f){p++;var v=function(x,b){var _=x||b,E=s[_];if(!E)throw new Error(_+" is not a valid compression method !");return E}(f.options.compression,l.compression),m=f.options.compressionOptions||l.compressionOptions||{},y=f.dir,g=f.date;f._compressWorker(v,m).withStreamInfo("file",{name:h,dir:y,date:g,comment:f.comment||"",unixPermissions:f.unixPermissions,dosPermissions:f.dosPermissions}).pipe(d)}),d.entriesCount=p}catch(h){d.error(h)}return d}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function s(){if(!(this instanceof s))return new s;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new s;for(var c in this)typeof this[c]!="function"&&(o[c]=this[c]);return o}}(s.prototype=n("./object")).loadAsync=n("./load"),s.support=n("./support"),s.defaults=n("./defaults"),s.version="3.10.1",s.loadAsync=function(o,c){return new s().loadAsync(o,c)},s.external=n("./external"),r.exports=s},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var s=n("./utils"),o=n("./external"),c=n("./utf8"),l=n("./zipEntries"),u=n("./stream/Crc32Probe"),d=n("./nodejsUtils");function p(h){return new o.Promise(function(f,v){var m=h.decompressed.getContentWorker().pipe(new u);m.on("error",function(y){v(y)}).on("end",function(){m.streamInfo.crc32!==h.decompressed.crc32?v(new Error("Corrupted zip : CRC32 mismatch")):f()}).resume()})}r.exports=function(h,f){var v=this;return f=s.extend(f||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:c.utf8decode}),d.isNode&&d.isStream(h)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):s.prepareContent("the loaded zip file",h,!0,f.optimizedBinaryString,f.base64).then(function(m){var y=new l(f);return y.load(m),y}).then(function(m){var y=[o.Promise.resolve(m)],g=m.files;if(f.checkCRC32)for(var x=0;x<g.length;x++)y.push(p(g[x]));return o.Promise.all(y)}).then(function(m){for(var y=m.shift(),g=y.files,x=0;x<g.length;x++){var b=g[x],_=b.fileNameStr,E=s.resolve(b.fileNameStr);v.file(E,b.decompressed,{binary:!0,optimizedBinaryString:!0,date:b.date,dir:b.dir,comment:b.fileCommentStr.length?b.fileCommentStr:null,unixPermissions:b.unixPermissions,dosPermissions:b.dosPermissions,createFolders:f.createFolders}),b.dir||(v.file(E).unsafeOriginalName=_)}return y.zipComment.length&&(v.comment=y.zipComment),v})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var s=n("../utils"),o=n("../stream/GenericWorker");function c(l,u){o.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(u)}s.inherits(c,o),c.prototype._bindStream=function(l){var u=this;(this._stream=l).pause(),l.on("data",function(d){u.push({data:d,meta:{percent:0}})}).on("error",function(d){u.isPaused?this.generatedError=d:u.error(d)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},c.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},c.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=c},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var s=n("readable-stream").Readable;function o(c,l,u){s.call(this,l),this._helper=c;var d=this;c.on("data",function(p,h){d.push(p)||d._helper.pause(),u&&u(h)}).on("error",function(p){d.emit("error",p)}).on("end",function(){d.push(null)})}n("../utils").inherits(o,s),o.prototype._read=function(){this._helper.resume()},r.exports=o},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(s,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(s,o);if(typeof s=="number")throw new Error('The "data" argument must not be a number');return new Buffer(s,o)},allocBuffer:function(s){if(Buffer.alloc)return Buffer.alloc(s);var o=new Buffer(s);return o.fill(0),o},isBuffer:function(s){return Buffer.isBuffer(s)},isStream:function(s){return s&&typeof s.on=="function"&&typeof s.pause=="function"&&typeof s.resume=="function"}}},{}],15:[function(n,r,i){function s(E,T,A){var w,S=c.getTypeOf(T),k=c.extend(A||{},d);k.date=k.date||new Date,k.compression!==null&&(k.compression=k.compression.toUpperCase()),typeof k.unixPermissions=="string"&&(k.unixPermissions=parseInt(k.unixPermissions,8)),k.unixPermissions&&16384&k.unixPermissions&&(k.dir=!0),k.dosPermissions&&16&k.dosPermissions&&(k.dir=!0),k.dir&&(E=g(E)),k.createFolders&&(w=y(E))&&x.call(this,w,!0);var P=S==="string"&&k.binary===!1&&k.base64===!1;A&&A.binary!==void 0||(k.binary=!P),(T instanceof p&&T.uncompressedSize===0||k.dir||!T||T.length===0)&&(k.base64=!1,k.binary=!0,T="",k.compression="STORE",S="string");var D=null;D=T instanceof p||T instanceof l?T:v.isNode&&v.isStream(T)?new m(E,T):c.prepareContent(E,T,k.binary,k.optimizedBinaryString,k.base64);var R=new h(E,D,k);this.files[E]=R}var o=n("./utf8"),c=n("./utils"),l=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),d=n("./defaults"),p=n("./compressedObject"),h=n("./zipObject"),f=n("./generate"),v=n("./nodejsUtils"),m=n("./nodejs/NodejsStreamInputAdapter"),y=function(E){E.slice(-1)==="/"&&(E=E.substring(0,E.length-1));var T=E.lastIndexOf("/");return 0<T?E.substring(0,T):""},g=function(E){return E.slice(-1)!=="/"&&(E+="/"),E},x=function(E,T){return T=T!==void 0?T:d.createFolders,E=g(E),this.files[E]||s.call(this,E,null,{dir:!0,createFolders:T}),this.files[E]};function b(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var _={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(E){var T,A,w;for(T in this.files)w=this.files[T],(A=T.slice(this.root.length,T.length))&&T.slice(0,this.root.length)===this.root&&E(A,w)},filter:function(E){var T=[];return this.forEach(function(A,w){E(A,w)&&T.push(w)}),T},file:function(E,T,A){if(arguments.length!==1)return E=this.root+E,s.call(this,E,T,A),this;if(b(E)){var w=E;return this.filter(function(k,P){return!P.dir&&w.test(k)})}var S=this.files[this.root+E];return S&&!S.dir?S:null},folder:function(E){if(!E)return this;if(b(E))return this.filter(function(S,k){return k.dir&&E.test(S)});var T=this.root+E,A=x.call(this,T),w=this.clone();return w.root=A.name,w},remove:function(E){E=this.root+E;var T=this.files[E];if(T||(E.slice(-1)!=="/"&&(E+="/"),T=this.files[E]),T&&!T.dir)delete this.files[E];else for(var A=this.filter(function(S,k){return k.name.slice(0,E.length)===E}),w=0;w<A.length;w++)delete this.files[A[w].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(E){var T,A={};try{if((A=c.extend(E||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=A.type.toLowerCase(),A.compression=A.compression.toUpperCase(),A.type==="binarystring"&&(A.type="string"),!A.type)throw new Error("No output type specified.");c.checkSupport(A.type),A.platform!=="darwin"&&A.platform!=="freebsd"&&A.platform!=="linux"&&A.platform!=="sunos"||(A.platform="UNIX"),A.platform==="win32"&&(A.platform="DOS");var w=A.comment||this.comment||"";T=f.generateWorker(this,A,w)}catch(S){(T=new l("error")).error(S)}return new u(T,A.type||"string",A.mimeType)},generateAsync:function(E,T){return this.generateInternalStream(E).accumulate(T)},generateNodeStream:function(E,T){return(E=E||{}).type||(E.type="nodebuffer"),this.generateInternalStream(E).toNodejsStream(T)}};r.exports=_},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var s=n("./DataReader");function o(c){s.call(this,c);for(var l=0;l<this.data.length;l++)c[l]=255&c[l]}n("../utils").inherits(o,s),o.prototype.byteAt=function(c){return this.data[this.zero+c]},o.prototype.lastIndexOfSignature=function(c){for(var l=c.charCodeAt(0),u=c.charCodeAt(1),d=c.charCodeAt(2),p=c.charCodeAt(3),h=this.length-4;0<=h;--h)if(this.data[h]===l&&this.data[h+1]===u&&this.data[h+2]===d&&this.data[h+3]===p)return h-this.zero;return-1},o.prototype.readAndCheckSignature=function(c){var l=c.charCodeAt(0),u=c.charCodeAt(1),d=c.charCodeAt(2),p=c.charCodeAt(3),h=this.readData(4);return l===h[0]&&u===h[1]&&d===h[2]&&p===h[3]},o.prototype.readData=function(c){if(this.checkOffset(c),c===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,l},r.exports=o},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var s=n("../utils");function o(c){this.data=c,this.length=c.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(c){this.checkIndex(this.index+c)},checkIndex:function(c){if(this.length<this.zero+c||c<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+c+"). Corrupted zip ?")},setIndex:function(c){this.checkIndex(c),this.index=c},skip:function(c){this.setIndex(this.index+c)},byteAt:function(){},readInt:function(c){var l,u=0;for(this.checkOffset(c),l=this.index+c-1;l>=this.index;l--)u=(u<<8)+this.byteAt(l);return this.index+=c,u},readString:function(c){return s.transformTo("string",this.readData(c))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var c=this.readInt(4);return new Date(Date.UTC(1980+(c>>25&127),(c>>21&15)-1,c>>16&31,c>>11&31,c>>5&63,(31&c)<<1))}},r.exports=o},{"../utils":32}],19:[function(n,r,i){var s=n("./Uint8ArrayReader");function o(c){s.call(this,c)}n("../utils").inherits(o,s),o.prototype.readData=function(c){this.checkOffset(c);var l=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,l},r.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var s=n("./DataReader");function o(c){s.call(this,c)}n("../utils").inherits(o,s),o.prototype.byteAt=function(c){return this.data.charCodeAt(this.zero+c)},o.prototype.lastIndexOfSignature=function(c){return this.data.lastIndexOf(c)-this.zero},o.prototype.readAndCheckSignature=function(c){return c===this.readData(4)},o.prototype.readData=function(c){this.checkOffset(c);var l=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,l},r.exports=o},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var s=n("./ArrayReader");function o(c){s.call(this,c)}n("../utils").inherits(o,s),o.prototype.readData=function(c){if(this.checkOffset(c),c===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+c);return this.index+=c,l},r.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var s=n("../utils"),o=n("../support"),c=n("./ArrayReader"),l=n("./StringReader"),u=n("./NodeBufferReader"),d=n("./Uint8ArrayReader");r.exports=function(p){var h=s.getTypeOf(p);return s.checkSupport(h),h!=="string"||o.uint8array?h==="nodebuffer"?new u(p):o.uint8array?new d(s.transformTo("uint8array",p)):new c(s.transformTo("array",p)):new l(p)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK��",i.CENTRAL_FILE_HEADER="PK��",i.CENTRAL_DIRECTORY_END="PK��",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK��",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var s=n("./GenericWorker"),o=n("../utils");function c(l){s.call(this,"ConvertWorker to "+l),this.destType=l}o.inherits(c,s),c.prototype.processChunk=function(l){this.push({data:o.transformTo(this.destType,l.data),meta:l.meta})},r.exports=c},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var s=n("./GenericWorker"),o=n("../crc32");function c(){s.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(c,s),c.prototype.processChunk=function(l){this.streamInfo.crc32=o(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=c},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var s=n("../utils"),o=n("./GenericWorker");function c(l){o.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}s.inherits(c,o),c.prototype.processChunk=function(l){if(l){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+l.data.length}o.prototype.processChunk.call(this,l)},r.exports=c},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var s=n("../utils"),o=n("./GenericWorker");function c(l){o.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(d){u.dataIsReady=!0,u.data=d,u.max=d&&d.length||0,u.type=s.getTypeOf(d),u.isPaused||u._tickAndRepeat()},function(d){u.error(d)})}s.inherits(c,o),c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},c.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,s.delay(this._tickAndRepeat,[],this)),!0)},c.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(s.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},c.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,u);break;case"uint8array":l=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":l=this.data.slice(this.index,u)}return this.index=u,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=c},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function s(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}s.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,c){return this._listeners[o].push(c),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,c){if(this._listeners[o])for(var l=0;l<this._listeners[o].length;l++)this._listeners[o][l].call(this,c)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var c=this;return o.on("data",function(l){c.processChunk(l)}),o.on("end",function(){c.end()}),o.on("error",function(l){c.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,c){return this.extraStreamInfo[o]=c,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},r.exports=s},{}],29:[function(n,r,i){var s=n("../utils"),o=n("./ConvertWorker"),c=n("./GenericWorker"),l=n("../base64"),u=n("../support"),d=n("../external"),p=null;if(u.nodestream)try{p=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function h(v,m){return new d.Promise(function(y,g){var x=[],b=v._internalType,_=v._outputType,E=v._mimeType;v.on("data",function(T,A){x.push(T),m&&m(A)}).on("error",function(T){x=[],g(T)}).on("end",function(){try{var T=function(A,w,S){switch(A){case"blob":return s.newBlob(s.transformTo("arraybuffer",w),S);case"base64":return l.encode(w);default:return s.transformTo(A,w)}}(_,function(A,w){var S,k=0,P=null,D=0;for(S=0;S<w.length;S++)D+=w[S].length;switch(A){case"string":return w.join("");case"array":return Array.prototype.concat.apply([],w);case"uint8array":for(P=new Uint8Array(D),S=0;S<w.length;S++)P.set(w[S],k),k+=w[S].length;return P;case"nodebuffer":return Buffer.concat(w);default:throw new Error("concat : unsupported type '"+A+"'")}}(b,x),E);y(T)}catch(A){g(A)}x=[]}).resume()})}function f(v,m,y){var g=m;switch(m){case"blob":case"arraybuffer":g="uint8array";break;case"base64":g="string"}try{this._internalType=g,this._outputType=m,this._mimeType=y,s.checkSupport(g),this._worker=v.pipe(new o(g)),v.lock()}catch(x){this._worker=new c("error"),this._worker.error(x)}}f.prototype={accumulate:function(v){return h(this,v)},on:function(v,m){var y=this;return v==="data"?this._worker.on(v,function(g){m.call(y,g.data,g.meta)}):this._worker.on(v,function(){s.delay(m,arguments,y)}),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(v){if(s.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new p(this,{objectMode:this._outputType!=="nodebuffer"},v)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var s=new ArrayBuffer(0);try{i.blob=new Blob([s],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(s),i.blob=o.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var s=n("./utils"),o=n("./support"),c=n("./nodejsUtils"),l=n("./stream/GenericWorker"),u=new Array(256),d=0;d<256;d++)u[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;u[254]=u[254]=1;function p(){l.call(this,"utf-8 decode"),this.leftOver=null}function h(){l.call(this,"utf-8 encode")}i.utf8encode=function(f){return o.nodebuffer?c.newBufferFrom(f,"utf-8"):function(v){var m,y,g,x,b,_=v.length,E=0;for(x=0;x<_;x++)(64512&(y=v.charCodeAt(x)))==55296&&x+1<_&&(64512&(g=v.charCodeAt(x+1)))==56320&&(y=65536+(y-55296<<10)+(g-56320),x++),E+=y<128?1:y<2048?2:y<65536?3:4;for(m=o.uint8array?new Uint8Array(E):new Array(E),x=b=0;b<E;x++)(64512&(y=v.charCodeAt(x)))==55296&&x+1<_&&(64512&(g=v.charCodeAt(x+1)))==56320&&(y=65536+(y-55296<<10)+(g-56320),x++),y<128?m[b++]=y:(y<2048?m[b++]=192|y>>>6:(y<65536?m[b++]=224|y>>>12:(m[b++]=240|y>>>18,m[b++]=128|y>>>12&63),m[b++]=128|y>>>6&63),m[b++]=128|63&y);return m}(f)},i.utf8decode=function(f){return o.nodebuffer?s.transformTo("nodebuffer",f).toString("utf-8"):function(v){var m,y,g,x,b=v.length,_=new Array(2*b);for(m=y=0;m<b;)if((g=v[m++])<128)_[y++]=g;else if(4<(x=u[g]))_[y++]=65533,m+=x-1;else{for(g&=x===2?31:x===3?15:7;1<x&&m<b;)g=g<<6|63&v[m++],x--;1<x?_[y++]=65533:g<65536?_[y++]=g:(g-=65536,_[y++]=55296|g>>10&1023,_[y++]=56320|1023&g)}return _.length!==y&&(_.subarray?_=_.subarray(0,y):_.length=y),s.applyFromCharCode(_)}(f=s.transformTo(o.uint8array?"uint8array":"array",f))},s.inherits(p,l),p.prototype.processChunk=function(f){var v=s.transformTo(o.uint8array?"uint8array":"array",f.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var m=v;(v=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),v.set(m,this.leftOver.length)}else v=this.leftOver.concat(v);this.leftOver=null}var y=function(x,b){var _;for((b=b||x.length)>x.length&&(b=x.length),_=b-1;0<=_&&(192&x[_])==128;)_--;return _<0||_===0?b:_+u[x[_]]>b?_:b}(v),g=v;y!==v.length&&(o.uint8array?(g=v.subarray(0,y),this.leftOver=v.subarray(y,v.length)):(g=v.slice(0,y),this.leftOver=v.slice(y,v.length))),this.push({data:i.utf8decode(g),meta:f.meta})},p.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=p,s.inherits(h,l),h.prototype.processChunk=function(f){this.push({data:i.utf8encode(f.data),meta:f.meta})},i.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var s=n("./support"),o=n("./base64"),c=n("./nodejsUtils"),l=n("./external");function u(m){return m}function d(m,y){for(var g=0;g<m.length;++g)y[g]=255&m.charCodeAt(g);return y}n("setimmediate"),i.newBlob=function(m,y){i.checkSupport("blob");try{return new Blob([m],{type:y})}catch{try{var g=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return g.append(m),g.getBlob(y)}catch{throw new Error("Bug : can't construct the Blob.")}}};var p={stringifyByChunk:function(m,y,g){var x=[],b=0,_=m.length;if(_<=g)return String.fromCharCode.apply(null,m);for(;b<_;)y==="array"||y==="nodebuffer"?x.push(String.fromCharCode.apply(null,m.slice(b,Math.min(b+g,_)))):x.push(String.fromCharCode.apply(null,m.subarray(b,Math.min(b+g,_)))),b+=g;return x.join("")},stringifyByChar:function(m){for(var y="",g=0;g<m.length;g++)y+=String.fromCharCode(m[g]);return y},applyCanBeUsed:{uint8array:function(){try{return s.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return s.nodebuffer&&String.fromCharCode.apply(null,c.allocBuffer(1)).length===1}catch{return!1}}()}};function h(m){var y=65536,g=i.getTypeOf(m),x=!0;if(g==="uint8array"?x=p.applyCanBeUsed.uint8array:g==="nodebuffer"&&(x=p.applyCanBeUsed.nodebuffer),x)for(;1<y;)try{return p.stringifyByChunk(m,g,y)}catch{y=Math.floor(y/2)}return p.stringifyByChar(m)}function f(m,y){for(var g=0;g<m.length;g++)y[g]=m[g];return y}i.applyFromCharCode=h;var v={};v.string={string:u,array:function(m){return d(m,new Array(m.length))},arraybuffer:function(m){return v.string.uint8array(m).buffer},uint8array:function(m){return d(m,new Uint8Array(m.length))},nodebuffer:function(m){return d(m,c.allocBuffer(m.length))}},v.array={string:h,array:u,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return c.newBufferFrom(m)}},v.arraybuffer={string:function(m){return h(new Uint8Array(m))},array:function(m){return f(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:u,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return c.newBufferFrom(new Uint8Array(m))}},v.uint8array={string:h,array:function(m){return f(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:u,nodebuffer:function(m){return c.newBufferFrom(m)}},v.nodebuffer={string:h,array:function(m){return f(m,new Array(m.length))},arraybuffer:function(m){return v.nodebuffer.uint8array(m).buffer},uint8array:function(m){return f(m,new Uint8Array(m.length))},nodebuffer:u},i.transformTo=function(m,y){if(y=y||"",!m)return y;i.checkSupport(m);var g=i.getTypeOf(y);return v[g][m](y)},i.resolve=function(m){for(var y=m.split("/"),g=[],x=0;x<y.length;x++){var b=y[x];b==="."||b===""&&x!==0&&x!==y.length-1||(b===".."?g.pop():g.push(b))}return g.join("/")},i.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":s.nodebuffer&&c.isBuffer(m)?"
856nodebuffer":s.uint8array&&m instanceof Uint8Array?"uint8array":s.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(m){if(!s[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(m){var y,g,x="";for(g=0;g<(m||"").length;g++)x+="\\x"+((y=m.charCodeAt(g))<16?"0":"")+y.toString(16).toUpperCase();return x},i.delay=function(m,y,g){setImmediate(function(){m.apply(g||null,y||[])})},i.inherits=function(m,y){function g(){}g.prototype=y.prototype,m.prototype=new g},i.extend=function(){var m,y,g={};for(m=0;m<arguments.length;m++)for(y in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],y)&&g[y]===void 0&&(g[y]=arguments[m][y]);return g},i.prepareContent=function(m,y,g,x,b){return l.Promise.resolve(y).then(function(_){return s.blob&&(_ instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(_))!==-1)&&typeof FileReader<"u"?new l.Promise(function(E,T){var A=new FileReader;A.onload=function(w){E(w.target.result)},A.onerror=function(w){T(w.target.error)},A.readAsArrayBuffer(_)}):_}).then(function(_){var E=i.getTypeOf(_);return E?(E==="arraybuffer"?_=i.transformTo("uint8array",_):E==="string"&&(b?_=o.decode(_):g&&x!==!0&&(_=function(T){return d(T,s.uint8array?new Uint8Array(T.length):new Array(T.length))}(_))),_):l.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var s=n("./reader/readerFor"),o=n("./utils"),c=n("./signature"),l=n("./zipEntry"),u=n("./support");function d(p){this.files=[],this.loadOptions=p}d.prototype={checkSignature:function(p){if(!this.reader.readAndCheckSignature(p)){this.reader.index-=4;var h=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(h)+", expected "+o.pretty(p)+")")}},isSignature:function(p,h){var f=this.reader.index;this.reader.setIndex(p);var v=this.reader.readString(4)===h;return this.reader.setIndex(f),v},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var p=this.reader.readData(this.zipCommentLength),h=u.uint8array?"uint8array":"array",f=o.transformTo(h,p);this.zipComment=this.loadOptions.decodeFileName(f)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var p,h,f,v=this.zip64EndOfCentralSize-44;0<v;)p=this.reader.readInt(2),h=this.reader.readInt(4),f=this.reader.readData(h),this.zip64ExtensibleData[p]={id:p,length:h,value:f}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var p,h;for(p=0;p<this.files.length;p++)h=this.files[p],this.reader.setIndex(h.localHeaderOffset),this.checkSignature(c.LOCAL_FILE_HEADER),h.readLocalPart(this.reader),h.handleUTF8(),h.processAttributes()},readCentralDir:function(){var p;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(c.CENTRAL_FILE_HEADER);)(p=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(p);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var p=this.reader.lastIndexOfSignature(c.CENTRAL_DIRECTORY_END);if(p<0)throw this.isSignature(0,c.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
856ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(p);var h=p;if(this.checkSignature(c.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(p=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(p),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,c.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var f=this.centralDirOffset+this.centralDirSize;this.zip64&&(f+=20,f+=12+this.zip64EndOfCentralSize);var v=h-f;if(0<v)this.isSignature(h,c.CENTRAL_FILE_HEADER)||(this.reader.zero=v);else if(v<0)throw new Error("Corrupted zip: missing "+Math.abs(v)+" bytes.")},prepareReader:function(p){this.reader=s(p)},load:function(p){this.prepareReader(p),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=d},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var s=n("./reader/readerFor"),o=n("./utils"),c=n("./compressedObject"),l=n("./crc32"),u=n("./utf8"),d=n("./compressions"),p=n("./support");function h(f,v){this.options=f,this.loadOptions=v}h.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(f){var v,m;if(f.skip(22),this.fileNameLength=f.readInt(2),m=f.readInt(2),this.fileName=f.readData(this.fileNameLength),f.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((v=function(y){for(var g in d)if(Object.prototype.hasOwnProperty.call(d,g)&&d[g].magic===y)return d[g];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new c(this.compressedSize,this.uncompressedSize,this.crc32,v,f.readData(this.compressedSize))},readCentralPart:function(f){this.versionMadeBy=f.readInt(2),f.skip(2),this.bitFlag=f.readInt(2),this.compressionMethod=f.readString(2),this.date=f.readDate(),this.crc32=f.readInt(4),this.compressedSize=f.readInt(4),this.uncompressedSize=f.readInt(4);var v=f.readInt(2);if(this.extraFieldsLength=f.readInt(2),this.fileCommentLength=f.readInt(2),this.diskNumberStart=f.readInt(2),this.internalFileAttributes=f.readInt(2),this.externalFileAttributes=f.readInt(4),this.localHeaderOffset=f.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");f.skip(v),this.readExtraFields(f),this.parseZIP64ExtraField(f),this.fileComment=f.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var f=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),f==0&&(this.dosPermissions=63&this.externalFileAttributes),f==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var f=s(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=f.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=f.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&
vendor: 7,719 bytes, line 856
856(this.localHeaderOffset=f.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=f.readInt(4))}},readExtraFields:function(f){var v,m,y,g=f.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});f.index+4<g;)v=f.readInt(2),m=f.readInt(2),y=f.readData(m),this.extraFields[v]={id:v,length:m,value:y};f.setIndex(g)},handleUTF8:function(){var f=p.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var v=this.findExtraFieldUnicodePath();if(v!==null)this.fileNameStr=v;else{var m=o.transformTo(f,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var y=this.findExtraFieldUnicodeComment();if(y!==null)this.fileCommentStr=y;else{var g=o.transformTo(f,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(g)}}},findExtraFieldUnicodePath:function(){var f=this.extraFields[28789];if(f){var v=s(f.value);return v.readInt(1)!==1||l(this.fileName)!==v.readInt(4)?null:u.utf8decode(v.readData(f.length-5))}return null},findExtraFieldUnicodeComment:function(){var f=this.extraFields[25461];if(f){var v=s(f.value);return v.readInt(1)!==1||l(this.fileComment)!==v.readInt(4)?null:u.utf8decode(v.readData(f.length-5))}return null}},r.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function s(v,m,y){this.name=v,this.dir=y.dir,this.date=y.date,this.comment=y.comment,this.unixPermissions=y.unixPermissions,this.dosPermissions=y.dosPermissions,this._data=m,this._dataBinary=y.binary,this.options={compression:y.compression,compressionOptions:y.compressionOptions}}var o=n("./stream/StreamHelper"),c=n("./stream/DataWorker"),l=n("./utf8"),u=n("./compressedObject"),d=n("./stream/GenericWorker");s.prototype={internalStream:function(v){var m=null,y="string";try{if(!v)throw new Error("No output type specified.");var g=(y=v.toLowerCase())==="string"||y==="text";y!=="binarystring"&&y!=="text"||(y="string"),m=this._decompressWorker();var x=!this._dataBinary;x&&!g&&(m=m.pipe(new l.Utf8EncodeWorker)),!x&&g&&(m=m.pipe(new l.Utf8DecodeWorker))}catch(b){(m=new d("error")).error(b)}return new o(m,y,"")},async:function(v,m){return this.internalStream(v).accumulate(m)},nodeStream:function(v,m){return this.internalStream(v||"nodebuffer").toNodejsStream(m)},_compressWorker:function(v,m){if(this._data instanceof u&&this._data.compression.magic===v.magic)return this._data.getCompressedWorker();var y=this._decompressWorker();return this._dataBinary||(y=y.pipe(new l.Utf8EncodeWorker)),u.createWorkerFrom(y,v,m)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof d?this._data:new c(this._data)}};for(var p=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<p.length;f++)s.prototype[p[f]]=h;r.exports=s},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(s){var o,c,l=s.MutationObserver||s.WebKitMutationObserver;if(l){var u=0,d=new l(v),p=s.document.createTextNode("");d.observe(p,{characterData:!0}),o=function(){p.data=u=++u%2}}else if(s.setImmediate||s.MessageChannel===void 0)o="document"in s&&"onreadystatechange"in s.document.createElement("script")?function(){var m=s.document.createElement("script");m.onreadystatechange=function(){v(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},s.document.documentElement.appendChild(m)}:function(){setTimeout(v,0)};else{var h=new s.MessageChannel;h.port1.onmessage=v,o=function(){h.port2.postMessage(0)}}var f=[];function v(){var m,y;c=!0;for(var g=f.length;g;){for(y=f,f=[],m=-1;++m<g;)y[m]();g=f.length}c=!1}r.exports=function(m){f.push(m)!==1||c||o()}}).call(this,typeof Dt<"u"?Dt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var s=n("immediate");function o(){}var c={},l=["REJECTED"],u=["FULFILLED"],d=["PENDING"];function p(g){if(typeof g!="function")throw new TypeError("resolver must be a function");this.state=d,this.queue=[],this.outcome=void 0,g!==o&&m(this,g)}function h(g,x,b){this.promise=g,typeof x=="function"&&(this.onFulfilled=x,this.callFulfilled=this.otherCallFulfilled),typeof b=="function"&&(this.onRejected=b,this.callRejected=this.otherCallRejected)}function f(g,x,b){s(function(){var _;try{_=x(b)}catch(E){return c.reject(g,E)}_===g?c.reject(g,new TypeError("Cannot resolve promise with itself")):c.resolve(g,_)})}function v(g){var x=g&&g.then;if(g&&(typeof g=="object"||typeof g=="function")&&typeof x=="function")return function(){x.apply(g,arguments)}}function m(g,x){var b=!1;function _(A){b||(b=!0,c.reject(g,A))}function E(A){b||(b=!0,c.resolve(g,A))}var T=y(function(){x(E,_)});T.status==="error"&&_(T.value)}function y(g,x){var b={};try{b.value=g(x),b.status="success"}catch(_){b.status="error",b.value=_}return b}(r.exports=p).prototype.finally=function(g){if(typeof g!="function")return this;var x=this.constructor;return this.then(function(b){return x.resolve(g()).then(function(){return b})},function(b){return x.resolve(g()).then(function(){throw b})})},p.prototype.catch=function(g){return this.then(null,g)},p.prototype.then=function(g,x){if(typeof g!="function"&&this.state===u||typeof x!="function"&&this.state===l)return this;var b=new this.constructor(o);return this.state!==d?f(b,this.state===u?g:x,this.outcome):this.queue.push(new h(b,g,x)),b},h.prototype.callFulfilled=function(g){c.resolve(this.promise,g)},h.prototype.otherCallFulfilled=function(g){f(this.promise,this.onFulfilled,g)},h.prototype.callRejected=function(g){c.reject(this.promise,g)},h.prototype.otherCallRejected=function(g){f(this.promise,this.onRejected,g)},c.resolve=function(g,x){var b=y(v,x);if(b.status==="error")return c.reject(g,b.value);var _=b.value;if(_)m(g,_);else{g.state=u,g.outcome=x;for(var E=-1,T=g.queue.length;++E<T;)g.queue[E].callFulfilled(x)}return g},c.reject=function(g,x){g.state=l,g.outcome=x;for(var b=-1,_=g.queue.length;++b<_;)g.queue[b].callRejected(x);return g},p.resolve=function(g){return g instanceof this?g:c.resolve(new this(o),g)},p.reject=function(g){var x=new this(o);return c.reject(x,g)},p.all=function(g){var x=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=g.length,_=!1;if(!b)return this.resolve([]);for(var E=new Array(b),T=0,A=-1,w=new this(o);++A<b;)S(g[A],A);return w;function S(k,P){x.resolve(k).then(function(D){E[P]=D,++T!==b||_||(_=!0,c.resolve(w,E))},function(D){_||(_=!0,c.reject(w,D))})}},p.race=function(g){var x=this;if(Object.prototype.toString.call(g)!=="[object Array]")return this.reject(new TypeError("must be an array"));var b=g.length,_=!1;if(!b)return this.resolve([]);for(var E=-1,T=new this(o);++E<b;)A=g[E],x.resolve(A).then(function(w){_||(_=!0,c.resolve(T,w))},function(w){_||(_=!0,c.reject(T,w))});var A;return T}},{immediate:36}],38:[function(n,r,i){var s={};(0,n("./lib/utils/common").assign)(s,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=s},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var s=n("./zlib/deflate"),o=n("./utils/common"),c=n("./utils/strings"),l=n("./zlib/messages"),u=n("./zlib/zstream"),d=Object.prototype.toString,p=0,h=-1,f=0,v=8;function m(g){if(!(this instanceof m))return new m(g);this.options=o.assign({level:h,method:v,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},g||{});var x=this.options;
vendor: 4,869 bytes, line 856
856x.raw&&0<x.windowBits?x.windowBits=-x.windowBits:x.gzip&&0<x.windowBits&&x.windowBits<16&&(x.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var b=s.deflateInit2(this.strm,x.level,x.method,x.windowBits,x.memLevel,x.strategy);if(b!==p)throw new Error(l[b]);if(x.header&&s.deflateSetHeader(this.strm,x.header),x.dictionary){var _;if(_=typeof x.dictionary=="string"?c.string2buf(x.dictionary):d.call(x.dictionary)==="[object ArrayBuffer]"?new Uint8Array(x.dictionary):x.dictionary,(b=s.deflateSetDictionary(this.strm,_))!==p)throw new Error(l[b]);this._dict_set=!0}}function y(g,x){var b=new m(x);if(b.push(g,!0),b.err)throw b.msg||l[b.err];return b.result}m.prototype.push=function(g,x){var b,_,E=this.strm,T=this.options.chunkSize;if(this.ended)return!1;_=x===~~x?x:x===!0?4:0,typeof g=="string"?E.input=c.string2buf(g):d.call(g)==="[object ArrayBuffer]"?E.input=new Uint8Array(g):E.input=g,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new o.Buf8(T),E.next_out=0,E.avail_out=T),(b=s.deflate(E,_))!==1&&b!==p)return this.onEnd(b),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||_!==4&&_!==2)||(this.options.to==="string"?this.onData(c.buf2binstring(o.shrinkBuf(E.output,E.next_out))):this.onData(o.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&b!==1);return _===4?(b=s.deflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===p):_!==2||(this.onEnd(p),!(E.avail_out=0))},m.prototype.onData=function(g){this.chunks.push(g)},m.prototype.onEnd=function(g){g===p&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},i.Deflate=m,i.deflate=y,i.deflateRaw=function(g,x){return(x=x||{}).raw=!0,y(g,x)},i.gzip=function(g,x){return(x=x||{}).gzip=!0,y(g,x)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var s=n("./zlib/inflate"),o=n("./utils/common"),c=n("./utils/strings"),l=n("./zlib/constants"),u=n("./zlib/messages"),d=n("./zlib/zstream"),p=n("./zlib/gzheader"),h=Object.prototype.toString;function f(m){if(!(this instanceof f))return new f(m);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},m||{});var y=this.options;y.raw&&0<=y.windowBits&&y.windowBits<16&&(y.windowBits=-y.windowBits,y.windowBits===0&&(y.windowBits=-15)),!(0<=y.windowBits&&y.windowBits<16)||m&&m.windowBits||(y.windowBits+=32),15<y.windowBits&&y.windowBits<48&&!(15&y.windowBits)&&(y.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var g=s.inflateInit2(this.strm,y.windowBits);if(g!==l.Z_OK)throw new Error(u[g]);this.header=new p,s.inflateGetHeader(this.strm,this.header)}function v(m,y){var g=new f(y);if(g.push(m,!0),g.err)throw g.msg||u[g.err];return g.result}f.prototype.push=function(m,y){var g,x,b,_,E,T,A=this.strm,w=this.options.chunkSize,S=this.options.dictionary,k=!1;if(this.ended)return!1;x=y===~~y?y:y===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof m=="string"?A.input=c.binstring2buf(m):h.call(m)==="[object ArrayBuffer]"?A.input=new Uint8Array(m):A.input=m,A.next_in=0,A.avail_in=A.input.length;do{if(A.avail_out===0&&(A.output=new o.Buf8(w),A.next_out=0,A.avail_out=w),(g=s.inflate(A,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&S&&(T=typeof S=="string"?c.string2buf(S):h.call(S)==="[object ArrayBuffer]"?new Uint8Array(S):S,g=s.inflateSetDictionary(this.strm,T)),g===l.Z_BUF_ERROR&&k===!0&&(g=l.Z_OK,k=!1),g!==l.Z_STREAM_END&&g!==l.Z_OK)return this.onEnd(g),!(this.ended=!0);A.next_out&&(A.avail_out!==0&&g!==l.Z_STREAM_END&&(A.avail_in!==0||x!==l.Z_FINISH&&x!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(b=c.utf8border(A.output,A.next_out),_=A.next_out-b,E=c.buf2string(A.output,b),A.next_out=_,A.avail_out=w-_,_&&o.arraySet(A.output,A.output,b,_,0),this.onData(E)):this.onData(o.shrinkBuf(A.output,A.next_out)))),A.avail_in===0&&A.avail_out===0&&(k=!0)}while((0<A.avail_in||A.avail_out===0)&&g!==l.Z_STREAM_END);return g===l.Z_STREAM_END&&(x=l.Z_FINISH),x===l.Z_FINISH?(g=s.inflateEnd(this.strm),this.onEnd(g),this.ended=!0,g===l.Z_OK):x!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(A.avail_out=0))},f.prototype.onData=function(m){this.chunks.push(m)},f.prototype.onEnd=function(m){m===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Inflate=f,i.inflate=v,i.inflateRaw=function(m,y){return(y=y||{}).raw=!0,v(m,y)},i.ungzip=v},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var s=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(l){for(var u=Array.prototype.slice.call(arguments,1
vendor: 17,344 bytes, line 856
856);u.length;){var d=u.shift();if(d){if(typeof d!="object")throw new TypeError(d+"must be non-object");for(var p in d)d.hasOwnProperty(p)&&(l[p]=d[p])}}return l},i.shrinkBuf=function(l,u){return l.length===u?l:l.subarray?l.subarray(0,u):(l.length=u,l)};var o={arraySet:function(l,u,d,p,h){if(u.subarray&&l.subarray)l.set(u.subarray(d,d+p),h);else for(var f=0;f<p;f++)l[h+f]=u[d+f]},flattenChunks:function(l){var u,d,p,h,f,v;for(u=p=0,d=l.length;u<d;u++)p+=l[u].length;for(v=new Uint8Array(p),u=h=0,d=l.length;u<d;u++)f=l[u],v.set(f,h),h+=f.length;return v}},c={arraySet:function(l,u,d,p,h){for(var f=0;f<p;f++)l[h+f]=u[d+f]},flattenChunks:function(l){return[].concat.apply([],l)}};i.setTyped=function(l){l?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,o)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,c))},i.setTyped(s)},{}],42:[function(n,r,i){var s=n("./common"),o=!0,c=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{c=!1}for(var l=new s.Buf8(256),u=0;u<256;u++)l[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function d(p,h){if(h<65537&&(p.subarray&&c||!p.subarray&&o))return String.fromCharCode.apply(null,s.shrinkBuf(p,h));for(var f="",v=0;v<h;v++)f+=String.fromCharCode(p[v]);return f}l[254]=l[254]=1,i.string2buf=function(p){var h,f,v,m,y,g=p.length,x=0;for(m=0;m<g;m++)(64512&(f=p.charCodeAt(m)))==55296&&m+1<g&&(64512&(v=p.charCodeAt(m+1)))==56320&&(f=65536+(f-55296<<10)+(v-56320),m++),x+=f<128?1:f<2048?2:f<65536?3:4;for(h=new s.Buf8(x),m=y=0;y<x;m++)(64512&(f=p.charCodeAt(m)))==55296&&m+1<g&&(64512&(v=p.charCodeAt(m+1)))==56320&&(f=65536+(f-55296<<10)+(v-56320),m++),f<128?h[y++]=f:(f<2048?h[y++]=192|f>>>6:(f<65536?h[y++]=224|f>>>12:(h[y++]=240|f>>>18,h[y++]=128|f>>>12&63),h[y++]=128|f>>>6&63),h[y++]=128|63&f);return h},i.buf2binstring=function(p){return d(p,p.length)},i.binstring2buf=function(p){for(var h=new s.Buf8(p.length),f=0,v=h.length;f<v;f++)h[f]=p.charCodeAt(f);return h},i.buf2string=function(p,h){var f,v,m,y,g=h||p.length,x=new Array(2*g);for(f=v=0;f<g;)if((m=p[f++])<128)x[v++]=m;else if(4<(y=l[m]))x[v++]=65533,f+=y-1;else{for(m&=y===2?31:y===3?15:7;1<y&&f<g;)m=m<<6|63&p[f++],y--;1<y?x[v++]=65533:m<65536?x[v++]=m:(m-=65536,x[v++]=55296|m>>10&1023,x[v++]=56320|1023&m)}return d(x,v)},i.utf8border=function(p,h){var f;for((h=h||p.length)>p.length&&(h=p.length),f=h-1;0<=f&&(192&p[f])==128;)f--;return f<0||f===0?h:f+l[p[f]]>h?f:h}},{"./common":41}],43:[function(n,r,i){r.exports=function(s,o,c,l){for(var u=65535&s|0,d=s>>>16&65535|0,p=0;c!==0;){for(c-=p=2e3<c?2e3:c;d=d+(u=u+o[l++]|0)|0,--p;);u%=65521,d%=65521}return u|d<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var s=function(){for(var o,c=[],l=0;l<256;l++){o=l;for(var u=0;u<8;u++)o=1&o?3988292384^o>>>1:o>>>1;c[l]=o}return c}();r.exports=function(o,c,l,u){var d=s,p=u+l;o^=-1;for(var h=u;h<p;h++)o=o>>>8^d[255&(o^c[h])];return-1^o}},{}],46:[function(n,r,i){var s,o=n("../utils/common"),c=n("./trees"),l=n("./adler32"),u=n("./crc32"),d=n("./messages"),p=0,h=4,f=0,v=-2,m=-1,y=4,g=2,x=8,b=9,_=286,E=30,T=19,A=2*_+1,w=15,S=3,k=258,P=k+S+1,D=42,R=113,N=1,q=2,I=3,z=4;function M(W,X){return W.msg=d[X],X}function F(W){return(W<<1)-(4<W?9:0)}function H(W){for(var X=W.length;0<=--X;)W[X]=0}function V(W){var X=W.state,pe=X.pending;pe>W.avail_out&&(pe=W.avail_out),pe!==0&&(o.arraySet(W.output,X.pending_buf,X.pending_out,pe,W.next_out),W.next_out+=pe,X.pending_out+=pe,W.total_out+=pe,W.avail_out-=pe,X.pending-=pe,X.pending===0&&(X.pending_out=0))}function O(W,X){c._tr_flush_block(W,0<=W.block_start?W.block_start:-1,W.strstart-W.block_start,X),W.block_start=W.strstart,V(W.strm)}function $(W,X){W.pending_buf[W.pending++]=X}function K(W,X){W.pending_buf[W.pending++]=X>>>8&255,W.pending_buf[W.pending++]=255&X}function Y(W,X){var pe,ie,te=W.max_chain_length,oe=W.strstart,Ne=W.prev_length,De=W.nice_match,ye=W.strstart>W.w_size-P?W.strstart-(W.w_size-P):0,ce=W.window,xe=W.w_mask,ve=W.prev,Se=W.strstart+k,Oe=ce[oe+Ne-1],We=ce[oe+Ne];W.prev_length>=W.good_match&&(te>>=2),De>W.lookahead&&(De=W.lookahead);do if(ce[(pe=X)+Ne]===We&&ce[pe+Ne-1]===Oe&&ce[pe]===ce[oe]&&ce[++pe]===ce[oe+1]){oe+=2,pe++;do;while(ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&ce[++oe]===ce[++pe]&&oe<Se);if(ie=k-(Se-oe),oe=Se-k,Ne<ie){if(W.match_start=X,De<=(Ne=ie))break;Oe=ce[oe+Ne-1],We=ce[oe+Ne]}}while((X=ve[X&xe])>ye&&--te!=0);return Ne<=W.lookahead?Ne:W.lookahead}function ee(W){var X,pe,ie,te,oe,Ne,De,ye,ce,xe,ve=W.w_size;do{if(te=W.window_size-W.lookahead-W.strstart,W.strstart>=ve+(ve-P)){for(o.arraySet(W.window,W.window,ve,ve,0),W.match_start-=ve,W.strstart-=ve,W.block_start-=ve,X=pe=W.hash_size;ie=W.head[--X],W.head[X]=ve<=ie?ie-ve:0,--pe;);for(X=pe=ve;ie=W.prev[--X],W.prev[X]=ve<=ie?ie-ve:0,--pe;);te+=ve}if(W.strm.avail_in===0)break;if(Ne=W.strm,De=W.window,ye=W.strstart+W.lookahead,ce=te,xe=void 0,xe=Ne.avail_in,ce<xe&&(xe=ce),pe=xe===0?0:(Ne.avail_in-=xe,o.arraySet(De,Ne.input,Ne.next_in,xe,ye),Ne.state.wrap===1?Ne.adler=l(Ne.adler,De,xe,ye):Ne.state.wrap===2&&(Ne.adler=u(Ne.adler,De,xe,ye)),Ne.next_in+=xe,Ne.total_in+=xe,xe),W.lookahead+=pe,W.lookahead+W.insert>=S)for(oe=W.strstart-W.insert,W.ins_h=W.window[oe],W.ins_h=(W.ins_h<<W.hash_shift^W.window[oe+1])&W.hash_mask;W.insert&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[oe+S-1])&W.hash_mask,W.prev[oe&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=oe,oe++,W.insert--,!(W.lookahead+W.insert<S)););}while(W.lookahead<P&&W.strm.avail_in!==0)}function re(W,X){for(var pe,ie;;){if(W.lookahead<P){if(ee(W),W.lookahead<P&&X===p)return N;if(W.lookahead===0)break}if(pe=0,W.lookahead>=S&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+S-1])&W.hash_mask,pe=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),pe!==0&&W.strstart-pe<=W.w_size-P&&(W.match_length=Y(W,pe)),W.match_length>=S)if(ie=c._tr_tally(W,W.strstart-W.match_start,W.match_length-S),W.lookahead-=W.match_length,W.match_length<=W.max_lazy_match&&W.lookahead>=S){for(W.match_length--;W.strstart++,W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+S-1])&W.hash_mask,pe=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart,--W.match_length!=0;);W.strstart++}else W.strstart+=W.match_length,W.match_length=0,W.ins_h=W.window[W.strstart],W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+1])&W.hash_mask;else ie=c._tr_tally(W,0,W.window[W.strstart]),W.lookahead--,W.strstart++;if(ie&&(O(W,!1),W.strm.avail_out===0))return N}return W.insert=W.strstart<S-1?W.strstart:S-1,X===h?(O(W,!0),W.strm.avail_out===0?I:z):W.last_lit&&(O(W,!1),W.strm.avail_out===0)?N:q}function ae(W,X){for(var pe,ie,te;;){if(W.lookahead<P){if(ee(W),W.lookahead<P&&X===p)return N;if(W.lookahead===0)break}if(pe=0,W.lookahead>=S&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+S-1])&W.hash_mask,pe=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),W.prev_length=W.match_length,W.prev_match=W.match_start,W.match_length=S-1,pe!==0&&W.prev_length<W.max_lazy_match&&W.strstart-pe<=W.w_size-P&&(W.match_length=Y(W,pe),W.match_length<=5&&(W.strategy===1||W.match_length===S&&4096<W.strstart-W.match_start)&&(W.match_length=S-1)),W.prev_length>=S&&W.match_length<=W.prev_length){for(te=W.strstart+W.lookahead-S,ie=c._tr_tally(W,W.strstart-1-W.prev_match,W.prev_length-S),W.lookahead-=W.prev_length-1,W.prev_length-=2;++W.strstart<=te&&(W.ins_h=(W.ins_h<<W.hash_shift^W.window[W.strstart+S-1])&W.hash_mask,pe=W.prev[W.strstart&W.w_mask]=W.head[W.ins_h],W.head[W.ins_h]=W.strstart),--W.prev_length!=0;);if(W.match_available=0,W.match_length=S-1,W.strstart++,ie&&(O(W,!1),W.strm.avail_out===0))return N}else if(W.match_available){if((ie=c._tr_tally(W,0,W.window[W.strstart-1]))&&O(W,!1),W.strstart++,W.lookahead--,W.strm.avail_out===0)return N}else W.match_available=1,W.strstart++,W.lookahead--}return W.match_available&&(ie=c._tr_tally(W,0,W.window[W.strstart-1]),W.match_available=0),W.insert=W.strstart<S-1?W.strstart:S-1,X===h?(O(W,!0),W.strm.avail_out===0?I:z):W.last_lit&&(O(W,!1),W.strm.avail_out===0)?N:q}function le(W,X,pe,ie,te){this.good_length=W,this.max_lazy=X,this.nice_length=pe,this.max_chain=ie,this.func=te}function ge(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=x,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*A),this.dyn_dtree=new o.Buf16(2*(2*E+1)),this.bl_tree=new o.Buf16(2*(2*T+1)),H(this.dyn_ltree),H(this.dyn_dtree),H(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(w+1),this.heap=new o.Buf16(2*_+1),H(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*_+1),H(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ke(W){var X;return W&&W.state?(W.total_in=W.total_out=0,W.data_type=g,(X=W.state).pending=0,X.pending_out=0,X.wrap<0&&(X.wrap=-X.wrap),X.status=X.wrap?D:R,W.adler=X.wrap===2?0:1,X.last_flush=p,c._tr_init(X),f):M(W,v)}function de(W){var X=ke(W);return X===f&&function(pe){pe.window_size=2*pe.w_size,H(pe.head),pe.max_lazy_match=s[pe.level].max_lazy,pe.good_match=s[pe.level].good_length,pe.nice_match=s[pe.level].nice_length,pe.max_chain_length=s[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=S-1,pe.match_available=0,pe.ins_h=0}(W.state),X}function we(W,X,pe,ie,te,oe){if(!W)return v;var Ne=1;if(X===m&&(X=6),ie<0?(Ne=0,ie=-ie):15<ie&&(Ne=2,ie-=16),te<1||b<te||pe!==x||ie<8||15<ie||X<0||9<X||oe<0||y<oe)return M(W,v);ie===8&&(ie=9);var De=new ge;return(W.state=De).strm=W,De.wrap=Ne,De.gzhead=null,De.w_bits=ie,De.w_size=1<<De.w_bits,De.w_mask=De.w_size-1,De.hash_bits=te+7,De.hash_size=1<<De.hash_bits,De.hash_mask=De.hash_size-1,De.hash_shift=~~((De.hash_bits+S-1)/S),De.window=new o.Buf8(2*De.w_size),De.head=new o.Buf16(De.hash_size),De.prev=new o.Buf16(De.w_size),De.lit_bufsize=1<<te+6,De.pending_buf_size=4*De.lit_bufsize,De.pending_buf=new o.Buf8(De.pending_buf_size),De.d_buf=1*De.lit_bufsize,De.l_buf=3*De.lit_bufsize,De.level=X,De.strategy=oe,De.method=pe,de(W)}s=[new le(0,0,0,0,function(W,X){var pe=65535;for(pe>W.pending_buf_size-5&&(pe=W.pending_buf_size-5);;){if(W.lookahead<=1){if(ee(W),W.lookahead===0&&X===p)return N;if(W.lookahead===0)break}W.strstart+=W.lookahead,W.lookahead=0;var ie=W.block_start+pe;if((W.strstart===0||W.strstart>=ie)&&(W.lookahead=W.strstart-ie,W.strstart=ie,O(W,!1),W.strm.avail_out===0)||W.strstart-W.block_start>=W.w_size-P&&(O(W,!1),W.strm.avail_out===0))return N}return W.insert=0,X===h?(O(W,!0),W.strm.avail_out===0?I:z):(W.strstart>W.block_start&&(O(W,!1),W.strm.avail_out),N)}),new le(4,4,8,4,re),new le(4,5,16,8,re),new le(4,6,32,32,re),new le(4,4,16,16,ae),new le(8,16,32,32,ae),new le(8,16,128,128,ae),new le(8,32,128,256,ae),new le(32,128,258,1024,ae),new le(32,258,258,4096,ae)],i.deflateInit=function(W,X){return we(W,X,x,15,8,0)},i.deflateInit2=we,i.deflateReset=de,i.deflateResetKeep=ke,i.deflateSetHeader=function(W,X){return W&&W.state?W.state.wrap!==2?v:(W.state.gzhead=X,f):v},i.deflate=function(W,X){var pe,ie,te,oe;if(!W||!W.state||5<X||X<0)return W?M(W,v):v;if(ie=W.state,!W.output||!W.input&&W.avail_in!==0||ie.status===666&&X!==h)return M(W,W.avail_out===0?-5:v);if(ie.strm=W,pe=ie.last_flush,ie.last_flush=X,ie.status===D)if(ie.wrap===2)W.adler=0,$(ie,31),$(ie,139),$(ie,8),ie.gzhead?($(ie,(ie.gzhead.text?1:0)+(ie.gzhead.hcrc?2:0)+(ie.gzhead.extra?4:0)+(ie.gzhead.name?8:0)+(ie.gzhead.comment?16:0)),$(ie,255&ie.gzhead.time),$(ie,ie.gzhead.time>>8&255),$(ie,ie.gzhead.time>>16&255),$(ie,ie.gzhead.time>>24&255),$(ie,ie.level===9?2:2<=ie.strategy||ie.level<2?4:0),$(ie,255&ie.gzhead.os),ie.gzhead.extra&&ie.gzhead.extra.length&&($(ie,255&ie.gzhead.extra.length),$(ie,ie.gzhead.extra.length>>8&255)),ie.gzhead.hcrc&&(W.adler=u(W.adler,ie.pending_buf,ie.pending,0)),ie.gzindex=0,ie.status=69):($(ie,0),$(ie,0),$(ie,0),$(ie,0),$(ie,0),$(ie,ie.level===9?2:2<=ie.strategy||ie.level<2?4:0),$(ie,3),ie.status=R);else{var Ne=x+(ie.w_bits-8<<4)<<8;Ne|=(2<=ie.strategy||ie.level<2?0:ie.level<6?1:ie.level===6?2:3)<<6,ie.strstart!==0&&(Ne|=32),Ne+=31-Ne%31,ie.status=R,K(ie,Ne),ie.strstart!==0&&(K(ie,W.adler>>>16),K(ie,65535&W.adler)),W.adler=1}if(ie.status===69)if(ie.gzhead.extra){for(te=ie.pending;ie.gzindex<(65535&ie.gzhead.extra.length)&&(ie.pending!==ie.pending_buf_size||(ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),V(W),te=ie.pending,ie.pending!==ie.pending_buf_size));)$(ie,255&ie.gzhead.extra[ie.gzindex]),ie.gzindex++;ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),ie.gzindex===ie.gzhead.extra.length&&(ie.gzindex=0,ie.status=73)}else ie.status=73;if(ie.status===73)if(ie.gzhead.name){te=ie.pending;do{if(ie.pending===ie.pending_buf_size&&(ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),V(W),te=ie.pending,ie.pending===ie.pending_buf_size)){oe=1;break}oe=ie.gzindex<ie.gzhead.name.length?255&ie.gzhead.name.charCodeAt(ie.gzindex++):0,$(ie,oe)}while(oe!==0);ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),oe===0&&(ie.gzindex=0,ie.status=91)}else ie.status=91;if(ie.status===91)if(ie.gzhead.comment){te=ie.pending;do{if(ie.pending===ie.pending_buf_size&&(ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),V(W),te=ie.pending,ie.pending===ie.pending_buf_size)){oe=1;break}oe=ie.gzindex<ie.gzhead.comment.length?255&ie.gzhead.comment.charCodeAt(ie.gzindex++):0,$(ie,oe)}while(oe!==0);ie.gzhead.hcrc&&ie.pending>te&&(W.adler=u(W.adler,ie.pending_buf,ie.pending-te,te)),oe===0&&(ie.status=103)}else ie.status=103;if(ie.status===103&&(ie.gzhead.hcrc?(ie.pending+2>ie.pending_buf_size&&V(W),ie.pending+2<=ie.pending_buf_size&&($(ie,255&W.adler),$(ie,W.adler>>8&255),W.adler=0,ie.status=R)):ie.status=R),ie.pending!==0){if(V(W),W.avail_out===0)return ie.last_flush=-1,f}else if(W.avail_in===0&&F(X)<=F(pe)&&X!==h)return M(W,-5);if(ie.status===666&&W.avail_in!==0)return M(W,-5);if(W.avail_in!==0||ie.lookahead!==0||X!==p&&ie.status!==666){var De=ie.strategy===2?function(ye,ce){for(var xe;;){if(ye.lookahead===0&&(ee(ye),ye.lookahead===0)){if(ce===p)return N;break}if(ye.match_length=0,xe=c._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++,xe&&(O(ye,!1),ye.strm.avail_out===0))return N}return ye.insert=0,ce===h?(O(ye,!0),ye.strm.avail_out===0?I:z):ye.last_lit&&(O(ye,!1),ye.strm.avail_out===0)?N:q}(ie,X):ie.strategy===3?function(ye,ce){for(var xe,ve,Se,Oe,We=ye.window;;){if(ye.lookahead<=k){if(ee(ye),ye.lookahead<=k&&ce===p)return N;if(ye.lookahead===0)break}if(ye.match_length=0,ye.lookahead>=S&&0<ye.strstart&&(ve=We[Se=ye.strstart-1])===We[++Se]&&ve===We[++Se]&&ve===We[++Se]){Oe=ye.strstart+k;do;while(ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&ve===We[++Se]&&Se<Oe);ye.match_length=k-(Oe-Se),ye.match_length>ye.lookahead&&(ye.match_length=ye.lookahead)}if(ye.match_length>=S?(xe=c._tr_tally(ye,1,ye.match_length-S),ye.lookahead-=ye.match_length,ye.strstart+=ye.match_length,ye.match_length=0):(xe=c._tr_tally(ye,0,ye.window[ye.strstart]),ye.lookahead--,ye.strstart++),xe&&(O(ye,!1),ye.strm.avail_out===0))return N}return ye.insert=0,ce===h?(O(ye,!0),ye.strm.avail_out===0?I:z):ye.last_lit&&(O(ye,!1),ye.strm.avail_out===0)?N:q}(ie,X):s[ie.level].func(ie,X);if(De!==I&&De!==z||(ie.status=666),De===N||De===I)return W.avail_out===0&&(ie.last_flush=-1),f;if(De===q&&(X===1?c._tr_align(ie):X!==5&&(c._tr_stored_block(ie,0,0,!1),X===3&&(H(ie.head),ie.lookahead===0&&(ie.strstart=0,ie.block_start=0,ie.insert=0))),V(W),W.avail_out===0))return ie.last_flush=-1,f}return X!==h?f:ie.wrap<=0?1:(ie.wrap===2?($(ie,255&W.adler),$(ie,W.adler>>8&255),$(ie,W.adler>>16&255),$(ie,W.adler>>24&255),$(ie,255&W.total_in),$(ie,W.total_in>>8&255),$(ie,W.total_in>>16&255),$(ie,W.total_in>>24&255)):(K(ie,W.adler>>>16),K(ie,65535&W.adler)),V(W),0<ie.wrap&&(ie.wrap=-ie.wrap),ie.pending!==0?f:1)},i.deflateEnd=function(W){var X;return W&&W.state?(X=W.state.status)!==D&&X!==69&&X!==73&&X!==91&&X!==103&&X!==R&&X!==666?M(W,v):(W.state=null,X===R?M(W,-3):f):v},i.deflateSetDictionary=function(W,X){var pe,ie,te,oe,Ne,De,ye,ce,xe=X.length;
vendor: 4,801 bytes, line 856
856if(!W||!W.state||(oe=(pe=W.state).wrap)===2||oe===1&&pe.status!==D||pe.lookahead)return v;for(oe===1&&(W.adler=l(W.adler,X,xe,0)),pe.wrap=0,xe>=pe.w_size&&(oe===0&&(H(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),ce=new o.Buf8(pe.w_size),o.arraySet(ce,X,xe-pe.w_size,pe.w_size,0),X=ce,xe=pe.w_size),Ne=W.avail_in,De=W.next_in,ye=W.input,W.avail_in=xe,W.next_in=0,W.input=X,ee(pe);pe.lookahead>=S;){for(ie=pe.strstart,te=pe.lookahead-(S-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[ie+S-1])&pe.hash_mask,pe.prev[ie&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=ie,ie++,--te;);pe.strstart=ie,pe.lookahead=S-1,ee(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=S-1,pe.match_available=0,W.next_in=De,W.input=ye,W.avail_in=Ne,pe.wrap=oe,f},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(s,o){var c,l,u,d,p,h,f,v,m,y,g,x,b,_,E,T,A,w,S,k,P,D,R,N,q;c=s.state,l=s.next_in,N=s.input,u=l+(s.avail_in-5),d=s.next_out,q=s.output,p=d-(o-s.avail_out),h=d+(s.avail_out-257),f=c.dmax,v=c.wsize,m=c.whave,y=c.wnext,g=c.window,x=c.hold,b=c.bits,_=c.lencode,E=c.distcode,T=(1<<c.lenbits)-1,A=(1<<c.distbits)-1;e:do{b<15&&(x+=N[l++]<<b,b+=8,x+=N[l++]<<b,b+=8),w=_[x&T];t:for(;;){if(x>>>=S=w>>>24,b-=S,(S=w>>>16&255)===0)q[d++]=65535&w;else{if(!(16&S)){if(!(64&S)){w=_[(65535&w)+(x&(1<<S)-1)];continue t}if(32&S){c.mode=12;break e}s.msg="invalid literal/length code",c.mode=30;break e}k=65535&w,(S&=15)&&(b<S&&(x+=N[l++]<<b,b+=8),k+=x&(1<<S)-1,x>>>=S,b-=S),b<15&&(x+=N[l++]<<b,b+=8,x+=N[l++]<<b,b+=8),w=E[x&A];n:for(;;){if(x>>>=S=w>>>24,b-=S,!(16&(S=w>>>16&255))){if(!(64&S)){w=E[(65535&w)+(x&(1<<S)-1)];continue n}s.msg="invalid distance code",c.mode=30;break e}if(P=65535&w,b<(S&=15)&&(x+=N[l++]<<b,(b+=8)<S&&(x+=N[l++]<<b,b+=8)),f<(P+=x&(1<<S)-1)){s.msg="invalid distance too far back",c.mode=30;break e}if(x>>>=S,b-=S,(S=d-p)<P){if(m<(S=P-S)&&c.sane){s.msg="invalid distance too far back",c.mode=30;break e}if(R=g,(D=0)===y){if(D+=v-S,S<k){for(k-=S;q[d++]=g[D++],--S;);D=d-P,R=q}}else if(y<S){if(D+=v+y-S,(S-=y)<k){for(k-=S;q[d++]=g[D++],--S;);if(D=0,y<k){for(k-=S=y;q[d++]=g[D++],--S;);D=d-P,R=q}}}else if(D+=y-S,S<k){for(k-=S;q[d++]=g[D++],--S;);D=d-P,R=q}for(;2<k;)q[d++]=R[D++],q[d++]=R[D++],q[d++]=R[D++],k-=3;k&&(q[d++]=R[D++],1<k&&(q[d++]=R[D++]))}else{for(D=d-P;q[d++]=q[D++],q[d++]=q[D++],q[d++]=q[D++],2<(k-=3););k&&(q[d++]=q[D++],1<k&&(q[d++]=q[D++]))}break}}break}}while(l<u&&d<h);l-=k=b>>3,x&=(1<<(b-=k<<3))-1,s.next_in=l,s.next_out=d,s.avail_in=l<u?u-l+5:5-(l-u),s.avail_out=d<h?h-d+257:257-(d-h),c.hold=x,c.bits=b}},{}],49:[function(n,r,i){var s=n("../utils/common"),o=n("./adler32"),c=n("./crc32"),l=n("./inffast"),u=n("./inftrees"),d=1,p=2,h=0,f=-2,v=1,m=852,y=592;function g(D){return(D>>>24&255)+(D>>>8&65280)+((65280&D)<<8)+((255&D)<<24)}function x(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new s.Buf16(320),this.work=new s.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(D){var R;return D&&D.state?(R=D.state,D.total_in=D.total_out=R.total=0,D.msg="",R.wrap&&(D.adler=1&R.wrap),R.mode=v,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new s.Buf32(m),R.distcode=R.distdyn=new s.Buf32(y),R.sane=1,R.back=-1,h):f}function _(D){var R;return D&&D.state?((R=D.state).wsize=0,R.whave=0,R.wnext=0,b(D)):f}function E(D,R){var N,q;return D&&D.state?(q=D.state,R<0?(N=0,R=-R):(N=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15<R)?f:(q.window!==null&&q.wbits!==R&&(q.window=null),q.wrap=N,q.wbits=R,_(D))):f}function T(D,R){var N,q;return D?(q=new x,(D.state=q).window=null,(N=E(D,R))!==h&&(D.state=null),N):f}var A,w,S=!0;function k(D){if(S){var R;for(A=new s.Buf32(512),w=new s.Buf32(32),R=0;R<144;)D.lens[R++]=8;for(;R<256;)D.lens[R++]=9;for(;R<280;)D.lens[R++]=7;for(;R<288;)D.lens[R++]=8;for(u(d,D.lens,0,288,A,0,D.work,{bits:9}),R=0;R<32;)D.lens[R++]=5;u(p,D.lens,0,32,w,0,D.work,{bits:5}),S=!1}D.lencode=A,D.lenbits=9,D.distcode=w,D.distbits=5}function P(D,R,N,q){var I,z=D.state;return z.window===null&&(z.wsize=1<<z.wbits,z.wnext=0,z.whave=0,z.window=new s.Buf8(z.wsize)),q>
vendor: 6,014 bytes, line 856
856=z.wsize?(s.arraySet(z.window,R,N-z.wsize,z.wsize,0),z.wnext=0,z.whave=z.wsize):(q<(I=z.wsize-z.wnext)&&(I=q),s.arraySet(z.window,R,N-q,I,z.wnext),(q-=I)?(s.arraySet(z.window,R,N-q,q,0),z.wnext=q,z.whave=z.wsize):(z.wnext+=I,z.wnext===z.wsize&&(z.wnext=0),z.whave<z.wsize&&(z.whave+=I))),0}i.inflateReset=_,i.inflateReset2=E,i.inflateResetKeep=b,i.inflateInit=function(D){return T(D,15)},i.inflateInit2=T,i.inflate=function(D,R){var N,q,I,z,M,F,H,V,O,$,K,Y,ee,re,ae,le,ge,ke,de,we,W,X,pe,ie,te=0,oe=new s.Buf8(4),Ne=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!D||!D.state||!D.output||!D.input&&D.avail_in!==0)return f;(N=D.state).mode===12&&(N.mode=13),M=D.next_out,I=D.output,H=D.avail_out,z=D.next_in,q=D.input,F=D.avail_in,V=N.hold,O=N.bits,$=F,K=H,X=h;e:for(;;)switch(N.mode){case v:if(N.wrap===0){N.mode=13;break}for(;O<16;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(2&N.wrap&&V===35615){oe[N.check=0]=255&V,oe[1]=V>>>8&255,N.check=c(N.check,oe,2,0),O=V=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&V)<<8)+(V>>8))%31){D.msg="incorrect header check",N.mode=30;break}if((15&V)!=8){D.msg="unknown compression method",N.mode=30;break}if(O-=4,W=8+(15&(V>>>=4)),N.wbits===0)N.wbits=W;else if(W>N.wbits){D.msg="invalid window size",N.mode=30;break}N.dmax=1<<W,D.adler=N.check=1,N.mode=512&V?10:12,O=V=0;break;case 2:for(;O<16;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(N.flags=V,(255&N.flags)!=8){D.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){D.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=V>>8&1),512&N.flags&&(oe[0]=255&V,oe[1]=V>>>8&255,N.check=c(N.check,oe,2,0)),O=V=0,N.mode=3;case 3:for(;O<32;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.head&&(N.head.time=V),512&N.flags&&(oe[0]=255&V,oe[1]=V>>>8&255,oe[2]=V>>>16&255,oe[3]=V>>>24&255,N.check=c(N.check,oe,4,0)),O=V=0,N.mode=4;case 4:for(;O<16;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.head&&(N.head.xflags=255&V,N.head.os=V>>8),512&N.flags&&(oe[0]=255&V,oe[1]=V>>>8&255,N.check=c(N.check,oe,2,0)),O=V=0,N.mode=5;case 5:if(1024&N.flags){for(;O<16;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.length=V,N.head&&(N.head.extra_len=V),512&N.flags&&(oe[0]=255&V,oe[1]=V>>>8&255,N.check=c(N.check,oe,2,0)),O=V=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(F<(Y=N.length)&&(Y=F),Y&&(N.head&&(W=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),s.arraySet(N.head.extra,q,z,Y,W)),512&N.flags&&(N.check=c(N.check,q,Y,z)),F-=Y,z+=Y,N.length-=Y),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(F===0)break e;for(Y=0;W=q[z+Y++],N.head&&W&&N.length<65536&&(N.head.name+=String.fromCharCode(W)),W&&Y<F;);if(512&N.flags&&(N.check=c(N.check,q,Y,z)),F-=Y,z+=Y,W)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(F===0)break e;for(Y=0;W=q[z+Y++],N.head&&W&&N.length<65536&&(N.head.comment+=String.fromCharCode(W)),W&&Y<F;);if(512&N.flags&&(N.check=c(N.check,q,Y,z)),F-=Y,z+=Y,W)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;O<16;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(V!==(65535&N.check)){D.msg="header crc mismatch",N.mode=30;break}O=V=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),D.adler=N.check=0,N.mode=12;break;case 10:for(;O<32;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}D.adler=N.check=g(V),O=V=0,N.mode=11;case 11:if(N.havedict===0)return D.next_out=M,D.avail_out=H,D.next_in=z,D.avail_in=F,N.hold=V,N.bits=O,2;D.adler=N.check=1,N.mode=12;case 12:if(R===5||R===6)break e;case 13:if(N.last){V>>>=7&O,O-=7&O,N.mode=27;break}for(;O<3;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}switch(N.last=1&V,O-=1,3&(V>>>=1)){case 0:N.mode=14;break;case 1:if(k(N),N.mode=20,R!==6)break;V>>>=2,O-=2;break e;case 2:N.mode=17;break;case 3:D.msg="invalid block type",N.mode=30}V>>>=2,O-=2;break;case 14:for(V>>>=7&O,O-=7&O;O<32;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if((65535&V)!=(V>>>16^65535)){D.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&V,O=V=0,N.mode=15,R===6)break e;case 15:N.mode=16;case 16:if(Y=N.length){if(F<Y&&(Y=F),H<Y&&(Y=H),Y===0)break e;s.arraySet(I,q,z,Y,M),F-=Y,z+=Y,H-=Y,M+=Y,N.length-=Y;break}N.mode=12;break;case 17:for(;O<14;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(N.nlen=257+(31&V),V>>>=5,O-=5,N.ndist=1+(31&V),V>>>=5,O-=5,N.ncode=4+(15&V),V>>>=4,O-=4,286<N.nlen||30<N.ndist){D.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;O<3;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.lens[Ne[N.have++]]=7&V,V>>>=3,O-=3}for(;N.have<19;)N.lens[Ne[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,pe={bits:N.lenbits},X=u(0,N.lens,0,19,N.lencode,0,N.work,pe),N.lenbits=pe.bits,X){D.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;le=(te=N.lencode[V&(1<<N.lenbits)-1])>>>16&255,ge=65535&te,!((ae=te>>>24)<=O);){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(ge<16)V>>>=ae,O-=ae,N.lens[N.have++]=ge;else{if(ge===16){for(ie=ae+2;O<ie;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(V>>>=ae,O-=ae,N.have===0){D.msg="invalid bit length repeat",N.mode=30;break}W=N.lens[N.have-1],Y=3+(3&V),V>>>=2,O-=2}else if(ge===17){for(ie=ae+3;O<ie;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}O-=ae,W=0,Y=3+(7&(V>>>=ae)),V>>>=3,O-=3}else{for(ie=ae+7;O<ie;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}O-=ae,W=0,Y=11+(127&(V>>>=ae)),V>>>=7,O-=7}if(N.have+Y>N.nlen+N.ndist){D.msg="invalid bit length repeat",N.mode=30;break}for(;Y--;)N.lens[N.have++]=W}}if(N.mode===30)break;if(N.lens[256]===0){D.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,pe={bits:N.lenbits},X=u(d,N.lens,0,N.nlen,N.lencode,0,N.work,pe),N.lenbits=pe.bits,X){D.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,pe={bits:N.distbits},X=u(p,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,pe),N.distbits=pe.bits,X){D.msg="invalid distances set",N.mode=30;break}if(N.mode=20,R===6)break e;case 20:N.mode=21;
vendor: 4,120 bytes, line 856
856case 21:if(6<=F&&258<=H){D.next_out=M,D.avail_out=H,D.next_in=z,D.avail_in=F,N.hold=V,N.bits=O,l(D,K),M=D.next_out,I=D.output,H=D.avail_out,z=D.next_in,q=D.input,F=D.avail_in,V=N.hold,O=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;le=(te=N.lencode[V&(1<<N.lenbits)-1])>>>16&255,ge=65535&te,!((ae=te>>>24)<=O);){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(le&&!(240&le)){for(ke=ae,de=le,we=ge;le=(te=N.lencode[we+((V&(1<<ke+de)-1)>>ke)])>>>16&255,ge=65535&te,!(ke+(ae=te>>>24)<=O);){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}V>>>=ke,O-=ke,N.back+=ke}if(V>>>=ae,O-=ae,N.back+=ae,N.length=ge,le===0){N.mode=26;break}if(32&le){N.back=-1,N.mode=12;break}if(64&le){D.msg="invalid literal/length code",N.mode=30;break}N.extra=15&le,N.mode=22;case 22:if(N.extra){for(ie=N.extra;O<ie;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.length+=V&(1<<N.extra)-1,V>>>=N.extra,O-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;le=(te=N.distcode[V&(1<<N.distbits)-1])>>>16&255,ge=65535&te,!((ae=te>>>24)<=O);){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(!(240&le)){for(ke=ae,de=le,we=ge;le=(te=N.distcode[we+((V&(1<<ke+de)-1)>>ke)])>>>16&255,ge=65535&te,!(ke+(ae=te>>>24)<=O);){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}V>>>=ke,O-=ke,N.back+=ke}if(V>>>=ae,O-=ae,N.back+=ae,64&le){D.msg="invalid distance code",N.mode=30;break}N.offset=ge,N.extra=15&le,N.mode=24;case 24:if(N.extra){for(ie=N.extra;O<ie;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}N.offset+=V&(1<<N.extra)-1,V>>>=N.extra,O-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){D.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(H===0)break e;if(Y=K-H,N.offset>Y){if((Y=N.offset-Y)>N.whave&&N.sane){D.msg="invalid distance too far back",N.mode=30;break}ee=Y>N.wnext?(Y-=N.wnext,N.wsize-Y):N.wnext-Y,Y>N.length&&(Y=N.length),re=N.window}else re=I,ee=M-N.offset,Y=N.length;for(H<Y&&(Y=H),H-=Y,N.length-=Y;I[M++]=re[ee++],--Y;);N.length===0&&(N.mode=21);break;case 26:if(H===0)break e;I[M++]=N.length,H--,N.mode=21;break;case 27:if(N.wrap){for(;O<32;){if(F===0)break e;F--,V|=q[z++]<<O,O+=8}if(K-=H,D.total_out+=K,N.total+=K,K&&(D.adler=N.check=N.flags?c(N.check,I,K,M-K):o(N.check,I,K,M-K)),K=H,(N.flags?V:g(V))!==N.check){D.msg="incorrect data check",N.mode=30;break}O=V=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;O<32;){if(F===0)break e;F--,V+=q[z++]<<O,O+=8}if(V!==(4294967295&N.total)){D.msg="incorrect length check",N.mode=30;break}O=V=0}N.mode=29;case 29:X=1;break e;case 30:X=-3;break e;case 31:return-4;case 32:default:return f}return D.next_out=M,D.avail_out=H,D.next_in=z,D.avail_in=F,N.hold=V,N.bits=O,(N.wsize||K!==D.avail_out&&N.mode<30&&(N.mode<27||R!==4))&&P(D,D.output,D.next_out,K-D.avail_out)?(N.mode=31,-4):($-=D.avail_in,K-=D.avail_out,D.total_in+=$,D.total_out+=K,N.total+=K,N.wrap&&K&&(D.adler=N.check=N.flags?c(N.check,I,K,D.next_out-K):o(N.check,I,K,D.next_out-K)),D.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),($==0&&K===0||R===4)&&X===h&&(X=-5),X)},i.inflateEnd=function(D){if(!D||!D.state)return f;var R=D.state;return R.window&&(R.window=null),D.state=null,h},i.inflateGetHeader=function(D,R){var N;return D&&D.state&&2&(N=D.state).wrap?((N.head=R).done=!1,h):f},i.inflateSetDictionary=function(D,R){var N,q=R.length;return D&&D.state?(N=D.state).wrap!==0&&N.mode!==11?f:N.mode===11&&o(1,R,q,0)!==N.check?-3:P(D,R,q,q)?(N.mode=31,-4):(N.havedict=1,h):f},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var s=n("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],c=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(d,p,h,f,v,m,y,g){var x,b,_,E,T,A,w,S,k,P=g.bits,D=0,R=0,N=0,q=0,I=0,z=0,M=0,F=0,H=0,V=0,O=null,$=0,K=new s.Buf16(16),Y=ne
vendor: 8,991 bytes, line 856
856w s.Buf16(16),ee=null,re=0;for(D=0;D<=15;D++)K[D]=0;for(R=0;R<f;R++)K[p[h+R]]++;for(I=P,q=15;1<=q&&K[q]===0;q--);if(q<I&&(I=q),q===0)return v[m++]=20971520,v[m++]=20971520,g.bits=1,0;for(N=1;N<q&&K[N]===0;N++);for(I<N&&(I=N),D=F=1;D<=15;D++)if(F<<=1,(F-=K[D])<0)return-1;if(0<F&&(d===0||q!==1))return-1;for(Y[1]=0,D=1;D<15;D++)Y[D+1]=Y[D]+K[D];for(R=0;R<f;R++)p[h+R]!==0&&(y[Y[p[h+R]]++]=R);if(A=d===0?(O=ee=y,19):d===1?(O=o,$-=257,ee=c,re-=257,256):(O=l,ee=u,-1),D=N,T=m,M=R=V=0,_=-1,E=(H=1<<(z=I))-1,d===1&&852<H||d===2&&592<H)return 1;for(;;){for(w=D-M,k=y[R]<A?(S=0,y[R]):y[R]>A?(S=ee[re+y[R]],O[$+y[R]]):(S=96,0),x=1<<D-M,N=b=1<<z;v[T+(V>>M)+(b-=x)]=w<<24|S<<16|k|0,b!==0;);for(x=1<<D-1;V&x;)x>>=1;if(x!==0?(V&=x-1,V+=x):V=0,R++,--K[D]==0){if(D===q)break;D=p[h+y[R]]}if(I<D&&(V&E)!==_){for(M===0&&(M=I),T+=N,F=1<<(z=D-M);z+M<q&&!((F-=K[z+M])<=0);)z++,F<<=1;if(H+=1<<z,d===1&&852<H||d===2&&592<H)return 1;v[_=V&E]=I<<24|z<<16|T-m|0}}return V!==0&&(v[T+V]=D-M<<24|64<<16|0),g.bits=I,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var s=n("../utils/common"),o=0,c=1;function l(te){for(var oe=te.length;0<=--oe;)te[oe]=0}var u=0,d=29,p=256,h=p+1+d,f=30,v=19,m=2*h+1,y=15,g=16,x=7,b=256,_=16,E=17,T=18,A=[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],w=[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],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=new Array(2*(h+2));l(P);var D=new Array(2*f);l(D);var R=new Array(512);l(R);var N=new Array(256);l(N);var q=new Array(d);l(q);var I,z,M,F=new Array(f);function H(te,oe,Ne,De,ye){this.static_tree=te,this.extra_bits=oe,this.extra_base=Ne,this.elems=De,this.max_length=ye,this.has_stree=te&&te.length}function V(te,oe){this.dyn_tree=te,this.max_code=0,this.stat_desc=oe}function O(te){return te<256?R[te]:R[256+(te>>>7)]}function $(te,oe){te.pending_buf[te.pending++]=255&oe,te.pending_buf[te.pending++]=oe>>>8&255}function K(te,oe,Ne){te.bi_valid>g-Ne?(te.bi_buf|=oe<<te.bi_valid&65535,$(te,te.bi_buf),te.bi_buf=oe>>g-te.bi_valid,te.bi_valid+=Ne-g):(te.bi_buf|=oe<<te.bi_valid&65535,te.bi_valid+=Ne)}function Y(te,oe,Ne){K(te,Ne[2*oe],Ne[2*oe+1])}function ee(te,oe){for(var Ne=0;Ne|=1&te,te>>>=1,Ne<<=1,0<--oe;);return Ne>>>1}function re(te,oe,Ne){var De,ye,ce=new Array(y+1),xe=0;for(De=1;De<=y;De++)ce[De]=xe=xe+Ne[De-1]<<1;for(ye=0;ye<=oe;ye++){var ve=te[2*ye+1];ve!==0&&(te[2*ye]=ee(ce[ve]++,ve))}}function ae(te){var oe;for(oe=0;oe<h;oe++)te.dyn_ltree[2*oe]=0;for(oe=0;oe<f;oe++)te.dyn_dtree[2*oe]=0;for(oe=0;oe<v;oe++)te.bl_tree[2*oe]=0;te.dyn_ltree[2*b]=1,te.opt_len=te.static_len=0,te.last_lit=te.matches=0}function le(te){8<te.bi_valid?$(te,te.bi_buf):0<te.bi_valid&&(te.pending_buf[te.pending++]=te.bi_buf),te.bi_buf=0,te.bi_valid=0}function ge(te,oe,Ne,De){var ye=2*oe,ce=2*Ne;return te[ye]<te[ce]||te[ye]===te[ce]&&De[oe]<=De[Ne]}function ke(te,oe,Ne){for(var De=te.heap[Ne],ye=Ne<<1;ye<=te.heap_len&&(ye<te.heap_len&&ge(oe,te.heap[ye+1],te.heap[ye],te.depth)&&ye++,!ge(oe,De,te.heap[ye],te.depth));)te.heap[Ne]=te.heap[ye],Ne=ye,ye<<=1;te.heap[Ne]=De}function de(te,oe,Ne){var De,ye,ce,xe,ve=0;if(te.last_lit!==0)for(;De=te.pending_buf[te.d_buf+2*ve]<<8|te.pending_buf[te.d_buf+2*ve+1],ye=te.pending_buf[te.l_buf+ve],ve++,De===0?Y(te,ye,oe):(Y(te,(ce=N[ye])+p+1,oe),(xe=A[ce])!==0&&K(te,ye-=q[ce],xe),Y(te,ce=O(--De),Ne),(xe=w[ce])!==0&&K(te,De-=F[ce],xe)),ve<te.last_lit;);Y(te,b,oe)}function we(te,oe){var Ne,De,ye,ce=oe.dyn_tree,xe=oe.stat_desc.static_tree,ve=oe.stat_desc.has_stree,Se=oe.stat_desc.elems,Oe=-1;for(te.heap_len=0,te.heap_max=m,Ne=0;Ne<Se;Ne++)ce[2*Ne]!==0?(te.heap[++te.heap_len]=Oe=Ne,te.depth[Ne]=0):ce[2*Ne+1]=0;for(;te.heap_len<2;)ce[2*(ye=te.heap[++te.heap_len]=Oe<2?++Oe:0)]=1,te.depth[ye]=0,te.opt_len--,ve&&(te.static_len-=xe[2*ye+1]);for(oe.max_code=Oe,Ne=te.heap_len>>1;1<=Ne;Ne--)ke(te,ce,Ne);for(ye=Se;Ne=te.heap[1],te.heap[1]=te.heap[te.heap_len--],ke(te,ce,1),De=te.heap[1],te.heap[--te.heap_max]=Ne,te.heap[--te.heap_max]=De,ce[2*ye]=ce[2*Ne]+ce[2*De],te.depth[ye]=(te.depth[Ne]>=te.depth[De]?te.depth[Ne]:te.depth[De])+1,ce[2*Ne+1]=ce[2*De+1]=ye,te.heap[1]=ye++,ke(te,ce,1),2<=te.heap_len;);te.heap[--te.heap_max]=te.heap[1],function(We,qe){var Xe,Ve,Ct,ct,bt,Et,At=qe.dyn_tree,yt=qe.max_code,st=qe.stat_desc.static_tree,et=qe.stat_desc.has_stree,rt=qe.stat_desc.extra_bits,Vt=qe.stat_desc.extra_base,ot=qe.stat_desc.max_length,at=0;for(ct=0;ct<=y;ct++)We.bl_count[ct]=0;for(At[2*We.heap[We.heap_max]+1]=0,Xe=We.heap_max+1;Xe<m;Xe++)ot<(ct=At[2*At[2*(Ve=We.heap[Xe])+1]+1]+1)&&(ct=ot,at++),At[2*Ve+1]=ct,yt<Ve||(We.bl_count[ct]++,bt=0,Vt<=Ve&&(bt=rt[Ve-Vt]),Et=At[2*Ve],We.opt_len+=Et*(ct+bt),et&&(We.static_len+=Et*(st[2*Ve+1]+bt)));if(at!==0){do{for(ct=ot-1;We.bl_count[ct]===0;)ct--;We.bl_count[ct]--,We.bl_count[ct+1]+=2,We.bl_count[ot]--,at-=2}while(0<at);for(ct=ot;ct!==0;ct--)for(Ve=We.bl_count[ct];Ve!==0;)yt<(Ct=We.heap[--Xe])||(At[2*Ct+1]!==ct&&(We.opt_len+=(ct-At[2*Ct+1])*At[2*Ct],At[2*Ct+1]=ct),Ve--)}}(te,oe),re(ce,Oe,te.bl_count)}function W(te,oe,Ne){var De,ye,ce=-1,xe=oe[1],ve=0,Se=7,Oe=4;for(xe===0&&(Se=138,Oe=3),oe[2*(Ne+1)+1]=65535,De=0;De<=Ne;De++)ye=xe,xe=oe[2*(De+1)+1],++ve<Se&&ye===xe||(ve<Oe?te.bl_tree[2*ye]+=ve:ye!==0?(ye!==ce&&te.bl_tree[2*ye]++,te.bl_tree[2*_]++):ve<=10?te.bl_tree[2*E]++:te.bl_tree[2*T]++,ce=ye,Oe=(ve=0)===xe?(Se=138,3):ye===xe?(Se=6,3):(Se=7,4))}function X(te,oe,Ne){var De,ye,ce=-1,xe=oe[1],ve=0,Se=7,Oe=4;for(xe===0&&(Se=138,Oe=3),De=0;De<=Ne;De++)if(ye=xe,xe=oe[2*(De+1)+1],!(++ve<Se&&ye===xe)){if(ve<Oe)for(;Y(te,ye,te.bl_tree),--ve!=0;);else ye!==0?(ye!==ce&&(Y(te,ye,te.bl_tree),ve--),Y(te,_,te.bl_tree),K(te,ve-3,2)):ve<=10?(Y(te,E,te.bl_tree),K(te,ve-3,3)):(Y(te,T,te.bl_tree),K(te,ve-11,7));ce=ye,Oe=(ve=0)===xe?(Se=138,3):ye===xe?(Se=6,3):(Se=7,4)}}l(F);var pe=!1;function ie(te,oe,Ne,De){K(te,(u<<1)+(De?1:0),3),function(ye,ce,xe,ve){le(ye),$(ye,xe),$(ye,~xe),s.arraySet(ye.pending_buf,ye.window,ce,xe,ye.pending),ye.pending+=xe}(te,oe,Ne)}i._tr_init=function(te){pe||(function(){var oe,Ne,De,ye,ce,xe=new Array(y+1);for(ye=De=0;ye<d-1;ye++)for(q[ye]=De,oe=0;oe<1<<A[ye];oe++)N[De++]=ye;for(N[De-1]=ye,ye=ce=0;ye<16;ye++)for(F[ye]=ce,oe=0;oe<1<<w[ye];oe++)R[ce++]=ye;for(ce>>=7;ye<f;ye++)for(F[ye]=ce<<7,oe=0;oe<1<<w[ye]-7;oe++)R[256+ce++]=ye;for(Ne=0;Ne<=y;Ne++)xe[Ne]=0;for(oe=0;oe<=143;)P[2*oe+1]=8,oe++,xe[8]++;for(;oe<=255;)P[2*oe+1]=9,oe++,xe[9]++;for(;oe<=279;)P[2*oe+1]=7,oe++,xe[7]++;for(;oe<=287;)P[2*oe+1]=8,oe++,xe[8]++;for(re(P,h+1,xe),oe=0;oe<f;oe++)D[2*oe+1]=5,D[2*oe]=ee(oe,5);I=new H(P,A,p+1,h,y),z=new H(D,w,0,f,y),M=new H(new Array(0),S,0,v,x)}(),pe=!0),te.l_desc=new V(te.dyn_ltree,I),te.d_desc=new V(te.dyn_dtree,z),te.bl_desc=new V(te.bl_tree,M),te.bi_buf=0,te.bi_valid=0,ae(te)},i._tr_stored_block=ie,i._tr_flush_block=function(te,oe,Ne,De){var ye,ce,xe=0;0<te.level?(te.strm.data_type===2&&(te.strm.data_type=function(ve){var Se,Oe=4093624447;for(Se=0;Se<=31;Se++,Oe>>>=1)if(1&Oe&&ve.dyn_ltree[2*Se]!==0)return o;if(ve.dyn_ltree[18]!==0||ve.dyn_ltree[20]!==0||ve.dyn_ltree[26]!==0)return c;for(Se=32;Se<p;Se++)if(ve.dyn_ltree[2*Se]!==0)return c;return o}(te)),we(te,te.l_desc),we(te,te.d_desc),xe=function(ve){var Se;for(W(ve,ve.dyn_ltree,ve.l_desc.max_code),W(ve,ve.dyn_dtree,ve.d_desc.max_code),we(ve,ve.bl_desc),Se=v-1;3<=Se&&ve.bl_tree[2*k[Se]+1]===0;Se--);return ve.opt_len+=3*(Se+1)+5+5+4,Se}(te),ye=te.opt_len+3+7>>>3,(ce=te.static_len+3+7>>>3)<=ye&&(ye=ce)):ye=ce=Ne+5,Ne+4<=ye&&oe!==-1?ie(te,oe,Ne,De):te.strategy===4||ce===ye?(K(te,2+(De?1:0),3),de(te,P,D)):(K(te,4+(De?1:0),3),function(ve,Se,Oe,We){var qe;for(K(ve,Se-257,5),K(ve,Oe-1,5),K(ve,We-4,4),qe=0;qe<We;qe++)K(ve,ve.bl_tree[2*k[qe]+1],3);X(ve,ve.dyn_ltree,Se-1),X(ve,ve.dyn_dtree,Oe-1)}(te,te.l_desc.max_code+1,te.d_desc.max_code+1,xe+1),de(te,te.dyn_ltree,te.dyn_dtree)),ae(te),De&&le(te)},i._tr_tally=function(te,oe,Ne){return te.pending_buf[te.d_buf+2*te.last_lit]=oe>>>8&255,te.pending_buf[te.d_buf+2*te.last_lit+1]=255&oe,te.pending_buf[te.l_buf+te.last_lit]=255&Ne,te.last_lit++,oe===0?te.dyn_ltree[2*Ne]++:(te.matches++,oe--,te.dyn_ltree[2*(N[Ne]+p+1)]++,te.dyn_dtree[2*O(oe)]++),te.last_lit===te.lit_bufsize-1},i._tr_align=function(te){K(te,2,3),Y(te,b,P),function(oe){oe.bi_valid===16?($(oe,oe.bi_buf),oe.bi_buf=0,oe.bi_valid=0):8<=oe.bi_valid&&(oe.pending_buf[oe.pending++]=255&oe.bi_buf,oe.bi_buf>>=8,oe.bi_valid-=8)}(te)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(s){(function(o,c){if(!o.setImmediate){var l,u,d,p,h=1,f={},v=!1,m=o.document,y=Object.getPrototypeOf&&Object.getPrototypeOf(o
856);y=y&&y.setTimeout?y:o,l={}.toString.call(o.process)==="[object process]"?function(_){process.nextTick(function(){x(_)})}:function(){if(o.postMessage&&!o.importScripts){var _=!0,E=o.onmessage;return o.onmessage=function(){_=!1},o.postMessage("","*"),o.onmessage=E,_}}()?(p="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",b,!1):o.attachEvent("onmessage",b),function(_){o.postMessage(p+_,"*")}):o.MessageChannel?((d=new MessageChannel).port1.onmessage=function(_){x(_.data)},function(_){d.port2.postMessage(_)}):m&&"onreadystatechange"in m.createElement("script")?(u=m.documentElement,function(_){var E=m.createElement("script");E.onreadystatechange=function(){x(_),E.onreadystatechange=null,u.removeChild(E),E=null},u.appendChild(E)}):function(_){setTimeout(x,0,_)},y.setImmediate=function(_){typeof _!="function"&&(_=new Function(""+_));for(var E=new Array(arguments.length-1),T=0;T<E.length;T++)E[T]=arguments[T+1];var A={callback:_,args:E};return f[h]=A,l(h),h++},y.clearImmediate=g}function g(_){delete f[_]}function x(_){if(v)setTimeout(x,0,_);else{var E=f[_];if(E){v=!0;try{(function(T){var A=T.callback,w=T.args;switch(w.length){case 0:A();break;case 1:A(w[0]);break;case 2:A(w[0],w[1]);break;case 3:A(w[0],w[1],w[2]);break;default:A.apply(c,w)}})(E)}finally{g(_),v=!1}}}}function b(_){_.source===o&&typeof _.data=="string"&&_.data.indexOf(p)===0&&x(+_.data.slice(p.length))}})(typeof self>"u"?s===void 0?this:s:self)}).call(this,typeof Dt<"u"?Dt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(xB);var Aue=xB.exports,kue=D2,Tue=Aue;wy.openArrayBuffer=Pue;wy.splitPath=Lue;wy.joinPath=Rue;function Pue(e){return Tue.loadAsync(e).then(function(t){function n(o){return t.file(o)!==null}function r(o,c){return t.file(o).async("uint8array").then(function(l){if(c==="base64")return kue.fromByteArray(l);if(c){var u=new TextDecoder(c);return u.decode(l)}else return l})}function i(o,c){t.file(o,c)}function s(){return t.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:s}})}function Lue(e){var t=e.lastIndexOf("/");return t===-1?{dirname:"",basename:e}:{dirname:e.substring(0,t),basename:e.substring(t+1)}}function Rue(){var e=Array.prototype.filter.call(arguments,function(n){return n}),t=[];return e.forEach(function(n){/^\//.test(n)?t=[n]:t.push(n)}),t.join("/")}var NS={},Lu={},Jh={},A2=Ya;Jh.Element=em;Jh.element=function(e,t,n){return new em(e,t,n)};Jh.text=function(e){return{type:"text",value:e}};var yB=Jh.emptyElement={first:function(){return null},firstOrEmpty:function(){return yB},attributes:{},children:[]};function em(e,t,n){this.type="element",this.name=e,this.attributes=t||{},this.children=n||[]}em.prototype.first=function(e){return A2.find(this.children,function(t){return t.name===e})};em.prototype.firstOrEmpty=function(e){return this.first(e)||yB};em.prototype.getElementsByTagName=function(e){var t=A2.filter(this.children,function(n){return n.name===e});return vB(t)};em.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var Oue={getElementsByTagName:function(e){return vB(A2.flatten(this.map(function(t){return t.getElementsByTagName(e)},!0)))}};function vB(e){return A2.extend(e,Oue)}var bB={},CS={},k2={},go={},il={};function Iue(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find=="function")return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}}function ES(e,t){return t===void 0&&(t=Object),t&&typeof t.freeze=="function"?t.freeze(e):e}function Uue(e,t){if(e===null||typeof e!="object")throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var wB=ES({HTML:"text/html",isHTML:function(e){return e===wB.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),jB=ES({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===jB.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});il.assign=Uue;il.find=Iue;il.freeze=ES;il.MIME_TYPE=wB;il.NAMESPACE=jB;var _B=il,zo=_B.find,Cx=_B.NAMESPACE;function Fue(e){return e!==""}function Mue(e){return e?e.split(/[\t\n\f\r ]+/).filter(Fue):[]}function que(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function $6(e){if(!e)return[];var t=Mue(e);return Object.keys(t.reduce(que,{}))}function Bue(e){return function(t){return e&&e.indexOf(t)!==-1}}function jy(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function gi(e,t){var n=e.prototype;if(!(n instanceof t)){let r=function(){};r.prototype=t.prototype,r=new r,jy(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!="function"&&console.error("unknown Class:"+e),n.constructor=e)}var xi={},ws=xi.ELEMENT_NODE=1,Eh=xi.ATTRIBUTE_NODE=2,H0=xi.TEXT_NODE=3,NB=xi.CDATA_SECTION_NODE=4,CB=xi.ENTITY_REFERENCE_NODE=5,zue=xi.ENTITY_NODE=6,SS=xi.PROCESSING_INSTRUCTION_NODE=7,DS=xi.COMMENT_NODE=8,EB=xi.DOCUMENT_NODE=9,SB=xi.DOCUMENT_TYPE_NODE=10,Fc=xi.DOCUMENT_FRAGMENT_NODE=11,$ue=xi.NOTATION_NODE=12,Ta={},Wr={};Ta.INDEX_SIZE_ERR=(Wr[1]="Index size error",1);Ta.DOMSTRING_SIZE_ERR=(Wr[2]="DOMString size error",2);var ii=Ta.HIERARCHY_REQUEST_ERR=(Wr[3]="Hierarchy request error",3);Ta.WRONG_DOCUMENT_ERR=(Wr[4]="Wrong document",4);var Wue=Ta.INVALID_CHARACTER_ERR=(Wr[5]="Invalid character",5);
vendor: 1,706 bytes, line 856
856Ta.NO_DATA_ALLOWED_ERR=(Wr[6]="No data allowed",6);Ta.NO_MODIFICATION_ALLOWED_ERR=(Wr[7]="No modification allowed",7);var DB=Ta.NOT_FOUND_ERR=(Wr[8]="Not found",8);Ta.NOT_SUPPORTED_ERR=(Wr[9]="Not supported",9);var W6=Ta.INUSE_ATTRIBUTE_ERR=(Wr[10]="Attribute in use",10),Hp=Ta.INVALID_STATE_ERR=(Wr[11]="Invalid state",11);Ta.SYNTAX_ERR=(Wr[12]="Syntax error",12);Ta.INVALID_MODIFICATION_ERR=(Wr[13]="Invalid modification",13);Ta.NAMESPACE_ERR=(Wr[14]="Invalid namespace",14);Ta.INVALID_ACCESS_ERR=(Wr[15]="Invalid access",15);function vn(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,Wr[e]),this.message=Wr[e],Error.captureStackTrace&&Error.captureStackTrace(this,vn);return n.code=e,t&&(this.message=this.message+": "+t),n}vn.prototype=Error.prototype;jy(Ta,vn);function Mc(){}Mc.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t,n){for(var r=!!n&&!!n.requireWellFormed,i=[],s=0;s<this.length;s++)US(this[s],i,e,t,null,r);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}};function Sh(e,t){this._node=e,this._refresh=t,AS(this)}function AS(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(qB(e,"length",n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];jy(n,e),e._inc=t}}Sh.prototype.item=function(e){return AS(this),this[e]||null};gi(Sh,Mc);function G0(){}function AB(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function V6(e,t,n,r){if(r?t[AB(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;
vendor: 17,503 bytes, line 856
856i&&(r&&PB(i,e,r),Vue(i,e,n))}}function H6(e,t,n){var r=AB(t,n);if(r>=0){for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var s=e.ownerDocument;s&&(PB(s,e,n),n.ownerElement=null)}}else throw new vn(DB,new Error(e.tagName+"@"+n))}G0.prototype={length:0,item:Mc.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new vn(W6);var n=this.getNamedItem(e.nodeName);return V6(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t=e.ownerElement,n;if(t&&t!=this._ownerElement)throw new vn(W6);return n=this.getNamedItemNS(e.namespaceURI,e.localName),V6(this._ownerElement,this,e,n),n},removeNamedItem:function(e){var t=this.getNamedItem(e);return H6(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return H6(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}};function kB(){}kB.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new _y;if(r.implementation=this,r.childNodes=new Mc,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new T2;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}};function xn(){}xn.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return K0(this,e,t)},replaceChild:function(e,t){K0(this,e,t,RB),t&&this.removeChild(t)},removeChild:function(e){return LB(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return MB(this.ownerDocument||this,this,e)},normalize:function(){zr(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;n!==null&&n.nodeType===H0&&t.nodeType===H0?(e.removeChild(n),t.appendData(n.data)):t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==Eh?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==Eh?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){var t=this.lookupPrefix(e);return t==null}};function TB(e){return e=="<"&&"<"||e==">"&&">"||e=="&"&&"&"||e=='"'&&"""||"&#"+e.charCodeAt()+";"}jy(xi,xn);jy(xi,xn.prototype);function X0(e,t){return zr(e,null,{enter:function(n){return t(n)?zr.STOP:!0}})===zr.STOP}function zr(e,t,n){for(var r=[{node:e,context:t,phase:zr.ENTER}];r.length>0;){var i=r.pop();if(i.phase===zr.ENTER){var s=n.enter(i.node,i.context);if(s===zr.STOP)return zr.STOP;if(r.push({node:i.node,context:s,phase:zr.EXIT}),s==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:s,phase:zr.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}zr.STOP=Symbol("walkDOM.STOP");zr.ENTER=0;zr.EXIT=1;function _y(){this.ownerDocument=this}function Vue(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===Cx.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function PB(e,t,n,r){e&&e._inc++;var i=n.namespaceURI;i===Cx.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function kS(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,s=0;i;)r[s++]=i,i=i.nextSibling;r.length=s,delete r[r.length]}}}function LB(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,kS(e.ownerDocument,e),t}function Hue(e){return e&&(e.nodeType===xn.DOCUMENT_NODE||e.nodeType===xn.DOCUMENT_FRAGMENT_NODE||e.nodeType===xn.ELEMENT_NODE)}function Gue(e){return e&&($o(e)||TS(e)||Qc(e)||e.nodeType===xn.DOCUMENT_FRAGMENT_NODE||e.nodeType===xn.COMMENT_NODE||e.nodeType===xn.PROCESSING_INSTRUCTION_NODE)}function Qc(e){return e&&e.nodeType===xn.DOCUMENT_TYPE_NODE}function $o(e){return e&&e.nodeType===xn.ELEMENT_NODE}function TS(e){return e&&e.nodeType===xn.TEXT_NODE}function G6(e,t){var n=e.childNodes||[];if(zo(n,$o)||Qc(t))return!1;var r=zo(n,Qc);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function X6(e,t){var n=e.childNodes||[];function r(s){return $o(s)&&s!==t}if(zo(n,r))return!1;var i=zo(n,Qc);return!(t&&i&&n.indexOf(i)>n.indexOf(t))}function Xue(e,t,n){if(!Hue(e))throw new vn(ii,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new vn(DB,"child not in parent");if(!Gue(t)||Qc(t)&&e.nodeType!==xn.DOCUMENT_NODE)throw new vn(ii,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function Kue(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xn.DOCUMENT_FRAGMENT_NODE){var s=i.filter($o);if(s.length>1||zo(i,TS))throw new vn(ii,"More than one element or text in fragment");if(s.length===1&&!G6(e,n))throw new vn(ii,"Element in fragment can not be inserted before doctype")}if($o(t)&&!G6(e,n))throw new vn(ii,"Only one element can be added and only after doctype");if(Qc(t)){if(zo(r,Qc))throw new vn(ii,"Only one doctype is allowed");var o=zo(r,$o);if(n&&r.indexOf(o)<r.indexOf(n))throw new vn(ii,"Doctype can only be inserted before an element");if(!n&&o)throw new vn(ii,"Doctype can not be appended since element is present")}}function RB(e,t,n){var r=e.childNodes||[],i=t.childNodes||[];if(t.nodeType===xn.DOCUMENT_FRAGMENT_NODE){var s=i.filter($o);if(s.length>1||zo(i,TS))throw new vn(ii,"More than one element or text in fragment");if(s.length===1&&!X6(e,n))throw new vn(ii,"Element in fragment can not be inserted before doctype")}if($o(t)&&!X6(e,n))throw new vn(ii,"Only one element can be added and only after doctype");if(Qc(t)){if(zo(r,function(l){return Qc(l)&&l!==n}))throw new vn(ii,"Only one doctype is allowed");var o=zo(r,$o);if(n&&r.indexOf(o)<r.indexOf(n))throw new vn(ii,"Doctype can only be inserted before an element")}}function K0(e,t,n,r){Xue(e,t,n),e.nodeType===xn.DOCUMENT_NODE&&(r||Kue)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===Fc){var s=t.firstChild;if(s==null)return t;var o=t.lastChild}else s=o=t;var c=n?n.previousSibling:e.lastChild;s.previousSibling=c,o.nextSibling=n,c?c.nextSibling=s:e.firstChild=s,n==null?e.lastChild=o:n.previousSibling=o;do{s.parentNode=e;var l=e.ownerDocument||e;Ex(s,l)}while(s!==o&&(s=s.nextSibling));return kS(e.ownerDocument||e,e),t.nodeType==Fc&&(t.firstChild=t.lastChild=null),t}function Ex(e,t){if(e.ownerDocument!==t){if(e.ownerDocument=t,e.nodeType===ws&&e.attributes)for(var n=0;n<e.attributes.length;n++){var r=e.attributes.item(n);r&&(r.ownerDocument=t)}for(var i=e.firstChild;i;)Ex(i,t),i=i.nextSibling}}function Yue(e,t){t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,kS(e.ownerDocument,e,t);var n=e.ownerDocument||e;return Ex(t,n),t}_y.prototype={nodeName:"#document",nodeType:EB,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==Fc){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return K0(this,e,t),Ex(e,this),this.documentElement===null&&e.nodeType===ws&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),LB(this,e)},replaceChild:function(e,t){K0(this,e,t,RB),Ex(e,this),t&&this.removeChild(t),$o(e)&&(this.documentElement=e)},importNode:function(e,t){return Que(this,e,t)},getElementById:function(e){var t=null;return X0(this.documentElement,function(n){if(n.nodeType==ws&&n.getAttribute("id")==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=$6(e);return new Sh(this,function(n){var r=[];return t.length>0&&X0(n.documentElement,function(i){if(i!==n&&i.nodeType===ws){var s=i.getAttribute("class");if(s){var o=e===s;if(!o){var c=$6(s);o=t.every(Bue(c))}o&&r.push(i)}}}),r})},createElement:function(e){var t=new Hd;t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new Mc;var n=t.attributes=new G0;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new P2;return e.ownerDocument=this,e.childNodes=new Mc,e},createTextNode:function(e){var t=new PS;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new LS;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf("]]>")!==-1)throw new vn(Wue,'data contains "]]>"');var t=new RS;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new IS;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new Y0;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new OS;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new Hd,r=t.split(":"),i=n.attributes=new G0;return n.childNodes=new Mc,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new Y0,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}};gi(_y,xn);function Hd(){this._nsMap={}}Hd.prototype={nodeType:ws,hasAttribute:function(e){return this.getAttributeNode(e)!=null},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===Fc?this.insertBefore(e,null):Yue(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new Sh(this,function(t){var n=[];return X0(t,function(r){r!==t&&r.nodeType==ws&&(e==="*"||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new Sh(this,function(n){var r=[];return X0(n,function(i){i!==n&&i.nodeType===ws&&(e==="*"||i.namespaceURI===e)&&(t==="*"||i.localName==t)&&r.push(i)}),r})}};_y.prototype.getElementsByTagName=Hd.prototype.getElementsByTagName;_y.prototype.getElementsByTagNameNS=Hd.prototype.getElementsByTagNameNS;gi(Hd,xn);function Y0(){}Y0.prototype.nodeType=Eh;gi(Y0,xn);function Ny(){}Ny.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(Wr[ii])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};gi(Ny,xn);function PS(){}PS.prototype={nodeName:"#text",nodeType:H0,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}};gi(PS,Ny);function LS(){}LS.prototype={nodeName:"#comment",nodeType:DS};gi(LS,Ny);function RS(){}RS.prototype={nodeName:"#cdata-section",nodeType:NB};gi(RS,Ny);function T2(){}T2.prototype.nodeType=SB;gi(T2,xn);function OB(){}OB.prototype.nodeType=$ue;gi(OB,xn);function IB(){}IB.prototype.nodeType=zue;gi(IB,xn);function OS(){}OS.prototype.nodeType=CB;gi(OS,xn);function P2(){}P2.prototype.nodeName="#document-fragment";P2.prototype.nodeType=Fc;gi(P2,xn);function IS(){}IS.prototype.nodeType=SS;gi(IS,xn);function UB(){}UB.prototype.serializeToString=function(e,t,n,r){return FB.call(e,t,n,r)};xn.prototype.toString=FB;function FB(e,t,n){var r=!!n&&!!n.requireWellFormed,i=[],s=this.nodeType==9&&this.documentElement||this,o=s.prefix,c=s.namespaceURI;if(c&&o==null){var o=s.lookupPrefix(c);if(o==null)var l=[{namespace:c,prefix:null}]}return US(this,i,e,t,l,r),i.join("")}function K6(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i||r==="xml"&&i===Cx.XML||i===Cx.XMLNS)return!1;for(var s=n.length;s--;){var o=n[s];if(o.prefix===r)return o.namespace!==i}return!0}function rb(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,TB),'"')}function US(e,t,n,r,i,s){i||(i=[]),zr(e,{ns:i,isHTML:n},{enter:function(o,c){var l=c.ns,u=c.isHTML;if(r)if(o=r(o),o){if(typeof o=="string")return t.push(o),null}else return null;switch(o.nodeType){case ws:var d=o.attributes,p=d.length,h=o.tagName;u=Cx.isHTML(o.namespaceURI)||u;var f=h;if(!u&&!o.prefix&&o.namespaceURI){for(var v,m=0;m<d.length;m++)if(d.item(m).name==="xmlns"){v=d.item(m).value;break}if(!v)for(var y=l.length-1;y>=0;y--){var g=l[y];if(g.prefix===""&&g.namespace===o.namespaceURI){v=g.namespace;break}}if(v!==o.namespaceURI)for(var y=l.length-1;y>=0;y--){var g=l[y];if(g.namespace===o.namespaceURI){g.prefix&&(f=g.prefix+":"+h);break}}}t.push("<",f);for(var x=l.slice(),b=0;b<p;b++){var _=d.item(b);_.prefix=="xmlns"?x.push({prefix:_.localName,namespace:_.value}):_.nodeName=="xmlns"&&x.push({prefix:"",namespace:_.value})}for(var b=0;b<p;b++){var _=d.item(b);if(K6(_,u,x)){var E=_.prefix||"",T=_.namespaceURI;rb(t,E?"xmlns:"+E:"xmlns",T),x.push({prefix:E,namespace:T})}var A=r?r(_):_;A&&(typeof A=="string"?t.push(A):rb(t,A.name,A.value))}if(h===f&&K6(o,u,x)){var w=o.prefix||"",T=o.namespaceURI;rb(t,w?"xmlns:"+w:"xmlns",T),x.push({prefix:w,namespace:T})}var S=o.firstChild;if(S||u&&!/^(?:meta|link|img|br|hr|input)$/i.test(h)){if(t.push(">"),u&&/^script$/i.test(h)){for(;S;)S.data?t.push(S.data):US(S,t,u,r,x.slice(),s),S=S.nextSibling;return t.push("</",h,">"),null}return{ns:x,isHTML:u,tag:f}}else return t.push("/>"),null;case EB:case Fc:return{ns:l.slice(),isHTML:u,tag:null};case Eh:return rb(t,o.name,o.value),null;case H0:return t.push(o.data.replace(/[<&>]/g,TB)),null;case NB:if(s&&o.data.indexOf("]]>")!==-1)throw new vn(Hp,'The CDATASection data contains "]]>"');return t.push("<![CDATA[",o.data.replace(/]]>/g,"]]]]><![CDATA[>"),"]]>"),null;case DS:if(s&&o.data.indexOf("-->")!==-1)throw new vn(Hp,'The comment node data contains "-->"');return t.push("<!--",o.data,"-->"),null;case SB:if(s){if(o.publicId&&!/^("[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%']*"|'[\x20\r\na-zA-Z0-9\-()+,.\/:=?;!*#@$_%'"]*')$/.test(o.publicId))throw new vn(Hp,"DocumentType publicId is not a valid PubidLiteral");if(o.systemId&&!/^("[^"]*"|'[^']*')$/.test(o.systemId))throw new vn(Hp,"DocumentType systemId is not a valid SystemLiteral");if(o.internalSubset&&o.internalSubset.indexOf("]>")!==-1)throw new vn(Hp,'DocumentType internalSubset contains "]>"')}var k=o.publicId,P=o.systemId;if(t.push("<!DOCTYPE ",o.name),k)t.push(" PUBLIC ",k),P&&P!="."&&t.push(" ",P),t.push(">");else if(P&&P!=".")t.push(" SYSTEM ",P,">");else{var D=o.internalSubset;D&&t.push(" [",D,"]"),t.push(">")}return null;case SS:if(s&&o.data.indexOf("?>")!==-1)throw new vn(Hp,'The ProcessingInstruction data contains "?>"');return t.push("<?",o.target," ",o.data,"?>"),null;case CB:return t.push("&",o.nodeName,";"),null;default:return t.push("??",o.nodeName),null}},exit:function(o,c){c&&c.tag&&t.push("</",c.tag,">")}})}function Que(e,t,n){var r;return zr(t,null,{enter:function(i,s){var o=i.cloneNode(!1);o.ownerDocument=e,o.parentNode=null,s===null?r=o:s.appendChild(o);var c=i.nodeType===Eh||n;return c?o:null}}),r}function MB(e,t,n){var r;return zr(t,null,{enter:function(i,s){var o=new i.constructor;for(var c in i)if(Object.prototype.hasOwnProperty.call(i,c)){var l=i[c];typeof l!="object"&&l!=o[c]&&(o[c]=l)}i.childNodes&&(o.childNodes=new Mc),o.ownerDocument=e;var u=n;switch(o.nodeType){case ws:var d=i.attributes,p=o.attributes=new G0,h=d.length;p._ownerElement=o;for(var f=0;f<h;f++)o.setAttributeNode(MB(e,d.item(f),!0));break;case Eh:u=!0}return s!==null?s.appendChild(o):r=o,u?o:null}}),r}function qB(e,t,n){e[t]=n}try{Object.defineProperty&&(Object.defineProperty(Sh.prototype,"length",{get:function(){return AS(this),this.$$length}}),Object.defineProperty(xn.prototype,"textContent",{get:function(){if(this.nodeType===ws||this.nodeType===Fc){var e=[];return zr(this,null,{enter:function(t){if(t.nodeType===ws||t.nodeType===Fc)return!0;
856if(t.nodeType===SS||t.nodeType===DS)return null;e.push(t.nodeValue)}}),e.join("")}return this.nodeValue},set:function(e){switch(this.nodeType){case ws:case Fc:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),qB=function(e,t,n){e["$$"+t]=n})}catch{}go.DocumentType=T2;go.DOMException=vn;go.DOMImplementation=kB;go.Element=Hd;go.Node=xn;go.NodeList=Mc;go.walkDOM=zr;go.XMLSerializer=UB;var L2={},BB={};(function(e){var t=il
vendor: 14,900 bytes, line 856
856.freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Ã",aacute:"á",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"Ã",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Ã",aelig:"æ",af:"â¡",Afr:"ð",afr:"ð",Agrave:"Ã",agrave:"à ",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"ð¸",aopf:"ð",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"Ã
",aring:"Ã¥",Ascr:"ð",ascr:"ð¶",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"Ã",atilde:"ã",Auml:"Ã",auml:"ä",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"ð
",bfr:"ð",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"ð¹",bopf:"ð",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"¦",Bscr:"â¬",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"Ã",ccedil:"ç",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"â",cfr:"ð ",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"®",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"ð",coprod:"â",Coproduct:"â",COPY:"©",copy:"©",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"ð",cscr:"ð¸",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"°",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð",dfr:"ð¡",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"ð»",dopf:"ð",Dot:"¨",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"ð",dscr:"ð¹",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"Ã",eacute:"é",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"Ã",ecirc:"ê",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"ð",efr:"ð¢",eg:"âª",Egrave:"Ã",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"ð¼",eopf:"ð",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ã",euml:"ë",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"ð",ffr:"ð£",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"ð½",fopf:"ð",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"ð»",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"ð",gfr:"ð¤",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"ð¾",gopf:"ð",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"½",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"ð¥",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"ð",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"ð½",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"Ã",iacute:"Ã",ic:"â£",Icirc:"Ã",icirc:"î",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"¡",iff:"â",Ifr:"â",ifr:"ð¦",Igrave:"Ã",igrave:"ì",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",IJlig:"IJ",ijlig:"ij",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ",Iogon:"Ä®",iogon:"į",Iopf:"ð",iopf:"ð",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"â",iscr:"ð¾",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"Ã",iuml:"ï",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"ð",jfr:"ð§",jmath:"È·",Jopf:"ð",jopf:"ð",Jscr:"ð¥",jscr:"ð¿",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"ð",kfr:"ð¨",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"ð",kopf:"ð",Kscr:"ð¦",kscr:"ð",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"«",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",late:"âª",lates:"âªï¸",lBarr:"â¤",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"â",lcub:"{",Lcy:"Ð",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",lE:"â¦",le:"â¤",LeftAngleBracket:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"ð",lfr:"ð©",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",LJcy:"Ð",ljcy:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lnE:"â¨",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",LongLeftArrow:"âµ",Longleftarrow:"â¸",longleftarrow:"âµ",LongLeftRightArrow:"â·",Longleftrightarrow:"âº",longleftrightarrow:"â·",longmapsto:"â¼",LongRightArrow:"â¶",Longrightarrow:"â¹",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",Lopf:"ð",lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"ð",Lsh:"â°",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",Lstrok:"Å",lstrok:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"¯",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"ð",mfr:"ðª",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"ð",mopf:"ð",mp:"â",Mscr:"â³",mscr:"ð",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:
856` 857`
vendor: 9,925 bytes, line 857
857,nexist:"â",nexists:"â",Nfr:"ð",nfr:"ð«",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",nGt:"â«â",ngt:"â¯",ngtr:"â¯",nGtv:"â«Ì¸",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",NJcy:"Ð",njcy:"Ñ",nlArr:"â",nlarr:"â",nldr:"â¥",nlE:"â¦Ì¸",nle:"â°",nLeftarrow:"â",nleftarrow:"â",nLeftrightarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nLt:"âªâ",nlt:"â®",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:" ",Nopf:"â",nopf:"ð",Not:"⫬",not:"¬",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"ð©",nscr:"ð",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",Ntilde:"Ã",ntilde:"ñ",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",Nu:"Î",nu:"ν",num:"#",numero:"â",numsp:"â",nvap:"ââ",nVDash:"â¯",nVdash:"â®",nvDash:"â",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwArr:"â",nwarr:"â",nwarrow:"â",nwnear:"⤧",Oacute:"Ã",oacute:"ó",oast:"â",ocir:"â",Ocirc:"Ã",ocirc:"ô",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"ð",ofr:"ð¬",ogon:"Ë",Ograve:"Ã",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"ð",oopf:"ð ",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"ðª",oscr:"â´",Oslash:"Ã",oslash:"ø",osol:"â",Otilde:"Ã",otilde:"õ",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"Ã",ouml:"ö",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"ð",pfr:"ð",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"ð¡",pound:"£",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",Pscr:"ð«",pscr:"ð
",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"ð",qfr:"ð®",qint:"â¨",Qopf:"â",qopf:"ð¢",qprime:"â",Qscr:"ð¬",qscr:"ð",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",Rarrtl:"â¤",rarrtl:"â£",rarrw:"â",rAtail:"â¤",ratail:"â¤",ratio:"â¶",rationals:"â",RBarr:"â¤",rBarr:"â¤",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",Rcaron:"Å",rcaron:"Å",Rcedil:"Å",rcedil:"Å",rceil:"â",rcub:"}",Rcy:"Ð ",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"®",reg:"®",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"â",Rfr:"â",rfr:"ð¯",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",Ropf:"â",ropf:"ð£",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"ð",Rsh:"â±",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",Sacute:"Å",sacute:"Å",sbquo:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",seArr:"â",searr:"â",searrow:"â",sect:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"ð",sfr:"ð°",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"Â",Sigma:"Σ",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",SOFTcy:"Ь",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"ð",sopf:"ð¤",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",Sscr:"ð®",sscr:"ð",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",Sub:"â",sub:"â",subdot:"⪽",subE:"â«
",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",Subset:"â",subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"â«",supE:"â«",supe:"â",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",Supset:"â",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swArr:"â",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"Ã",Tab:"
857 ",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"ð",tfr:"ð±",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickSpace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"Ã",thorn:"þ",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"ð",topf:"ð¥",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"ð¯",tscr:"ð",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"Ã",uacute:"ú",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"Ã",ucirc:"û",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"ð",ufr:"ð²",Ugrave:"Ã",ugrave:"ù",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"¨",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"ð",uopf:"ð¦",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",Uring:"Å®",uring:"ů",urtri:"â¹",Uscr:"ð°",uscr:"ð",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"Ã",uuml:"ü",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",vArr:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",Vbar:"â««",vBar:"⫨",vBarv:"â«©",Vcy:"Ð",vcy:"в",VDash:"â«",Vdash:"â©",vDash:"â¨",vdash:"â¢",Vdashl:"⫦",Vee:"â",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",Verbar:"â",verbar:"|",Vert:"â",vert:"|",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"ð",vfr:"ð³",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"ð",vopf:"ð§",vprop:"â",vrtri:"â³",Vscr:"ð±",vscr:"ð",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"ð",wfr:"ð´",Wopf:"ð",wopf:"ð¨",wp:"â",wr:"â",wreath:"â",Wscr:"ð²",wscr:"ð",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"ð",xfr:"ðµ",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"ð",xopf:"ð©",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"ð³",xscr:"ð",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"Ã",yacute:"ý",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"Â¥",Yfr:"ð",yfr:"ð¶",YIcy:"Ð",yicy:"Ñ",Yopf:"ð",yopf:"ðª",Yscr:"ð´",yscr:"ð",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"ð·",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"ð«",Zscr:"ðµ",zscr:"ð",zwj:"â",zwnj:"â"}),e.entityMap=e.HTML_ENTITIES})(BB);var FS={},Sx=il.NAMESPACE,G3=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Y6=new RegExp("[\\-\\.0-9"+G3.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Q6=new RegExp("^"+G3.source+Y6.source+"*(?::"+G3.source+Y6.source+"*)?$"),Ym=0,El=1,Gp=2,Qm=3,Xp=4,Kp=5,Zm=6,ab=7;function Dh(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Dh)}Dh.prototype=new Error;Dh.prototype.name=Dh.name;function zB(){}zB.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),$B(t,t={}),Zue(e,t,n,r,this.errorHandler),r.endDocument()}};function Zue(e,t,n,r,i){function s(I){if(I>65535){I-=65536;var z=55296+(I>>10),M=56320+(I&1023);return String.fromCharCode(z,M)}else return String.fromCharCode(I)}function o(I){var z=I.slice(1,-1);return Object.hasOwnProperty.call(n,z)?n[z]:z.charAt(0)==="#"?s(parseInt(z.substr(1).replace("x","0x"))):(i.error("entity n
857ot found:"+I),I)}function c(I){if(I>m){var z=e.substring(m,I).replace(/&#?\w+;/g,o);h&&l(m),r.characters(z,0,I-m),m=I}}function l(I,z){for(;I>=d&&(z=p.exec(e));)u=z.index,d=u+z[0].length,h.lineNumber++;h.columnNumber=I-u+1}for(var u=0,d=0,p=/.*(?:\r\n?|\n)|.*$/g,h=r.locator,f=[{currentNSMap:t}],v={},m=0;;){try{var y=e.indexOf("<",m);if(y<0){if(!e.substr(m).match(/^\s*$/)){var g=r.doc,x=g.createTextNode(e.substr(m));g.appendChild(x),r.currentElement=x}return}switch(y>m&&c(y),e.charAt(y+1)){case"/":var P=e.indexOf(">",y+3),b=e.substring(y+2,P).replace(/[ \t\n\r]+$/g,""),_=f.pop();P<0?(b=e.substring(y+2).replace(/[\s<].*/,""),i.error("end tag name: "+b+" is not complete:"+_.tagName),P=y+1+b.length):b.match(/\s</)&&(b=b.replace(/[\s<].*/,""),i.error("end tag name: "+b+" maybe not complete"),P=y+1+b.length);var E=_.localNSMap,T=_.tagName==b,A=T||_.tagName&&_.tagName.toLowerCase()==b.toLowerCase();if(A){if(r.endElement(_.uri,_.localName,b),E)for(var w in E)Object.prototype.hasOwnProperty.call(E,w)&&r.endPrefixMapping(w);T||i.fatalError("end tag name: "+b+" is not match the current start tagName:"+_.tagName)}else f.push(_);P++;break;case"?":h&&l(y),P=rde(e,y,r);break;case"!":h&&l(y),P=nde(e,y,r,i);break;default:h&&l(y);var S=new WB,k=f[f.length-1].currentNSMap,P=Jue(e,y,S,k,o,i),D=S.length;if(!S.closed&&tde(e,P,S.tagName,v)&&(S.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),h&&D){for(var R=Z6(h,{}),N=0;N<D;N++){var q=S[N];l(q.offset),q.locator=Z6(h,{})}r.locator=R,J6(S,r,k)&&f.push(S),r.locator=h}else J6(S,r,k)&&f.push(S);Sx.isHTML(S.uri)&&!S.closed?P=ede(e,P,S.tagName,o,r):P++}}catch(I){if(I instanceof Dh)throw I;i.error("element parse error: "+I),P=-1}P>m?m=P:c(Math.max(y,m)+1)}}function Z6(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function Jue(e,t,n,r,i,s){function o(h,f,v){n.attributeNames.hasOwnProperty(h)&&s.fatalError("Attribute "+h+" redefined"),n.addValue(h,f.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),v)}for(var c,l,u=++t,d=Ym;;){var p=e.charAt(u);switch(p){case"=":if(d===El)c=e.slice(t,u),d=Qm;else if(d===Gp)d=Qm;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(d===Qm||d===El)if(d===El&&(s.warning('attribute value must after "="'),c=e.slice(t,u)),t=u+1,u=e.indexOf(p,t),u>0)l=e.slice(t,u),o(c,l,t-1),d=Kp;else throw new Error("attribute value no end '"+p+"' match");else if(d==Xp)l=e.slice(t,u),o(c,l,t),s.warning('attribute "'+c+'" missed start quot('+p+")!!"),t=u+1,d=Kp;else throw new Error('attribute value must after "="');break;case"/":switch(d){case Ym:n.setTagName(e.slice(t,u));case Kp:case Zm:case ab:d=ab,n.closed=!0;case Xp:case El:break;case Gp:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),d==Ym&&n.setTagName(e.slice(t,u)),u;case">":switch(d){case Ym:n.setTagName(e.slice(t,u));case Kp:case Zm:case ab:break;case Xp:case El:l=e.slice(t,u),l.slice(-1)==="/"&&(n.closed=!0,l=l.slice(0,-1));case Gp:d===Gp&&(l=c),d==Xp?(s.warning('attribute "'+l+'" missed quot(")!'),o(c,l,t)):((!Sx.isHTML(r[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&s.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,t));break;case Qm:throw new Error("attribute value missed!!")}return u;case"Â":p=" ";default:if(p<=" ")switch(d){case Ym:n.setTagName(e.slice(t,u)),d=Zm;break;case El:c=e.slice(t,u),d=Gp;break;case Xp:var l=e.slice(t,u);s.warning('attribute "'+l+'" missed quot(")!!'),o(c,l,t);case Kp:d=Zm;break}else switch(d){case Gp:n.tagName,(!Sx.isHTML(r[""])||!c.match(/^(?:disabled|checked|selected)$/i))&&s.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),o(c,c,t),t=u,d=El;break;case Kp:s.warning('attribute space is required"'+c+'"!!');case Zm:d=El,t=u;break;case Qm:d=Xp,t=u;break;case ab:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function J6(e,t,n){for(var r=e.tagName,i=null,p=e.length;p--;){var s=e[p],o=s.qName,c=s.value,h=o.indexOf(":");if(h>0)var l=s.prefix=o.slice(0,h),u=o.slice(h+1),d=l==="xmlns"&&u;else u=o,l=null,d=o==="xmlns"&&"";s.localName=u,d!==!1&&(i==null&&(i={},$B(n,n={})),n[d]=i[d]=c,s.uri=Sx.XMLNS,t.startPrefixMapping(d,c))}for(var p=e.length;p--;){s=e[p];var l=s.prefix;l&&(l==="xml"&&(s.uri=Sx.XML),l!=="xmlns"&&(s.uri=n[l||""]))}var h=r.indexOf(":");h>0?(l=e.prefix=r.slice(0,h),u=e.localName=r.slice(h+1)):(l=null,u=e.localName=r);var f=e.uri=n[l||""];if(t.startElement(f,u,r,e),e.closed){if(t.endElement(f,u,r),i)for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&t.endPrefixMapping(l)}else return e.currentNSMap=n,e.localNSMap=i,!0}function ede(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var s=e.indexOf("</"+n+">",t),o=e.substring(t+1,s);if(/[&<]/.test(o))return/^script$/i.test(n)?(i.characters(o,0,o.length),s):(o=o.replace(/&#?\w+;/g,r),i.characters(o,0,o.length),s)}return t+1}function tde(e,t,n,r){var i=r[n];return i==null&&(i=e.lastIndexOf("</"+n+">"),i<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function $B(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}
vendor: 4,536 bytes, lines 857-860
857function nde(e,t,n,r){var i=e.charAt(t+2);switch(i){case"-":if(e.charAt(t+3)==="-"){var s=e.indexOf("-->",t+4);return s>t?(n.comment(e,t+4,s-t-4),s+3):(r.error("Unclosed comment"),-1)}else return-1;default:if(e.substr(t+3,6)=="CDATA["){var s=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,s-t-9),n.endCDATA(),s+3}var o=ade(e,t),c=o.length;if(c>1&&/!doctype/i.test(o[0][0])){var l=o[1][0],u=!1,d=!1;c>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],d=c>4&&o[4][0]):/^system$/i.test(o[2][0])&&(d=o[3][0]));var p=o[c-1];return n.startDTD(l,u,d),n.endDTD(),p.index+p[0].length}}return-1}function rde(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function WB(){this.attributeNames={}}WB.prototype={setTagName:function(e){if(!Q6.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!Q6.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};function ade(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}FS.XMLReader=zB;FS.ParseError=Dh;var ide=il,sde=go,e8=BB,VB=FS,ode=sde.DOMImplementation,t8=ide.NAMESPACE,cde=VB.ParseError,lde=VB.XMLReader;function HB(e){return e.replace(/\r[\n\u0085]/g,` 858`).replace(/[\r\u0085\u2028]/g,` 859`)}function GB(e){this.options=e||{locator:{}}}GB.prototype.parseFromString=function(e,t){var n=this.options,r=new lde,i=n.domBuilder||new Cy,s=n.errorHandler,o=n.locator,c=n.xmlns||{},l=/\/x?html?$/.test(t),u=l?e8.HTML_ENTITIES:e8.XML_ENTITIES;o&&i.setDocumentLocator(o),r.errorHandler=ude(s,i,o),r.domBuilder=n.domBuilder||i,l&&(c[""]=t8.HTML),c.xml=c.xml||t8.XML;var d=n.normalizeLineEndings||HB;return e&&typeof e=="string"?r.parse(d(e),c,u):r.errorHandler.error("invalid doc source"),i.doc};function ude(e,t,n){if(!e){if(t instanceof Cy)return t;e=t}var r={},i=e instanceof Function;n=n||{};function s(o){var c=e[o];!c&&i&&(c=e.length==2?function(l){e(o,l)}:e),r[o]=c&&function(l){c("[xmldom "+o+"] "+l+X3(n))}||function(){}}return s("warning"),s("error"),s("fatalError"),r}function Cy(){this.cdata=!1}function Yp(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}Cy.prototype={startDocument:function(){this.doc=new ode().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,s=i.createElementNS(e,n||t),o=r.length;ib(this,s),this.currentElement=s,this.locator&&Yp(this.locator,s);for(var c=0;c<o;c++){var e=r.getURI(c),l=r.getValue(c),n=r.getQName(c),u=i.createAttributeNS(e,n);this.locator&&Yp(r.getLocator(c),u),u.value=u.nodeValue=l,s.setAttributeNode(u)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&Yp(this.locator,n),ib(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=n8.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&Yp(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=n8.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&Yp(this.locator,r),ib(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&Yp(this.locator,i),ib(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning] "+e,X3(this.locator))},error:function(e){console.error("[xmldom error] "+e,X3(this.locator))},fatalError:function(e){throw new cde(e,this.locator)}};function X3(e){if(e)return` 860@`+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function n8(e,t,n){return typeof e=="string"?e.substr(t,n):e.length>
860=t+n||t?new java.lang.String(e,t,n)+"":e}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){Cy.prototype[e]=function(){return null}});function ib(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}L2.__DOMHandler=Cy;L2.normalizeLineEndings=HB;L2.DOMParser=GB;var XB=go;k2.DOMImplementation=XB.DOMImplementation;k2.XMLSerializer=XB.XMLSerializer;k2.DOMParser=L2.DOMParser;var dde=k2,pde=go;function fde(e){var t=null,n=new dde.DOMParser({errorHandler:function(i,s){t={level:i,message:s}}}),r=n.parseFromString(e);if(t===null)return r;throw new Error(t.level+": "+t.message)}CS.parseFromString=fde;CS.Node=pde.Node;var Rj=ka,r8=Ya,KB=CS,YB=Jh,hde=YB.Element;bB.readString=mde;var a8=KB.Node;function mde(e,t){t=t||{};try{var n=KB.parseFromString(e,"text/xml")}catch(o){return Rj.reject(o)}if(n.documentElement.tagName==="parsererror")return Rj.resolve(new Error(n.documentElement.textContent));function r(o){switch(o.nodeType){case a8.ELEMENT_NODE:return i(o);case a8.TEXT_NODE:return YB.text(o.nodeValue)}}function i(o){var c=s(o),l=[];r8.forEach(o.childNodes,function(d){var p=r(d);p&&l.push(p)});var u={};return r8.forEach(o.attributes,function(d){u[s(d)]=d.value}),new hde(c,u,l)}function s(o){if(o.namespaceURI){var c=t[o.namespaceURI],l;return c?l=c+":":l="{"+o.namespaceURI+"}",l+o.localName}else return o.localName}return Rj.resolve(r(n.documentElement))}var QB={},gg={},xc={},i8;function Ru(){return i8||(i8=1,(function(){var e,t,n,r,i,s,o,c=[].slice,l={}.hasOwnProperty;e=function(){var u,d,p,h,f,v;if(v=arguments[0],f=2<=arguments.length?c.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(u=0,p=f.length;u<p;u++)if(h=f[u],h!=null)for(d in h)l.call(h,d)&&(v[d]=h[d]);return v},i=function(u){return!!u&&Object.prototype.toString.call(u)==="[object Function]"},s=function(u){var d;return!!u&&((d=typeof u)=="function"||d==="object")},n=function(u){return i(Array.isArray)?Array.isArray(u):Object.prototype.toString.call(u)==="[object Array]"},r=function(u){var d;if(n(u))return!u.length;for(d in u)if(l.call(u,d))return!1;return!0},o=function(u){var d,p;return s(u)&&(p=Object.getPrototypeOf(u))&&(d=p.constructor)&&typeof d=="function"&&d instanceof d&&Function.prototype.toString.call(d)===Function.prototype.toString.call(Object)},t=function(u){return i(u.valueOf)?u.valueOf():u},xc.assign=e,xc.isFunction=i,xc.isObject=s,xc.isArray=n,xc.isEmpty=r,xc.isPlainObject=o,xc.getValue=t}).call(Dt)),xc}var Oj={exports:{}},Ij={exports:{}},Uj={exports:{}},Fj={exports:{}},s8;function ZB(){return s8||(s8=1,(function(){Fj.exports=function(){function e(t,n,r){if(this.options=t.options,this.stringify=t.stringify,this.parent=t,n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));if(r==null)throw new Error("Missing attribute value. "+this.debugInfo(n));this.name=this.stringify.attName(n),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.set(t).attribute(this)},e.prototype.debugInfo=function(t){return t=t||this.name,t==null?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},e}()}).call(Dt)),Fj.exports}var o8;function R2(){return o8||(o8=1,(function(){var e,t,n,r,i,s,o=function(l,u){for(var d in u)c.call(u,d)&&(l[d]=u[d]);function p(){this.constructor=l}return p.prototype=u.prototype,l.prototype=new p,l.__super__=u.prototype,l},c={}.hasOwnProperty;s=Ru(),i=s.isObject,r=s.isFunction,n=s.getValue,t=yi(),e=ZB(),Uj.exports=function(l){o(u,l);function u(d,p,h){if(u.__super__.constructor.call(this,d),p==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(p),this.attributes={},h!=null&&this.attribute(h),d.isDocument&&(this.isRoot=!0,this.documentObject=d,d.rootObject=this)}return u.prototype.clone=function(){var d,p,h,f;h=Object.create(this),h.isRoot&&(h.documentObject=null),h.attributes={},f=this.attributes;for(p in f)c.call(f,p)&&(d=f[p],h.attributes[p]=d.clone());
860return h.children=[],this.children.forEach(function(v){var m;return m=v.clone(),m.parent=h,h.children.push(m)}),h},u.prototype.attribute=function(d,p){var h,f;if(d!=null&&(d=n(d)),i(d))for(h in d)c.call(d,h)&&(f=d[h],this.attribute(h,f));else r(p)&&(p=p.apply()),(!this.options.skipNullAttributes||p!=null)&&(this.attributes[d]=new e(this,d,p));return this},u.prototype.removeAttribute=function(d){var p,h,f;if(d==null)throw new Error("Missing attribute name. "+this.debugInfo());if(d=n(d),Array.isArray(d))for(h=0,f=d.length;h<f;h++)p=d[h],delete this.attributes[p];else delete this.attributes[d];return this},u.prototype.toString=function(d){return this.options.writer.set(d).element(this)},u.prototype.att=function(d,p){return this.attribute(d,p)},u.prototype.a=function(d,p){return this.attribute(d,p)},u}(t)}).call(Dt)),Uj.exports}var Mj={exports:{}},c8;function O2(){return c8||(c8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Mj.exports=function(r){t(i,r);function i(s,o){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(o)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return this.options.writer.set(s).cdata(this)},i}(e)}).call(Dt)),Mj.exports}var qj={exports:{}},l8;function I2(){return l8||(l8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),qj.exports=function(r){t(i,r);function i(s,o){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(o)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return this.options.writer.set(s).comment(this)},i}(e)}).call(Dt)),qj.exports}var Bj={exports:{}},u8;function U2(){return u8||(u8=1,(function(){var e,t,n=function(i,s){for(var o in s)r.call(s,o)&&(i[o]=s[o]);function c(){this.constructor=i}return c.prototype=s.prototype,i.prototype=new c,i.__super__=s.prototype,i},r={}.hasOwnProperty;t=Ru().isObject,e=yi(),Bj.exports=function(i){n(s,i);function s(o,c,l,u){var d;s.__super__.constructor.call(this,o),t(c)&&(d=c,c=d.version,l=d.encoding,u=d.standalone),c||(c="1.0"),this.version=this.stringify.xmlVersion(c),l!=null&&(this.encoding=this.stringify.xmlEncoding(l)),u!=null&&(this.standalone=this.stringify.xmlStandalone(u))}return s.prototype.toString=function(o){return this.options.writer.set(o).declaration(this)},s}(e)}).call(Dt)),Bj.exports}var zj={exports:{}},$j={exports:{}},d8;function F2(){return d8||(d8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),$j.exports=function(r){t(i,r);function i(s,o,c,l,u,d){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(c==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!l)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!u)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(u.indexOf("#")!==0&&(u="#"+u),!u.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(d&&!u.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.eleName(o),this.attributeName=this.stringify.attName(c),this.attributeType=this.stringify.dtdAttType(l),this.defaultValue=this.stringify.dtdAttDefault(d),this.defaultValueType=u}return i.prototype.toString=function(s){return this.options.writer.set(s).dtdAttList(this)},i}(e)}).call(Dt)),$j.exports}var Wj={exports:{}},p8;function M2(){return p8||(p8=1,(function(){var e,t,n=function(i,s){for(var o in s)r.call(s,o)&&(i[o]=s[o]);function c(){this.constructor=i}return c.prototype=s.prototype,i.prototype=new c,i.__super__=s.prototype,i},r={}.hasOwnProperty;t=Ru().isObject,e=yi(),Wj.exports=function(i){n(s,i);function s(o,c,l,u){if(s.__super__.constructor.call(this,o),l==null)throw new Error("Missing DTD entity name. "+this.debugInfo(l));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(l));if(this.pe=!!c,this.name=this.stringify.eleName(l),!t(u))this.value=this.stringify.dtdEntityValue(u);else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(l));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(l));if(u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(l))}}return s.prototype.toString=function(o){return this.options.writer.set(o).dtdEntity(this)},s}(e)}).call(Dt)),Wj.exports}var Vj={exports:{}},f8;function q2(){return f8||(f8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Vj.exports=function(r){t(i,r);function i(s,o,c){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());c||(c="(#PCDATA)"),Array.isArray(c)&&(c="("+c.join(",")+")"),this.name=this.stringify.eleName(o),this.value=this.stringify.dtdElementValue(c)}return i.prototype.toString=function(s){return this.options.writer.set(s).dtdElement(this)},i}(e)}).call(Dt)),Vj.exports}var Hj={exports:{}},h8;function B2(){return h8||(h8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Hj.exports=function(r){t(i,r);function i(s,o,c){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!c.pubID&&!c.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.eleName(o),c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID))}return i.prototype.toString=function(s){return this.options.writer.set(s).dtdNotation(this)},i}(e)}).call(Dt)),Hj.exports}var m8;function z2(){return m8||(m8=1,(function(){var e,t,n,r,i,s,o=function(l,u){for(var d in u)c.call(u,d)&&(l[d]=u[d]);function p(){this.constructor=l}return p.prototype=u.prototype,l.prototype=new p,l.__super__=u.prototype,l},c={}.hasOwnProperty;s=Ru().isObject,i=yi(),e=F2(),n=M2(),t=q2(),r=B2(),zj.exports=function(l){o(u,l);function u(d,p,h){var f,v;u.__super__.constructor.call(this,d),this.name="!DOCTYPE",this.documentObject=d,s(p)&&(f=p,p=f.pubID,h=f.sysI
860D),h==null&&(v=[p,h],h=v[0],p=v[1]),p!=null&&(this.pubID=this.stringify.dtdPubID(p)),h!=null&&(this.sysID=this.stringify.dtdSysID(h))}return u.prototype.element=function(d,p){var h;return h=new t(this,d,p),this.children.push(h),this},u.prototype.attList=function(d,p,h,f,v){var m;return m=new e(this,d,p,h,f,v),this.children.push(m),this},u.prototype.entity=function(d,p){var h;return h=new n(this,!1,d,p),this.children.push(h),this},u.prototype.pEntity=function(d,p){var h;return h=new n(this,!0,d,p),this.children.push(h),this},u.prototype.notation=function(d,p){var h;return h=new r(this,d,p),this.children.push(h),this},u.prototype.toString=function(d){return this.options.writer.set(d).docType(this)},u.prototype.ele=function(d,p){return this.element(d,p)},u.prototype.att=function(d,p,h,f,v){return this.attList(d,p,h,f,v)},u.prototype.ent=function(d,p){return this.entity(d,p)},u.prototype.pent=function(d,p){return this.pEntity(d,p)},u.prototype.not=function(d,p){return this.notation(d,p)},u.prototype.up=function(){return this.root()||this.documentObject},u}(i)}).call(Dt)),zj.exports}var Gj={exports:{}},g8;function $2(){return g8||(g8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Gj.exports=function(r){t(i,r);function i(s,o){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(o)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return this.options.writer.set(s).raw(this)},i}(e)}).call(Dt)),Gj.exports}var Xj={exports:{}},x8;function W2(){return x8||(x8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Xj.exports=function(r){t(i,r);function i(s,o){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(o)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return this.options.writer.set(s).text(this)},i}(e)}).call(Dt)),Xj.exports}var Kj={exports:{}},y8;function V2(){return y8||(y8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Kj.exports=function(r){t(i,r);function i(s,o,c){if(i.__super__.constructor.call(this,s),o==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(o),c&&(this.value=this.stringify.insValue(c))}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return this.options.writer.set(s).processingInstruction(this)},i}(e)}).call(Dt)),Kj.exports}var Yj={exports:{}},v8;function MS(){return v8||(v8=1,(function(){var e,t=function(r,i){for(var s in i)n.call(i,s)&&(r[s]=i[s]);function o(){this.constructor=r}return o.prototype=i.prototype,r.prototype=new o,r.__super__=i.prototype,r},n={}.hasOwnProperty;e=yi(),Yj.exports=function(r){t(i,r);function i(s){i.__super__.constructor.call(this,s),this.isDummy=!0}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(s){return""},i}(e)}).call(Dt)),Yj.exports}var b8;function yi(){return b8||(b8=1,(function(){var e,t,n,r,i,s,o,c,l,u,d,p,h,f,v={}.hasOwnProperty;f=Ru(),h=f.isObject,p=f.isFunction,d=f.isEmpty,u=f.getValue,s=null,e=null,t=null,n=null,r=null,c=null,l=null,o=null,i=null,Ij.exports=function(){function m(y){this.parent=y,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],s||(s=R2(),e=O2(),t=I2(),n=U2(),r=z2(),c=$2(),l=W2(),o=V2(),i=MS())}return m.prototype.element=function(y,g,x){var b,_,E,T,A,w,S,k,P,D,R;if(w=null,g===null&&x==null&&(P=[{},null],g=P[0],x=P[1]),g==null&&(g={}),g=u(g),h(g)||(D=[g,x],x=D[0],g=D[1]),y!=null&&(y=u(y)),Array.isArray(y))for(E=0,S=y.length;E<S;
860E++)_=y[E],w=this.element(_);else if(p(y))w=this.element(y.apply());else if(h(y)){for(A in y)if(v.call(y,A))if(R=y[A],p(R)&&(R=R.apply()),h(R)&&d(R)&&(R=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&A.indexOf(this.stringify.convertAttKey)===0)w=this.attribute(A.substr(this.stringify.convertAttKey.length),R);else if(!this.options.separateArrayItems&&Array.isArray(R))for(T=0,k=R.length;T<k;T++)_=R[T],b={},b[A]=_,w=this.element(b);else h(R)?(w=this.element(A),w.element(R)):w=this.element(A,R)}else this.options.skipNullNodes&&x===null?w=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&y.indexOf(this.stringify.convertTextKey)===0?w=this.text(x):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&y.indexOf(this.stringify.convertCDataKey)===0?w=this.cdata(x):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&y.indexOf(this.stringify.convertCommentKey)===0?w=this.comment(x):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&y.indexOf(this.stringify.convertRawKey)===0?w=this.raw(x):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&y.indexOf(this.stringify.convertPIKey)===0?w=this.instruction(y.substr(this.stringify.convertPIKey.length),x):w=this.node(y,g,x);if(w==null)throw new Error("Could not create any elements with: "+y+". "+this.debugInfo());return w},m.prototype.insertBefore=function(y,g,x){var b,_,E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return _=this.parent.children.indexOf(this),E=this.parent.children.splice(_),b=this.parent.element(y,g,x),Array.prototype.push.apply(this.parent.children,E),b},m.prototype.insertAfter=function(y,g,x){var b,_,E;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(y));return _=this.parent.children.indexOf(this),E=this.parent.children.splice(_+1),b=this.parent.element(y,g,x),Array.prototype.push.apply(this.parent.children,E),b},m.prototype.remove=function(){var y;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return y=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[y,y-y+1].concat([])),this.parent},m.prototype.node=function(y,g,x){var b,_;return y!=null&&(y=u(y)),g||(g={}),g=u(g),h(g)||(_=[g,x],x=_[0],g=_[1]),b=new s(this,y,g),x!=null&&b.text(x),this.children.push(b),b},m.prototype.text=function(y){var g;return g=new l(this,y),this.children.push(g),this},m.prototype.cdata=function(y){var g;return g=new e(this,y),this.children.push(g),this},m.prototype.comment=function(y){var g;return g=new t(this,y),this.children.push(g),this},m.prototype.commentBefore=function(y){var g,x;return g=this.parent.children.indexOf(this),x=this.parent.children.splice(g),this.parent.comment(y),Array.prototype.push.apply(this.parent.children,x),this},m.prototype.commentAfter=function(y){var g,x;return g=this.parent.children.indexOf(this),x=this.parent.children.splice(g+1),this.parent.comment(y),Array.prototype.push.apply(this.parent.children,x),this},m.prototype.raw=function(y){var g;return g=new c(this,y),this.children.push(g),this},m.prototype.dummy=function(){var y;return y=new i(this),this.children.push(y),y},m.prototype.instruction=function(y,g){var x,b,_,E,T;if(y!=null&&(y=u(y)),g!=null&&(g=u(g)),Array.isArray(y))for(E=0,T=y.length;E<T;E++)x=y[E],this.instruction(x);else if(h(y))for(x in y)v.call(y,x)&&(b=y[x],this.instruction(x,b));else p(g)&&(g=g.apply()),_=new o(this,y,g),this.children.push(_);return this},m.prototype.instructionBefore=function(y,g){var x,b;return x=this.parent.children.indexOf(this),b=this.parent.children.splice(x),this.parent.instruction(y,g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.instructionAfter=function(y,g){var x,b;return x=this.parent.children.indexOf(this),b=this.parent.children.splice(x+1),this.parent.instruction(y,g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.declaration=function(y,g,x){var b,_;return b=this.document(),_=new n(b,y,g,x),b.children[0]instanceof n?b.children[0]=_:b.children.unshift(_),b.root
860()||b},m.prototype.doctype=function(y,g){var x,b,_,E,T,A,w,S,k,P;for(b=this.document(),_=new r(b,y,g),k=b.children,E=T=0,w=k.length;T<w;E=++T)if(x=k[E],x instanceof r)return b.children[E]=_,_;for(P=b.children,E=A=0,S=P.length;A<S;E=++A)if(x=P[E],x.isRoot)return b.children.splice(E,0,_),_;return b.children.push(_),_},m.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},m.prototype.root=function(){var y;for(y=this;y;){if(y.isDocument)return y.rootObject;if(y.isRoot)return y;y=y.parent}},m.prototype.document=function(){var y;for(y=this;y;){if(y.isDocument)return y;y=y.parent}},m.prototype.end=function(y){return this.document().end(y)},m.prototype.prev=function(){var y;for(y=this.parent.children.indexOf(this);y>0&&this.parent.children[y-1].isDummy;)y=y-1;if(y<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[y-1]},m.prototype.next=function(){var y;for(y=this.parent.children.indexOf(this);y<this.parent.children.length-1&&this.parent.children[y+1].isDummy;)y=y+1;if(y===-1||y===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[y+1]},m.prototype.importDocument=function(y){var g;return g=y.root().clone(),g.parent=this,g.isRoot=!1,this.children.push(g),this},m.prototype.debugInfo=function(y){var g,x;return y=y||this.name,y==null&&!((g=this.parent)!=null&&g.name)?"":y==null?"parent: <"+this.parent.name+">":(x=this.parent)!=null&&x.name?"node: <"+y+">, parent: <"+this.parent.name+">":"node: <"+y+">"},m.prototype.ele=function(y,g,x){return this.element(y,g,x)},m.prototype.nod=function(y,g,x){return this.node(y,g,x)},m.prototype.txt=function(y){return this.text(y)},m.prototype.dat=function(y){return this.cdata(y)},m.prototype.com=function(y){return this.comment(y)},m.prototype.ins=function(y,g){return this.instruction(y,g)},m.prototype.doc=function(){return this.document()},m.prototype.dec=function(y,g,x){return this.declaration(y,g,x)},m.prototype.dtd=function(y,g){return this.doctype(y,g)},m.prototype.e=function(y,g,x){return this.element(y,g,x)},m.prototype.n=function(y,g,x){return this.node(y,g,x)},m.prototype.t=function(y){return this.text(y)},m.prototype.d=function(y){return this.cdata(y)},m.prototype.c=function(y){return this.comment(y)},m.prototype.r=function(y){return this.raw(y)},m.prototype.i=function(y,g){return this.instruction(y,g)},m.prototype.u=function(){return this.up()},m.prototype.importXMLBuilder=function(y){return this.importDocument(y)},m}()}).call(Dt)),Ij.exports}var Qj={exports:{}},w8;function JB(){return w8||(w8=1,(function(){var e=function(n,r){return function(){return n.apply(r,arguments)}},t={}.hasOwnProperty;Qj.exports=function(){function n(r){this.assertLegalChar=e(this.assertLegalChar,this);var i,s,o;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,s=r.stringify||{};for(i in s)t.call(s,i)&&(o=s[i],this[i]=o)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},n}()}).call(Dt)),Qj.exports}var Zj={exports:{}}
860,Jj={exports:{}},j8;function ez(){return j8||(j8=1,(function(){var e={}.hasOwnProperty;Jj.exports=function(){function t(n){var r,i,s,o,c,l,u,d,p;n||(n={}),this.pretty=n.pretty||!1,this.allowEmpty=(i=n.allowEmpty)!=null?i:!1,this.pretty?(this.indent=(s=n.indent)!=null?s:" ",this.newline=(o=n.newline)!=null?o:` 861`,this.offset=(c=n.offset)!=null?c:0,this.dontprettytextnodes=(l=n.dontprettytextnodes)!=null?l:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(u=n.spacebeforeslash)!=null?u:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,d=n.writer||{};for(r in d)e.call(d,r)&&(p=d[r],this[r]=p)}return t.prototype.set=function(n){var r,i,s;n||(n={}),"pretty"in n&&(this.pretty=n.pretty),"allowEmpty"in n&&(this.allowEmpty=n.allowEmpty),this.pretty?(this.indent="indent"in n?n.indent:" ",this.newline="newline"in n?n.newline:` 862`,this.offset="offset"in n?n.offset:0,this.dontprettytextnodes="dontprettytextnodes"in n?n.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in n?n.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=n.writer||{};for(r in i)e.call(i,r)&&(s=i[r],this[r]=s);return this},t.prototype.space=function(n){var r;return this.pretty?(r=(n||0)+this.offset+1,r>0?new Array(r).join(this.indent):""):""},t}()}).call(Dt)),Jj.exports}var _8;function qS(){return _8||(_8=1,(function(){var e,t,n,r,i,s,o,c,l,u,d,p,h,f,v=function(y,g){for(var x in g)m.call(g,x)&&(y[x]=g[x]);function b(){this.constructor=y}return b.prototype=g.prototype,y.prototype=new b,y.__super__=g.prototype,y},m={}.hasOwnProperty;o=U2(),c=z2(),e=O2(),t=I2(),u=R2(),p=$2(),h=W2(),d=V2(),l=MS(),n=F2(),r=q2(),i=M2(),s=B2(),f=ez(),Zj.exports=function(y){v(g,y);function g(x){g.__super__.constructor.call(this,x)}return g.prototype.document=function(x){var b,_,E,T,A;for(this.textispresent=!1,T="",A=x.children,_=0,E=A.length;_<E;_++)b=A[_],!(b instanceof l)&&(T+=(function(){switch(!1){case!(b instanceof o):return this.declaration(b);case!(b instanceof c):return this.docType(b);case!(b instanceof t):return this.comment(b);case!(b instanceof d):return this.processingInstruction(b);default:return this.element(b,0)}}).call(this));return this.pretty&&T.slice(-this.newline.length)===this.newline&&(T=T.slice(0,-this.newline.length)),T},g.prototype.attribute=function(x){return" "+x.name+'="'+x.value+'"'},g.prototype.cdata=function(x,b){return this.space(b)+"<![CDATA["+x.text+"]]>"+this.newline},g.prototype.comment=function(x,b){return this.space(b)+"<!-- "+x.text+" -->"+this.newline},g.prototype.declaration=function(x,b){var _;return _=this.space(b),_+='<?xml version="'+x.version+'"',x.encoding!=null&&(_+=' encoding="'+x.encoding+'"'),x.standalone!=null&&(_+=' standalone="'+x.standalone+'"'),_+=this.spacebeforeslash+"?>",_+=this.newline,_},g.prototype.docType=function(x,b){var _,E,T,A,w;if(b||(b=0),A=this.space(b),A+="<!DOCTYPE "+x.root().name,x.pubID&&x.sysID?A+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.sysID&&(A+=' SYSTEM "'+x.sysID+'"'),x.children.length>0){for(A+=" [",A+=this.newline,w=x.children,E=0,T=w.length;E<T;E++)_=w[E],A+=(function(){switch(!1){case!(_ instanceof n):return this.dtdAttList(_,b+1);case!(_ instanceof r):return this.dtdElement(_,b+1);case!(_ instanceof i):return this.dtdEntity(_,b+1);case!(_ instanceof s):return this.dtdNotation(_,b+1);case!(_ instanceof e):return this.cdata(_,b+1);case!(_ instanceof t):return this.comment(_,b+1);case!(_ instanceof d):return this.processingInstruction(_,b+1);default:throw new Error("Unknown DTD node type: "+_.constructor.name)}}).call(this);A+="]"}return A+=this.spacebeforeslash+">",A+=this.newline,A},g.prototype.element=function(x,b){var _,E,T,A,w,S,k,P,D,R,N,q,I;b||(b=0),I=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),q=this.space(b),P="",P+=q+"<"+x.name,D=x.attributes;for(k in D)m.call(D,k)&&(_=D[k],P+=this.attribute(_));if(x.children.length===0||x.children.every(function(z){return z.value===""}))this.allowEmpty?P+="></"+x.name+">"+this.newline:P+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&x.children.length===1&&x.children[0].value!=null)P+=">",P+=x.children[0].value,P+="</"+x.name+">"+this.newline;else{if(this.dontprettytextnodes){for(R=x.children,T=0,w=R.length;T<w;T++)if(E=R[T],E.value!=null){this.textispresent++,I=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,q=this.space(b)),P+=">"+this.newline,N=x.children,A=0,S=N.length;A<S;A++)E=N[A],P+=(function(){switch(!1){case!(E instanceof e):return this.cdata(E,b+1);case!(E instanceof t):return this.comment(E,b+1);
862case!(E instanceof u):return this.element(E,b+1);case!(E instanceof p):return this.raw(E,b+1);case!(E instanceof h):return this.text(E,b+1);case!(E instanceof d):return this.processingInstruction(E,b+1);case!(E instanceof l):return"";default:throw new Error("Unknown XML node type: "+E.constructor.name)}}).call(this);I&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),P+=q+"</"+x.name+">"+this.newline}return P},g.prototype.processingInstruction=function(x,b){var _;return _=this.space(b)+"<?"+x.target,x.value&&(_+=" "+x.value),_+=this.spacebeforeslash+"?>"+this.newline,_},g.prototype.raw=function(x,b){return this.space(b)+x.value+this.newline},g.prototype.text=function(x,b){return this.space(b)+x.value+this.newline},g.prototype.dtdAttList=function(x,b){var _;return _=this.space(b)+"<!ATTLIST "+x.elementName+" "+x.attributeName+" "+x.attributeType,x.defaultValueType!=="#DEFAULT"&&(_+=" "+x.defaultValueType),x.defaultValue&&(_+=' "'+x.defaultValue+'"'),_+=this.spacebeforeslash+">"+this.newline,_},g.prototype.dtdElement=function(x,b){return this.space(b)+"<!ELEMENT "+x.name+" "+x.value+this.spacebeforeslash+">"+this.newline},g.prototype.dtdEntity=function(x,b){var _;return _=this.space(b)+"<!ENTITY",x.pe&&(_+=" %"),_+=" "+x.name,x.value?_+=' "'+x.value+'"':(x.pubID&&x.sysID?_+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.sysID&&(_+=' SYSTEM "'+x.sysID+'"'),x.nData&&(_+=" NDATA "+x.nData)),_+=this.spacebeforeslash+">"+this.newline,_},g.prototype.dtdNotation=function(x,b){var _;return _=this.space(b)+"<!NOTATION "+x.name,x.pubID&&x.sysID?_+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.pubID?_+=' PUBLIC "'+x.pubID+'"':x.sysID&&(_+=' SYSTEM "'+x.sysID+'"'),_+=this.spacebeforeslash+">"+this.newline,_},g.prototype.openNode=function(x,b){var _,E,T,A;if(b||(b=0),x instanceof u){T=this.space(b)+"<"+x.name,A=x.attributes;for(E in A)m.call(A,E)&&(_=A[E],T+=this.attribute(_));return T+=(x.children?">":"/>")+this.newline,T}else return T=this.space(b)+"<!DOCTYPE "+x.rootNodeName,x.pubID&&x.sysID?T+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.sysID&&(T+=' SYSTEM "'+x.sysID+'"'),T+=(x.children?" [":">")+this.newline,T},g.prototype.closeNode=function(x,b){switch(b||(b=0),!1){case!(x instanceof u):return this.space(b)+"</"+x.name+">"+this.newline;case!(x instanceof c):return this.space(b)+"]>"+this.newline}},g}(f)}).call(Dt)),Zj.exports}var N8;function gde(){return N8||(N8=1,(function(){var e,t,n,r,i=function(o,c){for(var l in c)s.call(c,l)&&(o[l]=c[l]);function u(){this.constructor=o}return u.prototype=c.prototype,o.prototype=new u,o.__super__=c.prototype,o},s={}.hasOwnProperty;r=Ru().isPlainObject,e=yi(),n=JB(),t=qS(),Oj.exports=function(o){i(c,o);function c(l){c.__super__.constructor.call(this,null),this.name="?xml",l||(l={}),l.writer||(l.writer=new t),this.options=l,this.stringify=new n(l),this.isDocument=!0}return c.prototype.end=function(l){var u;return l?r(l)&&(u=l,l=this.options.writer.set(u)):l=this.options.writer,l.document(this)},c.prototype.toString=function(l){return this.options.writer.set(l).document(this)},c}(e)}).call(Dt)),Oj.exports}var e_={exports:{}},C8;function xde(){return C8||(C8=1,(function(){var e,t,n,r,i,s,o,c,l,u,d,p,h,f,v,m,y,g,x,b,_={}.hasOwnProperty;b=Ru(),g=b.isObject,y=b.isFunction,x=b.isPlainObject,m=b.getValue,u=R2(),t=O2(),n=I2(),p=$2(),v=W2(),d=V2(),c=U2(),l=z2(),r=F2(),s=M2(),i=q2(),o=B2(),e=ZB(),f=JB(),h=qS(),e_.exports=function(){function E(T,A,w){var S;this.name="?xml",T||(T={}),T.writer?x(T.writer)&&(S=T.writer,T.writer=new h(S)):T.writer=new h(T),this.options=T,this.writer=T.writer,this.stringify=new f(T),this.onDataCallback=A||function(){},this.onEndCallback=w||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return E.prototype.node=function(T,A,w){var S,k;if(T==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(T));return this.openCurrent(),T=m(T),A===null&&w==null&&(S=[{},null],A=S[0],w=S[1]),A==null&&(A={}),A=m(A),g(A)||(k=[A,w],w=k[0],A=k[1]),this.currentNode=new u(this,T,A),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,w!=null&&this.text(w),this}
862,E.prototype.element=function(T,A,w){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(T,A,w)},E.prototype.attribute=function(T,A){var w,S;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(T));if(T!=null&&(T=m(T)),g(T))for(w in T)_.call(T,w)&&(S=T[w],this.attribute(w,S));else y(A)&&(A=A.apply()),(!this.options.skipNullAttributes||A!=null)&&(this.currentNode.attributes[T]=new e(this,T,A));return this},E.prototype.text=function(T){var A;return this.openCurrent(),A=new v(this,T),this.onData(this.writer.text(A,this.currentLevel+1),this.currentLevel+1),this},E.prototype.cdata=function(T){var A;return this.openCurrent(),A=new t(this,T),this.onData(this.writer.cdata(A,this.currentLevel+1),this.currentLevel+1),this},E.prototype.comment=function(T){var A;return this.openCurrent(),A=new n(this,T),this.onData(this.writer.comment(A,this.currentLevel+1),this.currentLevel+1),this},E.prototype.raw=function(T){var A;return this.openCurrent(),A=new p(this,T),this.onData(this.writer.raw(A,this.currentLevel+1),this.currentLevel+1),this},E.prototype.instruction=function(T,A){var w,S,k,P,D;if(this.openCurrent(),T!=null&&(T=m(T)),A!=null&&(A=m(A)),Array.isArray(T))for(w=0,P=T.length;w<P;w++)S=T[w],this.instruction(S);else if(g(T))for(S in T)_.call(T,S)&&(k=T[S],this.instruction(S,k));else y(A)&&(A=A.apply()),D=new d(this,T,A),this.onData(this.writer.processingInstruction(D,this.currentLevel+1),this.currentLevel+1);return this},E.prototype.declaration=function(T,A,w){var S;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return S=new c(this,T,A,w),this.onData(this.writer.declaration(S,this.currentLevel+1),this.currentLevel+1),this},E.prototype.doctype=function(T,A,w){if(this.openCurrent(),T==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new l(this,A,w),this.currentNode.rootNodeName=T,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},E.prototype.dtdElement=function(T,A){var w;return this.openCurrent(),w=new i(this,T,A),this.onData(this.writer.dtdElement(w,this.currentLevel+1),this.currentLevel+1),this},E.prototype.attList=function(T,A,w,S,k){var P;return this.openCurrent(),P=new r(this,T,A,w,S,k),this.onData(this.writer.dtdAttList(P,this.currentLevel+1),this.currentLevel+1),this},E.prototype.entity=function(T,A){var w;return this.openCurrent(),w=new s(this,!1,T,A),this.onData(this.writer.dtdEntity(w,this.currentLevel+1),this.currentLevel+1),this},E.prototype.pEntity=function(T,A){var w;return this.openCurrent(),w=new s(this,!0,T,A),this.onData(this.writer.dtdEntity(w,this.currentLevel+1),this.currentLevel+1),this},E.prototype.notation=function(T,A){var w;return this.openCurrent(),w=new o(this,T,A),this.onData(this.writer.dtdNotation(w,this.currentLevel+1),this.currentLevel+1),this},E.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},E.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},E.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},E.prototype.openNode=function(T){if(!T.isOpen)return!this.root&&this.currentLevel===0&&T instanceof u&&(this.root=T),this.onData(this.writer.openNode(T,this.currentLevel),this.currentLevel),T.isOpen=!0},E.prototype.closeNode=function(T){if(!T.isClosed)return this.onData(this.writer.closeNode(T,this.currentLevel),this.currentLevel),T.isClosed=!0},E.prototype.onData=function(T,A){return this.documentStarted=!0,this.onDataCallback(T,A+1)},E.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},E.prototype.debugInfo=function(T){return T==null?"":"node: <"+T+">"},E.prototype.ele=function(){return this.element.apply(this,arguments)}
862,E.prototype.nod=function(T,A,w){return this.node(T,A,w)},E.prototype.txt=function(T){return this.text(T)},E.prototype.dat=function(T){return this.cdata(T)},E.prototype.com=function(T){return this.comment(T)},E.prototype.ins=function(T,A){return this.instruction(T,A)},E.prototype.dec=function(T,A,w){return this.declaration(T,A,w)},E.prototype.dtd=function(T,A,w){return this.doctype(T,A,w)},E.prototype.e=function(T,A,w){return this.element(T,A,w)},E.prototype.n=function(T,A,w){return this.node(T,A,w)},E.prototype.t=function(T){return this.text(T)},E.prototype.d=function(T){return this.cdata(T)},E.prototype.c=function(T){return this.comment(T)},E.prototype.r=function(T){return this.raw(T)},E.prototype.i=function(T,A){return this.instruction(T,A)},E.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},E.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},E.prototype.ent=function(T,A){return this.entity(T,A)},E.prototype.pent=function(T,A){return this.pEntity(T,A)},E.prototype.not=function(T,A){return this.notation(T,A)},E}()}).call(Dt)),e_.exports}var t_={exports:{}},E8;function yde(){return E8||(E8=1,(function(){var e,t,n,r,i,s,o,c,l,u,d,p,h,f,v=function(y,g){for(var x in g)m.call(g,x)&&(y[x]=g[x]);function b(){this.constructor=y}return b.prototype=g.prototype,y.prototype=new b,y.__super__=g.prototype,y},m={}.hasOwnProperty;o=U2(),c=z2(),e=O2(),t=I2(),u=R2(),p=$2(),h=W2(),d=V2(),l=MS(),n=F2(),r=q2(),i=M2(),s=B2(),f=ez(),t_.exports=function(y){v(g,y);function g(x,b){g.__super__.constructor.call(this,b),this.stream=x}return g.prototype.document=function(x){var b,_,E,T,A,w,S,k;for(w=x.children,_=0,T=w.length;_<T;_++)b=w[_],b.isLastRootNode=!1;for(x.children[x.children.length-1].isLastRootNode=!0,S=x.children,k=[],E=0,A=S.length;E<A;E++)if(b=S[E],!(b instanceof l))switch(!1){case!(b instanceof o):k.push(this.declaration(b));break;case!(b instanceof c):k.push(this.docType(b));break;case!(b instanceof t):k.push(this.comment(b));break;case!(b instanceof d):k.push(this.processingInstruction(b));break;default:k.push(this.element(b))}return k},g.prototype.attribute=function(x){return this.stream.write(" "+x.name+'="'+x.value+'"')},g.prototype.cdata=function(x,b){return this.stream.write(this.space(b)+"<![CDATA["+x.text+"]]>"+this.endline(x))},g.prototype.comment=function(x,b){return this.stream.write(this.space(b)+"<!-- "+x.text+" -->"+this.endline(x))},g.prototype.declaration=function(x,b){return this.stream.write(this.space(b)),this.stream.write('<?xml version="'+x.version+'"'),x.encoding!=null&&this.stream.write(' encoding="'+x.encoding+'"'),x.standalone!=null&&this.stream.write(' standalone="'+x.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(x))},g.prototype.docType=function(x,b){var _,E,T,A;if(b||(b=0),this.stream.write(this.space(b)),this.stream.write("<!DOCTYPE "+x.root().name),x.pubID&&x.sysID?this.stream.write(' PUBLIC "'+x.pubID+'" "'+x.sysID+'"'):x.sysID&&this.stream.write(' SYSTEM "'+x.sysID+'"'),x.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(x)),A=x.children,E=0,T=A.length;E<T;E++)switch(_=A[E],!1){case!(_ instanceof n):this.dtdAttList(_,b+1);break;case!(_ instanceof r):this.dtdElement(_,b+1);break;case!(_ instanceof i):this.dtdEntity(_,b+1);break;case!(_ instanceof s):this.dtdNotation(_,b+1);break;case!(_ instanceof e):this.cdata(_,b+1);break;case!(_ instanceof t):this.comment(_,b+1);break;case!(_ instanceof d):this.processingInstruction(_,b+1);break;default:throw new Error("Unknown DTD node type: "+_.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(x))},g.prototype.element=function(x,b){var _,E,T,A,w,S,k,P;b||(b=0),P=this.space(b),this.stream.write(P+"<"+x.name),S=x.attributes;for(w in S)m.call(S,w)&&(_=S[w],this.attribute(_));if(x.children.length===0||x.children.every(function(D){return D.value===""}))this.allowEmpty?this.stream.write("></"+x.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&x.children.length===1&&x.children[0].value!=null)this.stream.write(">"),this.stream.write(x.children[0].value),this.stream.write("</"+x.name+">");else{for(this.stream.write(">"+this.newline),k=x.children,T=0,A=k.length;T<A;T++)switch(E=k[T],!1){case!(E instanceof e):this.cdata(E,b+1);break;case!(E instanceof t):this.comment(E,b+1);break;
862case!(E instanceof u):this.element(E,b+1);break;case!(E instanceof p):this.raw(E,b+1);break;case!(E instanceof h):this.text(E,b+1);break;case!(E instanceof d):this.processingInstruction(E,b+1);break;case!(E instanceof l):break;default:throw new Error("Unknown XML node type: "+E.constructor.name)}this.stream.write(P+"</"+x.name+">")}return this.stream.write(this.endline(x))},g.prototype.processingInstruction=function(x,b){return this.stream.write(this.space(b)+"<?"+x.target),x.value&&this.stream.write(" "+x.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(x))},g.prototype.raw=function(x,b){return this.stream.write(this.space(b)+x.value+this.endline(x))},g.prototype.text=function(x,b){return this.stream.write(this.space(b)+x.value+this.endline(x))},g.prototype.dtdAttList=function(x,b){return this.stream.write(this.space(b)+"<!ATTLIST "+x.elementName+" "+x.attributeName+" "+x.attributeType),x.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+x.defaultValueType),x.defaultValue&&this.stream.write(' "'+x.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(x))},g.prototype.dtdElement=function(x,b){return this.stream.write(this.space(b)+"<!ELEMENT "+x.name+" "+x.value),this.stream.write(this.spacebeforeslash+">"+this.endline(x))},g.prototype.dtdEntity=function(x,b){return this.stream.write(this.space(b)+"<!ENTITY"),x.pe&&this.stream.write(" %"),this.stream.write(" "+x.name),x.value?this.stream.write(' "'+x.value+'"'):(x.pubID&&x.sysID?this.stream.write(' PUBLIC "'+x.pubID+'" "'+x.sysID+'"'):x.sysID&&this.stream.write(' SYSTEM "'+x.sysID+'"'),x.nData&&this.stream.write(" NDATA "+x.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(x))},g.prototype.dtdNotation=function(x,b){return this.stream.write(this.space(b)+"<!NOTATION "+x.name),x.pubID&&x.sysID?this.stream.write(' PUBLIC "'+x.pubID+'" "'+x.sysID+'"'):x.pubID?this.stream.write(' PUBLIC "'+x.pubID+'"'):x.sysID&&this.stream.write(' SYSTEM "'+x.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(x))},g.prototype.endline=function(x){return x.isLastRootNode?"":this.newline},g}(f)}).call(Dt)),t_.exports}(function(){var e,t,n,r,i,s,o;o=Ru(),i=o.assign,s=o.isFunction,e=gde(),t=xde(),r=qS(),n=yde(),gg.create=function(c,l,u,d){var p,h;if(c==null)throw new Error("Root element needs a name.");return d=i({},l,u,d),p=new e(d),h=p.element(c),d.headless||(p.declaration(d),(d.pubID!=null||d.sysID!=null)&&p.doctype(d)),h},gg.begin=function(c,l,u){var d;return s(c)&&(d=[c,l],l=d[0],u=d[1],c={}),l?new t(c,l,u):new e(c)},gg.stringWriter=function(c){return new r(c)},gg.streamWriter=function(c,l){return new n(c,l)}}).call(Dt);var S8=Ya,vde=gg;QB.writeString=bde;function bde(e,t){var n=S8.invert(t),r={element:s,text:wde};function i(l,u){return r[u.type](l,u)}function s(l,u){var d=l.element(o(u.name),u.attributes);u.children.forEach(function(p){i(d,p)})}function o(l){var u=/^\{(.*)\}(.*)$/.exec(l);if(u){var d=n[u[1]];return d+(d===""?"":":")+u[2]}else return l}function c(l){var u=vde.create(o(l.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return S8.forEach(t,function(d,p){var h="xmlns"+(p===""?"":":"+p);u.attribute(h,d)}),l.children.forEach(function(d){i(u,d)}),u.end()}return c(e)}function wde(e,t){e.text(t.value)}var H2=Jh;Lu.Element=H2.Element;Lu.element=H2.element;Lu.emptyElement=H2.emptyElement;Lu.text=H2.text;Lu.readString=bB.readString;Lu.writeString=QB.writeString;var jde=Ya,_de=ka,Nde=Lu;NS.read=tz;NS.readXmlFromZipFile=Ede;var Cde={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function tz(e){return Nde.readString(e,Cde).then(function(t){return nz(t)[0]})}function Ede(e,t){return e.exists(t)?e.read(t,"utf-8").then(Sde).then(tz):_de.resolve(null)}function Sde(e){return e.replace(/^\uFEFF/g,"")}function nz(e){return e.type==="element"?e.name==="mc:AlternateContent"?e.firstOrEmpty("mc:Fallback").children:(e.children=jde.flatten(e.children.map(nz,!0)),[e]):[e]}var BS={},cu={},zS={};Object.defineProperty(zS,"__esModule",{value:!0});var Dde
vendor: 119,105 bytes, line 862
862=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}]
862;zS.default=Dde;var Ade=Dt&&Dt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cu,"__esModule",{value:!0});cu.hex=cu.dec=cu.codePoint=void 0;var kde=Ade(zS),rz={},Tde=String.fromCodePoint?String.fromCodePoint:Ode;for(var n_=0,D8=kde.default;n_<D8.length;n_++){var r_=D8[n_],A8=parseInt(r_["Unicode dec"],10),Pde={codePoint:A8,string:Tde(A8)};rz[r_["Typeface name"].toUpperCase()+"_"+r_["Dingbat dec"]]=Pde}function $S(e,t){return rz[e.toUpperCase()+"_"+t]}cu.codePoint=$S;function Lde(e,t){return $S(e,parseInt(t,10))}cu.dec=Lde;function Rde(e,t){return $S(e,parseInt(t,16))}cu.hex=Rde;function Ode(e){if(e<=65535)return String.fromCharCode(e);var t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}var xp={},k8=Ya;xp.paragraph=Ide;xp.run=Ude;xp._elements=az;xp._elementsOfType=WS;xp.getDescendantsOfType=Fde;xp.getDescendants=iz;function Ide(e){return WS("paragraph",e)}function Ude(e){return WS("run",e)}function WS(e,t){return az(function(n){return n.type===e?t(n):n})}function az(e){return function t(n){if(n.children){var r=k8.map(n.children,t);n=k8.extend(n,{children:r})}return e(n)}}function Fde(e,t){return iz(e).filter(function(n){return n.type===t})}function iz(e){var t=[];return sz(e,function(n){t.push(n)}),t}function sz(e,t){e.children&&e.children.forEach(function(n){sz(n,t),t(n)})}var VS={};VS.uriToZipEntryName=Mde;VS.replaceFragment=qde;function Mde(e,t){return t.charAt(0)==="/"?t.substr(1):e+"/"+t}function qde(e,t){var n=e.indexOf("#");return n!==-1&&(e=e.substring(0,n)),e+"#"+t}BS.createBodyReader=zde;BS._readNumberingProperties=cz;var T8=cu,hs=Ya,kn=nn,oz=Zo.Result,yc=Zo.warning,Bde=Lu,P8=xp,L8=VS;function zde(e){return{readXmlElement:function(t){return new R8(e).readXmlElement(t)},readXmlElements:function(t){return new R8(e).readXmlElements(t)}}}function R8(e){var t=[],n=[],r=[],i=e.relationships,s=e.contentTypes,o=e.docxFile,c=e.files,l=e.numbering,u=e.styles;function d(de){var we=de.map(p);return O8(we)}function p(de){if(de.type==="element"){var we=I[de.name];if(we)return we(de);if(!Object.prototype.hasOwnProperty.call(Wde,de.name)){var W=yc("An unrecognised element was ignored: "+de.name);return Jm([W])}}return Qp()}function h(de){return b(de).map(function(we){return{type:"paragraphProperties",styleId:we.styleId,styleName:we.name,alignment:de.firstOrEmpty("w:jc").attributes["w:val"],numbering:cz(we.styleId,de.firstOrEmpty("w:numPr"),l),indent:f(de.firstOrEmpty("w:ind"))}})}function f(de){return{start:de.attributes["w:start"]||de.attributes["w:left"],end:de.attributes["w:end"]||de.attributes["w:right"],firstLine:de.attributes["w:firstLine"],hanging:de.attributes["w:hanging"]}}function v(de){return _(de).map(function(we){var W=de.firstOrEmpty("w:sz").attributes["w:val"],X=/^[0-9]+$/.test(W)?parseInt(W,10)/2:null;return{type:"runProperties",styleId:we.styleId,styleName:we.name,verticalAlignment:de.firstOrEmpty("w:vertAlign").attributes["w:val"],font:de.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:X,isBold:y(de.first("w:b")),isUnderline:m(de.first("w:u")),isItalic:y(de.first("w:i")),isStrikethrough:y(de.first("w:strike")),isAllCaps:y(de.first("w:caps")),isSmallCaps:y(de.first("w:smallCaps")),highlight:x(de.firstOrEmpty("w:highlight").attributes["w:val"])}})}function m(de){if(de){var we=de.attributes["w:val"];return we!==void 0&&we!=="false"&&we!=="0"&&we!=="none"}else return!1}function y(de){if(de){var we=de.attributes["w:val"];return we!=="false"&&we!=="0"}else return!1}function g(de){return de!=="false"&&de!=="0"}function x(de){return!de||de==="none"?null:de}function b(de){return T(de,"w:pStyle","Paragraph",u.findParagraphStyleById)}function _(de){return T(de,"w:rStyle","Run",u.findCharacterStyleById)}function E(de){return T(de,"w:tblStyle","Table",u.findTableStyleById)}function T(de,we,W,X){var pe=[],ie=de.first(we),te=null,oe=null;if(ie&&(te=ie.attributes["w:val"],te)){var Ne=X(te);Ne?oe=Ne.name:pe.push(ke(W,te))}return sb({styleId:te,name:oe},pe)}function A(de){var we=de.attributes["w:fldCharType"];if(we==="begin")t.push({type:"begin",fldChar:de}),n=[];else if(we==="end"){var W=t.pop();if(W.type==="begin"&&(W=S(W)),W.type==="checkbox")return ki(kn.checkbox({checked:W.checked}))}else if(we==="separate"){var X=t.pop(),pe=S(X);t.push(pe)}return Qp()}function w(){var de=hs.last(t.filter(function(we){return we.type==="hyperlink"}));return de?de.options:null}function S(de){return k(n.join(""),de.type==="begin"?de.fldChar:Bde.emptyElement)}function k(de,we){var W=/^\s*HYPERLINK\s+(\\l\s+)?(?:"(.*)"|([^\\]\S*))/.exec(de);if(W){var X=W[2]===void 0?W[3]:W[2],pe=W[1]===void 0?{href:X}:{anchor:X};return{type:"hyperlink",options:pe}}var ie=/\s*FORMCHECKBOX\s*/.exec(de);if(ie){var te=we.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),oe=te.first("w:checked"),Ne=oe==null?y(te.first("w:default")):y(oe);return{type:"checkbox",checked:Ne}}return{type:"unknown"}}function P(de){return n.push(de.text()),Qp()}function D(de){var we=de.attributes["w:font"],W=de.attributes["w:char"],X=T8.hex(we,W);return X==null&&/^F0..$/.test(W)&&(X=T8.hex(we,W.substring(2))),X==null?Jm([yc("A w:sym element with an unsupported character was ignored: char "+W+" in font "+we)]):ki(new kn.Text(X.string))}function R(de){return function(we){var W=we.attributes["w:id"];return ki(new kn.NoteReference({noteType:de,noteId:W}))}}function N(de){return ki(kn.commentReference({commentId:de.attributes["w:id"]}))}function q(de){return d(de.children)}var I={"w:p":function(de){var we=de.firstOrEmpty("w:pPr"),W=!!we.firstOrEmpty("w:rPr").first("w:del");
862if(W)return de.children.forEach(function(pe){r.push(pe)}),Qp();var X=de.children;return r.length>0&&(X=r.concat(X),r=[]),aa.map(h(we),d(X),function(pe,ie){return new kn.Paragraph(ie,pe)}).insertExtra()},"w:r":function(de){return aa.map(v(de.firstOrEmpty("w:rPr")),d(de.children),function(we,W){var X=w();return X!==null&&(W=[new kn.Hyperlink(W,X)]),new kn.Run(W,we)})},"w:fldChar":A,"w:instrText":P,"w:t":function(de){return ki(new kn.Text(de.text()))},"w:tab":function(de){return ki(new kn.Tab)},"w:noBreakHyphen":function(){return ki(new kn.Text("â"))},"w:softHyphen":function(de){return ki(new kn.Text("Â"))},"w:sym":D,"w:hyperlink":function(de){var we=de.attributes["r:id"],W=de.attributes["w:anchor"];return d(de.children).map(function(X){function pe(te){var oe=de.attributes["w:tgtFrame"]||null;return new kn.Hyperlink(X,hs.extend({targetFrame:oe},te))}if(we){var ie=i.findTargetByRelationshipId(we);return W&&(ie=L8.replaceFragment(ie,W)),pe({href:ie})}else return W?pe({anchor:W}):X})},"w:tbl":z,"w:tr":F,"w:tc":H,"w:footnoteReference":R("footnote"),"w:endnoteReference":R("endnote"),"w:commentReference":N,"w:br":function(de){var we=de.attributes["w:type"];return we==null||we==="textWrapping"?ki(kn.lineBreak):we==="page"?ki(kn.pageBreak):we==="column"?ki(kn.columnBreak):Jm([yc("Unsupported break type: "+we)])},"w:bookmarkStart":function(de){var we=de.attributes["w:name"];return we==="_GoBack"?Qp():ki(new kn.BookmarkStart({name:we}))},"mc:AlternateContent":function(de){return q(de.firstOrEmpty("mc:Fallback"))},"w:sdt":function(de){var we=d(de.firstOrEmpty("w:sdtContent").children);return we.map(function(W){var X=de.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(X){var pe=X.first("wordml:checked"),ie=!!pe&&g(pe.attributes["wordml:val"]),te=kn.checkbox({checked:ie}),oe=!1,Ne=W.map(P8._elementsOfType(kn.types.text,function(De){return De.value.length>0&&!oe?(oe=!0,te):De}));return oe?Ne:te}else return W})},"w:ins":q,"w:object":q,"w:smartTag":q,"w:drawing":q,"w:pict":function(de){return q(de).toExtra()},"v:roundrect":q,"v:shape":q,"v:textbox":q,"w:txbxContent":q,"wp:inline":K,"wp:anchor":K,"v:imagedata":ae,"v:group":q,"v:rect":q};return{readXmlElement:p,readXmlElements:d};function z(de){var we=M(de.firstOrEmpty("w:tblPr"));return d(de.children).flatMap(O).flatMap(function(W){return we.map(function(X){return kn.Table(W,X)})})}function M(de){return E(de).map(function(we){return{styleId:we.styleId,styleName:we.name}})}function F(de){var we=de.firstOrEmpty("w:trPr"),W=!!we.first("w:del");if(W)return Qp();var X=!!we.first("w:tblHeader");return d(de.children).map(function(pe){return kn.TableRow(pe,{isHeader:X})})}function H(de){return d(de.children).map(function(we){var W=de.firstOrEmpty("w:tcPr"),X=W.firstOrEmpty("w:gridSpan").attributes["w:val"],pe=X?parseInt(X,10):1,ie=kn.TableCell(we,{colSpan:pe});return ie._vMerge=V(W),ie})}function V(de){var we=de.first("w:vMerge");if(we){var W=we.attributes["w:val"];return W==="continue"||!W}else return null}function O(de){var we=hs.any(de,function(pe){return pe.type!==kn.types.tableRow});if(we)return $(de),sb(de,[yc("unexpected non-row element in table, cell merging may be incorrect")]);var W=hs.any(de,function(pe){return hs.any(pe.children,function(ie){return ie.type!==kn.types.tableCell})});if(W)return $(de),sb(de,[yc("unexpected non-cell element in table row, cell merging may be incorrect")]);var X={};return de.forEach(function(pe){var ie=0;pe.children.forEach(function(te){te._vMerge&&X[ie]?X[ie].rowSpan++:(X[ie]=te,te._vMerge=!1),ie+=te.colSpan})}),de.forEach(function(pe){pe.children=pe.children.filter(function(ie){return!ie._vMerge}),pe.children.forEach(function(ie){delete ie._vMerge})}),ki(de)}function $(de){de.forEach(function(we){var W=P8.getDescendantsOfType(we,kn.types.tableCell);W.forEach(function(X){delete X._vMerge})})}function K(de){var we=de.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return O8(we.map(Y.bind(null,de)))}function Y(de,we){var W=de.firstOrEmpty("wp:docPr"),X=W.attributes,pe=ee(X.descr)?X.title:X.descr,ie=re(we);return ie===null?Jm([yc("Could not find image file for a:blip element")]):ge(ie,pe).map(function(te){var oe=W.firstOrEmpty("a:hlinkClick"),Ne=oe.attributes["r:id"];if(Ne){var De=i.findTargetByRelationshipId(Ne);return new kn.Hyperlink([te],{href:De})}else return te})}function ee(de){return de==null||/^\s*$/.test(de)}function re(de){var we=de.attributes["r:embed"],W=de.attributes["r:link"];if(we)return le(we);if(W){var X=i.findTargetByRelationshipId(W);return{path:X,read:c.read.bind(c,X)}}else return null}function ae(de){var we=de.attributes["r:id"];return we?ge(le(we),de.attributes["o:title"]):Jm([yc("A v:imagedata element without a relationship ID was ignored")])}function le(de){var we=L8.uriToZipEntryName("word",i.findTargetByRelationshipId(de));return{path:we,read:o.read.bind(o,we)}}function ge(de,we){var W=s.findContentType(de.path),X=kn.Image({readImage:de.read,altText:we,contentType:W}),pe=$de[W]?[]:yc("Image of type "+W+" is unlikely to display in web browsers");return sb(X,pe)}function ke(de,we){return yc(de+" style with ID "+we+" was referenced but not defined in the document")}}function cz(e,t,n){var r=t.firstOrEmpty("w:ilvl").attributes["w:val"],i=t.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(e!=null){var s=n.findLevelByParagraphStyleId(e);if(s!=null)return s}return i!==void 0?n.findLevel(i,"0"):null}var $de={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},Wde={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function Jm(e){return new aa(null,null,e)}function Qp(){return new aa(null)}function ki(e){return new aa(e)}
862function sb(e,t){return new aa(e,null,t)}function aa(e,t,n){this.value=e||[],this.extra=t||[],this._result=new oz({element:this.value,extra:t},n),this.messages=this._result.messages}aa.prototype.toExtra=function(){return new aa(null,G2(this.extra,this.value),this.messages)};aa.prototype.insertExtra=function(){var e=this.extra;return e&&e.length?new aa(G2(this.value,e),null,this.messages):this};aa.prototype.map=function(e){var t=this._result.map(function(n){return e(n.element)});return new aa(t.value,this.extra,t.messages)};aa.prototype.flatMap=function(e){var t=this._result.flatMap(function(n){return e(n.element)._result});return new aa(t.value.element,G2(this.extra,t.value.extra),t.messages)};aa.map=function(e,t,n){return new aa(n(e.value,t.value),G2(e.extra,t.extra),e.messages.concat(t.messages))};function O8(e){var t=oz.combine(hs.pluck(e,"_result"));return new aa(hs.flatten(hs.pluck(t.value,"element")),hs.filter(hs.flatten(hs.pluck(t.value,"extra")),Vde),t.messages)}function G2(e,t){return hs.flatten([e,t])}function Vde(e){return e}var lz={};lz.DocumentXmlReader=Xde;var Hde=nn,Gde=Zo.Result;function Xde(e){var t=e.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var s=t.readXmlElements(i.children).map(function(o){return new Hde.Document(o,{notes:e.notes,comments:e.comments})});return new Gde(s.value,s.messages)}return{convertXmlToDocument:n}}var X2={};X2.readRelationships=Kde;X2.defaultValue=new HS([]);X2.Relationships=HS;function Kde(e){var t=[];return e.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};t.push(r)}}),new HS(t)}function HS(e){var t={};e.forEach(function(r){t[r.relationshipId]=r.target});var n={};return e.forEach(function(r){n[r.type]||(n[r.type]=[]),n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return t[r]},findTargetsByType:function(r){return n[r]||[]}}}var GS={};GS.readContentTypesFromXml=Qde;var Yde={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};GS.defaultContentTypes=uz({},{});function Qde(e){var t={},n={};return e.children.forEach(function(r){if(r.name==="content-types:Default"&&(t[r.attributes.Extension]=r.attributes.ContentType),r.name==="content-types:Override"){var i=r.attributes.PartName;i.charAt(0)==="/"&&(i=i.substring(1)),n[i]=r.attributes.ContentType}}),uz(n,t)}function uz(e,t){return{findContentType:function(n){var r=e[n];if(r)return r;var i=n.split("."),s=i[i.length-1];if(t.hasOwnProperty(s))return t[s];var o=Yde[s.toLowerCase()];return o?"image/"+o:null}}}var K2={},ob=Ya;K2.readNumberingXml=Zde;K2.Numbering=XS;K2.defaultNumbering=new XS({},{});function XS(e,t,n){var r=ob.flatten(ob.values(t).map(function(c){return ob.values(c.levels)})),i=ob.indexBy(r.filter(function(c){return c.paragraphStyleId!=null}),"paragraphStyleId");function s(c,l){var u=e[c];if(u){var d=t[u.abstractNumId];if(d){if(d.numStyleLink==null)return t[u.abstractNumId].levels[l];var p=n.findNumberingStyleById(d.numStyleLink);return s(p.numId,l)}else return null}else return null}function o(c){return i[c]||null}return{findLevel:s,findLevelByParagraphStyleId:o}}function Zde(e,t){if(!t||!t.styles)throw new Error("styles is missing");var n=Jde(e),r=tpe(e);return new XS(r,n,t.styles)}function Jde(e){var t={};return e.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];t[r]=epe(n)}),t}function epe(e){var t={},n=null;e.getElementsByTagName("w:lvl").forEach(function(i){var s=i.attributes["w:ilvl"],o=i.firstOrEmpty("w:numFmt").attributes["w:val"],c=o!=="bullet",l=i.firstOrEmpty("w:pStyle").attributes["w:val"];s===void 0?n={isOrdered:c,level:"0",paragraphStyleId:l}:t[s]={isOrdered:c,level:s,paragraphStyleId:l}}),n!==null&&t[n.level]===void 0&&(t[n.level]=n);var r=e.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:t,numStyleLink:r}}function tpe(e){var t={};return e.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];t[r]={abstractNumId:i}}),t}var Y2={};Y2.readStylesXml=npe;Y2.Styles=Dx;Y2.defaultStyles=new Dx({},{});function Dx(e,t,n,r){return{findParagraphStyleById:function(i){return e[i]},findCharacterStyleById:function(i){return t[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}
862Dx.EMPTY=new Dx({},{},{},{});function npe(e){var t={},n={},r={},i={},s={paragraph:t,character:n,table:r,numbering:i};return e.getElementsByTagName("w:style").forEach(function(o){var c=rpe(o),l=s[c.type];l&&l[c.styleId]===void 0&&(l[c.styleId]=c)}),new Dx(t,n,r,i)}function rpe(e){var t=e.attributes["w:type"];if(t==="numbering")return ipe(t,e);var n=dz(e),r=ape(e);return{type:t,styleId:n,name:r}}function ape(e){var t=e.first("w:name");return t?t.attributes["w:val"]:null}function ipe(e,t){var n=dz(t),r=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{type:e,numId:r,styleId:n}}function dz(e){return e.attributes["w:styleId"]}var KS={},spe=nn,ope=Zo.Result;KS.createFootnotesReader=pz.bind(Dt,"footnote");KS.createEndnotesReader=pz.bind(Dt,"endnote");function pz(e,t){function n(s){return ope.combine(s.getElementsByTagName("w:"+e).filter(r).map(i))}function r(s){var o=s.attributes["w:type"];return o!=="continuationSeparator"&&o!=="separator"}function i(s){var o=s.attributes["w:id"];return t.readXmlElements(s.children).map(function(c){return spe.Note({noteType:e,noteId:o,body:c})})}return n}var fz={},cpe=nn,lpe=Zo.Result;function upe(e){function t(r){return lpe.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function s(o){return(r.attributes[o]||"").trim()||null}return e.readXmlElements(r.children).map(function(o){return cpe.comment({commentId:i,body:o,authorName:s("w:author"),authorInitials:s("w:initials")})})}return t}fz.createCommentsReader=upe;var hz={},dpe=ka;hz.Files=ppe;function ppe(){function e(t){return dpe.reject(new Error("could not open external image: '"+t+`' 863cannot open linked files from a web browser`))}return{read:e}}wS.read=vpe;wS._findPartPaths=gz;var fpe=ka,hpe=nn,a_=Zo.Result,Q0=wy,mz=NS.readXmlFromZipFile,mpe=BS.createBodyReader,gpe=lz.DocumentXmlReader,Ah=X2,I8=GS,U8=K2,F8=Y2,M8=KS,xpe=fz,ype=hz.Files;function vpe(e,t,n){t=t||{},n=n||{};var r=new ype({externalFileAccess:n.externalFileAccess,relativeToFile:t.path});return fpe.props({contentTypes:wpe(e),partPaths:gz(e),docxFile:e,files:r}).also(function(i){return{styles:_pe(e,i.partPaths.styles)}}).also(function(i){return{numbering:jpe(e,i.partPaths.numbering,i.styles)}}).also(function(i){return{footnotes:cb(i.partPaths.footnotes,i,function(s,o){return o?M8.createFootnotesReader(s)(o):new a_([])}),endnotes:cb(i.partPaths.endnotes,i,function(s,o){return o?M8.createEndnotesReader(s)(o):new a_([])}),comments:cb(i.partPaths.comments,i,function(s,o){return o?xpe.createCommentsReader(s)(o):new a_([])})}}).also(function(i){return{notes:i.footnotes.flatMap(function(s){return i.endnotes.map(function(o){return new hpe.Notes(s.concat(o))})})}}).then(function(i){return cb(i.partPaths.mainDocument,i,function(s,o){return i.notes.flatMap(function(c){return i.comments.flatMap(function(l){var u=new gpe({bodyReader:s,notes:c,comments:l});return u.convertXmlToDocument(o)})})})})}function gz(e){return Npe(e).then(function(t){var n=q8({docxFile:e,relationships:t,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!e.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return tm({filename:xz(n),readElement:Ah.readRelationships,defaultValue:Ah.defaultValue})(e).then(function(r){function i(s){return q8({docxFile:e,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+s,basePath:Q0.splitPath(n).dirname,fallbackPath:"word/"+s+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function q8(e){var t=e.docxFile,n=e.relationships,r=e.relationshipType,i=e.basePath,s=e.fallbackPath,o=n.findTargetsByType(r),c=o.map(function(u){return bpe(Q0.joinPath(i,u),"/")}),l=c.filter(function(u){return t.exists(u)});return l.length===0?s:l[0]}function bpe(e,t){return e.substring(0,t.length)===t?e.substring(t.length):e}function tm(e){return function(t){return mz(t,e.filename).then(function(n){return n?e.readElement(n):e.defaultValue})}}function cb(e,t,n){var r=tm({filename:xz(e),readElement:Ah.readRelationships,defaultValue:Ah.defaultValue});return r(t.docxFile).then(function(i){var s=new mpe({relationships:i,contentTypes:t.contentTypes,docxFile:t.docxFile,numbering:t.
863numbering,styles:t.styles,files:t.files});return mz(t.docxFile,e).then(function(o){return n(s,o)})})}function xz(e){var t=Q0.splitPath(e);return Q0.joinPath(t.dirname,"_rels",t.basename+".rels")}var wpe=tm({filename:"[Content_Types].xml",readElement:I8.readContentTypesFromXml,defaultValue:I8.defaultContentTypes});function jpe(e,t,n){return tm({filename:t,readElement:function(r){return U8.readNumberingXml(r,{styles:n})},defaultValue:U8.defaultNumbering})(e)}function _pe(e,t){return tm({filename:t,readElement:F8.readStylesXml,defaultValue:F8.defaultStyles})(e)}var Npe=tm({filename:"_rels/.rels",readElement:Ah.readRelationships,defaultValue:Ah.defaultValue}),rd={},vc={},Sl={},B8;function yz(){if(B8)return Sl;B8=1;var e=Z2();function t(l,u,d){return r(e.element(l,u,{fresh:!1}),d)}function n(l,u,d){var p=e.element(l,u,{fresh:!0});return r(p,d)}function r(l,u){return{type:"element",tag:l,children:u||[]}}function i(l){return{type:"text",value:l}}var s={type:"forceWrite"};Sl.freshElement=n,Sl.nonFreshElement=t,Sl.elementWithTag=r,Sl.text=i,Sl.forceWrite=s;var o={br:!0,hr:!0,img:!0,input:!0};function c(l){return l.children.length===0&&o[l.tag.tagName]}return Sl.isVoidElement=c,Sl}var i_,z8;function Cpe(){if(z8)return i_;z8=1;var e=Ya,t=yz();function n(m){return r(u(m))}function r(m){var y=[];return m.map(i).forEach(function(g){l(y,g)}),y}function i(m){return s[m.type](m)}var s={element:o,text:c,forceWrite:c};function o(m){return t.elementWithTag(m.tag,r(m.children))}function c(m){return m}function l(m,y){var g=m[m.length-1];y.type==="element"&&!y.tag.fresh&&g&&g.type==="element"&&y.tag.matchesElement(g.tag)?(y.tag.separator&&l(g.children,t.text(y.tag.separator)),y.children.forEach(function(x){l(g.children,x)})):m.push(y)}function u(m){return d(m,function(y){return p[y.type](y)})}function d(m,y){return e.flatten(e.map(m,y),!0)}var p={element:f,text:v,forceWrite:h};function h(m){return[m]}function f(m){var y=u(m.children);return y.length===0&&!t.isVoidElement(m)?[]:[t.elementWithTag(m.tag,y)]}function v(m){return m.value.length===0?[]:[m]}return i_=n,i_}var $8;function Q2(){if($8)return vc;$8=1;var e=yz();vc.freshElement=e.freshElement,vc.nonFreshElement=e.nonFreshElement,vc.elementWithTag=e.elementWithTag,vc.text=e.text,vc.forceWrite=e.forceWrite,vc.simplify=Cpe();function t(o,c){c.forEach(function(l){n(o,l)})}function n(o,c){r[c.type](o,c)}var r={element:i,text:s,forceWrite:function(){}};function i(o,c){e.isVoidElement(c)?o.selfClosing(c.tag.tagName,c.tag.attributes):(o.open(c.tag.tagName,c.tag.attributes),t(o,c.children),o.close(c.tag.tagName))}function s(o,c){o.text(c.value)}return vc.write=t,vc}var W8;function Z2(){if(W8)return rd;W8=1;var e=Ya,t=Q2();rd.topLevelElement=n,rd.elements=r,rd.element=s;function n(c,l){return r([s(c,l,{fresh:!0})])}function r(c){return new i(c.map(function(l){return e.isString(l)?s(l):l}))}function i(c){this._elements=c}i.prototype.wrap=function(l){for(var u=l(),d=this._elements.length-1;d>=0;d--)u=this._elements[d].wrapNodes(u);return u};function s(c,l,u){return u=u||{},new o(c,l,u)}function o(c,l,u){var d={};e.isArray(c)?(c.forEach(function(p){d[p]=!0}),c=c[0]):d[c]=!0,this.tagName=c,this.tagNames=d,this.attributes=l||{},this.fresh=u.fresh,this.separator=u.separator}return o.prototype.matchesElement=function(c){return this.tagNames[c.tagName]&&e.isEqual(this.attributes||{},c.attributes||{})},o.prototype.wrap=function(l){return this.wrapNodes(l())},o.prototype.wrapNodes=function(l){return[t.elementWithTag(this,l)]},rd.empty=r([]),rd.ignore={wrap:function(){return[]}},rd}var Epe={};(function(e){var t=Ya,n=ka,r=Q2();e.imgElement=i;function i(s){return function(o,c){return n.when(s(o)).then(function(l){var u={};return o.altText&&(u.alt=o.altText),t.extend(u,l),[r.freshElement("img",u)]})}}e.inline=e.imgElement,e.dataUri=i(function(s){return s.readAsBase64String().then(function(o){return{src:"data:"+s.contentType+";base64,"+o}})})})(Epe);function Spe(e,t){return function(){return{start:e,end:t}}}(function(){for(var e=1;e<=6;e++)Spe(Dpe("#",e)+" ",` 864 865`)})();function Dpe(e,t){return new Array(t+1).join(e)}
865Z2();Q2();var vz={},Ape=nn;function bz(e){if(e.type==="text")return e.value;if(e.type===Ape.types.tab)return" ";var t=e.type==="paragraph"?` 866 867`:"";return(e.children||[]).map(bz).join("")+t}vz.convertElementToRawText=bz;var Jo={},wz={},jz={exports:{}},kh=jz.exports=function(e,t){this._tokens=e,this._startIndex=t||0};kh.prototype.head=function(){return this._tokens[this._startIndex]};kh.prototype.tail=function(e){return new kh(this._tokens,this._startIndex+1)};kh.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};kh.prototype.end=function(){return this._tokens[this._tokens.length-1]};kh.prototype.to=function(e){var t=this.head().source,n=e.head()||e.end();return t.to(n.source)};var kpe=jz.exports,Tpe=kpe;wz.Parser=function(e){var t=function(n,r){return n(new Tpe(r))};return{parseTokens:t}};var YS={},_z={};(function(e){e.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t});function t(r){return typeof r=="function"?r():r}e.some=function(r){return new n(r)};var n=function(r){this._value=r};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(r){return new n(r(this._value))},n.prototype.flatMap=function(r){return r(this._value)},n.prototype.filter=function(r){return r(this._value)?this:e.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(r){return this},n.prototype.valueOrElse=function(r){return this._value},e.isOption=function(r){return r===e.none||r instanceof n},e.fromNullable=function(r){return r==null?e.none:new n(r)}})(_z);var QS={failure:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new _a({status:"failure",remaining:t,errors:e})},error:function(e,t){if(e.length<1)throw new Error("Failure must have errors");return new _a({status:"error",remaining:t,errors:e})},success:function(e,t,n){return new _a({status:"success",value:e,source:n,remaining:t,errors:[]})},cut:function(e){return new _a({status:"cut",remaining:e,errors:[]})}},_a=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};_a.prototype.map=function(e){return this._hasValue?new _a({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};_a.prototype.changeRemaining=function(e){return new _a({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})};_a.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};_a.prototype.isFailure=function(){return this._status==="failure"};_a.prototype.isError=function(){return this._status==="error"};_a.prototype.isCut=function(){return this._status==="cut"};_a.prototype.value=function(){return this._value};_a.prototype.remaining=function(){return this._remaining};_a.prototype.source=function(){return this._source};_a.prototype.errors=function(){return this._errors};var ZS={};ZS.error=function(e){return new J2(e)};var J2=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};J2.prototype.describe=function(){var e=this._location?this._location.describe()+`: 868`:"";return e+"Expected "+this.expected+` 869but got `+this.actual};J2.prototype.lineNumber=function(){return this._location.lineNumber()};J2.prototype.characterNumber=function(){return this._location.characterNumber()};var Nz={};Nz.fromArray=function(e){var t=0,n=function(){return t<e.length};return new Gd({hasNext:n,next:function(){if(n())return e[t++];throw new Error("No more elements")}})};var Gd=function(e){this._iterator=e};Gd.prototype.map=function(e){var t=this._iterator;return new Gd({hasNext:function(){return t.hasNext()},next:function(){return e(t.next())}})};Gd.prototype.filter=function(e){var t=this._iterator,n=!1,r=!1,i,s=function(){if(!n)for(n=!0,r=!1;t.hasNext()&&!r;)i=t.next(),r=e(i)};return new Gd({hasNext:function(){return s(),r},next:function(){s();var o=i;return n=!1,o}})};Gd.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null};Gd.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e};(function(e){var t=Ya,n=_z,r=QS,i=ZS,s=Nz;e.token=function(h,f){var v=f!==void 0;return function(m){var y=m.head();if(y&&y.name===h&&(!v||y.value===f))return r.success(y.value,m.tail(),y.source);var g=d({name:h,value:f});return p(m,g)}},e.tokenOfType=function(h){return e.token(h)},e.firstOf=function(h,f){return t.isArray(f)||(f=Array.prototype.slice.call(arguments,1
869)),function(v){return s.fromArray(f).map(function(m){return m(v)}).filter(function(m){return m.isSuccess()||m.isError()}).first()||p(v,h)}},e.then=function(h,f){return function(v){var m=h(v);return m.map||console.log(m),m.map(f)}},e.sequence=function(){var h=Array.prototype.slice.call(arguments,0),f=function(m){var y=t.foldl(h,function(x,b){var _=x.result,E=x.hasCut;if(!_.isSuccess())return{result:_,hasCut:E};var T=b(_.remaining());if(T.isCut())return{result:_,hasCut:!0};if(T.isSuccess()){var A;b.isCaptured?A=_.value().withValue(b,T.value()):A=_.value();var w=T.remaining(),S=m.to(w);return{result:r.success(A,w,S),hasCut:E}}else return E?{result:r.error(T.errors(),T.remaining()),hasCut:E}:{result:T,hasCut:E}},{result:r.success(new o,m),hasCut:!1}).result,g=m.to(y.remaining());return y.map(function(x){return x.withValue(e.sequence.source,g)})};f.head=function(){var m=t.find(h,v);return e.then(f,e.sequence.extract(m))},f.map=function(m){return e.then(f,function(y){return m.apply(this,y.toArray())})};function v(m){return m.isCaptured}return f};var o=function(h,f){this._values=h||{},this._valuesArray=f||[]};o.prototype.withValue=function(h,f){if(h.captureName&&h.captureName in this._values)throw new Error('Cannot add second value for capture "'+h.captureName+'"');var v=t.clone(this._values);v[h.captureName]=f;var m=this._valuesArray.concat([f]);return new o(v,m)},o.prototype.get=function(h){if(h.captureName in this._values)return this._values[h.captureName];throw new Error('No value for capture "'+h.captureName+'"')},o.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(h,f){var v=function(){return h.apply(this,arguments)};return v.captureName=f,v.isCaptured=!0,v},e.sequence.extract=function(h){return function(f){return f.get(h)}},e.sequence.applyValues=function(h){var f=Array.prototype.slice.call(arguments,1);return function(v){var m=f.map(function(y){return v.get(y)});return h.apply(this,m)}},e.sequence.source={captureName:"âsourceâ"},e.sequence.cut=function(){return function(h){return r.cut(h)}},e.optional=function(h){return function(f){var v=h(f);return v.isSuccess()?v.map(n.some):v.isFailure()?r.success(n.none,f):v}},e.zeroOrMoreWithSeparator=function(h,f){return u(h,f,!1)},e.oneOrMoreWithSeparator=function(h,f){return u(h,f,!0)};var c=e.zeroOrMore=function(h){return function(f){for(var v=[],m;(m=h(f))&&m.isSuccess();)f=m.remaining(),v.push(m.value());return m.isError()?m:r.success(v,f)}};e.oneOrMore=function(h){return e.oneOrMoreWithSeparator(h,l)};function l(h){return r.success(null,h)}var u=function(h,f,v){return function(m){var y=h(m);if(y.isSuccess()){var g=e.sequence.capture(h,"main"),x=c(e.then(e.sequence(f,g),e.sequence.extract(g))),b=x(y.remaining());return r.success([y.value()].concat(b.value()),b.remaining())}else return v||y.isError()?y:r.success([],m)}};e.leftAssociative=function(h,f,v){var m;v?m=[{func:v,rule:f}]:m=f,m=m.map(function(g){return e.then(g.rule,function(x){return function(b,_){return g.func(b,x,_)}})});
869var y=e.firstOf.apply(null,["rules"].concat(m));return function(g){var x=g,b=h(g);if(!b.isSuccess())return b;for(var _=y(b.remaining());_.isSuccess();){var E=_.remaining(),T=x.to(_.remaining()),A=_.value();b=r.success(A(b.value(),T),E,T),_=y(b.remaining())}return _.isError()?_:b}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(h){return function(f){return h(f).changeRemaining(f)}};var d=function(h){return h.value?h.name+' "'+h.value+'"':h.name};function p(h,f){var v,m=h.head();return m?v=i.error({expected:f,actual:d(m),location:m.source}):v=i.error({expected:f,actual:"end of tokens"}),r.failure([v],h)}})(YS);var Cz={exports:{}};Cz.exports=function(e,t){var n={asString:function(){return e},range:function(r,i){return new Xd(e,t,r,i)}};return n};var Xd=function(e,t,n,r){this._string=e,this._description=t,this._startIndex=n,this._endIndex=r};Xd.prototype.to=function(e){return new Xd(this._string,this._description,this._startIndex,e._endIndex)};Xd.prototype.describe=function(){var e=this._position(),t=this._description?this._description+` 870`:"";return t+"Line number: "+e.lineNumber+` 871Character number: `+e.characterNumber};Xd.prototype.lineNumber=function(){return this._position().lineNumber};Xd.prototype.characterNumber=function(){return this._position().characterNumber};Xd.prototype._position=function(){for(var e=this,t=0,n=function(){return e._string.indexOf(` 872`,t)},r=1;n()!==-1&&n()<this._startIndex;)t=n()+1,r+=1;var i=this._startIndex-t+1;return{lineNumber:r,characterNumber:i}};var Ez=Cz.exports,Sz=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)},Dz={};(function(e){var t=YS,n=QS;e.parser=function(s,o,c){var l={rule:h,leftAssociative:f,rightAssociative:v},u=new r(c.map(p)),d=t.firstOf(s,o);function p(g){return{name:g.name,rule:i(g.ruleBuilder.bind(null,l))}}function h(){return m(u)}function f(g){return m(u.untilExclusive(g))}function v(g){return m(u.untilInclusive(g))}function m(g){return y.bind(null,g)}function y(g,x){var b=d(x);return b.isSuccess()?g.apply(b):b}return l};function r(s){function o(p){return new r(s.slice(0,l().indexOf(p)))}function c(p){return new r(s.slice(0,l().indexOf(p)+1))}function l(){return s.map(function(p){return p.name})}function u(p){for(var h,f;;)if(h=d(p.remaining()),h.isSuccess())f=p.source().to(h.source()),p=n.success(h.value()(p.value(),f),h.remaining(),f);else return h.isFailure()?p:h}function d(p){return t.firstOf("infix",s.map(function(h){return h.rule}))(p)}return{apply:u,untilExclusive:o,untilInclusive:c}}e.infix=function(s,o){function c(l){return e.infix(s,function(u){var d=o(u);return function(p){var h=d(p);return h.map(function(f){return function(v,m){return l(v,f,m)}})}})}return{name:s,ruleBuilder:o,map:c}};var i=function(s){var o;return function(c){return o||(o=s()),o(c)}}})(Dz);var Az={},s_=Sz,Ppe=Ez;Az.RegexTokeniser=Lpe;function Lpe(e){e=e.map(function(i){return{name:i.name,regex:new RegExp(i.regex.source,"g")}});function t(i,s){for(var o=new Ppe(i,s),c=0,l=[];c<i.length;){var u=n(i,c,o);c=u.endIndex,l.push(u.token)}return l.push(r(i,o)),l}function n(i,s,o){for(var c=0;c<e.length;c++){var l=e[c].regex;l.lastIndex=s;var u=l.exec(i);if(u){var p=s+u[0].length;if(u.index===s&&p>s){var d=u[1],h=new s_(e[c].name,d,o.range(s,p));return{token:h,endIndex:p}}}}var p=s+1,h=new s_("unrecognisedCharacter",i.substring(s,p),o.range(s,p));return{token:h,endIndex:p}}function r(i,s){return new s_("end",null,s.range(i.length,i.length))}return{tokenise:t}}Jo.Parser=wz.Parser;Jo.rules=YS;Jo.errors=ZS;Jo.results=QS;Jo.StringSource=Ez;Jo.Token=Sz;Jo.bottomUp=Dz;Jo.RegexTokeniser=Az.RegexTokeniser;Jo.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}};var sa={};sa.paragraph=Rpe;sa.run=Ope;sa.table=Ipe;sa.bold=new xo("bold");sa.italic=new xo("italic");sa.underline=new xo("underline");sa.strikethrough=new xo("strikethrough");sa.allCaps=new xo("allCaps");sa.smallCaps=new xo("smallCaps");sa.highlight=Upe;sa.commentReference=new xo("commentReference");sa.lineBreak=new ew({breakType:"line"});sa.pageBreak=new ew({breakType:"page"});sa.columnBreak=new ew({breakType:"column"});sa.equalTo=Mpe;sa.startsWith=qpe;function Rpe(e){return new xo("paragraph",e)}function Ope(e){return new xo("run",e)}function Ipe(e){return new xo("table",e)}function Upe(e){return new kz(e)}
872function xo(e,t){t=t||{},this._elementType=e,this._styleId=t.styleId,this._styleName=t.styleName,t.list&&(this._listIndex=t.list.levelIndex,this._listIsOrdered=t.list.isOrdered)}xo.prototype.matches=function(e){return e.type===this._elementType&&(this._styleId===void 0||e.styleId===this._styleId)&&(this._styleName===void 0||e.styleName&&this._styleName.operator(this._styleName.operand,e.styleName))&&(this._listIndex===void 0||Fpe(e,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===e.breakType)};function kz(e){e=e||{},this._color=e.color}kz.prototype.matches=function(e){return e.type==="highlight"&&(this._color===void 0||e.color===this._color)};function ew(e){e=e||{},this._breakType=e.breakType}ew.prototype.matches=function(e){return e.type==="break"&&(this._breakType===void 0||e.breakType===this._breakType)};function Fpe(e,t,n){return e.numbering&&e.numbering.level==t&&e.numbering.isOrdered==n}function Mpe(e){return{operator:Bpe,operand:e}}function qpe(e){return{operator:zpe,operand:e}}function Bpe(e,t){return e.toUpperCase()===t.toUpperCase()}function zpe(e,t){return t.toUpperCase().indexOf(e.toUpperCase())===0}var $pe=Ya,He=Jo,pa=sa,zb=Z2();function Wpe(){return He.rules.sequence(He.rules.sequence.capture(Vpe()),He.rules.tokenOfType("whitespace"),He.rules.tokenOfType("arrow"),He.rules.sequence.capture(He.rules.optional(He.rules.sequence(He.rules.tokenOfType("whitespace"),He.rules.sequence.capture(Hpe())).head())),He.rules.tokenOfType("end")).map(function(e,t){return{from:e,to:t.valueOrElse(zb.empty)}})}function Vpe(){var e=He.rules.sequence,t=function(T,A){return He.rules.then(He.rules.token("identifier",T),function(){return A})},n=t("p",pa.paragraph),r=t("r",pa.run),i=He.rules.firstOf("p or r or table",n,r),s=He.rules.sequence(He.rules.tokenOfType("dot"),He.rules.sequence.cut(),He.rules.sequence.capture(tw)).map(function(T){return{styleId:T}}),o=He.rules.firstOf("style name matcher",He.rules.then(He.rules.sequence(He.rules.tokenOfType("equals"),He.rules.sequence.cut(),He.rules.sequence.capture(Af)).head(),function(T){return{styleName:pa.equalTo(T)}}),He.rules.then(He.rules.sequence(He.rules.tokenOfType("startsWith"),He.rules.sequence.cut(),He.rules.sequence.capture(Af)).head(),function(T){return{styleName:pa.startsWith(T)}})),c=He.rules.sequence(He.rules.tokenOfType("open-square-bracket"),He.rules.sequence.cut(),He.rules.token("identifier","style-name"),He.rules.sequence.capture(o),He.rules.tokenOfType("close-square-bracket")).head(),l=He.rules.firstOf("list type",t("ordered-list",{isOrdered:!0}),t("unordered-list",{isOrdered:!1})),u=e(He.rules.tokenOfType("colon"),e.capture(l),e.cut(),He.rules.tokenOfType("open-paren"),e.capture(Gpe),He.rules.tokenOfType("close-paren")).map(function(T,A){return{list:{isOrdered:T.isOrdered,levelIndex:A-1}}});function d(T){var A=He.rules.firstOf.apply(He.rules.firstOf,["matcher suffix"].concat(T)),w=He.rules.zeroOrMore(A);return He.rules.then(w,function(S){var k={};return S.forEach(function(P){$pe.extend(k,P)}),k})}var p=e(e.capture(i),e.capture(d([s,c,u]))).map(function(T,A){return T(A)}),h=e(He.rules.token("identifier","table"),e.capture(d([s,c]))).map(function(T){return pa.table(T)}),f=t("b",pa.bold),v=t("i",pa.italic),m=t("u",pa.underline),y=t("strike",pa.strikethrough),g=t("all-caps",pa.allCaps),x=t("small-caps",pa.smallCaps),b=e(He.rules.token("identifier","highlight"),He.rules.sequence.capture(He.rules.optional(He.rules.sequence(He.rules.tokenOfType("open-square-bracket"),He.rules.sequence.cut(),He.rules.token("identifier","color"),He.rules.tokenOfType("equals"),He.rules.sequence.capture(Af),He.rules.tokenOfType("close-square-bracket")).head()))).map(function(T){return pa.highlight({color:T.valueOrElse(void 0)})}),_=t("comment-reference",pa.commentReference),E=e(He.rules.token("identifier","br"),e.cut(),He.rules.tokenOfType("open-square-bracket"),He.rules.token("identifier","type"),He.rules.tokenOfType("equals"),e.capture(Af),He.rules.tokenOfType("close-square-bracket")).map(function(T){switch(T){case"line":return pa.lineBreak;case"page":return pa.pageBreak;case"column":return pa.columnBreak}});return He.rules.firstOf("element type",p,h,f,v,m,y,g,x,b,_,E)}function Hpe(){var e=He.rules.sequence.capture,t=He.rules.tokenOfType("whitespace"),n=He.rules.then(He.rules.optional(He.rules.sequence(He.rules.tokenOfType("colon"),He.rules.token("identifier","fresh"))),function(o){return o.map(function(){return!0}).valueOrElse(!1)}),r=He.rules.then(He.rules.optional(He.rules.sequence(He.rules.tokenOfType("colon"),He.rules.token("identifier","separator"),He.rules.tokenOfType("open-paren"),e(Af),He.rules.tokenOfType("close-paren")).head()),function(o){return o.valueOrElse("")}),i=He.rules.oneOrMoreWithSeparator(tw,He.rules.tokenOfType("choice")),s=He.rules.sequence(e(i),e(He.rules.zeroOrMore(Qpe)),e(n),e(r)).map(function(o,c,l,u){var d={},p={};
872return c.forEach(function(h){h.append&&d[h.name]?d[h.name]+=" "+h.value:d[h.name]=h.value}),l&&(p.fresh=!0),u&&(p.separator=u),zb.element(o,d,p)});return He.rules.firstOf("html path",He.rules.then(He.rules.tokenOfType("bang"),function(){return zb.ignore}),He.rules.then(He.rules.zeroOrMoreWithSeparator(s,He.rules.sequence(t,He.rules.tokenOfType("gt"),t)),zb.elements))}var tw=He.rules.then(He.rules.tokenOfType("identifier"),Tz),Gpe=He.rules.tokenOfType("integer"),Af=He.rules.then(He.rules.tokenOfType("string"),Tz),Xpe={n:` 873`,r:"\r",t:" "};function Tz(e){return e.replace(/\\(.)/g,function(t,n){return Xpe[n]||n})}var Kpe=He.rules.sequence(He.rules.tokenOfType("open-square-bracket"),He.rules.sequence.cut(),He.rules.sequence.capture(tw),He.rules.tokenOfType("equals"),He.rules.sequence.capture(Af),He.rules.tokenOfType("close-square-bracket")).map(function(e,t){return{name:e,value:t,append:!1}}),Ype=He.rules.sequence(He.rules.tokenOfType("dot"),He.rules.sequence.cut(),He.rules.sequence.capture(tw)).map(function(e){return{name:"class",value:e,append:!0}}),Qpe=He.rules.firstOf("attribute or class",Kpe,Ype);Wpe();var Pz={},V8=ka,Zpe=wy;Pz.openZip=Jpe;function Jpe(e){return e.arrayBuffer?V8.resolve(Zpe.openArrayBuffer(e.arrayBuffer)):V8.reject(new Error("Could not find file in options"))}var efe={},tfe=Z2(),nfe=Q2();efe.element=rfe;function rfe(e){return function(t){return nfe.elementWithTag(tfe.element(e),[t])}}var afe=wS,ife=vz.convertElementToRawText,sfe=Pz,ofe=cfe;function cfe(e){return sfe.openZip(e).then(afe.read).then(function(t){return t.map(ife)})}const Hf={primary:"#2cbdee",primaryDark:"#1ba3d4",primaryTint:"#e8f7fd"},lfe=5*1024*1024,ufe=["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document",".docx","text/plain"],dfe="application/vnd.openxmlformats-officedocument.wordprocessingml.document";async function Lz(e){if(e.size>lfe)throw new Error("El archivo supera el máximo de 5 MB");const t=e.name.toLowerCase();if(e.type==="application/pdf"||t.endsWith(".pdf")){const n=await ffe(e);return{originalFilename:e.name,pdfBase64:n}}if(e.type===dfe||t.endsWith(".docx")){const n=await pfe(e);return{originalFilename:e.name,plainTextContent:n}}if(t.endsWith(".doc"))throw new Error("El formato .doc (Word antiguo) no es compatible. Conviértelo a .docx o PDF.");if(e.type==="text/plain"||t.endsWith(".txt")){const n=await hfe(e);return{originalFilename:e.name,plainTextContent:n}}throw new Error("Formato no soportado. Usa PDF, Word (.docx) o un archivo de texto (.txt).")}async function pfe(e){const t=await new Promise((n,r)=>{const i=new FileReader;i.onload=()=>n(i.result),i.onerror=()=>r(new Error("No se pudo leer el archivo Word")),i.readAsArrayBuffer(e)});try{const n=await ofe({arrayBuffer:t});if(!n.value||!n.value.trim())throw new Error("El archivo Word está vacÃo o no se pudo extraer texto.");return n.value}catch{throw new Error("No se pudo procesar el archivo Word. Verifica que no esté dañado.")}}function ffe(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const s=r.result.split(",")[1];if(!s){n(new Error("No se pudo leer el PDF"));return}t(s)},r.onerror=()=>
873n(r.error),r.readAsDataURL(e)})}function hfe(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=()=>t(String(r.result??"")),r.onerror=()=>n(r.error),r.readAsText(e,"utf-8")})}function lb(e){const t=e??{};return{es:String(t.es??""),en:String(t.en??"")}}function H8(e){return Array.isArray(e)?e.map(t=>String(t)):[]}function G8(e){const t=e??{};return{es:H8(t.es),en:H8(t.en)}}function Rz(e){const t=e.portales??{};return{email:String(e.email??""),headline:lb(e.headline),about:G8(e.about),experience:Array.isArray(e.experience)?e.experience.map(n=>{const r=n;return{title:String(r.title??""),company:String(r.company??""),functions:G8(r.functions)}}):[],portales:{puesto:lb(t.puesto),perfil:lb(t.perfil),empleos:Array.isArray(t.empleos)?t.empleos.map(n=>{const r=n;return{title:String(r.title??""),company:String(r.company??""),descripcion:lb(r.descripcion)}}):[]}}}function Oz(e){if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.headline=="object"&&t.headline!==null&&typeof t.about=="object"&&t.about!==null&&Array.isArray(t.experience)&&typeof t.portales=="object"&&t.portales!==null}class mfe{async optimize(t){const{data:n,error:r}=await Ye.functions.invoke("linkedin-boost-claude",{body:{pdfBase64:t.pdfBase64,plainTextContent:t.plainTextContent,originalFilename:t.originalFilename}});if(r)throw new Error(r.message);return this.parseResponse(n)}parseResponse(t){if(!t||"error"in t)throw new Error((t==null?void 0:t.error)??"No se recibió respuesta del servidor de LinkedIn Boost");const n=t.result;return Oz(n)?n:Rz(n)}}const gfe=new mfe;function X8(e){const t=typeof e.content=="object"&&e.content!==null?e.content:{},n=Oz(t)?t:Rz(t);return{id:e.id,content:n,originalFilename:e.original_filename,createdAt:e.created_at}}class xfe{async save(t,n,r){const{data:i,error:s}=await Ye.from("linkedin_boosts").insert({user_id:t,content:n,original_filename:r}).select().single();if(s)throw s;return X8(i)}async listByUserId(t){const{data:n,error:r}=await Ye.from("linkedin_boosts").select("*").eq("user_id",t).order("created_at",{ascending:!1});if(r)throw r;return n.map(X8)}async deleteById(t,n){const{error:r}=await Ye.from("linkedin_boosts").delete().eq("id",t).eq("user_id",n);if(r)throw r}}const o_=new xfe;function yfe(){const{toast:e}=ar(),{trackFeatureUsage:t}=I4(),[n,r]=j.useState("upload"),[i,s]=j.useState(null),[o,c]=j.useState(""),[l,u]=j.useState(),[d,p]=j.useState(),[h,f]=j.useState(null),[v,m]=j.useState("es"),[y,g]=j.useState(""),[x,b]=j.useState(""),[_,E]=j.useState([]);return j.useEffect(()=>{(async()=>{const{data:{user:R}}=await Ye.auth.getUser();if(R){s(R.id);try{const N=await o_.listByUserId(R.id);E(N)}catch{}}})()},[]),{currentStep:n,setCurrentStep:r,originalFilename:o,result:h,lang:v,setLang:m,copiedKey:y,errorMessage:x,savedRecords:_,handleFileSelected:async D=>{b("");try{const R=await Lz(D);c(R.originalFilename),u(R.pdfBase64),p(R.plainTextContent)}catch(R){const N=R instanceof Error?R.message:"No se pudo leer el archivo";b(N),e({title:"Archivo no válido",description:N,variant:"destructive"})}},optimize:async()=>{if(!l&&!d){b("Carga tu CV en PDF o DOCX.");return}r("generating"),b("");try{const D=await gfe.optimize({pdfBase64:l,plainTextContent:d,originalFilename:o});if(f(D),r("result"),t("linkedin_boost"),i)try{const R=await o_.save(i,D,o||null);E(N=>[R,...N])}catch{}}catch{const D="Hubo un problema al procesar el CV. Si es muy extenso, vuelve a intentarlo; si persiste, prueba con un archivo más ligero.";b(D),r("error"),e({title:"No se pudo optimizar",description:D,variant:"destructive"})}},copy:(D,R)=>{navigator.clipboard.writeText(R),g(D),setTimeout(()=>g(""),1800)},loadSavedRecord:D=>{f(D.content),c(D.originalFilename??""),m("es"),b(""),r("result")},deleteSavedRecord:async D=>{if(i)try{await o_.deleteById(D,i),E(R=>R.filter(N=>N.id!==D)),e({title:"Optimización eliminada",description:"Se quitó de tu historial."})}catch{e({title:"No se pudo eliminar",description:"Reintenta en unos segundos.",variant:"destructive"})}},reset:()=>{f(null),c(""),u(void 0),p(void 0),m("es"),b(""),g(""),r("upload")}}}function vfe(){const e=yfe(),[t,n]=j.useState("create"),[r,i]=j.useState([]);j.useEffect(()=>{(async()=>{try{const l=await Wce();i(l)}catch{}})()},[]);const s=r.length>0,o=c=>{e.loadSavedRecord(c),n("create")};return a.jsxs(g2,{value:t,onValueChange:n,className:"space-y-6",children:[a.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{children:[a.jsxs("h1",{className:"flex items-center gap-2 text-xl font-semibold text-foreground sm:text-2xl",children:[a.jsx(up,{className:"h-6 w-6 text-primary"}),"LinkedIn Boost"]}),a.jsx("p",{className:"mt-0.5 text-sm text-muted-foreground",children:"Optimiza tu perfil profesional y tu presencia en portales de empleo"})]}),a.jsxs(gy,{className:`grid h-10 w-full rounded-lg bg-muted/60 p-1 sm:w-auto ${s?"grid-cols-3 sm:min-w-[360px]":"grid-cols-2 sm:min-w-[240px]"}
873`,children:[a.jsxs(Js,{value:"create",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(ry,{className:"h-3.5 w-3.5"}),"Crear"]}),a.jsxs(Js,{value:"history",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(vh,{className:"h-3.5 w-3.5"}),"Historial"]}),s&&a.jsxs(Js,{value:"legacy",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(xh,{className:"h-3.5 w-3.5"}),"Historial anterior"]})]})]}),a.jsx(eo,{value:"create",className:"mt-0 pt-2",children:a.jsx(Bce,{boost:e})}),a.jsx(eo,{value:"history",className:"space-y-6 pt-2",children:a.jsxs(nt,{className:"overflow-hidden border-border/80 shadow-sm",children:[a.jsxs(kt,{className:"border-b border-border/80 bg-muted/20",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg",children:[a.jsx(vh,{className:"h-5 w-5 text-primary"}),"Tu historial de LinkedIn Boost"]}),a.jsx(Wt,{children:"Abre cualquier optimización para verla de nuevo y copiar sus secciones."})]}),a.jsx(it,{className:"pt-6",children:a.jsx(zce,{records:e.savedRecords,onView:o,onDelete:e.deleteSavedRecord})})]})}),s&&a.jsx(eo,{value:"legacy",className:"space-y-6 pt-2",children:a.jsxs(nt,{className:"overflow-hidden border-border/80 shadow-sm",children:[a.jsxs(kt,{className:"border-b border-border/80 bg-muted/20",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg",children:[a.jsx(xh,{className:"h-5 w-5 text-primary"}),"Historial anterior"]}),a.jsx(Wt,{children:"Optimizaciones generadas con la versión anterior. Solo lectura: puedes revisarlas y descargar el original."})]}),a.jsx(it,{className:"pt-6",children:a.jsx(Hce,{records:r})})]})})]})}const K8="elearning_modules_cache",Z0="module_details_cache",bfe=5*60*1e3,JS=e=>{try{const t=localStorage.getItem(e);if(!t)return null;const n=JSON.parse(t);return Date.now()<n.expiresAt?n.data:(localStorage.removeItem(e),null)}catch(t){return console.error("Error reading cache:",t),null}},eD=(e,t)=>{try{const n=Date.now(),r={data:t,timestamp:n,expiresAt:n+bfe};localStorage.setItem(e,JSON.stringify(r))}catch(n){console.error("Error saving cache:",n)}};function wfe(){const[e,t]=j.useState([]),[n,r]=j.useState(!0),[i,s]=j.useState(null),o=j.useCallback(async(c=!1)=>{try{if(r(!0),s(null),!c){const f=JS(K8);if(f){console.log("ð¦ Modules from cache"),t(f),r(!1);return}}console.log("ð Fetching modules from server");const{data:{session:l}}=await Ye.auth.getSession();if(!l)throw new Error("No authenticated user");const{data:u,error:d}=await Ye.functions.invoke("get-elearning-modules",{headers:{Authorization:`Bearer ${l.access_token}`}});if(d)throw d;const h=u.modules||[];eD(K8,h),t(h)}catch(l){console.error("Error fetching e-learning modules:",l),s(l instanceof Error?l.message:"Failed to fetch modules")}finally{r(!1)}},[]);return j.useEffect(()=>{o()},[o]),{modules:e,loading:n,error:i,refetch:()=>o(!0)}}function jfe(e){const[t,n]=j.useState(null),[r,i]=j.useState(!1),[s,o]=j.useState(null),c=j.useCallback(async(l=!1)=>{if(e)try{if(i(!0),o(null),!l){const h=JS(`${Z0}_${e}`);if(h){console.log("ð¦ Module details from cache:",e),n(h),i(!1);return}}console.log("ð Fetching module details from server:",e);const{data:{session:u}}=await Ye.auth.getSession();if(!u)throw new Error("No authenticated user");const{data:d,error:p}=await Ye.functions.invoke("get-module-details",{body:{module_id:e},headers:{Authorization:`Bearer ${u.access_token}`}});if(p)throw p;if(!d.module)throw new Error("Module not found");eD(`${Z0}_${e}`,d.module),n(d.module)}catch(u){console.error("Error fetching module details:",u),o(u instanceof Error?u.message:"Failed to fetch module details")}finally{i(!1)}},[e]);return j.useEffect(()=>{c()},[c]),{module:t,loading:r,error:s,refetch:()=>c(!0)}}function _fe(e){const[t,n]=j.useState(null),[r,i]=j.useState(!1),[s,o]=j.useState(null),c=j.useCallback(async(l=!1)=>{if(e)try{if(i(!0),o(null),!l){const h=JS(`${Z0}_lesson_${e}`);if(h){console.log("ð¦ Lesson details from cache:",e),n(h),i(!1);return}}console.log("ð Fetching lesson details from server:",e);const{data:{session:u}}=await Ye.auth.getSession();if(!u)throw new Error("No authenticated user");const{data:d,error:p}
873=await Ye.functions.invoke("get-lesson-details",{body:{lesson_id:e},headers:{Authorization:`Bearer ${u.access_token}`}});if(p)throw p;if(!d.lesson)throw new Error("Lesson not found");eD(`${Z0}_lesson_${e}`,d.lesson),n(d.lesson)}catch(u){console.error("Error fetching lesson details:",u),o(u instanceof Error?u.message:"Failed to fetch lesson details")}finally{i(!1)}},[e]);return j.useEffect(()=>{c()},[c]),{lesson:t,loading:r,error:s,refetch:()=>c(!0)}}function Nfe(){const[e,t]=j.useState([]),[n,r]=j.useState(!0),[i,s]=j.useState(null),o=j.useCallback(async()=>{try{r(!0),s(null);const{data:l,error:u}=await Ye.functions.invoke("get-module-progress");if(u)throw u;if(l!=null&&l.success&&(l!=null&&l.data))t(l.data);else throw new Error("No se pudo obtener el progreso de los módulos")}catch(l){console.error("Error fetching module progress:",l),s(l instanceof Error?l.message:"Error desconocido")}finally{r(!1)}},[]),c=j.useCallback(async()=>{await o()},[o]);return j.useEffect(()=>{o()},[o]),{moduleProgress:e,loading:n,error:i,refetch:c}}function Cfe(){const{modules:e,loading:t,error:n,refetch:r}=wfe(),{moduleProgress:i,loading:s}=Nfe(),[o,c]=j.useState("All"),l=Xt(),u=["All",...Array.from(new Set(e.map(_=>_.category)))],d=e.map(_=>{const E=i.find(T=>T.module_id===_.id);return{..._,progress:(E==null?void 0:E.progress_percentage)||0,completed_lessons:(E==null?void 0:E.completed_lessons)||0,total_lessons:(E==null?void 0:E.total_lessons)||_.lessons,last_watched:E==null?void 0:E.last_watched}}),p=o==="All"?d:d.filter(_=>_.category===o),h=_=>_===0?"bg-gray-200":_<50?"bg-gradient-to-r from-amber-400 to-amber-500":_<100?"bg-gradient-to-r from-blue-500 to-blue-600":"bg-gradient-to-r from-emerald-500 to-emerald-600",f=_=>_===0?"No iniciado":_<100?"En progreso":"Completado",v=d.filter(_=>_.progress===100).length,m=d.length,y=m>0?Math.round(v/m*100):0,g=d.reduce((_,E)=>_+E.completed_lessons,0),x=d.reduce((_,E)=>_+E.total_lessons,0),b=x>0?Math.round(g/x*100):0;return t||s?a.jsx("div",{className:"space-y-6",children:a.jsxs("div",{className:"flex items-center justify-center py-12",children:[a.jsx(hu,{className:"w-8 h-8 animate-spin text-primary"}),a.jsx("span",{className:"ml-2 text-muted-foreground",children:t?"Cargando cursos...":"Cargando progreso..."})]})}):n?a.jsx("div",{className:"space-y-6",children:a.jsx(nt,{className:"border-destructive",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"text-center",children:[a.jsxs("p",{className:"text-destructive mb-4",children:["Error al cargar los cursos: ",n]}),a.jsx(Ce,{onClick:r,variant:"outline",children:"Reintentar"})]})})})}):a.jsxs("div",{className:"space-y-6",children:[a.jsxs(nt,{className:"relative overflow-hidden",children:[a.jsxs(kt,{className:"pb-3",children:[a.jsx(Tt,{className:"text-lg font-medium",children:"Progreso de Aprendizaje"}),a.jsx(Wt,{children:"Tu avance en el programa de capacitación"})]}),a.jsx(it,{children:a.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"text-2xl font-bold text-blue-600 mb-1",children:[y,"%"]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Módulos completados"}),a.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:a.jsx("div",{className:"bg-gradient-to-r from-blue-500 to-blue-600 h-2 rounded-full transition-all duration-300",style:{width:`${y}%`}})}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[v," de ",m," módulos"]})]}),a.jsxs("div",{children:[a.jsxs("div",{className:"text-2xl font-bold text-emerald-600 mb-1",children:[b,"%"]}),a.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:"Lecciones completadas"}),a.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:a.jsx("div",{className:"bg-gradient-to-r from-emerald-500 to-emerald-600 h-2 rounded-full transition-all duration-300",style:{width:`${b}%`}})}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:[g," de ",x," lecciones"]})]})]})}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-1 bg-gradient-primary"})]}),a.jsx("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4",children:a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:"Centro de Aprendizaje"}),a.jsx("p",{className:"text-muted-foreground",children:"Acelera tu carrera con nuestros cursos especializados"})]})}),a.jsxs(g2,{value:o,onValueChange:c,children:[u.length>5&&a.jsx(gy,{className:"grid w-full grid-cols-2 lg:grid-cols-4 gap-1 mt-2",children:u.slice(5).map(_=>a.jsx(Js,{value:_,className:"text-xs",children:_},_))}),a.jsxs(eo,{value:o,className:"space-y-6",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[a.jsx(nt,{children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Total de Módulos"}),a.jsx("p",{className:"text-2xl font-bold",children:p.length})]}),a.jsx(Bd,{className:"w-8 h-8 text-slate-600"})]})})}),a.jsx(nt,{children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Lecciones Completadas"}),a.jsx("p",{className:"text-2xl font-bold text-emerald-600",children:p.reduce((_,E)=>_+E.completed_lessons,0)})]}),a.jsx(Xn,{className:"w-8 h-8 text-emerald-600"})]})})}),a.jsx(nt,{children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"En Progreso"}),a.jsx("p",{className:"text-2xl font-bold text-blue-600",children:p.filter(_=>_.progress>0&&_.progress<100).length})]}),a.jsx(pi,{className:"w-8 h-8 text-blue-600"})]})})})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:p.map(_=>a.jsxs(nt,{className:"shadow-card hover:shadow-lg transition-shadow h-full flex flex-col",children:[a.jsxs(kt,{className:"pb-4 flex-shrink-0",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"w-full h-32 bg-gradient-subtle rounded-lg mb-4 flex items-center justify-center",children:a.jsx("img",{src:_.thumbnail,alt:_.title,width:100,height:100,className:"w-full h-full object-contain rounded-lg"})}
873),_.isPremium&&a.jsx(Ln,{className:"absolute top-2 right-2 bg-gradient-primary",children:"Premium"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Tt,{className:"text-lg leading-tight line-clamp-2",children:_.title}),a.jsx(Wt,{className:"line-clamp-2",children:_.description})]})]}),a.jsxs(it,{className:"flex-1 flex flex-col justify-between",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsx("div",{className:"flex items-center justify-between text-sm text-muted-foreground",children:a.jsx("span",{children:_.instructor})}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsxs("div",{className:"flex items-center gap-1",children:[a.jsx(En,{className:"w-4 h-4"}),a.jsx("span",{children:_.duration})]}),a.jsxs("div",{className:"flex items-center gap-1",children:[a.jsx(Bd,{className:"w-4 h-4"}),a.jsxs("span",{children:[_.completed_lessons,"/",_.total_lessons," ","lecciones"]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[a.jsx("span",{children:f(_.progress)}),a.jsxs("span",{children:[_.progress,"%"]})]}),a.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:a.jsx("div",{className:`h-2 rounded-full transition-all duration-300 ${h(_.progress)}`,style:{width:`${_.progress}%`}})})]})]}),a.jsx("div",{className:"mt-6",children:a.jsx(Ce,{className:"w-full",variant:_.isPremium?"outline":"professional",disabled:_.isPremium,onClick:()=>l(`/module/${_.id}`),children:_.isPremium?a.jsxs(a.Fragment,{children:[a.jsx(mu,{className:"w-4 h-4 mr-2"}),"Premium Required"]}):a.jsxs(a.Fragment,{children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),"Ver Módulo"]})})})]})]},_.id))})]})]})]})}function Efe(){const[e,t]=j.useState(""),[n,r]=j.useState(""),[i,s]=j.useState(""),[o,c]=j.useState(null),[l,u]=j.useState(null),d=j.useRef(null),[p,h]=j.useState(!1),[f,v]=j.useState(!1),[m,y]=j.useState(null),[g,x]=j.useState(!1),[b,_]=j.useState(0),[E,T]=j.useState(!1),[A,w]=j.useState([]),[S,k]=j.useState(!1),[P]=j.useState(!0),[D,R]=j.useState("new"),[N,q]=j.useState(new Set),{toast:I}=ar(),{trackFeatureUsage:z}=I4(),M=async()=>{if(o){x(!0);try{const{data:ae,error:le}=await Ye.from("interviews").select("*").eq("user_id",o.id).in("status",["creating","processing","pending","created-pending","analyzing-interview"]).order("created_at",{ascending:!1}).limit(1);if(le){console.error("Error fetching pending interviews:",le);return}ae!=null&&ae.length?y(ae[0]):y(null)}catch(ae){console.error("Error in checkPendingInterviews:",ae)}finally{x(!1)}}},F=async()=>{if(o){T(!0);try{const{count:ae,error:le}=await Ye.from("interviews").select("*",{count:"exact",head:!0}).eq("user_id",o.id);if(le){console.error("Error counting interviews:",le);return}_(ae??0)}catch(ae){console.error("Error in countUserInterviews:",ae)}finally{T(!1)}}},H=async()=>{if(o){k(!0);try{const{data:ae,error:le}=await Ye.from("interviews").select("id, candidate_id, interview_id, job_title").eq("user_id",o.id);if(le||!(ae!=null&&ae.length)){le||w([]);return}const ge=ae.map(W=>W.candidate_id).filter(Boolean),{data:ke,error:de}=await Ye.from("interview_responses").select("*").in("candidate_id",ge).order("created_at",{ascending:!1});if(de)return;const we=(ke??[]).map(W=>{const X=ae.find(pe=>pe.candidate_id===W.candidate_id);return{...W,job_title:(X==null?void 0:X.job_title)??"Sin tÃtulo"}});w(we),we.length>0&&z("ai_interview").catch(console.error)}catch(ae){console.error("Error in fetchInterviewResponses:",ae)}finally{k(!1)}}},V=()=>{t(""),r(""),s(""),u(null),d.current&&(d.current.value="")},O=()=>m?["creating","processing","created-pending","analyzing-interview"].includes(m.status):!1,$=ae=>{q(le=>{const ge=new Set(le);return ge.has(ae)?ge.delete(ae):ge.add(ae),ge})},K=ae=>N.has(ae),Y=async()=>{var ae;if(!e.trim()||!n.trim()||!l||!o){I({title:"Campos requeridos",description:"Por favor completa todos los campos obligatorios, sube tu CV y asegúrate de estar autenticado.",variant:"destructive"});return}v(!0);try{const le=new FormData;
873le.append("user_id",o.id),le.append("fullname",((ae=o.user_metadata)==null?void 0:ae.full_name)??""),le.append("jobTitle",e),le.append("jobDescription",n),le.append("cv",l),le.append("language",i==="spanish"?"es":"en");const{error:ge}=await Ye.functions.invoke("ai-interview-request",{body:le});if(ge){I({title:"Error",description:`Error al enviar la solicitud: ${ge.message}`,variant:"destructive"});return}await F(),await M(),await H(),V(),h(!0),I({title:"¡Solicitud enviada!",description:"La entrevista IA llegará a tu email."})}catch(le){I({title:"Error",description:`Error al enviar la solicitud: ${le instanceof Error?le.message:"Error desconocido"}`,variant:"destructive"})}finally{v(!1)}},ee=ae=>{var ge;const le=(ge=ae.target.files)==null?void 0:ge[0];(le==null?void 0:le.type)==="application/pdf"&&u(le)},re=()=>{u(null),d.current&&(d.current.value="")};return j.useEffect(()=>{(async()=>{try{const{data:{user:le},error:ge}=await Ye.auth.getUser();if(ge){I({title:"Error",description:"Error al obtener datos del usuario. Por favor inicia sesión.",variant:"destructive"});return}le?c(le):I({title:"Usuario no encontrado",description:"Por favor inicia sesión para usar las entrevistas IA.",variant:"destructive"})}catch(le){console.error("Error in getUser:",le)}})()},[I]),j.useEffect(()=>{o&&(M(),F(),H())},[o]),j.useEffect(()=>{if(!m||m.status!=="analyzing-interview"||!P)return;const ae=setInterval(M,3e4);return()=>clearInterval(ae)},[m==null?void 0:m.status,P]),j.useEffect(()=>{(m==null?void 0:m.status)==="completed"&&(I({title:"ð ¡Análisis Completado!",description:"Tu entrevista ha sido analizada. Revisa los resultados y feedback.",duration:5e3}),z("ai_interview"))},[m==null?void 0:m.status,I,z]),{user:o,jobTitle:e,setJobTitle:t,jobDescription:n,setJobDescription:r,language:i,setLanguage:s,uploadedCV:l,fileInputRef:d,showEmailNotification:p,setShowEmailNotification:h,isSubmitting:f,pendingInterview:m,totalInterviews:b,isLoadingInterviews:E,interviewResponses:A,isLoadingResponses:S,activeTab:D,setActiveTab:R,clearForm:V,hasPendingInterviews:O,expandedInterviews:N,toggleInterviewExpansion:$,isInterviewExpanded:K,startInterview:Y,handleFileUpload:ee,removeCV:re,checkPendingInterviews:M,fetchInterviewResponses:H}}function Iz(e){const t=j.useRef({value:e,previous:e});return j.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var tD="Radio",[Sfe,Uz]=Es(tD),[Dfe,Afe]=Sfe(tD),Fz=j.forwardRef((e,t)=>{const{__scopeRadio:n,name:r,checked:i=!1,required:s,disabled:o,value:c="on",onCheck:l,form:u,...d}=e,[p,h]=j.useState(null),f=Zt(t,y=>h(y)),v=j.useRef(!1),m=p?u||!!p.closest("form"):!0;return a.jsxs(Dfe,{scope:n,checked:i,disabled:o,children:[a.jsx(Nt.button,{type:"button",role:"radio","aria-checked":i,"data-state":Bz(i),"data-disabled":o?"":void 0,disabled:o,value:c,...d,ref:f,onClick:Je(e.onClick,y=>{i||l==null||l(),m&&(v.current=y.isPropagationStopped(),v.current||y.stopPropagation())})}),m&&a.jsx(kfe,{control:p,bubbles:!v.current,name:r,value:c,checked:i,required:s,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});Fz.displayName=tD;var Mz="RadioIndicator",qz=j.forwardRef((e,t)=>{const{__scopeRadio:n,forceMount:r,...i}=e,s=Afe(Mz,n);return a.jsx(Xa,{present:r||s.checked,children:a.jsx(Nt.span,{"data-state":Bz(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:t})})});qz.displayName=Mz;var kfe=e=>{const{control:t,checked:n,bubbles:r=!0,...i}=e,s=j.useRef(null),o=Iz(n),c=yU(t);return j.useEffect(()=>{const l=s.current,u=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(u,"checked").set;if(o!==n&&p){const h=new Event("click",{bubbles:r});p.call(l,n),l.dispatchEvent(h)}},[o,n,r]),a.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:n,...i,tabIndex:-1,ref:s,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Bz(e){return e?"checked":"unchecked"}var Tfe=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],nD="RadioGroup",[Pfe,D_e]=Es(nD,[Kh,Uz]),zz=Kh(),$z=Uz(),[Lfe,Rfe]=Pfe(nD),Wz=j.forwardRef((e,t)=>
vendor: 1,056 bytes, line 873
873{const{__scopeRadioGroup:n,name:r,defaultValue:i,value:s,required:o=!1,disabled:c=!1,orientation:l,dir:u,loop:d=!0,onValueChange:p,...h}=e,f=zz(n),v=Xh(u),[m,y]=Vi({prop:s,defaultProp:i,onChange:p});return a.jsx(Lfe,{scope:n,name:r,required:o,disabled:c,value:m,onValueChange:y,children:a.jsx(y4,{asChild:!0,...f,orientation:l,dir:v,loop:d,children:a.jsx(Nt.div,{role:"radiogroup","aria-required":o,"aria-orientation":l,"data-disabled":c?"":void 0,dir:v,...h,ref:t})})})});Wz.displayName=nD;var Vz="RadioGroupItem",Hz=j.forwardRef((e,t)=>{const{__scopeRadioGroup:n,disabled:r,...i}=e,s=Rfe(Vz,n),o=s.disabled||r,c=zz(n),l=$z(n),u=j.useRef(null),d=Zt(t,u),p=s.value===i.value,h=j.useRef(!1);return j.useEffect(()=>{const f=m=>{Tfe.includes(m.key)&&(h.current=!0)},v=()=>h.current=!1;return document.addEventListener("keydown",f),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",f),document.removeEventListener("keyup",v)}},[]),a.jsx(v4,{asChild:!0,...c,focusable:!o,active:p,children:a.jsx(Fz,{disabled:o,required:s.required,
873checked:p,...l,...i,name:s.name,ref:d,onCheck:()=>s.onValueChange(i.value),onKeyDown:Je(f=>{f.key==="Enter"&&f.preventDefault()}),onFocus:Je(i.onFocus,()=>{var f;h.current&&((f=u.current)==null||f.click())})})})});Hz.displayName=Vz;var Ofe="RadioGroupIndicator",Gz=j.forwardRef((e,t)=>{const{__scopeRadioGroup:n,...r}=e,i=$z(n);return a.jsx(qz,{...i,...r,ref:t})});Gz.displayName=Ofe;var Xz=Wz,Kz=Hz,Ife=Gz;const Yz=j.forwardRef(({className:e,...t},n)=>a.jsx(Xz,{className:lt("grid gap-2",e),...t,ref:n}));Yz.displayName=Xz.displayName;const K3=j.forwardRef(({className:e,...t},n)=>a.jsx(Kz,{ref:n,className:lt("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:a.jsx(Ife,{className:"flex items-center justify-center",children:a.jsx(M7,{className:"h-2.5 w-2.5 fill-current text-current"})})}));K3.displayName=Kz.displayName;function Ufe({jobTitle:e,setJobTitle:t,jobDescription:n,setJobDescription:r,language:i,setLanguage:s,uploadedCV:o,fileInputRef:c,onFileUpload:l,onRemoveCV:u,onStartInterview:d,onClear:p,isSubmitting:h,isDisabled:f}){return a.jsxs(nt,{id:"interview-setup",className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(gu,{className:"w-5 h-5 text-primary"}),"Start IA Interview"]}),a.jsx(Wt,{children:"Puedes crear tantas entrevistas como quieras."})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx(dt,{className:"text-base font-medium",children:"Idioma de la entrevista *"}),a.jsxs(Yz,{value:i,onValueChange:s,className:"mt-2",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(K3,{value:"spanish",id:"spanish"}),a.jsx(dt,{htmlFor:"spanish",children:"Español"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(K3,{value:"english",id:"english"}),a.jsx(dt,{htmlFor:"english",children:"Inglés"})]})]})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"cv-upload",children:"Subir CV *"}),a.jsxs("div",{className:"mt-2 space-y-3",children:[a.jsx("input",{ref:c,type:"file",accept:".pdf",onChange:l,className:"hidden",id:"cv-upload"}),o?a.jsxs("div",{className:"flex items-center justify-between p-3 bg-accent rounded-lg",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(br,{className:"w-5 h-5 text-primary"}),a.jsx("span",{className:"text-sm font-medium",children:o.name})]}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",onClick:u,children:a.jsx(rl,{className:"w-4 h-4"})})]}):a.jsx(Ce,{type:"button",variant:"outline",onClick:()=>{var v;return(v=c.current)==null?void 0:v.click()},className:"w-full h-20 border-dashed",children:a.jsxs("div",{className:"text-center",children:[a.jsx(sy,{className:"w-6 h-6 mx-auto mb-2 text-muted-foreground"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Haz clic para subir tu CV (PDF, máximo 2MB)"})]})})]})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-title",children:"TÃtulo del puesto *"}),a.jsx(Hi,{id:"job-title",placeholder:"Ej: Frontend Developer, Data Scientist, Product Manager",value:e,onChange:v=>t(v.target.value),rows:1,className:"mt-2"})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-description",children:"Job Description *"}),a.jsx(Hi,{id:"job-description",placeholder:"Paste the job description here...",value:n,onChange:v=>r(v.target.value),rows:6,className:"mt-2"})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs(Ce,{onClick:d,disabled:f||h,variant:"professional",className:"flex-1",children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),h?"Enviando solicitud...":"Solicitar entrevista IA"]}),a.jsx(Ce,{variant:"outline",onClick:p,disabled:h,children:"Clear"})]})]})]})}function Ffe(){return a.jsxs("div",{className:"relative overflow-hidden rounded-xl border border-amber-200 bg-gradient-to-br from-amber-50 to-orange-50 p-6",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-amber-100/20 to-orange-100/20"}),a.jsxs("div",{className:"relative flex items-start gap-4",children:[a.jsx("div",{className:"flex-shrink-0",children:a.jsx("div",{className:"w-12 h-12 bg-gradient-to-br from-amber-400 to-orange-500 rounded-full flex items-center justify-center shadow-lg",children:a.jsx(En,{className:"w-6 h-6 text-white animate-pulse"})})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("h3",{className:"text-lg font-semibold text-amber-900 mb
873-1",children:"Entrevista en Proceso"}),a.jsx("p",{className:"text-amber-700 text-sm leading-relaxed",children:"Tienes una entrevista activa. Una vez que la completes o termine el análisis, podrás crear una nueva entrevista."}),a.jsxs("div",{className:"mt-3 flex items-center gap-2 text-xs text-amber-600",children:[a.jsx("div",{className:"w-2 h-2 bg-amber-400 rounded-full animate-pulse"}),a.jsx("span",{children:"Procesando en segundo plano"})]})]})]})]})}function Mfe({interview:e}){const t=e.status==="analyzing-interview",n=e.status==="created-pending";return a.jsxs(nt,{className:`shadow-card ${t?"border-blue-200 bg-blue-50":n?"border-green-200 bg-green-50":"border-orange-200 bg-orange-50"}`,children:[a.jsxs(kt,{children:[a.jsx(Tt,{className:`flex items-center gap-2 ${t?"text-blue-800":n?"text-green-800":"text-orange-800"}`,children:t?a.jsx(a.Fragment,{children:"Entrevista siendo analizada"}):n?a.jsxs(a.Fragment,{children:[a.jsx(pi,{className:"w-5 h-5"}),"Entrevista lista para completar"]}):a.jsxs(a.Fragment,{children:[a.jsx(En,{className:"w-5 h-5"}),"Entrevista en proceso"]})}),a.jsx(Wt,{className:t?"text-blue-700":n?"text-green-700":"text-orange-700",children:t?"Tu entrevista está siendo analizada por nuestra IA. Esto puede tomar unos minutos.":n?"Tu entrevista IA está lista. Haz clic en el enlace para comenzar.":"Tienes una entrevista IA siendo creada. Por favor espera a que se complete."})]}),a.jsx(it,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("p",{className:`font-medium ${t?"text-blue-800":n?"text-green-800":"text-orange-800"}`,children:e.job_title??"Entrevista IA"}),a.jsxs("p",{className:`text-sm ${t?"text-blue-600":n?"text-green-600":"text-orange-600"}`,children:["Creada el ",new Date(e.created_at).toLocaleString()]})]}),a.jsx(Ln,{variant:"outline",className:t?"border-blue-300 text-blue-700 bg-blue-100":n?"border-green-300 text-green-700 bg-green-100":"border-orange-300 text-orange-700 bg-orange-100",children:t?"Analizando...":e.status==="creating"?"Creando...":e.status==="processing"?"Procesando...":n?"Lista para completar":"Pendiente"})]}),t&&a.jsxs("div",{className:"bg-blue-50 p-4 rounded-lg border border-blue-200",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center",children:a.jsx(En,{className:"w-4 h-4 text-blue-600 animate-pulse"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx("p",{className:"text-sm font-medium text-blue-800",children:"Analizando tu entrevista"}),a.jsx("p",{className:"text-xs text-blue-600",children:"Tiempo estimado: máximo 25 minutos"})]})]}),a.jsx("div",{className:"mt-3 p-3 bg-white rounded border border-blue-100",children:a.jsxs("div",{className:"flex items-center gap-2 text-blue-700",children:[a.jsx(Tr,{className:"w-4 h-4"}),a.jsx("span",{className:"text-sm",children:"Te notificaremos por email cuando esté listo"})]})})]}),n&&e.interview_url&&a.jsxs("div",{className:"bg-green-100 p-4 rounded-lg border border-green-300",children:[a.jsx("p",{className:"text-sm font-medium text-green-800 mb-2",children:"剆Tu entrevista está lista!"}),a.jsx(Ce,{asChild:!0,className:"w-full bg-green-600 hover:bg-green-700 text-white",children:a.jsxs("a",{href:e.interview_url,target:"_blank",rel:"noopener noreferrer",children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),"Comenzar entrevista IA"]})}),a.jsx("p",{className:"text-xs text-green-600 mt-2",children:"â° La entrevista durará aproximadamente 15 minutos"})]}),!n&&!t&&a.jsxs("div",{className:"bg-orange-100 p-3 rounded-lg",children:[a.jsxs("p",{className:"text-sm text-orange-800",children:[a.jsx("strong",{children:"Estado:"})," ",e.api_message??"Entrevista en proceso"]}),a.jsx("p",{className:"text-xs text-orange-600 mt-1",children:"Recibirás un email cuando esté lista para completar."})]})]})})]})}function qfe(e){var n,r;return e==null?"":typeof e=="string"?e:((r=(n=e.summary_translations)==null?void 0:n.find(i=>i.lang==="es"))==null?void 0:r.text)??e.summary??""}function Bfe({response:e,isExpanded:t,onToggle:n}){var i,s,o,c,l,u,d,p;const r=e.ai_summary;return a.jsxs("div",{className:"border rounded-lg p-4",children:[a.jsxs("div",{className:"flex items-start justify-between mb-3",children:[a.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[a.jsx(Ce,{variant:"ghost",size:"sm",onClick:n,className:"h-6 w-6 p-0 hover:bg-gray-100",children:t?a.jsx(Zs,{className:"w-4 h-4"}):a.jsx(ny,{className:"w-4 h-4"})}),a.jsx("div",{children:a.jsxs("h3",{className:"font-medium",children:["Entrevista IA - ",e.job_title??"Sin tÃtulo"]})})]}),a.jsx("div",{className:"flex flex-col items-end gap-1",children:a.jsx(Ln,{variant:"outline",className:"text-xs",children:e.status??"Completada"})})]}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mb-3",children:[a.jsxs("div",{className:"flex items-center gap-1",children:[a.jsx(En,{className:"w-4 h-4"}),a.jsx("span",{children:e.started_at!=null&&e.ended_at!=null?`${Math.round((e.ended_at-e.started_at)/6e4)}
873 min`:"Duración no disponible"})]}),a.jsx("span",{children:e.created_at?new Date(e.created_at).toLocaleDateString():"Fecha no disponible"})]}),t&&a.jsxs("div",{className:"space-y-4",children:[e.summary!=null&&a.jsxs("div",{className:"mb-4",children:[a.jsx("h4",{className:"font-medium text-success mb-2",children:"Resumen de la Entrevista"}),a.jsx("div",{className:"text-sm whitespace-pre-line p-3 bg-accent rounded-lg",children:qfe(e)})]}),r&&a.jsxs("div",{className:"space-y-6 mb-4",children:[r.summary_translations&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-success mb-2",children:"ð Resumen General"}),a.jsx("div",{className:"text-sm p-3 bg-accent rounded-lg",children:((i=r.summary_translations.find(h=>h.lang==="es"))==null?void 0:i.text)??r.summary})]}),r.finalRecommendation&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-primary mb-2",children:"ð¯ Recomendación Final"}),a.jsxs("div",{className:"text-sm p-3 bg-primary/5 rounded-lg border-l-2 border-primary",children:[a.jsxs("p",{className:"font-medium",children:["Decisión:"," ",a.jsx("span",{className:`px-2 py-1 rounded text-xs ${r.finalRecommendation.decision==="YES"?"bg-green-100 text-green-800":r.finalRecommendation.decision==="NO"?"bg-red-100 text-red-800":"bg-yellow-100 text-yellow-800"}`,children:r.finalRecommendation.decision})]}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Confianza: ",r.finalRecommendation.confidence,"/5"]}),r.finalRecommendation.reasoning&&a.jsx("p",{className:"mt-2 text-xs",children:r.finalRecommendation.reasoning}),r.finalRecommendation.nextSteps&&a.jsxs("div",{className:"mt-2",children:[a.jsx("p",{className:"text-xs font-medium",children:"Próximos pasos:"}),a.jsx("p",{className:"text-xs",children:r.finalRecommendation.nextSteps})]})]})]}),r.hardSkills&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-blue-600 mb-2",children:"ð§ Habilidades Técnicas"}),a.jsx("div",{className:"text-sm p-3 bg-blue-50 rounded-lg border-l-2 border-blue-600",children:a.jsx("p",{className:"text-xs whitespace-pre-line",children:r.hardSkills})})]}),r.softSkills&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-warning mb-2",children:"ð¤ Habilidades Blandas"}),a.jsx("div",{className:"text-sm p-3 bg-warning/5 rounded-lg border-l-2 border-warning",children:a.jsx("p",{className:"text-xs whitespace-pre-line",children:r.softSkills})})]}),r.englishLevel&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-purple-600 mb-2",children:"ð Nivel de Inglés"}),a.jsx("div",{className:"text-sm p-3 bg-purple-50 rounded-lg border-l-2 border-purple-600",children:a.jsx("p",{className:"text-xs",children:r.englishLevel})})]}),r.keyTechnologies&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-indigo-600 mb-2",children:"ð» TecnologÃas Clave"}),a.jsx("div",{className:"text-sm p-3 bg-indigo-50 rounded-lg border-l-2 border-indigo-600",children:a.jsx("p",{className:"text-xs",children:r.keyTechnologies})})]}),r.technicalExperience&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-cyan-600 mb-2",children:"âï¸ Experiencia Técnica"}),a.jsx("div",{className:"text-sm p-3 bg-cyan-50 rounded-lg border-l-2 border-cyan-600",children:a.jsx("p",{className:"text-xs",children:r.technicalExperience})})]}),r.candidateFeedback&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-green-600 mb-2",children:"ð¬ Feedback del Candidato"}),a.jsx("div",{className:"text-sm p-3 bg-green-50 rounded-lg border-l-2 border-green-600",children:a.jsxs("div",{className:"space-y-3",children:[r.candidateFeedback.feedback&&a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð Feedback General:"}),a.jsx("p",{className:"text-xs mt-1",children:r.candidateFeedback.feedback})]}),r.candidateFeedback.starMethodology&&a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"â MetodologÃa STAR:"}),a.jsx("p",{className:"text-xs mt-1",children:r.candidateFeedback.starMethodology})]}),(s=r.candidateFeedback.actionableAdvice)!=null&&s.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð¡ Consejos Accionables:"}),a.jsx("ul",{className:"list-disc list-inside mt-1 space-y-1",children:r.candidateFeedback.actionableAdvice.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null,(o=r.candidateFeedback.areasForImprovement)!=null&&o.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð¯ Ãreas de Mejora:"}),a.jsx("ul",{className:"list-disc list-inside mt-1 space-y-1",children:r.candidateFeedback.areasForImprovement.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null,r.candidateFeedback.salaryRange&&a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð° Expectativas Salariales:"}),a.jsx("p",{className:"text-xs mt-1",children:r.candidateFeedback.salaryRange})]}),r.candidateFeedback.impactMetrics&&a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð Métricas de Impacto:"}),a.jsxs("div",{className:"mt-1 space-y-1",children:[(c=r.candidateFeedback.impactMetrics.strengths)!=null&&c.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium",children:"Fortalezas:"}),a.jsx("ul",{className:"list-disc list-inside ml-2",children:r.candidateFeedback.impactMetrics.strengths.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null,(l=r.candidateFeedback.impactMetrics.achievements)!=null&&l.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium",children:"Logros:"}),a.jsx("ul",{className:"list-disc list-inside ml-2",children:r.candidateFeedback.impactMetrics.achievements.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null,(u=r.candidateFeedback.impactMetrics.improvements)!=null&&u.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium",children:"Mejoras:"}),a.jsx("ul",{className:"list-disc list-inside ml-2",children:r.candidateFeedback.impactMetrics.improvements.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null]})]}),(d=r.candidateFeedback.improvementSimulation)!=null&&d.length?a.jsxs("div",{children:[a.jsx("p",{className:"text-xs font-medium text-green-800",children:"ð Simulación de Mejoras:"}),a.jsx("ul",{className:"list-disc list-inside mt-1",children:r.candidateFeedback.improvementSimulation.map((h,f)=>a.jsx("li",{className:"text-xs",children:h},f))})]}):null]})})]}),r.communicationAnalysis&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-pink-600 mb-2",children:"ð£ï¸ Análisis de Comunicación"}),a.jsx("div",{className:"text-sm p-3 bg-pink-50 rounded-lg border-l-2 border-pink-600",children:a.jsxs("div",{className:"space-y-2",children:[r.communicationAnalysis.communicationStrengths&&a.jsxs("p",{className:"text-xs",children:[a.jsx("strong",{children:"Fortalezas:"})," ",r.communicationAnalysis.communicationStrengths]}),r.communicationAnalysis.communicationWeaknesses&&a.jsxs("p",{className:"text-xs",children:[a.jsx("strong",{children:"Debilida
873des:"})," ",r.communicationAnalysis.communicationWeaknesses]}),(p=r.communicationAnalysis.alternativeSuggestions)!=null&&p.length?a.jsxs("div",{className:"text-xs",children:[a.jsx("strong",{children:"Sugerencias alternativas:"}),a.jsx("ul",{className:"list-disc list-inside mt-1",children:r.communicationAnalysis.alternativeSuggestions.map((h,f)=>a.jsx("li",{children:h},f))})]}):null]})})]}),r.potentialAssessment&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-teal-600 mb-2",children:"ð Evaluación de Potencial"}),a.jsx("div",{className:"text-sm p-3 bg-teal-50 rounded-lg border-l-2 border-teal-600",children:a.jsxs("div",{className:"space-y-2",children:[r.potentialAssessment.growthPotential&&a.jsxs("p",{className:"text-xs",children:[a.jsx("strong",{children:"Potencial de crecimiento:"})," ",r.potentialAssessment.growthPotential]}),r.potentialAssessment.careerTrajectory&&a.jsxs("p",{className:"text-xs",children:[a.jsx("strong",{children:"Trayectoria profesional:"})," ",r.potentialAssessment.careerTrajectory]}),r.potentialAssessment.leadershipReadiness&&a.jsxs("p",{className:"text-xs",children:[a.jsx("strong",{children:"Preparación para liderazgo:"})," ",r.potentialAssessment.leadershipReadiness]})]})})]}),r.philosophyAndApproach&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-amber-600 mb-2",children:"ð¯ FilosofÃa y Enfoque"}),a.jsx("div",{className:"text-sm p-3 bg-amber-50 rounded-lg border-l-2 border-amber-600",children:a.jsx("p",{className:"text-xs",children:r.philosophyAndApproach})})]}),r.overallScore!=null&&a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium text-emerald-600 mb-2",children:"ð Puntuación General"}),a.jsx("div",{className:"text-sm p-3 bg-emerald-50 rounded-lg border-l-2 border-emerald-600",children:a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("span",{className:"text-lg font-bold",children:[r.overallScore,"/100"]}),a.jsx("div",{className:"flex-1 bg-gray-200 rounded-full h-2",children:a.jsx("div",{className:"bg-emerald-600 h-2 rounded-full",style:{width:`${r.overallScore}%`}})})]})})]})]}),a.jsx("div",{className:"mt-4 pt-3 border-t flex gap-2 flex-wrap",children:e.recording_url&&a.jsx(Ce,{variant:"outline",size:"sm",asChild:!0,children:a.jsx("a",{href:e.recording_url,target:"_blank",rel:"noopener noreferrer",children:"ð§ Escuchar grabación"})})})]})]})}function zfe({responses:e,isLoading:t,expandedIds:n,onToggleExpand:r}){return e.length===0&&!t?a.jsx(nt,{className:"shadow-card",children:a.jsxs(it,{className:"text-center py-8",children:[a.jsx(br,{className:"w-12 h-12 text-muted-foreground mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-muted-foreground mb-2",children:"No hay entrevistas completadas"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Una vez que completes una entrevista IA, aparecerá aquà con tu feedback detallado."})]})}):a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(br,{className:"w-5 h-5 text-primary"}),"Historial de Entrevistas IA"]}),a.jsx(Wt,{children:"Revisa tus entrevistas completadas y el análisis de IA"})]}),a.jsx(it,{children:t?a.jsx("div",{className:"flex items-center justify-center py-8",children:a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(qf,{className:"w-4 h-4 animate-spin"}),a.jsx("span",{children:"Cargando entrevistas..."})]})}):a.jsx("div",{className:"space-y-4",children:e.map(i=>a.jsx(Bfe,{response:i,isExpanded:n.has(i.id),onToggle:()=>r(i.id)},i.id))})})]})}function $fe({open:e,onOpenChange:t}){return a.jsx(Go,{open:e,onOpenChange:t,children:a.jsxs(so,{className:"max-w-md",children:[a.jsx(Xo,{children:a.jsxs(oo,{className:"flex items-center gap-2",children:[a.jsx(Tr,{className:"w-5 h-5 text-primary"}),"Entrevista IA en camino"]})}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"text-center py-6",children:[a.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(En,{className:"w-8 h-8 text-primary animate-pulse"})}),a.jsxs("p",{className:"text-sm text-muted-foreground mb-4",children:[a.jsx("strong",{children:"¡Perfecto!"})," En los próximos minutos recibirás un link por correo electrónico con tu entrevista IA personalizada."]}),a.jsx("div",{className:"bg-accent/50 p-4 rounded-lg",children:a.jsxs("p",{className:"text-xs text-muted-foreground",children:["ð§ Revisa tu bandeja de entrada y carpeta de spam",a.jsx("br",{}),"â° La entrevista estará lista en 2-5 minutos",a.jsx("br",{}),"ð El feedback aparecerá aquà después de completarla"]})})]}),a.jsx("div",{className:"flex gap-2",children:a.jsx(Ce,{onClick:()=>t(!1),className:"flex-1",children:"Entendido"})})]})]})})}function Wfe(){const{jobTitle:e,setJobTitle:t,jobDescription:n,setJobDescription:r,language:i,setLanguage:s,uploadedCV:o,fileInputRef:c,showEmailNotification:l,setShowEmailNotification:u,isSubmitting:d,pendingInterview:p,totalInterviews:h,isLoadingInterviews:f,interviewResponses:v,isLoadingResponses:m,activeTab:y,setActiveTab:g,clearForm:x,hasPendingInterviews:b,expandedInterviews:_,toggleInterviewExpansion:E,isInterviewExpanded:T,startInterview:A,handleFileUpload:w,removeCV:S,user:k}=Efe(),P=!!e.trim()&&!!n.trim()&&!!i&&!!o&&!!k;return a.jsxs("div",{className:"space-y-6",children:[a.jsx("div",{className:"flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4",children:a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:"Simulación de Entrevistas con IA"}),a.jsx("p",{className:"text-muted-foreground",children:"Practica entrevistas con IA y recibe retroalimentación detallada"}),!f&&h>0&&a.jsxs("div",{className:"flex items-center gap-4 mt-2 text-sm text-muted-foreground",children:[a.jsxs("span",{children:["ð Total creadas: ",h]}),p&&a.jsx("span",{className:"text-blue-600",children:"ð En proceso: 1"})]})]})}),a.jsxs(g2,{value:y,onValueChange:g,className:"w-full",children:[a.jsxs(gy,{className:"grid w-full grid-cols-2",children:[a.jsx(Js,{value:"new",children:"Nueva Entrevista"}),a.jsx(Js,{value:"history",children:"Historial"})]}),a.jsxs(eo,{value:"new",className:"space-y-6",children:[b()&&a.jsx(Ffe,{}),!b()&&a.jsx(Ufe,{jobTitle:e,setJobTitle:t,jobDescription:n,setJobDescription:r,language:i,setLanguage:s,uploadedCV:o,fileInputRef:c,onFileUpload:w,onRemoveCV:S,onStartInterview:A,onClear:x,isSubmitting:d,isDisabled:!P}),p&&a.jsx(Mfe,{interview:p})]}),a.jsx(eo,{value:"history",className:"space-y-6",children:a.jsx(zfe,{responses:v,isLoading:m,expandedIds:_,onToggleExpand:E})})]}),a.jsx($fe,{open:l,onOpenChange:u})]})}function Vfe({isOpen:e,form:t,onOpenChange:n,onFormChange:r,onSubmit:i}){const s=(o,c)=>{r({...t,[o]:c})};return a.jsxs(Go,{open:e,onOpenChange:n,children:[a.jsx(M0,{asChild:!0,children:a.jsxs(Ce,{variant:"professional",children:[a.jsx(ry,{className:"w-4 h-4 mr-2"}),"Agregar Vacante"]})}),a.jsxs(so,{className:"overflow-visible",children:[a.jsx(Xo,{children:a.jsx(oo,{children:"Agregar Nueva Vacante"})}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-title",children:"TÃtulo del Puesto"}),a.jsx(Lt,{id:"job-title",value:t.title,onChange:o=>s("title",o.target.value),placeholder:"ej., Desarrollador Frontend Senior"})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-company",children:"Empresa"}),a.jsx(Lt,{id:"job-company",value:t.company,onChange:o=>
873s("company",o.target.value),placeholder:"ej., Tech Corp"})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-platform",children:"Plataforma"}),a.jsxs("select",{id:"job-platform",value:t.platform,onChange:o=>s("platform",o.target.value),className:"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",children:[a.jsx("option",{value:"",children:"Seleccionar plataforma"}),a.jsx("option",{value:"LinkedIn",children:"LinkedIn"}),a.jsx("option",{value:"Indeed",children:"Indeed"}),a.jsx("option",{value:"OCC",children:"OCC"}),a.jsx("option",{value:"Computrabajo",children:"Computrabajo"}),a.jsx("option",{value:"AngelList",children:"AngelList"}),a.jsx("option",{value:"Other",children:"Otro"})]})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-url",children:"URL de la Vacante"}),a.jsx(Lt,{id:"job-url",value:t.url,onChange:o=>s("url",o.target.value),placeholder:"https://..."})]}),a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"job-description",children:"Descripción de la Vacante"}),a.jsx(Hi,{id:"job-description",value:t.description,onChange:o=>s("description",o.target.value),placeholder:"Descripción del puesto, requisitos, beneficios...",rows:3})]}),a.jsx(Ce,{onClick:i,className:"w-full",children:"Agregar Aplicación"})]})]})]})}function Hfe({isOpen:e,onOpenChange:t,onConfirm:n,onCancel:r}){return a.jsx(Go,{open:e,onOpenChange:t,children:a.jsxs(so,{children:[a.jsx(Xo,{children:a.jsx(oo,{children:"Confirmar eliminación"})}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"¿Estás seguro de que quieres eliminar esta aplicación? Esta acción no se puede deshacer."}),a.jsxs("div",{className:"flex gap-2 justify-end",children:[a.jsx(Ce,{variant:"outline",onClick:r,children:"Cancelar"}),a.jsx(Ce,{variant:"destructive",onClick:n,children:"Eliminar"})]})]})]})})}const Gfe=["applied","first-call","advancing","rejected","accepted"],ub={key:"recommended-roles",label:"Roles recomendados",headerClassName:"text-indigo-800",badgeClassName:"bg-indigo-100 text-indigo-800"},Xfe=[{key:"applied",label:"Me interesan",headerClassName:"text-blue-800",badgeClassName:"bg-blue-100 text-blue-800"},{key:"advancing",label:"En Proceso",headerClassName:"text-purple-800",badgeClassName:"bg-purple-100 text-purple-800"},{key:"rejected",label:"Rechazos",headerClassName:"text-red-800",badgeClassName:"bg-red-100 text-red-800"},{key:"accepted",label:"Aceptada",headerClassName:"text-green-800",badgeClassName:"bg-green-100 text-green-800"}],rD={applied:"Me interesan","first-call":"Primera llamada",advancing:"En Proceso",rejected:"Rechazos",accepted:"Aceptada"},Kfe={applied:"bg-blue-100 text-blue-800","first-call":"bg-yellow-100 text-yellow-800",advancing:"bg-purple-100 text-purple-800",rejected:"bg-red-100 text-red-800",accepted:"bg-green-100 text-green-800"};function Yfe(e){return Kfe[e]??"bg-gray-100 text-gray-800"}function Qfe(e){switch(e){case"interview":return"Entrevista";case"feedback":return"Feedback";default:return"General"}}function Zfe({application:e,isOpen:t,onOpenChange:n}){return e?a.jsx(Go,{open:t,onOpenChange:n,children:a.jsxs(so,{className:"max-w-2xl max-h-[80vh] overflow-y-auto",children:[a.jsx(Xo,{children:a.jsx(oo,{className:"text-xl font-bold",children:"Detalles de la Vacante"})}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:e.title}),a.jsx("p",{className:"text-muted-foreground",children:e.company})]}),a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"Plataforma"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.platform})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"Estado"}
873),a.jsx(Ln,{variant:"outline",className:Yfe(e.status),children:rD[e.status]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"Fecha de aplicación"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.dateApplied})]}),e.url&&a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"URL de la vacante"}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("p",{className:"text-sm text-blue-600 truncate flex-1",children:e.url}),a.jsx(Ce,{size:"sm",variant:"outline",onClick:()=>window.open(e.url,"_blank","noopener,noreferrer"),children:a.jsx(zd,{className:"w-4 h-4"})})]})]}),e.description&&a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"Descripción de la vacante"}),a.jsx("p",{className:"text-sm text-muted-foreground whitespace-pre-wrap",children:e.description})]})]}),e.notes.length>0&&a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{className:"text-sm font-medium",children:"Notas"}),a.jsx("div",{className:"space-y-2",children:e.notes.map(r=>a.jsxs("div",{className:"p-3 bg-muted/50 rounded-lg",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[a.jsx(Ln,{variant:"outline",className:"text-xs",children:Qfe(r.type)}),a.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(r.date).toLocaleDateString("es-ES")})]}),a.jsx("p",{className:"text-sm text-foreground",children:r.text})]},r.id))})]}),a.jsx("div",{className:"flex gap-2 pt-4 border-t",children:a.jsxs(Ce,{variant:"outline",onClick:()=>e.url&&window.open(e.url,"_blank","noopener,noreferrer"),disabled:!e.url,className:"flex-1",children:[a.jsx(zd,{className:"w-4 h-4 mr-2"}),"Ver Vacante"]})})]})]})}):null}const nw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function nm(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function aD(e){return"nodeType"in e}function Qa(e){var t,n;return e?nm(e)?e:aD(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function iD(e){const{Document:t}=Qa(e);return e instanceof t}function Ey(e){return nm(e)?!1:e instanceof Qa(e).HTMLElement}function Qz(e){return e instanceof Qa(e).SVGElement}function rm(e){return e?nm(e)?e.document:aD(e)?iD(e)?e:Ey(e)||Qz(e)?e.ownerDocument:document:document:document}const Zc=nw?j.useLayoutEffect:j.useEffect;function rw(e){const t=j.useRef(e);return Zc(()=>{t.current=e}),j.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current==null?void 0:t.current(...r)},[])}function Jfe(){const e=j.useRef(null),t=j.useCallback((r,i)=>{e.current=setInterval(r,i)},[]),n=j.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Ax(e,t){t===void 0&&(t=[e]);const n=j.useRef(e);return Zc(()=>{n.current!==e&&(n.current=e)},t),n}function Sy(e,t){const n=j.useRef();return j.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function J0(e){const t=rw(e),n=j.useRef(null),r=j.useCallback(i=>{i!==n.current&&(t==null||t(i,n.current)),n.current=i},[]);return[n,r]}function e1(e){const t=j.useRef();return j.useEffect(()=>{t.current=e},[e]),t.current}let c_={};function aw(e,t){return j.useMemo(()=>{if(t)return t;const n=c_[e]==null?0:c_[e]+1;return c_[e]=n,e+"-"+n},[e,t])}function Zz(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((s,o)=>{const c=Object.entries(o);for(const[l,u]of c){const d=s[l];d!=null&&(s[l]=d+e*u)}return s},{...t})}}const Gf=Zz(1),t1=Zz(-1);function ehe(e){return"clientX"in e&&"clientY"in e}function sD(e){if(!e)return!1;const{KeyboardEvent:t}=Qa(e.target);return t&&e instanceof t}function the(e){if(!e)return!1;const{TouchEvent:t}=Qa(e.target);return t&&e instanceof t}function n1(e){if(the(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ehe(e)?{x:e.clientX,y:e.clientY}:null}const Kd=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Kd.Translate.toString(e),Kd.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),Y8="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function nhe(e){return e.matches(Y8)?e:e.querySelector(Y8)}const rhe={display:"none"};function ahe(e){let{id:t,value:n}=e;return Ue.createElement("div",{id:t,style:rhe},n)}function ihe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const i={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return Ue.createElement("div",{id:t,style:i,role:"status","aria-live":r,"aria-atomic":!0},n)}function she(){const[e,t]=j.useState("");return{announce:j.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const Jz=j.createContext(null);function ohe(e){const t=j.useContext(Jz);j.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function che(){const[e]=j.useState(()=>new Set),t=j.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[j.useCallback(r=>{let{type:i,event:s}=r;e.forEach(o=>{var c;return(c=o[i])==null?void 0:c.call(o,s)})},[e]),t]}const lhe={draggable:` 874 To pick up a draggable item, press the space bar. 875 While dragging, use the arrow keys to move the item. 876 Press space again to drop the item in its new position, or press escape to cancel. 877 `},uhe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function dhe(e){let{announcements:t=uhe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=lhe}=e;const{announce:s,announcement:o}=she(),c=aw("DndLiveRegion"),[l,u]=j.useState(!1);if(j.useEffect(()=>{u(!0)},[]),ohe(j.useMemo(()=>({onDragStart(p){let{active:h}=p;s(t.onDragStart({active:h}))},onDragMove(p){let{active:h,over:f}=p;t.onDragMove&&s(t.onDragMove({active:h,over:f}))},onDragOver(p){let{active:h,over:f}=p;s(t.onDragOver({active:h,over:f}))},onDragEnd(p){let{active:h,over:f}=p;s(t.onDragEnd({active:h,over:f}))},onDragCancel(p){let{active:h,over:f}=p;
877s(t.onDragCancel({active:h,over:f}))}}),[s,t])),!l)return null;const d=Ue.createElement(Ue.Fragment,null,Ue.createElement(ahe,{id:r,value:i.draggable}),Ue.createElement(ihe,{id:c,announcement:o}));return n?oi.createPortal(d,n):d}var kr;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(kr||(kr={}));function r1(){}function Q8(e,t){return j.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}function phe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return j.useMemo(()=>[...t].filter(r=>r!=null),[...t])}const lo=Object.freeze({x:0,y:0});function fhe(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function hhe(e,t){const n=n1(e);if(!n)return"0 0";const r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}function mhe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function ghe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Z8(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function xhe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}const yhe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=Z8(t),s=[];for(const o of r){const{id:c}=o,l=n.get(c);if(l){const u=Z8(l),d=i.reduce((h,f,v)=>h+fhe(u[v],f),0),p=Number((d/4).toFixed(4));s.push({id:c,data:{droppableContainer:o,value:p}})}}return s.sort(mhe)};function vhe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),s=Math.min(t.top+t.height,e.top+e.height),o=i-r,c=s-n;if(r<i&&n<s){const l=t.width*t.height,u=e.width*e.height,d=o*c,p=d/(l+u-d);return Number(p.toFixed(4))}return 0}const bhe=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const s of r){const{id:o}=s,c=n.get(o);if(c){const l=vhe(c,t);l>0&&i.push({id:o,data:{droppableContainer:s,value:l}})}}return i.sort(ghe)};function whe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function e$(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:lo}function jhe(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];return i.reduce((o,c)=>({...o,top:o.top+e*c.y,bottom:o.bottom+e*c.y,left:o.left+e*c.x,right:o.right+e*c.x}),{...n})}}const _he=jhe(1);function t$(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Nhe(e,t,n){const r=t$(t);if(!r)return e;const{scaleX:i,scaleY:s,x:o,y:c}=r,l=e.left-o-(1-i)*parseFloat(n),u=e.top-c-(1-s)*parseFloat(n.slice(n.indexOf(" ")+1)),d=i?e.width/i:e.width,p=s?e.height/s:e.height;return{width:d,height:p,top:u,right:l+d,bottom:u+p,left:l}}const Che={ignoreTransform:!1};function Dy(e,t){t===void 0&&(t=Che);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Qa(e).getComputedStyle(e);u&&(n=Nhe(n,u,d))}const{top:r,left:i,width:s,height:o,bottom:c,right:l}=n;return{top:r,left:i,width:s,height:o,bottom:c,right:l}}function J8(e){return Dy(e,{ignoreTransform:!0})}function Ehe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function She(e,t){return t===void 0&&(t=Qa(e).getComputedStyle(e)),t.position==="fixed"}function Dhe(e,t){t===void 0&&(t=Qa(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(i=>{const s=t[i];return typeof s=="string"?n.test(s):!1})}function oD(e,t){const n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(iD(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Ey(i)||Qz(i)||n.includes(i))return n;const s=Qa(e).getComputedStyle(i);return i!==e&&Dhe(i,s)&&n.push(i),She(i,s)?n:r(i.parentNode)}return e?r(e):n}function n$(e){const[t]=oD(e,1);return t??null}function l_(e){return!nw||!e?null:nm(e)?e:aD(e)?iD(e)||e===rm(e).scrollingElement?window:Ey(e)?e:null:null}function r$(e){return nm(e)?e.scrollX:e.scrollLeft}function a$(e){return nm(e)?e.scrollY:e.scrollTop}function Y3(e){return{x:r$(e),y:a$(e)}}var qr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(qr||(qr={}));function i$(e){return!nw||!e?!1:e===document.scrollingElement}function s$(e){const t={x:0,y:0},n=i$(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,s=e.scrollLeft<=t.x,o=e.scrollTop>=r.y,c=e.scrollLeft>=r.x;return{isTop:i,isLeft:s,isBottom:o,isRight:c,maxScroll:r,minScroll:t}}const Ahe={x:.2,y:.2};function khe(e,t,n,r,i){let{top:s,left:o,right:c,bottom:l}=n;r===void 0&&(r=10),i===void 0&&(i=Ahe);
877const{isTop:u,isBottom:d,isLeft:p,isRight:h}=s$(e),f={x:0,y:0},v={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!u&&s<=t.top+m.height?(f.y=qr.Backward,v.y=r*Math.abs((t.top+m.height-s)/m.height)):!d&&l>=t.bottom-m.height&&(f.y=qr.Forward,v.y=r*Math.abs((t.bottom-m.height-l)/m.height)),!h&&c>=t.right-m.width?(f.x=qr.Forward,v.x=r*Math.abs((t.right-m.width-c)/m.width)):!p&&o<=t.left+m.width&&(f.x=qr.Backward,v.x=r*Math.abs((t.left+m.width-o)/m.width)),{direction:f,speed:v}}function The(e){if(e===document.scrollingElement){const{innerWidth:s,innerHeight:o}=window;return{top:0,left:0,right:s,bottom:o,width:s,height:o}}const{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function o$(e){return e.reduce((t,n)=>Gf(t,Y3(n)),lo)}function Phe(e){return e.reduce((t,n)=>t+r$(n),0)}function Lhe(e){return e.reduce((t,n)=>t+a$(n),0)}function c$(e,t){if(t===void 0&&(t=Dy),!e)return;const{top:n,left:r,bottom:i,right:s}=t(e);n$(e)&&(i<=0||s<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const Rhe=[["x",["left","right"],Phe],["y",["top","bottom"],Lhe]];class cD{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=oD(n),i=o$(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[s,o,c]of Rhe)for(const l of o)Object.defineProperty(this,l,{get:()=>{const u=c(r),d=i[s]-u;return this.rect[l]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ig{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var i;(i=this.target)==null||i.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function Ohe(e){const{EventTarget:t}=Qa(e);return e instanceof t?e:rm(e)}function u_(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var ds;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(ds||(ds={}));function eP(e){e.preventDefault()}function Ihe(e){e.stopPropagation()}var Cn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"})(Cn||(Cn={}));const l$={start:[Cn.Space,Cn.Enter],cancel:[Cn.Esc],end:[Cn.Space,Cn.Enter,Cn.Tab]},Uhe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Cn.Right:return{...n,x:n.x+25};case Cn.Left:return{...n,x:n.x-25};case Cn.Down:return{...n,y:n.y+25};case Cn.Up:return{...n,y:n.y-25}}};class u${constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Ig(rm(n)),this.windowListeners=new Ig(Qa(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ds.Resize,this.handleCancel),this.windowListeners.add(ds.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ds.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&c$(r),n(lo)}handleKeyDown(t){if(sD(t)){const{active:n,context:r,options:i}=this.props,{keyboardCodes:s=l$,coordinateGetter:o=Uhe,scrollBehavior:c="smooth"}=i,{code:l}=t;if(s.end.includes(l)){this.handleEnd(t);return}if(s.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:lo;this.referenceCoordinates||(this.referenceCoordinates=d);const p=o(t,{active:n,context:r.current,currentCoordinates:d});if(p){const h=t1(p,d),f={x:0,y:0},{scrollableAncestors:v}=r.current;for(const m of v){const y=t.code,{isTop:g,isRight:x,isLeft:b,isBottom:_,maxScroll:E,minScroll:T}=s$(m),A=The(m),w={x:Math.min(y===Cn.Right?A.right-A.width/2:A.right,Math.max(y===Cn.Right?A.left:A.left+A.width/2,p.x)),y:Math.min(y===Cn.Down?A.bottom-A.height/2:A.bottom,Math.max(y===Cn.Down?A.top:A.top+A.height/2,p.y))},S=y===Cn.Right&&!x||y===Cn.Left&&!b,k=y===Cn.Down&&!_||y===Cn.Up&&!g;if(S&&w.x!==p.x){const P=m.scrollLeft+h.x,D=y===Cn.Right&&P<=E.x||y===Cn.Left&&P>=T.x;if(D&&!h.y){m.scrollTo({left:P,behavior:c});return}D?f.x=m.scrollLeft-P:f.x=y===Cn.Right?m.scrollLeft-E.x:m.scrollLeft-T.x,f.x&&m.scrollBy({left:-f.x,behavior:c});break}else if(k&&w.y!==p.y){const P=m.scrollTop+h.y,D=y===Cn.Down&&P<=E.y||y===Cn.Up&&P>=T.y;if(D&&!h.x){m.scrollTo({top:P,behavior:c});return}D?f.y=m.scrollTop-P:f.y=y===Cn.Down?m.scrollTop-E.y:m.scrollTop-T.y,f.y&&m.scrollBy({top:-f.y,behavior:c});break}}this.handleMove(t,Gf(t1(p,this.referenceCoordinates),f))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}u$.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=l$,onActivation:i}=t,{active:s}=n;const{code:o}=e.nativeEvent;if(r.start.includes(o)){const c=s.activatorNode.current;return c&&e.target!==c?!1:(e.preventDefault(),i==null||i({event:e.nativeEvent}),!0)}return!1}}];function tP(e){return!!(e&&"distance"in e)}function nP(e){return!!(e&&"delay"in e)}class lD{constructor(t,n,r){var i;r===void 0&&(r=Ohe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:s}=t,{target:o}=s;this.props=t,this.events=n,this.document=rm(o),this.documentListeners=new Ig(this.document),this.listeners=new Ig(r),this.windowListeners=new Ig(Qa(o)),this.initialCoordinates=(i=n1(s))!=null?i:lo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),t.cancel&&this.listeners.add(t.cancel.name,this.handleCancel),this.windowListeners.add(ds.Resize,this.handleCancel),this.windowListeners.add(ds.DragStart,eP),this.windowListeners.add(ds.VisibilityChange,this.handleCancel),this.windowListeners.add(ds.ContextMenu,eP),this.documentListeners.add(ds.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(nP(n)){this.timeoutId=setTimeout(this.handleStart,n.delay),this.handlePending(n);return}if(tP(n)){this.handlePending(n);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(t,n){const{active:r,onPending:i}=this.props;i(r,t,this.initialCoordinates,n)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(ds.Click,Ihe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ds.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:i,props:s}=this,{onMove:o,options:{activationConstraint:c}}=s;
877if(!i)return;const l=(n=n1(t))!=null?n:lo,u=t1(i,l);if(!r&&c){if(tP(c)){if(c.tolerance!=null&&u_(u,c.tolerance))return this.handleCancel();if(u_(u,c.distance))return this.handleStart()}if(nP(c)&&u_(u,c.tolerance))return this.handleCancel();this.handlePending(c,u);return}t.cancelable&&t.preventDefault(),o(l)}handleEnd(){const{onAbort:t,onEnd:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleCancel(){const{onAbort:t,onCancel:n}=this.props;this.detach(),this.activated||t(this.props.active),n()}handleKeydown(t){t.code===Cn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const Fhe={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class uD extends lD{constructor(t){const{event:n}=t,r=rm(n.target);super(t,Fhe,r)}}uD.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const Mhe={move:{name:"mousemove"},end:{name:"mouseup"}};var Q3;(function(e){e[e.RightClick=2]="RightClick"})(Q3||(Q3={}));class qhe extends lD{constructor(t){super(t,Mhe,rm(t.event.target))}}qhe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===Q3.RightClick?!1:(r==null||r({event:n}),!0)}}];const d_={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class d$ extends lD{constructor(t){super(t,d_)}static setup(){return window.addEventListener(d_.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(d_.move.name,t)};function t(){}}}d$.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return i.length>1?!1:(r==null||r({event:n}),!0)}}];var Ug;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Ug||(Ug={}));var a1;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(a1||(a1={}));function Bhe(e){let{acceleration:t,activator:n=Ug.Pointer,canScroll:r,draggingRect:i,enabled:s,interval:o=5,order:c=a1.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:d,delta:p,threshold:h}=e;const f=$he({delta:p,disabled:!s}),[v,m]=Jfe(),y=j.useRef({x:0,y:0}),g=j.useRef({x:0,y:0}),x=j.useMemo(()=>{switch(n){case Ug.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case Ug.DraggableRect:return i}},[n,i,l]),b=j.useRef(null),_=j.useCallback(()=>{const T=b.current;if(!T)return;const A=y.current.x*g.current.x,w=y.current.y*g.current.y;T.scrollBy(A,w)},[]),E=j.useMemo(()=>c===a1.TreeOrder?[...u].reverse():u,[c,u]);j.useEffect(()=>{if(!s||!u.length||!x){m();return}for(const T of E){if((r==null?void 0:r(T))===!1)continue;const A=u.indexOf(T),w=d[A];if(!w)continue;const{direction:S,speed:k}=khe(T,w,x,t,h);for(const P of["x","y"])f[P][S[P]]||(k[P]=0,S[P]=0);if(k.x>0||k.y>0){m(),b.current=T,v(_,o),y.current=k,g.current=S;return}}y.current={x:0,y:0},g.current={x:0,y:0},m()},[t,_,r,m,s,o,JSON.stringify(x),JSON.stringify(f),v,u,E,d,JSON.stringify(h)])}const zhe={x:{[qr.Backward]:!1,[qr.Forward]:!1},y:{[qr.Backward]:!1,[qr.Forward]:!1}};function $he(e){let{delta:t,disabled:n}=e;const r=e1(t);return Sy(i=>{if(n||!r||!i)return zhe;const s={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[qr.Backward]:i.x[qr.Backward]||s.x===-1,[qr.Forward]:i.x[qr.Forward]||s.x===1},y:{[qr.Backward]:i.y[qr.Backward]||s.y===-1,[qr.Forward]:i.y[qr.Forward]||s.y===1}}},[n,t,r])}function Whe(e,t){const n=t!=null?e.get(t):void 0,r=n?n.node.current:null;return Sy(i=>{var s;return t==null?null:(s=r??i)!=null?s:null},[r,t])}function Vhe(e,t){return j.useMemo(()=>e.reduce((n,r)=>{const{sensor:i}=r,s=i.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,r)}));return[...n,...s]},[]),[e,t])}var kx;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(kx||(kx={}));var Z3;(function(e){e.Optimized="optimized"})(Z3||(Z3={}));const rP=new Map;function Hhe(e,t){let{dragging:n,dependencies:r,config:i}=t;const[s,o]=j.useState(null),{frequency:c,measure:l,strategy:u}=i,d=j.useRef(e),p=y(),h=Ax(p),f=j.useCallback(function(g){g===void 0&&(g=[]),!h.current&&o(x=>x===null?g:x.concat(g.filter(b=>!x.includes(b))))},[h]),v=j.useRef(null),m=Sy(g=>{if(p&&!n)return rP;if(!g||g===rP||d.current!==e||s!=null){const x=new Map;for(let b of e){if(!b)continue;if(s&&s.length>0&&!s.includes(b.id)&&b.rect.current){x.set(b.id,b.rect.current);continue}const _=b.node.current,E=_?new cD(l(_),_):null;b.rect.current=E,E&&x.set(b.id,E)}return x}return g},[e,s,n,p,l]);return j.useEffect(()=>{d.current=e},[e]),j.useEffect(()=>{p||f()},[n,p]),j.useEffect(()=>{s&&s.length>0&&o(null)},[JSON.stringify(s)]),j.useEffect(()=>{p||typeof c!="number"||v.current!==null||(v.current=setTimeout(()=>{f(),v.current=null},c))},[c,p,f,...r]),{droppableRects:m,measureDroppableContainers:f,measuringScheduled:s!=null};function y(){switch(u){case kx.Always:return!1;case kx.BeforeDragging:return n;default:return!n}}}function dD(e,t){return Sy(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function Ghe(e,t){return dD(e,t)}function Xhe(e){let{callback:t,disabled:n}=e;const r=rw(t),i=j.useMemo(()=>
877{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:s}=window;return new s(r)},[r,n]);return j.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function iw(e){let{callback:t,disabled:n}=e;const r=rw(t),i=j.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:s}=window;return new s(r)},[n]);return j.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}function Khe(e){return new cD(Dy(e),e)}function aP(e,t,n){t===void 0&&(t=Khe);const[r,i]=j.useState(null);function s(){i(l=>{if(!e)return null;if(e.isConnected===!1){var u;return(u=l??n)!=null?u:null}const d=t(e);return JSON.stringify(l)===JSON.stringify(d)?l:d})}const o=Xhe({callback(l){if(e)for(const u of l){const{type:d,target:p}=u;if(d==="childList"&&p instanceof HTMLElement&&p.contains(e)){s();break}}}}),c=iw({callback:s});return Zc(()=>{s(),e?(c==null||c.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(c==null||c.disconnect(),o==null||o.disconnect())},[e]),r}function Yhe(e){const t=dD(e);return e$(e,t)}const iP=[];function Qhe(e){const t=j.useRef(e),n=Sy(r=>e?r&&r!==iP&&e&&t.current&&e.parentNode===t.current.parentNode?r:oD(e):iP,[e]);return j.useEffect(()=>{t.current=e},[e]),n}function Zhe(e){const[t,n]=j.useState(null),r=j.useRef(e),i=j.useCallback(s=>{const o=l_(s.target);o&&n(c=>c?(c.set(o,Y3(o)),new Map(c)):null)},[]);return j.useEffect(()=>{const s=r.current;if(e!==s){o(s);const c=e.map(l=>{const u=l_(l);return u?(u.addEventListener("scroll",i,{passive:!0}),[u,Y3(u)]):null}).filter(l=>l!=null);n(c.length?new Map(c):null),r.current=e}return()=>{o(e),o(s)};function o(c){c.forEach(l=>{const u=l_(l);u==null||u.removeEventListener("scroll",i)})}},[i,e]),j.useMemo(()=>e.length?t?Array.from(t.values()).reduce((s,o)=>Gf(s,o),lo):o$(e):lo,[e,t])}function sP(e,t){t===void 0&&(t=[]);const n=j.useRef(null);return j.useEffect(()=>{n.current=null},t),j.useEffect(()=>{const r=e!==lo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?t1(e,n.current):lo}function Jhe(e){j.useEffect(()=>{if(!nw)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function eme(e,t){return j.useMemo(()=>e.reduce((n,r)=>{let{eventName:i,handler:s}=r;return n[i]=o=>{s(o,t)},n},{}),[e,t])}function p$(e){return j.useMemo(()=>e?Ehe(e):null,[e])}const oP=[];function tme(e,t){t===void 0&&(t=Dy);const[n]=e,r=p$(n?Qa(n):null),[i,s]=j.useState(oP);function o(){s(()=>e.length?e.map(l=>i$(l)?r:new cD(t(l),l)):oP)}const c=iw({callback:o});return Zc(()=>{c==null||c.disconnect(),o(),e.forEach(l=>c==null?void 0:c.observe(l))},[e]),i}function f$(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ey(t)?t:e}function nme(e){let{measure:t}=e;const[n,r]=j.useState(null),i=j.useCallback(u=>{for(const{target:d}of u)if(Ey(d)){r(p=>{const h=t(d);return p?{...p,width:h.width,height:h.height}:h});break}},[t]),s=iw({callback:i}),o=j.useCallback(u=>{const d=f$(u);s==null||s.disconnect(),d&&(s==null||s.observe(d)),r(d?t(d):null)},[t,s]),[c,l]=J0(o);return j.useMemo(()=>({nodeRef:c,rect:n,setRef:l}),[n,c,l])}const rme=[{sensor:uD,options:{}},{sensor:u$,options:{}}],ame={current:{}},$b={draggable:{measure:J8},droppable:{measure:J8,strategy:kx.WhileDragging,frequency:Z3.Optimized},dragOverlay:{measure:Dy}};class Fg extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const ime={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Fg,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:r1},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$b,measureDroppableContainers:r1,windowRect:null,measuringScheduled:!1},h$={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:r1,draggableNodes:new Map,over:null,measureDroppableContainers:r1},Ay=j.createContext(h$),m$=j.createContext(ime);function sme(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Fg}}}function ome(e,t){switch(t.type){case kr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case kr.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case kr.DragEnd:case kr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case kr.RegisterDroppable:{const{element:n}=t,{id:r}
877=n,i=new Fg(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case kr.SetDroppableDisabled:{const{id:n,key:r,disabled:i}=t,s=e.droppable.containers.get(n);if(!s||r!==s.key)return e;const o=new Fg(e.droppable.containers);return o.set(n,{...s,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case kr.UnregisterDroppable:{const{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const s=new Fg(e.droppable.containers);return s.delete(n),{...e,droppable:{...e.droppable,containers:s}}}default:return e}}function cme(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=j.useContext(Ay),s=e1(r),o=e1(n==null?void 0:n.id);return j.useEffect(()=>{if(!t&&!r&&s&&o!=null){if(!sD(s)||document.activeElement===s.target)return;const c=i.get(o);if(!c)return;const{activatorNode:l,node:u}=c;if(!l.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[l.current,u.current]){if(!d)continue;const p=nhe(d);if(p){p.focus();break}}})}},[r,t,i,o,s]),null}function g$(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((i,s)=>s({transform:i,...r}),n):n}function lme(e){return j.useMemo(()=>({draggable:{...$b.draggable,...e==null?void 0:e.draggable},droppable:{...$b.droppable,...e==null?void 0:e.droppable},dragOverlay:{...$b.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function ume(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const s=j.useRef(!1),{x:o,y:c}=typeof i=="boolean"?{x:i,y:i}:i;Zc(()=>{if(!o&&!c||!t){s.current=!1;return}if(s.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),p=e$(d,r);if(o||(p.x=0),c||(p.y=0),s.current=!0,Math.abs(p.x)>0||Math.abs(p.y)>0){const h=n$(u);h&&h.scrollBy({top:p.y,left:p.x})}},[t,o,c,r,n])}const sw=j.createContext({...lo,scaleX:1,scaleY:1});var Ul;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Ul||(Ul={}));const dme=j.memo(function(t){var n,r,i,s;let{id:o,accessibility:c,autoScroll:l=!0,children:u,sensors:d=rme,collisionDetection:p=bhe,measuring:h,modifiers:f,...v}=t;const m=j.useReducer(ome,void 0,sme),[y,g]=m,[x,b]=che(),[_,E]=j.useState(Ul.Uninitialized),T=_===Ul.Initialized,{draggable:{active:A,nodes:w,translate:S},droppable:{containers:k}}=y,P=A!=null?w.get(A):null,D=j.useRef({initial:null,translated:null}),R=j.useMemo(()=>{var ot;return A!=null?{id:A,data:(ot=P==null?void 0:P.data)!=null?ot:ame,rect:D}:null},[A,P]),N=j.useRef(null),[q,I]=j.useState(null),[z,M]=j.useState(null),F=Ax(v,Object.values(v)),H=aw("DndDescribedBy",o),V=j.useMemo(()=>k.getEnabled(),[k]),O=lme(h),{droppableRects:$,measureDroppableContainers:K,measuringScheduled:Y}=Hhe(V,{dragging:T,dependencies:[S.x,S.y],config:O.droppable}),ee=Whe(w,A),re=j.useMemo(()=>z?n1(z):null,[z]),ae=Vt(),le=Ghe(ee,O.draggable.measure);ume({activeNode:A!=null?w.get(A):null,config:ae.layoutShiftCompensation,initialRect:le,measure:O.draggable.measure});const ge=aP(ee,O.draggable.measure,le),ke=aP(ee?ee.parentElement:null),de=j.useRef({activatorEvent:null,active:null,activeNode:ee,collisionRect:null,collisions:null,droppableRects:$,draggableNodes:w,draggingNode:null,draggingNodeRect:null,droppableContainers:k,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),we=k.getNodeFor((n=de.current.over)==null?void 0:n.id),W=nme({measure:O.dragOverlay.measure}),X=(r=W.nodeRef.current)!=null?r:ee,pe=T?(i=W.rect)!=null?i:ge:null,ie=!!(W.nodeRef.current&&W.rect),te=Yhe(ie?null:ge),oe=p$(X?Qa(X):null),Ne=Qhe(T?we??ee:null),De=tme(Ne),ye=g$(f,{transform:{x:S.x-te.x,y:S.y-te.y,scaleX:1,scaleY:1},activatorEvent:z,active:R,activeNodeRect:ge,containerNodeRect:ke,draggingNodeRect:pe,over:de.current.over,overlayNodeRect:W.rect,scrollableAncestors:Ne,scrollableAncestorRects:De,windowRect:oe}),ce=re?Gf(re,S):null,xe=Zhe(Ne),ve=sP(xe),Se=sP(xe,[ge]),Oe=Gf(ye,ve),We=pe?_he(pe,ye):null,qe=R&&We?p({active:R,collisionRect:We,droppableRects:$,droppableContainers:V,pointerCoordinates:ce}):null,Xe=xhe(qe,"id"),[Ve,Ct]=j.useState(null),ct=ie?ye:Gf(ye,Se),bt=whe(ct,(s=Ve==null?void 0:Ve.rect)!=null?s:null,ge),Et=j.useRef(null),At=j.useCallback((ot,at)=>{let{sensor:Rt,options:oa}=at;if(N.current==null)return;const pn=w.get(N.current);if(!pn)return;const Wn=ot.nativeEvent,ir=new Rt({active:N.current,activeNode:pn,event:Wn,options:oa,context:de,onAbort(wn){if(!w.get(wn))return;const{onDragAbort:Vn}=F.current,Qn={id:wn};Vn==null||Vn(Qn),x({type:"onDragAbort",event:Qn})},onPending(wn,Or,Vn,Qn){if(!w.get(wn))return;const{onDragPending:qn}=F.current,Sn={id:wn,constraint:Or,initialCoordinates:Vn,offset:Qn};qn==null||qn(Sn),x({type:"onDragPending",event:Sn})},onStart(wn){const Or=N.current;
877if(Or==null)return;const Vn=w.get(Or);if(!Vn)return;const{onDragStart:Qn}=F.current,yn={activatorEvent:Wn,active:{id:Or,data:Vn.data,rect:D}};oi.unstable_batchedUpdates(()=>{Qn==null||Qn(yn),E(Ul.Initializing),g({type:kr.DragStart,initialCoordinates:wn,active:Or}),x({type:"onDragStart",event:yn}),I(Et.current),M(Wn)})},onMove(wn){g({type:kr.DragMove,coordinates:wn})},onEnd:jt(kr.DragEnd),onCancel:jt(kr.DragCancel)});Et.current=ir;function jt(wn){return async function(){const{active:Vn,collisions:Qn,over:yn,scrollAdjustedTranslate:qn}=de.current;let Sn=null;if(Vn&&qn){const{cancelDrop:wi}=F.current;Sn={activatorEvent:Wn,active:Vn,collisions:Qn,delta:qn,over:yn},wn===kr.DragEnd&&typeof wi=="function"&&await Promise.resolve(wi(Sn))&&(wn=kr.DragCancel)}N.current=null,oi.unstable_batchedUpdates(()=>{g({type:wn}),E(Ul.Uninitialized),Ct(null),I(null),M(null),Et.current=null;const wi=wn===kr.DragEnd?"onDragEnd":"onDragCancel";if(Sn){const Zi=F.current[wi];Zi==null||Zi(Sn),x({type:wi,event:Sn})}})}}},[w]),yt=j.useCallback((ot,at)=>(Rt,oa)=>{const pn=Rt.nativeEvent,Wn=w.get(oa);if(N.current!==null||!Wn||pn.dndKit||pn.defaultPrevented)return;const ir={active:Wn};ot(Rt,at.options,ir)===!0&&(pn.dndKit={capturedBy:at.sensor},N.current=oa,At(Rt,at))},[w,At]),st=Vhe(d,yt);Jhe(d),Zc(()=>{ge&&_===Ul.Initializing&&E(Ul.Initialized)},[ge,_]),j.useEffect(()=>{const{onDragMove:ot}=F.current,{active:at,activatorEvent:Rt,collisions:oa,over:pn}=de.current;if(!at||!Rt)return;const Wn={active:at,activatorEvent:Rt,collisions:oa,delta:{x:Oe.x,y:Oe.y},over:pn};oi.unstable_batchedUpdates(()=>{ot==null||ot(Wn),x({type:"onDragMove",event:Wn})})},[Oe.x,Oe.y]),j.useEffect(()=>{const{active:ot,activatorEvent:at,collisions:Rt,droppableContainers:oa,scrollAdjustedTranslate:pn}=de.current;if(!ot||N.current==null||!at||!pn)return;const{onDragOver:Wn}=F.current,ir=oa.get(Xe),jt=ir&&ir.rect.current?{id:ir.id,rect:ir.rect.current,data:ir.data,disabled:ir.disabled}:null,wn={active:ot,activatorEvent:at,collisions:Rt,delta:{x:pn.x,y:pn.y},over:jt};oi.unstable_batchedUpdates(()=>{Ct(jt),Wn==null||Wn(wn),x({type:"onDragOver",event:wn})})},[Xe]),Zc(()=>{de.current={activatorEvent:z,active:R,activeNode:ee,collisionRect:We,collisions:qe,droppableRects:$,draggableNodes:w,draggingNode:X,draggingNodeRect:pe,droppableContainers:k,over:Ve,scrollableAncestors:Ne,scrollAdjustedTranslate:Oe},D.current={initial:pe,translated:We}},[R,ee,qe,We,w,X,pe,$,k,Ve,Ne,Oe]),Bhe({...ae,delta:S,draggingRect:We,pointerCoordinates:ce,scrollableAncestors:Ne,scrollableAncestorRects:De});const et=j.useMemo(()=>({active:R,activeNode:ee,activeNodeRect:ge,activatorEvent:z,collisions:qe,containerNodeRect:ke,dragOverlay:W,draggableNodes:w,droppableContainers:k,droppableRects:$,over:Ve,measureDroppableContainers:K,scrollableAncestors:Ne,scrollableAncestorRects:De,measuringConfiguration:O,measuringScheduled:Y,windowRect:oe}),[R,ee,ge,z,qe,ke,W,w,k,$,Ve,K,Ne,De,O,Y,oe]),rt=j.useMemo(()=>({activatorEvent:z,activators:st,active:R,activeNodeRect:ge,ariaDescribedById:{draggable:H},dispatch:g,draggableNodes:w,over:Ve,measureDroppableContainers:K}),[z,st,R,ge,g,H,w,Ve,K]);return Ue.createElement(Jz.Provider,{value:b},Ue.createElement(Ay.Provider,{value:rt},Ue.createElement(m$.Provider,{value:et},Ue.createElement(sw.Provider,{value:bt},u)),Ue.createElement(cme,{disabled:(c==null?void 0:c.restoreFocus)===!1})),Ue.createElement(dhe,{...c,hiddenTextDescribedById:H}));function Vt(){const ot=(q==null?void 0:q.autoScrollEnabled)===!1,at=typeof l=="object"?l.enabled===!1:l===!1,Rt=T&&!ot&&!at;return typeof l=="object"?{...l,enabled:Rt}:{enabled:Rt}}}),pme=j.createContext(null),cP="button",fme="Draggable";function x$(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const s=aw(fme),{activators:o,activatorEvent:c,active:l,activeNodeRect:u,ariaDescribedById:d,draggableNodes:p,over:h}=j.useContext(Ay),{role:f=cP,roleDescription:v="draggable",tabIndex:m=0}=i??{},y=(l==null?void 0:l.id)===t,g=j.useContext(y?sw:pme),[x,b]=J0(),[_,E]=J0(),T=eme(o,t),A=Ax(n);Zc(()=>(p.set(t,{id:t,key:s,node:x,activatorNode:_,data:A}),()=>{const S=p.get(t);S&&S.key===s&&p.delete(t)}),[p,t]);const w=j.useMemo(()=>({role:f,tabIndex:m,"aria-disabled":r,"aria-pressed":y&&f===cP?!0:void 0,"aria-roledescription":v,"aria-describedby":d.draggable}),[r,f,m,y,v,d.draggable]);return{active:l,activatorEvent:c,activeNodeRect:u,attributes:w,isDragging:y,listeners:r?void 0:T,node:x,over:h,setNodeRef:b,setActivatorNodeRef:E,transform:g}}function hme(){return j.useContext(m$)}const mme="Droppable",gme={timeout:25};function y$(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e;const s=aw(mme),{active:o,dispatch:c,over:l,measureDroppableContainers:u}=j.useContext(Ay),d=j.useRef({disabled:n}),p=j.useRef(!1),h=j.useRef(null),f=j.useRef(null),{disabled:v,updateMeasurementsFor:m,timeout:y}={...gme,...i},g=Ax(m??r),x=j.useCallback(()=>
877{if(!p.current){p.current=!0;return}f.current!=null&&clearTimeout(f.current),f.current=setTimeout(()=>{u(Array.isArray(g.current)?g.current:[g.current]),f.current=null},y)},[y]),b=iw({callback:x,disabled:v||!o}),_=j.useCallback((w,S)=>{b&&(S&&(b.unobserve(S),p.current=!1),w&&b.observe(w))},[b]),[E,T]=J0(_),A=Ax(t);return j.useEffect(()=>{!b||!E.current||(b.disconnect(),p.current=!1,b.observe(E.current))},[E,b]),j.useEffect(()=>(c({type:kr.RegisterDroppable,element:{id:r,key:s,disabled:n,node:E,rect:h,data:A}}),()=>c({type:kr.UnregisterDroppable,key:s,id:r})),[r]),j.useEffect(()=>{n!==d.current.disabled&&(c({type:kr.SetDroppableDisabled,id:r,key:s,disabled:n}),d.current.disabled=n)},[r,s,n,c]),{active:o,rect:h,isOver:(l==null?void 0:l.id)===r,node:E,over:l,setNodeRef:T}}function xme(e){let{animation:t,children:n}=e;const[r,i]=j.useState(null),[s,o]=j.useState(null),c=e1(n);return!n&&!r&&c&&i(c),Zc(()=>{if(!s)return;const l=r==null?void 0:r.key,u=r==null?void 0:r.props.id;if(l==null||u==null){i(null);return}Promise.resolve(t(u,s)).then(()=>{i(null)})},[t,r,s]),Ue.createElement(Ue.Fragment,null,n,r?j.cloneElement(r,{ref:o}):null)}const yme={x:0,y:0,scaleX:1,scaleY:1};function vme(e){let{children:t}=e;return Ue.createElement(Ay.Provider,{value:h$},Ue.createElement(sw.Provider,{value:yme},t))}const bme={position:"fixed",touchAction:"none"},wme=e=>sD(e)?"transform 250ms ease":void 0,jme=j.forwardRef((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:s,className:o,rect:c,style:l,transform:u,transition:d=wme}=e;if(!c)return null;const p=i?u:{...u,scaleX:1,scaleY:1},h={...bme,width:c.width,height:c.height,top:c.top,left:c.left,transform:Kd.Transform.toString(p),transformOrigin:i&&r?hhe(r,c):void 0,transition:typeof d=="function"?d(r):d,...l};return Ue.createElement(n,{className:o,style:h,ref:t},s)}),_me=e=>t=>{let{active:n,dragOverlay:r}=t;const i={},{styles:s,className:o}=e;if(s!=null&&s.active)for(const[c,l]of Object.entries(s.active))l!==void 0&&(i[c]=n.node.style.getPropertyValue(c),n.node.style.setProperty(c,l));if(s!=null&&s.dragOverlay)for(const[c,l]of Object.entries(s.dragOverlay))l!==void 0&&r.node.style.setProperty(c,l);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(const[l,u]of Object.entries(i))n.node.style.setProperty(l,u);o!=null&&o.active&&n.node.classList.remove(o.active)}},Nme=e=>{let{transform:{initial:t,final:n}}=e;return[{transform:Kd.Transform.toString(t)},{transform:Kd.Transform.toString(n)}]},Cme={duration:250,easing:"ease",keyframes:Nme,sideEffects:_me({styles:{active:{opacity:"0"}}})};
877function Eme(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return rw((s,o)=>{if(t===null)return;const c=n.get(s);if(!c)return;const l=c.node.current;if(!l)return;const u=f$(o);if(!u)return;const{transform:d}=Qa(o).getComputedStyle(o),p=t$(d);if(!p)return;const h=typeof t=="function"?t:Sme(t);return c$(l,i.draggable.measure),h({active:{id:s,data:c.data,node:l,rect:i.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:o,rect:i.dragOverlay.measure(u)},droppableContainers:r,measuringConfiguration:i,transform:p})})}function Sme(e){const{duration:t,easing:n,sideEffects:r,keyframes:i}={...Cme,...e};return s=>{let{active:o,dragOverlay:c,transform:l,...u}=s;if(!t)return;const d={x:c.rect.left-o.rect.left,y:c.rect.top-o.rect.top},p={scaleX:l.scaleX!==1?o.rect.width*l.scaleX/c.rect.width:1,scaleY:l.scaleY!==1?o.rect.height*l.scaleY/c.rect.height:1},h={x:l.x-d.x,y:l.y-d.y,...p},f=i({...u,active:o,dragOverlay:c,transform:{initial:l,final:h}}),[v]=f,m=f[f.length-1];if(JSON.stringify(v)===JSON.stringify(m))return;const y=r==null?void 0:r({active:o,dragOverlay:c,...u}),g=c.node.animate(f,{duration:t,easing:n,fill:"forwards"});return new Promise(x=>{g.onfinish=()=>{y==null||y(),x()}})}}let lP=0;function Dme(e){return j.useMemo(()=>{if(e!=null)return lP++,lP},[e])}const Ame=Ue.memo(e=>
877{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:s,modifiers:o,wrapperElement:c="div",className:l,zIndex:u=999}=e;const{activatorEvent:d,active:p,activeNodeRect:h,containerNodeRect:f,draggableNodes:v,droppableContainers:m,dragOverlay:y,over:g,measuringConfiguration:x,scrollableAncestors:b,scrollableAncestorRects:_,windowRect:E}=hme(),T=j.useContext(sw),A=Dme(p==null?void 0:p.id),w=g$(o,{activatorEvent:d,active:p,activeNodeRect:h,containerNodeRect:f,draggingNodeRect:y.rect,over:g,overlayNodeRect:y.rect,scrollableAncestors:b,scrollableAncestorRects:_,transform:T,windowRect:E}),S=dD(h),k=Eme({config:r,draggableNodes:v,droppableContainers:m,measuringConfiguration:x}),P=S?y.setRef:void 0;return Ue.createElement(vme,null,Ue.createElement(xme,{animation:k},p&&A?Ue.createElement(jme,{key:A,id:p.id,ref:P,as:c,activatorEvent:d,adjustScale:t,className:l,transition:s,rect:S,style:{zIndex:u,...i},transform:w},n):null))}),zn={page:{title:"Tablero de vacantes",description:"Tu pipeline de búsqueda en un solo lugar: organiza postulaciones y mueve roles recomendados a tu proceso.",loading:"Preparando tu tableroâ¦",searchPlaceholder:"Buscar vacante o empresaâ¦",dragHint:"Arrastra las tarjetas entre columnas â asà de fácil cambias de etapa.",pipelineTitle:"Mi pipeline"},recommendedRoles:{columnTitle:"Roles recomendados",emptyTitle:"Descubre roles para ti",emptyDescription:"Configura tu búsqueda con tu CV y te sugerimos posiciones que encajan con tu perfil.",configureCta:"Configurar mis roles",reconfigureCta:"Actualizar roles",dragHint:"Arrastra un rol a «Me interesan» para empezar a explorarlo.",matchLabel:"Match",linkedInCta:"Ver en LinkedIn"},roleModal:{title:"Roles que encajan contigo",description:"Sube tu CV y te sugerimos posiciones reales â con búsqueda en LinkedIn lista para un clic."},card:{dragTooltip:"Arrastra para mover de etapa",appliedLabel:"Aplicado"},emptyColumn:{noResults:"Nada por aquà con ese filtro",default:"Arrastra una vacante o agrega la primera"},toast:{statusUpdatedTitle:"Movimiento registrado",statusUpdatedDescription:e=>`Ahora está en «${e}».`,moveErrorTitle:"No se pudo mover",moveErrorDescription:"Revisa tu conexión e inténtalo otra vez.",createdTitle:"Vacante en el tablero",createdDescription:"Sigue el proceso desde tu pipeline.",createErrorTitle:"No se pudo agregar",createErrorDescription:"Intenta de nuevo en un momento.",deletedTitle:"Vacante eliminada",deletedDescription:"Salió de tu tablero.",deleteErrorTitle:"No se pudo eliminar",deleteErrorDescription:"Intenta otra vez.",loadErrorTitle:"Error",loadErrorDescription:"No pudimos cargar tus aplicaciones.",loginRequiredDescription:"Inicia sesión para ver tus aplicaciones.",roleMovedTitle:"Rol agregado al pipeline",roleMovedDescription:e=>`El rol quedó en «${e}».`,roleMoveErrorTitle:"No se pudo mover el rol",roleMoveErrorDescription:"Intenta de nuevo en un momento."},suggestions:{stepUploadTitle:"Sube tu CV",stepUploadHint:"PDF · hasta 5 MB",stepUploadCta:"Toca para elegir",stepAdjustTitle:"Afina la búsqueda",stepAdjustHint:"La ubicación se usa al abrir LinkedIn.",locationPlaceholder:"Ciudad, paÃs o remotoâ¦",languageLabel:"Idioma de las sugerencias",submitLoading:"Leyendo tu perfilâ¦",submitIdle:"Descubrir roles para mÃ",resultsTitle:"Tu shortlist",resultsHint:"Un clic y abres LinkedIn con la búsqueda armada",linkedInCta:"Explorar en LinkedIn"},suggestionsToast:{invalidFormatTitle:"Ese archivo no sirve",invalidFormatDescription:"Necesitamos un PDF.",tooLargeTitle:"Archivo muy pesado",tooLargeDescription:"Máximo 5 MB â prueba con uno más liviano.",missingCvTitle:"Falta tu CV",missingCvDescription:"Sube un PDF y arrancamos.",errorTitle:"Algo salió mal"}};function kme(e){return typeof e=="string"&&Gfe.includes(e)}function Tme(e){return e==="recommended-roles"||kme(e)}function v$(e){return`column-${e}`}function Pme(e){if(typeof e!="string"||!e.startsWith("column-"))return null;const t=e.replace("column-","");return Tme(t)?t:null}function Lme(e,t){if(!e)return null;const n=Pme(e.id);if(n)return n;const r=t.find(i=>i.id===e.id);return r?r.status==="first-call"?"advancing":r.status:null}function b$(e,t){const n=Lme(e,t);return!n||n==="recommended-roles"?null:n}function w$(e){const t=e.data.current;return(t==null?void 0:t.type)==="job-application"?t.application:null}function j$(e){const t=e.data.current;return(t==null?void 0:t.type)==="recommended-role"?t:null}function _$({application:e,isDragging:t=!1,isDragOverlay:n=!1,onOpenDetail:r,onRequestDelete:i}){const s=l=>{l.stopPropagation(),e.url&&window.open(e.url,"_blank","noopener,noreferrer")},o=l=>{l.stopPropagation(),i(e.id)},c=()=>{t||r(e)};return a.jsxs("div",{"data-testid":`job-card-${e.id}`,className:lt("p-3 bg-background border rounded-lg shadow-sm transition-shadow space-y-2",!n&&"hover:shadow-md",t&&"opacity-40 border-blue-300",n&&"shadow-lg border-blue-400 rotate-2"),children:[a.jsxs("div",{className:"flex items-start justify-between gap-2",children:[a.jsx("button",{type:"button",onClick:c,className:"text-left flex-1 min-w-0",children:a.jsx("h4",{className:"font-medium text-sm line-clamp-2 hover:text-primary",children:e.title})}),a.jsxs("div",{className:"flex gap-1 shrink-0",children:[e.url&&a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:s,"aria-label":"Abrir vacante en nueva pestaña",children:a.jsx(zd,{className:"w-3 h-3"})}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:o,"aria-label":"Eliminar vacante",children:a.jsx(ay,{className:"w-3 h-3"})})]})]}),a.jsxs("div",{className:"space-y-1",children:[a.jsx("p",{className:"text-xs text-muted-foreground",children:e.company}),a.jsx(Ln,{variant:"outline",className:"text-xs",children:e.platform})]}),a.jsxs("p",{className:"text-xs text-muted-foreground",children:[zn.card.appliedLabel,": ",e.dateApplied]}),e.notes.length>0&&a.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[a.jsx(gu,{className:"w-3 h-3"}),a.jsxs("span",{children:[e.notes.length," nota",e.notes.length>
8771?"s":""]})]})]})}function Rme({application:e,onOpenDetail:t,onRequestDelete:n}){const{attributes:r,listeners:i,setNodeRef:s,transform:o,isDragging:c}=x$({id:e.id,data:{type:"job-application",application:e}}),l={transform:Kd.Translate.toString(o)};return a.jsxs(YE,{children:[a.jsx(QE,{asChild:!0,children:a.jsx("div",{ref:s,style:l,className:lt("touch-none cursor-grab active:cursor-grabbing"),...r,...i,children:a.jsx(_$,{application:e,isDragging:c,onOpenDetail:t,onRequestDelete:n})})}),a.jsx(X1,{side:"top",children:a.jsx("p",{children:zn.card.dragTooltip})})]})}function Ome({column:e,applications:t,hasActiveSearch:n,onOpenDetail:r,onRequestDelete:i}){const s=v$(e.key),{setNodeRef:o,isOver:c}=y$({id:s,data:{type:"status-column",status:e.key}}),l=n?zn.emptyColumn.noResults:zn.emptyColumn.default;return a.jsxs(nt,{ref:o,"data-testid":`column-${e.key}`,className:lt("shadow-card min-h-[12rem] transition-colors",c&&"ring-2 ring-blue-400 ring-offset-2 bg-blue-50/50"),children:[a.jsx(kt,{className:"pb-3",children:a.jsxs(Tt,{className:lt("text-sm font-medium flex items-center justify-between",e.headerClassName),children:[e.label,a.jsx(Ln,{variant:"secondary",className:"text-xs",children:t.length})]})}),a.jsxs(it,{className:"space-y-3 min-h-[8rem]",children:[t.map(u=>a.jsx(Rme,{application:u,onOpenDetail:r,onRequestDelete:i},u.id)),t.length===0&&a.jsx("div",{className:"text-center py-8 text-muted-foreground text-sm border border-dashed rounded-lg",children:l})]})]})}function Ime(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const s=r.result.split(",")[1];if(!s){n(new Error("No se pudo leer el PDF"));return}t(s)},r.onerror=()=>
877n(r.error),r.readAsDataURL(e)})}function N$(e,t){var o;const r=((o=e.suggestedSearchKeywords)==null?void 0:o.filter(Boolean).join(" ").trim())||e.title||"empleo",i=new URLSearchParams({keywords:r}),s=t.trim();return s&&i.set("location",s),`https://www.linkedin.com/jobs/search/?${i.toString()}`}function Ume({suggestionId:e,vacancy:t,locationHint:n}){var h;const r=zn,i=N$(t,n),{attributes:s,listeners:o,setNodeRef:c,transform:l,isDragging:u}=x$({id:e,data:{type:"recommended-role",suggestionId:e,vacancy:t}}),d={transform:Kd.Translate.toString(l)},p=f=>{f.stopPropagation(),window.open(i,"_blank","noopener,noreferrer")};return a.jsxs("div",{ref:c,style:d,className:lt("touch-none cursor-grab active:cursor-grabbing rounded-lg border bg-background p-3 shadow-sm transition-shadow space-y-2",u&&"opacity-40 border-indigo-300"),...s,...o,children:[a.jsxs("div",{className:"flex items-start justify-between gap-2",children:[a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("h4",{className:"text-sm font-medium leading-snug line-clamp-2",children:t.title}),a.jsx("p",{className:"mt-1 text-xs text-muted-foreground line-clamp-1",children:[t.seniority,t.industryOrContext].filter(Boolean).join(" · ")})]}),a.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[typeof t.matchScore=="number"&&a.jsxs("span",{className:"rounded-full bg-indigo-100 px-2 py-0.5 text-xs font-medium tabular-nums text-indigo-800",children:[t.matchScore,"%"]}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"h-6 w-6 p-0",onClick:p,"aria-label":r.recommendedRoles.linkedInCta,children:a.jsx(zd,{className:"h-3 w-3"})})]})]}),a.jsx("p",{className:"line-clamp-2 text-xs text-muted-foreground",children:t.whyMatch}),((h=t.alignedSkills)==null?void 0:h.length)>0&&a.jsx("div",{className:"flex flex-wrap gap-1",children:t.alignedSkills.slice(0,4).map(f=>a.jsx("span",{className:"rounded-md bg-muted px-2 py-0.5 text-[11px] text-muted-foreground",children:f},f))})]})}function uP(e,[t,n]){return Math.min(n,Math.max(t,e))}var Fme=[" ","Enter","ArrowUp","ArrowDown"],Mme=[" ","Enter"],ky="Select",[ow,cw,qme]=Zx(ky),[am,A_e]=Es(ky,[qme,Su]),lw=Su(),[Bme,Ou]=am(ky),[zme,$me]=am(ky),C$=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:i,onOpenChange:s,value:o,defaultValue:c,onValueChange:l,dir:u,name:d,autoComplete:p,disabled:h,required:f,form:v}=e,m=lw(t),[y,g]=j.useState(null),[x,b]=j.useState(null),[_,E]=j.useState(!1),T=Xh(u),[A=!1,w]=Vi({prop:r,defaultProp:i,onChange:s}),[S,k]=Vi({prop:o,defaultProp:c,onChange:l}),P=j.useRef(null),D=y?v||!!y.closest("form"):!0,[R,N]=j.useState(new Set),q=Array.from(R).map(I=>I.props.value).join(";");return a.jsx(q1,{...m,children:a.jsxs(Bme,{required:f,scope:t,trigger:y,onTriggerChange:g,valueNode:x,onValueNodeChange:b,valueNodeHasChildren:_,onValueNodeHasChildrenChange:E,contentId:fi(),value:S,onValueChange:k,open:A,onOpenChange:w,dir:T,triggerPointerDownPosRef:P,disabled:h,children:[a.jsx(ow.Provider,{scope:t,children:a.jsx(zme,{scope:e.__scopeSelect,onNativeOptionAdd:j.useCallback(I=>{N(z=>new Set(z).add(I))},[]),onNativeOptionRemove:j.useCallback(I=>{N(z=>{const M=new Set(z);return M.delete(I),M})},[]),children:n})}),D?a.jsxs(Y$,{"aria-hidden":!0,required:f,tabIndex:-1,name:d,autoComplete:p,value:S,onChange:I=>k(I.target.value),disabled:h,form:v,children:[S===void 0?a.jsx("option",{value:""}):null,Array.from(R)]},q):null]})})};C$.displayName=ky;var E$="SelectTrigger",S$=j.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...i}=e,s=lw(n),o=Ou(E$,n),c=o.disabled||r,l=Zt(t,o.onTriggerChange),u=cw(n),d=j.useRef("touch"),[p,h,f]=Q$(m=>{const y=u().filter(b=>!b.disabled),g=y.find(b=>b.value===o.value),x=Z$(y,m,g);x!==void 0&&o.onValueChange(x.value)}),v=m=>{c||(o.onOpenChange(!0),f()),m&&(o.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(cy,{asChild:!0,...s,children:a.jsx(Nt.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":K$(o.value)?"":void 0,...i,ref:l,onClick:Je(i.onClick,m=>
vendor: 16,060 bytes, line 877
877{m.currentTarget.focus(),d.current!=="mouse"&&v(m)}),onPointerDown:Je(i.onPointerDown,m=>{d.current=m.pointerType;const y=m.target;y.hasPointerCapture(m.pointerId)&&y.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(v(m),m.preventDefault())}),onKeyDown:Je(i.onKeyDown,m=>{const y=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&h(m.key),!(y&&m.key===" ")&&Fme.includes(m.key)&&(v(),m.preventDefault())})})})});S$.displayName=E$;var D$="SelectValue",A$=j.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,children:s,placeholder:o="",...c}=e,l=Ou(D$,n),{onValueNodeHasChildrenChange:u}=l,d=s!==void 0,p=Zt(t,l.onValueNodeChange);return ra(()=>{u(d)},[u,d]),a.jsx(Nt.span,{...c,ref:p,style:{pointerEvents:"none"},children:K$(l.value)?a.jsx(a.Fragment,{children:o}):s})});A$.displayName=D$;var Wme="SelectIcon",k$=j.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...i}=e;return a.jsx(Nt.span,{"aria-hidden":!0,...i,ref:t,children:r||"â¼"})});k$.displayName=Wme;var Vme="SelectPortal",T$=e=>a.jsx(qh,{asChild:!0,...e});T$.displayName=Vme;var Yd="SelectContent",P$=j.forwardRef((e,t)=>{const n=Ou(Yd,e.__scopeSelect),[r,i]=j.useState();if(ra(()=>{i(new DocumentFragment)},[]),!n.open){const s=r;return s?oi.createPortal(a.jsx(L$,{scope:e.__scopeSelect,children:a.jsx(ow.Slot,{scope:e.__scopeSelect,children:a.jsx("div",{children:e.children})})}),s):null}return a.jsx(R$,{...e,ref:t})});P$.displayName=Yd;var Ws=10,[L$,Iu]=am(Yd),Hme="SelectContentImpl",R$=j.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:o,side:c,sideOffset:l,align:u,alignOffset:d,arrowPadding:p,collisionBoundary:h,collisionPadding:f,sticky:v,hideWhenDetached:m,avoidCollisions:y,...g}=e,x=Ou(Yd,n),[b,_]=j.useState(null),[E,T]=j.useState(null),A=Zt(t,re=>_(re)),[w,S]=j.useState(null),[k,P]=j.useState(null),D=cw(n),[R,N]=j.useState(!1),q=j.useRef(!1);j.useEffect(()=>{if(b)return py(b)},[b]),o2();const I=j.useCallback(re=>{const[ae,...le]=D().map(de=>de.ref.current),[ge]=le.slice(-1),ke=document.activeElement;for(const de of re)if(de===ke||(de==null||de.scrollIntoView({block:"nearest"}),de===ae&&E&&(E.scrollTop=0),de===ge&&E&&(E.scrollTop=E.scrollHeight),de==null||de.focus(),document.activeElement!==ke))return},[D,E]),z=j.useCallback(()=>I([w,b]),[I,w,b]);j.useEffect(()=>{R&&z()},[R,z]);const{onOpenChange:M,triggerPointerDownPosRef:F}=x;j.useEffect(()=>{if(b){let re={x:0,y:0};const ae=ge=>{var ke,de;re={x:Math.abs(Math.round(ge.pageX)-(((ke=F.current)==null?void 0:ke.x)??0)),y:Math.abs(Math.round(ge.pageY)-(((de=F.current)==null?void 0:de.y)??0))}},le=ge=>{re.x<=10&&re.y<=10?ge.preventDefault():b.contains(ge.target)||M(!1),document.removeEventListener("pointermove",ae),F.current=null};return F.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",le,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",le,{capture:!0})}}},[b,M,F]),j.useEffect(()=>{const re=()=>M(!1);return window.addEventListener("blur",re),window.addEventListener("resize",re),()=>{window.removeEventListener("blur",re),window.removeEventListener("resize",re)}},[M]);const[H,V]=Q$(re=>{const ae=D().filter(ke=>!ke.disabled),le=ae.find(ke=>ke.ref.current===document.activeElement),ge=Z$(ae,re,le);ge&&setTimeout(()=>ge.ref.current.focus())}),O=j.useCallback((re,ae,le)=>{const ge=!q.current&&!le;(x.value!==void 0&&x.value===ae||ge)&&(S(re),ge&&(q.current=!0))},[x.value]),$=j.useCallback(()=>b==null?void 0:b.focus(),[b]),K=j.useCallback((re,ae,le)=>{const ge=!q.current&&!le;(x.value!==void 0&&x.value===ae||ge)&&P(re)},[x.value]),Y=r==="popper"?J3:O$,ee=Y===J3?{side:c,sideOffset:l,align:u,alignOffset:d,arrowPadding:p,collisionBoundary:h,collisionPadding:f,sticky:v,hideWhenDetached:m,avoidCollisions:y}:{};return a.jsx(L$,{scope:n,content:b,viewport:E,onViewportChange:T,itemRefCallback:O,selectedItem:w,onItemLeave:$,itemTextRefCallback:K,focusSelectedItem:z,selectedItemText:k,position:r,isPositioned:R,searchRef:H,children:a.jsx(fy,{as:Hc,allowPinchZoom:!0,children:a.jsx(dy,{asChild:!0,trapped:x.open,onMountAutoFocus:re=>{re.preventDefault()},onUnmountAutoFocus:Je(i,re=>{var ae;(ae=x.trigger)==null||ae.focus({preventScroll:!0}),re.preventDefault()}),children:a.jsx(op,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:re=>re.preventDefault(),onDismiss:()=>x.onOpenChange(!1),children:a.jsx(Y,{role:"listbox",id:x.contentId,"data-state":x.open?"open":"closed",dir:x.dir,onContextMenu:re=>re.preventDefault(),...g,...ee,onPlaced:()=>N(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...g.style},onKeyDown:Je(g.onKeyDown,re=>{const ae=re.ctrlKey||re.altKey||re.metaKey;if(re.key==="Tab"&&re.preventDefault(),!ae&&re.key.length===1&&V(re.key),["ArrowUp","ArrowDown","Home","End"].includes(re.key)){let ge=D().filter(ke=>!ke.disabled).map(ke=>ke.ref.current);if(["ArrowUp","End"].includes(re.key)&&(ge=ge.slice().reverse()),["ArrowUp","ArrowDown"].includes(re.key)){const ke=re.target,de=ge.indexOf(ke);ge=ge.slice(de+1)}setTimeout(()=>I(ge)),re.preventDefault()}})})})})})})});R$.displayName=Hme;var Gme="SelectItemAlignedPosition",O$=j.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...i}=e,s=Ou(Yd,n),o=Iu(Yd,n),[c,l]=j.useState(null),[u,d]=j.useState(null),p=Zt(t,A=>d(A)),h=cw(n),f=j.useRef(!1),v=j.useRef(!0),{viewport:m,selectedItem:y,selectedItemText:g,focusSelectedItem:x}=o,b=j.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&u&&m&&y&&g){const A=s.trigger.getBoundingClientRect(),w=u.getBoundingClientRect(),S=s.valueNode.getBoundingClientRect(),k=g.getBoundingClientRect();if(s.dir!=="rtl"){const ke=k.left-w.left,de=S.left-ke,we=A.left-de,W=A.width+we,X=Math.max(W,w.width),pe=window.innerWidth-Ws,ie=uP(de,[Ws,Math.max(Ws,pe-X)]);c.style.minWidth=W+"px",c.style.left=ie+"px"}else{const ke=w.right-k.right,de=window.innerWidth-S.right-ke,we=window.innerWidth-A.right-de,W=A.width+we,X=Math.max(W,w.width),pe=window.innerWidth-Ws,ie=uP(de,[Ws,Math.max(Ws,pe-X)]);c.style.minWidth=W+"px",c.style.right=ie+"px"}const P=h(),D=window.innerHeight-Ws*2,R=m.scrollHeight,N=window.getComputedStyle(u),q=parseInt(N.borderTopWidth,10),I=parseInt(N.paddingTop,10),z=parseInt(N.borderBottomWidth,10),M=parseInt(N.paddingBottom,10),F=q+I+R+M+z,H=Math.min(y.offsetHeight*5,F),V=window.getComputedStyle(m),O=parseInt(V.paddingTop,10),$=parseInt(V.paddingBottom,10),K=A.top+A.height/2-Ws,Y=D-K,ee=y.offsetHeight/2,re=y.offsetTop+ee,ae=q+I+re,le=F-ae;if(ae<=K){const ke=P.length>0&&y===P[P.length-1].ref.current;c.style.bottom="0px";const de=u.clientHeight-m.offsetTop-m.offsetHeight,we=Math.max(Y,ee+(ke?$:0)+de+z),W=ae+we;c.style.height=W+"px"}else{const ke=P.length>0&&y===P[0].ref.current;c.style.top="0px";const we=Math.max(K,q+m.offsetTop+(ke?O:0)+ee)+le;c.style.height=we+"px",m.scrollTop=ae-K+m.offsetTop}c.style.margin=`${Ws}px 0`,c.style.minHeight=H+"px",c.style.maxHeight=D+"px",r==null||r(),requestAnimationFrame(()=>f.current=!0)}},[h,s.trigger,s.valueNode,c,u,m,y,g,s.dir,r]);ra(()=>b(),[b]);const[_,E]=j.useState();ra(()=>{u&&E(window.getComputedStyle(u).zIndex)},[u]);const T=j.useCallback(A=>{A&&v.current===!0&&(b(),x==null||x(),v.current=!1)},[b,x]);return a.jsx(Kme,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:f,onScrollButtonChange:T,children:a.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:_},children:a.jsx(Nt.div,{...i,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});O$.displayName=Gme;var Xme="SelectPopperPosition",J3=j.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:i=Ws,...s}=e,o=lw(n);return a.jsx(B1,{...o,...s,ref:t,align:r,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});J3.displayName=Xme;var[Kme,pD]=am(Yd,{}),eC="SelectViewport",I$=j.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...i}=e,s=Iu(eC,n),o=pD(eC,n),c=Zt(t,s.onViewportChange),l=j.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),a.jsx(ow.Slot,{scope:n,children:a.jsx(Nt.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:Je(i.onScroll,u=>{const d=u.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:h}=o;if(h!=null&&h.current&&p){const f=Math.abs(l.current-d.scrollTop);if(f>0){const v=window.innerHeight-Ws*2,m=parseFloat(p.style.minHeight),y=parseFloat(p.style.height),g=Math.max(m,y);if(g<v){const x=g+f,b=Math.min(v,x),_=x-b;p.style.height=b+"px",p.style.bottom==="0px"&&(d.scrollTop=_>0?_:0,p.style.justifyContent="flex-end")}}}l.current=d.scrollTop})})})]})});I$.displayName=eC;var U$="SelectGroup",[Yme,Qme]=am(U$),Zme=j.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=fi();return a.jsx(Yme,{scope:n,id:i,children:a.jsx(Nt.div,{role:"group","aria-labelledby":i,...r,ref:t})})});Zme.displayName=U$;var F$="SelectLabel",M$=j.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=Qme(F$,n);return a.jsx(Nt.div,{id:i.id,...r,ref:t})});M$.displayName=F$;var i1="SelectItem",[Jme,q$]=am(i1),B$=j.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:i=!1,textValue:s,...o}=e,c=Ou(i1,n),l=Iu(i1,n),u=c.value===r,[d,p]=j.useState(s??""),[h,f]=j.useState(!1),v=Zt(t,x=>{var b;return(b=l.itemRefCallback)==null?void 0:b.call(l,x,r,i)}),m=fi(),y=j.useRef("touch"),g=()=>{i||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(Jme,{scope:n,value:r,disabled:i,textId:m,isSelected:u,onItemTextChange:j.useCallback(x=>{p(b=>b||((x==null?void 0:x.textContent)??"").trim())},[]),children:a.jsx(ow.ItemSlot,{scope:n,value:r,disabled:i,textValue:d,children:a.jsx(Nt.div,{role:"option","aria-labelledby":m,"data-highlighted":h?"":void 0,"aria-selected":u&&h,"data-state":u?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...o,ref:v,onFocus:Je(o.onFocus,()=>f(!0)),onBlur:Je(o.onBlur,()=>f(!1)),onClick:Je(o.onClick,()=>{y.current!=="mouse"&&g()}),onPointerUp:Je(o.onPointerUp,()=>{y.current==="mouse"&&g()}),onPointerDown:Je(o.onPointerDown,x=>{y.current=x.pointerType}),onPointerMove:Je(o.onPointerMove,x=>{var b;y.current=x.pointerType,i?(b=l.onItemLeave)==null||b.call(l):y.current==="mouse"&&x.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Je(o.onPointerLeave,x=>{var b;x.currentTarget===document.activeElement&&((b=l.onItemLeave)==null||b.call(l))}),onKeyDown:Je(o.onKeyDown,x=>{var _;((_=l.searchRef)==null?void 0:_.current)!==""&&x.key===" "||(Mme.includes(x.key)&&g(),x.key===" "&&x.preventDefault())})})})})});B$.displayName=i1;var xg="SelectItemText",z$=j.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:i,...s}=e,o=Ou(xg,n),c=Iu(xg,n),l=q$(xg,n),u=$me(xg,n),[d,p]=j.useState(null),h=Zt(t,g=>p(g),l.onItemTextChange,g=>{var x;return(x=c.itemTextRefCallback)==null?void 0:x.call(c,g,l.value,l.disabled)}),f=d==null?void 0:d.textContent,v=j.useMemo(()=>a.jsx("option",{value:l.value,disabled:l.disabled,children:f},l.value),[l.disabled,l.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:y}=u;return ra(()=>(m(v),()=>y(v)),[m,y,v]),a.jsxs(a.Fragment,{children:[a.jsx(Nt.span,{id:l.textId,...s,ref:h}),l.isSelected&&o.valueNode&&!o.valueNodeHasChildren?oi.createPortal(s.children,o.valueNode):null]})});z$.displayName=xg;var $$="SelectItemIndicator",W$=j.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return q$($$,n).isSelected?a.jsx(Nt.span,{"aria-hidden":!0,...r,ref:t}):null});W$.displayName=$$;var tC="SelectScrollUpButton",V$=j.forwardRef((e,t)=>{const n=Iu(tC,e.__scopeSelect),r=pD(tC,e.__scopeSelect),[i,s]=j.useState(!1),o=Zt(t,r.onScrollButtonChange);return ra(()=>{if(n.viewport&&n.isPositioned){let c=function(){const u=l.scrollTop>0;s(u)};const l=n.viewport;return c(),l.addEventListener("scroll",c),()=>l.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),i?a.jsx(G$,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:l}=n;c&&l&&(c.scrollTop=c.scrollTop-l.offsetHeight)}}):null});V$.displayName=tC;var nC="SelectScrollDownButton",H$=j.forwardRef((e,t)=>{const n=Iu(nC,e.__scopeSelect),r=pD(nC,e.__scopeSelect),[i,s]=j.useState(!1),o=Zt(t,r.onScrollButtonChange);return ra(()=>{if(n.viewport&&n.isPositioned){let c=function(){const u=l.scrollHeight-l.clientHeight,d=Math.ceil(l.scrollTop)<u;s(d)};const l=n.viewport;return c(),l.addEventListener("scroll",c),()=>l.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),i?a.jsx(G$,{...e,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:l}=n;c&&l&&(c.scrollTop=c.scrollTop+l.offsetHeight)}}):null});H$.displayName=nC;var G$=j.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...i}=e,s=Iu("SelectScrollButton",n),o=j.useRef(null),c=cw(n),l=j.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return j.useEffect(()=>()=>l(),[l]),ra(()=>{var d;const u=c().find(p=>p.ref.current===document.activeElement);(d=u==null?void 0:u.ref.current)==null||d.scrollIntoView({block:"nearest"})},[c]),a.jsx(Nt.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:Je(i.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:Je(i.onPointerMove,()=>{var u;(u=s.onItemLeave)==null||u.call(s),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:Je(i.onPointerLeave,()=>{l()})})}),ege="SelectSeparator",X$=j.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return a.jsx(Nt.div,{"aria-hidden":!0,...r,ref:t})});X$.displayName=ege;var rC="SelectArrow",tge=j.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,i=lw(n),s=Ou(rC,n),o=Iu(rC,n);return s.open&&o.position==="popper"?a.jsx(z1,{...i,...r,ref:t}):null});tge.displayName=rC;function K$(e){return e===""||e===void 0}var Y$=j.forwardRef((e,t)=>{const{value:n,...r}=e,i=j.useRef(null),s=Zt(t,i),o=Iz(n);return j.useEffect(()=>{const c=i.current,l=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(o!==n&&d){const p=new Event("change",{bubbles:!0});d.call(c,n),c.dispatchEvent(p)}},[o,n]),a.jsx(Jx,{asChild:!0,children:a.jsx("select",{...r,ref:s,defaultValue:n})})});Y$.displayName="BubbleSelect";function Q$(e){const t=Ea(e),n=j.useRef(""),r=j.useRef(0),i=j.useCallback(o=>{const c=n.current+o;t(c),function l(u){n.current=u,window.clearTimeout(r.current),u!==""&&(r.current=window.setTimeout(()=>l(""),1e3))}(c)},[t]),s=j.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return j.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,i,s]}function Z$(e,t,n){const i=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let o=nge(e,Math.max(s,0));i.length===1&&(o=o.filter(u=>u!==n));const l=o.find(u=>u.textValue.toLowerCase().startsWith(i.toLowerCase()));return l!==n?l:void 0}function nge(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var rge=C$,J$=S$,age=A$,ige=k$,sge=T$,eW=P$,oge=I$,tW=M$,nW=B$,cge=z$,lge=W$,rW=V$,aW=H$,iW=X$;const fD=rge,hD=age,uw=j.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(J$,{ref:r,className:lt("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
877ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,a.jsx(ige,{asChild:!0,children:a.jsx(Zs,{className:"h-4 w-4 opacity-50"})})]}));uw.displayName=J$.displayName;const sW=j.forwardRef(({className:e,...t},n)=>a.jsx(rW,{ref:n,className:lt("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(FQ,{className:"h-4 w-4"})}));sW.displayName=rW.displayName;const oW=j.forwardRef(({className:e,...t},n)=>a.jsx(aW,{ref:n,className:lt("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(Zs,{className:"h-4 w-4"})}));oW.displayName=aW.displayName;const dw=j.forwardRef(({className:e,children:t,position:n="popper",...r},i)=>a.jsx(sge,{children:a.jsxs(eW,{ref:i,className:lt("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[a.jsx(sW,{}),a.jsx(oge,{className:lt("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),a.jsx(oW,{})]})}));dw.displayName=eW.displayName;const uge=j.forwardRef(({className:e,...t},n)=>a.jsx(tW,{ref:n,className:lt("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));uge.displayName=tW.displayName;const Qd=j.forwardRef(({className:e,children:t,...n},r)=>a.jsxs(nW,{ref:r,className:lt("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(lge,{children:a.jsx(ty,{className:"h-4 w-4"})})}),a.jsx(cge,{children:t})]}));Qd.displayName=nW.displayName;const dge=j.forwardRef(({className:e,...t},n)=>a.jsx(iW,{ref:n,className:lt("-mx-1 my-1 h-px bg-muted",e),...t}));dge.displayName=iW.displayName;const pge=5*1024*1024;function fge({isOpen:e,initialLocationHint:t="",initialLanguage:n="es",onOpenChange:r,onSuccess:i}){const s=zn,{toast:o}=ar(),[c,l]=j.useState(null),[u,d]=j.useState(t),[p,h]=j.useState(n),[f,v]=j.useState(!1),m=g=>{var b;const x=(b=g.target.files)==null?void 0:b[0];if(x){if(x.type!=="application/pdf"){o({title:s.suggestionsToast.invalidFormatTitle,description:s.suggestionsToast.invalidFormatDescription,variant:"destructive"});return}if(x.size>pge){o({title:s.suggestionsToast.tooLargeTitle,description:s.suggestionsToast.tooLargeDescription,variant:"destructive"});return}l(x)}},y=async()=>{if(!c){o({title:s.suggestionsToast.missingCvTitle,description:s.suggestionsToast.missingCvDescription,variant:"destructive"});return}v(!0);try{const g=await Ime(c),{data:x,error:b}=await Ye.functions.invoke("cv-vacancy-suggestions",{body:{pdfBase64:g,language:p,locationHint:u.trim()||void 0}});if(b)throw new Error(b.message);const _=x;if(_!=null&&_.error)throw new Error(_.error);const E=_.vacancies??[];if(E.length===0)throw new Error("No encontramos roles recomendados para tu perfil.");i({locationHint:u,language:p,vacancies:E}),r(!1),l(null)}catch(g){const x=g instanceof Error?g.message:"Error al procesar el CV";o({title:s.suggestionsToast.errorTitle,description:x,variant:"destructive"})}finally{v(!1)}};return a.jsx(Go,{open:e,onOpenChange:r,children:a.jsxs(so,{className:"max-h-[90vh] overflow-y-auto sm:max-w-3xl",children:[a.jsxs(Xo,{children:[a.jsx(oo,{children:s.roleModal.title}),a.jsx(xx,{children:s.roleModal.description})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"grid gap-6 md:grid-cols-2 md:gap-8",children:[a.jsxs("section",{className:"flex gap-3",children:[a.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary text-sm font-semibold text-primary-foreground",children:"1"}),a.jsxs("div",{className:"min-w-0 flex-1 space-y-3",children:[a.jsxs("div",{children:[a.jsx(dt,{htmlFor:"role-modal-resume-pdf",className:"text-base font-medium",children:s.suggestions.stepUploadTitle}),a.jsx("p",{className:"mt-0.5 text-xs text-muted-foreground",children:s.suggestions.stepUploadHint})]}),a.jsxs("label",{htmlFor:"role-modal-resume-pdf",className:"flex min-h-[11rem] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border-2 border-dashed border-muted-foreground
877/25 bg-muted/30 px-4 py-6 text-center transition-colors hover:border-primary/40 hover:bg-muted/50",children:[a.jsx(sy,{className:"h-8 w-8 shrink-0 text-muted-foreground"}),a.jsx("span",{className:"w-full break-all text-sm font-medium text-foreground",children:c?c.name:s.suggestions.stepUploadCta}),c&&a.jsxs("span",{className:"text-xs text-muted-foreground",children:[(c.size/1024).toFixed(0)," KB"]}),a.jsx(Lt,{id:"role-modal-resume-pdf",type:"file",accept:"application/pdf",onChange:m,disabled:f,className:"sr-only"})]})]})]}),a.jsxs("section",{className:"flex gap-3 md:border-l md:border-border md:pl-8",children:[a.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted text-sm font-semibold text-muted-foreground",children:"2"}),a.jsxs("div",{className:"min-w-0 flex-1 space-y-3",children:[a.jsxs("div",{children:[a.jsx("p",{className:"text-base font-medium text-foreground",children:s.suggestions.stepAdjustTitle}),a.jsx("p",{className:"mt-0.5 text-xs text-muted-foreground",children:s.suggestions.stepAdjustHint})]}),a.jsxs("div",{className:"flex min-h-[11rem] flex-col justify-center gap-4 roun
877ded-xl border border-border/80 bg-muted/20 p-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"role-modal-location-hint",className:"text-sm font-medium",children:"Ubicación"}),a.jsxs("div",{className:"relative",children:[a.jsx(Ns,{className:"pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),a.jsx(Lt,{id:"role-modal-location-hint",className:"bg-background pl-9",placeholder:s.suggestions.locationPlaceholder,value:u,onChange:g=>d(g.target.value),disabled:f})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"role-modal-language",className:"text-sm font-medium",children:s.suggestions.languageLabel}),a.jsxs(fD,{value:p,onValueChange:g=>h(g),disabled:f,children:[a.jsx(uw,{id:"role-modal-language",className:"w-full bg-background",children:a.jsx(hD,{})}),a.jsxs(dw,{className:"z-[100000]",children:[a.jsx(Qd,{value:"es",children:"Español"}),a.jsx(Qd,{value:"en",children:"Inglés"})]})]})]})]})]})]})]}),a.jsx("div",{className:"flex justify-stretch border-t pt-4 sm:justify-end",children:a.jsx(Ce,{type:"button",size:"lg",onClick:y,disabled:f||!c,className:"w-full gap-2 sm:min-w-[240px] sm:w-auto",children:f?a.jsxs(a.Fragment,{children:[a.jsx(hu,{className:"h-4 w-4 animate-spin"}),s.suggestions.submitLoading]}):a.jsxs(a.Fragment,{children:[a.jsx(I1,{className:"h-4 w-4"}),s.suggestions.submitIdle]})})})]})]})})}function hge({configuration:e,isConfigured:t,suggestions:n,onSaveConfiguration:r}){const i=zn,[s,o]=j.useState(!1),c=v$(ub.key),{setNodeRef:l,isOver:u}=y$({id:c,data:{type:"status-column",status:ub.key}});return a.jsxs(a.Fragment,{children:[a.jsxs(nt,{ref:l,"data-testid":"column-recommended-roles",className:lt("shadow-card min-h-[12rem] transition-colors",u&&"ring-2 ring-indigo-400 ring-offset-2 bg-indigo-50/50"),children:[a.jsx(kt,{className:"pb-3",children:a.jsxs(Tt,{className:lt("text-sm font-medium flex items-center justify-between",ub.headerClassName),children:[i.recommendedRoles.columnTitle,a.jsx(Ln,{variant:"secondary",className:lt("text-xs",ub.badgeClassName),children:n.length})]})}),a.jsx(it,{className:"space-y-3 min-h-[8rem]",children:t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"space-y-3",children:n.map((d,p)=>{const h=`${d.title}-${p}`;return a.jsx(Ume,{suggestionId:h,vacancy:d,locationHint:(e==null?void 0:e.locationHint)??""},h)})}),n.length===0&&a.jsx("div",{className:"rounded-lg border border-dashed px-4 py-6 text-center text-sm text-muted-foreground",children:i.recommendedRoles.dragHint}),a.jsx(Ce,{type:"button",variant:"outline",size:"sm",className:"w-full",onClick:()=>o(!0),children:i.recommendedRoles.reconfigureCta}),n.length>0&&a.jsx("p",{className:"text-xs text-muted-foreground text-center",children:i.recommendedRoles.dragHint})]}):a.jsxs("div",{className:"flex flex-col items-center justify-center gap-3 rounded-lg border border-dashed px-4 py-8 text-center",children:[a.jsx(xs,{className:"h-8 w-8 text-indigo-500"}),a.jsxs("div",{className:"space-y-1",children:[a.jsx("p",{className:"text-sm font-medium text-foreground",children:i.recommendedRoles.emptyTitle}),a.jsx("p",{className:"text-xs text-muted-foreground",children:i.recommendedRoles.emptyDescription})]}),a.jsx(Ce,{type:"button",size:"sm",onClick:()=>o(!0),children:i.recommendedRoles.configureCta})]})})]}),a.jsx(fge,{isOpen:s,initialLocationHint:e==null?void 0:e.locationHint,initialLanguage:e==null?void 0:e.language,onOpenChange:o,onSuccess:r})]})}function mge({applicationsByStatus:e,configuration:t,hasActiveSearch:n,isRoleConfigurationReady:r,isRolesConfigured:i,onDragEnd:s,onOpenDetail:o,onRequestDelete:c,onSaveRoleConfiguration:l,roleSuggestions:u}){const[d,p]=j.useState(null),[h,f]=j.useState(null),v=phe(Q8(uD,{activationConstraint:{distance:8}}),Q8(d$,{activationConstraint:{delay:200,tolerance:5}})),m=x=>{const b=w$(x.active),_=j$(x.active);p(b),f(_?{suggestionId:_.suggestionId,vacancy:_.vacancy}:null)},y=x=>{p(null),f(null),s(x)},g=()=>{p(null),f(null)};return a.jsxs(dme,{sensors:v,collisionDetection:yhe,onDragStart:m,onDragEnd:y,onDragCancel:g,children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 ga
877p-4",children:[r&&a.jsx(hge,{configuration:t,isConfigured:i,suggestions:u,onSaveConfiguration:l}),Xfe.map(x=>a.jsx(Ome,{column:x,applications:e(x.key),hasActiveSearch:n,onOpenDetail:o,onRequestDelete:c},x.key))]}),a.jsx(Ame,{dropAnimation:null,children:d?a.jsx("div",{className:"cursor-grabbing w-[280px]",children:a.jsx(_$,{application:d,isDragOverlay:!0,onOpenDetail:o,onRequestDelete:c})}):h?a.jsxs("div",{className:"cursor-grabbing w-[280px] rounded-lg border border-indigo-300 bg-background p-3 shadow-lg",children:[a.jsx("h4",{className:"text-sm font-medium leading-snug",children:h.vacancy.title}),a.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:[h.vacancy.seniority,h.vacancy.industryOrContext].filter(Boolean).join(" · ")})]}):null})]})}function gge(e){if(!e)return[];if(Array.isArray(e))return e;if(typeof e=="string")try{const t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}return[]}function xge(e,t){const n=e??t.split("T")[0];return new Date(n).toLocaleDateString("es-ES",{year:"numeric",month:"short",day:"numeric"})}function dP(e){return{id:e.id,title:e.title,company:e.company,platform:e.platform||"Other",url:e.url||"",description:e.description||"",status:e.status,dateApplied:xge(e.applied_at,e.created_at),notes:gge(e.notes)}}class yge{async fetchByUserId(t){const{data:n,error:r}=await Ye.from("job_applications").select("*").eq("user_id",t).order("created_at",{ascending:!1});if(r)throw r;return n.map(dP)}async create(t,n,r){const{data:i,error:s}=await Ye.from("job_applications").insert([{user_id:t,title:n.title,company:n.company,platform:n.platform||"Other",url:n.url||"",description:n.description||"",status:(r==null?void 0:r.status)??"applied",applied_at:new Date().toISOString().split("T")[0],notes:JSON.stringify([])}]).select().single();if(s)throw s;return dP(i)}async updateStatus(t,n,r){const{error:i}=await Ye.from("job_applications").update({status:r}).eq("id",t).eq("user_id",n);if(i)throw i}async delete(t,n){const{error:r}=await Ye.from("job_applications").delete().eq("id",t).eq("user_id",n);if(r)throw r}}const yg=new yge,pP={title:"",company:"",platform:"",url:"",description:""};function vge(){const{toast:e}=ar(),[t,n]=j.useState([]),[r,i]=j.useState(null),[s,o]=j.useState(""),[c,l]=j.useState(!0),[u,d]=j.useState(!1),[p,h]=j.useState(!1),[f,v]=j.useState(!1),[m,y]=j.useState(null),[g,x]=j.useState(null),[b,_]=j.useState(pP),E=j.useCallback(async q=>{const I=await yg.fetchByUserId(q);n(I)},[]);j.useEffect(()=>{(async()=>{try{const{data:{user:I}}=await Ye.auth.getUser();if(!I){e({title:zn.toast.loadErrorTitle,description:zn.toast.loginRequiredDescription,variant:"destructive"});return}i(I.id),await E(I.id)}catch{e({title:zn.toast.loadErrorTitle,description:zn.toast.loadErrorDescription,variant:"destructive"})}finally{l(!1)}})()},[E,e]);const T=j.useMemo(()=>{const q=s.toLowerCase().trim();return q?t.filter(I=>I.title.toLowerCase().includes(q)||I.company.toLowerCase().includes(q)):t},[t,s]),A=j.useCallback(q=>T.filter(I=>q==="advancing"?I.status==="advancing"||I.status==="first-call":I.status===q),[T]),w=j.useCallback((q,I)=>{n(z=>z.map(M=>M.id===q?{...M,status:I}:M))},[]),S=j.useCallback(async q=>{const{active:I,over:z}=q;if(!z||!r)return;const M=w$(I),F=b$(z,t);if(!M||!F||M.status===F)return;const H=M.status;w(M.id,F);try{await yg.updateStatus(M.id,r,F),e({title:zn.toast.statusUpdatedTitle,description:zn.toast.statusUpdatedDescription(rD[F])})}catch{w(M.id,H),e({title:zn.toast.moveErrorTitle,description:zn.toast.moveErrorDescription,variant:"destructive"})}},[t,r,e,w]),k=j.useCallback(async()=>{if(!(!b.title||!b.company)&&r)try{await yg.create(r,b),await E(r),_(pP),d(!1),e({title:zn.toast.createdTitle,description:zn.toast.createdDescription})}catch{e({title:zn.toast.createErrorTitle,description:zn.toast.createErrorDescription,variant:"destructive"})}},[r,E,b,e]),P=j.useCallback(q=>{x(q),v(!0)},[]),D=j.useCallback(async()=>{if(!(!g||!r))try{await yg.delete(g,r),n(q=>q.filter(I=>I.id!==g)),e({title:zn.toast.deletedTitle,description:zn.toast.deletedDescription})}catch{e({title:zn.toast.deleteErrorTitle,description:zn.toast.deleteErrorDescription,variant:"destructive"})}finally{v(!1),x(null)}},[g,r,e]),R=j.useCallback(q=>{y(q),h(!0)},[]),N=j.useCallback(()=>{v(!1),x(null)},[]);return{applications:t,applicationsByStatus:A,authenticatedUserId:r,cancelDeleteApplication:N,confirmDeleteApplication:D,createApplication:k,handleDragEnd:S,isCreateDialogOpen:u,isDeleteDialogOpen:f,isDetailDialogOpen:p,isLoading:c,loadApplications:E,newApplicationForm:b,openApplicationDetail:R,openDeleteConfirmation:P,searchTerm:s,selectedApplication:m,setIsCreateDialogOpen:d,setIsDetailDialogOpen:h,setNewApplicationForm:_,setSearchTerm:o}}const bge="job-tracker-role-suggestions";function cW(e){return`${bge}:${e}`}function wge(e){try{const t=localStorage.getItem(cW(e));if(!t)return null;const n=JSON.parse(t);return!(n!=null&&n.configuration)||!Array.isArray(n.vacancies)?null:n}catch{return null}}function fP(e,t){localStorage.setItem(cW(e),JSON.stringify(t))}function jge(e){const[t,n]=j.useState(null),[r,i]=j.useState(!0);j.useEffect(()=>{if(!e){n(null),i(!1);return}n(wge(e)),i(!1)},[e]);const s=j.useMemo(()=>((t==null?void 0:t.vacancies.length)??0)>0,[t]),o=j.useCallback(l=>{if(!e)return;const u={configuration:{locationHint:l.locationHint.trim(),language:l.language,configuredAt:new Date().toISOString()},vacancies:l.vacancies};fP(e,u),n(u)},[e]),c=j.useCallback(l=>{if(!e||!t)return;const u=t.vacancies.filter((p,h)=>`${t.vacancies[h].title}-${h}`!==l),d={...t,vacancies:u};fP(e,d),n(d)},[t,e]);return{configuration:(t==null?void 0:t.configuration)??null,isConfigured:s,isLoading:r,removeSuggestion:c,saveConfiguration:o,suggestions:(t==null?void 0:t.vacancies)??[]}}function _ge(){const e=zn,{toast:t}=ar(),{applications:n,applicationsByStatus:r,authenticatedUserId:i,cancelDeleteApplication:s,confirmDeleteApplication:o,createApplication:c,handleDragEnd:l,isCreateDialogOpen:u,isDeleteDialogOpen:d,isDetailDialogOpen:p,isLoading:h,newApplicationForm:f,openApplicationDetail:v,openDeleteConfirmation:m,searchTerm:y,selectedApplication:g,setIsCreateDialogOpen:x,setIsDetailDialogOpen:b,setNewApplicationForm:_,setSearchTerm:E,loadApplications:T}=vge(),{configuration:A,isConfigured:w,isLoading:S,removeSuggestion:k,saveConfiguration:P,suggestions:D}=jge(i),R=y.trim().length>0,N=j.useCallback(async q=>{const I=j$(q.active);if(I){const z=b$(q.over,n);if(!z||!i)return;const{vacancy:M,suggestionId:F}=I,H=(A==null?void 0:A.locationHint)??"";try{await yg.create(i,{title:M.title,company:M.industryOrContext||"Por explorar",platform:"LinkedIn",url:N$(M,H),description:M.whyMatch},{status:z}
877),k(F),await T(i),t({title:e.toast.roleMovedTitle,description:e.toast.roleMovedDescription(rD[z])})}catch{t({title:e.toast.roleMoveErrorTitle,description:e.toast.roleMoveErrorDescription,variant:"destructive"})}return}await l(q)},[n,i,A==null?void 0:A.locationHint,e.toast,l,T,k,t]);return h||S?a.jsx("div",{className:"flex items-center justify-center h-64",children:a.jsx("p",{className:"text-muted-foreground",children:e.page.loading})}):a.jsx(G1,{children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:justify-between sm:items-start",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:e.page.title}),a.jsx("p",{className:"text-muted-foreground",children:e.page.description})]}),a.jsx(Vfe,{isOpen:u,form:f,onOpenChange:x,onFormChange:_,onSubmit:c})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsx("div",{children:a.jsx("h3",{className:"text-lg font-semibold",children:e.page.pipelineTitle})}),a.jsxs("div",{className:"relative",children:[a.jsx(I1,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4"}),a.jsx(Lt,{type:"text",placeholder:e.page.searchPlaceholder,value:y,onChange:q=>E(q.target.value),className:"pl-10"})]}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.page.dragHint}),a.jsx(mge,{applicationsByStatus:r,configuration:A,hasActiveSearch:R,isRoleConfigurationReady:!S,isRolesConfigured:w,onDragEnd:N,onOpenDetail:v,onRequestDelete:m,onSaveRoleConfiguration:P,roleSuggestions:D})]}),a.jsx(Zfe,{application:g,isOpen:p,onOpenChange:b}),a.jsx(Hfe,{isOpen:d,onOpenChange:q=>{q||s()},onConfirm:o,onCancel:s})]})})}function Nge(){const{user:e}=Vr();ar();const[t,n]=j.useState(null),[r,i]=j.useState(!1);j.useEffect(()=>{(async()=>{if(e)try{const{data:l,error:u}=await Ye.functions.invoke("get-service-history",{body:{user_id:e.id}});if(!u&&(l!=null&&l.services)){const p=l.services.some(h=>h.name==="AsesorÃa General de Empleabilidad");i(p)}}catch{}})()},[e]);const s=[{id:"consultation",title:"AsesorÃa General de Empleabilidad",duration:"60 minutos",price:r?2756.37:689.09,description:"Orientación general sobre tu carrera profesional y estrategias de empleabilidad",features:["Análisis de perfil","Roadmap profesional","Recomendaciones","Recursos adicionales"],icon:el,popular:!0},{id:"interview-45",title:"Entrevista con Career Coach",duration:"45 minutos",price:1837.58,description:"Sesión personalizada para simulación de entrevista con un especialista",features:["Análisis personalizado","Feedback inmediato","Plan de acción","Grabación de la sesión","Se elige un idioma: Español o Inglés"],icon:Da,popular:!1},{id:"job-vacancies",title:"20 Vacantes Personalizadas",duration:"48 horas",price:1837.58,description:"Recibe 20 vacantes seleccionadas especÃficamente para tu perfil que se agregarán a tu tablero",features:["20 vacantes curadas","Match personalizado","Agregadas a tu tablero","Entrega en 48 horas","Llamada de 30mn para conocer tu perfil"],icon:po,popular:!1}],o=async c=>{};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:"Servicios Adicionales"}),a.jsx("p",{className:"text-muted-foreground",children:"Acelera tu desarrollo profesional con servicios personalizados"})]}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>window.location.href="/terms-and-conditions-aditional-services",className:"text-xs",children:"Ver Términos y Condiciones"})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:s.map(c=>a.jsxs(nt,{className:`shadow-card relative ${c.popular?"border-primary":""}`,children:[c.popular&&a.jsx(Ln,{className:"absolute -top-3 left-4 bg-primary text-primary-foreground",children:"Más Popular"}),a.jsx(kt,{children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"p-2 bg-primary/10 rounded-lg",children:a.jsx(c.icon,{className:"w-5 h-5 text-primary"})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs(Tt,{className:"text-lg flex items-center gap-2 flex-wrap min-w-0",children:[a.jsx("span",{className:"truncate",children:c.title}),c.id==="consultation"&&!r&&a.jsx(Ln,{className:"bg-green-100 text-green-800 whitespace-nowrap px-2 py-0.5 text-xs",children:"75% OFF primera vez"})]}),a.jsxs(Wt,{className:"flex items-center gap-2",children:[a.jsx(En,{className:"w-4 h-4"}),c.duration]})]}),a.jsxs("div",{className:"text-right whitespace-nowrap",children:[a.jsx("div",{className:"text-2xl font-bold text-primary",children:typeof c.price=="number"?`$${c.price}`:c.price}),c.id==="consultation"&&!r&&a.jsx("div",{className:"text-[10px] text-muted-foreground",children:"Precio regular $2756.37 MXN"}),typeof c.price=="number"&&a.jsx("div",{className:"text-xs text-muted-foreground",children:"MXN"})]})]})}),a.jsxs(it,{className:"space-y-4",children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:c.description}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("h4",{className:"text-sm font-medium",children:"Incluye:"}),a.jsx("ul",{className:"space-y-1",children:c.features.map((l,u)=>a.jsxs("li",{className:"text-sm text-muted-foreground flex items-center gap-2",children:[a.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full"}),l]},u))})]}),a.jsx(Ce,{className:"w-full",variant:c.popular?"default":"outline",onClick:()=>o(c.id),disabled:t===c.id,children:t===c.id?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"w-4 h-4 mr-2 border-2 border-current border-t-transparent roun
877ded-full animate-spin"}),"Procesando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(cp,{className:"w-4 h-4 mr-2"}),c.special?"Aplica ahora":"Adquirir Servicio"]})})]})]},c.id))})]})}var Cge="Separator",hP="horizontal",Ege=["horizontal","vertical"],lW=j.forwardRef((e,t)=>{const{decorative:n,orientation:r=hP,...i}=e,s=Sge(r)?r:hP,c=n?{role:"none"}:{"aria-orientation":s==="vertical"?s:void 0,role:"separator"};return a.jsx(Nt.div,{"data-orientation":s,...c,...i,ref:t})});lW.displayName=Cge;function Sge(e){return Ege.includes(e)}var uW=lW;const dW=j.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...r},i)=>a.jsx(uW,{ref:i,decorative:n,orientation:t,className:lt("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...r}));dW.displayName=uW.displayName;function Dge(){const{user:e}=Vr(),{toast:t}=ar(),[n,r]=j.useState(!0),[i,s]=j.useState(!1),[o,c]=j.useState(!1),[l,u]=j.useState(!1),[d,p]=j.useState({full_name:"",email:"",phone:"",location:"",bio:"",linkedin_url:"",skills:"",experience:""}),[h,f]=j.useState({currentPassword:"",newPassword:"",confirmPassword:""}),[v,m]=j.useState({current:!1,new:!1,confirm:!1});j.useEffect(()=>{(async()=>{if(e)try{r(!0);const{data:_,error:E}=await Ye.from("profiles").select("*").eq("user_id",e.id).single();E?(console.error("Error loading profile:",E),t({title:"Error",description:"No se pudo cargar el perfil",variant:"destructive"})):_&&p({full_name:_.full_name||"",email:_.email||"",phone:_.phone||"",location:_.location||"",bio:_.bio||"",linkedin_url:_.linkedin_url||"",skills:_.skills||"",experience:_.experience||""})}catch(_){console.error("Error in loadProfile:",_),t({title:"Error",description:"Error al cargar el perfil",variant:"destructive"})}finally{r(!1)}})()},[e,t]);const y=async()=>{if(e)try{s(!0);const{error:b}=await Ye.from("profiles").update({full_name:d.full_name,phone:d.phone,location:d.location,bio:d.bio,linkedin_url:d.linkedin_url,skills:d.skills,updated_at:new Date().toISOString()}).eq("user_id",e.id);if(b)throw b;t({title:"Perfil actualizado",description:"Tu perfil se ha actualizado correctamente"})}catch(b){console.error("Error updating profile:",b),t({title:"Error",description:"No se pudo actualizar el perfil",variant:"destructive"})}finally{s(!1)}},g=async()=>{if(!(e!=null&&e.email)){t({title:"Error",description:"No se encontró el email del usuario",variant:"destructive"});return}try{c(!0);const{error:b}=await Ye.auth.resetPasswordForEmail(e.email,{redirectTo:`${window.location.origin}/reset-password`});if(b)throw b;u(!0),t({title:"Email enviado",description:"Se ha enviado un email para cambiar tu contraseña"})}catch(b){console.error("Error sending password reset:",b),t({title:"Error",description:"No se pudo enviar el email de cambio de contraseña",variant:"destructive"})}finally{c(!1)}},x=async()=>{if(e){if(h.newPassword!==h.confirmPassword){t({title:"Error",description:"Las contraseñas no coinciden",variant:"destructive"});return}if(h.newPassword.length<6){t({title:"Error",description:"La nueva contraseña debe tener al menos 6 caracteres",variant:"destructive"});return}try{c(!0);const{error:b}=await Ye.auth.signInWithPassword({email:e.email||"",password:h.currentPassword});if(b){t({title:"Error",description:"La contraseña actual es incorrecta",variant:"destructive"});return}const{error:_}=await Ye.auth.updateUser({password:h.newPassword});if(_)throw _;t({title:"Contraseña actualizada",description:"Tu contraseña se ha actualizado correctamente"}),f({currentPassword:"",newPassword:"",confirmPassword:""})}catch(b){console.error("Error changing password:",b),t({title:"Error",description:"No se pudo cambiar la contraseña",variant:"destructive"})}finally{c(!1)}}};return n?a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:"Configuración General"}),a.jsx("p",{className:"text-muted-foreground",children:"Gestiona tu perfil, notificaciones y configuración de privacidad"})]}),a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"flex items-center justify-center py-8",children:a.jsx(Uc,{})})})]}):a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold",children:"Configuración General"}),a.jsx("p",{className:"text-muted-foreground",children:"Gestiona tu perfil, notificaciones y configuración de privacidad"})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(Bo,{className:"w-5 h-5 text-primary"}),"Información del Perfil"]}
877),a.jsx(Wt,{children:"Actualiza tu información personal y profesional"})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"full_name",children:"Nombre Completo"}),a.jsx(Lt,{id:"full_name",value:d.full_name,onChange:b=>p({...d,full_name:b.target.value}),placeholder:"Tu nombre completo"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"email",children:"Email"}),a.jsx(Lt,{id:"email",type:"email",value:d.email,disabled:!0,className:"bg-muted"}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"El email no se puede cambiar desde aquÃ"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"phone",children:"Teléfono"}),a.jsx(Lt,{id:"phone",value:d.phone,onChange:b=>p({...d,phone:b.target.value}),placeholder:"+52 55 1234 5678"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"location",children:"Ubicación"}),a.jsx(Lt,{id:"location",value:d.location,onChange:b=>p({...d,location:b.target.value}),placeholder:"Ciudad, PaÃs"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"linkedin_url",children:"LinkedIn"}),a.jsx(Lt,{id:"linkedin_url",value:d.linkedin_url,onChange:b=>p({...d,linkedin_url:b.target.value}),placeholder:"https://linkedin.com/in/tu-perfil"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"skills",children:"Habilidades"}),a.jsx(Lt,{id:"skills",value:d.skills,onChange:b=>p({...d,skills:b.target.value}),placeholder:"React, TypeScript, Node.js..."})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"bio",children:"BiografÃa Profesional"}),a.jsx(Hi,{id:"bio",value:d.bio,onChange:b=>p({...d,bio:b.target.value}),placeholder:"Cuéntanos sobre tu experiencia y objetivos profesionales...",rows:3})]}),a.jsxs("div",{className:"space-y-2 hidden",children:[a.jsx(dt,{htmlFor:"experience",children:"Experiencia"}),a.jsx(Hi,{id:"experience",value:d.experience,onChange:b=>p({...d,experience:b.target.value}),placeholder:"Describe tu experiencia laboral y logros principales...",rows:3})]}),a.jsx(Ce,{onClick:y,disabled:i,className:"w-full md:w-auto",children:i?a.jsxs(a.Fragment,{children:[a.jsx(Uc,{}),"Guardando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(X7,{className:"w-4 h-4 mr-2"}),"Guardar Cambios"]})})]})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(mu,{className:"w-5 h-5 text-primary"}),"Gestión de Contraseña"]}),a.jsx(Wt,{children:"Cambia tu contraseña o solicita un enlace de restablecimiento"})]}),a.jsx(it,{className:"space-y-4",children:l?a.jsxs("div",{className:"p-4 border border-green-200 rounded-lg bg-green-50",children:[a.jsxs("div",{className:"flex items-center gap-2 text-green-800",children:[a.jsx(Xn,{className:"w-5 h-5"}),a.jsx("span",{className:"font-medium",children:"Email enviado correctamente"})]}),a.jsx("p",{className:"text-sm text-green-700 mt-1",children:"Revisa tu bandeja de entrada y sigue las instrucciones para cambiar tu contraseña."}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>u(!1),className:"mt-2",children:"Enviar otro email"})]}):a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"currentPassword",children:"Contraseña Actual"}),a.jsxs("div",{className:"relative",children:[a.jsx(Lt,{id:"currentPassword",type:v.current?"text":"password",value:h.currentPassword,onChange:b=>f({...h,currentPassword:b.target.value}),placeholder:"Tu contraseña actual"}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3",onClick:()=>m({...v,current:!v.current}),children:v.current?a.jsx(Mf,{className:"w-4 h-4"}):a.jsx(Ic,{className:"w-4 h-4"})})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"newPassword",children:"Nueva Contraseña"}),a.jsxs("div",{className:"relative",children:[a.jsx(Lt,{id:"newPassword",type:v.new?"text":"password",value:h.newPassword,onChange:b=>f({...h,newPassword:b.target.value}),placeholder:"MÃnimo 6 caracteres"}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3",onClick:()=>m({...v,new:!v.new}),children:v.new?a.jsx(Mf,{className:"w-4 h-4"}):a.jsx(Ic,{className:"w-4 h-4"})})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"confirmPassword",children:"Confirmar Nueva Contraseña"}),a.jsxs("div",{className:"relative",children:[a.jsx(Lt,{id:"confirmPassword",type:v.confirm?"text":"password",value:h.confirmPassword,onChange:b=>f({...h,confirmPassword:b.target.value}),placeholder:"Repite la nueva contraseña"}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3",onClick:()=>m({...v,confirm:!v.confirm}),children:v.confirm?a.jsx(Mf,{className:"w-4 h-4"}):a.jsx(Ic,{className:"w-4 h-4"})})]})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2",children:[a.jsx(Ce,{onClick:x,disabled:o||!h.currentPassword||!h.newPassword||!h.confirmPassword,className:"flex-1",children:o?a.jsxs(a.Fragment,{children:[a.jsx(Uc,{}),"Cambiando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(mu,{className:"w-4 h-4 mr-2"}),"Cambiar Contraseña"]})}),a.jsxs(Ce,{variant:"outline",onClick:g,disabled:o,className:"flex-1",children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"}),"Enviar Email de Restablecimiento"]})]})]})})]}),a.jsxs(nt,{className:"shadow-card hidden",children:[a.jsx(kt,{children:a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(Ld,{className:"w-5 h-5 text-primary"}),"Gestión de Cuenta"]})}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[a.jsxs(Ce,{variant:"outline",className:"w-full",children:[a.jsx(Ld,{className:"w-4 h-4 mr-2"}),"Gestionar Suscripción"]}),a.jsxs(Ce,{variant:"outline",className:"w-full",children:[a.jsx(Bo,{className:"w-4 h-4 mr-2"}),"Exportar Datos"]})]}),a.jsx(dW,{}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("h4",{className:"font-medium text-destructive",children:"Zona de Peligro"}),a.jsx("div",{className:"p-4 border border-destructive/20 rounded-lg bg-destructive/5",children:a.jsxs("div",{className:"space-y-2",children:[a.jsx("p",{className:"font-medium",children:"Eliminar Cuenta"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Esta acción no se puede deshacer. Se eliminarán permanentemente todos tus datos."}),a.jsxs(Ce,{variant:"destructive",size:"sm",children:[a.jsx(ay,{className:"w-4 h-4 mr-2"}),"Eliminar Cuenta"]})]})})]})]})]})]})}function pW(){const{toast:e}=ar(),t=r=>{kce(r.canvaUrl)||e({title:"No se pudo abrir Canva",description:"Revisa que no estén bloqueados los popups e inténtalo de nuevo.",variant:"destructive"})},n=r=>{window.open(r.image,"_blank")||e({title:"No se pudo abrir la vista previa",description:"Revisa que no estén bloqueados los popups.",variant:"destructive"})};return a.jsx("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",children:Ace.map(r=>a.jsxs("div",{className:"rounded-xl border border-border/80 p-4 transition-shadow hover:shadow-md",children:[a.jsx("div",{className:"mb-3 aspect-[3/4] overflow-hidden rounded-lg bg-muted",children:a.jsx("img",{src:r.image,alt:r.name,className:"h-full w-full object-cover",onError:i=>{i.target.src="/placeholder.svg"}})}),a.jsx("h4",{className:"mb-1 text-sm font-medium",children:r.name}),a.jsx("p",{className:"mb-3 text-xs text-muted-foreground",children:r.description}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs(Ce,{size:"sm",variant:"outline",className:"flex-1",onClick:()=>t(r),children:[a.jsx(zd,{className:"mr-1 h-3 w-3"}),"Editar en Canva"]}),a.jsx(Ce,{size:"sm",variant:"ghost",onClick:()=>n(r),"aria-label":`Vista previa de ${r.name}`,children:a.jsx(Ic,{className:"h-3 w-3"})})]})]},r.id))})}const Age="/assets/Banners%20Emplicity_NO%20EDITAR_CREA%20UNA%20COPIA-1_e-ISth.png",kge="https://www.canva.com/design/DAHAZt8bexk/w5-nicijTK40cUPqSLaUCA/edit";function Tge(){const{toast:e}=ar(),t=()=>{window.open(kge,"_blank","noopener,noreferrer")||e({title:"No se pudo abrir Canva",description:"Revisa que no estén bloqueados los popups e inténtalo de nuevo.",variant:"destructive"})};return a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"flex items-start gap-2 rounded-xl border border-amber-200 bg-amber-50 px-4 py-3",children:[a.jsx(Z7,{className:"mt-0.5 h-4 w-4 shrink-0 text-amber-600"}),a.jsxs("p",{className:"text-sm leading-relaxed text-amber-800",children:[a.jsx("strong",{children:"Antes de editar, crea una copia."})," En Canva ve a"," ",a.jsx("em",{children:"Archivo â Crear una copia"})," y trabaja sobre esa copia. No edites el archivo original para no afectar a otros usuarios."]})]}),a.jsx("div",{className:"overflow-hidden rounded-xl border border-border/80 bg-muted",children:a.jsx("img",{src:Age,alt:"Vista previa del banner de LinkedIn de Emplicity",className:"w-full object-contain",onError:n=>{n.target.src="/placeholder.svg"}})}),a.jsxs(Ce,{className:"w-full gap-2 sm:w-auto",onClick:t,children:[a.jsx(zd,{className:"h-4 w-4"}),"Editar en Canva"]})]})}function Pge(){var s,o;const[e,t]=j.useState(null),[n,r]=j.useState(""),i=[{id:"networking",title:"Networking",description:"Mensajes para hacer networking profesional",icon:Da,examples:[`Hola (Nombre del Perfil), 878He solicitado el puesto de (nombre de la vacante) en (compañÃa) y estoy muy interesado en aportar a su equipo. ¿PodrÃamos coordinar una breve charla para explorar cómo puedo contribuir? 879Saludos, 880[Tu Nombre]`,"Hola [Nombre], me gustarÃa conectar contigo para expandir mi red profesional en [Industria].","Hola [Nombre], estoy explorando oportunidades en [Empresa/Industria] y me encantarÃa conocer tu perspectiva."]},{id:"follow-up",title:"Seguimiento de Procesos",description:"Mensajes para dar seguimiento a aplicaciones",icon:gu,examples:["Buen dÃa [Nombre], espero te encuentres bien. QuerÃa dar seguimiento a mi aplicación para la posición de [Puesto]. Estoy interesado en conocer los siguientes pasos."]},{id:"emails",title:"Correos Profesionales",description:"Templates para correos formales y seguimiento",icon:Tr,examples:[`Asunto: Aplicación para la posición de [Puesto] - [Tu nombre] 881 882Hola (nombre del reclutador), soy (nombre y perfil profesional), te contacto porque he visto la vacante de (nombre de la vacante) en (página de careers, LinkedIn, OCC, bolsas de trabajo, correo, etc.). 883 884Estoy sumamente interesado en esta oferta de trabajo, ya que he seguido de cerca el crecimiento de (nombre de la empresa/organización) como (mencionar algunos proyectos, cultura laboral, etc.,) y me encantarÃa formar parte del equipo. 885 886A lo largo de mi carrera, he desarrollado habilidades en (mencionar habilidades relevantes para la posición), además, mi experiencia en (mencionar experiencia relevante y logros, si es cuantificable, mejor) me ha permitido enfrentar desafÃos y trabajar eficazmente en entornos dinámicos. 887
888Adjunto mi CV y (portafolio dependerá del perfil) para tu/su consideración, ya que me encantarÃa ser parte del proceso de selección para la vacante. 889Agradezco la oportunidad de considerar mi candidatura para esta posición. Estoy disponible para programar una entrevista y hablar sobre mi experiencia y habilidades. 890 891Excelente dÃa. 892Saludos. 893 894Nombre 895Perfil profesional 896Contacto`,`Asunto: Seguimiento - Entrevista [Puesto] - [Fecha] 897Nota: Dar seguimiento a entrevista después de 24 hrs 898 899Hola [Nombre] ¿Cómo estás? Solo querÃa agradecerte por tu tiempo ayer. Me gustó mucho poder platicar contigo y conocer más acerca de la vacante. 900 901Me siento muy identificado con lo que están haciendo en [compañÃa] y los proyectos como [explicar lo que hablaron en la entrevista]. Me emociona la idea de poder formar parte del equipo y ayudarles en su crecimiento. 902 903Por favor, avÃsame si tienes cualquier duda adicional acerca de mi. Mientras seguiré al pendiente de las noticias del proceso. 904Excelente dÃa. 905Saludos. 906 907Nombre`]},{id:"negotiation",title:"Negociación",description:"Templates para negociar ofertas laborales",icon:el,examples:[`Asunto: Revisión de propuesta salarial â [Tu nombre] 908 909Hola [Nombre] 910 911Muchas gracias por la oferta, estoy muy emocionado por la oportunidad y realmente me interesa ser parte de (nombre de la compañÃa). 912 913Después de revisar la carta oferta, el salario es menos de lo que estoy buscando en mi siguiente posición. 914 915De acuerdo a mi experiencia y habilidades como (..ajustándolos a la vacante..) estoy entre $XXXX a $XXXX. 916 917¿Hay alguna manera de acercarse al rango? De igual manera, me encuentro abierto a escuchar otros beneficios que pueden ofrecer. 918 919Muchas gracias por la atención. 920 921Nombre 922Perfil profesional 923Contacto`,`Asunto: Posible ajuste en términos de la oferta 924 925Hola [Nombre] 926 927Muchas gracias por la oferta, estoy muy emocionado por la oportunidad y realmente me interesa ser parte de (nombre de la compañÃa). Estoy muy entusiasmado con la posibilidad de contribuir al equipo y realmente me interesa la oportunidad de trabajar con ustedes. 928 929Quisiera mencionar que he recibido otra oferta de empleo con un paquete compensatorio más alto. Dada mi experiencia y las habilidades especÃficas que aporto, especialmente en (mencionar las habilidades relevantes), estaba evaluando ofertas en el rango de $XXXX a $XXXX. 930 931¿Existe la posibilidad de revisar el salario ofrecido o discutir otros beneficios complementarios que podrÃan hacer que su oferta sea más competitiva? Estoy abierto a explorar diferentes opciones y me gustarÃa encontrar un acuerdo que beneficie a ambas partes. 932 933Agradezco su consideración y espero que podamos encontrar un término medio que refleje el valor que puedo aportar, además, estoy muy interesando en (compañÃa) por (hablar sobre el interés con la empresa). 934 935Nombre 936Perfil profesional 937Contacto`]},{id:"rejection",title:"Rechazar Oferta",description:"Templates para rechazar ofertas profesionalmente",icon:rl,examples:[`Asunto: Agradecimiento por la oferta â [Tu nombre] 938 939Hola [Nombre], 940 941Gracias por la oportunidad de considerarme para el proceso de (vacante) en (empresa). 942 943Disfruté aprendiendo más sobre el rol, y la cultura de la organización. 944 945Después de una cuidadosa consideración, he llegado a una decisión difÃcil. Desafortunadamente, tengo que rechazar esta oportunidad en este momento debido a que tengo otros objetivos profesionales que me gustarÃa enfocarme. (opcional agregar los objetivos profesionales). 946 947Agradezco sinceramente la oferta y quiero expresar mi gratitud por la oportunidad de conocer al equipo, esperando que en el futuro podamos coincidir para colaborar juntos. 948 949Les deseo todo lo mejor para encontrar al candidato adecuado para el puesto. 950 951¡Saludos! 952 953Nombre 954Perfil profesional 955Contacto`,`Asunto: Seguimiento sobre propuesta de trabajo 956 957Hola [Nombre] 958 959Gracias por la oportunidad de considerarme para el proceso de (vacante) en (empresa). 960 961Disfruté aprendiendo más sobre el rol, y la cultura de la organización. 962 963Después de una cuidadosa consideración, he llegado a una decisión difÃcil. Desafortunadamente, tengo que rechazar esta oportunidad en este momento debido a que estoy buscando otro tipo de retos profesionales que me permitan crecer como (perfil profesional). 964 965Sin embargo, me gustarÃa referir a estos candidatos que considero hacen buen fit con lo que buscan: 966 967-Nombre, LinkedIn, Contacto 968-Nombre, LinkedIn, Contacto 969 970Agradezco sinceramente la oferta y quiero expresar mi gratitud por la oportunidad de conocer a su equipo. Le deseo todo lo mejor y espero que en un futuro podamos volver a coincidir en otra oportunidad. 971 972¡Saludos! 973 974Nombre 975Perfil profesional 976Contacto`]}];return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Mensajes Automatizados"}),a.jsx("p",{className:"text-muted-foreground",children:"Templates y ejemplos para facilitar tu comunicación profesional"})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:i.map(c=>
976a.jsxs(nt,{className:`cursor-pointer transition-all shadow-card hover:shadow-lg ${e===c.id?"ring-2 ring-primary":""}`,onClick:()=>t(c.id),children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(c.icon,{className:"w-5 h-5 text-primary"}),c.title]}),a.jsx(Wt,{children:c.description})]}),a.jsx(it,{children:a.jsxs(Ln,{variant:"secondary",children:[c.examples.length," templates"]})})]},c.id))}),e&&a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{children:[(s=i.find(c=>c.id===e))==null?void 0:s.title," Templates"]}),a.jsx(Wt,{children:"Personaliza estos mensajes según tu situación especÃfica"})]}),a.jsx(it,{className:"space-y-4",children:(o=i.find(c=>c.id===e))==null?void 0:o.examples.map((c,l)=>a.jsxs("div",{className:"p-4 bg-accent rounded-lg",children:[a.jsx("p",{className:"text-sm",children:c}),a.jsx(Ce,{onClick:()=>r(c),variant:"outline",size:"sm",className:"mt-2",children:"Usar template"})]},l))})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsx(Tt,{children:"Personalizar mensaje"}),a.jsx(Wt,{children:"Edita el template seleccionado o crea tu propio mensaje"})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsx(Hi,{placeholder:"Escribe o personaliza tu mensaje aquÃ...",value:n,onChange:c=>r(c.target.value),rows:6}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs(Ce,{className:"flex-1",children:[a.jsx(K7,{className:"w-4 h-4 mr-2"}),"Copiar mensaje"]}),a.jsx(Ce,{variant:"outline",onClick:()=>r(""),children:"Limpiar"})]})]})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(br,{className:"w-5 h-5 text-primary"}),"Plantillas de CV"]}),a.jsx(Wt,{children:"Elige una plantilla y edÃtala directamente en Canva. Toca el ojo para ver la vista previa."})]}),a.jsx(it,{children:a.jsx(pW,{})})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(GQ,{className:"w-5 h-5 text-primary"}),"Banner de LinkedIn"]}),a.jsx(Wt,{children:"Personaliza tu portada de LinkedIn con el banner de Emplicity en Canva."})]}),a.jsx(it,{children:a.jsx(Tge,{})})]})]})}const Dr={upload:{title:"Tu CV, nivel pro",description:"Sube tu archivo, dime a qué rol apuntas y te devolvemos una versión lista para impresionar â editable, en PDF y procesada de forma segura.",dropzonePrimary:"Suelta tu CV aquÃ",dropzoneSecondary:"o haz clic para elegir · hasta 5 MB",retryButton:"Volver a intentar"},role:{title:"¿Hacia dónde vas?",fileLabel:"Archivo cargado",targetRoleLabel:"Rol que buscas",targetRolePlaceholder:"ej. Product Manager · Frontend Senior · Data Analyst",languageLabel:"Idioma de salida",jobContextLabel:"Descripción de la vacante o contexto adicional",jobContextOptional:"(opcional)",jobContextPlaceholder:"Pega aquà la descripción de la vacante o información que ayude a adaptar el CV: responsabilidades, requisitos, palabras clave, valores de la empresa, etc.",backButton:"Cambiar archivo",generateButton:"Crear mi nueva versión"},loading:{generating:"Estamos puliendo tu CVâ¦",translating:"Adaptando tu CV al otro idiomaâ¦",hint:"Unos segundos y listo â vale la espera"},result:{title:"Listo. Este CV vende mejor",description:"Toca cualquier texto para editarlo al vuelo. Cuando te guste, bájalo en PDF.",copyButton:"Copiar texto",translateToEnglish:"Versión en inglés",translateToSpanish:"Versión en español",previewButton:"Ver PDF",downloadButton:"Descargar PDF",saveButton:"Guardar en mi cuenta",newCvButton:"Empezar otro",editableCardTitle:"Editor en vivo",previewCardTitle:"Asà se verá tu PDF",previewEmpty:"Un vistazo antes de enviarlo â asà de simple.",previewEmptyButton:"Generar vista previa",editHint:"Haz click en cualquier texto para editarlo. Tus cambios se guardan en esta sesión."},toast:{invalidFileTitle:"Ese archivo no pasó el filtro",roleRequiredTitle:"Falta el rol objetivo",roleRequiredDescription:"Cuéntanos a qué puesto apuntas (mÃnimo 3 caracteres).",generatedTitle:"CV listo para brillar",generatedDescription:"EdÃtalo, tradúcelo o bájalo cuando quieras.",generateErrorTitle:"Algo falló al generar",translatedTitle:"Idioma actualizado",translatedDescription:e=>`Tu CV ya está en ${e==="en"?"inglés":"español"}.`,translateErrorTitle:"No pudimos traducir",translateErrorDescription:"Intenta de nuevo en un momento.",downloadedTitle:"PDF en tu carpeta",downloadedDescription:"Ya puedes enviarlo o seguir afinándolo aquÃ.",copiedTitle:"Copiado al portapapeles",copiedDescription:"Pégalo donde lo necesites.",loginRequiredTitle:"Inicia sesión para guardar",loginRequiredDescription:"Asà tu CV queda en tu historial personal.",savedTitle:"Guardado en tu biblioteca",savedDescription:"Lo encuentras cuando quieras retomarlo.",saveErrorTitle:"No se pudo guardar",saveErrorDescription:"Reintenta en unos segundos.",deletedTitle:"CV eliminado",deletedDescription:"Se quitó de tu historial.",deleteErrorTitle:"No se pudo eliminar",deleteErrorDescription:"Reintenta en unos segundos."}};function Sr({value:e,fieldPath:t,className:n,multiline:r=!1,onFieldChange:i}){const s=o=>{var l;const c=((l=o.currentTarget.textContent)==null?void 0:l.trim())??"";c!==e&&i(t,c)};return a.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,onBlur:s,className:lt("outline-none rounded px-1 -mx-1 hover:bg-muted/60 focus:bg-muted/80 cursor-text",r&&"block whitespace-pre-wrap",n),children:e||"â"})}const Dl=Hf.primary,eg=Hf.primaryDark,p_=Hf.primaryTint;function Lge({builder:e}){const t=Dr,{currentStep:n,targetRole:r,setTargetRole:i,outputLanguage:s,setOutputLanguage:o,jobContext:c,setJobContext:l,structuredCvData:u,pdfPreviewUrl:d,isTranslating:p,isGeneratingPdf:h,errorMessage:f,originalFilename:v,handleFileSelected:m,generateStructuredCv:y,translateStructuredCv:g,updateCvField:x,buildPdfPreview:b,downloadPdf:_,copyPlainText:E,resetBuilder:T,setCurrentStep:A}=e;if(n==="upload"||n==="error")return a.jsxs("div",{className:"mx-auto max-w-xl py-2",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-2xl font-semibold tracking-tight",children:t.upload.title}),a.jsx("p",{className:"mx-auto mt-2 max-w-md text-sm text-muted-foreground",children:t.upload.description})]}
976),a.jsxs("label",{htmlFor:"cv-builder-file",className:"group mt-8 flex cursor-pointer flex-col items-center justify-center gap-4 rounded-2xl border-2 border-dashed border-[#2cbdee]/50 bg-[#e8f7fd]/40 px-6 py-14 text-center transition-all hover:border-[#2cbdee] hover:bg-[#e8f7fd] hover:shadow-sm",onDragOver:N=>N.preventDefault(),onDrop:N=>{N.preventDefault();const q=N.dataTransfer.files[0];q&&m(q)},children:[a.jsx("span",{className:"flex h-14 w-14 items-center justify-center rounded-full bg-[#2cbdee]/15 text-[#1ba3d4] transition-transform group-hover:scale-105",children:a.jsx(sy,{className:"h-7 w-7"})}),a.jsxs("div",{className:"space-y-1",children:[a.jsx("p",{className:"text-base font-medium text-[#1ba3d4]",children:t.upload.dropzonePrimary}),a.jsx("p",{className:"text-xs text-muted-foreground",children:t.upload.dropzoneSecondary})]}),a.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2 pt-1",children:["PDF","Word (.docx)",".txt"].map(N=>a.jsx("span",{className:"rounded-full border border-[#2cbdee]/30 bg-white/70 px-2.5 py-0.5 text-[11px] font-medium text-[#1ba3d4]",children:N},N))}),a.jsx("input",{id:"cv-builder-file",type:"file",accept:ufe.join(","),className:"sr-only",onChange:N=>{var I;const q=(I=N.target.files)==null?void 0:I[0];q&&m(q)}})]}),f&&a.jsx("p",{className:"mt-4 text-center text-sm text-destructive",children:f}),n==="error"&&a.jsx("div",{className:"mt-4 text-center",children:a.jsx(Ce,{variant:"outline",onClick:()=>A("upload"),children:t.upload.retryButton})})]});if(n==="role")return a.jsxs("div",{className:"space-y-6 max-w-xl",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-xl font-semibold",children:t.role.title}),a.jsxs("p",{className:"text-sm text-muted-foreground mt-1",children:[t.role.fileLabel,":"," ",a.jsx("span",{className:"font-medium text-foreground",children:v})]})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"target-role",children:t.role.targetRoleLabel}),a.jsx(Lt,{id:"target-role",value:r,onChange:N=>i(N.target.value),placeholder:t.role.targetRolePlaceholder,onKeyDown:N=>{N.key==="Enter"&&r.trim().length>=3&&y()}})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{children:t.role.languageLabel}),a.jsxs(fD,{value:s,onValueChange:N=>o(N),children:[a.jsx(uw,{children:a.jsx(hD,{})}),a.jsxs(dw,{children:[a.jsx(Qd,{value:"es",children:"ð²ð½ Español"}),a.jsx(Qd,{value:"en",children:"ðºð¸ English"})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs(dt,{htmlFor:"job-context",children:[t.role.jobContextLabel," ",a.jsx("span",{className:"font-normal text-muted-foreground",children:t.role.jobContextOptional})]}),a.jsx(Hi,{id:"job-context",value:c,onChange:N=>l(N.target.value),placeholder:t.role.jobContextPlaceholder,rows:4,className:"resize-y"})]})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(Ce,{variant:"outline",onClick:T,children:t.role.backButton}),a.jsx(Ce,{onClick:()=>void y(),children:t.role.generateButton})]})]});if(n==="generating"||p)return a.jsxs("div",{className:"flex flex-col items-center justify-center py-16 gap-4 text-center",children:[a.jsx(hu,{className:"h-10 w-10 animate-spin",style:{color:Dl}}),a.jsx("p",{className:"text-muted-foreground font-medium",children:p?t.loading.translating:t.loading.generating}),a.jsx("p",{className:"text-xs text-muted-foreground",children:t.loading.hint})]});if(!u)return null;const w=u,S=s==="en",k={summary:S?"Professional Summary":"Perfil Profesional",experience:S?"Professional Experience":"Experiencia Profesional",skills:S?"Skills":"Habilidades",education:S?"Education":"Educación",certifications:S?"Certifications":"Certificaciones",languages:S?"Languages":"Idiomas"},P={fontSize:11,fontWeight:500,letterSpacing:1,textTransform:"uppercase",color:eg,borderBottom:`1.5px solid ${Dl}`,paddingBottom:6,marginBottom:10},D={display:"inline-block",background:p_,border:`0.5px solid ${Dl}`,color:eg,borderRadius:20,padding:"3px 10px",fontSize:12,margin:"3px 4px 3px 0"},R={...D,background:"transparent",border:`0.5px dashed ${Dl}`,fontStyle:"italic"};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-xl font-semibold",children:t.result.title}),a.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:t.result.description})]}),a.jsxs("div",{className:"flex flex-wrap gap-2",children:[a.jsxs(Ce,{variant:"outline",size:"sm",onClick:()=>void E(),children:[a.jsx(q7,{className:"h-4 w-4 mr-1"}),t.result.copyButton]}),a.jsxs(Ce,{variant:"outline",size:"sm",onClick:()=>void b(),disabled:h,children:[a.jsx(br,{className:"h-4 w-4 mr-1"}),t.result.previewButton]}),a.jsxs(Ce,{size:"sm",onClick:()=>void _(),disabled:h,children:[a.jsx(Oc,{className:"h-4 w-4 mr-1"}),t.result.downloadButton]}),a.jsxs(Ce,{variant:"outline",size:"sm",onClick:()=>void g(),disabled:p,style:{borderColor:Dl,color:eg,background:p_},children:[a.jsx(YQ,{className:"h-4 w-4 mr-1"}),S?t.result.translateToSpanish:t.result.translateToEnglish]}),a.jsxs(Ce,{variant:"ghost",size:"sm",onClick:T,children:[a.jsx(aZ,{className:"h-4 w-4 mr-1"}),t.result.newCvButton]})]})]}),a.jsxs("div",{className:"flex items-center gap-2 rounded-md px-3 py-2 text-xs",style:{background:p_,border:`0.5px solid ${Dl}`,color:eg},children:[a.jsx("span",{children:"â"}),a.jsx("span",{children:t.result.editHint})]}),d&&a.jsx("div",{className:"overflow-hidden rounded-lg",style:{border:`1px solid ${Dl}`},children:a.jsx("iframe",{title:"Vista previa del CV en PDF",src:d,className:"w-full h-[700px] border-none block"})}),a.jsxs("div",{className:"rounded-xl border border-border/80 bg-card p-6 sm:p-8",children:[a.jsx("h1",{className:"m-0",style:{fontSize:22,fontWeight:500,color:eg},children:a.jsx(Sr,{value:w.name,fieldPath:"name",onFieldChange:x})}),a.jsx("p",{className:"mt-1 italic text-muted-foreground",style:{fontSize:14},children:a.jsx(Sr,{value:w.headline,fieldPath:"headline",onFieldChange:x})}),a.jsxs("p",{className:"mt-2 mb-4 text-muted-foreground",style:{fontSize:13},children:[a.jsx(Sr,{value:w.contact.email,fieldPath:"contact.email",onFieldChange:x})," · ",a.jsx(Sr,{value:w.contact.phone,fieldPath:"contact.phone",onFieldChange:x})," · ",a.jsx(Sr,{value:w.contact.location,fieldPath:"contact.location",onFieldChange:x})," · ",a.jsx(Sr,{value:w.contact.linkedin,fieldPath:"contact.linkedin",onFieldChange:x})]}),a.jsxs("section",{className:"mb-5",children:[a.jsx("p",{style:P,children:k.summary}),a.jsx(Sr,{value:w.summary,fieldPath:"summary",multiline:!0,className:"text-sm leading-relaxed text-justify",onFieldChange:x})]}),a.jsxs("section",{className:"mb-5",children:[a.jsx("p",{style:P,children:k.experience}),w.experience.map((N,q)=>a.jsxs("div",{className:"mb-4",children:[a.jsxs("div",{className:"flex flex-wrap items-baseline justify-between gap-2",children:[a.jsxs("span",{className:"flex-1",style:{fontSize:14},children:[a.jsx(Sr,{value:N.title,fieldPath:`experience[${q}].title`,className:"font-medium",onFieldChange:x}),", ",a.jsx(Sr,{value:N.company,fieldPath:`experience[${q}].company`,className:"italic",onFieldChange:x})]}),a.jsx(Sr,{value:N.dates,fieldPath:`experience[${q}].dates`,className:"text-xs text-muted-foreground",onFieldChange:x})]}),a.jsx("ul",{className:"mt-1.5 list-none space-y-1 pl-0",children:N.bullets.map((I,z)=>a.jsxs("li",{className:"relative pl-3.5 text-justify",style:{fontSize:13.5,lineHeight:1.6},children:[a.jsx("span",{className:"absolute left-0",style:{color:Dl},children:"â"}),a.jsx(Sr,{value:I,fieldPath:`experience[${q}].bullets[${z}]`,onFieldChange:x})]},z))})]},q))]}),a.jsxs("section",{className:"mb-5",children:[a.jsx("p",{style:P,children:k.skills}),a.jsx("div",{children:w.skills.map((N,q)=>{const I=N.includes("[sugerida]"),z=N.replace(" [sugerida]","");return a.jsxs("span",{style:I?R:D,children:[a.jsx(Sr,{value:z,fieldPath:`skills[${q}]`,onFieldChange:x}),I?" â¦":""]},q)})}),w.skills.some(N=>N.includes("[sugerida]"))&&a.jsxs("p",{className:"mt-2 text-xs italic text-muted-foreground",children:["⦠",S?"Skills suggested for the role."
vendor: 5,930 bytes, line 976
976:"Habilidades sugeridas para el puesto."]})]}),a.jsxs("section",{className:"mb-5",children:[a.jsx("p",{style:P,children:k.education}),w.education.map((N,q)=>a.jsxs("div",{className:"mb-1.5 flex flex-wrap justify-between gap-2",children:[a.jsxs("span",{className:"flex-1",style:{fontSize:13.5},children:[a.jsx(Sr,{value:N.degree,fieldPath:`education[${q}].degree`,className:"font-medium",onFieldChange:x}),", ",a.jsx(Sr,{value:N.institution,fieldPath:`education[${q}].institution`,className:"italic",onFieldChange:x})]}),a.jsx(Sr,{value:N.years,fieldPath:`education[${q}].years`,className:"text-xs text-muted-foreground",onFieldChange:x})]},q))]}),w.certifications&&w.certifications.length>0&&a.jsxs("section",{className:"mb-5",children:[a.jsx("p",{style:P,children:k.certifications}),w.certifications.map((N,q)=>a.jsx("p",{style:{fontSize:13.5,margin:"2px 0"},children:a.jsx(Sr,{value:N,fieldPath:`certifications[${q}]`,onFieldChange:x})},q))]}),a.jsxs("section",{children:[a.jsx("p",{style:P,children:k.languages}),a.jsx("div",{className:"flex flex-wrap gap-4",children:w.languages.map((N,q)=>a.jsxs("span",{style:{fontSize:13.5},children:[a.jsx(Sr,{value:N.language,fieldPath:`languages[${q}].language`,className:"font-medium",onFieldChange:x}),": ",a.jsx(Sr,{value:N.level,fieldPath:`languages[${q}].level`,onFieldChange:x}),N.cefr?a.jsxs(a.Fragment,{children:[" (",a.jsx(Sr,{value:N.cefr,fieldPath:`languages[${q}].cefr`,onFieldChange:x}),")"]}):null]},q))})]})]})]})}function mn(e){"@babel/helpers - typeof";return mn=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},mn(e)}var uo=Uint8Array,qi=Uint16Array,mD=Int32Array,gD=new uo([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]),xD=new uo([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]),mP=new uo([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),fW=function(e,t){for(var n=new qi(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var i=new mD(n[30]),r=1;r<30;++r)for(var s=n[r];s<n[r+1];++s)i[s]=s-n[r]<<5|r;return{b:n,r:i}},hW=fW(gD,2),Rge=hW.b,aC=hW.r;Rge[28]=258,aC[258]=28;var Oge=fW(xD,0),gP=Oge.r,iC=new qi(32768);for(var Fn=0;Fn<32768;++Fn){var Al=(Fn&43690)>>1|(Fn&21845)<<1;Al=(Al&52428)>>2|(Al&13107)<<2,Al=(Al&61680)>>4|(Al&3855)<<4,iC[Fn]=((Al&65280)>>8|(Al&255)<<8)>>1}var Mg=function(e,t,n){for(var r=e.length,i=0,s=new qi(t);i<r;++i)e[i]&&++s[e[i]-1];var o=new qi(t);for(i=1;i<t;++i)o[i]=o[i-1]+s[i-1]<<1;var c;if(n){c=new qi(1<<t);var l=15-t;for(i=0;i<r;++i)if(e[i])for(var u=i<<4|e[i],d=t-e[i],p=o[e[i]-1]++<<d,h=p|(1<<d)-1;p<=h;++p)c[iC[p]>>l]=u}else for(c=new qi(r),i=0;i<r;++i)e[i]&&(c[i]=iC[o[e[i]-1]++]>>15-e[i]);return c},Zd=new uo(288);for(var Fn=0;Fn<144;++Fn)Zd[Fn]=8;for(var Fn=144;Fn<256;++Fn)Zd[Fn]=9;for(var Fn=256;Fn<280;++Fn)Zd[Fn]=7;for(var Fn=280;Fn<288;++Fn)Zd[Fn]=8;var s1=new uo(32);for(var Fn=0;Fn<32;++Fn)s1[Fn]=5;var Ige=Mg(Zd,9,0),Uge=Mg(s1,5,0),mW=function(e){return(e+7)/8|0},Fge=function(e,t,n){return(n==null||n>e.length)&&(n=e.length),new uo(e.subarray(t,n))},bc=function(e,t,n){n<<=t&7;var r=t/8|0;e[r]|=n,e[r+1]|=n>>8},tg=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},f_=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,s=n.slice();if(!i)return{t:xW,l:0};if(i==1){var o=new uo(n[0].s+1);return o[n[0].s]=1,{t:o,l:1}}n.sort(function(E,T){return E.f-T.f}),n.push({s:-1,f:25001});var c=n[0],l=n[1],u=0,d=1,p=2;for(n[0]={s:-1,f:c.f+l.f,l:c,r:l};d!=i-1;)c=n[n[u].f<n[p].f?u++:p++],l=n[u!=d&&n[u].f<n[p].f?u++:p++],n[d++]={s:-1,f:c.f+l.f,l:c,r:l};for(var h=s[0].s,r=1;r<i;++r)s[r].s>h&&(h=s[r].s);var f=new qi(h+1),v=sC(n[d-1],f,0);if(v>t){var r=0,m=0,y=v-t,g=1<<y;for(s.sort(function(T,A){return f[A.s]-f[T.s]||T.f-A.f});r<i;++r){var x=s[r].s;if(f[x]>t)m+=g-(1<<v-f[x]),f[x]=t;else break}for(m>>=y;m>0;){var b=s[r].s;f[b]<t?m-=1<<t-f[b]++-1:++r}for(;r>=0&&m;--r){var _=s[r].s;f[_]==t&&(--f[_],++m)}v=t}return{t:new uo(f),l:v}},sC=function(e,t,n){return e.s==-1?Math.max(sC(e.l,t,n+1),sC(e.r,t,n+1)):t[e.s]=n},xP=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new qi(++t),r=0,i=e[0],s=1,o=function(l){n[r++]=l},c=1;c<=t;++c)if(e[c]==i&&c!=t)++s;else{if(!i&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(i),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(i);s=1,i=e[c]}return{c:n.subarray(0,r),n:t}},ng=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},gW=function(e,t,n){var r=n.length,i=mW(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 s=0;s<r;++s)e[i+s+4]=n[s];return(i+4+r)*8},yP=function(e,t,n,r,i,s,o,c,l,u,d){bc(t,d++,n),++i[256];for(var p=f_(i,15),h=p.t,f=p.l,v=f_(s,15),m=v.t,y=v.l,g=xP(h),x=g.c,b=g.n,_=xP(m),E=_.c,T=_.n,A=new qi(19),w=0;w<x.length;++w)++A[x[w]&31];for(var w=0;w<E.length;++w)++A[E[w]&31];for(var S=f_(A,7),k=S.t,P=S.l,D=19;D>4&&!k[mP[D-1]];--D);var R=u+5<<3,N=ng(i,Zd)+ng(s,s1)+o,q=ng(i,h)+ng(s,m)+o+14+3*D+ng(A,k)+2*A[16]+3*A[17]+7*A[18];if(l>=0&&R<=N&&R<=q)return gW(t,d,e.subarray(l,l+u));var I,z,M,F;if(bc(t,d,1+(q<N)),d+=2,q<N){I=Mg(h,f,0),z=h,M=Mg(m,y,0),F=m;var H=Mg(k,P,0);bc(t,d,b-257),bc(t,d+5,T-1),bc(t,d+10,D-4),d+=14;for(var w=0;w<D;++w)bc(t,d+3*w,k[mP[w]]);d+=3*D;for(var V=[x,E],O=0;O<2;++O)for(var $=V[O],w=0;w<$.length;++w){var K=$[w]&31;bc(t,d,H[K]),d+=k[K],K>15&&(bc(t,d,$[w]>>5&127),d+=$[w]>>12)}}else I=Ige,z=Zd,M=Uge,F=s1;for(var w=0;w<c;++w){var Y=r[w];if(Y>255){var K=Y>>18&31;tg(t,d,I[K+257]),d+=z[K+257],K>7&&(bc(t,d,Y>>23&31),d+=gD[K]);var ee=Y&31;tg(t,d,M[ee]),d+=F[ee],ee>3&&(tg(t,d,Y>>5&8191),d+=xD[ee])}else tg(t,d,I[Y]),d+=z[Y]}return tg(t,d,I[256]),d+z[256]},Mge=new mD([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),xW=new uo(0),qge=function(e,t,n,r,i,s){var o=s.z||e.length,c=new uo(r+
vendor: 10,301 bytes, lines 976-977
976o+5*(1+Math.ceil(o/7e3))+i),l=c.subarray(r,c.length-i),u=s.l,d=(s.r||0)&7;if(t){d&&(l[0]=s.r>>3);for(var p=Mge[t-1],h=p>>13,f=p&8191,v=(1<<n)-1,m=s.p||new qi(32768),y=s.h||new qi(v+1),g=Math.ceil(n/3),x=2*g,b=function(W){return(e[W]^e[W+1]<<g^e[W+2]<<x)&v},_=new mD(25e3),E=new qi(288),T=new qi(32),A=0,w=0,S=s.i||0,k=0,P=s.w||0,D=0;S+2<o;++S){var R=b(S),N=S&32767,q=y[R];if(m[N]=q,y[R]=N,P<=S){var I=o-S;if((A>7e3||k>24576)&&(I>423||!u)){d=yP(e,l,0,_,E,T,w,k,D,S-D,d),k=A=w=0,D=S;for(var z=0;z<286;++z)E[z]=0;for(var z=0;z<30;++z)T[z]=0}var M=2,F=0,H=f,V=N-q&32767;if(I>2&&R==b(S-V))for(var O=Math.min(h,I)-1,$=Math.min(32767,S),K=Math.min(258,I);V<=$&&--H&&N!=q;){if(e[S+M]==e[S+M-V]){for(var Y=0;Y<K&&e[S+Y]==e[S+Y-V];++Y);if(Y>M){if(M=Y,F=V,Y>O)break;for(var ee=Math.min(V,Y-2),re=0,z=0;z<ee;++z){var ae=S-V+z&32767,le=m[ae],ge=ae-le&32767;ge>re&&(re=ge,q=ae)}}}N=q,q=m[N],V+=N-q&32767}if(F){_[k++]=268435456|aC[M]<<18|gP[F];var ke=aC[M]&31,de=gP[F]&31;w+=gD[ke]+xD[de],++E[257+ke],++T[de],P=S+M,++A}else _[k++]=e[S],++E[e[S]]}}for(S=Math.max(S,P);S<o;++S)_[k++]=e[S],++E[e[S]];d=yP(e,l,u,_,E,T,w,k,D,S-D,d),u||(s.r=d&7|l[d/8|0]<<3,d-=7,s.h=y,s.p=m,s.i=S,s.w=P)}else{for(var S=s.w||0;S<o+u;S+=65535){var we=S+65535;we>=o&&(l[d/8|0]=u,we=o),d=gW(l,d+1,e.subarray(S,we))}s.i=o}return Fge(c,0,r+mW(d)+i)},yW=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,s=n.length|0,o=0;o!=s;){for(var c=Math.min(o+2655,s);o<c;++o)i+=r+=n[o];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}}},Bge=function(e,t,n,r,i){if(!i&&(i={l:1},t.dictionary)){var s=t.dictionary.subarray(-32768),o=new uo(s.length+e.length);o.set(s),o.set(e,s.length),e=o,i.w=s.length}return qge(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)},vW=function(e,t,n){for(;n;++t)e[t]=n,n>>>=8},zge=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=yW();i.p(t.dictionary),vW(e,2,i.d())}};function oC(e,t){t||(t={});var n=yW();n.p(e);var r=Bge(e,t,t.dictionary?6:2,4);return zge(r,t),vW(r,r.length-4,n.d()),r}var $ge=typeof TextDecoder<"u"&&new TextDecoder,Wge=0;try{$ge.decode(xW,{stream:!0}),Wge=1}catch{}function Vge(e){if(Array.isArray(e))return e}function Hge(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,o,c=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(d){u=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return c}}function vP(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Gge(e,t){if(e){if(typeof e=="string")return vP(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vP(e,t):void 0}}function Xge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 977In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bP(e,t){return Vge(e)||Hge(e,t)||Gge(e,t)||Xge()}function wP(e,t="utf8"){return new TextDecoder(t).decode(e)}const Kge=new TextEncoder;function Yge(e){return Kge.encode(e)}const Qge=1024*8,Zge=(()=>{const e=new Uint8Array(4),t=new Uint32Array(e.buffer);return!((t[0]=1)&e[0])})(),h_={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class yD{constructor(t=Qge,n={}){Yt(this,"buffer");Yt(this,"byteLength");Yt(this,"byteOffset");Yt(this,"length");Yt(this,"offset");Yt(this,"lastWrittenByte");Yt(this,"littleEndian");Yt(this,"_data");Yt(this,"_mark");Yt(this,"_marks");let r=!1;typeof t=="number"?t=new ArrayBuffer(t):(r=!0,this.lastWrittenByte=t.byteLength);const i=n.offset?n.offset>>>0:0,s=t.byteLength-i;let o=i;(ArrayBuffer.isView(t)||t instanceof yD)&&(t.byteLength!==t.buffer.byteLength&&(o=t.byteOffset+i),t=t.buffer),r?this.lastWrittenByte=s:this.lastWrittenByte=0,this.buffer=t,this.length=s,this.byteLength=s,this.byteOffset=o,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,o,s),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const t=this._marks.pop();if(t===void 0)throw new Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){const r=(this.offset+t)*2,i=new Uint8Array(r);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(t=1){return this.readArray(t,"uint8")}readArray(t,n){const r=h_[n].BYTES_PER_ELEMENT*t,i=this.byteOffset+this.offset,s=this.buffer.slice(i,i+r);if(this.littleEndian===Zge&&n!=="uint8"&&n!=="int8"){const c=new Uint8Array(this.buffer.slice(i,i+r));c.reverse();const l=new h_[n](c.buffer);return this.offset+=r,l.reverse(),l}const o=new h_[n](s);return this.offset+=r,o}readInt16(){const t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){const t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){const t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){const t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){const t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){const t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){const t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){const t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let n="";for(let r=0;r<t;r++)n+=this.readChar();return n}readUtf8(t=1){return wP(this.readBytes(t))}decodeText(t=1,n="utf8"){return wP(this.readBytes(t),n)}writeBoolean(t){return this.writeUint8(t?255:0),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let n=0;n<t.length;n++)this._data.setUint8(this.offset++,t[n]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let n=0;n<t.length;n++)this.writeUint8(t.charCodeAt(n));return this}writeUtf8(t){return this.writeBytes(Yge(t))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Jge=4,jP=0,_P=1,exe=2;function im(e){let t=e.length;for(;--t>=0;)e[t]=0}const txe=0,bW=1,nxe=2,rxe=3,axe=258,vD=29,Ty=256,Tx=Ty+1+vD,Xf=30,bD=19,wW=2*Tx+1,_d=15,m_=16,ixe=7,wD=256,jW=16,_W=17,NW=18,cC=new Uint8Array([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]),Wb=new Uint8Array([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]),sxe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),CW=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),oxe=512,Dc=new Array((Tx+2)*2);im(Dc);const qg=new Array(Xf*2);im(qg);const Px=new Array(oxe);im(Px);const Lx=new Array(axe-rxe+1);im(Lx);const jD=new Array(vD);im(jD);const o1=new Array(Xf);im(o1);function g_(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}let EW,SW,DW;function x_(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const AW=e=>e<256?Px[e]:Px[256+(e>>>7)],Rx=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},ci=(e,t,n)=>{e.bi_valid>m_-n?(e.bi_buf|=t<<e.bi_valid&65535,Rx(e,e.bi_buf),e.bi_buf=t>>
vendor: 26,910 bytes, line 977
977m_-e.bi_valid,e.bi_valid+=n-m_):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},Uo=(e,t,n)=>{ci(e,n[t*2],n[t*2+1])},kW=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},cxe=e=>{e.bi_valid===16?(Rx(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},lxe=(e,t)=>{const n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,c=t.stat_desc.extra_base,l=t.stat_desc.max_length;let u,d,p,h,f,v,m=0;for(h=0;h<=_d;h++)e.bl_count[h]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;u<wW;u++)d=e.heap[u],h=n[n[d*2+1]*2+1]+1,h>l&&(h=l,m++),n[d*2+1]=h,!(d>r)&&(e.bl_count[h]++,f=0,d>=c&&(f=o[d-c]),v=n[d*2],e.opt_len+=v*(h+f),s&&(e.static_len+=v*(i[d*2+1]+f)));if(m!==0){do{for(h=l-1;e.bl_count[h]===0;)h--;e.bl_count[h]--,e.bl_count[h+1]+=2,e.bl_count[l]--,m-=2}while(m>0);for(h=l;h!==0;h--)for(d=e.bl_count[h];d!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==h&&(e.opt_len+=(h-n[p*2+1])*n[p*2],n[p*2+1]=h),d--)}},TW=(e,t,n)=>{const r=new Array(_d+1);let i=0,s,o;for(s=1;s<=_d;s++)i=i+n[s-1]<<1,r[s]=i;for(o=0;o<=t;o++){let c=e[o*2+1];c!==0&&(e[o*2]=kW(r[c]++,c))}},uxe=()=>{let e,t,n,r,i;const s=new Array(_d+1);for(n=0,r=0;r<vD-1;r++)for(jD[r]=n,e=0;e<1<<cC[r];e++)Lx[n++]=r;for(Lx[n-1]=r,i=0,r=0;r<16;r++)for(o1[r]=i,e=0;e<1<<Wb[r];e++)Px[i++]=r;for(i>>=7;r<Xf;r++)for(o1[r]=i<<7,e=0;e<1<<Wb[r]-7;e++)Px[256+i++]=r;for(t=0;t<=_d;t++)s[t]=0;for(e=0;e<=143;)Dc[e*2+1]=8,e++,s[8]++;for(;e<=255;)Dc[e*2+1]=9,e++,s[9]++;for(;e<=279;)Dc[e*2+1]=7,e++,s[7]++;for(;e<=287;)Dc[e*2+1]=8,e++,s[8]++;for(TW(Dc,Tx+1,s),e=0;e<Xf;e++)qg[e*2+1]=5,qg[e*2]=kW(e,5);EW=new g_(Dc,cC,Ty+1,Tx,_d),SW=new g_(qg,Wb,0,Xf,_d),DW=new g_(new Array(0),sxe,0,bD,ixe)},PW=e=>{let t;for(t=0;t<Tx;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Xf;t++)e.dyn_dtree[t*2]=0;for(t=0;t<bD;t++)e.bl_tree[t*2]=0;e.dyn_ltree[wD*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},LW=e=>{e.bi_valid>8?Rx(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},NP=(e,t,n,r)=>{const i=t*2,s=n*2;return e[i]<e[s]||e[i]===e[s]&&r[t]<=r[n]},y_=(e,t,n)=>{const r=e.heap[n];let i=n<<1;for(;i<=e.heap_len&&(i<e.heap_len&&NP(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!NP(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},CP=(e,t,n)=>{let r,i,s=0,o,c;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+s++]&255,r+=(e.pending_buf[e.sym_buf+s++]&255)<<8,i=e.pending_buf[e.sym_buf+s++],r===0?Uo(e,i,t):(o=Lx[i],Uo(e,o+Ty+1,t),c=cC[o],c!==0&&(i-=jD[o],ci(e,i,c)),r--,o=AW(r),Uo(e,o,n),c=Wb[o],c!==0&&(r-=o1[o],ci(e,r,c)));while(s<e.sym_next);Uo(e,wD,t)},lC=(e,t)=>{const n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,s=t.stat_desc.elems;let o,c,l=-1,u;for(e.heap_len=0,e.heap_max=wW,o=0;o<s;o++)n[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):n[o*2+1]=0;for(;e.heap_len<2;)u=e.heap[++e.heap_len]=l<2?++l:0,n[u*2]=1,e.depth[u]=0,e.opt_len--,i&&(e.static_len-=r[u*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)y_(e,n,o);u=s;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],y_(e,n,1),c=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=c,n[u*2]=n[o*2]+n[c*2],e.depth[u]=(e.depth[o]>=e.depth[c]?e.depth[o]:e.depth[c])+1,n[o*2+1]=n[c*2+1]=u,e.heap[1]=u++,y_(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],lxe(e,t),TW(n,l,e.bl_count)},EP=(e,t,n)=>{let r,i=-1,s,o=t[0*2+1],c=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)s=o,o=t[(r+1)*2+1],!(++c<l&&s===o)&&(c<u?e.bl_tree[s*2]+=c:s!==0?(s!==i&&e.bl_tree[s*2]++,e.bl_tree[jW*2]++):c<=10?e.bl_tree[_W*2]++:e.bl_tree[NW*2]++,c=0,i=s,o===0?(l=138,u=3):s===o?(l=6,u=3):(l=7,u=4))},SP=(e,t,n)=>{let r,i=-1,s,o=t[0*2+1],c=0,l=7,u=4;for(o===0&&(l=138,u=3),r=0;r<=n;r++)if(s=o,o=t[(r+1)*2+1],!(++c<l&&s===o)){if(c<u)do Uo(e,s,e.bl_tree);while(--c!==0);else s!==0?(s!==i&&(Uo(e,s,e.bl_tree),c--),Uo(e,jW,e.bl_tree),ci(e,c-3,2)):c<=10?(Uo(e,_W,e.bl_tree),ci(e,c-3,3)):(Uo(e,NW,e.bl_tree),ci(e,c-11,7));c=0,i=s,o===0?(l=138,u=3):s===o?(l=6,u=3):(l=7,u=4)}},dxe=e=>{let t;for(EP(e,e.dyn_ltree,e.l_desc.max_code),EP(e,e.dyn_dtree,e.d_desc.max_code),lC(e,e.bl_desc),t=bD-1;t>=3&&e.bl_tree[CW[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},pxe=(e,t,n,r)=>{let i;for(ci(e,t-257,5),ci(e,n-1,5),ci(e,r-4,4),i=0;i<r;i++)ci(e,e.bl_tree[CW[i]*2+1],3);SP(e,e.dyn_ltree,t-1),SP(e,e.dyn_dtree,n-1)},fxe=e=>{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return jP;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return _P;for(n=32;n<Ty;n++)if(e.dyn_ltree[n*2]!==0)return _P;return jP};let DP=!1;const hxe=e=>{DP||(uxe(),DP=!0),e.l_desc=new x_(e.dyn_ltree,EW),e.d_desc=new x_(e.dyn_dtree,SW),e.bl_desc=new x_(e.bl_tree,DW),e.bi_buf=0,e.bi_valid=0,PW(e)},RW=(e,t,n,r)=>{ci(e,(txe<<1)+(r?1:0),3),LW(e),Rx(e,n),Rx(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},mxe=e=>{ci(e,bW<<1,3),Uo(e,wD,Dc),cxe(e)},gxe=(e,t,n,r)=>{let i,s,o=0;e.level>0?(e.strm.data_type===exe&&(e.strm.data_type=fxe(e)),lC(e,e.l_desc),lC(e,e.d_desc),o=dxe(e),i=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=i&&(i=s)):i=s=n+5,n+4<=i&&t!==-1?RW(e,t,n,r):e.strategy===Jge||s===i?(ci(e,(bW<<1)+(r?1:0),3),CP(e,Dc,qg)):(ci(e,(nxe<<1)+(r?1:0),3),pxe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),CP(e,e.dyn_ltree,e.dyn_dtree)),PW(e),r&&LW(e)},xxe=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(Lx[n]+Ty+1)*2]++,e.dyn_dtree[AW(t)*2]++),e.sym_next===e.sym_end);var yxe=hxe,vxe=RW,bxe=gxe,wxe=xxe,jxe=mxe,_xe={_tr_init:yxe,_tr_stored_block:vxe,_tr_flush_block:bxe,_tr_tally:wxe,_tr_align:jxe};const Nxe=(e,t,n,r)=>{let i=e&65535|0,s=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,s=s+i|0;while(--o);i%=65521,s%=65521}return i|s<<16|0};var Ox=Nxe;const Cxe=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},Exe=new Uint32Array(Cxe()),Sxe=(e,t,n,r)=>{const i=Exe,s=r+n;e^=-1;for(let o=r;o<s;o++)e=e>>>8^i[(e^t[o])&255];return e^-1};var Fr=Sxe,Th={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Py={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Dxe,_tr_stored_block:uC,_tr_flush_block:Axe,_tr_tally:lu,_tr_align:kxe}=_xe,{Z_NO_FLUSH:uu,Z_PARTIAL_FLUSH:Txe,Z_FULL_FLUSH:Pxe,Z_FINISH:ms,Z_BLOCK:AP,Z_OK:Jr,Z_STREAM_END:kP,Z_STREAM_ERROR:Wo,Z_DATA_ERROR:Lxe,Z_BUF_ERROR:v_,Z_DEFAULT_COMPRESSION:Rxe,Z_FILTERED:Oxe,Z_HUFFMAN_ONLY:db,Z_RLE:Ixe,Z_FIXED:Uxe,Z_DEFAULT_STRATEGY:Fxe,Z_UNKNOWN:Mxe,Z_DEFLATED:pw}=Py,qxe=9,Bxe=15,zxe=8,$xe=29,Wxe=256,dC=Wxe+1+$xe,Vxe=30,Hxe=19,Gxe=2*dC+1,Xxe=15,tn=3,Yl=258,Vo=Yl+tn+1,Kxe=32,Ph=42,_D=57,pC=69,fC=73,hC=91,mC=103,Nd=113,vg=666,Ba=1,sm=2,Jd=3,om=4,Yxe=3,Cd=(e,t)=>(e.msg=Th[t],t),TP=e=>e*2-(e>4?9:0),Bl=e=>{let t=e.length;for(;--t>=0;)e[t]=0},Qxe=e=>{let t,n,r,i=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=i?n-i:0;while(--t);t=i,r=t;do n=e.prev[--r],e.prev[r]=n>=i?n-i:0;while(--t)};let Zxe=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,du=Zxe;const Ri=e=>{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},Bi=(e,t)=>{Axe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ri(e.strm)},cn=(e,t)=>{e.pending_buf[e.pending++]=t},rg=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},gC=(e,t,n,r)=>{let i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),e.state.wrap===1?e.adler=Ox(e.adler,t,i,n):e.state.wrap===2&&(e.adler=Fr(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},OW=(e,t)=>{let n=e.max_chain_length,r=e.strstart,i,s,o=e.prev_length,c=e.nice_match;const l=e.strstart>e.w_size-Vo?e.strstart-(e.w_size-Vo):0,u=e.window,d=e.w_mask,p=e.prev,h=e.strstart+Yl;let f=u[r+o-1],v=u[r+o];e.prev_length>=e.good_match&&(n>>=2),c>e.lookahead&&(c=e.lookahead);do if(i=t,!(u[i+o]!==v||u[i+o-1]!==f||u[i]!==u[r]||u[++i]!==u[r+1])){r+=2,i++;do;while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<h);if(s=Yl-(h-r),r=h-Yl,s>o){if(e.match_start=t,o=s,s>=c)break;f=u[r+o-1],v=u[r+o]}}while((t=p[t&d])>l&&--n!==0);return o<=e.lookahead?o:e.lookahead},Lh=e=>{const t=e.w_size;let n,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Vo)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),Qxe(e),r+=t),e.strm.avail_in===0)break;if(n=gC(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=tn)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=du(e,e.ins_h,e.window[i+1]);e.insert&&(e.ins_h=du(e,e.ins_h,e.window[i+tn-1]),e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<tn)););}while(e.lookahead<Vo&&e.strm.avail_in!==0)},IW=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,s,o=0,c=e.strm.avail_in;do{if(r=65535,s=e.bi_valid+42>>3,e.strm.avail_out<s||(s=e.strm.avail_out-s,i=e.strstart-e.block_start,r>i+e.strm.avail_in&&(r=i+e.strm.avail_in),r>s&&(r=s),r<n&&(r===0&&t!==ms||t===uu||r!==i+e.strm.avail_in)))break;o=t===ms&&r===i+e.strm.avail_in?1:0,uC(e,0,0,o),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,Ri(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(gC(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(o===0);return c-=e.strm.avail_in,c&&(c>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=c&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-c,e.strm.next_in),e.strstart),e.strstart+=c,e.insert+=c>e.w_size-e.insert?e.w_size-e.insert:c),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),o?om:t!==uu&&t!==ms&&e.strm.avail_in===0&&e.strstart===e.block_start?sm:(s=e.window_size-e.strstart,e.strm.avail_in>s&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,s+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),s>e.strm.avail_in&&(s=e.strm.avail_in),s&&(gC(e.strm,e.window,e.strstart,s),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.high_water<e.strstart&&(e.high_water=e.strstart),s=e.bi_valid+42>>3,s=e.pending_buf_size-s>65535?65535:e.pending_buf_size-s,n=s>e.w_size?e.w_size:s,i=e.strstart-e.block_start,(i>=n||(i||t===ms)&&t!==uu&&e.strm.avail_in===0&&i<=s)&&(r=i>s?s:i,o=t===ms&&e.strm.avail_in===0&&r===i?1:0,uC(e,e.block_start,r,o),e.block_start+=r,Ri(e.strm)),o?Jd:Ba)},b_=(e,t)=>{let n,r;for(;;){if(e.lookahead<Vo){if(Lh(e),e.lookahead<Vo&&t===uu)return Ba;if(e.lookahead===0)break}if(n=0,e.lookahead>=tn&&(e.ins_h=du(e,e.ins_h,e.window[e.strstart+tn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-Vo&&(e.match_length=OW(e,n)),e.match_length>=tn)if(r=lu(e,e.strstart-e.match_start,e.match_length-tn),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=tn){e.match_length--;do e.strstart++,e.ins_h=du(e,e.ins_h,e.window[e.strstart+tn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=du(e,e.ins_h,e.window[e.strstart+1]);else r=lu(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Bi(e,!1),e.strm.avail_out===0))return Ba}return e.insert=e.strstart<tn-1?e.strstart:tn-1,t===ms?(Bi(e,!0),e.strm.avail_out===0?Jd:om):e.sym_next&&(Bi(e,!1),e.strm.avail_out===0)?Ba:sm},Zp=(e,t)=>{let n,r,i;for(;;){if(e.lookahead<Vo){if(Lh(e),e.lookahead<Vo&&t===uu)return Ba;if(e.lookahead===0)break}if(n=0,e.lookahead>=tn&&(e.ins_h=du(e,e.ins_h,e.window[e.strstart+tn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=tn-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Vo&&(e.match_length=OW(e,n),e.match_length<=5&&(e.strategy===Oxe||e.match_length===tn&&e.strstart-e.match_start>4096)&&(e.match_length=tn-1)),e.prev_length>=tn&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-tn,r=lu(e,e.strstart-1-e.prev_match,e.prev_length-tn),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=du(e,e.ins_h,e.window[e.strstart+tn-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=tn-1,e.strstart++,r&&(Bi(e,!1),e.strm.avail_out===0))return Ba}else if(e.match_available){if(r=lu(e,0,e.window[e.strstart-1]),r&&Bi(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Ba}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=lu(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<tn-1?e.strstart:tn-1,t===ms?(Bi(e,!0),e.strm.avail_out===0?Jd:om):e.sym_next&&(Bi(e,!1),e.strm.avail_out===0)?Ba:sm},Jxe=(e,t)=>{let n,r,i,s;const o=e.window;for(;;){if(e.lookahead<=Yl){if(Lh(e),e.lookahead<=Yl&&t===uu)return Ba;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=tn&&e.strstart>0&&(i=e.strstart-1,r=o[i],r===o[++i]&&r===o[++i]&&r===o[++i])){s=e.strstart+Yl;do;while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&i<s);e.match_length=Yl-(s-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=tn?(n=lu(e,1,e.match_length-tn),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=lu(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Bi(e,!1),e.strm.avail_out===0))return Ba}return e.insert=0,t===ms?(Bi(e,!0),e.strm.avail_out===0?Jd:om):e.sym_next&&(Bi(e,!1),e.strm.avail_out===0)?Ba:sm},eye=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(Lh(e),e.lookahead===0)){if(t===uu)return Ba;break}if(e.match_length=0,n=lu(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Bi(e,!1),e.strm.avail_out===0))return Ba}return e.insert=0,t===ms?(Bi(e,!0),e.strm.avail_out===0?Jd:om):e.sym_next&&(Bi(e,!1),e.strm.avail_out===0)?Ba:sm};function Ao(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}const bg=[new Ao(0,0,0,0,IW),new Ao(4,4,8,4,b_),new Ao(4,5,16,8,b_),new Ao(4,6,32,32,b_),new Ao(4,4,16,16,Zp),new Ao(8,16,32,32,Zp),new Ao(8,16,128,128,Zp),new Ao(8,32,128,256,Zp),new Ao(32,128,258,1024,Zp),new Ao(32,258,258,4096,Zp)],tye=e=>{e.window_size=2*e.w_size,Bl(e.head),e.max_lazy_match=bg[e.level].max_lazy,e.good_match=bg[e.level].good_length,e.nice_match=bg[e.level].nice_length,e.max_chain_length=bg[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=tn-1,e.match_available=0,e.ins_h=0};function nye(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=pw,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Gxe*2),this.dyn_dtree=new Uint16Array((2*Vxe+1)*2),this.bl_tree=new Uint16Array((2*Hxe+1)*2),Bl(this.dyn_ltree),Bl(this.dyn_dtree),Bl(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Xxe+1),this.heap=new Uint16Array(2*dC+1),Bl(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*dC+1),Bl(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Ly=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Ph&&t.status!==_D&&t.status!==pC&&t.status!==fC&&t.status!==hC&&t.status!==mC&&t.status!==Nd&&t.status!==vg?1:0},UW=e=>{if(Ly(e))return Cd(e,Wo);e.total_in=e.total_out=0,e.data_type=Mxe;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?_D:t.wrap?Ph:Nd,e.adler=t.wrap===2?0:1,t.last_flush=-2,Dxe(t),Jr},FW=e=>{const t=UW(e);return t===Jr&&tye(e.state),t},rye=(e,t)=>Ly(e)||e.state.wrap!==2?Wo:(e.state.gzhead=t,Jr),MW=(e,t,n,r,i,s)=>{if(!e)return Wo;let o=1;if(t===Rxe&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),i<1||i>qxe||n!==pw||r<8||r>15||t<0||t>9||s<0||s>Uxe||r===8&&o!==1)return Cd(e,Wo);r===8&&(r=9);const c=new nye;return e.state=c,c.strm=e,c.status=Ph,c.wrap=o,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=i+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+tn-1)/tn),c.window=new Uint8Array(c.w_size*2),c.head=new Uint16Array(c.hash_size),c.prev=new Uint16Array(c.w_size),c.lit_bufsize=1<<i+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new Uint8Array(c.pending_buf_size),c.sym_buf=c.lit_bufsize,c.sym_end=(c.lit_bufsize-1)*3,c.level=t,c.strategy=s,c.method=n,FW(e)},aye=(e,t)=>MW(e,t,pw,Bxe,zxe,Fxe),iye=(e,t)=>{if(Ly(e)||t>AP||t<0)return e?Cd(e,Wo):Wo;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===vg&&t!==ms)return Cd(e,e.avail_out===0?v_:Wo);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(Ri(e),e.avail_out===0)return n.last_flush=-1,Jr}else if(e.avail_in===0&&TP(t)<=TP(r)&&t!==ms)return Cd(e,v_);if(n.status===vg&&e.avail_in!==0)return Cd(e,v_);if(n.status===Ph&&n.wrap===0&&(n.status=Nd),n.status===Ph){let i=pw+(n.w_bits-8<<4)<<8,s=-1;if(n.strategy>=db||n.level<2?s=0:n.level<6?s=1:n.level===6?s=2:s=3,i|=s<<6,n.strstart!==0&&(i|=Kxe),i+=31-i%31,rg(n,i),n.strstart!==0&&(rg(n,e.adler>>>16),rg(n,e.adler&65535)),e.adler=1,n.status=Nd,Ri(e),n.pending!==0)return n.last_flush=-1,Jr}if(n.status===_D){if(e.adler=0,cn(n,31),cn(n,139),cn(n,8),n.gzhead)cn(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),cn(n,n.gzhead.time&255),cn(n,n.gzhead.time>>8&255),cn(n,n.gzhead.time>>16&255),cn(n,n.gzhead.time>>24&255),cn(n,n.level===9?2:n.strategy>=db||n.level<2?4:0),cn(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(cn(n,n.gzhead.extra.length&255),cn(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Fr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=pC;else if(cn(n,0),cn(n,0),cn(n,0),cn(n,0),cn(n,0),cn(n,n.level===9?2:n.strategy>=db||n.level<2?4:0),cn(n,Yxe),n.status=Nd,Ri(e),n.pending!==0)return n.last_flush=-1,Jr}if(n.status===pC){if(n.gzhead.extra){let i=n.pending,s=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+s>n.pending_buf_size;){let c=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+c),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex+=c,Ri(e),n.pending!==0)return n.last_flush=-1,Jr;i=0,s-=c}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending+=s,n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=fC}if(n.status===fC){if(n.gzhead.name){let i=n.pending,s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i)),Ri(e),n.pending!==0)return n.last_flush=-1,Jr;i=0}n.gzindex<n.gzhead.name.length?s=n.gzhead.name.charCodeAt(n.gzindex++)&255:s=0,cn(n,s)}while(s!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=hC}if(n.status===hC){if(n.gzhead.comment){let i=n.pending,s;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i)),Ri(e),n.pending!==0)return n.last_flush=-1,Jr;i=0}n.gzindex<n.gzhead.comment.length?s=n.gzhead.comment.charCodeAt(n.gzindex++)&255:s=0,cn(n,s)}while(s!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Fr(e.adler,n.pending_buf,n.pending-i,i))}n.status=mC}if(n.status===mC){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Ri(e),n.pending!==0))return n.last_flush=-1,Jr;cn(n,e.adler&255),cn(n,e.adler>>8&255),e.adler=0}if(n.status=Nd,Ri(e),n.pending!==0)return n.last_flush=-1,Jr}if(e.avail_in!==0||n.lookahead!==0||t!==uu&&n.status!==vg){let i=n.level===0?IW(n,t):n.strategy===db?eye(n,t):n.strategy===Ixe?Jxe(n,t):bg[n.level].func(n,t);if((i===Jd||i===om)&&(n.status=vg),i===Ba||i===Jd)return e.avail_out===0&&(n.last_flush=-1),Jr;if(i===sm&&(t===Txe?kxe(n):t!==AP&&(uC(n,0,0,!1),t===Pxe&&(Bl(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Ri(e),e.avail_out===0))return n.last_flush=-1,Jr}return t!==ms?Jr:n.wrap<=0?kP:(n.wrap===2?(cn(n,e.adler&255),cn(n,e.adler>>8&255),cn(n,e.adler>>16&255),cn(n,e.adler>>24&255),cn(n,e.total_in&255),cn(n,e.total_in>>8&255),cn(n,e.total_in>>16&255),cn(n,e.total_in>>24&255)):(rg(n,e.adler>>>16),rg(n,e.adler&65535)),Ri(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?Jr:kP)},sye=e=>{if(Ly(e))return Wo;const t=e.state.status;return e.state=null,t===Nd?Cd(e,Lxe):Jr},oye=(e,t)=>{let n=t.length;if(Ly(e))return Wo;const r=e.state,i=r.wrap;if(i===2||i===1&&r.status!==Ph||r.lookahead)return Wo;if(i===1&&(e.adler=Ox(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){i===0&&(Bl(r.head),r.strstart=0,r.block_start=0,r.insert=0);let l=new Uint8Array(r.w_size);l.set(t.subarray(n-r.w_size,n),0),t=l,n=r.w_size}const s=e.avail_in,o=e.next_in,c=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,Lh(r);r.lookahead>=tn;){let l=r.strstart,u=r.lookahead-(tn-1);do r.ins_h=du(r,r.ins_h,r.window[l+tn-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++;while(--u);r.strstart=l,r.lookahead=tn-1,Lh(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=tn-1,r.match_available=0,e.next_in=o,e.input=c,e.avail_in=s,r.wrap=i,Jr};var cye=aye,lye=MW,uye=FW,dye=UW,pye=rye,fye=iye,hye=sye,mye=oye,gye="pako deflate (from Nodeca project)",Bg={deflateInit:cye,deflateInit2:lye,deflateReset:uye,deflateResetKeep:dye,deflateSetHeader:pye,deflate:fye,deflateEnd:hye,deflateSetDictionary:mye,deflateInfo:gye};const xye=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var yye=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)xye(n,r)&&(e[r]=n[r])}}return e},vye=e=>{let t=0;for(let r=0,i=e.length;r<i;r++)t+=e[r].length;const n=new Uint8Array(t);for(let r=0,i=0,s=e.length;r<s;r++){let o=e[r];n.set(o,i),i+=o.length}return n},fw={assign:yye,flattenChunks:vye};let qW=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{qW=!1}const Ix=new Uint8Array(256);for(let e=0;e<256;e++)Ix[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Ix[254]=Ix[254]=1;var bye=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,i,s,o=e.length,c=0;for(i=0;i<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<o&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(c),s=0,i=0;s<c;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<o&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|n&63):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|n&63):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|n&63);return t};const wye=(e,t)=>{if(t<65534&&e.subarray&&qW)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n};var jye=(e,t)=>{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,i;const s=new Array(n*2);for(i=0,r=0;r<n;){let o=e[r++];if(o<128){s[i++]=o;continue}let c=Ix[o];if(c>4){s[i++]=65533,r+=c-1;continue}for(o&=c===2?31:c===3?15:7;c>1&&r<n;)o=o<<6|e[r++]&63,c--;if(c>1){s[i++]=65533;continue}o<65536?s[i++]=o:(o-=65536,s[i++]=55296|o>>10&1023,s[i++]=56320|o&1023)}return wye(s,i)},_ye=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Ix[e[n]]>t?n:t},Ux={string2buf:bye,buf2string:jye,utf8border:_ye};function Nye(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var BW=Nye;const zW=Object.prototype.toString,{Z_NO_FLUSH:Cye,Z_SYNC_FLUSH:Eye,Z_FULL_FLUSH:Sye,Z_FINISH:Dye,Z_OK:c1,Z_STREAM_END:Aye,Z_DEFAULT_COMPRESSION:kye,Z_DEFAULT_STRATEGY:Tye,Z_DEFLATED:Pye}=Py;function ND(e){this.options=fw.assign({level:kye,method:Pye,chunkSize:16384,windowBits:15,memLevel:8,strategy:Tye},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new BW,this.strm.avail_out=0;let n=Bg.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c1)throw new Error(Th[n]);if(t.header&&Bg.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Ux.string2buf(t.dictionary):zW.call(t.dictionary)==="[object ArrayBuffer]"?r=new
vendor: 3,360 bytes, line 977
977Uint8Array(t.dictionary):r=t.dictionary,n=Bg.deflateSetDictionary(this.strm,r),n!==c1)throw new Error(Th[n]);this._dict_set=!0}}ND.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let i,s;if(this.ended)return!1;for(t===~~t?s=t:s=t===!0?Dye:Cye,typeof e=="string"?n.input=Ux.string2buf(e):zW.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(s===Eye||s===Sye)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(i=Bg.deflate(n,s),i===Aye)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),i=Bg.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===c1;if(n.avail_out===0){this.onData(n.output);continue}if(s>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};ND.prototype.onData=function(e){this.chunks.push(e)};ND.prototype.onEnd=function(e){e===c1&&(this.result=fw.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const pb=16209,Lye=16191;var Rye=function(t,n){let r,i,s,o,c,l,u,d,p,h,f,v,m,y,g,x,b,_,E,T,A,w,S,k;const P=t.state;r=t.next_in,S=t.input,i=r+(t.avail_in-5),s=t.next_out,k=t.output,o=s-(n-t.avail_out),c=s+(t.avail_out-257),l=P.dmax,u=P.wsize,d=P.whave,p=P.wnext,h=P.window,f=P.hold,v=P.bits,m=P.lencode,y=P.distcode,g=(1<<P.lenbits)-1,x=(1<<P.distbits)-1;e:do{v<15&&(f+=S[r++]<<v,v+=8,f+=S[r++]<<v,v+=8),b=m[f&g];t:for(;;){if(_=b>>>24,f>>>=_,v-=_,_=b>>>16&255,_===0)k[s++]=b&65535;else if(_&16){E=b&65535,_&=15,_&&(v<_&&(f+=S[r++]<<v,v+=8),E+=f&(1<<_)-1,f>>>=_,v-=_),v<15&&(f+=S[r++]<<v,v+=8,f+=S[r++]<<v,v+=8),b=y[f&x];n:for(;;){if(_=b>>>24,f>>>=_,v-=_,_=b>>>16&255,_&16){if(T=b&65535,_&=15,v<_&&(f+=S[r++]<<v,v+=8,v<_&&(f+=S[r++]<<v,v+=8)),T+=f&(1<<_)-1,T>l){t.msg="invalid distance too far back",P.mode=pb;break e}if(f>>>=_,v-=_,_=s-o,T>_){if(_=T-_,_>d&&P.sane){t.msg="invalid distance too far back",P.mode=pb;break e}if(A=0,w=h,p===0){if(A+=u-_,_<E){E-=_;do k[s++]=h[A++];while(--_);A=s-T,w=k}}else if(p<_){if(A+=u+p-_,_-=p,_<E){E-=_;do k[s++]=h[A++];while(--_);if(A=0,p<E){_=p,E-=_;do k[s++]=h[A++];while(--_);A=s-T,w=k}}}else if(A+=p-_,_<E){E-=_;do k[s++]=h[A++];while(--_);A=s-T,w=k}for(;E>2;)k[s++]=w[A++],k[s++]=w[A++],k[s++]=w[A++],E-=3;E&&(k[s++]=w[A++],E>1&&(k[s++]=w[A++]))}else{A=s-T;do k[s++]=k[A++],k[s++]=k[A++],k[s++]=k[A++],E-=3;while(E>2);E&&(k[s++]=k[A++],E>1&&(k[s++]=k[A++]))}}else if(_&64){t.msg="invalid distance code",P.mode=pb;break e}else{b=y[(b&65535)+(f&(1<<_)-1)];continue n}break}}else if(_&64)if(_&32){P.mode=Lye;break e}else{t.msg="invalid literal/length code",P.mode=pb;break e}else{b=m[(b&65535)+(f&(1<<_)-1)];continue t}break}}while(r<i&&s<c);E=v>>3,r-=E,v-=E<<3,f&=(1<<v)-1,t.next_in=r,t.next_out=s,t.avail_in=r<i?5+(i-r):5-(r-i),t.avail_out=s<c?257+(c-s):257-(s-c),P.hold=f,P.bits=v};const Jp=15,PP=852,LP=592,RP=0,w_=1,OP=2,Oye=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Iye=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Uye=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Fye=new
vendor: 11,232 bytes, line 977
977Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Mye=(e,t,n,r,i,s,o,c)=>{const l=c.bits;let u=0,d=0,p=0,h=0,f=0,v=0,m=0,y=0,g=0,x=0,b,_,E,T,A,w=null,S;const k=new Uint16Array(Jp+1),P=new Uint16Array(Jp+1);let D=null,R,N,q;for(u=0;u<=Jp;u++)k[u]=0;for(d=0;d<r;d++)k[t[n+d]]++;for(f=l,h=Jp;h>=1&&k[h]===0;h--);if(f>h&&(f=h),h===0)return i[s++]=1<<24|64<<16|0,i[s++]=1<<24|64<<16|0,c.bits=1,0;for(p=1;p<h&&k[p]===0;p++);for(f<p&&(f=p),y=1,u=1;u<=Jp;u++)if(y<<=1,y-=k[u],y<0)return-1;if(y>0&&(e===RP||h!==1))return-1;for(P[1]=0,u=1;u<Jp;u++)P[u+1]=P[u]+k[u];for(d=0;d<r;d++)t[n+d]!==0&&(o[P[t[n+d]]++]=d);if(e===RP?(w=D=o,S=20):e===w_?(w=Oye,D=Iye,S=257):(w=Uye,D=Fye,S=0),x=0,d=0,u=p,A=s,v=f,m=0,E=-1,g=1<<f,T=g-1,e===w_&&g>PP||e===OP&&g>LP)return 1;for(;;){R=u-m,o[d]+1<S?(N=0,q=o[d]):o[d]>=S?(N=D[o[d]-S],q=w[o[d]-S]):(N=96,q=0),b=1<<u-m,_=1<<v,p=_;do _-=b,i[A+(x>>m)+_]=R<<24|N<<16|q|0;while(_!==0);for(b=1<<u-1;x&b;)b>>=1;if(b!==0?(x&=b-1,x+=b):x=0,d++,--k[u]===0){if(u===h)break;u=t[n+o[d]]}if(u>f&&(x&T)!==E){for(m===0&&(m=f),A+=p,v=u-m,y=1<<v;v+m<h&&(y-=k[v+m],!(y<=0));)v++,y<<=1;if(g+=1<<v,e===w_&&g>PP||e===OP&&g>LP)return 1;E=x&T,i[E]=f<<24|v<<16|A-s|0}}return x!==0&&(i[A+x]=u-m<<24|64<<16|0),c.bits=f,0};var zg=Mye;const qye=0,$W=1,WW=2,{Z_FINISH:IP,Z_BLOCK:Bye,Z_TREES:fb,Z_OK:ep,Z_STREAM_END:zye,Z_NEED_DICT:$ye,Z_STREAM_ERROR:Cs,Z_DATA_ERROR:VW,Z_MEM_ERROR:HW,Z_BUF_ERROR:Wye,Z_DEFLATED:UP}=Py,hw=16180,FP=16181,MP=16182,qP=16183,BP=16184,zP=16185,$P=16186,WP=16187,VP=16188,HP=16189,l1=16190,wc=16191,j_=16192,GP=16193,__=16194,XP=16195,KP=16196,YP=16197,QP=16198,hb=16199,mb=16200,ZP=16201,JP=16202,eL=16203,tL=16204,nL=16205,N_=16206,rL=16207,aL=16208,Bn=16209,GW=16210,XW=16211,Vye=852,Hye=592,Gye=15,Xye=Gye,iL=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function Kye(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const yp=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<hw||t.mode>XW?1:0},KW=e=>{if(yp(e))return Cs;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=hw,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(Vye),t.distcode=t.distdyn=new Int32Array(Hye),t.sane=1,t.back=-1,ep},YW=e=>{if(yp(e))return Cs;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,KW(e)},QW=(e,t)=>{let n;if(yp(e))return Cs;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Cs:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,YW(e))},ZW=(e,t)=>{if(!e)return Cs;const n=new Kye;e.state=n,n.strm=e,n.window=null,n.mode=hw;const r=QW(e,t);return r!==ep&&(e.state=null),r},Yye=e=>ZW(e,Xye);let sL=!0,C_,E_;const Qye=e=>{if(sL){C_=new Int32Array(512),E_=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(zg($W,e.lens,0,288,C_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;zg(WW,e.lens,0,32,E_,0,e.work,{bits:5}),sL=!1}e.lencode=C_,e.lenbits=9,e.distcode=E_,e.distbits=5},JW=(e,t,n,r)=>{let i;const s=e.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),r>=s.wsize?(s.window.set(t.subarray(n-s.wsize,n),0),s.wnext=0,s.whave=s.wsize):(i=s.wsize-s.wnext,i>r&&(i=r),s.window.set(t.subarray(n-r,n-r+i),s.wnext),r-=i,r?(s.window.set(t.subarray(n-r,n),0),s.wnext=r,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=i))),0},Zye=(e,t)=>{let n,r,i,s,o,c,l,u,d,p,h,f,v,m,y=0,g,x,b,_,E,T,A,w;const S=new Uint8Array(4);let k,P;const D=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(yp(e)||!e.output||!e.input&&e.avail_in!==0)return Cs;n=e.state,n.mode===wc&&(n.mode=j_),o=e.next_out,i=e.output,l=e.avail_out,s=e.next_in,r=e.input,c=e.avail_in,u=n.hold,d=n.bits,p=c,h=l,w=ep;e:for(;;)switch(n.mode){case hw:if(n.wrap===0){n.mode=j_;break}for(;d<16;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(n.wrap&2&&u===35615){n.wbits===0&&(n.wbits=15),n.check=0,S[0]=u&255,S[1]=u>>>8&255,n.check=Fr(n.check,S,2,0),u=0,d=0,n.mode=FP;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Bn;break}if((u&15)!==UP){e.msg="unknown compression method",n.mode=Bn;break}if(u>>>=4,d-=4,A=(u&15)+8,n.wbits===0&&(n.wbits=A),A>15||A>n.wbits){e.msg="invalid window size",n.mode=Bn;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=u&512?HP:wc,u=0,d=0;break;case FP:for(;d<16;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(n.flags=u,(n.flags&255)!==UP){e.msg="unknown compression method",n.mode=Bn;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Bn;break}n.head&&(n.head.text=u>>8&1),n.flags&512&&n.wrap&4&&(S[0]=u&255,S[1]=u>>>8&255,n.check=Fr(n.check,S,2,0)),u=0,d=0,n.mode=MP;case MP:for(;d<32;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.head&&(n.head.time=u),n.flags&512&&n.wrap&4&&(S[0]=u&255,S[1]=u>>>8&255,S[2]=u>>>16&255,S[3]=u>>>24&255,n.check=Fr(n.check,S,4,0)),u=0,d=0,n.mode=qP;case qP:for(;d<16;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.head&&(n.head.xflags=u&255,n.head.os=u>>8),n.flags&512&&n.wrap&4&&(S[0]=u&255,S[1]=u>>>8&255,n.check=Fr(n.check,S,2,0)),u=0,d=0,n.mode=BP;case BP:if(n.flags&1024){for(;d<16;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.length=u,n.head&&(n.head.extra_len=u),n.flags&512&&n.wrap&4&&(S[0]=u&255,S[1]=u>>>8&255,n.check=Fr(n.check,S,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=zP;case zP:if(n.flags&1024&&(f=n.length,f>c&&(f=c),f&&(n.head&&(A=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(s,s+f),A)),n.flags&512&&n.wrap&4&&(n.check=Fr(n.check,r,f,s)),c-=f,s+=f,n.length-=f),n.length))break e;n.length=0,n.mode=$P;case $P:if(n.flags&2048){if(c===0)break e;f=0;do A=r[s+f++],n.head&&A&&n.length<65536&&(n.head.name+=String.fromCharCode(A));while(A&&f<c);if(n.flags&512&&n.wrap&4&&(n.check=Fr(n.check,r,f,s)),c-=f,s+=f,A)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=WP;case WP:if(n.flags&4096){if(c===0)break e;f=0;do A=r[s+f++],n.head&&A&&n.length<65536&&(n.head.comment+=String.fromCharCode(A));while(A&&f<c);if(n.flags&512&&n.wrap&4&&(n.check=Fr(n.check,r,f,s)),c-=f,s+=f,A)break e}else n.head&&(n.head.comment=null);n.mode=VP;case VP:if(n.flags&512){for(;d<16;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(n.wrap&4&&u!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Bn;break}u=0,d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=wc;break;case HP:for(;d<32;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}e.adler=n.check=iL(u),u=0,d=0,n.mode=l1;case l1:if(n.havedict===0)return e.next_out=o,e.avail_out=l,e.next_in=s,e.avail_in=c,n.hold=u,n.bits=d,$ye;e.adler=n.check=1,n.mode=wc;case wc:if(t===Bye||t===fb)break e;case j_:if(n.last){u>>>=d&7,d-=d&7,n.mode=N_;break}for(;d<3;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}switch(n.last=u&1,u>>>=1,d-=1,u&3){case 0:n.mode=GP;break;case 1:if(Qye(n),n.mode=hb,t===fb){u>>>=2,d-=2;break e}break;case 2:n.mode=KP;break;case 3:e.msg="invalid block type",n.mode=Bn}u>>>=2,d-=2;break;case GP:for(u>>>=d&7,d-=d&7;d<32;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if((u&65535)!==(u>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Bn;break}if(n.length=u&65535,u=0,d=0,n.mode=__,t===fb)break e;case __:n.mode=XP;case XP:if(f=n.length,f){if(f>c&&(f=c),f>l&&(f=l),f===0)break e;i.set(r.subarray(s,s+f),o),c-=f,s+=f,l-=f,o+=f,n.length-=f;break}n.mode=wc;break;case KP:for(;d<14;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(n.nlen=(u&31)+257,u>>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Bn;break}n.have=0,n.mode=YP;case YP:for(;n.have<n.ncode;){for(;d<3;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.lens[D[n.have++]]=u&7,u>>>=3,d-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,k={bits:n.lenbits},w=zg(qye,n.lens,0,19,n.lencode,0,n.work,k),n.lenbits=k.bits,w){e.msg="invalid code lengths set",n.mode=Bn;break}n.have=0,n.mode=QP;case QP:for(;n.have<n.nlen+n.ndist;){for(;y=n.lencode[u&(1<<n.lenbits)-1],g=y>>>24,x=y>>>16&255,b=y&65535,!(g<=d);){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(b<16)u>>>=g,d-=g,n.lens[n.have++]=b;else{if(b===16){for(P=g+2;d<P;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(u>>>=g,d-=g,n.have===0){e.msg="invalid bit length repeat",n.mode=Bn;break}A=n.lens[n.have-1],f=3+(u&3),u>>>=2,d-=2}else if(b===17){for(P=g+3;d<P;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}u>>>=g,d-=g,A=0,f=3+(u&7),u>>>=3,d-=3}else{for(P=g+7;d<P;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}u>>>=g,d-=g,A=0,f=11+(u&127),u>>>=7,d-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Bn;break}for(;f--;)n.lens[n.have++]=A}}if(n.mode===Bn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Bn;break}if(n.lenbits=9,k={bits:n.lenbits},w=zg($W,n.lens,0,n.nlen,n.lencode,0,n.work,k),n.lenbits=k.bits,w){e.msg="invalid literal/lengths set",n.mode=Bn;break}if(n.distbits=6,n.distcode=n.distdyn,k={bits:n.distbits},w=zg(WW,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,k),n.distbits=k.bits,w){e.msg="invalid distances set",n.mode=Bn;break}if(n.mode=hb,t===fb)break e;case hb:n.mode=mb;case mb:if(c>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=s,e.avail_in=c,n.hold=u,n.bits=d,Rye(e,h),o=e.next_out,i=e.output,l=e.avail_out,s=e.next_in,r=e.input,c=e.avail_in,u=n.hold,d=n.bits,n.mode===wc&&(n.back=-1);break}for(n.back=0;y=n.lencode[u&(1<<n.lenbits)-1],g=y>>>24,x=y>>>16&255,b=y&65535,!(g<=d);){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(x&&!(x&240)){for(_=g,E=x,T=b;y=n.lencode[T+((u&(1<<_+E)-1)>>_)],g=y>>>24,x=y>>>16&255,b=y&65535,!(_+g<=d);){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}u>>>=_,d-=_,n.back+=_}if(u>>>=g,d-=g,n.back+=g,n.length=b,x===0){n.mode=nL;break}if(x&32){n.back=-1,n.mode=wc;break}if(x&64){e.msg="invalid literal/length code",n.mode=Bn;break}n.extra=x&15,n.mode=ZP;case ZP:if(n.extra){for(P=n.extra;d<P;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.length+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=JP;case JP:for(;y=n.distcode[u&(1<<n.distbits)-1],g=y>>>24,x=y>>>16&255,b=y&65535,!(g<=d);){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(!(x&240)){for(_=g,E=x,T=b;y=n.distcode[T+((u&(1<<_+E)-1)>>_)],g=y>>>24,x=y>>>16&255,b=y&65535,!(_+g<=d);){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}u>>>=_,d-=_,n.back+=_}if(u>>>=g,d-=g,n.back+=g,x&64){e.msg="invalid distance code",n.mode=Bn;break}n.offset=b,n.extra=x&15,n.mode=eL;case eL:if(n.extra){for(P=n.extra;d<P;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}n.offset+=u&(1<<n.extra)-1,u>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>
vendor: 13,713 bytes, line 977
977n.dmax){e.msg="invalid distance too far back",n.mode=Bn;break}n.mode=tL;case tL:if(l===0)break e;if(f=h-l,n.offset>f){if(f=n.offset-f,f>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Bn;break}f>n.wnext?(f-=n.wnext,v=n.wsize-f):v=n.wnext-f,f>n.length&&(f=n.length),m=n.window}else m=i,v=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do i[o++]=m[v++];while(--f);n.length===0&&(n.mode=mb);break;case nL:if(l===0)break e;i[o++]=n.length,l--,n.mode=mb;break;case N_:if(n.wrap){for(;d<32;){if(c===0)break e;c--,u|=r[s++]<<d,d+=8}if(h-=l,e.total_out+=h,n.total+=h,n.wrap&4&&h&&(e.adler=n.check=n.flags?Fr(n.check,i,h,o-h):Ox(n.check,i,h,o-h)),h=l,n.wrap&4&&(n.flags?u:iL(u))!==n.check){e.msg="incorrect data check",n.mode=Bn;break}u=0,d=0}n.mode=rL;case rL:if(n.wrap&&n.flags){for(;d<32;){if(c===0)break e;c--,u+=r[s++]<<d,d+=8}if(n.wrap&4&&u!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Bn;break}u=0,d=0}n.mode=aL;case aL:w=zye;break e;case Bn:w=VW;break e;case GW:return HW;case XW:default:return Cs}return e.next_out=o,e.avail_out=l,e.next_in=s,e.avail_in=c,n.hold=u,n.bits=d,(n.wsize||h!==e.avail_out&&n.mode<Bn&&(n.mode<N_||t!==IP))&&JW(e,e.output,e.next_out,h-e.avail_out),p-=e.avail_in,h-=e.avail_out,e.total_in+=p,e.total_out+=h,n.total+=h,n.wrap&4&&h&&(e.adler=n.check=n.flags?Fr(n.check,i,h,e.next_out-h):Ox(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===wc?128:0)+(n.mode===hb||n.mode===__?256:0),(p===0&&h===0||t===IP)&&w===ep&&(w=Wye),w},Jye=e=>{if(yp(e))return Cs;let t=e.state;return t.window&&(t.window=null),e.state=null,ep},eve=(e,t)=>{if(yp(e))return Cs;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,ep):Cs},tve=(e,t)=>{const n=t.length;let r,i,s;return yp(e)||(r=e.state,r.wrap!==0&&r.mode!==l1)?Cs:r.mode===l1&&(i=1,i=Ox(i,t,n,0),i!==r.check)?VW:(s=JW(e,t,n,n),s?(r.mode=GW,HW):(r.havedict=1,ep))};var nve=YW,rve=QW,ave=KW,ive=Yye,sve=ZW,ove=Zye,cve=Jye,lve=eve,uve=tve,dve="pako inflate (from Nodeca project)",Ac={inflateReset:nve,inflateReset2:rve,inflateResetKeep:ave,inflateInit:ive,inflateInit2:sve,inflate:ove,inflateEnd:cve,inflateGetHeader:lve,inflateSetDictionary:uve,inflateInfo:dve};function pve(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var fve=pve;const eV=Object.prototype.toString,{Z_NO_FLUSH:hve,Z_FINISH:mve,Z_OK:Fx,Z_STREAM_END:S_,Z_NEED_DICT:D_,Z_STREAM_ERROR:gve,Z_DATA_ERROR:oL,Z_MEM_ERROR:xve}=Py;function Ry(e){this.options=fw.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new BW,this.strm.avail_out=0;let n=Ac.inflateInit2(this.strm,t.windowBits);if(n!==Fx)throw new Error(Th[n]);if(this.header=new fve,Ac.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Ux.string2buf(t.dictionary):eV.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Ac.inflateSetDictionary(this.strm,t.dictionary),n!==Fx)))throw new Error(Th[n])}Ry.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let s,o,c;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?mve:hve,eV.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),s=Ac.inflate(n,o),s===D_&&i&&(s=Ac.inflateSetDictionary(n,i),s===Fx?s=Ac.inflate(n,o):s===oL&&(s=D_));n.avail_in>0&&s===S_&&n.state.wrap>0&&e[n.next_in]!==0;)Ac.inflateReset(n),s=Ac.inflate(n,o);switch(s){case gve:case oL:case D_:case xve:return this.onEnd(s),this.ended=!0,!1}if(c=n.avail_out,n.next_out&&(n.avail_out===0||s===S_))if(this.options.to==="string"){let l=Ux.utf8border(n.output,n.next_out),u=n.next_out-l,d=Ux.buf2string(n.output,l);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(l,l+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(s===Fx&&c===0)){if(s===S_)return s=Ac.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Ry.prototype.onData=function(e){this.chunks.push(e)};Ry.prototype.onEnd=function(e){e===Fx&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=fw.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function CD(e,t){const n=new Ry(t);if(n.push(e),n.err)throw n.msg||Th[n.err];return n.result}function yve(e,t){return t=t||{},t.raw=!0,CD(e,t)}var vve=Ry,bve=CD,wve=yve,jve=CD,_ve=Py,Nve={Inflate:vve,inflate:bve,inflateRaw:wve,ungzip:jve,constants:_ve};const{Inflate:Cve,inflate:Eve,inflateRaw:k_e,ungzip:T_e}=Nve;var cL=Cve,Sve=Eve;const tV=[];for(let e=0;e<256;e++){let t=e;for(let n=0;n<8;n++)t&1?t=3988292384^t>>>1:t=t>>>1;tV[e]=t}const lL=4294967295;function Dve(e,t,n){let r=e;for(let i=0;i<n;i++)r=tV[(r^t[i])&255]^r>>>8;return r}function Ave(e,t){return(Dve(lL,e,t)^lL)>>>0}function uL(e,t,n){const r=e.readUint32(),i=Ave(new Uint8Array(e.buffer,e.byteOffset+e.offset-t-4,t),t);if(i!==r)throw new Error(`CRC mismatch for chunk ${n}. Expected ${r}, found ${i}`)}function nV(e,t,n){for(let r=0;r<n;r++)t[r]=e[r]}function rV(e,t,n,r){let i=0;for(;i<r;i++)t[i]=e[i];for(;i<n;i++)t[i]=e[i]+t[i-r]&255}function aV(e,t,n,r){let i=0;if(n.length===0)for(;i<r;i++)t[i]=e[i];else for(;i<r;i++)t[i]=e[i]+n[i]&255}function iV(e,t,n,r,i){let s=0;if(n.length===0){for(;s<i;s++)t[s]=e[s];for(;s<r;s++)t[s]=e[s]+(t[s-i]>>1)&255}else{for(;s<i;s++)t[s]=e[s]+(n[s]>>1)&255;for(;s<r;s++)t[s]=e[s]+(t[s-i]+n[s]>>1)&255}}function sV(e,t,n,r,i){let s=0;if(n.length===0){for(;s<i;s++)t[s]=e[s];for(;s<r;s++)t[s]=e[s]+t[s-i]&255}else{for(;s<i;s++)t[s]=e[s]+n[s]&255;for(;s<r;s++)t[s]=e[s]+kve(t[s-i],n[s],n[s-i])&255}}function kve(e,t,n){const r=e+t-n,i=Math.abs(r-e),s=Math.abs(r-t),o=Math.abs(r-n);return i<=s&&i<=o?e:s<=o?t:n}function Tve(e,t,n,r,i,s){switch(e){case 0:nV(t,n,i);break;case 1:rV(t,n,i,s);break;case 2:aV(t,n,r,i);break;case 3:iV(t,n,r,i,s);break;case 4:sV(t,n,r,i,s);break;default:throw new Error(`Unsupported filter: ${e}`)}}const Pve=new Uint16Array([255]),Lve=new Uint8Array(Pve.buffer),Rve=Lve[0]===255;function Ove(e){const{data:t,width:n,height:r,channels:i,depth:s}=e,o=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],c=Math.ceil(s/8)*i,l=new Uint8Array(r*n*c);let u=0;for(let d=0;d<7;d++){const p=o[d],h=Math.ceil((n-p.x)/p.xStep),f=Math.ceil((r-p.y)/p.yStep);if(h<=0||f<=0)continue;const v=h*c,m=new Uint8Array(v);for(let y=0;y<f;y++){const g=t[u++],x=t.subarray(u,u+v);u+=v;const b=new Uint8Array(v);Tve(g,x,b,m,v,c),m.set(b);for(let _=0;_<h;_++){const E=p.x+_*p.xStep,T=p.y+y*p.yStep;if(!(E>=n||T>=r))for(let A=0;A<c;A++)l[(T*n+E)*c+A]=b[_*c+A]}}}if(s===16){const d=new Uint16Array(l.buffer);if(Rve)for(let p=0;p<d.length;p++)d[p]=Ive(d[p]);return d}else return l}function Ive(e){return(e&255)<<8|e>>8&255}const Uve=new Uint16Array([255]),Fve=new Uint8Array(Uve.buffer),Mve=Fve[0]===255,qve=new Uint8Array(0);function dL(e){const{data:t,width:n,height:r,channels:i,depth:s}=e,o=Math.ceil(s/8)*i,c=Math.ceil(s/8*i*n),l=new Uint8Array(r*c);let u=qve,d=0,p,h;for(let f=0;f<r;f++){switch(p=t.subarray(d+1,d+1+c),h=l.subarray(f*c,(f+1)*c),t[d]){case 0:nV(p,h,c);break;case 1:rV(p,h,c,o);break;case 2:aV(p,h,u,c);break;case 3:iV(p,h,u,c,o);break;case 4:sV(p,h,u,c,o);break;default:throw new Error(`Unsupported filter: ${t[d]}`)}u=h,d+=c+1}if(s===16){const f=new Uint16Array(l.buffer);if(Mve)for(let v=0;v<f.length;v++)f[v]=Bve(f[v]);return f}else return l}function Bve(e){return(e&255)<<8|e>>8&255}const Vb=Uint8Array.of(137,80,78,71,13,10,26,10);function pL(e){if(!zve(e.readBytes(Vb.length)))throw new Error("wrong PNG signature")}function zve(e){if(e.length<Vb.length)return!1;for(let t=0;t<Vb.length;t++)if(e[t]!==Vb[t])return!1;return!0}const $ve="tEXt",Wve=0,oV=new TextDecoder("latin1");function Vve(e){if(Gve(e),e.length===0||e.length>79)throw new Error("keyword length must be between 1 and 79")}const Hve=/^[\u0000-\u00FF]*$/;function Gve(e){if(!Hve.test(e))throw new Error("invalid latin1 text")}function Xve(e,t,n){const r=cV(t);e[r]=Kve(t,n-r.length-1)}function cV(e){for(e.mark();e.readByte()!==Wve;);const t=e.offset;e.reset();const n=oV.decode(e.readBytes(t-e.offset-1));return e.skip(1),Vve(n),n}function Kve(e,t){return oV.decode(e.readBytes(t))}const Ti={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},A_={UNKNOWN:-1,DEFLATE:0},fL={UNKNOWN:-1,ADAPTIVE:0},k_={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},gb={NONE:0,BACKGROUND:1,PREVIOUS:2},T_={SOURCE:0,OVER:1};class Yve extends yD{constructor(n,r={}){super(n);Yt(this,"_checkCrc");Yt(this,"_inflator");Yt(this,"_png");Yt(this,"_apng");Yt(this,"_end");Yt(this,"_hasPalette");Yt(this,"_palette");Yt(this,"_hasTransparency");Yt(this,"_transparency");Yt(this,"_compressionMethod");Yt(this,"_filterMethod");Yt(this,"_interlaceMethod");Yt(this,"_colorType");Yt(this,"_isAnimated");Yt(this,"_numberOfFrames");Yt(this,"_numberOfPlays");Yt(this,"_frames");Yt(this,"_writingDataChunks");const{checkCrc:i=!1}=r;this._checkCrc=i,this._inflator=new cL,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=A_.UNKNOWN,this._filterMethod=fL.UNKNOWN,this._interlaceMethod=k_.UNKNOWN,this._colorType=Ti.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(pL(this);!this._end;){const n=this.readUint32(),r=this.readChars(4);this.decodeChunk(n,r)}return this.decodeImage(),this._png}decodeApng(){for(pL(this);!this._end;){const n=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(n,r)}return this.decodeApngImage(),this._apng}decodeChunk(n,r){const i=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(n);break;case"IDAT":this.decodeIDAT(n);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(n);break;case"iCCP":this.decodeiCCP(n);break;case $ve:Xve(this._png.text,this,n);break;case"pHYs":this.decodepHYs();break;default:this.skip(n);break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?uL(this,n+4,r):this.skip(4)}decodeApngChunk(n,r){const i=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(n);break;default:this.decodeChunk(n,r),this.offset=i+n;break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?uL(this,n+4,r):this.skip(4)}decodeIHDR(){const n=this._png;n.width=this.readUint32(),n.height=this.readUint32(),n.depth=Qve(this.readUint8());const r=this.readUint8();this._colorType=r;let i;switch(r){case Ti.GREYSCALE:i=1;break;case Ti.TRUECOLOUR:i=3;break;case Ti.INDEXED_COLOUR:i=1;break;case Ti.GREYSCALE_ALPHA:i=2;break;case Ti.TRUECOLOUR_ALPHA:i=4;break;case Ti.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==A_.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const n={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(n)}decodePLTE(n){if(n%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${n}`);const r=n/3;this._hasPalette=!0;const i=[];this._palette=i;for(let s=0;s<r;s++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(n){this._writingDataChunks=!0;const r=n,i=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodeFDAT(n){this._writingDataChunks=!0;let r=n,i=this.offset+this.byteOffset;if(i+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodetRNS(n){switch(this._colorType){case Ti.GREYSCALE:case Ti.TRUECOLOUR:{if(n%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${n}`);if(n/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${n/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(n/2);for(let r=0;r<n/2;r++)this._transparency[r]=this.readUint16();break}case Ti.INDEXED_COLOUR:{if(n>this._palette.length)throw new Error(`tRNS chunk contains more alph
977a values than there are palette colors (${n} vs ${this._palette.length})`);let r=0;for(;r<n;r++){const i=this.readByte();this._palette[r].push(i)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case Ti.UNKNOWN:case Ti.GREYSCALE_ALPHA:case Ti.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(n){const r=cV(this),i=this.readUint8();if(i!==A_.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${i}`);const s=this.readBytes(n-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:Sve(s)}}decodepHYs(){const n=this.readUint32(),r=this.readUint32(),i=this.readByte();this._png.resolution={x:n,y:r,unit:i}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let n=0;n<this._numberOfFrames;n++){const r={sequenceNumber:this._frames[n].sequenceNumber,delayNumber:this._frames[n].delayNumber,delayDenominator:this._frames[n].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},i=this._frames.at(n);if(i){if(i.data=dL({data:i.data,width:i.width,height:i.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),n===0||i.xOffset===0&&i.yOffset===0&&i.width===this._png.width&&i.height===this._png.height)r.data=i.data;else{const s=this._apng.frames.at(n-1);this.disposeFrame(i,s,r),this.addFrameDataToCanvas(r,i)}this._apng.frames.push(r)}}return this._apng}disposeFrame(n,r,i){switch(n.disposeOp){case gb.NONE:break;case gb.BACKGROUND:for(let s=0;s<this._png.height;s++)for(let o=0;o<this._png.width;o++){const c=(s*n.width+o)*this._png.channels;for(let l=0;l<this._png.channels;l++)i.data[c+l]=0}break;case gb.PREVIOUS:i.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(n,r){const i=1<<this._png.depth,s=(o,c)=>{const l=((o+r.yOffset)*this._png.width+r.xOffset+c)*this._png.channels,u=(o*r.width+c)*this._png.channels;return{index:l,frameIndex:u}};switch(r.blendOp){case T_.SOURCE:for(let o=0;o<r.height;o++)for(let c=0;c<r.width;c++){const{index:l,frameIndex:u}=s(o,c);for(let d=0;d<this._png.channels;d++)n.data[l+d]=r.data[u+d]}break;case T_.OVER:for(let o=0;o<r.height;o++)for(let c=0;c<r.width;c++){const{index:l,frameIndex:u}=s(o,c);for(let d=0;d<this._png.channels;d++){const p=r.data[u+this._png.channels-1]/i,h=d%(this._png.channels-1)===0?1:r.data[u+d],f=Math.floor(p*h+(1-p)*n.data[l+d]);n.data[l+d]+=f}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var r;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const n=this._isAnimated?((r=this._frames)==null?void 0:r.at(0)).data:this._inflator.result;if(this._filterMethod!==fL.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===k_.NO_INTERLACE)this._png.data=dL({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===k_.ADAM7)this._png.data=Ove({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const n=this._inflator.result,r=this._frames.at(-1);r?r.data=n:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:gb.NONE,blendOp:T_.SOURCE,data:n}),this._inflator=new cL,this._writingDataChunks=!1}}function Qve(e){if(e!==1&&e!==2&&e!==4&&e!==8&&e!==16)throw new Error(`invalid bit depth: ${e}`);return e}var hL;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"})(hL||(hL={}));function Zve(e,t){return new Yve(e,t).decode()}var Pt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function P_(){Pt.console&&typeof Pt.console.log=="function"&&Pt.console.log.apply(Pt.console,arguments)}var Nn={log:P_,warn:function(e){Pt.console&&(typeof Pt.console.warn=="function"?Pt.console.warn.apply(Pt.console,arguments):P_.call(null,arguments))},error:function(e){Pt.console&&(typeof Pt.console.error=="function"?Pt.console.error.apply(Pt.console,arguments):P_(e))}};function L_(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){cd(r.response,t,n
vendor: 3,701 bytes, lines 977-982
977)},r.onerror=function(){Nn.error("could not download file")},r.send()}function mL(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function xb(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 cd=Pt.saveAs||((typeof window>"u"?"undefined":mn(window))!=="object"||window!==Pt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=Pt.URL||Pt.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?mL(i.href)?L_(e,t,n):xb(i,i.target="_blank"):xb(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){xb(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download",typeof e=="string")if(mL(e))L_(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){xb(r)})}else navigator.msSaveOrOpenBlob(function(i,s){return s===void 0?s={autoBom:!1}:mn(s)!=="object"&&(Nn.warn("Deprecated: Expected third argument to be a object"),s={autoBom:!s}),s.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 L_(e,t,n);var i=e.type==="application/octet-stream",s=/constructor/i.test(Pt.HTMLElement)||Pt.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||i&&s)&&(typeof FileReader>"u"?"undefined":mn(FileReader))==="object"){var c=new FileReader;c.onloadend=function(){var d=c.result;d=o?d:d.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=d:location=d,r=null},c.readAsDataURL(e)}else{var l=Pt.URL||Pt.webkitURL,u=l.createObjectURL(e);r?r.location=u:location.href=u,r=null,setTimeout(function(){l.revokeObjectURL(u)},4e4)}});/** 978 * A class to parse color values 979 * @author Stoyan Stefanov <[email protected]> 980 * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} 981 * @license Use it if you like it 982 */function lV(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
9820",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(c){return[parseInt(c[1]),parseInt(c[2]),parseInt(c[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(c){return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(c){return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)]}}],r=0;r<n.length;r++){var i=n[r].re,s=n[r].process,o=i.exec(e);o&&(t=s(o),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 c=this.r.toString(16),l=this.g.toString(16),u=this.b.toString(16);return c.length==1&&(c="0"+c),l.length==1&&(l="0"+l),u.length==1&&(u="0"+u),"#"+c+l+u}}var Hb=Pt.atob.bind(Pt),gL=Pt.btoa.bind(Pt);/** 983 * @license 984 * Joseph Myers does not specify a particular license for his work. 985 * 986 * Author: Joseph Myers 987 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js 988 * 989 * Modified by: Owen Leong 990 */function R_(e,t){var n=e[0],r=e[1],i=e[2],s=e[3];n=fa(n,r,i,s,t[0],7,-680876936),s=fa(s,n,r,i,t[1],12,-389564586),i=fa(i,s,n,r,t[2],17,606105819),r=fa(r,i,s,n,t[3],22,-1044525330),n=fa(n,r,i,s,t[4],7,-176418897),s=fa(s,n,r,i,t[5],12,1200080426),i=fa(i,s,n,r,t[6],17,-1473231341),r=fa(r,i,s,n,t[7],22,-45705983),n=fa(n,r,i,s,t[8],7,1770035416),s=fa(s,n,r,i,t[9],12,-1958414417),i=fa(i,s,n,r,t[10],17,-42063),r=fa(r,i,s,n,t[11],22,-1990404162),n=fa(n,r,i,s,t[12],7,1804603682),s=fa(s,n,r,i,t[13],12,-40341101),i=fa(i,s,n,r,t[14],17,-1502002290),n=ha(n,r=fa(r,i,s,n,t[15],22,1236535329),i,s,t[1],5,-165796510),s=ha(s,n,r,i,t[6],9,-1069501632),i=ha(i,s,n,r,t[11],14,643717713),r=ha(r,i,s,n,t[0],20,-373897302),n=ha(n,r,i,s,t[5],5,-701558691),s=ha(s,n,r,i,t[10],9,38016083),i=ha(i,s,n,r,t[15],14,-660478335),r=ha(r,i,s,n,t[4],20,-405537848),n=ha(n,r,i,s,t[9],5,568446438),s=ha(s,n,r,i,t[14],9,-1019803690),i=ha(i,s,n,r,t[3],14,-187363961),r=ha(r,i,s,n,t[8],20,1163531501),n=ha(n,r,i,s,t[13],5,-1444681467),s=ha(s,n,r,i,t[2],9,-51403784),i=ha(i,s,n,r,t[7],14,1735328473),n=ma(n,r=ha(r,i,s,n,t[12],20,-1926607734),i,s,t[5],4,-378558),s=ma(s,n,r,i,t[8],11,-2022574463),i=ma(i,s,n,r,t[11],16,1839030562),r=ma(r,i,s,n,t[14],23,-35309556),n=ma(n,r,i,s,t[1],4,-1530992060),s=ma(s,n,r,i,t[4],11,1272893353),i=ma(i,s,n,r,t[7],16,-155497632),r=ma(r,i,s,n,t[10],23,-1094730640),n=ma(n,r,i,s,t[13],4,681279174),s=ma(s,n,r,i,t[0],11,-358537222),i=ma(i,s,n,r,t[3],16,-722521979),r=ma(r,i,s,n,t[6],23,76029189),n=ma(n,r,i,s,t[9],4,-640364487),s=ma(s,n,r,i,t[12],11,-421815835),i=ma(i,s,n,r,t[15],16,530742520),n=ga(n,r=ma(r,i,s,n,t[2],23,-995338651),i,s,t[0],6,-198630844),s=ga(s,n,r,i,t[7],10,1126891415),i=ga(i,s,n,r,t[14],15,-1416354905),r=ga(r,i,s,n,t[5],21,-57434055),n=ga(n,r,i,s,t[12],6,1700485571),s=ga(s,n,r,i,t[3],10,-1894986606),i=ga(i,s,n,r,t[10],15,-1051523),r=ga(r,i,s,n,t[1],21,-2054922799),n=ga(n,r,i,s,t[8],6,1873313359),s=ga(s,n,r,i,t[15],10,-30611744),i=ga(i,s,n,r,t[6],15,-1560198380),r=ga(r,i,s,n,t[13],21,1309151649),n=ga(n,r,i,s,t[4],6,-145523070),s=ga(s,n,r,i,t[11],10,-1120210379),i=ga(i,s,n,r,t[2],15,718787259),r=ga(r,i,s,n,t[9],21,-343485551),e[0]=Ql(n,e[0]),e[1]=Ql(r,e[1]),e[2]=Ql(i,e[2]),e[3]=Ql(s,e[3])}function mw(e,t,n,r,i,s){return t=Ql(Ql(t,e),Ql(r,s)),Ql(t<<i|t>>>32-i,n)}function fa(e,t,n,r,i,s,o){return mw(t&n|~t&r,e,t,i,s,o)}function ha(e,t,n,r,i,s,o){return mw(t&r|n&~r,e,t,i,s,o)}function ma(e,t,n,r,i,s,o){return mw(t^n^r,e,t,i,s,o)}function ga(e,t,n,r,i,s,o){return mw(n^(t|~r),e,t,i,s,o)}function uV(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)R_(r,Jve(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(R_(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,R_(r,i),r}function Jve(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}var xL="0123456789abcdef".split("");function ebe(e){for(var t="",n=0;n<4;n++)t+=xL[e>>8*n+4&15]+xL[e>>8*n&15];return t}function tbe(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function xC(e){return uV(e).map(tbe).join("")}var nbe=function(e){for(var t=0;t<e.length;t++)e[t]=ebe(e[t]);return e.join("")}(uV("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ql(e,t){if(nbe){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}/** 991 * @license 992 * FPDF is released under a permissive license: there is no usage restriction. 993 * You may embed it freely in your application (commercial or not), with or 994 * without modifications. 995 * 996 * Reference: http://www.fpdf.org/en/script/script37.php 997 */function yC(e,t){var n,r,i,s;if(e!==n){for(var o=(i=e,s=1+(256/e.length|0),new Array(s+1).join(i)),c=[],l=0;l<256;l++)c[l]=l;var u=0;for(l=0;l<256;l++){var d=c[l];
vendor: 17,358 bytes, lines 997-1008
997u=(u+d+o.charCodeAt(l))%256,c[l]=c[u],c[u]=d}n=e,r=c}else c=r;var p=t.length,h=0,f=0,v="";for(l=0;l<p;l++)f=(f+(d=c[h=(h+1)%256]))%256,c[h]=c[f],c[f]=d,o=c[(c[h]+c[f])%256],v+=String.fromCharCode(t.charCodeAt(l)^o);return v}/** 998 * @license 999 * Licensed under the MIT License. 1000 * http://opensource.org/licenses/mit-license 1001 * Author: Owen Leong (@owenl131) 1002 * Date: 15 Oct 2020 1003 * References: 1004 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt 1005 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js 1006 * http://www.fpdf.org/en/script/script37.php 1007 */var yL={print:4,modify:8,copy:16,"annot-forms":32};function uf(e,t,n,r){this.v=1,this.r=2;var i=192;e.forEach(function(c){if(yL.perm!==void 0)throw new Error("Invalid permission: "+c);i+=yL[c]}),this.padding="(¿N^NuÂAd\0NVÿú�\b..\0¶Ãh>Â/\f©þdSiz";var s=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(s,o),this.P=-(1+(255^i)),this.encryptionKey=xC(s+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=yC(this.encryptionKey,this.padding)}function df(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);t+=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?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function vL(e){if(mn(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 s=Math.random().toString(35);return t[n][s]=[r,!!i],s},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 s in t[n]){var o=t[n][s];try{o[0].apply(e,r)}catch(c){Pt.console&&Nn.error("jsPDF PubSub Error",c.message,c)}o[1]&&i.push(s)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function u1(e){if(!(this instanceof u1))return new u1(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 dV(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function dd(e,t,n,r,i){if(!(this instanceof dd))return new dd(e,t,n,r,i);this.type=e==="axial"?2:3,this.coords=t,this.colors=n,dV.call(this,r,i)}function kf(e,t,n,r,i){if(!(this instanceof kf))return new kf(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,dV.call(this,r,i)}function _t(e){var t,n=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],s=arguments[3],o=[],c=1,l=16,u="S",d=null;mn(e=e||{})==="object"&&(n=e.orientation,r=e.unit||r,i=e.format||i,s=e.compress||e.compressPdf||s,(d=e.encryption||null)!==null&&(d.userPassword=d.userPassword||"",d.ownerPassword=d.ownerPassword||"",d.userPermissions=d.userPermissions||[]),c=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(t=e.precision),e.floatPrecision!==void 0&&(l=e.floatPrecision),u=e.defaultPathOperation||"S"),o=e.filters||(s===!0?["FlateEncode"]:o),r=r||"mm",n=(""+(n||"P")).toLowerCase();var p=e.putOnlyUsedFonts||!1,h={},f={internal:{},__private__:{}};f.__private__.PubSub=vL;var v="1.3",m=f.__private__.getPdfVersion=function(){return v};f.__private__.setPdfVersion=function(U){v=U};var y={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 y};var g=f.__private__.getPageFormat=function(U){return y[U]};i=i||"a4";var x="compat",b="advanced",_=x;function E(){this.saveGraphicsState(),X(new jt(Xe,0,0,-Xe,0,Vu()*Xe).toString()+" cm"),this.setFontSize(this.getFontSize()/Xe),u="n",_=b}function T(){this.restoreGraphicsState(),u="S",_=x}var A=f.__private__.combineFontStyleAndFontWeight=function(U,Q){if(U=="bold"&&Q=="normal"||U=="bold"&&Q==400||U=="normal"&&Q=="italic"||U=="bold"&&Q=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Q&&(U=Q==400||Q==="normal"?U==="italic"?"italic":"normal":Q!=700&&Q!=="bold"||U!=="normal"?(Q==700?"bold":Q)+""+U:"bold"),U};f.advancedAPI=function(U){var Q=_===x;return Q&&E.call(this),typeof U!="function"||(U(this),Q&&T.call(this)),this},f.compatAPI=function(U){var Q=_===b;return Q&&T.call(this),typeof U!="function"||(U(this),Q&&E.call(this)),this},f.isAdvancedAPI=function(){return _===b};var w,S=function(U){if(_!==b)throw new Error(U+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},k=f.roundToPrecision=f.__private__.roundToPrecision=function(U,Q){var me=t||Q;if(isNaN(U)||isNaN(me))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return U.toFixed(me).replace(/0+$/,"")};w=f.hpf=f.__private__.hpf=typeof l=="number"?function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return k(U,l)}:l==="smart"?function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return k(U,U>-1&&U<1?16:5)}:function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return k(U,16)};var P=f.f2=f.__private__.f2=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.f2");return k(U,2)},D=f.__private__.f3=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.f3");return k(U,3)},R=f.scale=f.__private__.scale=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.scale");return _===x?U*Xe:_===b?U:void 0},N=function(U){return R(function(Q){return _===x?Vu()-Q:_===b?Q:void 0}(U))};f.__private__.setPrecision=f.setPrecision=function(U){typeof parseInt(U,10)=="number"&&(t=parseInt(U,10))};var q,I="00000000000000000000000000000000",z=f.__private__.getFileId=function(){return I},M=f.__private__.setFileId=function(U){return I=U!==void 0&&/^[a-fA-F0-9]{32}$/.test(U)?U.toUpperCase():I.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),d!==null&&(wr=new uf(d.userPermissions,d.userPassword,d.ownerPassword,I)),I};f.setFileId=function(U){return M(U),this},f.getFileId=function(){return z()};var F=f.__private__.convertDateToPDFDate=function(U){var Q=U.getTimezoneOffset(),me=Q<0?"+":"-",be=Math.floor(Math.abs(Q/60)),Ae=Math.abs(Q%60),Fe=[me,K(be),"'",K(Ae),"'"].join("");return["D:",U.getFullYear(),K(U.getMonth()+1),K(U.getDate()),K(U.getHours()),K(U.getMinutes()),K(U.getSeconds()),Fe].join("")},H=f.__private__.convertPDFDateToDate=function(U){var Q=parseInt(U.substr(2,4),10),me=parseInt(U.substr(6,2),10)-1,be=parseInt(U.substr(8,2),10),Ae=parseInt(U.substr(10,2),10),Fe=parseInt(U.substr(12,2),10),ze=parseInt(U.substr(14,2),10);return new Date(Q,me,be,Ae,Fe,ze,0)},V=f.__private__.setCreationDate=function(U){var Q;if(U===void 0&&(U=new Date),U instanceof Date)Q=F(U);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(U))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Q=U}return q=Q},O=f.__private__.getCreationDate=function(U){var Q=q;return U==="jsDate"&&(Q=H(q)),Q};f.setCreationDate=function(U){return V(U),this},f.getCreationDate=function(U){return O(U)};var $,K=f.__private__.padd2=function(U){return("0"+parseInt(U)).slice(-2)},Y=f.__private__.padd2Hex=function(U){return("00"+(U=U.toString())).substr(U.length)},ee=0,re=[],ae=[],le=0,ge=[],ke=[],de=!1,we=ae;f.__private__.setCustomOutputDestination=function(U){de=!0,we=U};var W=function(U){de||(we=U)};f.__private__.resetCustomOutputDestination=function(){de=!1,we=ae};var X=f.__private__.out=function(U){return U=U.toString(),le+=U.length+1,we.push(U),we},pe=f.__private__.write=function(U){return X(arguments.length===1?U.toString():Array.prototype.join.call(arguments," "))},ie=f.__private__.getArrayBuffer=function(U){for(var Q=U.length,me=new ArrayBuffer(Q),be=new Uint8Array(me);Q--;)be[Q]=U.charCodeAt(Q);return me},te=[["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 te};var oe=e.fontSize||16;f.__private__.setFontSize=f.setFontSize=function(U){return oe=_===b?U/Xe:U,this};var Ne,De=f.__private__.getFontSize=f.getFontSize=function(){return _===x?oe:oe*Xe},ye=e.R2L||!1;f.__private__.setR2L=f.setR2L=function(U){return ye=U,this},f.__private__.getR2L=f.getR2L=function(){return ye};var ce,xe=f.__private__.setZoomMode=function(U){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(U))Ne=U;else if(isNaN(U)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(U)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+U+'" is not recognized.');Ne=U}else Ne=parseInt(U,10)};f.__private__.getZoomMode=function(){return Ne};var ve,Se=f.__private__.setPageMode=function(U){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(U)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+U+'" is not recognized.');ce=U};f.__private__.getPageMode=function(){return ce};var Oe=f.__private__.setLayoutMode=function(U){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(U)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+U+'" is not recognized.');ve=U};f.__private__.getLayoutMode=function(){return ve},f.__private__.setDisplayMode=f.setDisplayMode=function(U,Q,me){return xe(U),Oe(Q),Se(me),this};var We={title:"",subject:"",author:"",keywords:"",creator:""};f.__private__.getDocumentProperty=function(U){if(Object.keys(We).indexOf(U)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return We[U]},f.__private__.getDocumentProperties=function(){return We},f.__private__.setDocumentProperties=f.setProperties=f.setDocumentProperties=function(U){for(var Q in We)We.hasOwnProperty(Q)&&U[Q]&&(We[Q]=U[Q]);return this},f.__private__.setDocumentProperty=function(U,Q){if(Object.keys(We).indexOf(U)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return We[U]=Q};var qe,Xe,Ve,Ct,ct,bt={},Et={},At=[],yt={},st={},et={},rt={},Vt=null,ot=0,at=[],Rt=new vL(f),oa=e.hotfixes||[],pn={},Wn={},ir=[],jt=function U(Q,me,be,Ae,Fe,ze){if(!(this instanceof U))return new U(Q,me,be,Ae,Fe,ze);isNaN(Q)&&(Q=1),isNaN(me)&&(me=0),isNaN(be)&&(be=0),isNaN(Ae)&&(Ae=1),isNaN(Fe)&&(Fe=0),isNaN(ze)&&(ze=0),this._matrix=[Q,me,be,Ae,Fe,ze]};Object.defineProperty(jt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(U){this._matrix[0]=U}}),Object.defineProperty(jt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(U){this._matrix[1]=U}}),Object.defineProperty(jt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(U){this._matrix[2]=U}}),Object.defineProperty(jt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(U){this._matrix[3]=U}}),Object.defineProperty(jt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(U){this._matrix[4]=U}}),Object.defineProperty(jt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(U){this._matrix[5]=U}}),Object.defineProperty(jt.prototype,"a",{get:function(){return this._matrix[0]},set:function(U){this._matrix[0]=U}}),Object.defineProperty(jt.prototype,"b",{get:function(){return this._matrix[1]},set:function(U){this._matrix[1]=U}}),Object.defineProperty(jt.prototype,"c",{get:function(){return this._matrix[2]},set:function(U){this._matrix[2]=U}}),Object.defineProperty(jt.prototype,"d",{get:function(){return this._matrix[3]},set:function(U){this._matrix[3]=U}}),Object.defineProperty(jt.prototype,"e",{get:function(){return this._matrix[4]},set:function(U){this._matrix[4]=U}}),Object.defineProperty(jt.prototype,"f",{get:function(){return this._matrix[5]},set:function(U){this._matrix[5]=U}}),Object.defineProperty(jt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(jt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(jt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(jt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),jt.prototype.join=function(U){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(w).join(U)},jt.prototype.multiply=function(U){var Q=U.sx*this.sx+U.shy*this.shx,me=U.sx*this.shy+U.shy*this.sy,be=U.shx*this.sx+U.sy*this.shx,Ae=U.shx*this.shy+U.sy*this.sy,Fe=U.tx*this.sx+U.ty*this.shx+this.tx,ze=U.tx*this.shy+U.ty*this.sy+this.ty;return new jt(Q,me,be,Ae,Fe,ze)},jt.prototype.decompose=function(){var U=this.sx,Q=this.shy,me=this.shx,be=this.sy,Ae=this.tx,Fe=this.ty,ze=Math.sqrt(U*U+Q*Q),mt=(U/=ze)*me+(Q/=ze)*be;me-=U*mt,be-=Q*mt;var vt=Math.sqrt(me*me+be*be);return mt/=vt,U*(be/=vt)<Q*(me/=vt)&&(U=-U,Q=-Q,mt=-mt,ze=-ze),{scale:new jt(ze,0,0,vt,0,0),translate:new jt(1,0,0,1,Ae,Fe),rotate:new jt(U,Q,-Q,U,0,0),skew:new jt(1,0,mt,1,0,0)}},jt.prototype.toString=function(U){return this.join(" ")},jt.prototype.inversed=function(){var U=this.sx,Q=this.shy,me=this.shx,be=this.sy,Ae=this.tx,Fe=this.ty,ze=1/(U*be-Q*me),mt=be*ze,vt=-Q*ze,Ot=-me*ze,Mt=U*ze;return new jt(mt,vt,Ot,Mt,-mt*Ae-Ot*Fe,-vt*Ae-Mt*Fe)},jt.prototype.applyToPoint=function(U){var Q=U.x*this.sx+U.y*this.shx+this.tx,me=U.x*this.shy+U.y*this.sy+this.ty;return new ic(Q,me)},jt.prototype.applyToRectangle=function(U){var Q=this.applyToPoint(U),me=this.applyToPoint(new ic(U.x+U.w,U.y+U.h));return new gm(Q.x,Q.y,me.x-Q.x,me.y-Q.y)},jt.prototype.clone=function(){var U=this.sx,Q=this.shy,me=this.shx,be=this.sy,Ae=this.tx,Fe=this.ty;return new jt(U,Q,me,be,Ae,Fe)},f.Matrix=jt;var wn=f.matrixMult=function(U,Q){return Q.multiply(U)},Or=new jt(1,0,0,1,0,0);f.unitMatrix=f.identityMatrix=Or;var Vn=function(U,Q){if(!st[U]){var me=(Q instanceof dd?"Sh":"P")+(Object.keys(yt).length+1).toString(10);Q.id=me,st[U]=me,yt[me]=Q,Rt.publish("addPattern",Q)}};f.ShadingPattern=dd,f.TilingPattern=kf,f.addShadingPattern=function(U,Q){return S("addShadingPattern()"),Vn(U,Q),this},f.beginTilingPattern=function(U){S("beginTilingPattern()"),xm(U.boundingBox[0],U.boundingBox[1],U.boundingBox[2]-U.boundingBox[0],U.boundingBox[3]-U.boundingBox[1],U.matrix)},f.endTilingPattern=function(U,Q){S("endTilingPattern()"),Q.stream=ke[$].join(` 1008`),Vn(U,Q),Rt.publish("endTilingPattern",Q),ir.pop().restore()};var Qn,yn=f.__private__.newObject=function(){var U=qn();return Sn(U,!0),U},qn=f.__private__.newObjectDeferred=function(){return ee++,re[ee]=function(){return le},ee},Sn=function(U,Q){return Q=typeof Q=="boolean"&&Q,re[U]=le,Q&&X(U+" 0 obj"),U},wi=f.__private__.newAdditionalObject=function(){var U={objId:qn(),content:""};return ge.push(U),U},Zi=qn(),Ps=qn(),bo=f.__private__.decodeColorString=function(U){var Q=U.split(" ");if(Q.length!==2||Q[1]!=="g"&&Q[1]!=="G")Q.length!==5||Q[4]!=="k"&&Q[4]!=="K"||(Q=[(1-Q[0])*(1-Q[3]),(1-Q[1])*(1-Q[3]),(1-Q[2])*(1-Q[3]),"r"]);else{var me=parseFloat(Q[0]);Q=[me,me,me,"r"]}for(var be="#",Ae=0;Ae<3;Ae++)be+=("0"+Math.floor(255*parseFloat(Q[Ae])).toString(16)).slice(-2);return be},Ls=f.__private__.encodeColorString=function(U){var Q;typeof U=="string"&&(U={ch1:U});var me=U.ch1,be=U.ch2,Ae=U.ch3,Fe=U.ch4,ze=U.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof me=="string"&&me.charAt(0)!=="#"){var mt=new lV(me);if(mt.ok)me=mt.toHex();else if(!/^\d*\.?\d*$/.test(me))throw new Error('Invalid color "'+me+'" passed to
1008jsPDF.encodeColorString.')}if(typeof me=="string"&&/^#[0-9A-Fa-f]{3}$/.test(me)&&(me="#"+me[1]+me[1]+me[2]+me[2]+me[3]+me[3]),typeof me=="string"&&/^#[0-9A-Fa-f]{6}$/.test(me)){var vt=parseInt(me.substr(1),16);me=vt>>16&255,be=vt>>8&255,Ae=255&vt}if(be===void 0||Fe===void 0&&me===be&&be===Ae)Q=typeof me=="string"?me+" "+ze[0]:U.precision===2?P(me/255)+" "+ze[0]:D(me/255)+" "+ze[0];else if(Fe===void 0||mn(Fe)==="object"){if(Fe&&!isNaN(Fe.a)&&Fe.a===0)return["1.","1.","1.",ze[1]].join(" ");Q=typeof me=="string"?[me,be,Ae,ze[1]].join(" "):U.precision===2?[P(me/255),P(be/255),P(Ae/255),ze[1]].join(" "):[D(me/255),D(be/255),D(Ae/255),ze[1]].join(" ")}else Q=typeof me=="string"?[me,be,Ae,Fe,ze[2]].join(" "):U.precision===2?[P(me),P(be),P(Ae),P(Fe),ze[2]].join(" "):[D(me),D(be),D(Ae),D(Fe),ze[2]].join(" ");return Q},Rs=f.__private__.getFilters=function(){return o},Ji=f.__private__.putStream=function(U){var Q=(U=U||{}).data||"",me=U.filters||Rs(),be=U.alreadyAppliedFilters||[],Ae=U.addLength1||!1,Fe=Q.length,ze=U.objectId,mt=function(jr){return jr};if(d!==null&&ze===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");d!==null&&(mt=wr.encryptor(ze,0));var vt={};me===!0&&(me=["FlateEncode"]);var Ot=U.additionalKeyValues||[],Mt=(vt=_t.API.processDataByFilters!==void 0?_t.API.processDataByFilters(Q,me):{data:Q,reverseChain:[]}).reverseChain+(Array.isArray(be)?be.join(" "):be.toString());if(vt.data.length!==0&&(Ot.push({key:"Length",value:vt.data.length}),Ae===!0&&Ot.push({key:"Length1",value:Fe})),Mt.length!=0)if(Mt.split("/").length-1==1)Ot.push({key:"Filter",value:Mt});else{Ot.push({key:"Filter",value:"["+Mt+"]"});for(var an=0;an<Ot.length;an+=1)if(Ot[an].key==="DecodeParms"){for(var Hn=[],xr=0;xr<vt.reverseChain.split("/").length-1;xr+=1)Hn.push("null");Hn.push(Ot[an].value),Ot[an].value="["+Hn.join(" ")+"]"}}X("<<");for(var Dn=0;Dn<Ot.length;Dn++)X("/"+Ot[Dn].key+" "+Ot[Dn].value);X(">>"),vt.data.length!==0&&(X("stream"),X(mt(vt.data)),X("endstream"))},Mu=f.__private__.putPage=function(U){var Q=U.number,me=U.data,be=U.objId,Ae=U.contentsObjId;Sn(be,!0),X("<</Type /Page"),X("/Parent "+U.rootDictionaryObjId+" 0 R"),X("/Resources "+U.resourceDictionaryObjId+" 0 R"),X("/MediaBox ["+parseFloat(w(U.mediaBox.bottomLeftX))+" "+parseFloat(w(U.mediaBox.bottomLeftY))+" "+w(U.mediaBox.topRightX)+" "+w(U.mediaBox.topRightY)+"]"),U.cropBox!==null&&X("/CropBox ["+w(U.cropBox.bottomLeftX)+" "+w(U.cropBox.bottomLeftY)+" "+w(U.cropBox.topRightX)+" "+w(U.cropBox.topRightY)+"]"),U.bleedBox!==null&&X("/BleedBox ["+w(U.bleedBox.bottomLeftX)+" "+w(U.bleedBox.bottomLeftY)+" "+w(U.bleedBox.topRightX)+" "+w(U.bleedBox.topRightY)+"]"),U.trimBox!==null&&X("/TrimBox ["+w(U.trimBox.bottomLeftX)+" "+w(U.trimBox.bottomLeftY)+" "+w(U.trimBox.topRightX)+" "+w(U.trimBox.topRightY)+"]"),U.artBox!==null&&X("/ArtBox ["+w(U.artBox.bottomLeftX)+" "+w(U.artBox.bottomLeftY)+" "+w(U.artBox.topRightX)+" "+w(U.artBox.topRightY)+"]"),typeof U.userUnit=="number"&&U.userUnit!==1&&X("/UserUnit "+U.userUnit),Rt.publish("putPage",{objId:be,pageContext:at[Q],pageNumber:Q,page:me}),X("/Contents "+Ae+" 0 R"),X(">>"),X("endobj");var Fe=me.join(` 1009`);return _===b&&(Fe+=` 1010Q`),Sn(Ae,!0),Ji({data:Fe,filters:Rs(),objectId:Ae}),X("endobj"),be},wo=f.__private__.putPages=function(){var U,Q,me=[];for(U=1;U<=ot;U++)at[U].objId=qn(),at[U].contentsObjId=qn();for(U=1;U<=ot;U++)me.push(Mu({number:U,data:ke[U],objId:at[U].objId,contentsObjId:at[U].contentsObjId,mediaBox:at[U].mediaBox,cropBox:at[U].cropBox,bleedBox:at[U].bleedBox,trimBox:at[U].trimBox,artBox:at[U].artBox,userUnit:at[U].userUnit,rootDictionaryObjId:Zi,resourceDictionaryObjId:Ps}));Sn(Zi,!0),X("<</Type /Pages");var be="/Kids [";for(Q=0;Q<ot;Q++)be+=me[Q]+" 0 R ";X(be+"]"),X("/Count "+ot),X(">>"),X("endobj"),Rt.publish("postPutPages")},qu=function(U){Rt.publish("putFont",{font:U,out:X,newObject:yn,putStream:Ji}),U.isAlreadyPutted!==!0&&(U.objectNumber=yn(),X("<<"),X("/Type /Font"),X("/BaseFont /"+df(U.postScriptName)),X("/Subtype /Type1"),typeof U.encoding=="string"&&X("/Encoding /"+U.encoding),X("/FirstChar 32"),X("/LastChar 255"),X(">>"),X("endobj"))},wp=function(U){U.objectNumber=yn();var Q=[];Q.push({key:"Type",value:"/XObject"}),Q.push({key:"Subtype",value:"/Form"}),Q.push({key:"BBox",value:"["+[w(U.x),w(U.y),w(U.x+U.width),w(U.y+U.height)].join(" ")+"]"}),Q.push({key:"Matrix",value:"["+U.matrix.toString()+"]"});var me=U.pages[1].join(` 1011`);Ji({data:me,additionalKeyValues:Q,objectId:U.objectNumber}),X("endobj")},jp=function(U,Q){Q||(Q=21);var me=yn(),be=function(ze,mt){var vt,Ot=[],Mt=1/(mt-1);for(vt=0;vt<1;vt+=Mt)Ot.push(vt);if(Ot.push(1),ze[0].offset!=0){var an={offset:0,color:ze[0].color};ze.unshift(an)}if(ze[ze.length-1].offset!=1){var Hn={offset:1,color:ze[ze.length-1].color};ze.push(Hn)}for(var xr="",Dn=0,jr=0;jr<Ot.length;jr++){for(vt=Ot[jr];vt>ze[Dn+1].offset;)Dn++;var yr=ze[Dn].offset,Hr=(vt-yr)/(ze[Dn+1].offset-yr),cc=ze[Dn].color,Is=ze[Dn+1].color;xr+=Y(Math.round((1-Hr)*cc[0]+Hr*Is[0]).toString(16))+Y(Math.round((1-Hr)*cc[1]+Hr*Is[1]).toString(16))+Y(Math.round((1-Hr)*cc[2]+Hr*Is[2]).toString(16))}return xr.trim()}(U.colors,Q),Ae=[];
vendor: 24,820 bytes, lines 1011-1027
1011Ae.push({key:"FunctionType",value:"0"}),Ae.push({key:"Domain",value:"[0.0 1.0]"}),Ae.push({key:"Size",value:"["+Q+"]"}),Ae.push({key:"BitsPerSample",value:"8"}),Ae.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ae.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Ji({data:be,additionalKeyValues:Ae,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:me}),X("endobj"),U.objectNumber=yn(),X("<< /ShadingType "+U.type),X("/ColorSpace /DeviceRGB");var Fe="/Coords ["+w(parseFloat(U.coords[0]))+" "+w(parseFloat(U.coords[1]))+" ";U.type===2?Fe+=w(parseFloat(U.coords[2]))+" "+w(parseFloat(U.coords[3])):Fe+=w(parseFloat(U.coords[2]))+" "+w(parseFloat(U.coords[3]))+" "+w(parseFloat(U.coords[4]))+" "+w(parseFloat(U.coords[5])),X(Fe+="]"),U.matrix&&X("/Matrix ["+U.matrix.toString()+"]"),X("/Function "+me+" 0 R"),X("/Extend [true true]"),X(">>"),X("endobj")},_p=function(U,Q){var me=qn(),be=yn();Q.push({resourcesOid:me,objectOid:be}),U.objectNumber=be;var Ae=[];Ae.push({key:"Type",value:"/Pattern"}),Ae.push({key:"PatternType",value:"1"}),Ae.push({key:"PaintType",value:"1"}),Ae.push({key:"TilingType",value:"1"}),Ae.push({key:"BBox",value:"["+U.boundingBox.map(w).join(" ")+"]"}),Ae.push({key:"XStep",value:w(U.xStep)}),Ae.push({key:"YStep",value:w(U.yStep)}),Ae.push({key:"Resources",value:me+" 0 R"}),U.matrix&&Ae.push({key:"Matrix",value:"["+U.matrix.toString()+"]"}),Ji({data:U.stream,additionalKeyValues:Ae,objectId:U.objectNumber}),X("endobj")},jw=function(U){for(var Q in U.objectNumber=yn(),X("<<"),U)switch(Q){case"opacity":X("/ca "+P(U[Q]));break;case"stroke-opacity":X("/CA "+P(U[Q]))}X(">>"),X("endobj")},cm=function(U){Sn(U.resourcesOid,!0),X("<<"),X("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var Q in X("/Font <<"),bt)bt.hasOwnProperty(Q)&&(p===!1||p===!0&&h.hasOwnProperty(Q))&&X("/"+Q+" "+bt[Q].objectNumber+" 0 R");X(">>")}(),function(){if(Object.keys(yt).length>0){for(var Q in X("/Shading <<"),yt)yt.hasOwnProperty(Q)&&yt[Q]instanceof dd&&yt[Q].objectNumber>=0&&X("/"+Q+" "+yt[Q].objectNumber+" 0 R");Rt.publish("putShadingPatternDict"),X(">>")}}(),function(Q){if(Object.keys(yt).length>0){for(var me in X("/Pattern <<"),yt)yt.hasOwnProperty(me)&&yt[me]instanceof f.TilingPattern&&yt[me].objectNumber>=0&&yt[me].objectNumber<Q&&X("/"+me+" "+yt[me].objectNumber+" 0 R");Rt.publish("putTilingPatternDict"),X(">>")}}(U.objectOid),function(){if(Object.keys(et).length>0){var Q;for(Q in X("/ExtGState <<"),et)et.hasOwnProperty(Q)&&et[Q].objectNumber>=0&&X("/"+Q+" "+et[Q].objectNumber+" 0 R");Rt.publish("putGStateDict"),X(">>")}}(),function(){for(var Q in X("/XObject <<"),pn)pn.hasOwnProperty(Q)&&pn[Q].objectNumber>=0&&X("/"+Q+" "+pn[Q].objectNumber+" 0 R");Rt.publish("putXobjectDict"),X(">>")}(),X(">>"),X("endobj")},qy=function(U){Et[U.fontName]=Et[U.fontName]||{},Et[U.fontName][U.fontStyle]=U.id},By=function(U,Q,me,be,Ae){var Fe={id:"F"+(Object.keys(bt).length+1).toString(10),postScriptName:U,fontName:Q,fontStyle:me,encoding:be,isStandardFont:Ae||!1,metadata:{}};return Rt.publish("addFont",{font:Fe,instance:this}),bt[Fe.id]=Fe,qy(Fe),Fe.id},es=f.__private__.pdfEscape=f.pdfEscape=function(U,Q){return function(me,be){var Ae,Fe,ze,mt,vt,Ot,Mt,an,Hn;if(ze=(be=be||{}).sourceEncoding||"Unicode",vt=be.outputEncoding,(be.autoencode||vt)&&bt[qe].metadata&&bt[qe].metadata[ze]&&bt[qe].metadata[ze].encoding&&(mt=bt[qe].metadata[ze].encoding,!vt&&bt[qe].encoding&&(vt=bt[qe].encoding),!vt&&mt.codePages&&(vt=mt.codePages[0]),typeof vt=="string"&&(vt=mt[vt]),vt)){for(Mt=!1,Ot=[],Ae=0,Fe=me.length;Ae<Fe;Ae++)(an=vt[me.charCodeAt(Ae)])?Ot.push(String.fromCharCode(an)):Ot.push(me[Ae]),Ot[Ae].charCodeAt(0)>>8&&(Mt=!0);me=Ot.join("")}for(Ae=me.length;Mt===void 0&&Ae!==0;)me.charCodeAt(Ae-1)>>8&&(Mt=!0),Ae--;if(!Mt)return me;for(Ot=be.noBOM?[]:[254,255],Ae=0,Fe=me.length;Ae<Fe;Ae++){if((Hn=(an=me.charCodeAt(Ae))>>8)>>8)throw new Error("Character at position "+Ae+" of string '"+me+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ot.push(Hn),Ot.push(an-(Hn<<8))}return String.fromCharCode.apply(void 0,Ot)}(U,Q).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},lm=f.__private__.beginPage=function(U){ke[++ot]=[],at[ot]={objId:0,contentsObjId:0,userUnit:Number(c),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(U[0]),topRightY:Number(U[1])}},$y(ot),W(ke[$])},zy=function(U,Q){var me,be,Ae;switch(n=Q||n,typeof U=="string"&&(me=g(U.toLowerCase()),Array.isArray(me)&&(be=me[0],Ae=me[1])),Array.isArray(U)&&(be=U[0]*Xe,Ae=U[1]*Xe),isNaN(be)&&(be=i[0],Ae=i[1]),(be>14400||Ae>14400)&&(Nn.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),be=Math.min(14400,be),Ae=Math.min(14400,Ae)),i=[be,Ae],n.substr(0,1)){case"l":Ae>be&&(i=[Ae,be]);break;case"p":be>Ae&&(i=[Ae,be])}lm(i),It(pm),X(Sp),hm!==0&&X(hm+" J"),mm!==0&&X(mm+" j"),Rt.publish("addPage",{pageNumber:ot})},um=function(U){U>0&&U<=ot&&(ke.splice(U,1),at.splice(U,1),ot--,$>ot&&($=ot),this.setPage($))},$y=function(U){U>0&&U<=ot&&($=U)},Wy=f.__private__.getNumberOfPages=f.getNumberOfPages=function(){return ke.length-1},Vy=function(U,Q,me){var be,Ae=void 0;return me=me||{},U=U!==void 0?U:bt[qe].fontName,Q=Q!==void 0?Q:bt[qe].fontStyle,be=U.toLowerCase(),Et[be]!==void 0&&Et[be][Q]!==void 0?Ae=Et[be][Q]:Et[U]!==void 0&&Et[U][Q]!==void 0?Ae=Et[U][Q]:me.disableWarning===!1&&Nn.warn("Unable to look up font label for font '"+U+"', '"+Q+"'. Refer to getFontList() for available fonts."),Ae||me.noFallback||(Ae=Et.times[Q])==null&&(Ae=Et.times.normal),Ae},jo=f.__private__.putInfo=function(){var U=yn(),Q=function(be){return be};for(var me in d!==null&&(Q=wr.encryptor(U,0)),X("<<"),X("/Producer ("+es(Q("jsPDF "+_t.version))+")"),We)We.hasOwnProperty(me)&&We[me]&&X("/"+me.substr(0,1).toUpperCase()+me.substr(1)+" ("+es(Q(We[me]))+")");X("/CreationDate ("+es(Q(q))+")"),X(">>"),X("endobj")},Np=f.__private__.putCatalog=function(U){var Q=(U=U||{}).rootDictionaryObjId||Zi;switch(yn(),X("<<"),X("/Type /Catalog"),X("/Pages "+Q+" 0 R"),Ne||(Ne="fullwidth"),Ne){case"fullwidth":X("/OpenAction [3 0 R /FitH null]");break;case"fullheight":X("/OpenAction [3 0 R /FitV null]");break;case"fullpage":X("/OpenAction [3 0 R /Fit]");break;case"original":X("/OpenAction [3 0 R /XYZ null null 1]");break;default:var me=""+Ne;me.substr(me.length-1)==="%"&&(Ne=parseInt(Ne)/100),typeof Ne=="number"&&X("/OpenAction [3 0 R /XYZ null null "+P(Ne)+"]")}switch(ve||(ve="continuous"),ve){case"continuous":X("/PageLayout /OneColumn");break;case"single":X("/PageLayout /SinglePage");break;case"two":case"twoleft":X("/PageLayout /TwoColumnLeft");break;case"tworight":X("/PageLayout /TwoColumnRight")}ce&&X("/PageMode /"+ce),Rt.publish("putCatalog"),X(">>"),X("endobj")},_w=f.__private__.putTrailer=function(){X("trailer"),X("<<"),X("/Size "+(ee+1)),X("/Root "+ee+" 0 R"),X("/Info "+(ee-1)+" 0 R"),d!==null&&X("/Encrypt "+wr.oid+" 0 R"),X("/ID [ <"+I+"> <"+I+"> ]"),X(">>")},gr=f.__private__.putHeader=function(){X("%PDF-"+v),X("%ºÃˆ ")},Hy=f.__private__.putXRef=function(){var U="0000000000";X("xref"),X("0 "+(ee+1)),X("0000000000 65535 f ");for(var Q=1;Q<=ee;Q++)typeof re[Q]=="function"?X((U+re[Q]()).slice(-10)+" 00000 n "):re[Q]!==void 0?X((U+re[Q]).slice(-10)+" 00000 n "):X("0000000000 00000 n ")},_o=f.__private__.buildDocument=function(){var U;ee=0,le=0,ae=[],re=[],ge=[],Zi=qn(),Ps=qn(),W(ae),Rt.publish("buildDocument"),gr(),wo(),function(){Rt.publish("putAdditionalObjects");for(var me=0;me<ge.length;me++){var be=ge[me];Sn(be.objId,!0),X(be.content),X("endobj")}Rt.publish("postPutAdditionalObjects")}(),U=[],function(){for(var me in bt)bt.hasOwnProperty(me)&&(p===!1||p===!0&&h.hasOwnProperty(me))&&qu(bt[me])}(),function(){var me;for(me in et)et.hasOwnProperty(me)&&jw(et[me])}(),function(){for(var me in pn)pn.hasOwnProperty(me)&&wp(pn[me])}(),function(me){var be;for(be in yt)yt.hasOwnProperty(be)&&(yt[be]instanceof dd?jp(yt[be]):yt[be]instanceof kf&&_p(yt[be],me))}(U),Rt.publish("putResources"),U.forEach(cm),cm({resourcesOid:Ps,objectOid:Number.MAX_SAFE_INTEGER}),Rt.publish("postPutResources"),d!==null&&(wr.oid=yn(),X("<<"),X("/Filter /Standard"),X("/V "+wr.v),X("/R "+wr.r),X("/U <"+wr.toHexString(wr.U)+">"),X("/O <"+wr.toHexString(wr.O)+">"),X("/P "+wr.P),X(">>"),X("endobj")),jo(),Np();var Q=le;return Hy(),_w(),X("startxref"),X(""+Q),X("%%EOF"),W(ke[$]),ae.join(` 1012`)},Cp=f.__private__.getBlob=function(U){return new Blob([ie(U)],{type:"application/pdf"})},Gy=f.output=f.__private__.output=(Qn=function(U,Q){switch(typeof(Q=Q||{})=="string"?Q={filename:Q}:Q.filename=Q.filename||"generated.pdf",U){case void 0:return _o();case"save":f.save(Q.filename);break;case"arraybuffer":return ie(_o());case"blob":return Cp(_o());case"bloburi":case"bloburl":if(Pt.URL!==void 0&&typeof Pt.URL.createObjectURL=="function")return Pt.URL&&Pt.URL.createObjectURL(Cp(_o()))||void 0;Nn.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var me="",be=_o();try{me=gL(be)}catch{me=gL(unescape(encodeURIComponent(be)))}return"data:application/pdf;filename="+Q.filename+";base64,"+me;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Pt)==="[object Window]"){var Ae="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Fe=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Q.pdfObjectUrl&&(Ae=Q.pdfObjectUrl,Fe="");var ze='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Ae+'"'+Fe+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Q)+");<\/script></body></html>",mt=Pt.open();return mt!==null&&mt.document.write(ze),mt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Pt)==="[object Window]"){var vt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Q.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Q.filename+'" width="500px" height="400px" /></body></html>',Ot=Pt.open();if(Ot!==null){Ot.document.write(vt);var Mt=this;Ot.document.documentElement.querySelector("#pdfViewer").onload=function(){Ot.document.title=Q.filename,Ot.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Mt.output("bloburl"))}}return Ot}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Pt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var an='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Q)+'"></iframe></body></html>',Hn=Pt.open();if(Hn!==null&&(Hn.document.write(an),Hn.document.title=Q.filename),Hn||typeof safari>"u")return Hn;break;case"datauri":case"dataurl":return Pt.document.location.href=this.output("datauristring",Q);default:return null}},Qn.foo=function(){try{return Qn.apply(this,arguments)}catch(me){var U=me.stack||"";~U.indexOf(" at ")&&(U=U.split(" at ")[1]);var Q="Error in function "+U.split(` 1013`)[0].split("<")[0]+": "+me.message;if(!Pt.console)throw new Error(Q);Pt.console.error(Q,me),Pt.alert&&alert(Q)}},Qn.foo.bar=Qn,Qn.foo),ts=function(U){return Array.isArray(oa)===!0&&oa.indexOf(U)>-1};switch(r){case"pt":Xe=1;break;case"mm":Xe=72/25.4;break;case"cm":Xe=72/2.54;break;case"in":Xe=72;break;case"px":Xe=ts("px_scaling")==1?.75:96/72;break;case"pc":case"em":Xe=12;break;case"ex":Xe=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);Xe=r}var wr=null;V(),M();var tc=f.__private__.getPageInfo=f.getPageInfo=function(U){if(isNaN(U)||U%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:at[U].objId,pageNumber:U,pageContext:at[U]}},Xy=f.__private__.getPageInfoByObjId=function(U){if(isNaN(U)||U%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Q in at)if(at[Q].objId===U)break;return tc(Q)},Nw=f.__private__.getCurrentPageInfo=f.getCurrentPageInfo=function(){return{objId:at[$].objId,pageNumber:$,pageContext:at[$]}};f.addPage=function(){return zy.apply(this,arguments),this},f.setPage=function(){return $y.apply(this,arguments),W.call(this,ke[$]),this},f.insertPage=function(U){return this.addPage(),this.movePage($,U),this},f.movePage=function(U,Q){var me,be;if(U>Q){me=ke[U],be=at[U];for(var Ae=U;Ae>Q;Ae--)ke[Ae]=ke[Ae-1],at[Ae]=at[Ae-1];ke[Q]=me,at[Q]=be,this.setPage(Q)}else if(U<Q){me=ke[U],be=at[U];for(var Fe=U;Fe<Q;Fe++)ke[Fe]=ke[Fe+1],at[Fe]=at[Fe+1];ke[Q]=me,at[Q]=be,this.setPage(Q)}return this},f.deletePage=function(){return um.apply(this,arguments),this},f.__private__.text=f.text=function(U,Q,me,be,Ae){var Fe,ze,mt,vt,Ot,Mt,an,Hn,xr,Dn=(be=be||{}).scope||this;if(typeof U=="number"&&typeof Q=="number"&&(typeof me=="string"||Array.isArray(me))){var jr=me;me=Q,Q=U,U=jr}if(arguments[3]instanceof jt==0?(mt=arguments[4],vt=arguments[5],mn(an=arguments[3])==="object"&&an!==null||(typeof mt=="string"&&(vt=mt,mt=null),typeof an=="string"&&(vt=an,an=null),typeof an=="number"&&(mt=an,an=null),be={flags:an,angle:mt,align:vt})):(S("The transform parameter of text() with a Matrix value"),xr=Ae),isNaN(Q)||isNaN(me)||U==null)throw new Error("Invalid arguments passed to jsPDF.text");if(U.length===0)return Dn;var yr,Hr="",cc=typeof be.lineHeightFactor=="number"?be.lineHeightFactor:zu,Is=Dn.internal.scaleFactor;function lc(ln){return ln=ln.split(" ").join(Array(be.TabLen||9).join(" ")),es(ln,an)}function vm(ln){for(var jn,or=ln.concat(),_r=[],pc=or.length;pc--;)typeof(jn=or.shift())=="string"?_r.push(jn):Array.isArray(ln)&&(jn.length===1||jn[1]===void 0&&jn[2]===void 0)?_r.push(jn[0]):_r.push([jn[0],jn[1],jn[2]]);return _r}function Ap(ln,jn){var or;if(typeof ln=="string")or=jn(ln)[0];else if(Array.isArray(ln)){for(var _r,pc,Am=ln.concat(),Pp=[],iv=Am.length;iv--;)typeof(_r=Am.shift())=="string"?Pp.push(jn(_r)[0]):Array.isArray(_r)&&typeof _r[0]=="string"&&(pc=jn(_r[0],_r[1],_r[2]),Pp.push([pc[0],pc[1],pc[2]]));or=Pp}return or}var ol=!1,Hu=!0;if(typeof U=="string")ol=!0;else if(Array.isArray(U)){var Gu=U.concat();ze=[];for(var cl,Gr=Gu.length;Gr--;)(typeof(cl=Gu.shift())!="string"||Array.isArray(cl)&&typeof cl[0]!="string")&&(Hu=!1);ol=Hu}if(ol===!1)throw new Error('Type of text must be string or Array. "'+U+'" is not recognized.');typeof U=="string"&&(U=U.match(/[\r?\n]/)?U.split(/\r\n|\r|\n/g):[U]);var Xu=oe/Dn.internal.scaleFactor,Ku=Xu*(cc-1);switch(be.baseline){case"bottom":me-=Ku;break;case"top":me+=Xu-Ku;break;case"hanging":me+=Xu-2*Ku;break;case"middle":me+=Xu/2-Ku}if((Mt=be.maxWidth||0)>0&&(typeof U=="string"?U=Dn.splitTextToSize(U,Mt):Object.prototype.toString.call(U)==="[object Array]"&&(U=U.reduce(function(ln,jn){return ln.concat(Dn.splitTextToSize(jn,Mt))},[]))),Fe={text:U,x:Q,y:me,options:be,mutex:{pdfEscape:es,activeFontKey:qe,fonts:bt,activeFontSize:oe}},Rt.publish("preProcessText",Fe),U=Fe.text,mt=(be=Fe.options).angle,xr instanceof jt==0&&mt&&typeof mt=="number"){mt*=Math.PI/180,be.rotationDirection===0&&(mt=-mt),_===b&&(mt=-mt);var bm=Math.cos(mt),wm=Math.sin(mt);xr=new jt(bm,wm,-wm,bm,0,0)}else mt&&mt instanceof jt&&(xr=mt);_!==b||xr||(xr=Or),(Ot=be.charSpace||ac)!==void 0&&(Hr+=w(R(Ot))+` Tc 1014`,this.setCharSpace(this.getCharSpace()||0)),(Hn=be.horizontalScale)!==void 0&&(Hr+=w(100*Hn)+` Tz 1015`),be.lang;var Pa=-1,uc=be.renderingMode!==void 0?be.renderingMode:be.stroke,kp=Dn.internal.getCurrentPageInfo().pageContext;switch(uc){case 0:case!1:case"fill":Pa=0;break;case 1:case!0:case"stroke":Pa=1;break;case 2:case"fillThenStroke":Pa=2;break;case 3:case"invisible":Pa=3;break;case 4:case"fillAndAddForClipping":Pa=4;break;case 5:case"strokeAndAddPathForClipping":Pa=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Pa=6;break;case 7:case"addToPathForClipping":Pa=7}var rv=kp.usedRenderingMode!==void 0?kp.usedRenderingMode:-1;Pa!==-1?Hr+=Pa+` Tr 1016`:rv!==-1&&(Hr+=`0 Tr 1017`),Pa!==-1&&(kp.usedRenderingMode=Pa),vt=be.align||"left";var ns,Yu=oe*cc,jm=Dn.internal.pageSize.getWidth(),_m=bt[qe];Ot=be.charSpace||ac,Mt=be.maxWidth||0,an=Object.assign({autoencode:!0,noBOM:!0},be.flags);var ll=[],Qu=function(ln){return Dn.getStringUnitWidth(ln,{font:_m,charSpace:Ot,fontSize:oe,doKerning:!1})*oe/Is};if(Object.prototype.toString.call(U)==="[object Array]"){var ji;ze=vm(U),vt!=="left"&&(ns=ze.map(Qu));var _i,ul=0;if(vt==="right"){Q-=ns[0],U=[],Gr=ze.length;for(var dc=0;dc<Gr;dc++)dc===0?(_i=nc(Q),ji=rc(me)):(_i=R(ul-ns[dc]),ji=-Yu),U.push([ze[dc],_i,ji]),ul=ns[dc]}else if(vt==="center"){Q-=ns[0]/2,U=[],Gr=ze.length;for(var dl=0;dl<Gr;dl++)dl===0?(_i=nc(Q),ji=rc(me)):(_i=R((ul-ns[dl])/2),ji=-Yu),U.push([ze[dl],_i,ji]),ul=ns[dl]}else if(vt==="left"){U=[],Gr=ze.length;for(var Nm=0;Nm<Gr;Nm++)U.push(ze[Nm])}else if(vt==="justify"&&_m.encoding==="Identity-H"){U=[],Gr=ze.length,Mt=Mt!==0?Mt:jm;for(var Tp=0,sr=0;sr<Gr;sr++)if(ji=sr===0?rc(me):-Yu,_i=sr===0?nc(Q):Tp,sr<Gr-1){var av=R((Mt-ns[sr])/(ze[sr].split(" ").length-1)),Co=ze[sr].split(" ");U.push([Co[0]+" ",_i,ji]),Tp=0;for(var Eo=1;Eo<Co.length;Eo++){var Cm=(Qu(Co[Eo-1]+" "+Co[Eo])-Qu(Co[Eo]))*Is+av;Eo==Co.length-1?U.push([Co[Eo],Cm,0]):U.push([Co[Eo]+" ",Cm,0]),Tp-=Cm}}else U.push([ze[sr],_i,ji]);U.push(["",Tp,0])}else{if(vt!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(U=[],Gr=ze.length,Mt=Mt!==0?Mt:jm,sr=0;sr<Gr;sr++){ji=sr===0?rc(me):-Yu,_i=sr===0?nc(Q):0;var Em=ze[sr].split(" ").length-1,Sm=Em>0?(Mt-ns[sr])/Em:0;sr<Gr-1?ll.push(w(R(Sm))):ll.push(0),U.push([ze[sr],_i,ji])}}}(typeof be.R2L=="boolean"?be.R2L:ye)===!0&&(U=Ap(U,function(ln,jn,or){return[ln.split("").reverse().join(""),jn,or]})),Fe={text:U,x:Q,y:me,options:be,mutex:{pdfEscape:es,activeFontKey:qe,fonts:bt,activeFontSize:oe}},Rt.publish("postProcessText",Fe),U=Fe.text,yr=Fe.mutex.isHex||!1;var Dm=bt[qe].encoding;Dm!=="WinAnsiEncoding"&&Dm!=="StandardEncoding"||(U=Ap(U,function(ln,jn,or){return[lc(ln),jn,or]})),ze=vm(U),U=[];for(var pl,fl,hl,Zu=Array.isArray(ze[0])?1:0,ml="",Ju=function(ln,jn,or){var _r="";return or instanceof jt?(or=typeof be.angle=="number"?wn(or,new jt(1,0,0,1,ln,jn)):wn(new jt(1,0,0,1,ln,jn),or),_===b&&(or=wn(new jt(1,0,0,-1,0,0),or)),_r=or.join(" ")+` Tm 1018`):_r=w(ln)+" "+w(jn)+` Td 1019`,_r},rs=0;rs<ze.length;rs++){switch(ml="",Zu){case 1:hl=(yr?"<":"(")+ze[rs][0]+(yr?">":")"),pl=parseFloat(ze[rs][1]),fl=parseFloat(ze[rs][2]);break;case 0:hl=(yr?"<":"(")+ze[rs]+(yr?">":")"),pl=nc(Q),fl=rc(me)}ll!==void 0&&ll[rs]!==void 0&&(ml=ll[rs]+` Tw 1020`),rs===0?U.push(ml+Ju(pl,fl,xr)+hl):Zu===0?U.push(ml+hl):Zu===1&&U.push(ml+Ju(pl,fl,xr)+hl)}U=Zu===0?U.join(` Tj 1021T* `):U.join(` Tj 1022`),U+=` Tj 1023`;var So=`BT 1024/`;return So+=qe+" "+oe+` Tf 1025`,So+=w(oe*cc)+` TL 1026`,So+=$u+` 1027`,So+=Hr,So+=U,X(So+="ET"),h[qe]=!0,Dn};var Cw=f.__private__.clip=f.clip=function(U){return X(U==="evenodd"?"W*":"W"),this};f.clipEvenOdd=function(){return Cw("evenodd")},f.__private__.discardPath=f.discardPath=function(){return X("n"),this};var No=f.__private__.isValidStyle=function(U){var Q=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(U)!==-1&&(Q=!0),Q};f.__private__.setDefaultPathOperation=f.setDefaultPathOperation=function(U){return No(U)&&(u=U),this};var Ky=f.__private__.getStyle=f.getStyle=function(U){var Q=u;switch(U){case"D":case"S":Q="S";break;case"F":Q="f";break;case"FD":case"DF":Q="B";break;case"f":case"f*":case"B":case"B*":Q=U}return Q},Yy=f.close=function(){return X("h"),this};f.stroke=function(){return X("S"),this},f.fill=function(U){return Ep("f",U),this},f.fillEvenOdd=function(U){return Ep("f*",U),this},f.fillStroke=function(U){return Ep("B",U),this},f.fillStrokeEvenOdd=function(U){return Ep("B*",U),this};var Ep=function(U,Q){mn(Q)==="object"?Sw(Q,U):X(U)},Bu=function(U){U===null||_===b&&U===void 0||(U=Ky(U),X(U))};function Ew(U,Q,me,be,Ae){var Fe=new kf(Q||this.boundingBox,me||this.xStep,be||this.yStep,this.gState,Ae||this.matrix);Fe.stream=this.stream;var ze=U+"$$"+this.cloneIndex+++"$$";return Vn(ze,Fe),Fe}var Sw=function(U,Q){var me=st[U.key],be=yt[me];if(be instanceof dd)X("q"),X(Dw(Q)),be.gState&&f.setGState(be.gState),X(U.matrix.toString()+" cm"),X("/"+me+" sh"),X("Q");else if(be instanceof kf){var Ae=new jt(1,0,0,-1,0,Vu());U.matrix&&(Ae=Ae.multiply(U.matrix||Or),me=Ew.call(be,U.key,U.boundingBox,U.xStep,U.yStep,Ae).id),X("q"),X("/Pattern cs"),X("/"+me+" scn"),be.gState&&f.setGState(be.gState),X(Q),X("Q")}},Dw=function(U){switch(U){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},dm=f.moveTo=function(U,Q){return X(w(R(U))+" "+w(N(Q))+" m"),this},Qy=f.lineTo=function(U,Q){return X(w(R(U))+" "+w(N(Q))+" l"),this},Os=f.curveTo=function(U,Q,me,be,Ae,Fe){return X([w(R(U)),w(N(Q)),w(R(me)),w(N(be)),w(R(Ae)),w(N(Fe)),"c"].join(" ")),this};f.__private__.line=f.line=function(U,Q,me,be,Ae){if(isNaN(U)||isNaN(Q)||isNaN(me)||isNaN(be)||!No(Ae))throw new Error("Invalid arguments passed to jsPDF.line");return _===x?this.lines([[me-U,be-Q]],U,Q,[1,1],Ae||"S"):this.lines([[me-U,be-Q]],U,Q,[1,1]).stroke()},f.__private__.lines=f.lines=function(U,Q,me,be,Ae,Fe){var ze,mt,vt,Ot,Mt,an,Hn,xr,Dn,jr,yr,Hr;if(typeof U=="number"&&(Hr=me,me=Q,Q=U,U=Hr),be=be||[1,1],Fe=Fe||!1,isNaN(Q)||isNaN(me)||!Array.isArray(U)||!Array.isArray(be)||!No(Ae)||typeof Fe!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(dm(Q,me),ze=be[0],mt=be[1],Ot=U.length,jr=Q,yr=me,vt=0;vt<Ot;vt++)(Mt=U[vt]).length===2?(jr=Mt[0]*ze+jr,yr=Mt[1]*mt+yr,Qy(jr,yr)):(an=Mt[0]*ze+jr,Hn=Mt[1]*mt+yr,xr=Mt[2]*ze+jr,Dn=Mt[3]*mt+yr,jr=Mt[4]*ze+jr,yr=Mt[5]*mt+yr,Os(an,Hn,xr,Dn,jr,yr));return Fe&&Yy(),Bu(Ae),this},f.path=function(U){for(var Q=0;Q<U.length;Q++){var me=U[Q],be=me.c;switch(me.op){case"m":dm(be[0],be[1]);break;case"l":Qy(be[0],be[1]);break;case"c":Os.apply(this,be);break;case"h":Yy()}}return this},f.__private__.rect=f.rect=function(U,Q,me,be,Ae){if(isNaN(U)||isNaN(Q)||isNaN(me)||isNaN(be)||!No(Ae))throw new Error("Invalid arguments passed to jsPDF.rect");return _===x&&(be=-be),X([w(R(U)),w(N(Q)),w(R(me)),w(R(be)),"re"].join(" ")),Bu(Ae),this},f.__private__.triangle=f.triangle=function(U,Q,me,be,Ae,Fe,ze){if(isNaN(U)||isNaN(Q)||isNaN(me)||isNaN(be)||isNaN(Ae)||isNaN(Fe)||!No(ze))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[me-U,be-Q],[Ae-me,Fe-be],[U-Ae,Q-Fe]],U,Q,[1,1],ze,!0),this},f.__private__.roundedRect=f.roundedRect=function(U,Q,me,be,Ae,Fe,ze){if(isNaN(U)||isNaN(Q)||isNaN(me)||isNaN(be)||isNaN(Ae)||isNaN(Fe)||!No(ze))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var mt=4/3*(Math.SQRT2-1);return Ae=Math.min(Ae,.5*me),Fe=Math.min(Fe,.5*be),this.lines([[me-2*Ae,0],[Ae*mt,0,Ae,Fe-Fe*mt,Ae,Fe],[0,be-2*Fe],[0,Fe*mt,-Ae*mt,Fe,-Ae,Fe],[2*Ae-me,0],[-Ae*mt,0,-Ae,-Fe*mt,-Ae,-Fe],[0,2*Fe-be],[0,-Fe*mt,Ae*mt,-Fe,Ae,-Fe]],U+Ae,Q,[1,1],ze,!0),this},f.__private__.ellipse=f.ellipse=function(U,Q,me,be,Ae){if(isNaN(U)||isNaN(Q)||isNaN(me)||isNaN(be)||!No(Ae))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Fe=4/3*(Math.SQRT2-1)*me,ze=4/3*(Math.SQRT2-1)*be;return dm(U+me,Q),Os(U+me,Q-ze,U+Fe,Q-be,U,Q-be),Os(U-Fe,Q-be,U-me,Q-ze,U-me,Q),Os(U-me,Q+ze,U-Fe,Q+be,U,Q+be),Os(U+Fe,Q+be,U+me,Q+ze,U+me,Q),Bu(Ae),this},f.__private__.circle=f.circle=function(U,Q,me,be){if(isNaN(U)||isNaN(Q)||isNaN(me)||!No(be))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(U,Q,me,me,be)},f.setFont=function(U,Q,me){return me&&(Q=A(Q,me)),qe=Vy(U,Q,{disableWarning:!1}),this};var Aw=f.__private__.getFont=f.getFont=function(){return bt[Vy.apply(f,arguments)]};f.__private__.getFontList=f.getFontList=function(){var U,Q,me={};for(U in Et)if(Et.hasOwnProperty(U))for(Q in me[U]=[],Et[U])Et[U].hasOwnProperty(Q)&&me[U].push(Q);return me},f.addFont=function(U,Q,me,be,Ae){var Fe=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Fe.indexOf(arguments[3])!==-1?Ae=arguments[3]:arguments[3]&&Fe.indexOf(arguments[3])==-1&&(me=A(me,be)),By.call(this,U,Q,me,Ae=Ae||"Identity-H")};var zu,pm=e.lineWidth||.200025,kw=f.__private__.getLineWidth=f.getLineWidth=function(){return pm},It=f.__private__.setLineWidth=f.setLineWidth=function(U){return pm=U,X(w(R(U))+" w"),this};f.__private__.setLineDash=_t.API.setLineDash=_t.API.setLineDashPattern=function(U,Q){if(U=U||[],Q=Q||0,isNaN(Q)||!Array.isArray(U))throw new Error("Invalid arguments passed to
1027jsPDF.setLineDash");return U=U.map(function(me){return w(R(me))}).join(" "),Q=w(R(Q)),X("["+U+"] "+Q+" d"),this};var Tw=f.__private__.getLineHeight=f.getLineHeight=function(){return oe*zu};f.__private__.getLineHeight=f.getLineHeight=function(){return oe*zu};var Pw=f.__private__.setLineHeightFactor=f.setLineHeightFactor=function(U){return typeof(U=U||1.15)=="number"&&(zu=U),this},Lw=f.__private__.getLineHeightFactor=f.getLineHeightFactor=function(){return zu};Pw(e.lineHeight);var nc=f.__private__.getHorizontalCoordinate=function(U){return R(U)},rc=f.__private__.getVerticalCoordinate=function(U){return _===b?U:at[$].mediaBox.topRightY-at[$].mediaBox.bottomLeftY-R(U)},Rw=f.__private__.getHorizontalCoordinateString=f.getHorizontalCoordinateString=function(U){return w(nc(U))},Ow=f.__private__.getVerticalCoordinateString=f.getVerticalCoordinateString=function(U){return w(rc(U))},Sp=e.strokeColor||"0 G";f.__private__.getStrokeColor=f.getDrawColor=function(){return bo(Sp)},f.__private__.setStrokeColor=f.setDrawColor=function(U,Q,me,be){return Sp=Ls({ch1:U,ch2:Q,ch3:me,ch4:be,pdfColorType:"draw",precision:2}),X(Sp),this};var fm=e.fillColor||"0 g";f.__private__.getFillColor=f.getFillColor=function(){return bo(fm)},f.__private__.setFillColor=f.setFillColor=function(U,Q,me,be){return fm=Ls({ch1:U,ch2:Q,ch3:me,ch4:be,pdfColorType:"fill",precision:2}),X(fm),this};var $u=e.textColor||"0 g",Iw=f.__private__.getTextColor=f.getTextColor=function(){return bo($u)};f.__private__.setTextColor=f.setTextColor=function(U,Q,me,be){return $u=Ls({ch1:U,ch2:Q,ch3:me,ch4:be,pdfColorType:"text",precision:3}),this};var ac=e.charSpace,Uw=f.__private__.getCharSpace=f.getCharSpace=function(){return parseFloat(ac||0)};f.__private__.setCharSpace=f.setCharSpace=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return ac=U,this};var hm=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(U){var Q=f.CapJoinStyles[U];if(Q===void 0)throw new Error("Line cap style of '"+U+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hm=Q,X(Q+" J"),this};var mm=0;f.__private__.setLineJoin=f.setLineJoin=function(U){var Q=f.CapJoinStyles[U];if(Q===void 0)throw new Error("Line join style of '"+U+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return mm=Q,X(Q+" j"),this},f.__private__.setLineMiterLimit=f.__private__.setMiterLimit=f.setLineMiterLimit=f.setMiterLimit=function(U){if(U=U||0,isNaN(U))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return X(w(R(U))+" M"),this},f.GState=u1,f.setGState=function(U){(U=typeof U=="string"?et[rt[U]]:Zy(null,U)).equals(Vt)||(X("/"+U.id+" gs"),Vt=U)};var Zy=function(U,Q){if(!U||!rt[U]){var me=!1;for(var be in et)if(et.hasOwnProperty(be)&&et[be].equals(Q)){me=!0;break}if(me)Q=et[be];else{var Ae="GS"+(Object.keys(et).length+1).toString(10);et[Ae]=Q,Q.id=Ae}return U&&(rt[U]=Q.id),Rt.publish("addGState",Q),Q}};f.addGState=function(U,Q){return Zy(U,Q),this},f.saveGraphicsState=function(){return X("q"),At.push({key:qe,size:oe,color:$u}),this},f.restoreGraphicsState=function(){X("Q");var U=At.pop();return qe=U.key,oe=U.size,$u=U.color,Vt=null,this},f.setCurrentTransformationMatrix=function(U){return X(U.toString()+" cm"),this},f.comment=function(U){return X("#"+U),this};var ic=function(U,Q){var me=U||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return me},set:function(Fe){isNaN(Fe)||(me=parseFloat(Fe))}});var be=Q||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return be},set:function(Fe){isNaN(Fe)||(be=parseFloat(Fe))}});var Ae="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Ae},set:function(Fe){Ae=Fe.toString()}}),this},gm=function(U,Q,me,be){ic.call(this,U,Q),this.type="rect";var Ae=me||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Ae},set:function(ze){isNaN(ze)||(Ae=parseFloat(ze))}});var Fe=be||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Fe},set:function(ze){isNaN(ze)||(Fe=parseFloat(ze))}}),this},Dp=function(){this.page=ot,this.currentPage=$,this.pages=ke.slice(0),this.pagesContext=at.slice(0),this.x=Ve,this.y=Ct,this.matrix=ct,this.width=ym($),this.height=ev($),this.outputDestination=we,this.id="",this.objectNumber=-1};Dp.prototype.restore=function(){ot=this.page,$=this.currentPage,at=this.pagesContext,ke=this.pages,Ve=this.x,Ct=this.y,ct=this.matrix,Jy($,this.width),sc($,this.height),we=this.outputDestination};
vendor: 4,816 bytes, line 1027
1027var xm=function(U,Q,me,be,Ae){ir.push(new Dp),ot=$=0,ke=[],Ve=U,Ct=Q,ct=Ae,lm([me,be])};for(var Wu in f.beginFormObject=function(U,Q,me,be,Ae){return xm(U,Q,me,be,Ae),this},f.endFormObject=function(U){return function(Q){if(Wn[Q])ir.pop().restore();else{var me=new Dp,be="Xo"+(Object.keys(pn).length+1).toString(10);me.id=be,Wn[Q]=be,pn[be]=me,Rt.publish("addFormObject",me),ir.pop().restore()}}(U),this},f.doFormObject=function(U,Q){var me=pn[Wn[U]];return X("q"),X(Q.toString()+" cm"),X("/"+me.id+" Do"),X("Q"),this},f.getFormObject=function(U){var Q=pn[Wn[U]];return{x:Q.x,y:Q.y,width:Q.width,height:Q.height,matrix:Q.matrix}},f.save=function(U,Q){return U=U||"generated.pdf",(Q=Q||{}).returnPromise=Q.returnPromise||!1,Q.returnPromise===!1?(cd(Cp(_o()),U),typeof cd.unload=="function"&&Pt.setTimeout&&setTimeout(cd.unload,911),this):new Promise(function(me,be){try{var Ae=cd(Cp(_o()),U);typeof cd.unload=="function"&&Pt.setTimeout&&setTimeout(cd.unload,911),me(Ae)}catch(Fe){be(Fe.message)}})},_t.API)_t.API.hasOwnProperty(Wu)&&(Wu==="events"&&_t.API.events.length?function(U,Q){var me,be,Ae;for(Ae=Q.length-1;Ae!==-1;Ae--)me=Q[Ae][0],be=Q[Ae][1],U.subscribe.apply(U,[me].concat(typeof be=="function"?[be]:be))}(Rt,_t.API.events):f[Wu]=_t.API[Wu]);function ym(U){return at[U].mediaBox.topRightX-at[U].mediaBox.bottomLeftX}function Jy(U,Q){at[U].mediaBox.topRightX=Q+at[U].mediaBox.bottomLeftX}function ev(U){return at[U].mediaBox.topRightY-at[U].mediaBox.bottomLeftY}function sc(U,Q){at[U].mediaBox.topRightY=Q+at[U].mediaBox.bottomLeftY}var oc=f.getPageWidth=function(U){return ym(U=U||$)/Xe},tv=f.setPageWidth=function(U,Q){Jy(U,Q*Xe)},Vu=f.getPageHeight=function(U){return ev(U=U||$)/Xe},nv=f.setPageHeight=function(U,Q){sc(U,Q*Xe)};return f.internal={pdfEscape:es,getStyle:Ky,getFont:Aw,getFontSize:De,getCharSpace:Uw,getTextColor:Iw,getLineHeight:Tw,getLineHeightFactor:Lw,getLineWidth:kw,write:pe,getHorizontalCoordinate:nc,getVerticalCoordinate:rc,getCoordinateString:Rw,getVerticalCoordinateString:Ow,collections:{},newObject:yn,newAdditionalObject:wi,newObjectDeferred:qn,newObjectDeferredBegin:Sn,getFilters:Rs,putStream:Ji,events:Rt,scaleFactor:Xe,pageSize:{getWidth:function(){return oc($)},setWidth:function(U){tv($,U)},getHeight:function(){return Vu($)},setHeight:function(U){nv($,U)}},encryptionOptions:d,encryption:wr,getEncryptor:function(U){return d!==null?wr.encryptor(U,0):function(Q){return Q}},output:Gy,getNumberOfPages:Wy,get pages(){return ke},out:X,f2:P,f3:D,getPageInfo:tc,getPageInfoByObjId:Xy,getCurrentPageInfo:Nw,getPDFVersion:m,Point:ic,Rectangle:gm,Matrix:jt,hasHotfix:ts},Object.defineProperty(f.internal.pageSize,"width",{get:function(){return oc($)},set:function(U){tv($,U)},enumerable:!0,configurable:!0}),Object.defineProperty(f.internal.pageSize,"height",{get:function(){return Vu($)},set:function(U){nv($,U)},enumerable:!0,configurable:!0}),(function(U){for(var Q=0,me=te.length;Q<me;Q++){var be=By.call(this,U[Q][0],U[Q][1],U[Q][2],te[Q][3],!0);p===!1&&(h[be]=!0);var Ae=U[Q][0].split("-");qy({id:be,fontName:Ae[0],fontStyle:Ae[1]||""})}Rt.publish("addFonts",{fonts:bt,dictionary:Et})}).call(f,te),qe="F1",zy(i,n),Rt.publish("initialized"),f}uf.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},uf.prototype.toHexString=function(e){return e.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},uf.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("")},uf.prototype.processOwnerPassword=function(e,t){return yC(xC(t).substr(0,5),e)},uf.prototype.encryptor=function(e,t){var n=xC(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(r){return yC(n,r)}},u1.prototype.equals=function(e){var t,n="id,objectNumber,equals";if(!e||mn(e)!==mn(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},_t.API={events:[]},_t.version="3.0.4";var nr=_t.API,ED=1,vp=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ef=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ut=function(e){return e.toFixed(2)},kl=function(e){return e.toFixed(5)};nr.__acroform__={};var vi=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},bL=function(e){return e*ED},ko=function(e){var t=new fV,n=ht.internal.getHeight(e)||0,r=ht.internal.getWidth(e)||0;return t.BBox=[0,0,Number(Ut(r)),Number(Ut(n))],t},rbe=nr.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to
1027jsPDF.API.__acroform__.setBit");return e|1<<t},abe=nr.__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)},ibe=nr.__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},dr=nr.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return ibe(e,t-1)},pr=nr.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return rbe(e,t-1)},fr=nr.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return abe(e,t-1)},sbe=nr.__acroform__.calculateCoordinates=function(e,t){var n=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,i=e[0],s=e[1],o=e[2],c=e[3],l={};return l.lowerLeft_X=n(i)||0,l.lowerLeft_Y=r(s+c)||0,l.upperRight_X=n(i+o)||0,l.upperRight_Y=r(s)||0,[Number(Ut(l.lowerLeft_X)),Number(Ut(l.lowerLeft_Y)),Number(Ut(l.upperRight_X)),Number(Ut(l.upperRight_Y))]},obe=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e._V||e.DV,r=vC(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+" "+Ut(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 s=ko(e);return s.scope=e.scope,s.stream=t.join(` 1028`),s}},vC=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(P){return P.split(` 1029`)}):i.map(function(P){return[P]});var s=n,o=ht.internal.getHeight(e)||0;o=o<0?-o:o;var c=ht.internal.getWidth(e)||0;c=c<0?-c:c;var l=function(P,D,R){if(P+1<i.length){var N=D+" "+i[P+1][0];return yb(N,e,R).width<=c-4}return!1};s++;e:for(;s>0;){t="",s--;var u,d,p=yb("3",e,s).height,h=e.multiline?o-s:(o-p)/2,f=h+=2,v=0,m=0,y=0;if(s<=0){t=`(...) Tj 1030`,t+="% Width of Text: "+yb(t,e,s=12).width+", FieldWidth:"+c+` 1031`;break}for(var g="",x=0,b=0;b<i.length;b++)if(i.hasOwnProperty(b)){var _=!1;if(i[b].length!==1&&y!==i[b].length-1){if((p+2)*(x+2)+2>o)continue e;g+=i[b][y],_=!0,m=b,b--}else{g=(g+=i[b][y]+" ").substr(g.length-1)==" "?g.substr(0,g.length-1):g;var E=parseInt(b),T=l(E,g,s),A=b>=i.length-1;if(T&&!A){g+=" ",y=0;continue}if(T||A){if(A)m=E;else if(e.multiline&&(p+2)*(x+2)+2>o)continue e}else{if(!e.multiline||(p+2)*(x+2)+2>o)continue e;m=E}}for(var w="",S=v;S<=m;S++){var k=i[S];if(e.multiline){if(S===m){w+=k[y]+" ",y=(y+1)%k.length;continue}if(S===v){w+=k[k.length-1]+" ";continue}}w+=k[0]+" "}switch(w=w.substr(w.length-1)==" "?w.substr(0,w.length-1):w,d=yb(w,e,s).width,e.textAlign){case"right":u=c-d-2;break;case"center":u=(c-d)/2;break;default:u=2}t+=Ut(u)+" "+Ut(f)+` Td 1032`,t+="("+vp(w)+`) Tj 1033`,t+=-Ut(u)+` 0 Td 1034`,f=-(s+2),d=0,v=_?m:m+1,x++,g=""}break}return r.text=t,r.fontSize=s,r},yb=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}},cbe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},lbe=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)},ube=function(e,t){if(t.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(yo.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(cbe)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ED=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new hV,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 s=r[i];
vendor: 32,720 bytes, lines 1034-1046
1034s.objId=void 0,s.hasAnnotation&&lbe(s,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 s=!r;for(var o 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(o)){var c=r[o],l=[],u=c.Rect;if(c.Rect&&(c.Rect=sbe(c.Rect,i)),i.internal.newObjectDeferredBegin(c.objId,!0),c.DA=ht.createDefaultAppearanceStream(c),mn(c)==="object"&&typeof c.getKeyValueListForStream=="function"&&(l=c.getKeyValueListForStream()),c.Rect=u,c.hasAppearanceStream&&!c.appearanceStreamContent){var d=obe(c);l.push({key:"AP",value:"<</N "+d+">>"}),i.internal.acroformPlugin.xForms.push(d)}if(c.appearanceStreamContent){var p="";for(var h in c.appearanceStreamContent)if(c.appearanceStreamContent.hasOwnProperty(h)){var f=c.appearanceStreamContent[h];if(p+="/"+h+" ",p+="<<",Object.keys(f).length>=1||Array.isArray(f)){for(var o in f)if(f.hasOwnProperty(o)){var v=f[o];typeof v=="function"&&(v=v.call(i,c)),p+="/"+o+" "+v+" ",i.internal.acroformPlugin.xForms.indexOf(v)>=0||i.internal.acroformPlugin.xForms.push(v)}}else typeof(v=f)=="function"&&(v=v.call(i,c)),p+="/"+o+" "+v,i.internal.acroformPlugin.xForms.indexOf(v)>=0||i.internal.acroformPlugin.xForms.push(v);p+=">>"}l.push({key:"AP",value:`<< 1035`+p+">>"})}i.internal.putStream({additionalKeyValues:l,objectId:c.objId}),i.internal.out("endobj")}s&&function(m,y){for(var g in m)if(m.hasOwnProperty(g)){var x=g,b=m[g];y.internal.newObjectDeferredBegin(b.objId,!0),mn(b)==="object"&&typeof b.putStream=="function"&&b.putStream(),delete m[x]}}(i.internal.acroformPlugin.xForms,i)})(n,e)}),e.internal.acroformPlugin.isInitialized=!0}},pV=nr.__acroform__.arrayToPdfArray=function(e,t,n){var r=function(o){return o};if(Array.isArray(e)){for(var i="[",s=0;s<e.length;s++)switch(s!==0&&(i+=" "),mn(e[s])){case"boolean":case"number":case"object":i+=e[s].toString();break;case"string":e[s].substr(0,1)!=="/"?(t!==void 0&&n&&(r=n.internal.getEncryptor(t)),i+="("+vp(r(e[s].toString()))+")"):i+=e[s].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},O_=function(e,t,n){var r=function(i){return i};return t!==void 0&&n&&(r=n.internal.getEncryptor(t)),(e=e||"").toString(),"("+vp(r(e))+")"},Fo=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})};Fo.prototype.toString=function(){return this.objId+" 0 R"},Fo.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},Fo.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(s){return s!="content"&&s!="appearanceStreamContent"&&s!="scope"&&s!="objId"&&s.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:pV(i,this.objId,this.scope)}):i instanceof Fo?(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 fV=function(){Fo.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}})};vi(fV,Fo);var hV=function(){Fo.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)),"("+vp(n(e))+")"}},set:function(n){e=n}})};vi(hV,Fo);var yo=function e(){Fo.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(g){if(isNaN(g))throw new Error('Invalid value "'+g+'" for attribute F supplied.');t=g}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!dr(t,3)},set:function(g){g?this.F=pr(t,3):this.F=fr(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(g){if(isNaN(g))throw new Error('Invalid value "'+g+'" for attribute Ff supplied.');n=g}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(g){r=g!==void 0?g:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(g){r[0]=g}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(g){r[1]=g}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(g){r[2]=g}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(g){r[3]=g}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(g){switch(g){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=g;break;default:throw new Error('Invalid value "'+g+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof d1)return;s="FieldObject"+e.FieldNum++}var g=function(x){return x};return this.scope&&(g=this.scope.internal.getEncryptor(this.objId)),"("+vp(g(s))+")"},set:function(g){s=g.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(g){s=g}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(g){o=g}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(g){c=g}});var l=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return l},set:function(g){l=g}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return u===void 0?50/ED:u},set:function(g){u=g}});var d="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return d},set:function(g){d=g}});var p="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!p||this instanceof d1||this instanceof Od))return O_(p,this.objId,this.scope)},set:function(g){g=g.toString(),p=g}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof Br==0?O_(h,this.objId,this.scope):h},set:function(g){g=g.toString(),h=this instanceof Br==0?g.substr(0,1)==="("?ef(g.substr(1,g.length-2)):ef(g):g}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Br==1?ef(h.substr(1,h.length-1)):h},set:function(g){g=g.toString(),h=this instanceof Br==1?"/"+g:g}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(g){this.V=g}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof Br==0?O_(f,this.objId,this.scope):f},set:function(g){g=g.toString(),f=this instanceof Br==0?g.substr(0,1)==="("?ef(g.substr(1,g.length-2)):ef(g):g}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Br==1?ef(f.substr(1,f.length-1)):f},set:function(g){g=g.toString(),f=this instanceof Br==1?"/"+g:g}}),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 v,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(g){g=!!g,m=g}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(v)return v},set:function(g){v=g}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,1)},set:function(g){g?this.Ff=pr(this.Ff,1):this.Ff=fr(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,2)},set:function(g){g?this.Ff=pr(this.Ff,2):this.Ff=fr(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,3)},set:function(g){g?this.Ff=pr(this.Ff,3):this.Ff=fr(this.Ff,3)}});var y=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(y!==null)return y},set:function(g){if([0,1,2].indexOf(g)===-1)throw new Error('Invalid value "'+g+'" for attribute Q supplied.');y=g}}),Object.defineProperty(this,"textAlign",{get:function(){var g;switch(y){case 0:default:g="left";break;case 1:g="center";break;case 2:g="right"}return g},configurable:!0,enumerable:!0,set:function(g){switch(g){case"right":case 2:y=2;break;case"center":case 1:y=1;break;default:y=0}}})};vi(yo,Fo);var Kf=function(){yo.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 pV(t,this.objId,this.scope)},set:function(n){var r,i;i=[],typeof(r=n)=="string"&&(i=function(s,o,c){c||(c=1);for(var l,u=[];l=o.exec(s);)u.push(l[c]);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!!dr(this.Ff,18)},set:function(n){n?this.Ff=pr(this.Ff,18):this.Ff=fr(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,19)},set:function(n){this.combo===!0&&(n?this.Ff=pr(this.Ff,19):this.Ff=fr(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,20)},set:function(n){n?(this.Ff=pr(this.Ff,20),t.sort()):this.Ff=fr(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,22)},set:function(n){n?this.Ff=pr(this.Ff,22):this.Ff=fr(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,23)},set:function(n){n?this.Ff=pr(this.Ff,23):this.Ff=fr(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,27)},set:function(n){n?this.Ff=pr(this.Ff,27):this.Ff=fr(this.Ff,27)}}),this.hasAppearanceStream=!1};vi(Kf,yo);var Yf=function(){Kf.call(this),this.fontName="helvetica",this.combo=!1};vi(Yf,Kf);var Qf=function(){Yf.call(this),this.combo=!0};vi(Qf,Yf);var Gb=function(){Qf.call(this),this.edit=!0};vi(Gb,Qf);var Br=function(){yo.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,15)},set:function(n){n?this.Ff=pr(this.Ff,15):this.Ff=fr(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,16)},set:function(n){n?this.Ff=pr(this.Ff,16):this.Ff=fr(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,17)},set:function(n){n?this.Ff=pr(this.Ff,17):this.Ff=fr(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,26)},set:function(n){n?this.Ff=pr(this.Ff,26):this.Ff=fr(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var n=function(s){return s};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+" ("+vp(n(t[r]))+")");return i.push(">>"),i.join(` 1036`)}},set:function(n){mn(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}})};vi(Br,yo);var Xb=function(){Br.call(this),this.pushButton=!0};vi(Xb,Br);var Zf=function(){Br.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:[]}})};vi(Zf,Br);var d1=function(){var e,t;yo.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(c){return c};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var s,o=[];for(s in o.push("<<"),r)o.push("/"+s+" ("+vp(i(r[s]))+")");return o.push(">>"),o.join(` 1037`)},set:function(i){mn(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=ht.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};vi(d1,yo),Zf.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()}},Zf.prototype.createOption=function(e){var t=new d1;return t.Parent=this,t.optionName=e,this.Kids.push(t),dbe.call(this.scope,t),t};var Kb=function(){Br.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ht.CheckBox.createAppearanceStream()};vi(Kb,Br);var Od=function(){yo.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,13)},set:function(t){t?this.Ff=pr(this.Ff,13):this.Ff=fr(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,21)},set:function(t){t?this.Ff=pr(this.Ff,21):this.Ff=fr(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,23)},set:function(t){t?this.Ff=pr(this.Ff,23):this.Ff=fr(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,24)},set:function(t){t?this.Ff=pr(this.Ff,24):this.Ff=fr(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,25)},set:function(t){t?this.Ff=pr(this.Ff,25):this.Ff=fr(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,26)},set:function(t){t?this.Ff=pr(this.Ff,26):this.Ff=fr(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}})};vi(Od,yo);var Yb=function(){Od.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!dr(this.Ff,14)},set:function(e){e?this.Ff=pr(this.Ff,14):this.Ff=fr(this.Ff,14)}}),this.password=!0};vi(Yb,Od);var ht={CheckBox:{createAppearanceStream:function(){return{N:{On:ht.CheckBox.YesNormal},D:{On:ht.CheckBox.YesPushDown,Off:ht.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),s=vC(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+Ut(ht.internal.getWidth(e))+" "+Ut(ht.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+r+" "+Ut(s.fontSize)+" Tf "+i),n.push("BT"),n.push(s.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join(` 1038`),t},YesNormal:function(e){var t=ko(e);t.scope=e.scope;var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],s=ht.internal.getHeight(e),o=ht.internal.getWidth(e),c=vC(e,e.caption);return i.push("1 g"),i.push("0 0 "+Ut(o)+" "+Ut(s)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Ut(o-1)+" "+Ut(s-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+Ut(c.fontSize)+" Tf "+r),i.push(c.text),i.push("ET"),i.push("Q"),t.stream=i.join(` 1039`),t},OffPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Ut(ht.internal.getWidth(e))+" "+Ut(ht.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(` 1040`),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ht.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ht.RadioButton.Circle.YesNormal,t.D[e]=ht.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=ko(e);t.scope=e.scope;var n=[],r=ht.internal.getWidth(e)<=ht.internal.getHeight(e)?ht.internal.getWidth(e)/4:ht.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=ht.internal.Bezier_C,s=Number((r*i).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+kl(ht.internal.getWidth(e)/2)+" "+kl(ht.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(` 1041`),t},YesPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=[],r=ht.internal.getWidth(e)<=ht.internal.getHeight(e)?ht.internal.getWidth(e)/4:ht.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),s=Number((i*ht.internal.Bezier_C).toFixed(5)),o=Number((r*ht.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+kl(ht.internal.getWidth(e)/2)+" "+kl(ht.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+s+" "+s+" "+i+" 0 "+i+" c"),n.push("-"+s+" "+i+" -"+i+" "+s+" -"+i+" 0 c"),n.push("-"+i+" -"+s+" -"+s+" -"+i+" 0 -"+i+" c"),n.push(s+" -"+i+" "+i+" -"+s+" "+i+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+kl(ht.internal.getWidth(e)/2)+" "+kl(ht.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` 1042`),t},OffPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=[],r=ht.internal.getWidth(e)<=ht.internal.getHeight(e)?ht.internal.getWidth(e)/4:ht.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),s=Number((i*ht.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+kl(ht.internal.getWidth(e)/2)+" "+kl(ht.internal.getHeight(e)/2)+" cm"),n.push(i+" 0 m"),n.push(i+" "+s+" "+s+" "+i+" 0 "+i+" c"),n.push("-"+s+" "+i+" -"+i+" "+s+" -"+i+" 0 c"),n.push("-"+i+" -"+s+" -"+s+" -"+i+" 0 -"+i+" c"),n.push(s+" -"+i+" "+i+" -"+s+" "+i+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join(` 1043`),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ht.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ht.RadioButton.Cross.YesNormal,t.D[e]=ht.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=ko(e);t.scope=e.scope;var n=[],r=ht.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+Ut(ht.internal.getWidth(e)-2)+" "+Ut(ht.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Ut(r.x1.x)+" "+Ut(r.x1.y)+" m"),n.push(Ut(r.x2.x)+" "+Ut(r.x2.y)+" l"),n.push(Ut(r.x4.x)+" "+Ut(r.x4.y)+" m"),n.push(Ut(r.x3.x)+" "+Ut(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join(` 1044`),t},YesPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=ht.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ut(ht.internal.getWidth(e))+" "+Ut(ht.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ut(ht.internal.getWidth(e)-2)+" "+Ut(ht.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Ut(n.x1.x)+" "+Ut(n.x1.y)+" m"),r.push(Ut(n.x2.x)+" "+Ut(n.x2.y)+" l"),r.push(Ut(n.x4.x)+" "+Ut(n.x4.y)+" m"),r.push(Ut(n.x3.x)+" "+Ut(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join(` 1045`),t},OffPushDown:function(e){var t=ko(e);t.scope=e.scope;var n=[];return n.push("0.749023 g"),n.push("0 0 "+Ut(ht.internal.getWidth(e))+" "+Ut(ht.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join(` 1046`),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}};ht.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ht.internal.getWidth(e),n=ht.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}}}},ht.internal.getWidth=function(e){var t=0;return mn(e)==="object"&&(t=bL(e.Rect[2])),t},ht.internal.getHeight=function(e){var t=0;return mn(e)==="object"&&(t=bL(e.Rect[3])),t};var dbe=nr.addField=function(e){if(ube(this,e),!(e instanceof yo))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};nr.AcroFormChoiceField=Kf,nr.AcroFormListBox=Yf,nr.AcroFormComboBox=Qf,nr.AcroFormEditBox=Gb,nr.AcroFormButton=Br,nr.AcroFormPushButton=Xb,nr.AcroFormRadioButton=Zf,nr.AcroFormCheckBox=Kb,nr.AcroFormTextField=Od,nr.AcroFormPasswordField=Yb,nr.AcroFormAppearance=ht,nr.AcroForm={ChoiceField:Kf,ListBox:Yf,ComboBox:Qf,EditBox:Gb,Button:Br,PushButton:Xb,RadioButton:Zf,CheckBox:Kb,TextField:Od,PasswordField:Yb,Appearance:ht},_t.AcroForm={ChoiceField:Kf,ListBox:Yf,ComboBox:Qf,EditBox:Gb,Button:Br,PushButton:Xb,RadioButton:Zf,CheckBox:Kb,TextField:Od,PasswordField:Yb,Appearance:ht};function mV(e){return e.reduce(function(t,n,r){return t[n]=r,t},{})}(function(e){var t="addImage_";e.__addimage__={};var n="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(P,D){var R,N,q,I,z,M=n;if((D=D||n)==="RGBA"||P.data!==void 0&&P.data instanceof Uint8ClampedArray&&"height"in P&&"width"in P)return"RGBA";if(T(P))for(z in r)for(q=r[z],R=0;R<q.length;R+=1){for(I=!0,N=0;N<q[R].length;N+=1)if(q[R][N]!==void 0&&q[R][N]!==P[N]){I=!1;break}if(I===!0){M=z;break}}else for(z in r)for(q=r[z],R=0;R<q.length;R+=1){for(I=!0,N=0;N<q[R].length;N+=1)if(q[R][N]!==void 0&&q[R][N]!==P.charCodeAt(N)){I=!1;break}if(I===!0){M=z;break}}return M===n&&D!==n&&(M=D),M},s=function P(D){for(var R=this.internal.write,N=this.internal.putStream,q=(0,this.internal.getFilters)();q.indexOf("FlateEncode")!==-1;)q.splice(q.indexOf("FlateEncode"),1);D.objectId=this.internal.newObject();var I=[];if(I.push({key:"Type",value:"/XObject"}),I.push({key:"Subtype",value:"/Image"}),I.push({key:"Width",value:D.width}),I.push({key:"Height",value:D.height}),D.colorSpace===g.INDEXED?I.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]"}):(I.push({key:"ColorSpace",value:"/"+D.colorSpace}),D.colorSpace===g.DEVICE_CMYK&&I.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),I.push({key:"BitsPerComponent",value:D.bitsPerComponent}),"decodeParameters"in D&&D.decodeParameters!==void 0&&I.push({key:"DecodeParms",value:"<<"+D.decodeParameters+">>"}),"transparency"in D&&Array.isArray(D.transparency)&&D.transparency.length>0){for(var z="",M=0,F=D.transparency.length;M<F;M++)z+=D.transparency[M]+" "+D.transparency[M]+" ";I.push({key:"Mask",value:"["+z+"]"})}D.sMask!==void 0&&I.push({key:"SMask",value:D.objectId+1+" 0 R"});var H=D.filter!==void 0?["/"+D.filter]:void 0;if(N({data:D.data,additionalKeyValues:I,alreadyAppliedFilters:H,objectId:D.objectId}),R("endobj"),"sMask"in D&&D.sMask!==void 0){var V,O=(V=D.sMaskBitsPerComponent)!==null&&V!==void 0?V:D.bitsPerComponent,$={width:D.width,height:D.height,colorSpace:"DeviceGray",bitsPerComponent:O,data:D.sMask};"filter"in D&&($.decodeParameters="/Predictor ".concat(D.predictor," /Colors 1 /BitsPerComponent ").concat(O," /Columns ").concat(D.width),$.filter=D.filter),P.call(this,$)}if(D.colorSpace===g.INDEXED){var K=this.internal.newObject();N({data:w(new Uint8Array(D.palette)),objectId:K}),R("endobj")}},o=function(){var P=this.internal.collections[t+"images"];for(var D in P)s.call(this,P[D])},c=function(){var P,D=this.internal.collections[t+"images"],R=this.internal.write;for(var N in D)R("/I"+(P=D[N]).index,P.objectId,"0","R")},l=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",c))},u=function(){var P=this.internal.collections[t+"images"];return l.call(this),P},d=function(){return Object.keys(this.internal.collections[t+"images"]).length},p=function(P){return typeof e["process"+P.toUpperCase()]=="function"},h=function(P){return mn(P)==="object"&&P.nodeType===1},f=function(P,D){if(P.nodeName==="IMG"&&P.hasAttribute("src")){var R=""+P.getAttribute("src");if(R.indexOf("data:image/")===0)return Hb(unescape(R).split("base64,").pop());var N=e.loadFile(R,!0);if(N!==void 0)return N}if(P.nodeName==="CANVAS"){if(P.width===0||P.height===0)throw new Error("Given canvas must have data. Canvas width: "+P.width+", height: "+P.height);var q;switch(D){case"PNG":q="image/png";break;case"WEBP":q="image/webp";break;default:q="image/jpeg"}return Hb(P.toDataURL(q,1).split("base64,").pop())}},v=function(P){var D=this.internal.collections[t+"images"];if(D){for(var R in D)if(P===D[R].alias)return D[R]}},m=function(P,D,R){return P||D||(P=-96,D=-96),P<0&&(P=-1*R.width*72/P/this.internal.scaleFactor),D<0&&(D=-1*R.height*72/D/this.internal.scaleFactor),P===0&&(P=D*R.width/R.height),D===0&&(D=P*R.height/R.width),[P,D]},y=function(P,D,R,N,q,I){var z=m.call(this,R,N,q),M=this.internal.getCoordinateString,F=this.internal.getVerticalCoordinateString,H=u.call(this);if(R=z[0],N=z[1],H[q.index]=q,I){I*=Math.PI/180;var V=Math.cos(I),O=Math.sin(I),$=function(Y){return Y.toFixed(4)},K=[$(V),$(O),$(-1*O),$(V),0,0,"cm"]}this.internal.write("q"),I?(this.internal.write([1,"0","0",1,M(P),F(D+N),"cm"].join(" ")),this.internal.write(K.join(" ")),this.internal.write([M(R),"0","0",M(N),"0","0","cm"].join(" "))):this.internal.write([M(R),"0","0",M(N),M(P),F(D+N),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+q.index+" Do"),this.internal.write("Q")},g=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 x=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},b=e.__addimage__.sHashCode=function(P){var D,R,N=0;if(typeof P=="string")for(R=P.length,D=0;D<R;D++)N=(N<<5)-N+P.charCodeAt(D),N|=0;else if(T(P))for(R=P.byteLength/2,D=0;D<R;D++)N=(N<<5)-N+P[D],N|=0;return N},_=e.__addimage__.validateStringAsBase64=function(P){(P=P||"").toString().trim();var D=!0;return P.length===0&&(D=!1),P.length%4!=0&&(D=!1),/^[A-Za-z0-9+/]+$/.test(P.substr(0,P.length-2))===!1&&(D=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(P.substr(-2))===!1&&(D=!1),D},E=e.__addimage__.extractImageFromDataUrl=function(P){if(P==null||!(P=P.trim()).startsWith("data:"))return null;var D=P.indexOf(",");return D<0?null:P.substring(0,D).trim().endsWith("base64")?P.substring(D+1):null};e.__addimage__.isArrayBuffer=function(P){return P instanceof ArrayBuffer};var T=e.__addimage__.isArrayBufferView=function(P){return P instanceof Int8Array||P instanceof Uint8Array||P instanceof Uint8ClampedArray||P instanceof Int16Array||P instanceof Uint16Array||P instanceof Int32Array||P instanceof Uint32Array||P instanceof Float32Array||P instanceof Float64Array},A=e.__addimage__.binaryStringToUint8Array=function(P){for(var D=P.length,R=new Uint8Array(D),N=0;N<D;N++)R[N]=P.charCodeAt(N);return R},w=e.__addimage__.arrayBufferToBinaryString=function(P){for(var D="",R=T(P)?P:new Uint8Array(P),N=0;N<R.length;N+=8192)D+=String.fromCharCode.apply(null,R.subarray(N,N+8192));return D};e.addImage=function(){var P,D,R,N,q,I,z,M,F;if(typeof arguments[1]=="number"?(D=n,R=arguments[1],N=arguments[2],q=arguments[3],I=arguments[4],z=arguments[5],M=arguments[6],F=arguments[7]):(D=arguments[1],R=arguments[2],N=arguments[3],q=arguments[4],I=arguments[5],z=arguments[6],M=arguments[7],F=arguments[8]),mn(P=arguments[0])==="object"&&!h(P)&&"imageData"in P){var H=P;P=H.imageData,D=H.format||D||n,R=H.x||R||0,N=H.y||N||0,q=H.w||H.width||q,I=H.h||H.height||I,z=H.alias||z,M=H.compression||M,F=H.rotation||H.angle||F}var V=this.internal.getFilters();if(M===void 0&&V.indexOf("FlateEncode")!==-1&&(M="SLOW"),isNaN(R)||isNaN(N))throw new Error("Invalid coordinates passed to
1046jsPDF.addImage");l.call(this);var O=S.call(this,P,D,z,M);return y.call(this,R,N,q,I,O,F),this};var S=function(P,D,R,N){var q,I,z;if(typeof P=="string"&&i(P)===n){P=unescape(P);var M=k(P,!1);(M!==""||(M=e.loadFile(P,!0))!==void 0)&&(P=M)}if(h(P)&&(P=f(P,D)),D=i(P,D),!p(D))throw new Error("addImage does not support files of type '"+D+"', please ensure that a plugin for '"+D+"' support is added.");if(((z=R)==null||z.length===0)&&(R=function(F){return typeof F=="string"||T(F)?b(F):T(F.data)?b(F.data):null}(P)),(q=v.call(this,R))||(P instanceof Uint8Array||D==="RGBA"||(I=P,P=A(P)),q=this["process"+D.toUpperCase()](P,d.call(this),R,function(F){return F&&typeof F=="string"&&(F=F.toUpperCase()),F in e.image_compression?F:x.NONE}(N),I)),!q)throw new Error("An unknown error occurred whilst processing the image.");return q},k=e.__addimage__.convertBase64ToBinaryString=function(P,D){D=typeof D!="boolean"||D;var R,N="";if(typeof P=="string"){var q;R=(q=E(P))!==null&&q!==void 0?q:P;try{N=Hb(R)}catch(I){if(D)throw _(R)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+I.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return N};e.getImageProperties=function(P){var D,R,N="";if(h(P)&&(P=f(P)),typeof P=="string"&&i(P)===n&&((N=k(P,!1))===""&&(N=e.loadFile(P)||""),P=N),R=i(P),!p(R))throw new Error("addImage does not support files of type '"+R+"', please ensure that a plugin for '"+R+"' support is added.");if(P instanceof Uint8Array||(P=A(P)),!(D=this["process"+R.toUpperCase()](P)))throw new Error("An unknown error occurred whilst processing the image");return D.fileType=R,D}})(_t.API),function(e){var t=function(n){if(n!==void 0&&n!="")return!0};_t.API.events.push(["addPage",function(n){this.internal.getPageInfo(n.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(n){for(var r,i,s,o=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(n.objId),u=n.pageContext.annotations,d=!1,p=0;p<u.length&&!d;p++)switch((r=u[p]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(d=!0);break;case"reference":case"text":case"freetext":d=!0}if(d!=0){this.internal.write("/Annots [");for(var h=0;h<u.length;h++){r=u[h];var f=this.internal.pdfEscape,v=this.internal.getEncryptor(n.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var m=this.internal.newAdditionalObject(),y=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(m.objId),x=r.title||"Note";s="<</Type /Annot /Subtype /Text "+(i="/Rect ["+o(r.bounds.x)+" "+c(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+c(r.bounds.y)+"] ")+"/Contents ("+f(g(r.contents))+")",s+=" /Popup "+y.objId+" 0 R",s+=" /P "+l.objId+" 0 R",s+=" /T ("+f(g(x))+") >>",m.content=s;var b=m.objId+" 0 R";s="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+o(r.bounds.x+30)+" "+c(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+c(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(s+=" /Open true"),s+=" >>",y.content=s,this.internal.write(m.objId,"0 R",y.objId,"0 R");break;case"freetext":i="/Rect ["+o(r.bounds.x)+" "+c(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+c(r.bounds.y+r.bounds.h)+"] ";var _=r.color||"#000000";s="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+f(v(r.contents))+")",s+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+_+")",s+=" /Border [0 0 0]",s+=" >>",this.internal.write(s);break;case"link":if(r.options.name){var E=this.annotations._nameMap[r.options.name];r.options.pageNumber=E.page,r.options.top=E.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",s="",r.options.url)s="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+f(v(r.options.url))+") >>";else if(r.options.pageNumber)switch(s="<</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":s+=" /Fit]";break;case"FitH":s+=" /FitH "+r.options.top+"]";break;
vendor: 22,643 bytes, lines 1046-1070
1046case"FitV":r.options.left=r.options.left||0,s+=" /FitV "+r.options.left+"]";break;default:var T=c(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),s+=" /XYZ "+r.options.left+" "+T+" "+r.options.zoom+"]"}s!=""&&(s+=" >>",this.internal.write(s))}}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,s,o){var c=this.internal.getCurrentPageInfo(),l=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;c.pageContext.annotations.push({finalBounds:{x:l(n),y:u(r),w:l(n+i),h:u(r+s)},options:o,type:"link"})},e.textWithLink=function(n,r,i,s){var o,c,l=this.getTextWidth(n),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(s.maxWidth!==void 0){c=s.maxWidth;var d=this.splitTextToSize(n,c).length;o=Math.ceil(u*d)}else c=l,o=u;return this.text(n,r,i,s),i+=.2*u,s.align==="center"&&(r-=l/2),s.align==="right"&&(r-=l),this.link(r,i-u,c,o,s),l},e.getTextWidth=function(n){var r=this.internal.getFontSize();return this.getStringUnitWidth(n)*r/this.internal.scaleFactor}}(_t.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 s=e.__arabicParser__.isInArabicSubstitutionA=function(m){return t[m.charCodeAt(0)]!==void 0},o=e.__arabicParser__.isArabicLetter=function(m){return typeof m=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(m)},c=e.__arabicParser__.isArabicEndLetter=function(m){return o(m)&&s(m)&&t[m.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(m){return o(m)&&i.indexOf(m.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(m){return o(m)&&s(m)&&t[m.charCodeAt(0)].length>=1};var u=e.__arabicParser__.arabicLetterHasFinalForm=function(m){return o(m)&&s(m)&&t[m.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(m){return o(m)&&s(m)&&t[m.charCodeAt(0)].length>=3};var d=e.__arabicParser__.arabicLetterHasMedialForm=function(m){return o(m)&&s(m)&&t[m.charCodeAt(0)].length==4},p=e.__arabicParser__.resolveLigatures=function(m){var y=0,g=n,x="",b=0;for(y=0;y<m.length;y+=1)g[m.charCodeAt(y)]!==void 0?(b++,typeof(g=g[m.charCodeAt(y)])=="number"&&(x+=String.fromCharCode(g),g=n,b=0),y===m.length-1&&(g=n,x+=m.charAt(y-(b-1)),y-=b-1,b=0)):(g=n,x+=m.charAt(y-b),y-=b,b=0);return x};e.__arabicParser__.isArabicDiacritic=function(m){return m!==void 0&&r[m.charCodeAt(0)]!==void 0};var h=e.__arabicParser__.getCorrectForm=function(m,y,g){return o(m)?s(m)===!1?-1:!u(m)||!o(y)&&!o(g)||!o(g)&&c(y)||c(m)&&!o(y)||c(m)&&l(y)||c(m)&&c(y)?0:d(m)&&o(y)&&!c(y)&&o(g)&&u(g)?3:c(m)||!o(g)?1:2:-1},f=function(m){var y=0,g=0,x=0,b="",_="",E="",T=(m=m||"").split("\\s+"),A=[];for(y=0;y<T.length;y+=1){for(A.push(""),g=0;g<T[y].length;g+=1)b=T[y][g],_=T[y][g-1],E=T[y][g+1],o(b)?(x=h(b,_,E),A[y]+=x!==-1?String.fromCharCode(t[b.charCodeAt(0)][x]):b):A[y]+=b;A[y]=p(A[y])}return A.join(" ")},v=e.__arabicParser__.processArabic=e.processArabic=function(){var m,y=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,g=[];if(Array.isArray(y)){var x=0;for(g=[],x=0;x<y.length;x+=1)Array.isArray(y[x])?g.push([f(y[x][0]),y[x][1],y[x][2]]):g.push([f(y[x])]);m=g}else m=f(y);return typeof arguments[0]=="string"?m:(arguments[0].text=m,arguments[0])};e.events.push(["preProcessText",v])}(_t.API),_t.API.autoPrint=function(e){var t;return(e=e||{}).variant=e.variant||"non-conform",e.variant==="javascript"?this.addJS("print({});"):(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")})),this},function(e){var t=function(){var n=void 0;Object.defineProperty(this,"pdf",{get:function(){return n},set:function(c){n=c}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(c){r=isNaN(c)||Number.isInteger(c)===!1||c<0?150:c,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(c){i=isNaN(c)||Number.isInteger(c)===!1||c<0?300:c,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(c){s=c}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(c){o=c}}),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}])}(_t.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 s,this.internal.__cell__.pages=1},s=function(){var l=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return l},set:function(m){l=m}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(m){u=m}});var d=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return d},set:function(m){d=m}});var p=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return p},set:function(m){p=m}});var h=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return h},set:function(m){h=m}});var f=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return f},set:function(m){f=m}});var v=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return v},set:function(m){v=m}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(l){return r.call(this),this.internal.__cell__.headerFunction=typeof l=="function"?l:void 0,this},e.getTextDimensions=function(l,u){r.call(this);var d=(u=u||{}).fontSize||this.getFontSize(),p=u.font||this.getFont(),h=u.scaleFactor||this.internal.scaleFactor,f=0,v=0,m=0,y=this;if(!Array.isArray(l)&&typeof l!="string"){if(typeof l!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");l=String(l)}var g=u.maxWidth;g>0?typeof l=="string"?l=this.splitTextToSize(l,g):Object.prototype.toString.call(l)==="[object Array]"&&(l=l.reduce(function(b,_){return b.concat(y.splitTextToSize(_,g))},[])):l=Array.isArray(l)?l:[l];for(var x=0;x<l.length;x++)f<(m=this.getStringUnitWidth(l[x],{font:p})*d)&&(f=m);return f!==0&&(v=l.length),{w:f/=h,h:Math.max((v*d*this.getLineHeightFactor()-d*(this.getLineHeightFactor()-1))/h,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var l=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new s(l.left,l.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=e.cell=function(){var l;l=arguments[0]instanceof s?arguments[0]:new s(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var u=this.internal.__cell__.lastCell,d=this.internal.__cell__.padding,p=this.internal.__cell__.margins||t,h=this.internal.__cell__.tableHeaderRow,f=this.internal.__cell__.printHeaders;return u.lineNumber!==void 0&&(u.lineNumber===l.lineNumber?(l.x=(u.x||0)+(u.width||0),l.y=u.y||0):u.y+u.height+l.height+p.bottom>this.getPageHeight()?(this.cellAddPage(),l.y=p.top,f&&h&&(this.printHeaderRow(l.lineNumber,!0),l.y+=h[0].height)):l.y=u.y+u.height||l.y),l.text[0]!==void 0&&(this.rect(l.x,l.y,l.width,l.height,n===!0?"FD":void 0),l.align==="right"?this.text(l.text,l.x+l.width-d,l.y+d,{align:"right",baseline:"top"}):l.align==="center"?this.text(l.text,l.x+l.width/2,l.y+d,{align:"center",baseline:"top",maxWidth:l.width-d-d}):this.text(l.text,l.x+d,l.y+d,{align:"left",baseline:"top",maxWidth:l.width-d-d})),this.internal.__cell__.lastCell=l,this};e.table=function(l,u,d,p,h){if(r.call(this),!d)throw new Error("No data for PDF table.");var f,v,m,y,g=[],x=[],b=[],_={},E={},T=[],A=[],w=(h=h||{}).autoSize||!1,S=h.printHeaders!==!1,k=h.css&&h.css["font-size"]!==void 0?16*h.css["font-size"]:h.fontSize||12,P=h.margins||Object.assign({width:this.getPageWidth()},t),D=typeof h.padding=="number"?h.padding:3,R=h.headerBackgroundColor||"#c8c8c8",N=h.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=S,this.internal.__cell__.margins=P,this.internal.__cell__.table_font_size=k,this.internal.__cell__.padding=D,this.internal.__cell__.headerBackgroundColor=R,this.internal.__cell__.headerTextColor=N,this.setFontSize(k),p==null)x=g=Object.keys(d[0]),b=g.map(function(){return"left"});else if(Array.isArray(p)&&mn(p[0])==="object")for(g=p.map(function(H){return H.name}),x=p.map(function(H){return H.prompt||H.name||""}),b=p.map(function(H){return H.align||"left"}),f=0;f<p.length;f+=1)E[p[f].name]=.7499990551181103*p[f].width;else Array.isArray(p)&&typeof p[0]=="string"&&(x=g=p,b=g.map(function(){return"left"}));if(w||Array.isArray(p)&&typeof p[0]=="string")for(f=0;f<g.length;f+=1){for(_[y=g[f]]=d.map(function(H){return H[y]}),this.setFont(void 0,"bold"),T.push(this.getTextDimensions(x[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),v=_[y],this.setFont(void 0,"normal"),m=0;m<v.length;m+=1)T.push(this.getTextDimensions(v[m],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);E[y]=Math.max.apply(null,T)+D+D,T=[]}if(S){var q={};for(f=0;f<g.length;f+=1)q[g[f]]={},q[g[f]].text=x[f],q[g[f]].align=b[f];var I=c.call(this,q,E);A=g.map(function(H){return new s(l,u,E[H],I,q[H].text,void 0,q[H].align)}),this.setTableHeaderRow(A),this.printHeaderRow(1,!1)}var z=p.reduce(function(H,V){return H[V.name]=V.align,H},{});for(f=0;f<d.length;f+=1){"rowStart"in h&&h.rowStart instanceof Function&&h.rowStart({row:f,data:d[f]},this);var M=c.call(this,d[f],E);for(m=0;m<g.length;m+=1){var F=d[f][g[m]];"cellStart"in h&&h.cellStart instanceof Function&&h.cellStart({row:f,col:m,data:F},this),o.call(this,new s(l,u,E[g[m]],M,F,f+2,z[g[m]]))}}return this.internal.__cell__.table_x=l,this.internal.__cell__.table_y=u,this};var c=function(l,u){var d=this.internal.__cell__.padding,p=this.internal.__cell__.table_font_size,h=this.internal.scaleFactor;return Object.keys(l).map(function(f){var v=l[f];return this.splitTextToSize(v.hasOwnProperty("text")?v.text:v,u[f]-d-d)},this).map(function(f){return this.getLineHeightFactor()*f.length*p/h+d+d},this).reduce(function(f,v){return Math.max(f,v)},0)};e.setTableHeaderRow=function(l){r.call(this),this.internal.__cell__.tableHeaderRow=l},e.printHeaderRow=function(l,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var d;if(n=!0,typeof this.internal.__cell__.headerFunction=="function"){var p=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new s(p[0],p[1],p[2],p[3],void 0,-1)}this.setFont(void 0,"bold");for(var h=[],f=0;f<this.internal.__cell__.tableHeaderRow.length;f+=1){d=this.internal.__cell__.tableHeaderRow[f].clone(),u&&(d.y=this.internal.__cell__.margins.top||0,h.push(d)),d.lineNumber=l;var v=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,d),this.setTextColor(v)}h.length>0&&this.setTableHeaderRow(h),this.setFont(void 0,"normal"),n=!1}}(_t.API);var gV={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xV=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],bC=mV(xV),yV=[100,200,300,400,500,600,700,800,900],pbe=mV(yV);function I_(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),n=function(s){return gV[s=s||"normal"]?s:"normal"}(e.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(e.weight),i=function(s){return typeof bC[s=s||"normal"]=="number"?s:"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 wL(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 fbe={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},jL={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function _L(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function NL(e){return e.trimLeft()}function hbe(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 mbe(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 vb,CL,EL,tf,bb,SL,DL,AL,U_=["times"];function kL(e,t,n,r,i){var s=4,o=PL;switch(i){case _t.API.image_compression.FAST:s=1,o=TL;break;case _t.API.image_compression.MEDIUM:s=6,o=LL;break;case _t.API.image_compression.SLOW:s=9,o=RL}e=function(l,u,d,p){for(var h,f=l.length/u,v=new Uint8Array(l.length+f),m=[gbe,TL,PL,LL,RL],y=0;y<f;y+=1){var g=y*u,x=l.subarray(g,g+u);if(p)v.set(p(x,d,h),g+y);else{for(var b=m.length,_=[],E=0;E<b;E+=1)_[E]=m[E](x,d,h);var T=ybe(_.concat());v.set(_[T],g+y)}h=x}return v}(e,t,Math.ceil(n*r/8),o);var c=oC(e,{level:s});return _t.API.__addimage__.arrayBufferToBinaryString(c)}function gbe(e){var t=Array.apply([],e);return t.unshift(0),t}function TL(e,t){var n=e.length,r=[];r[0]=1;for(var i=0;i<n;i+=1){var s=e[i-t]||0;r[i+1]=e[i]-s+256&255}return r}function PL(e,t,n){var r=e.length,i=[];i[0]=2;for(var s=0;s<r;s+=1){var o=n&&n[s]||0;i[s+1]=e[s]-o+256&255}return i}function LL(e,t,n){var r=e.length,i=[];i[0]=3;for(var s=0;s<r;s+=1){var o=e[s-t]||0,c=n&&n[s]||0;i[s+1]=e[s]+256-(o+c>>>1)&255}return i}function RL(e,t,n){var r=e.length,i=[];i[0]=4;for(var s=0;s<r;s+=1){var o=xbe(e[s-t]||0,n&&n[s]||0,n&&n[s-t]||0);i[s+1]=e[s]-o+256&255}return i}function xbe(e,t,n){if(e===t&&t===n)return e;var r=Math.abs(t-n),i=Math.abs(e-n),s=Math.abs(e+t-n-n);return r<=i&&r<=s?e:i<=s?t:n}function ybe(e){var t=e.map(function(n){return n.reduce(function(r,i){return r+Math.abs(i)},0)});return t.indexOf(Math.min.apply(null,t))}function F_(e,t,n){var r=t*n,i=Math.floor(r/8),s=16-(r-8*i+n),o=(1<<n)-1;return vV(e,i)>>s&o}function OL(e,t,n,r){var i=n*r,s=Math.floor(i/8),o=16-(i-8*s+r),c=(1<<r)-1,l=(t&c)<<o;(function(u,d,p){if(d+1<u.byteLength)u.setUint16(d,p,!1);else{var h=p>>8&255;u.setUint8(d,h)}})(e,s,vV(e,s)&~(c<<o)&65535|l)}function vV(e,t){return t+1<e.byteLength?e.getUint16(t,!1):e.getUint8(t)<<8}function vbe(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++],s=i>>7,o=1<<1+(7&i);e[t++],e[t++];var c=null,l=null;s&&(c=t,l=o,t+=3*o);var u=!0,d=[],p=0,h=null,f=0,v=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,v=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;case 249:if(e[t++]!==4||e[t+4]!==0)throw new Error("Invalid graphics extension block.");var m=e[t++];p=e[t++]|e[t++]<<8,h=e[t++],1&m||(h=null),f=m>>2&7,t++;break;case 254:for(;;){if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var y=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,x=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,_=e[t++],E=_>>6&1,T=1<<1+(7&_),A=c,w=l,S=!1;_>>7&&(S=!0,A=t,w=T,t+=3*T);var k=t;for(t++;;){var P;if(!((P=e[t++])>=0))throw Error("Invalid block size");if(P===0)break;t+=P}d.push({x:y,y:g,width:x,height:b,has_local_palette:S,palette_offset:A,palette_size:w,data_offset:k,data_length:t-k,transparent_index:h,interlaced:!!E,delay:p,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 d.length},this.loopCount=function(){return v},this.frameInfo=function(D){if(D<0||D>=d.length)throw new Error("Frame index out of range.");return d[D]},this.decodeAndBlitFrameBGRA=function(D,R){var N=this.frameInfo(D),q=N.width*N.height,I=new Uint8Array(q);IL(e,N.data_offset,I,q);var z=N.palette_offset,M=N.transparent_index;M===null&&(M=256);var F=N.width,H=n-F,V=F,O=4*(N.y*n+N.x),$=4*((N.y+N.height)*n+N.x),K=O,Y=4*H;N.interlaced===!0&&(Y+=4*n*7);for(var ee=8,re=0,ae=I.length;re<ae;++re){var le=I[re];if(V===0&&(V=F,(K+=Y)>=$&&(Y=4*H+4*n*(ee-1),K=O+(F+H)*(ee<<1),ee>>=1)),le===M)K+=4;else{var ge=e[z+3*le],ke=e[z+3*le+1],de=e[z+3*le+2];R[K++]=de,R[K++]=ke,R[K++]=ge,R[K++]=255}--V}},this.decodeAndBlitFrameRGBA=function(D,R){var N=this.frameInfo(D),q=N.width*N.height,I=new Uint8Array(q);IL(e,N.data_offset,I,q);var z=N.palette_offset,M=N.transparent_index;M===null&&(M=256);var F=N.width,H=n-F,V=F,O=4*(N.y*n+N.x),$=4*((N.y+N.height)*n+N.x),K=O,Y=4*H;N.interlaced===!0&&(Y+=4*n*7);for(var ee=8,re=0,ae=I.length;re<ae;++re){var le=I[re];if(V===0&&(V=F,(K+=Y)>=$&&(Y=4*H+4*n*(ee-1),K=O+(F+H)*(ee<<1),ee>>=1)),le===M)K+=4;else{var ge=e[z+3*le],ke=e[z+3*le+1],de=e[z+3*le+2];R[K++]=ge,R[K++]=ke,R[K++]=de,R[K++]=255}--V}}}function IL(e,t,n,r){for(var i=e[t++],s=1<<i,o=s+1,c=o+1,l=i+1,u=(1<<l)-1,d=0,p=0,h=0,f=e[t++],v=new Int32Array(4096),m=null;;){for(;d<16&&f!==0;)p|=e[t++]<<d,d+=8,f===1?f=e[t++]:--f;if(d<l)break;var y=p&u;if(p>>=l,d-=l,y!==s){if(y===o)break;for(var g=y<c?y:m,x=0,b=g;b>s;)b=v[b]>>8,++x;var _=b;if(h+x+(g!==y?1:0)>r)return void Nn.log("Warning, gif stream longer than expected.");n[h++]=_;var E=h+=x;for(g!==y&&(n[h++]=_),b=g;x--;)b=v[b],n[--E]=255&b,b>>=8;m!==null&&c<4096&&(v[c++]=m<<8|_,c>=u+1&&l<12&&(++l,u=u<<1|1)),m=y}else c=o+1,u=(1<<(l=i+1))-1,m=null}return h!==r&&Nn.log("Warning, gif stream shorter than expected."),n}/** 1047 * @license 1048 Copyright (c) 2008, Adobe Systems Incorporated 1049 All rights reserved. 1050 1051 Redistribution and use in source and binary forms, with or without 1052 modification, are permitted provided that the following conditions are 1053 met: 1054 1055 * Redistributions of source code must retain the above copyright notice, 1056 this list of conditions and the following disclaimer. 1057 1058 * Redistributions in binary form must reproduce the above copyright 1059 notice, this list of conditions and the following disclaimer in the 1060 documentation and/or other materials provided with the distribution. 1061 1062 * Neither the name of Adobe Systems Incorporated nor the names of its 1063 contributors may be used to endorse or promote products derived from 1064 this software without specific prior written permission. 1065 1066 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 1067 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 1068 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1069 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 1070 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
1071 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 1072 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 1073 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 1074 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 1075 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 1076 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1077*/function M_(e){var t,n,r,i,s,o=Math.floor,c=new Array(64),l=new Array(64),u=new Array(64),d=new Array(64),p=new Array(65535),h=new Array(65535),f=new Array(64),v=new Array(64),m=[],y=0,g=7,x=new Array(64),b=new Array(64),_=new Array(64),E=new Array(256),T=new Array(2048),A=[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],w=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],k=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],P=[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],R=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],q=[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 I(O,$){for(var K=0,Y=0,ee=new Array,re=1;re<=16;re++){for(var ae=1;ae<=O[re];ae++)ee[$[Y]]=[],ee[$[Y]][0]=K,ee[$[Y]][1]=re,Y++,K++;K*=2}return ee}function z(O){for(var $=O[0],K=O[1]-1;K>=0;)$&1<<K&&(y|=1<<g),K--,--g<0&&(y==255?(M(255),M(0)):M(y),g=7,y=0)}function M(O){m.push(O)}function F(O){M(O>>8&255),M(255&O)}function H(O,$,K,Y,ee){for(var re,ae=ee[0],le=ee[240],ge=function(oe,Ne){var De,ye,ce,xe,ve,Se,Oe,We,qe,Xe,Ve=0;for(qe=0;qe<8;++qe){De=oe[Ve],ye=oe[Ve+1],ce=oe[Ve+2],xe=oe[Ve+3],ve=oe[Ve+4],Se=oe[Ve+5],Oe=oe[Ve+6];var Ct=De+(We=oe[Ve+7]),ct=De-We,bt=ye+Oe,Et=ye-Oe,At=ce+Se,yt=ce-Se,st=xe+ve,et=xe-ve,rt=Ct+st,Vt=Ct-st,ot=bt+At,at=bt-At;oe[Ve]=rt+ot,oe[Ve+4]=rt-ot;var Rt=.707106781*(at+Vt);oe[Ve+2]=Vt+Rt,oe[Ve+6]=Vt-Rt;var oa=.382683433*((rt=et+yt)-(at=Et+ct)),pn=.5411961*rt+oa,Wn=1.306562965*at+oa,ir=.707106781*(ot=yt+Et),jt=ct+ir,wn=ct-ir;oe[Ve+5]=wn+pn,oe[Ve+3]=wn-pn,oe[Ve+1]=jt+Wn,oe[Ve+7]=jt-Wn,Ve+=8}for(Ve=0,qe=0;qe<8;++qe){De=oe[Ve],ye=oe[Ve+8],ce=oe[Ve+16],xe=oe[Ve+24],ve=oe[Ve+32],Se=oe[Ve+40],Oe=oe[Ve+48];var Or=De+(We=oe[Ve+56]),Vn=De-We,Qn=ye+Oe,yn=ye-Oe,qn=ce+Se,Sn=ce-Se,wi=xe+ve,Zi=xe-ve,Ps=Or+wi,bo=Or-wi,Ls=Qn+qn,Rs=Qn-qn;oe[Ve]=Ps+Ls,oe[Ve+32]=Ps-Ls;var Ji=.707106781*(Rs+bo);oe[Ve+16]=bo+Ji,oe[Ve+48]=bo-Ji;var Mu=.382683433*((Ps=Zi+Sn)-(Rs=yn+Vn)),wo=.5411961*Ps+Mu,qu=1.306562965*Rs+Mu,wp=.707106781*(Ls=Sn+yn),jp=Vn+wp,_p=Vn-wp;oe[Ve+40]=_p+wo,oe[Ve+24]=_p-wo,oe[Ve+8]=jp+qu,oe[Ve+56]=jp-qu,Ve++}for(qe=0;qe<64;++qe)Xe=oe[qe]*Ne[qe],f[qe]=Xe>0?Xe+.5|0:Xe-.5|0;return f}(O,$),ke=0;ke<64;++ke)v[A[ke]]=ge[ke];var de=v[0]-K;K=v[0],de==0?z(Y[0]):(z(Y[h[re=32767+de]]),z(p[re]));for(var we=63;we>0&&v[we]==0;)we--;if(we==0)return z(ae),K;for(var W,X=1;X<=we;){for(var pe=X;v[X]==0&&X<=we;)++X;var ie=X-pe;if(ie>=16){W=ie>>4;for(var te=1;te<=W;++te)z(le);ie&=15}re=32767+v[X],z(ee[(ie<<4)+h[re]]),z(p[re]),X++}return we!=63&&z(ae),K}function V(O){O=Math.min(Math.max(O,1),100),s!=O&&(function($){for(var K=[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],Y=0;Y<64;Y++){var ee=o((K[Y]*$+50)/100);ee=Math.min(Math.max(ee,1),255),c[A[Y]]=ee}for(var re=[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],ae=0;ae<64;ae++){var le=o((re[ae]*$+50)/100);le=Math.min(Math.max(le,1),255),l[A[ae]]=le}for(var ge=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ke=0,de=0;de<8;de++)for(var we=0;we<8;we++)u[ke]=1/(c[A[ke]]*ge[de]*ge[we]*8),d[ke]=1/(l[A[ke]]*ge[de]*ge[we]*8),ke++}(O<50?Math.floor(5e3/O):Math.floor(200-2*O)),s=O)}this.encode=function(O,$){$&&V($),m=new Array,y=0,g=7,F(65496),F(65504),F(16),M(74),M(70),M(73),M(70),M(0),M(1),M(1),M(0),F(1),F(1),M(0),M(0),function(){F(65499),F(132),M(0);for(var ye=0;ye<64;ye++)M(c[ye]);M(1);for(var ce=0;ce<64;ce++)M(l[ce])}(),function(ye,ce){F(65472),F(17),M(8),F(ce),F(ye),M(3),M(1),M(17),M(0),M(2),M(17),M(1),M(3),M(17),M(1)}(O.width,O.height),function(){F(65476),F(418),M(0);for(var ye=0;ye<16;ye++)M(w[ye+1]);for(var ce=0;ce<=11;ce++)M(S[ce]);M(16);for(var xe=0;xe<16;
vendor: 27,714 bytes, lines 1077-1083
1077xe++)M(k[xe+1]);for(var ve=0;ve<=161;ve++)M(P[ve]);M(1);for(var Se=0;Se<16;Se++)M(D[Se+1]);for(var Oe=0;Oe<=11;Oe++)M(R[Oe]);M(17);for(var We=0;We<16;We++)M(N[We+1]);for(var qe=0;qe<=161;qe++)M(q[qe])}(),F(65498),F(12),M(3),M(1),M(0),M(2),M(17),M(3),M(17),M(0),M(63),M(0);var K=0,Y=0,ee=0;y=0,g=7,this.encode.displayName="_encode_";for(var re,ae,le,ge,ke,de,we,W,X,pe=O.data,ie=O.width,te=O.height,oe=4*ie,Ne=0;Ne<te;){for(re=0;re<oe;){for(ke=oe*Ne+re,we=-1,W=0,X=0;X<64;X++)de=ke+(W=X>>3)*oe+(we=4*(7&X)),Ne+W>=te&&(de-=oe*(Ne+1+W-te)),re+we>=oe&&(de-=re+we-oe+4),ae=pe[de++],le=pe[de++],ge=pe[de++],x[X]=(T[ae]+T[le+256|0]+T[ge+512|0]>>16)-128,b[X]=(T[ae+768|0]+T[le+1024|0]+T[ge+1280|0]>>16)-128,_[X]=(T[ae+1280|0]+T[le+1536|0]+T[ge+1792|0]>>16)-128;K=H(x,u,K,t,r),Y=H(b,d,Y,n,i),ee=H(_,d,ee,n,i),re+=32}Ne+=8}if(g>=0){var De=[];De[1]=g+1,De[0]=(1<<g+1)-1,z(De)}return F(65497),new Uint8Array(m)},e=e||50,function(){for(var O=String.fromCharCode,$=0;$<256;$++)E[$]=O($)}(),t=I(w,S),n=I(D,R),r=I(k,P),i=I(N,q),function(){for(var O=1,$=2,K=1;K<=15;K++){for(var Y=O;Y<$;Y++)h[32767+Y]=K,p[32767+Y]=[],p[32767+Y][1]=K,p[32767+Y][0]=Y;for(var ee=-($-1);ee<=-O;ee++)h[32767+ee]=K,p[32767+ee]=[],p[32767+ee][1]=K,p[32767+ee][0]=$-1+ee;O<<=1,$<<=1}}(),function(){for(var O=0;O<256;O++)T[O]=19595*O,T[O+256|0]=38470*O,T[O+512|0]=7471*O+32768,T[O+768|0]=-11059*O,T[O+1024|0]=-21709*O,T[O+1280|0]=32768*O+8421375,T[O+1536|0]=-27439*O,T[O+1792|0]=-5329*O}(),V(e)}/** 1078 * @license 1079 * Copyright (c) 2017 Aras Abbasi 1080 * 1081 * Licensed under the MIT License. 1082 * http://opensource.org/licenses/mit-license 1083 */function Bs(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 UL(e){function t(S){if(!S)throw Error("assert :P")}function n(S,k,P){for(var D=0;4>D;D++)if(S[k+D]!=P.charCodeAt(D))return!0;return!1}function r(S,k,P,D,R){for(var N=0;N<R;N++)S[k+N]=P[D+N]}function i(S,k,P,D){for(var R=0;R<D;R++)S[k+R]=P}function s(S){return new Int32Array(S)}function o(S,k){for(var P=[],D=0;D<S;D++)P.push(new k);return P}function c(S,k){var P=[];return function D(R,N,q){for(var I=q[N],z=0;z<I&&(R.push(q.length>N+1?[]:new k),!(q.length<N+1));z++)D(R[z],N+1,q)}(P,0,S),P}var l=function(){var S=this;function k(C,L){for(var B=1<<L-1>>>0;C&B;)B>>>=1;return B?(C&B-1)+B:C}function P(C,L,B,G,Z){t(!(G%B));do C[L+(G-=B)]=Z;while(0<G)}function D(C,L,B,G,Z){if(t(2328>=Z),512>=Z)var J=s(512);else if((J=s(Z))==null)return 0;return function(ne,se,ue,fe,_e,Le){var he,Ee,Te=se,Re=1<<ue,Pe=s(16),Ie=s(16);for(t(_e!=0),t(fe!=null),t(ne!=null),t(0<ue),Ee=0;Ee<_e;++Ee){if(15<fe[Ee])return 0;++Pe[fe[Ee]]}if(Pe[0]==_e)return 0;for(Ie[1]=0,he=1;15>he;++he){if(Pe[he]>1<<he)return 0;Ie[he+1]=Ie[he]+Pe[he]}for(Ee=0;Ee<_e;++Ee)he=fe[Ee],0<fe[Ee]&&(Le[Ie[he]++]=Ee);if(Ie[15]==1)return(fe=new R).g=0,fe.value=Le[0],P(ne,Te,1,Re,fe),Re;var Me,Ke=-1,$e=Re-1,wt=0,ft=1,Bt=1,gt=1<<ue;for(Ee=0,he=1,_e=2;he<=ue;++he,_e<<=1){if(ft+=Bt<<=1,0>(Bt-=Pe[he]))return 0;for(;0<Pe[he];--Pe[he])(fe=new R).g=he,fe.value=Le[Ee++],P(ne,Te+wt,_e,gt,fe),wt=k(wt,he)}for(he=ue+1,_e=2;15>=he;++he,_e<<=1){if(ft+=Bt<<=1,0>(Bt-=Pe[he]))return 0;for(;0<Pe[he];--Pe[he]){if(fe=new R,(wt&$e)!=Ke){for(Te+=gt,Me=1<<(Ke=he)-ue;15>Ke&&!(0>=(Me-=Pe[Ke]));)++Ke,Me<<=1;Re+=gt=1<<(Me=Ke-ue),ne[se+(Ke=wt&$e)].g=Me+ue,ne[se+Ke].value=Te-se-Ke}fe.g=he-ue,fe.value=Le[Ee++],P(ne,Te+(wt>>ue),_e,gt,fe),wt=k(wt,he)}}return ft!=2*Ie[15]-1?0:Re}(C,L,B,G,Z,J)}function R(){this.value=this.g=0}function N(){this.value=this.g=0}function q(){this.G=o(5,R),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(Qu,N)}function I(C,L,B,G){t(C!=null),t(L!=null),t(2147483648>G),C.Ca=254,C.I=0,C.b=-8,C.Ka=0,C.oa=L,C.pa=B,C.Jd=L,C.Yc=B+G,C.Zc=4<=G?B+G-4+1:B,ae(C)}function z(C,L){for(var B=0;0<L--;)B|=ge(C,128)<<L;return B}function M(C,L){var B=z(C,L);return le(C)?-B:B}function F(C,L,B,G){var Z,J=0;for(t(C!=null),t(L!=null),t(4294967288>G),C.Sb=G,C.Ra=0,C.u=0,C.h=0,4<G&&(G=4),Z=0;Z<G;++Z)J+=L[B+Z]<<8*Z;C.Ra=J,C.bb=G,C.oa=L,C.pa=B}function H(C){for(;8<=C.u&&C.bb<C.Sb;)C.Ra>>>=8,C.Ra+=C.oa[C.pa+C.bb]<<ul-8>>>0,++C.bb,C.u-=8;Y(C)&&(C.h=1,C.u=0)}function V(C,L){if(t(0<=L),!C.h&&L<=_i){var B=K(C)&ji[L];return C.u+=L,H(C),B}return C.h=1,C.u=0}function O(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function $(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function K(C){return C.Ra>>>(C.u&ul-1)>>>0}function Y(C){return t(C.bb<=C.Sb),C.h||C.bb==C.Sb&&C.u>ul}function ee(C,L){C.u=L,C.h=Y(C)}function re(C){C.u>=dc&&(t(C.u>=dc),H(C))}function ae(C){t(C!=null&&C.oa!=null),C.pa<C.Zc?(C.I=(C.oa[C.pa++]|C.I<<8)>>>0,C.b+=8):(t(C!=null&&C.oa!=null),C.pa<C.Yc?(C.b+=8,C.I=C.oa[C.pa++]|C.I<<8):C.Ka?C.b=0:(C.I<<=8,C.b+=8,C.Ka=1))}function le(C){return z(C,1)}function ge(C,L){var B=C.Ca;0>C.b&&ae(C);var G=C.b,Z=B*L>>>8,J=(C.I>>>G>Z)+0;for(J?(B-=Z,C.I-=Z+1<<G>>>0):B=Z+1,G=B,Z=0;256<=G;)Z+=8,G>>=8;return G=7^Z+dl[G],C.b-=G,C.Ca=(B<<G)-1,J}function ke(C,L,B){C[L+0]=B>>24&255,C[L+1]=B>>16&255,C[L+2]=B>>8&255,C[L+3]=255&B}function de(C,L){return C[L+0]|C[L+1]<<8}function we(C,L){return de(C,L)|C[L+2]<<16}function W(C,L){return de(C,L)|de(C,L+2)<<16}function X(C,L){var B=1<<L;return t(C!=null),t(0<L),C.X=s(B),C.X==null?0:(C.Mb=32-L,C.Xa=L,1)}function pe(C,L){t(C!=null),t(L!=null),t(C.Xa==L.Xa),r(L.X,0,C.X,0,1<<L.Xa)}function ie(){this.X=[],this.Xa=this.Mb=0}function te(C,L,B,G){t(B!=null),t(G!=null);var Z=B[0],J=G[0];return Z==0&&(Z=(C*J+L/2)/L),J==0&&(J=(L*Z+C/2)/C),0>=Z||0>=J?0:(B[0]=Z,G[0]=J,1)}function oe(C,L){return C+(1<<L)-1>>>L}function Ne(C,L){return((4278255360&C)+(4278255360&L)>>>0&4278255360)+((16711935&C)+(16711935&L)>>>0&16711935)>>>0}function De(C,L){S[L]=function(B,G,Z,J,ne,se,ue){var fe;for(fe=0;fe<ne;++fe){var _e=S[C](se[ue+fe-1],Z,J+fe);se[ue+fe]=Ne(B[G+fe],_e)}}}function ye(){this.ud=this.hd=this.jd=0}function ce(C,L){return((4278124286&(C^L))>>>1)+(C&L)>>>0}function xe(C){return 0<=C&&256>C?C:0>C?0:255<C?255:void 0}function ve(C,L){return xe(C+(C-L+.5>>1))}function Se(C,L,B){return Math.abs(L-B)-Math.abs(C-B)}function Oe(C,L,B,G,Z,J,ne){for(G=J[ne-1],B=0;B<Z;++B)J[ne+B]=G=Ne(C[L+B],G)}function We(C,L,B,G,Z){var J;for(J=0;J<B;++J){var ne=C[L+J],se=ne>>8&255,ue=16711935&(ue=(ue=16711935&ne)+((se<<16)+se));G[Z+J]=(4278255360&ne)+ue>>>0}}function qe(C,L){L.jd=255&C,L.hd=C>>8&255,L.ud=C>>16&255}function Xe(C,L,B,G,Z,J){var ne;for(ne=0;ne<G;++ne){var se=L[B+ne],ue=se>>>8,fe=se,_e=255&(_e=(_e=se>>>16)+((C.jd<<24>>24)*(ue<<24>>24)>>>5));fe=255&(fe=(fe+=(C.hd<<24>>24)*(ue<<24>>24)>>>5)+((C.ud<<24>>24)*(_e<<24>>24)>>>5)),Z[J+ne]=(4278255360&se)+(_e<<16)+fe}}function Ve(C,L,B,G,Z){S[L]=function(J,ne,se,ue,fe,_e,Le,he,Ee){for(ue=Le;ue<he;++ue)for(Le=0;Le<Ee;++Le)fe[_e++]=Z(se[G(J[ne++])])},S[C]=function(J,ne,se,ue,fe,_e,Le){var he=8>>J.b,Ee=J.Ea,Te=J.K[0],Re=J.w;if(8>he)for(J=(1<<J.b)-1,Re=(1<<he)-1;ne<se;++ne){var Pe,Ie=0;for(Pe=0;Pe<Ee;++Pe)Pe&J||(Ie=G(ue[fe++])),_e[Le++]=Z(Te[Ie&Re]),Ie>>=he}else S["VP8LMapColor"+B](ue,fe,Te,Re,_e,Le,ne,se,Ee)}}function Ct(C,L,B,G,Z){for(B=L+B;L<B;){var J=C[L++];G[Z++]=J>>16&255,G[Z++]=J>>8&255,G[Z++]=255&J}}function ct(C,L,B,G,Z){for(B=L+B;L<B;){var J=C[L++];G[Z++]=J>>16&255,G[Z++]=J>>8&255,G[Z++]=255&J,G[Z++]=J>>24&255}}function bt(C,L,B,G,Z){for(B=L+B;L<B;){var J=(ne=C[L++])>>16&240|ne>>12&15,ne=240&ne|ne>>28&15;G[Z++]=J,G[Z++]=ne}}function Et(C,L,B,G,Z){for(B=L+B;L<B;){var J=(ne=C[L++])>>16&248|ne>>13&7,ne=ne>>5&224|ne>>3&31;G[Z++]=J,G[Z++]=ne}}function At(C,L,B,G,Z){for(B=L+B;L<B;){var J=C[L++];G[Z++]=255&J,G[Z++]=J>>8&255,G[Z++]=J>>16&255}}function yt(C,L,B,G,Z,J){if(J==0)for(B=L+B;L<B;)ke(G,((J=C[L++])[0]>>24|J[1]>>8&65280|J[2]<<8&16711680|J[3]<<24)>>>0),Z+=32;else r(G,Z,C,L,B)}function st(C,L){S[L][0]=S[C+"0"],S[L][1]=S[C+"1"],S[L][2]=S[C+"2"],S[L][3]=S[C+"3"],S[L][4]=S[C+"4"],S[L][5]=S[C+"5"],S[L][6]=S[C+"6"],S[L][7]=S[C+"7"],S[L][8]=S[C+"8"],S[L][9]=S[C+"9"],S[L][10]=S[C+"10"],S[L][11]=S[C+"11"],S[L][12]=S[C+"12"],S[L][13]=S[C+"13"],S[L][14]=S[C+"0"],S[L][15]=S[C+"0"]}function et(C){return C==qw||C==Bw||C==dv||C==zw}function rt(){this.eb=[],this.size=this.A=this.fb=0}function Vt(){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 ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new rt,this.f.kb=new Vt,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Rt(){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 oa(C){return alert("todo:WebPSamplerProcessPlane"),C.T}function pn(C,L){var B=C.T,G=L.ba.f.RGBA,Z=G.eb,J=G.fb+C.ka*G.A,ne=is[L.ba.S],se=C.y,ue=C.O,fe=C.f,_e=C.N,Le=C.ea,he=C.W,Ee=L.cc,Te=L.dc,Re=L.Mc,Pe=L.Nc,Ie=C.ka,Me=C.ka+C.T,Ke=C.U,$e=Ke+1>>1;for(Ie==0?ne(se,ue,null,null,fe,_e,Le,he,fe,_e,Le,he,Z,J,null,null,Ke):(ne(L.ec,L.fc,se,ue,Ee,Te,Re,Pe,fe,_e,Le,he,Z,J-G.A,Z,J,Ke),++B);Ie+2<Me;Ie+=2)Ee=fe,Te=_e,Re=Le,Pe=he,_e+=C.Rc,he+=C.Rc,J+=2*G.A,ne(se,(ue+=2*C.fa)-C.fa,se,ue,Ee,Te,Re,Pe,fe,_e,Le,he,Z,J-G.A,Z,J,Ke);return ue+=C.fa,C.j+Me<C.o?(r(L.ec,L.fc,se,ue,Ke),r(L.cc,L.dc,fe,_e,$e),r(L.Mc,L.Nc,Le,he,$e),B--):1&Me||ne(se,ue,null,null,fe,_e,Le,he,fe,_e,Le,he,Z,J+G.A,null,null,Ke),B}function Wn(C,L,B){var G=C.F,Z=[C.J];if(G!=null){var J=C.U,ne=L.ba.S,se=ne==uv||ne==dv;L=L.ba.f.RGBA;var ue=[0],fe=C.ka;ue[0]=C.T,C.Kb&&(fe==0?--ue[0]:(--fe,Z[0]-=C.width),C.j+C.ka+C.T==C.o&&(ue[0]=C.o-C.j-fe));var _e=L.eb;fe=L.fb+fe*L.A,C=WD(G,Z[0],C.width,J,ue,_e,fe+(se?0:3),L.A),t(B==ue),C&&et(ne)&&km(_e,fe,se,J,ue,L.A)}return 0}function ir(C){var L=C.ma,B=L.ba.S,G=11>B,Z=B==cv||B==lv||B==uv||B==Mw||B==12||et(B);if(L.memory=null,L.Ib=null,L.Jb=null,L.Nd=null,!jm(L.Oa,C,Z?11:12))return 0;if(Z&&et(B)&&vm(),C.da)alert("todo:use_scaling");else{if(G){if(L.Ib=oa,C.Kb){if(B=C.U+1>>1,L.memory=s(C.U+2*B),L.memory==null)return 0;L.ec=L.memory,L.fc=0,L.cc=L.ec,L.dc=L.fc+C.U,L.Mc=L.cc,L.Nc=L.dc+B,L.Ib=pn,vm()}}else alert("todo:EmitYUV");Z&&(L.Jb=Wn,G&&Is())}if(G&&!oA){for(C=0;256>C;++C)gG[C]=89858*(C-128)+fv>>pv,vG[C]=-22014*(C-128)+fv,yG[C]=-45773*(C-128),xG[C]=113618*(C-128)+fv>>pv;for(C=Pm;C<Vw;++C)L=76283*(C-16)+fv>>pv,bG[C-Pm]=jo(L,255),wG[C-Pm]=jo(L+8>>4,15);oA=1}return 1}function jt(C){var L=C.ma,B=C.U,G=C.T;return t(!(1&C.ka)),0>=B||0>=G?0:(B=L.Ib(C,L),L.Jb!=null&&L.Jb(C,L,B),L.Dc+=B,1)}function wn(C){C.ma.memory=null}function Or(C,L,B,G){return V(C,8)!=47?0:(L[0]=V(C,14)+1,B[0]=V(C,14)+1,G[0]=V(C,1),V(C,3)!=0?0:!C.h)}function Vn(C,L){if(4>C)return C+1;var B=C-2>>1;return(2+(1&C)<<B)+V(L,B)+1}function Qn(C,L){return 120<L?L-120:1<=(B=((B=nG[L-1])>>4)*C+(8-(15&B)))?B:1;var B}function yn(C,L,B){var G=K(B),Z=C[L+=255&G].g-8;return 0<Z&&(ee(B,B.u+8),G=K(B),L+=C[L].value,L+=G&(1<<Z)-1),ee(B,B.u+C[L].g),C[L].value}function qn(C,L,B){return B.g+=C.g,B.value+=C.value<<L>>>0,t(8>=B.g),C.g}function Sn(C,L,B){var G=C.xc;return t((L=G==0?0:C.vc[C.md*(B>>G)+(L>>G)])<C.Wb),C.Ya[L]}function wi(C,L,B,G){var Z=C.ab,J=C.c*L,ne=C.C;L=ne+L;var se=B,ue=G;for(G=C.Ta,B=C.Ua;0<Z--;){var fe=C.gc[Z],_e=ne,Le=L,he=se,Ee=ue,Te=(ue=G,se=B,fe.Ea);switch(t(_e<Le),t(Le<=fe.nc),fe.hc){case 2:sr(he,Ee,(Le-_e)*Te,ue,se);break;case 0:var Re=_e,Pe=Le,Ie=ue,Me=se,Ke=(gt=fe).Ea;Re==0&&(Nm(he,Ee,null,null,1,Ie,Me),Oe(he,Ee+1,0,0,Ke-1,Ie,Me+1),Ee+=Ke,Me+=Ke,++Re);for(var $e=1<<gt.b,wt=$e-1,ft=oe(Ke,gt.b),Bt=gt.K,gt=gt.w+(Re>>gt.b)*ft;Re<Pe;){var en=Bt,Nr=gt,zt=1;for(Tp(he,Ee,Ie,Me-Ke,1,Ie,Me);zt<Ke;){var xt=(zt&~wt)+$e;xt>Ke&&(xt=Ke),(0,Em[en[Nr++]>>8&15])(he,Ee+ +zt,Ie,Me+zt-Ke,xt-zt,Ie,Me+zt),zt=xt}Ee+=Ke,Me+=Ke,++Re&wt||(gt+=ft)}Le!=fe.nc&&r(ue,se-Te,ue,se+(Le-_e-1)*Te,Te);break;case 1:for(Te=he,Pe=Ee,Ke=(he=fe.Ea)-(Me=he&~(Ie=(Ee=1<<fe.b)-1)),Re=oe(he,fe.b),$e=fe.K,fe=fe.w+(_e>>fe.b)*Re;_e<Le;){for(wt=$e,ft=fe,Bt=new ye,gt=Pe+Me,en=Pe+he;Pe<gt;)qe(wt[ft++],Bt),Sm(Bt,Te,Pe,Ee,ue,se),Pe+=Ee,se+=Ee;Pe<en&&(qe(wt[ft++],Bt),Sm(Bt,Te,Pe,Ke,ue,se),Pe+=Ke,se+=Ke),++_e&Ie||(fe+=Re)}break;case 3:if(he==ue&&Ee==se&&0<fe.b){for(Pe=ue,he=Te=se+(Le-_e)*Te-(Me=(Le-_e)*oe(fe.Ea,fe.b)),Ee=ue,Ie=se,Re=[],Me=(Ke=Me)-1;0<=Me;--Me)Re[Me]=Ee[Ie+Me];for(Me=Ke-1;0<=Me;--Me)Pe[he+Me]=Re[Me];av(fe,_e,Le,ue,Te,ue,se)}else av(fe,_e,Le,he,Ee,ue,se)}se=G,ue=B}ue!=B&&r(G,B,se,ue,J)}function Zi(C,L){var B=C.V,G=C.Ba+C.c*C.C,Z=L-C.C;if(t(L<=C.l.o),t(16>=Z),0<Z){var J=C.l,ne=C.Ta,se=C.Ua,ue=J.width;if(wi(C,Z,B,G),Z=se=[se],t((B=C.C)<(G=L)),t(J.v<J.va),G>J.o&&(G=J.o),B<J.j){var fe=J.j-B;B=J.j,Z[0]+=fe*ue}if(B>=G?B=0:(Z[0]+=4*J.v,J.ka=B-J.j,J.U=J.va-J.v,J.T=G-B,B=1),B){if(se=se[0],11>(B=C.ca).S){var _e=B.f.RGBA,Le=(G=B.S,Z=J.U,J=J.T,fe=_e.eb,_e.A),he=J;for(_e=_e.fb+C.Ma*_e.A;0<he--;){var Ee=ne,Te=se,Re=Z,Pe=fe,Ie=_e;switch(G){case ov:Dm(Ee,Te,Re,Pe,Ie);break;case cv:pl(Ee,Te,Re,Pe,Ie);break;case qw:pl(Ee,Te,Re,Pe,Ie),km(Pe,Ie,0,Re,1,0);break;case QD:Zu(Ee,Te,Re,Pe,Ie);break;case lv:yt(Ee,Te,Re,Pe,Ie,1);break;case Bw:yt(Ee,Te,Re,Pe,Ie,1),km(Pe,Ie,0,Re,1,0);break;case uv:yt(Ee,Te,Re,Pe,Ie,0);break;case dv:yt(Ee,Te,Re,Pe,Ie,0),km(Pe,Ie,1,Re,1,0);break;case Mw:fl(Ee,Te,Re,Pe,Ie);break;case zw:fl(Ee,Te,Re,Pe,Ie),$D(Pe,Ie,Re,1,0);break;case ZD:hl(Ee,Te,Re,Pe,Ie);break;default:t(0)}se+=ue,_e+=Le}C.Ma+=J}else alert("todo:EmitRescaledRowsYUVA");t(C.Ma<=B.height)}}C.C=L,t(C.C<=C.i)}function Ps(C){var L;if(0<C.ua)return 0;for(L=0;L<C.Wb;++L){var B=C.Ya[L].G,G=C.Ya[L].H;if(0<B[1][G[1]+0].g||0<B[2][G[2]+0].g||0<B[3][G[3]+0].g)return 0}return 1}function bo(C,L,B,G,Z,J){if(C.Z!=0){var ne=C.qd,se=C.rd;for(t(xl[C.Z]!=null);L<B;++L)xl[C.Z](ne,se,G,Z,G,Z,J),ne=G,se=Z,Z+=J;C.qd=ne,C.rd=se}}function Ls(C,L){var B=C.l.ma,G=B.Z==0||B.Z==1?C.l.j:C.C;if(G=C.C<G?G:C.C,t(L<=C.l.o),L>G){var Z=C.l.width,J=B.ca,ne=B.tb+Z*G,se=C.V,ue=C.Ba+C.c*G,fe=C.gc;t(C.ab==1),t(fe[0].hc==3),Eo(fe[0],G,L,se,ue,J,ne),bo(B,G,L,J,ne,Z)}C.C=C.Ma=L}function Rs(C,L,B,G,Z,J,ne){var se=C.$/G,ue=C.$%G,fe=C.m,_e=C.s,Le=B+C.$,he=Le;Z=B+G*Z;var Ee=B+G*J,Te=280+_e.ua,Re=C.Pb?se:16777216,Pe=0<_e.ua?_e.Wa:null,Ie=_e.wc,Me=Le<Ee?Sn(_e,ue,se):null;t(C.C<J),t(Ee<=Z);var Ke=!1;e:for(;;){for(;Ke||Le<Ee;){var $e=0;if(se>=Re){var wt=Le-B;t((Re=C).Pb),Re.wd=Re.m,Re.xd=wt,0<Re.s.ua&&pe(Re.s.Wa,Re.s.vb),Re=se+aG}if(ue&Ie||(Me=Sn(_e,ue,se)),t(Me!=null),Me.Qb&&(L[Le]=Me.qb,Ke=!0),!Ke)if(re(fe),Me.jc){$e=fe,wt=L;var ft=Le,Bt=Me.pd[K($e)&Qu-1];t(Me.jc),256>Bt.g?(ee($e,$e.u+Bt.g),wt[ft]=Bt.value,$e=0):(ee($e,$e.u+Bt.g-256),t(256<=Bt.value),$e=Bt.value),$e==0&&(Ke=!0)}else $e=yn(Me.G[0],Me.H[0],fe);if(fe.h)break;if(Ke||256>$e){if(!Ke)if(Me.nd)L[Le]=(Me.qb|$e<<8)>>>0;else{if(re(fe),Ke=yn(Me.G[1],Me.H[1],fe),re(fe),wt=yn(Me.G[2],Me.H[2],fe),ft=yn(Me.G[3],Me.H[3],fe),fe.h)break;L[Le]=(ft<<24|Ke<<16|$e<<8|wt)>>>0}if(Ke=!1,++Le,++ue>=G&&(ue=0,++se,ne!=null&&se<=J&&!(se%16)&&ne(C,se),Pe!=null))for(;he<Le;)$e=L[he++],Pe.X[(506832829*$e&4294967295)>>>Pe.Mb]=$e}else if(280>$e){if($e=Vn($e-256,fe),wt=yn(Me.G[4],Me.H[4],fe),re(fe),wt=Qn(G,wt=Vn(wt,fe)),fe.h)break;if(Le-B<wt||Z-Le<$e)break e;for(ft=0;ft<$e;++ft)L[Le+ft]=L[Le+ft-wt];for(Le+=$e,ue+=$e;ue>=G;)ue-=G,++se,ne!=null&&se<=J&&!(se%16)&&ne(C,se);if(t(Le<=Z),ue&Ie&&(Me=Sn(_e,ue,se)),Pe!=null)for(;he<Le;)$e=L[he++],Pe.X[(506832829*$e&4294967295)>>>Pe.Mb]=$e}else{if(!($e<Te))break e;for(Ke=$e-280,t(Pe!=null);he<Le;)$e=L[he++],Pe.X[(506832829*$e&4294967295)>>>Pe.Mb]=$e;$e=Le,t(!(Ke>>>(wt=Pe).Xa)),L[$e]=wt.X[Ke],Ke=!0}Ke||t(fe.h==Y(fe))}if(C.Pb&&fe.h&&Le<Z)t(C.m.h),C.a=5,C.m=C.wd,C.$=C.xd,0<C.s.ua&&pe(C.s.vb,C.s.Wa);else{if(fe.h)break e;ne!=null&&ne(C,se>J?J:se),C.a=0,C.$=Le-B}return 1}return C.a=3,0}function Ji(C){t(C!=null),C.vc=null,C.yc=null,C.Ya=null;var L=C.Wa;L!=null&&(L.X=null),C.vb=null,t(C!=null)}function Mu(){var C=new Ot;return C==null?null:(C.a=0,C.xb=tA,st("Predictor","VP8LPredictors"),st("Predictor","VP8LPredictors_C"),st("PredictorAdd","VP8LPredictorsAdd"),st("PredictorAdd","VP8LPredictorsAdd_C"),sr=We,Sm=Xe,Dm=Ct,pl=ct,fl=bt,hl=Et,Zu=At,S.VP8LMapColor32b=Co,S.VP8LMapColor8b=Cm,C)}function wo(C,L,B,G,Z){var J=1,ne=[C],se=[L],ue=G.m,fe=G.s,_e=null,Le=0;e:for(;;){if(B)for(;J&&V(ue,1);){var he=ne,Ee=se,Te=G,Re=1,Pe=Te.m,Ie=Te.gc[Te.ab],Me=V(Pe,2);if(Te.Oc&1<<Me)J=0;else{switch(Te.Oc|=1<<Me,Ie.hc=Me,Ie.Ea=he[0],Ie.nc=Ee[0],Ie.K=[null],++Te.ab,t(4>=Te.ab),Me){case 0:case 1:Ie.b=V(Pe,3)+2,Re=wo(oe(Ie.Ea,Ie.b),oe(Ie.nc,Ie.b),0,Te,Ie.K),Ie.K=Ie.K[0];break;case 3:var Ke,$e=V(Pe,8)+1,wt=16<$e?0:4<$e?1:2<$e?2:3;if(he[0]=oe(Ie.Ea,wt),Ie.b=wt,Ke=Re=wo($e,1,0,Te,Ie.K)){var ft,Bt=$e,gt=Ie,en=1<<(8>>gt.b),Nr=s(en);if(Nr==null)Ke=0;else{var zt=gt.K[0],xt=gt.w;for(Nr[0]=gt.K[0][0],ft=1;ft<1*Bt;++ft)Nr[ft]=Ne(zt[xt+ft],Nr[ft-1]);for(;ft<4*en;++ft)Nr[ft]=0;gt.K[0]=null,gt.K[0]=Nr,Ke=1}}Re=Ke;break;case 2:break;default:t(0)}J=Re}}if(ne=ne[0],se=se[0],J&&V(ue,1)&&!(J=1<=(Le=V(ue,4))&&11>=Le)){G.a=3;break e}var tt;if(tt=J)t:{var cr,Ft,rn,On=G,Xr=ne,La=se,Zn=Le,ca=B,Ra=On.m,Cr=On.s,sn=[null],fn=1,Jn=0,hn=rG[Zn];n:for(;;){if(ca&&V(Ra,1)){var Kr=V(Ra,3)+2,Fs=oe(Xr,Kr),lr=oe(La,Kr),Za=Fs*lr;if(!wo(Fs,lr,0,On,sn))break n;for(sn=sn[0],Cr.xc=Kr,cr=0;cr<Za;++cr){var _n=sn[cr]>>8&65535;sn[cr]=_n,_n>=fn&&(fn=_n+1)}}if(Ra.h)break n;for(Ft=0;5>Ft;++Ft){var Er=JD[Ft];!Ft&&0<Zn&&(Er+=1<<Zn),Jn<Er&&(Jn=Er)}var Ci=o(fn*hn,R),Oa=fn,Ei=o(Oa,q);if(Ei==null)var Si=null;else t(65536>=Oa),Si=Ei;var Ja=s(Jn);if(Si==null||Ja==null||Ci==null){On.a=1;break n}var Di=Ci;for(cr=rn=0;cr<fn;++cr){var An=Si[cr],Ai=An.G,Ms=An.H,ed=0,hc=1,Yr=0;for(Ft=0;5>Ft;++Ft){Er=JD[Ft],Ai[Ft]=Di,Ms[Ft]=rn,!Ft&&0<Zn&&(Er+=1<<Zn);a:{var mv,Hw=Er,gv=On,Lm=Ja,NG=Di,CG=rn,Gw=0,yl=gv.m,EG=V(yl,1);if(i(Lm,0,0,Hw),EG){var SG=V(yl,1)+1,DG=V(yl,1),uA=V(yl,DG==0?1:8);Lm[uA]=1,SG==2&&(Lm[uA=V(yl,8)]=1);var xv=1}else{var dA=s(19),pA=V(yl,4)+4;if(19<pA){gv.a=3;var yv=0;break a}for(mv=0;mv<pA;++mv)dA[tG[mv]]=V(yl,3);var Xw=void 0,Rm=void 0,fA=gv,AG=dA,vv=Hw,hA=Lm,Kw=0,vl=fA.m,mA=8,gA=o(128,R);r:for(;D(gA,0,7,AG,19);){if(V(vl,1)){var kG=2+2*V(vl,3);if((Xw=2+V(vl,kG))>vv)break r}else Xw=vv;for(Rm=0;Rm<vv&&Xw--;){re(vl);var xA=gA[0+(127&K(vl))];ee(vl,vl.u+xA.g);var Lp=xA.value;if(16>Lp)hA[Rm++]=Lp,Lp!=0&&(mA=Lp);else{var TG=Lp==16,yA=Lp-16,PG=JH[yA],vA=V(vl,ZH[yA])+PG;if(Rm+vA>vv)break r;for(var LG=TG?mA:0;0<vA--;)hA[Rm++]=LG}}Kw=1;break r}Kw||(fA.a=3),xv=Kw}(xv=xv&&!yl.h)&&(Gw=D(NG,CG,8,Lm,Hw)),xv&&Gw!=0?yv=Gw:(gv.a=3,yv=0)}if(yv==0)break n;if(hc&&eG[Ft]==1&&(hc=Di[rn].g==0),ed+=Di[rn].g,rn+=yv,3>=Ft){var Om,Yw=Ja[0];for(Om=1;Om<Er;++Om)Ja[Om]>Yw&&(Yw=Ja[Om]);Yr+=Yw}}if(An.nd=hc,An.Qb=0,hc&&(An.qb=(Ai[3][Ms[3]+0].value<<24|Ai[1][Ms[1]+0].value<<16|Ai[2][Ms[2]+0].value)>>>0,ed==0&&256>Ai[0][Ms[0]+0].value&&(An.Qb=1,An.qb+=Ai[0][Ms[0]+0].value<<8)),An.jc=!An.Qb&&6>Yr,An.jc){var bv,mc=An;for(bv=0;bv<Qu;++bv){var bl=bv,wl=mc.pd[bl],wv=mc.G[0][mc.H[0]+bl];256<=wv.value?(wl.g=wv.g+256,wl.value=wv.value):(wl.g=0,wl.value=0,bl>>=qn(wv,8,wl),bl>>=qn(mc.G[1][mc.H[1]+bl],16,wl),bl>>=qn(mc.G[2][mc.H[2]+bl],0,wl),qn(mc.G[3][mc.H[3]+bl],24,wl))}}}Cr.vc=sn,Cr.Wb=fn,Cr.Ya=Si,Cr.yc=Ci,tt=1;break t}tt=0}if(!(J=tt)){G.a=3;break e}if(0<Le){if(fe.ua=1<<Le,!X(fe.Wa,Le)){G.a=1,J=0;break e}}else fe.ua=0;var Qw=G,bA=ne,RG=se,Zw=Qw.s,Jw=Zw.xc;if(Qw.c=bA,Qw.i=RG,Zw.md=oe(bA,Jw),Zw.wc=Jw==0?-1:(1<<Jw)-1,B){G.xb=dG;break e}if((_e=s(ne*se))==null){G.a=1,J=0;break e}J=(J=Rs(G,_e,0,ne,se,se,null))&&!ue.h;break e}return J?(Z!=null?Z[0]=_e:(t(_e==null),t(B)),G.$=0,B||Ji(fe)):Ji(fe),J}function qu(C,L){var B=C.c*C.i,G=B+L+16*L;return t(C.c<=L),C.V=s(G),C.V==null?(C.Ta=null,C.Ua=0,C.a=1,0):(C.Ta=C.V,C.Ua=C.Ba+B+L,1)}function wp(C,L){var B=C.C,G=L-B,Z=C.V,J=C.Ba+C.c*B;for(t(L<=C.l.o);0<G;){var ne=16<G?16:G,se=C.l.ma,ue=C.l.width,fe=ue*ne,_e=se.ca,Le=se.tb+ue*B,he=C.Ta,Ee=C.Ua;wi(C,ne,Z,J),VD(he,Ee,_e,Le,fe),bo(se,B,B+ne,_e,Le,ue),G-=ne,Z+=ne*C.c,B+=ne}t(B==L),C.C=C.Ma=L}function jp(){this.ub=this.yd=this.td=this.Rb=0}function _p(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function jw(){this.Fb=this.Bb=this.Cb=0,this.Zb=s(4),this.Lb=s(4)}function cm(){this.Yb=function(){var C=[];return function L(B,G,Z){for(var J=Z[G],ne=0;ne<J&&(B.push(Z.length>G+1?[]:0),!(Z.length<G+1));ne++)L(B[ne],G+1,Z)}(C,0,[3,11]),C}()}function qy(){this.jb=s(3),this.Wc=c([4,8],cm),this.Xc=c([4,17],cm)}function By(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new s(4),this.od=new s(4)}function es(){this.ld=this.La=this.dd=this.tc=0}function lm(){this.Na=this.la=0}function zy(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function um(){this.ad=s(384),this.Za=0,this.Ob=s(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function $y(){this.uc=this.M=this.Nb=0,this.wa=Array(new es),this.Y=0,this.ya=Array(new um),this.aa=0,this.l=new Np}function Wy(){this.y=s(16),this.f=s(8),this.ea=s(8)}function Vy(){this.cb=this.a=0,this.sc="",this.m=new O,this.Od=new jp,this.Kc=new _p,this.ed=new By,this.Qa=new jw,this.Ic=this.$c=this.Aa=0,this.D=new $y,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,O),this.ia=0,this.pb=o(4,zy),this.Pa=new qy,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Wy),this.Hd=0,this.rb=Array(new lm),this.sb=0,this.wa=Array(new es),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 um),this.L=this.aa=0,this.gd=c([4,2],es),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 jo(C,L){return 0>C?0:C>L?L:C}function Np(){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 _w(){var C=new Vy;return C!=null&&(C.a=0,C.sc="OK",C.cb=0,C.Xb=0,Tm||(Tm=Cp)),C}function gr(C,L,B){return C.a==0&&(C.a=L,C.sc=B,C.cb=0),0}function Hy(C,L,B){return 3<=B&&C[L+0]==157&&C[L+1]==1&&C[L+2]==42}function _o(C,L){if(C==null)return 0;if(C.a=0,C.sc="OK",L==null)return gr(C,2,"null VP8Io passed to VP8GetHeaders()");var B=L.data,G=L.w,Z=L.ha;if(4>Z)return gr(C,7,"Truncated header.");var J=B[G+0]|B[G+1]<<8|B[G+2]<<16,ne=C.Od;if(ne.Rb=!(1&J),ne.td=J>>1&7,ne.yd=J>>4&1,ne.ub=J>>5,3<ne.td)return gr(C,3,"Incorrect keyframe parameters.");if(!ne.yd)return gr(C,4,"Frame not displayable.");G+=3,Z-=3;var se=C.Kc;if(ne.Rb){if(7>Z)return gr(C,7,"cannot parse picture header");if(!Hy(B,G,Z))return gr(C,3,"Bad code word");se.c=16383&(B[G+4]<<8|B[G+3]),se.Td=B[G+4]>>6,se.i=16383&(B[G+6]<<8|B[G+5]),se.Ud=B[G+6]>>6,G+=7,Z-=7,C.za=se.c+15>>4,C.Ub=se.i+15>>4,L.width=se.c,L.height=se.i,L.Da=0,L.j=0,L.v=0,L.va=L.width,L.o=L.height,L.da=0,L.ib=L.width,L.hb=L.height,L.U=L.width,L.T=L.height,i((J=C.Pa).jb,0,255,J.jb.length),t((J=C.Qa)!=null),J.Cb=0,J.Bb=0,J.Fb=1,i(J.Zb,0,0,J.Zb.length),i(J.Lb,0,0,J.Lb)}if(ne.ub>Z)return gr(C,7,"bad partition length");I(J=C.m,B,G,ne.ub),G+=ne.ub,Z-=ne.ub,ne.Rb&&(se.Ld=le(J),se.Kd=le(J)),se=C.Qa;var ue,fe=C.Pa;if(t(J!=null),t(se!=null),se.Cb=le(J),se.Cb){if(se.Bb=le(J),le(J)){for(se.Fb=le(J),ue=0;4>ue;++ue)se.Zb[ue]=le(J)?M(J,7):0;for(ue=0;4>ue;++ue)se.Lb[ue]=le(J)?M(J,6):0}if(se.Bb)for(ue=0;3>ue;++ue)fe.jb[ue]=le(J)?z(J,8):255}else se.Bb=0;if(J.Ka)return gr(C,3,"cannot parse segment header");if((se=C.ed).zd=le(J),se.Tb=z(J,6),se.wb=z(J,3),se.Pc=le(J),se.Pc&&le(J)){for(fe=0;4>fe;++fe)le(J)&&(se.vd[fe]=M(J,6));for(fe=0;4>fe;++fe)le(J)&&(se.od[fe]=M(J,6))}if(C.L=se.Tb==0?0:se.zd?1:2,J.Ka)return gr(C,3,"cannot parse filter header");var _e=Z;if(Z=ue=G,G=ue+_e,se=_e,C.Xb=(1<<z(C.m,2))-1,_e<3*(fe=C.Xb))B=7;else{for(ue+=3*fe,se-=3*fe,_e=0;_e<fe;++_e){var Le=B[Z+0]|B[Z+1]<<8|B[Z+2]<<16;Le>se&&(Le=se),I(C.Jc[+_e],B,ue,Le),ue+=Le,se-=Le,Z+=3}I(C.Jc[+fe],B,ue,se),B=ue<G?0:5}if(B!=0)return gr(C,B,"cannot parse partitions");for(B=z(ue=C.m,7),Z=le(ue)?M(ue,4):0,G=le(ue)?M(ue,4):0,se=le(ue)?M(ue,4):0,fe=le(ue)?M(ue,4):0,ue=le(ue)?M(ue,4):0,_e=C.Qa,Le=0;4>Le;++Le){if(_e.Cb){var he=_e.Zb[Le];_e.Fb||(he+=B)}else{if(0<Le){C.pb[Le]=C.pb[0];continue}he=B}var Ee=C.pb[Le];Ee.Sc[0]=$w[jo(he+Z,127)],Ee.Sc[1]=Ww[jo(he+0,127)],Ee.Eb[0]=2*$w[jo(he+G,127)],Ee.Eb[1]=101581*Ww[jo(he+se,127)]>>16,8>Ee.Eb[1]&&(Ee.Eb[1]=8),Ee.Qc[0]=$w[jo(he+fe,117)],Ee.Qc[1]=Ww[jo(he+ue,127)],Ee.lc=he+ue}if(!ne.Rb)return gr(C,4,"Not a key frame.");for(le(J),ne=C.Pa,B=0;4>B;++B){for(Z=0;8>Z;++Z)for(G=0;3>G;++G)for(se=0;11>se;++se)fe=ge(J,lG[B][Z][G][se])?z(J,8):oG[B][Z][G][se],ne.Wc[B][Z].Yb[G][se]=fe;for(Z=0;17>Z;++Z)ne.Xc[B][Z]=ne.Wc[B][uG[Z]]}return C.kc=le(J),C.kc&&(C.Bd=z(J,8)),C.cb=1}function Cp(C,L,B,G,Z,J,ne){var se=L[Z].Yb[B];for(B=0;16>Z;++Z){if(!ge(C,se[B+0]))return Z;for(;!ge(C,se[B+1]);)if(se=L[++Z].Yb[0],B=0,Z==16)return 16;var ue=L[Z+1].Yb;if(ge(C,se[B+2])){var fe=C,_e=0;if(ge(fe,(he=se)[(Le=B)+3]))if(ge(fe,he[Le+6])){for(se=0,Le=2*(_e=ge(fe,he[Le+8]))+(he=ge(fe,he[Le+9+_e])),_e=0,he=iG[Le];he[se];++se)_e+=_e+ge(fe,he[se]);_e+=3+(8<<Le)}else ge(fe,he[Le+7])?(_e=7+2*ge(fe,165),_e+=ge(fe,145)):_e=5+ge(fe,159);else _e=ge(fe,he[Le+4])?3+ge(fe,he[Le+5]):2;se=ue[2]}else _e=1,se=ue[1];ue=ne+sG[Z],0>(fe=C).b&&ae(fe);var Le,he=fe.b,Ee=(Le=fe.Ca>>1)-(fe.I>>he)>>31;--fe.b,fe.Ca+=Ee,fe.Ca|=1,fe.I-=(Le+1&Ee)<<he,J[ue]=((_e^Ee)-Ee)*G[(0<Z)+0]}return 16}function Gy(C){var L=C.rb[C.sb-1];L.la=0,L.Na=0,i(C.zc,0,0,C.zc.length),C.ja=0}function ts(C,L,B,G,Z){Z=C[L+B+32*G]+(Z>>3),C[L+B+32*G]=-256&Z?0>Z?0:255:Z}function wr(C,L,B,G,Z,J){ts(C,L,0,B,G+Z),ts(C,L,1,B,G+J),ts(C,L,2,B,G-J),ts(C,L,3,B,G-Z)}function tc(C){return(20091*C>>16)+C}function Xy(C,L,B,G){var Z,J=0,ne=s(16);for(Z=0;4>Z;++Z){var se=C[L+0]+C[L+8],ue=C[L+0]-C[L+8],fe=(35468*C[L+4]>>16)-tc(C[L+12]),_e=tc(C[L+4])+(35468*C[L+12]>>16);ne[J+0]=se+_e,ne[J+1]=ue+fe,ne[J+2]=ue-fe,ne[J+3]=se-_e,J+=4,L++}for(Z=J=0;4>Z;++Z)se=(C=ne[J+0]+4)+ne[J+8],ue=C-ne[J+8],fe=(35468*ne[J+4]>>16)-tc(ne[J+12]),ts(B,G,0,0,se+(_e=tc(ne[J+4])+(35468*ne[J+12]>>16))),ts(B,G,1,0,ue+fe),ts(B,G,2,0,ue-fe),ts(B,G,3,0,se-_e),J++,G+=32}function Nw(C,L,B,G){var Z=C[L+0]+4,J=35468*C[L+4]>>16,ne=tc(C[L+4]),se=35468*C[L+1]>>16;wr(B,G,0,Z+ne,C=tc(C[L+1]),se),wr(B,G,1,Z+J,C,se),wr(B,G,2,Z-J,C,se),wr(B,G,3,Z-ne,C,se)}function Cw(C,L,B,G,Z){Xy(C,L,B,G),Z&&Xy(C,L+16,B,G+4)}function No(C,L,B,G){Ju(C,L+0,B,G,1),Ju(C,L+32,B,G+128,1)}function Ky(C,L,B,G){var Z;for(C=C[L+0]+4,Z=0;4>Z;++Z)for(L=0;4>L;++L)ts(B,G,L,Z,C)}function Yy(C,L,B,G){C[L+0]&&ln(C,L+0,B,G),C[L+16]&&ln(C,L+16,B,G+4),C[L+32]&&ln(C,L+32,B,G+128),C[L+48]&&ln(C,L+48,B,G+128+4)}function Ep(C,L,B,G){var Z,J=s(16);for(Z=0;4>Z;++Z){var ne=C[L+0+Z]+C[L+12+Z],se=C[L+4+Z]+C[L+8+Z],ue=C[L+4+Z]-C[L+8+Z],fe=C[L+0+Z]-C[L+12+Z];J[0+Z]=ne+se,J[8+Z]=ne-se,J[4+Z]=fe+ue,J[12+Z]=fe-ue}for(Z=0;4>Z;++Z)ne=(C=J[0+4*Z]+3)+J[3+4*Z],se=J[1+4*Z]+J[2+4*Z],ue=J[1+4*Z]-J[2+4*Z],fe=C-J[3+4*Z],B[G+0]=ne+se>>3,B[G+16]=fe+ue>>3,B[G+32]=ne-se>>3,B[G+48]=fe-ue>>3,G+=64}function Bu(C,L,B){var G,Z=L-32,J=Ni,ne=255-C[Z-1];for(G=0;G<B;++G){var se,ue=J,fe=ne+C[L-1];for(se=0;se<B;++se)C[L+se]=ue[fe+C[Z+se]];L+=32}}function Ew(C,L){Bu(C,L,4)}function Sw(C,L){Bu(C,L,8)}function Dw(C,L){Bu(C,L,16)}function dm(C,L){var B;for(B=0;16>B;++B)r(C,L+32*B,C,L-32,16)}function Qy(C,L){var B;for(B=16;0<B;--B)i(C,L,C[L-1],16),L+=32}function Os(C,L,B){var G;for(G=0;16>G;++G)i(L,B+32*G,C,16)}function Aw(C,L){var B,G=16;for(B=0;16>B;++B)G+=C[L-1+32*B]+C[L+B-32];Os(G>>5,C,L)}function zu(C,L){var B,G=8;for(B=0;16>B;++B)G+=C[L-1+32*B];Os(G>>4,C,L)}function pm(C,L){var B,G=8;for(B=0;16>B;++B)G+=C[L+B-32];Os(G>>4,C,L)}function kw(C,L){Os(128,C,L)}function It(C,L,B){return C+2*L+B+2>>2}function Tw(C,L){var B,G=L-32;
vendor: 3,130 bytes, line 1083
1083for(G=new Uint8Array([It(C[G-1],C[G+0],C[G+1]),It(C[G+0],C[G+1],C[G+2]),It(C[G+1],C[G+2],C[G+3]),It(C[G+2],C[G+3],C[G+4])]),B=0;4>B;++B)r(C,L+32*B,G,0,G.length)}function Pw(C,L){var B=C[L-1],G=C[L-1+32],Z=C[L-1+64],J=C[L-1+96];ke(C,L+0,16843009*It(C[L-1-32],B,G)),ke(C,L+32,16843009*It(B,G,Z)),ke(C,L+64,16843009*It(G,Z,J)),ke(C,L+96,16843009*It(Z,J,J))}function Lw(C,L){var B,G=4;for(B=0;4>B;++B)G+=C[L+B-32]+C[L-1+32*B];for(G>>=3,B=0;4>B;++B)i(C,L+32*B,G,4)}function nc(C,L){var B=C[L-1+0],G=C[L-1+32],Z=C[L-1+64],J=C[L-1-32],ne=C[L+0-32],se=C[L+1-32],ue=C[L+2-32],fe=C[L+3-32];C[L+0+96]=It(G,Z,C[L-1+96]),C[L+1+96]=C[L+0+64]=It(B,G,Z),C[L+2+96]=C[L+1+64]=C[L+0+32]=It(J,B,G),C[L+3+96]=C[L+2+64]=C[L+1+32]=C[L+0+0]=It(ne,J,B),C[L+3+64]=C[L+2+32]=C[L+1+0]=It(se,ne,J),C[L+3+32]=C[L+2+0]=It(ue,se,ne),C[L+3+0]=It(fe,ue,se)}function rc(C,L){var B=C[L+1-32],G=C[L+2-32],Z=C[L+3-32],J=C[L+4-32],ne=C[L+5-32],se=C[L+6-32],ue=C[L+7-32];C[L+0+0]=It(C[L+0-32],B,G),C[L+1+0]=C[L+0+32]=It(B,G,Z),C[L+2+0]=C[L+1+32]=C[L+0+64]=It(G,Z,J),C[L+3+0]=C[L+2+32]=C[L+1+64]=C[L+0+96]=It(Z,J,ne),C[L+3+32]=C[L+2+64]=C[L+1+96]=It(J,ne,se),C[L+3+64]=C[L+2+96]=It(ne,se,ue),C[L+3+96]=It(se,ue,ue)}function Rw(C,L){var B=C[L-1+0],G=C[L-1+32],Z=C[L-1+64],J=C[L-1-32],ne=C[L+0-32],se=C[L+1-32],ue=C[L+2-32],fe=C[L+3-32];C[L+0+0]=C[L+1+64]=J+ne+1>>1,C[L+1+0]=C[L+2+64]=ne+se+1>>1,C[L+2+0]=C[L+3+64]=se+ue+1>>1,C[L+3+0]=ue+fe+1>>1,C[L+0+96]=It(Z,G,B),C[L+0+64]=It(G,B,J),C[L+0+32]=C[L+1+96]=It(B,J,ne),C[L+1+32]=C[L+2+96]=It(J,ne,se),C[L+2+32]=C[L+3+96]=It(ne,se,ue),C[L+3+32]=It(se,ue,fe)}function Ow(C,L){var B=C[L+0-32],G=C[L+1-32],Z=C[L+2-32],J=C[L+3-32],ne=C[L+4-32],se=C[L+5-32],ue=C[L+6-32],fe=C[L+7-32];C[L+0+0]=B+G+1>>1,C[L+1+0]=C[L+0+64]=G+Z+1>>1,C[L+2+0]=C[L+1+64]=Z+J+1>>1,C[L+3+0]=C[L+2+64]=J+ne+1>>1,C[L+0+32]=It(B,G,Z),C[L+1+32]=C[L+0+96]=It(G,Z,J),C[L+2+32]=C[L+1+96]=It(Z,J,ne),C[L+3+32]=C[L+2+96]=It(J,ne,se),C[L+3+64]=It(ne,se,ue),C[L+3+96]=It(se,ue,fe)}function Sp(C,L){var B=C[L-1+0],G=C[L-1+32],Z=C[L-1+64],J=C[L-1+96];C[L+0+0]=B+G+1>>1,C[L+2+0]=C[L+0+32]=G+Z+1>>1,C[L+2+32]=C[L+0+64]=Z+J+1>>1,C[L+1+0]=It(B,G,Z),C[L+3+0]=C[L+1+32]=It(G,Z,J),C[L+3+32]=C[L+1+64]=It(Z,J,J),C[L+3+64]=C[L+2+64]=C[L+0+96]=C[L+1+96]=C[L+2+96]=C[L+3+96]=J}function fm(C,L){var B=C[L-1+0],G=C[L-1+32],Z=C[L-1+64],J=C[L-1+96],ne=C[L-1-32],se=C[L+0-32],ue=C[L+1-32],fe=C[L+2-32];C[L+0+0]=C[L+2+32]=B+ne+1>>1,C[L+0+32]=C[L+2+64]=G+B+1>>1,C[L+0+64]=C[L+2+96]=Z+G+1>>1,C[L+0+96]=J+Z+1>>1,C[L+3+0]=It(se,ue,fe),C[L+2+0]=It(ne,se,ue),C[L+1+0]=C[L+3+32]=It(B,ne,se),C[L+1+32]=C[L+3+64]=It(G,B,ne),C[L+1+64]=C[L+3+96]=It(Z,G,B),C[L+1+96]=It(J,Z,G)}function $u(C,L){var B;for(B=0;8>B;++B)r(C,L+32*B,C,L-32,8)}function Iw(C,L){var B;for(B=0;8>B;++B)i(C,L,C[L-1],8),L+=32}function ac(C,L,B){var G;for(G=0;8>G;++G)i(L,B+32*G,C,8)}function Uw(C,L){var B,G=8;for(B=0;8>B;++B)G+=C[L+B-32]+C[L-1+32*B];ac(G>>4,C,L)}function hm(C,L){var B,G=4;for(B=0;8>B;++B)G+=C[L+B-32];ac(G>>3,C,L)}function mm(C,L){var B,G=4;for(B=0;8>B;++B)G+=C[L-1+32*B];ac(G>>3,C,L)}function Zy(C,L){ac(128,C,L)}function ic(C,L,B){var G=C[L-B],Z=C[L+0],J=3*(Z-G)+Fw[1020+C[L-2*B]-C[L+B]],ne=sv[112+(J+4>>
vendor: 17,445 bytes, line 1083
10833)];C[L-B]=Ni[255+G+sv[112+(J+3>>3)]],C[L+0]=Ni[255+Z-ne]}function gm(C,L,B,G){var Z=C[L+0],J=C[L+B];return as[255+C[L-2*B]-C[L-B]]>G||as[255+J-Z]>G}function Dp(C,L,B,G){return 4*as[255+C[L-B]-C[L+0]]+as[255+C[L-2*B]-C[L+B]]<=G}function xm(C,L,B,G,Z){var J=C[L-3*B],ne=C[L-2*B],se=C[L-B],ue=C[L+0],fe=C[L+B],_e=C[L+2*B],Le=C[L+3*B];return 4*as[255+se-ue]+as[255+ne-fe]>G?0:as[255+C[L-4*B]-J]<=Z&&as[255+J-ne]<=Z&&as[255+ne-se]<=Z&&as[255+Le-_e]<=Z&&as[255+_e-fe]<=Z&&as[255+fe-ue]<=Z}function Wu(C,L,B,G){var Z=2*G+1;for(G=0;16>G;++G)Dp(C,L+G,B,Z)&&ic(C,L+G,B)}function ym(C,L,B,G){var Z=2*G+1;for(G=0;16>G;++G)Dp(C,L+G*B,1,Z)&&ic(C,L+G*B,1)}function Jy(C,L,B,G){var Z;for(Z=3;0<Z;--Z)Wu(C,L+=4*B,B,G)}function ev(C,L,B,G){var Z;for(Z=3;0<Z;--Z)ym(C,L+=4,B,G)}function sc(C,L,B,G,Z,J,ne,se){for(J=2*J+1;0<Z--;){if(xm(C,L,B,J,ne))if(gm(C,L,B,se))ic(C,L,B);else{var ue=C,fe=L,_e=B,Le=ue[fe-2*_e],he=ue[fe-_e],Ee=ue[fe+0],Te=ue[fe+_e],Re=ue[fe+2*_e],Pe=27*(Me=Fw[1020+3*(Ee-he)+Fw[1020+Le-Te]])+63>>7,Ie=18*Me+63>>7,Me=9*Me+63>>7;ue[fe-3*_e]=Ni[255+ue[fe-3*_e]+Me],ue[fe-2*_e]=Ni[255+Le+Ie],ue[fe-_e]=Ni[255+he+Pe],ue[fe+0]=Ni[255+Ee-Pe],ue[fe+_e]=Ni[255+Te-Ie],ue[fe+2*_e]=Ni[255+Re-Me]}L+=G}}function oc(C,L,B,G,Z,J,ne,se){for(J=2*J+1;0<Z--;){if(xm(C,L,B,J,ne))if(gm(C,L,B,se))ic(C,L,B);else{var ue=C,fe=L,_e=B,Le=ue[fe-_e],he=ue[fe+0],Ee=ue[fe+_e],Te=sv[112+(4+(Re=3*(he-Le))>>3)],Re=sv[112+(Re+3>>3)],Pe=Te+1>>1;ue[fe-2*_e]=Ni[255+ue[fe-2*_e]+Pe],ue[fe-_e]=Ni[255+Le+Re],ue[fe+0]=Ni[255+he-Te],ue[fe+_e]=Ni[255+Ee-Pe]}L+=G}}function tv(C,L,B,G,Z,J){sc(C,L,B,1,16,G,Z,J)}function Vu(C,L,B,G,Z,J){sc(C,L,1,B,16,G,Z,J)}function nv(C,L,B,G,Z,J){var ne;for(ne=3;0<ne;--ne)oc(C,L+=4*B,B,1,16,G,Z,J)}function U(C,L,B,G,Z,J){var ne;for(ne=3;0<ne;--ne)oc(C,L+=4,1,B,16,G,Z,J)}function Q(C,L,B,G,Z,J,ne,se){sc(C,L,Z,1,8,J,ne,se),sc(B,G,Z,1,8,J,ne,se)}function me(C,L,B,G,Z,J,ne,se){sc(C,L,1,Z,8,J,ne,se),sc(B,G,1,Z,8,J,ne,se)}function be(C,L,B,G,Z,J,ne,se){oc(C,L+4*Z,Z,1,8,J,ne,se),oc(B,G+4*Z,Z,1,8,J,ne,se)}function Ae(C,L,B,G,Z,J,ne,se){oc(C,L+4,1,Z,8,J,ne,se),oc(B,G+4,1,Z,8,J,ne,se)}function Fe(){this.ba=new ot,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Rt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function ze(){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 mt(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function vt(){this.ua=0,this.Wa=new ie,this.vb=new ie,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new q,this.yc=new R}function Ot(){this.xb=this.a=0,this.l=new Np,this.ca=new ot,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new $,this.Pb=0,this.wd=new $,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new vt,this.ab=0,this.gc=o(4,mt),this.Oc=0}function Mt(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Np,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function an(C,L,B,G,Z,J,ne){for(C=C==null?0:C[L+0],L=0;L<ne;++L)Z[J+L]=C+B[G+L]&255,C=Z[J+L]}function Hn(C,L,B,G,Z,J,ne){var se;if(C==null)an(null,null,B,G,Z,J,ne);else for(se=0;se<ne;++se)Z[J+se]=C[L+se]+B[G+se]&255}function xr(C,L,B,G,Z,J,ne){if(C==null)an(null,null,B,G,Z,J,ne);else{var se,ue=C[L+0],fe=ue,_e=ue;for(se=0;se<ne;++se)fe=_e+(ue=C[L+se])-fe,_e=B[G+se]+(-256&fe?0>fe?0:255:fe)&255,fe=ue,Z[J+se]=_e}}function Dn(C,L,B,G){var Z=L.width,J=L.o;if(t(C!=null&&L!=null),0>B||0>=G||B+G>J)return null;if(!C.Cc){if(C.ga==null){var ne;if(C.ga=new Mt,(ne=C.ga==null)||(ne=L.width*L.o,t(C.Gb.length==0),C.Gb=s(ne),C.Uc=0,C.Gb==null?ne=0:(C.mb=C.Gb,C.nb=C.Uc,C.rc=null,ne=1),ne=!ne),!ne){ne=C.ga;var se=C.Fa,ue=C.P,fe=C.qc,_e=C.mb,Le=C.nb,he=ue+1,Ee=fe-1,Te=ne.l;if(t(se!=null&&_e!=null&&L!=null),xl[0]=null,xl[1]=an,xl[2]=Hn,xl[3]=xr,ne.ca=_e,ne.tb=Le,ne.c=L.width,ne.i=L.height,t(0<ne.c&&0<ne.i),1>=fe)L=0;else if(ne.$a=3&se[ue+0],ne.Z=se[ue+0]>>2&3,ne.Lc=se[ue+0]>>4&3,ue=se[ue+0]>>6&3,0>ne.$a||1<ne.$a||4<=ne.Z||1<ne.Lc||ue)L=0;else if(Te.put=jt,Te.ac=ir,Te.bc=wn,Te.ma=ne,Te.width=L.width,Te.height=L.height,Te.Da=L.Da,Te.v=L.v,Te.va=L.va,Te.j=L.j,Te.o=L.o,ne.$a)e:{t(ne.$a==1),L=Mu();t:for(;;){if(L==null){L=0;break e}if(t(ne!=null),ne.mc=L,L.c=ne.c,L.i=ne.i,L.l=ne.l,L.l.ma=ne,L.l.width=ne.c,L.l.height=ne.i,L.a=0,F(L.m,se,he,Ee),!wo(ne.c,ne.i,1,L,null)||(L.ab==1&&L.gc[0].hc==3&&Ps(L.s)?(ne.ic=1,se=L.c*L.i,L.Ta=null,L.Ua=0,L.V=s(se),L.Ba=0,L.V==null?(L.a=1,L=0):L=1):(ne.ic=0,L=qu(L,ne.c)),!L))break t;L=1;break e}ne.mc=null,L=0}else L=Ee>=ne.c*ne.i;ne=!L}if(ne)return null;C.ga.Lc!=1?C.Ga=0:G=J-B}t(C.ga!=null),t(B+G<=J);e:{if(L=(se=C.ga).c,J=se.l.o,se.$a==0){if(he=C.rc,Ee=C.Vc,Te=C.Fa,ue=C.P+1+B*L,fe=C.mb,_e=C.nb+B*L,t(ue<=C.P+C.qc),se.Z!=0)for(t(xl[se.Z]!=null),ne=0;ne<G;++ne)xl[se.Z](he,Ee,Te,ue,fe,_e,L),he=fe,Ee=_e,_e+=L,ue+=L;else for(ne=0;ne<G;++ne)r(fe,_e,Te,ue,L),he=fe,Ee=_e,_e+=L,ue+=L;C.rc=he,C.Vc=Ee}else{if(t(se.mc!=null),L=B+G,t((ne=se.mc)!=null),t(L<=ne.i),ne.C>=L)L=1;else if(se.ic||Is(),se.ic){se=ne.V,he=ne.Ba,Ee=ne.c;var Re=ne.i,Pe=(Te=1,ue=ne.$/Ee,fe=ne.$%Ee,_e=ne.m,Le=ne.s,ne.$),Ie=Ee*Re,Me=Ee*L,Ke=Le.wc,$e=Pe<Me?Sn(Le,fe,ue):null;t(Pe<=Ie),t(L<=Re),t(Ps(Le));t:for(;;){for(;!_e.h&&Pe<Me;){if(fe&Ke||($e=Sn(Le,fe,ue)),t($e!=null),re(_e),256>(Re=yn($e.G[0],$e.H[0],_e)))se[he+Pe]=Re,++Pe,++fe>=Ee&&(fe=0,++ue<=L&&!(ue%16)&&Ls(ne,ue));else{if(!(280>Re)){Te=0;break t}Re=Vn(Re-256,_e);var wt,ft=yn($e.G[4],$e.H[4],_e);if(re(_e),!(Pe>=(ft=Qn(Ee,ft=Vn(ft,_e)))&&Ie-Pe>=Re)){Te=0;break t}for(wt=0;wt<Re;++wt)se[he+Pe+wt]=se[he+Pe+wt-ft];for(Pe+=Re,fe+=Re;fe>=Ee;)fe-=Ee,++ue<=L&&!(ue%16)&&Ls(ne,ue);Pe<Me&&fe&Ke&&($e=Sn(Le,fe,ue))}t(_e.h==Y(_e))}Ls(ne,ue>L?L:ue);break t}!Te||_e.h&&Pe<Ie?(Te=0,ne.a=_e.h?5:3):ne.$=Pe,L=Te}else L=Rs(ne,ne.V,ne.Ba,ne.c,ne.i,L,wp);if(!L){G=0;break e}}B+G>=J&&(C.Cc=1),G=1}if(!G)return null;if(C.Cc&&((G=C.ga)!=null&&(G.mc=null),C.ga=null,0<C.Ga))return alert("todo:WebPDequantizeLevels"),null}return C.nb+B*Z}function jr(C,L,B,G,Z,J){for(;0<Z--;){var ne,se=C,ue=L+(B?1:0),fe=C,_e=L+(B?0:3);for(ne=0;ne<G;++ne){var Le=fe[_e+4*ne];Le!=255&&(Le*=32897,se[ue+4*ne+0]=se[ue+4*ne+0]*Le>>23,se[ue+4*ne+1]=se[ue+4*ne+1]*Le>>23,se[ue+4*ne+2]=se[ue+4*ne+2]*Le>>23)}L+=J}}function yr(C,L,B,G,Z){for(;0<G--;){var J;for(J=0;J<B;++J){var ne=C[L+2*J+0],se=15&(fe=C[L+2*J+1]),ue=4369*se,fe=(240&fe|fe>>4)*ue>>16;C[L+2*J+0]=(240&ne|ne>>4)*ue>>16&240|(15&ne|ne<<4)*ue>>16>>4&15,C[L+2*J+1]=240&fe|se}L+=Z}}function Hr(C,L,B,G,Z,J,ne,se){var ue,fe,_e=255;for(fe=0;fe<Z;++fe){for(ue=0;ue<G;++ue){var Le=C[L+ue];J[ne+4*ue]=Le,_e&=Le}L+=B,ne+=se}return _e!=255}function cc(C,L,B,G,Z){var J;for(J=0;J<Z;++J)B[G+J]=C[L+J]>>8}function Is(){km=jr,$D=yr,WD=Hr,VD=cc}function lc(C,L,B){S[C]=function(G,Z,J,ne,se,ue,fe,_e,Le,he,Ee,Te,Re,Pe,Ie,Me,Ke){var $e,wt=Ke-1>>1,ft=se[ue+0]|fe[_e+0]<<16,Bt=Le[he+0]|Ee[Te+0]<<16;t(G!=null);var gt=3*ft+Bt+131074>>2;for(L(G[Z+0],255>,gt>>16,Re,Pe),J!=null&&(gt=3*Bt+ft+131074>>2,L(J[ne+0],255>,gt>>16,Ie,Me)),$e=1;$e<=wt;++$e){var en=se[ue+$e]|fe[_e+$e]<<16,Nr=Le[he+$e]|Ee[Te+$e]<<16,zt=ft+en+Bt+Nr+524296,xt=zt+2*(en+Bt)>>3;gt=xt+ft>>1,ft=(zt=zt+2*(ft+Nr)>>3)+en>>1,L(G[Z+2*$e-1],255>,gt>>16,Re,Pe+(2*$e-1)*B),L(G[Z+2*$e-0],255&ft,ft>>16,Re,Pe+(2*$e-0)*B),J!=null&&(gt=zt+Bt>>1,ft=xt+Nr>>1,L(J[ne+2*$e-1],255>,gt>>16,Ie,Me+(2*$e-1)*B),L(J[ne+2*$e+0],255&ft,ft>>16,Ie,Me+(2*$e+0)*B)),ft=en,Bt=Nr}1&Ke||(gt=3*ft+Bt+131074>>2,L(G[Z+Ke-1],255>,gt>>16,Re,Pe+(Ke-1)*B),J!=null&&(gt=3*Bt+ft+131074>>2,L(J[ne+Ke-1],255>,gt>>16,Ie,Me+(Ke-1)*B)))}}function vm(){is[ov]=pG,is[cv]=nA,is[QD]=fG,is[lv]=rA,is[uv]=aA,is[Mw]=iA,is[ZD]=hG,is[qw]=nA,is[Bw]=rA,is[dv]=aA,is[zw]=iA}function Ap(C){return C&~mG?0>C?0:255:C>>sA}function ol(C,L){return Ap((19077*C>>8)+(26149*L>>8)-14234)}function Hu(C,L,B){return Ap((19077*C>>8)-(6419*L>>8)-(13320*B>>8)+8708)}function Gu(C,L){return Ap((19077*C>>8)+(33050*L>>8)-17685)}function cl(C,L,B,G,Z){G[Z+0]=ol(C,B),G[Z+1]=Hu(C,L,B),G[Z+2]=Gu(C,L)}function Gr(C,L,B,G,Z){G[Z+0]=Gu(C,L),G[Z+1]=Hu(C,L,B),G[Z+2]=ol(C,B)}function Xu(C,L,B,G,Z){var J=Hu(C,L,B);L=J<<3&224|Gu(C,L)>>3,G[Z+0]=248&ol(C,B)|J>>5,G[Z+1]=L}function Ku(C,L,B,G,Z){var J=240&Gu(C,L)|15;G[Z+0]=240&ol(C,B)|Hu(C,L,B)>>4,G[Z+1]=J}function bm(C,L,B,G,Z){G[Z+0]=255,cl(C,L,B,G,Z+1)}function wm(C,L,B,G,Z){Gr(C,L,B,G,Z),G[Z+3]=255}function Pa(C,L,B,G,Z){cl(C,L,B,G,Z),G[Z+3]=255}function uc(C,L,B){S[C]=function(G,Z,J,ne,se,ue,fe,_e,Le){for(var he=_e+(-2&Le)*B;_e!=he;)L(G[Z+0],J[ne+0],se[ue+0],fe,_e),L(G[Z+1],J[ne+0],se[ue+0],fe,_e+B),Z+=2,++ne,++ue,_e+=2*B;1&Le&&L(G[Z+0],J[ne+0],se[ue+0],fe,_e)}}function kp(C,L,B){return B==0?C==0?L==0?6:5:L==0?4:0:B}function rv(C,L,B,G,Z){switch(C>>>30){case 3:Ju(L,B,G,Z,0);break;case 2:rs(L,B,G,Z);break;case 1:ln(L,B,G,Z)}}function ns(C,L){var B,G,Z=L.M,J=L.Nb,ne=C.oc,se=C.pc+40,ue=C.oc,fe=C.pc+584,_e=C.oc,Le=C.pc+600;for(B=0;16>B;++B)ne[se+32*B-1]=129;for(B=0;8>B;++B)ue[fe+32*B-1]=129,_e[Le+32*B-1]=129;for(0<Z?ne[se-1-32]=ue[fe-1-32]=_e[Le-1-32]=129:(i(ne,se-32-1,127,21),i(ue,fe-32-1,127,9),i(_e,Le-32-1,127,9)),G=0;G<C.za;++G){var he=L.ya[L.aa+G];if(0<G){for(B=-1;16>B;++B)r(ne,se+32*B-4,ne,se+32*B+12,4);for(B=-1;8>B;++B)r(ue,fe+32*B-4,ue,fe+32*B+4,4),r(_e,Le+32*B-4,_e,Le+32*B+4,4)}var Ee=C.Gd,Te=C.Hd+G,Re=he.ad,Pe=he.Hc;if(0<Z&&(r(ne,se-32,Ee[Te].y,0,16),r(ue,fe-32,Ee[Te].f,0,8),r(_e,Le-32,Ee[Te].ea,0,8)),he.Za){var Ie=ne,Me=se-32+16;for(0<Z&&(G>=C.za-1?i(Ie,Me,Ee[Te].y[15],4):r(Ie,Me,Ee[Te+1].y,0,4)),B=0;4>B;B++)Ie[Me+128+B]=Ie[Me+256+B]=Ie[Me+384+B]=Ie[Me+0+B];for(B=0;16>B;++B,Pe<<=2)Ie=ne,Me=se+cA[B],Us[he.Ob[B]](Ie,Me),rv(Pe,Re,16*+B,Ie,Me)}else if(Ie=kp(G,Z,he.Ob[0]),gl[Ie](ne,se),Pe!=0)for(B=0;16>B;++B,Pe<<=2)rv(Pe,Re,16*+B,ne,se+cA[B]);for(B=he.Gc,Ie=kp(G,Z,he.Dd),fc[Ie](ue,fe),fc[Ie](_e,Le),Pe=Re,Ie=ue,Me=fe,255&(he=0|B)&&(170&he?So(Pe,256,Ie,Me):jn(Pe,256,Ie,Me)),he=_e,Pe=Le,255&(B>>=8)&&(170&B?So(Re,320,he,Pe):jn(Re,320,he,Pe)),Z<C.Ub-1&&(r(Ee[Te].y,0,ne,se+480,16),r(Ee[Te].f,0,ue,fe+224,8),r(Ee[Te].ea,0,_e,Le+224,8)),B=8*J*C.B,Ee=C.sa,Te=C.ta+16*G+16*J*C.R,Re=C.qa,he=C.ra+8*G+B,Pe=C.Ha,Ie=C.Ia+8*G+B,B=0;16>B;++B)r(Ee,Te+B*C.R,ne,se+32*B,16);for(B=0;8>B;++B)r(Re,he+B*C.B,ue,fe+32*B,8),r(Pe,Ie+B*C.B,_e,Le+32*B,8)}}function Yu(C,L,B,G,Z,J,ne,se,ue){var fe=[0],_e=[0],Le=0,he=ue!=null?ue.kd:0,Ee=ue??new ze;if(C==null||12>B)return 7;Ee.data=C,Ee.w=L,Ee.ha=B,L=[L],B=[B],Ee.gb=[Ee.gb];e:{var Te=L,Re=B,Pe=Ee.gb;if(t(C!=null),t(Re!=null),t(Pe!=null),Pe[0]=0,12<=Re[0]&&!n(C,Te[0],"RIFF")){if(n(C,Te[0]+8,"WEBP")){Pe=3;break e}var Ie=W(C,Te[0]+4);if(12>Ie||4294967286<Ie){Pe=3;break e}if(he&&Ie>Re[0]-8){Pe=7;break e}Pe[0]=Ie,Te[0]+=12,Re[0]-=12}Pe=0}if(Pe!=0)return Pe;for(Ie=0<Ee.gb[0],B=B[0];;){e:{var Me=C;Re=L,Pe=B;var Ke=fe,$e=_e,wt=Te=[0];if((gt=Le=[Le])[0]=0,8>Pe[0])Pe=7;else{if(!n(Me,Re[0],"VP8X")){if(W(Me,Re[0]+4)!=10){Pe=3;break e}if(18>Pe[0]){Pe=7;break e}var ft=W(Me,Re[0]+8),Bt=1+we(Me,Re[0]+12);if(2147483648<=Bt*(Me=1+we(Me,Re[0]+15))){Pe=3;break e}wt!=null&&(wt[0]=ft),Ke!=null&&(Ke[0]=Bt),$e!=null&&($e[0]=Me),Re[0]+=18,Pe[0]-=18,gt[0]=1}Pe=0}}if(Le=Le[0],Te=Te[0],Pe!=0)return Pe;if(Re=!!(2&Te),!Ie&&Le)return 3;if(J!=null&&(J[0]=!!(16&Te)),ne!=null&&(ne[0]=Re),se!=null&&(se[0]=0),ne=fe[0],Te=_e[0],Le&&Re&&ue==null){Pe=0;break}if(4>B){Pe=7;break}if(Ie&&Le||!Ie&&!Le&&!n(C,L[0],"ALPH")){B=[B],Ee.na=[Ee.na],Ee.P=[Ee.P],Ee.Sa=[Ee.Sa];e:{ft=C,Pe=L,Ie=B;var gt=Ee.gb;Ke=Ee.na,$e=Ee.P,wt=Ee.Sa,Bt=22,t(ft!=null),t(Ie!=null),Me=Pe[0];var en=Ie[0];for(t(Ke!=null),t(wt!=null),Ke[0]=null,$e[0]=null,wt[0]=0;;){if(Pe[0]=Me,Ie[0]=en,8>en){Pe=7;break e}var Nr=W(ft,Me+4);if(4294967286<Nr){Pe=3;break e}var zt=8+Nr+1&-2;if(Bt+=zt,0<gt&&Bt>gt){Pe=3;break e}if(!n(ft,Me,"VP8 ")||!n(ft,Me,"VP8L")){Pe=0;break e}if(en[0]<zt){Pe=7;break e}n(ft,Me,"ALPH")||(Ke[0]=ft,$e[0]=Me+8,wt[0]=Nr),Me+=zt,en-=zt}}if(B=B[0],Ee.na=Ee.na[0],Ee.P=Ee.P[0],Ee.Sa=Ee.Sa[0],Pe!=0)break}B=[B],Ee.Ja=[Ee.Ja],Ee.xa=[Ee.xa];e:if(gt=C,Pe=L,Ie=B,Ke=Ee.gb[0],$e=Ee.Ja,wt=Ee.xa,ft=Pe[0],Me=!n(gt,ft,"VP8 "),Bt=!n(gt,ft,"VP8L"),t(gt!=null),t(Ie!=null),t($e!=null),t(wt!=null),8>Ie[0])Pe=7;else{if(Me||Bt){if(gt=W(gt,ft+4),12<=Ke&>>Ke-12){Pe=3;break e}if(he&>>Ie[0]-8){Pe=7;break e}$e[0]=gt,Pe[0]+=8,Ie[0]-=8,wt[0]=Bt}else wt[0]=5<=Ie[0]&>[ft+0]==47&&!(gt[ft+4]>>5),$e[0]=Ie[0];Pe=0}if(B=B[0],Ee.Ja=Ee.Ja[0],Ee.xa=Ee.xa[0],L=L[0],Pe!=0)break;if(4294967286<Ee.Ja)return 3;if(se==null||Re||(se[0]=Ee.xa?2:1),ne=[ne],Te=[Te],Ee.xa){if(5>B){Pe=7;break}se=ne,he=Te,Re=J,C==null||5>B?C=0:5<=B&&C[L+0]==47&&!(C[L+4]>>5)?(Ie=[0],gt=[0],Ke=[0],F($e=new $,C,L,B),Or($e,Ie,gt,Ke)?(se!=null&&(se[0]=Ie[0]),he!=null&&(he[0]=gt[0]),Re!=null&&(Re[0]=Ke[0]),C=1):C=0):C=0}else{if(10>B){Pe=7;break}se=Te,C==null||10>B||!Hy(C,L+3,B-3)?C=0:(he=C[L+0]|C[L+1]<<8|C[L+2]<<16,Re=16383&(C[L+7]<<8|C[L+6]),C=16383&(C[L+9]<<8|C[L+8]),1&he||3<(he>>1&7)||!(he>>4&1)||he>>5>=Ee.Ja||!Re||!C?C=0:(ne&&(ne[0]=Re),se&&(se[0]=C),C=1))}if(!C||(ne=ne[0],Te=Te[0],Le&&(fe[0]!=ne||_e[0]!=Te)))return 3;ue!=null&&(ue[0]=Ee,ue.offset=L-ue.w,t(4294967286>L-ue.w),t(ue.offset==ue.ha-B));break}return Pe==0||Pe==7&&Le&&ue==null?(J!=null&&(J[0]|=Ee.na!=null&&0<Ee.na.length),G!=null&&(G[0]=ne),Z!=null&&(Z[0]=Te),0):Pe}function jm(C,L,B){var G=L.width,Z=L.height,J=0,ne=0,se=G,ue=Z;if(L.Da=C!=null&&0<C.Da,L.Da&&(se=C.cd,ue=C.bd,J=C.v,ne=C.j,11>B||(J&=-2,ne&=-2),0>J||0>ne||0>=se||0>=ue||J+se>G||ne+ue>Z))return 0;if(L.v=J,L.j=ne,L.va=J+se,L.o=ne+ue,L.U=se,L.T=ue,L.da=C!=null&&0<C.da,L.da){if(!te(se,ue,B=[C.ib],J=[C.hb]))return 0;L.ib=B[0],L.hb=J[0]}return L.ob=C!=null&&C.ob,L.Kb=C==null||!C.Sd,L.da&&(L.ob=L.ib<3*G/4&&L.hb<3*Z/4,L.Kb=0),1}function _m(C){if(C==null)return 2;if(11>C.S){var L=C.f.RGBA;L.fb+=(C.height-1)*L.A,L.A=-L.A}else L=C.f.kb,C=C.height,L.O+=(C-1)*L.fa,L.fa=-L.fa,L.N+=(C-1>>1)*L.Ab,L.Ab=-L.Ab,L.W+=(C-1>>1)*L.Db,L.Db=-L.Db,L.F!=null&&(L.J+=(C-1)*L.lb,L.lb=-L.lb);return 0}function ll(C,L,B,G){if(G==null||0>=C||0>=L)return 2;if(B!=null){if(B.Da){var Z=B.cd,J=B.bd,ne=-2&B.v,se=-2&B.j;if(0>ne||0>se||0>=Z||0>=J||ne+Z>C||se+J>L)return 2;C=Z,L=J}if(B.da){if(!te(C,L,Z=[B.ib],J=[B.hb]))return 2;C=Z[0],L=J[0]}}G.width=C,G.height=L;e:{var ue=G.width,fe=G.height;if(C=G.S,0>=ue||0>=fe||!(C>=ov&&13>C))C=2;else{if(0>=G.Rd&&G.sd==null){ne=J=Z=L=0;var _e=(se=ue*lA[C])*fe;if(11>C||(J=(fe+1)/2*(L=(ue+1)/2),C==12&&(ne=(Z=ue)*fe)),(fe=s(_e+2*J+ne))==null){C=1;break e}G.sd=fe,11>C?((ue=G.f.RGBA).eb=fe,ue.fb=0,ue.A=se,ue.size=_e):((ue=G.f.kb).y=fe,ue.O=0,ue.fa=se,ue.Fd=_e,ue.f=fe,ue.N=0+_e,ue.Ab=L,ue.Cd=J,ue.ea=fe,ue.W=0+_e+J,ue.Db=L,ue.Ed=J,C==12&&(ue.F=fe,ue.J=0+_e+2*J),ue.Tc=ne,ue.lb=Z)}if(L=1,Z=G.S,J=G.width,ne=G.height,Z>=ov&&13>Z)if(11>Z)C=G.f.RGBA,L&=(se=Math.abs(C.A))*(ne-1)+J<=C.size,L&=se>=J*lA[Z],L&=C.eb!=null;else{C=G.f.kb,se=(J+1)/2,_e=(ne+1)/2,ue=Math.abs(C.fa),fe=Math.abs(C.Ab);var Le=Math.abs(C.Db),he=Math.abs(C.lb),Ee=he*(ne-1)+J;L&=ue*(ne-1)+J<=C.Fd,L&=fe*(_e-1)+se<=C.Cd,L=(L&=Le*(_e-1)+se<=C.Ed)&ue>=J&fe>=se&Le>=se,L&=C.y!=null,L&=C.f!=null,L&=C.ea!=null,Z==12&&(L&=he>=J,L&=Ee<=C.Tc,L&=C.F!=null)}else L=0;C=L?0:2}}return C!=0||B!=null&&B.fd&&(C=_m(G)),C}var Qu=64,ji=[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],_i=24,ul=32,dc=8,dl=[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];De("Predictor0","PredictorAdd0"),S.Predictor0=function(){return 4278190080},S.Predictor1=function(C){return C},S.Predictor2=function(C,L,B){return L[B+0]},S.Predictor3=function(C,L,B){return L[B+1]},S.Predictor4=function(C,L,B){return L[B-1]},S.Predictor5=function(C,L,B){return ce(ce(C,L[B+1]),L[B+0])},S.Predictor6=function(C,L,B){return ce(C,L[B-1])},S.Predictor7=function(C,L,B){return ce(C,L[B+0])},S.Predictor8=function(C,L,B){return ce(L[B-1],L[B+0])},S.Predictor9=function(C,L,B){return ce(L[B+0],L[B+1])},S.Predictor10=function(C,L,B){return ce(ce(C,L[B-1]),ce(L[B+0],L[B+1]))},S.Predictor11=function(C,L,B){var G=L[B+0];return 0>=Se(G>>24&255,C>>24&255,(L=L[B-1])>>24&255)+Se(G>>16&255,C>>16&255,L>>16&255)+Se(G>>8&255,C>>8&255,L>>8&255)+Se(255&G,255&C,255&L)?G:C},S.Predictor12=function(C,L,B){var G=L[B+0];return(xe((C>>24&255)+(G>>24&255)-((L=L[B-1])>>24&255))<<24|xe((C>>16&255)+(G>>16&255)-(L>>16&255))<<16|xe((C>>8&255)+(G>>8&255)-(L>>8&255))<<8|xe((255&C)+(255&G)-(255&L)))>>>0},S.Predictor13=function(C,L,B){var G=L[B-1];return(ve((C=ce(C,L[B+0]))>>24&255,G>>24&255)<<24|ve(C>>16&255,G>>16&255)<<16|ve(C>>8&255,G>>8&255)<<8|ve(255&C,255&G))>>>0};var Nm=S.PredictorAdd0;S.PredictorAdd1=Oe,De("Predictor2","PredictorAdd2"),De("Predictor3","PredictorAdd3"),De("Predictor4","PredictorAdd4"),De("Predictor5","PredictorAdd5"),De("Predictor6","PredictorAdd6"),De("Predictor7","PredictorAdd7"),De("Predictor8","PredictorAdd8"),De("Predictor9","PredictorAdd9"),De("Predictor10","PredictorAdd10"),De("Predictor11","PredictorAdd11"),De("Predictor12","PredictorAdd12"),De("Predictor13","PredictorAdd13");var Tp=S.PredictorAdd2;Ve("ColorIndexInverseTransform","MapARGB","32b",function(C){return C>>8&255},function(C){return C}),Ve("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(C){return C},function(C){return C>>8&255});
vendor: 5,060 bytes, line 1083
1083var sr,av=S.ColorIndexInverseTransform,Co=S.MapARGB,Eo=S.VP8LColorIndexInverseTransformAlpha,Cm=S.MapAlpha,Em=S.VP8LPredictorsAdd=[];Em.length=16,(S.VP8LPredictors=[]).length=16,(S.VP8LPredictorsAdd_C=[]).length=16,(S.VP8LPredictors_C=[]).length=16;var Sm,Dm,pl,fl,hl,Zu,ml,Ju,rs,So,ln,jn,or,_r,pc,Am,Pp,iv,UD,FD,MD,qD,BD,zD,km,$D,WD,VD,HD=s(511),GD=s(2041),XD=s(225),KD=s(767),YD=0,Fw=GD,sv=XD,Ni=KD,as=HD,ov=0,cv=1,QD=2,lv=3,uv=4,Mw=5,ZD=6,qw=7,Bw=8,dv=9,zw=10,ZH=[2,3,7],JH=[3,3,11],JD=[280,256,256,256,40],eG=[0,1,1,1,0],tG=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],nG=[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],rG=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],aG=8,$w=[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],Ww=[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],Tm=null,iG=[[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]],sG=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],eA=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oG=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,25
10835,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]]]],cG=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,
10831,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]]],lG=[[[[255,255,255,255,255,255,255,255,255,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: 21,635 bytes, line 1083
10835,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]]]],uG=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],gl=[],Us=[],fc=[],dG=1,tA=2,xl=[],is=[];lc("UpsampleRgbLinePair",cl,3),lc("UpsampleBgrLinePair",Gr,3),lc("UpsampleRgbaLinePair",Pa,4),lc("UpsampleBgraLinePair",wm,4),lc("UpsampleArgbLinePair",bm,4),lc("UpsampleRgba4444LinePair",Ku,2),lc("UpsampleRgb565LinePair",Xu,2);var pG=S.UpsampleRgbLinePair,fG=S.UpsampleBgrLinePair,nA=S.UpsampleRgbaLinePair,rA=S.UpsampleBgraLinePair,aA=S.UpsampleArgbLinePair,iA=S.UpsampleRgba4444LinePair,hG=S.UpsampleRgb565LinePair,pv=16,fv=1<<pv-1,Pm=-227,Vw=482,sA=6,mG=(256<<sA)-1,oA=0,gG=s(256),xG=s(256),yG=s(256),vG=s(256),bG=s(Vw-Pm),wG=s(Vw-Pm);uc("YuvToRgbRow",cl,3),uc("YuvToBgrRow",Gr,3),uc("YuvToRgbaRow",Pa,4),uc("YuvToBgraRow",wm,4),uc("YuvToArgbRow",bm,4),uc("YuvToRgba4444Row",Ku,2),uc("YuvToRgb565Row",Xu,2);var cA=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],hv=[0,2,8],jG=[8,7,6,4,4,2,2,2,1,1,1,1],_G=1;this.WebPDecodeRGBA=function(C,L,B,G,Z){var J=cv,ne=new Fe,se=new ot;ne.ba=se,se.S=J,se.width=[se.width],se.height=[se.height];var ue=se.width,fe=se.height,_e=new at;if(_e==null||C==null)var Le=2;else t(_e!=null),Le=Yu(C,L,B,_e.width,_e.height,_e.Pd,_e.Qd,_e.format,null);if(Le!=0?ue=0:(ue!=null&&(ue[0]=_e.width[0]),fe!=null&&(fe[0]=_e.height[0]),ue=1),ue){se.width=se.width[0],se.height=se.height[0],G!=null&&(G[0]=se.width),Z!=null&&(Z[0]=se.height);e:{if(G=new Np,(Z=new ze).data=C,Z.w=L,Z.ha=B,Z.kd=1,L=[0],t(Z!=null),((C=Yu(Z.data,Z.w,Z.ha,null,null,null,L,null,Z))==0||C==7)&&L[0]&&(C=4),(L=C)==0){if(t(ne!=null),G.data=Z.data,G.w=Z.w+Z.offset,G.ha=Z.ha-Z.offset,G.put=jt,G.ac=ir,G.bc=wn,G.ma=ne,Z.xa){if((C=Mu())==null){ne=1;break e}if(function(he,Ee){var Te=[0],Re=[0],Pe=[0];t:for(;;){if(he==null)return 0;if(Ee==null)return he.a=2,0;if(he.l=Ee,he.a=0,F(he.m,Ee.data,Ee.w,Ee.ha),!Or(he.m,Te,Re,Pe)){he.a=3;break t}if(he.xb=tA,Ee.width=Te[0],Ee.height=Re[0],!wo(Te[0],Re[0],1,he,null))break t;return 1}return t(he.a!=0),0}(C,G)){if(G=(L=ll(G.width,G.height,ne.Oa,ne.ba))==0){t:{G=C;n:for(;;){if(G==null){G=0;break t}if(t(G.s.yc!=null),t(G.s.Ya!=null),t(0<G.s.Wb),t((B=G.l)!=null),t((Z=B.ma)!=null),G.xb!=0){if(G.ca=Z.ba,G.tb=Z.tb,t(G.ca!=null),!jm(Z.Oa,B,lv)){G.a=2;break n}if(!qu(G,B.width)||B.da)break n;if((B.da||et(G.ca.S))&&Is(),11>G.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),G.ca.f.kb.F!=null&&Is()),G.Pb&&0<G.s.ua&&G.s.vb.X==null&&!X(G.s.vb,G.s.Wa.Xa)){G.a=1;break n}G.xb=0}if(!Rs(G,G.V,G.Ba,G.c,G.i,B.o,Zi))break n;Z.Dc=G.Ma,G=1;break t}t(G.a!=0),G=0}G=!G}G&&(L=C.a)}else L=C.a}else{if((C=new _w)==null){ne=1;break e}if(C.Fa=Z.na,C.P=Z.P,C.qc=Z.Sa,_o(C,G)){if((L=ll(G.width,G.height,ne.Oa,ne.ba))==0){if(C.Aa=0,B=ne.Oa,t((Z=C)!=null),B!=null){if(0<(ue=0>(ue=B.Md)?0:100<ue?255:255*ue/100)){for(fe=_e=0;4>fe;++fe)12>(Le=Z.pb[fe]).lc&&(Le.ia=ue*jG[0>Le.lc?0:Le.lc]>>3),_e|=Le.ia;_e&&(alert("todo:VP8InitRandom"),Z.ia=1)}Z.Ga=B.Id,100<Z.Ga?Z.Ga=100:0>Z.Ga&&(Z.Ga=0)}(function(he,Ee){if(he==null)return 0;if(Ee==null)return gr(he,2,"NULL VP8Io parameter in VP8Decode().");if(!he.cb&&!_o(he,Ee))return 0;if(t(he.cb),Ee.ac==null||Ee.ac(Ee)){Ee.ob&&(he.L=0);var Te=hv[he.L];if(he.L==2?(he.yb=0,he.zb=0):(he.yb=Ee.v-Te>>4,he.zb=Ee.j-Te>>4,0>he.yb&&(he.yb=0),0>he.zb&&(he.zb=0)),he.Va=Ee.o+15+Te>>4,he.Hb=Ee.va+15+Te>>4,he.Hb>he.za&&(he.Hb=he.za),he.Va>he.Ub&&(he.Va=he.Ub),0<he.L){var Re=he.ed;for(Te=0;4>Te;++Te){var Pe;if(he.Qa.Cb){var Ie=he.Qa.Lb[Te];he.Qa.Fb||(Ie+=Re.Tb)}else Ie=Re.Tb;for(Pe=0;1>=Pe;++Pe){var Me=he.gd[Te][Pe],Ke=Ie;if(Re.Pc&&(Ke+=Re.vd[0],Pe&&(Ke+=Re.od[0])),0<(Ke=0>Ke?0:63<Ke?63:Ke)){var $e=Ke;0<Re.wb&&($e=4<Re.wb?$e>>2:$e>>1)>9-Re.wb&&($e=9-Re.wb),1>$e&&($e=1),Me.dd=$e,Me.tc=2*Ke+$e,Me.ld=40<=Ke?2:15<=Ke?1:0}else Me.tc=0;Me.La=Pe}}}Te=0}else gr(he,6,"Frame setup failed"),Te=he.a;if(Te=Te==0){if(Te){he.$c=0,0<he.Aa||(he.Ic=_G);t:{Te=he.Ic,Re=4*($e=he.za);var wt=32*$e,ft=$e+1,Bt=0<he.L?$e*(0<he.Aa?2:1):0,gt=(he.Aa==2?2:1)*$e;if((Me=Re+832+(Pe=3*(16*Te+hv[he.L])/2*wt)+(Ie=he.Fa!=null&&0<he.Fa.length?he.Kc.c*he.Kc.i:0))!=Me)Te=0;else{if(Me>he.Vb){if(he.Vb=0,he.Ec=s(Me),he.Fc=0,he.Ec==null){Te=gr(he,1,"no memory during frame initialization.");break t}he.Vb=Me}Me=he.Ec,Ke=he.Fc,he.Ac=Me,he.Bc=Ke,Ke+=Re,he.Gd=o(wt,Wy),he.Hd=0,he.rb=o(ft+1,lm),he.sb=1,he.wa=Bt?o(Bt,es):null,he.Y=0,he.D.Nb=0,he.D.wa=he.wa,he.D.Y=he.Y,0<he.Aa&&(he.D.Y+=$e),t(!0),he.oc=Me,he.pc=Ke,Ke+=832,he.ya=o(gt,um),he.aa=0,he.D.ya=he.ya,he.D.aa=he.aa,he.Aa==2&&(he.D.aa+=$e),he.R=16*$e,he.B=8*$e,$e=(wt=hv[he.L])*he.R,wt=wt/2*he.B,he.sa=Me,he.ta=Ke+$e,he.qa=he.sa,he.ra=he.ta+16*Te*he.R+wt,he.Ha=he.qa,he.Ia=he.ra+8*Te*he.B+wt,he.$c=0,Ke+=Pe,he.mb=Ie?Me:null,he.nb=Ie?Ke:null,t(Ke+Ie<=he.Fc+he.Vb),Gy(he),i(he.Ac,he.Bc,0,Re),Te=1}}if(Te){if(Ee.ka=0,Ee.y=he.sa,Ee.O=he.ta,Ee.f=he.qa,Ee.N=he.ra,Ee.ea=he.Ha,Ee.Vd=he.Ia,Ee.fa=he.R,Ee.Rc=he.B,Ee.F=null,Ee.J=0,!YD){for(Te=-255;255>=Te;++Te)HD[255+Te]=0>Te?-Te:Te;for(Te=-1020;1020>=Te;++Te)GD[1020+Te]=-128>Te?-128:127<Te?127:Te;for(Te=-112;112>=Te;++Te)XD[112+Te]=-16>Te?-16:15<Te?15:Te;for(Te=-255;510>=Te;++Te)KD[255+Te]=0>Te?0:255<Te?255:Te;YD=1}ml=Ep,Ju=Cw,So=No,ln=Ky,jn=Yy,rs=Nw,or=tv,_r=Vu,pc=Q,Am=me,Pp=nv,iv=U,UD=be,FD=Ae,MD=Wu,qD=ym,BD=Jy,zD=ev,Us[0]=Lw,Us[1]=Ew,Us[2]=Tw,Us[3]=Pw,Us[4]=nc,Us[5]=Rw,Us[6]=rc,Us[7]=Ow,Us[8]=fm,Us[9]=Sp,gl[0]=Aw,gl[1]=Dw,gl[2]=dm,gl[3]=Qy,gl[4]=zu,gl[5]=pm,gl[6]=kw,fc[0]=Uw,fc[1]=Sw,fc[2]=$u,fc[3]=Iw,fc[4]=mm,fc[5]=hm,fc[6]=Zy,Te=1}else Te=0}Te&&(Te=function(en,Nr){for(en.M=0;en.M<en.Va;++en.M){var zt,xt=en.Jc[en.M&en.Xb],tt=en.m,cr=en;for(zt=0;zt<cr.za;++zt){var Ft=tt,rn=cr,On=rn.Ac,Xr=rn.Bc+4*zt,La=rn.zc,Zn=rn.ya[rn.aa+zt];if(rn.Qa.Bb?Zn.$b=ge(Ft,rn.Pa.jb[0])?2+ge(Ft,rn.Pa.jb[2]):ge(Ft,rn.Pa.jb[1]):Zn.$b=0,rn.kc&&(Zn.Ad=ge(Ft,rn.Bd)),Zn.Za=!ge(Ft,145)+0,Zn.Za){var ca=Zn.Ob,Ra=0;for(rn=0;4>rn;++rn){var Cr,sn=La[0+rn];for(Cr=0;4>Cr;++Cr){sn=cG[On[Xr+Cr]][sn];for(var fn=eA[ge(Ft,sn[0])];0<fn;)fn=eA[2*fn+ge(Ft,sn[fn])];sn=-fn,On[Xr+Cr]=sn}r(ca,Ra,On,Xr,4),Ra+=4,La[0+rn]=sn}}else sn=ge(Ft,156)?ge(Ft,128)?1:3:ge(Ft,163)?2:0,Zn.Ob[0]=sn,i(On,Xr,sn,4),i(La,0,sn,4);Zn.Dd=ge(Ft,142)?ge(Ft,114)?ge(Ft,183)?1:3:2:0}if(cr.m.Ka)return gr(en,7,"Premature end-of-partition0 encountered.");for(;en.ja<en.za;++en.ja){if(cr=xt,Ft=(tt=en).rb[tt.sb-1],On=tt.rb[tt.sb+tt.ja],zt=tt.ya[tt.aa+tt.ja],Xr=tt.kc?zt.Ad:0)Ft.la=On.la=0,zt.Za||(Ft.Na=On.Na=0),zt.Hc=0,zt.Gc=0,zt.ia=0;else{var Jn,hn;if(Ft=On,On=cr,Xr=tt.Pa.Xc,La=tt.ya[tt.aa+tt.ja],Zn=tt.pb[La.$b],rn=La.ad,ca=0,Ra=tt.rb[tt.sb-1],sn=Cr=0,i(rn,ca,0,384),La.Za)var Kr=0,Fs=Xr[3];else{fn=s(16);var lr=Ft.Na+Ra.Na;if(lr=Tm(On,Xr[1],lr,Zn.Eb,0,fn,0),Ft.Na=Ra.Na=(0<lr)+0,1<lr)ml(fn,0,rn,ca);else{var Za=fn[0]+3>>3;for(fn=0;256>fn;fn+=16)rn[ca+fn]=Za}Kr=1,Fs=Xr[0]}var _n=15&Ft.la,Er=15&Ra.la;for(fn=0;4>fn;++fn){var Ci=1&Er;for(Za=hn=0;4>Za;++Za)_n=_n>>1|(Ci=(lr=Tm(On,Fs,lr=Ci+(1&_n),Zn.Sc,Kr,rn,ca))>Kr)<<7,hn=hn<<2|(3<lr?3:1<lr?2:rn[ca+0]!=0),ca+=16;_n>>=4,Er=Er>>1|Ci<<7,Cr=(Cr<<8|hn)>>>0}for(Fs=_n,Kr=Er>>4,Jn=0;4>Jn;Jn+=2){for(hn=0,_n=Ft.la>>4+Jn,Er=Ra.la>>4+Jn,fn=0;2>fn;++fn){for(Ci=1&Er,Za=0;2>Za;++Za)lr=Ci+(1&_n),_n=_n>>1|(Ci=0<(lr=Tm(On,Xr[2],lr,Zn.Qc,0,rn,ca)))<<3,hn=hn<<2|(3<lr?3:1<lr?2:rn[ca+0]!=0),ca+=16;_n>>=2,Er=Er>>1|Ci<<5}sn|=hn<<4*Jn,Fs|=_n<<4<<Jn,Kr|=(240&Er)<<Jn}Ft.la=Fs,Ra.la=Kr,La.Hc=Cr,La.Gc=sn,La.ia=43690&sn?0:Zn.ia,Xr=!(Cr|sn)}if(0<tt.L&&(tt.wa[tt.Y+tt.ja]=tt.gd[zt.$b][zt.Za],tt.wa[tt.Y+tt.ja].La|=!Xr),cr.Ka)return gr(en,7,"Premature end-of-file encountered.")}if(Gy(en),tt=Nr,cr=1,zt=(xt=en).D,Ft=0<xt.L&&xt.M>=xt.zb&&xt.M<=xt.Va,xt.Aa==0)t:{if(zt.M=xt.M,zt.uc=Ft,ns(xt,zt),cr=1,zt=(hn=xt.D).Nb,Ft=(sn=hv[xt.L])*xt.R,On=sn/2*xt.B,fn=16*zt*xt.R,Za=8*zt*xt.B,Xr=xt.sa,La=xt.ta-Ft+fn,Zn=xt.qa,rn=xt.ra-On+Za,ca=xt.Ha,Ra=xt.Ia-On+Za,Er=(_n=hn.M)==0,Cr=_n>=xt.Va-1,xt.Aa==2&&ns(xt,hn),hn.uc)for(Ci=(lr=xt).D.M,t(lr.D.uc),hn=lr.yb;hn<lr.Hb;++hn){Kr=hn,Fs=Ci;var Oa=(Ei=(Yr=lr).D).Nb;Jn=Yr.R;var Ei=Ei.wa[Ei.Y+Kr],Si=Yr.sa,Ja=Yr.ta+16*Oa*Jn+16*Kr,Di=Ei.dd,An=Ei.tc;if(An!=0)if(t(3<=An),Yr.L==1)0<Kr&&qD(Si,Ja,Jn,An+4),Ei.La&&zD(Si,Ja,Jn,An),0<Fs&&MD(Si,Ja,Jn,An+4),Ei.La&&BD(Si,Ja,Jn,An);else{var Ai=Yr.B,Ms=Yr.qa,ed=Yr.ra+8*Oa*Ai+8*Kr,hc=Yr.Ha,Yr=Yr.Ia+8*Oa*Ai+8*Kr;Oa=Ei.ld,0<Kr&&(_r(Si,Ja,Jn,An+4,Di,Oa),Am(Ms,ed,hc,Yr,Ai,An+4,Di,Oa)),Ei.La&&(iv(Si,Ja,Jn,An,Di,Oa),FD(Ms,ed,hc,Yr,Ai,An,Di,Oa)),0<Fs&&(or(Si,Ja,Jn,An+4,Di,Oa),pc(Ms,ed,hc,Yr,Ai,An+4,Di,Oa)),Ei.La&&(Pp(Si,Ja,Jn,An,Di,Oa),UD(Ms,ed,hc,Yr,Ai,An,Di,Oa))}}if(xt.ia&&alert("todo:DitherRow"),tt.put!=null){if(hn=16*_n,_n=16*(_n+1),Er?(tt.y=xt.sa,tt.O=xt.ta+fn,tt.f=xt.qa,tt.N=xt.ra+Za,tt.ea=xt.Ha,tt.W=xt.Ia+Za):(hn-=sn,tt.y=Xr,tt.O=La,tt.f=Zn,tt.N=rn,tt.ea=ca,tt.W=Ra),Cr||(_n-=sn),_n>tt.o&&(_n=tt.o),tt.F=null,tt.J=null,xt.Fa!=null&&0<xt.Fa.length&&hn<_n&&(tt.J=Dn(xt,tt,hn,_n-hn),tt.F=xt.mb,tt.F==null&&tt.F.length==0)){cr=gr(xt,3,"Could not decode alpha data.");break t}hn<tt.j&&(sn=tt.j-hn,hn=tt.j,t(!(1&sn)),tt.O+=xt.R*sn,tt.N+=xt.B*(sn>>1),tt.W+=xt.B*(sn>>1),tt.F!=null&&(tt.J+=tt.width*sn)),hn<_n&&(tt.O+=tt.v,tt.N+=tt.v>>1,tt.W+=tt.v>>1,tt.F!=null&&(tt.J+=tt.v),tt.ka=hn-tt.j,tt.U=tt.va-tt.v,tt.T=_n-hn,cr=tt.put(tt))}zt+1!=xt.Ic||Cr||(r(xt.sa,xt.ta-Ft,Xr,La+16*xt.R,Ft),r(xt.qa,xt.ra-On,Zn,rn+8*xt.B,On),r(xt.Ha,xt.Ia-On,ca,Ra+8*xt.B,On))}if(!cr)return gr(en,6,"Output aborted.")}return 1}(he,Ee)),Ee.bc!=null&&Ee.bc(Ee),Te&=1}return Te?(he.cb=0,Te):0})(C,G)||(L=C.a)}}else L=C.a}L==0&&ne.Oa!=null&&ne.Oa.fd&&(L=_m(ne.ba))}ne=L}J=ne!=0?null:11>J?se.f.RGBA.eb:se.f.kb.y}else J=null;return J};var lA=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(S,k){for(var P="",D=0;D<4;D++)P+=String.fromCharCode(S[k++]);return P}function d(S,k){return S[k+0]|S[k+1]<<8}function p(S,k){return(S[k+0]|S[k+1]<<8|S[k+2]<<16)>>>0}function h(S,k){return(S[k+0]|S[k+1]<<8|S[k+2]<<16|S[k+3]<<24)>>>0}new l;var f=[0],v=[0],m=[],y=new l,g=e,x=function(S,k){var P={},D=0,R=!1,N=0,q=0;if(P.frames=[],!function(O,$){for(var K=0;K<4;K++)if(O[$+K]!="RIFF".charCodeAt(K))return!0;return!1}(S,k)){for(h(S,k+=4),k+=8;k<S.length;){var I=u(S,k),z=h(S,k+=4);k+=4;var M=z+(1&z);switch(I){case"VP8 ":case"VP8L":P.frames[D]===void 0&&(P.frames[D]={}),(V=P.frames[D]).src_off=R?q:k-8,V.src_size=N+z+8,D++,R&&(R=!1,N=0,q=0);break;case"VP8X":(V=P.header={}).feature_flags=S[k];var F=k+4;V.canvas_width=1+p(S,F),F+=3,V.canvas_height=1+p(S,F),F+=3;break;case"ALPH":R=!0,N=M+8,q=k-8;break;case"ANIM":(V=P.header).bgcolor=h(S,k),F=k+4,V.loop_count=d(S,F),F+=2;break;case"ANMF":var H,V;(V=P.frames[D]={}).offset_x=2*p(S,k),k+=3,V.offset_y=2*p(S,k),k+=3,V.width=1+p(S,k),k+=3,V.height=1+p(S,k),k+=3,V.duration=p(S,k),k+=3,H=S[k++],V.dispose=1&H,V.blend=H>>1&1}I!="ANMF"&&(k+=M)}return P}}(g,0);x.response=g,x.rgbaoutput=!0,x.dataurl=!1;var b=x.header?x.header:null,_=x.frames?x.frames:null;if(b){b.loop_counter=b.loop_count,f=[b.canvas_height],v=[b.canvas_width];for(var E=0;E<_.length&&_[E].blend!=0;E++);}var T=_[0],A=y.WebPDecodeRGBA(g,T.src_off,T.src_size,v,f);T.rgba=A,T.imgwidth=v[0],T.imgheight=f[0];for(var w=0;w<v[0]*f[0]*4;w++)m[w]=A[w];return this.width=v,this.height=f,this.data=m,this}(function(e){var t,n,r,i,s,o,c,l,u,d=function(O){return O=O||{},this.isStrokeTransparent=O.isStrokeTransparent||!1,this.strokeOpacity=O.strokeOpacity||1,this.strokeStyle=O.strokeStyle||"#000000",this.fillStyle=O.fillStyle||"#000000",this.isFillTransparent=O.isFillTransparent||!1,this.fillOpacity=O.fillOpacity||1,this.font=O.font||"10px sans-serif",this.textBaseline=O.textBaseline||"alphabetic",this.textAlign=O.textAlign||"left",this.lineWidth=O.lineWidth||1,this.lineJoin=O.lineJoin||"miter",this.lineCap=O.lineCap||"butt",this.path=O.path||[],this.transform=O.transform!==void 0?O.transform.clone():new l,this.globalCompositeOperation=O.globalCompositeOperation||"normal",this.globalAlpha=O.globalAlpha||1,this.clip_path=O.clip_path||[],this.currentPoint=O.currentPoint||new o,this.miterLimit=O.miterLimit||10,this.lastPoint=O.lastPoint||new o,this.lineDashOffset=O.lineDashOffset||0,this.lineDash=O.lineDash||[],this.margin=O.margin||[0,0,0,0],this.prevPageLastElemOffset=O.prevPageLastElemOffset||0,this.ignoreClearRect=typeof O.ignoreClearRect!="boolean"||O.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new p(this),t=this.internal.f2,n=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate,o=this.internal.Point,c=this.internal.Rectangle,l=this.internal.Matrix,u=new d}]);var p=function(O){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var $=O;Object.defineProperty(this,"pdf",{get:function(){return $}});var K=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return K},set:function(X){K=!!X}});var Y=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Y},set:function(X){Y=!!X}});var ee=0;Object.defineProperty(this,"posX",{get:function(){return ee},set:function(X){isNaN(X)||(ee=X)}});var re=0;Object.defineProperty(this,"posY",{get:function(){return re},set:function(X){isNaN(X)||(re=X)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(X){var pe;typeof X=="number"?pe=[X,X,X,X]:((pe=new Array(4))[0]=X[0],pe[1]=X.length>=2?X[1]:pe[0],pe[2]=X.length>=3?X[2]:pe[0],pe[3]=X.length>=4?X[3]:pe[1]),u.margin=pe}});var ae=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ae},set:function(X){ae=X}});var le=0;Object.defineProperty(this,"lastBreak",{get:function(){return le},set:function(X){le=X}});var ge=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ge},set:function(X){ge=X}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(X){X instanceof d&&(u=X)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(X){u.path=X}});var ke=[];Object.defineProperty(this,"ctxStack",{get:function(){return ke},set:function(X){ke=X}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(X){var pe;pe=h(X),this.ctx.fillStyle=pe.style,this.ctx.isFillTransparent=pe.a===0,this.ctx.fillOpacity=pe.a,this.pdf.setFillColor(pe.r,pe.g,pe.b,{a:pe.a}),this.pdf.setTextColor(pe.r,pe.g,pe.b,{a:pe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(X){var pe=h(X);this.ctx.strokeStyle=pe.style,this.ctx.isStrokeTransparent=pe.a===0,this.ctx.strokeOpacity=pe.a,pe.a===0?this.pdf.setDrawColor(255,255,255):(pe.a,this.pdf.setDrawColor(pe.r,pe.g,pe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(X){["butt","round","square"].indexOf(X)!==-1&&(this.ctx.lineCap=X,this.pdf.setLineCap(X))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(X){isNaN(X)||(this.ctx.lineWidth=X,this.pdf.setLineWidth(X))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(X){["bevel","round","miter"].indexOf(X)!==-1&&(this.ctx.lineJoin=X,this.pdf.setLineJoin(X))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(X){isNaN(X)||(this.ctx.miterLimit=X,this.pdf.setMiterLimit(X))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(X){this.ctx.textBaseline=X}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(X){["right","end","center","left","start"].indexOf(X)!==-1&&(this.ctx.textAlign=X)}});var de=null,we=null,W=null;Object.defineProperty(this,"fontFaces",{get:function(){return W},set:function(X){de=null,we=null,W=X}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(X){var pe;if(this.ctx.font=X,(pe=/^\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-z0-9]+?)\s*$/i.exec(X))!==null){var ie=pe[1];pe[2];var te=pe[3],oe=pe[4];pe[5];var Ne=pe[6],De=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(oe)[2];oe=Math.floor(De==="px"?parseFloat(oe)*this.pdf.internal.scaleFactor:De==="em"?parseFloat(oe)*this.pdf.getFontSize():parseFloat(oe)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(oe);var ye=function(Ve){var Ct,ct,bt=[],Et=Ve.trim();if(Et==="")return U_;if(Et in jL)return[jL[Et]];for(;Et!=="";){switch(ct=null,Ct=(Et=NL(Et)).charAt(0)){case'"':case"'":ct=hbe(Et.substring(1),Ct);break;default:ct=mbe(Et)}if(ct===null||(bt.push(ct[0]),(Et=NL(ct[1]))!==""&&Et.charAt(0)!==","))return U_;Et=Et.replace(/^,/,"")}return bt}(Ne);if(this.fontFaces){var ce=function(Ve,Ct){var ct=Ve.getFontList(),bt=JSON.stringify(ct);if(de===null||we!==bt){var Et=function(At){var yt=[];return Object.keys(At).forEach(function(st){At[st].forEach(function(et){var rt=null;switch(et){case"bold":rt={family:st,weight:"bold"};break;case"italic":rt={family:st,style:"italic"};break;case"bolditalic":rt={family:st,weight:"bold",style:"italic"};break;case"":case"normal":rt={family:st}}rt!==null&&(rt.ref={name:st,style:et},yt.push(rt))})}),yt}(ct);de=function(At){for(var yt={},st=0;st<At.length;++st){var et=I_(At[st]),rt=et.family,Vt=et.stretch,ot=et.style,at=et.weight;yt[rt]=yt[rt]||{},yt[rt][Vt]=yt[rt][Vt]||{},yt[rt][Vt][ot]=yt[rt][Vt][ot]||{},yt[rt][Vt][ot][at]=et}return yt}(Et.concat(Ct)),we=bt}return de}(this.pdf,this.fontFaces),xe=ye.map(function(Ve){return{family:Ve,stretch:"normal",weight:te,style:ie}}),ve=function(Ve,Ct,ct){for(var bt=(ct=ct||{}).defaultFontFamily||"times",Et=Object.assign({},fbe,ct.genericFontFamilies||{}),At=null,yt=null,st=0;st<Ct.length;++st)if(Et[(At=I_(Ct[st])).family]&&(At.family=Et[At.family]),Ve.hasOwnProperty(At.family)){yt=Ve[At.family];break}if(!(yt=yt||Ve[bt]))throw new Error("Could not find a font-family for the rule '"+_L(At)+"' and default family '"+bt+"'.");if(yt=function(et,rt){if(rt[et])return rt[et];var Vt=bC[et],ot=Vt<=bC.normal?-1:1,at=wL(rt,xV,Vt,ot);if(!at)throw new Error("Could not find a matching font-stretch value for "+et);return at}(At.stretch,yt),yt=function(et,rt){if(rt[et])return rt[et];for(var Vt=gV[et],ot=0;ot<Vt.length;++ot)if(rt[Vt[ot]])return rt[Vt[ot]];throw new Error("Could not find a matching font-style for "+et)}(At.style,yt),!(yt=function(et,rt){if(rt[et])return rt[et];if(et===400&&rt[500])return rt[500];if(et===500&&rt[400])return rt[400];var Vt=pbe[et],ot=wL(rt,yV,Vt,et<400?-1:1);if(!ot)throw new Error("Could not find a matching font-weight for value "+et);return ot}(At.weight,yt)))throw new Error("Failed to resolve a font for the rule '"+_L(At)+"'.");return yt}(ce,xe);this.pdf.setFont(ve.ref.name,ve.ref.style)}else{var Se="";(te==="bold"||parseInt(te,10)>=700||ie==="bold")&&(Se="bold"),ie==="italic"&&(Se+="italic"),Se.length===0&&(Se="normal");for(var Oe="",We={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"},qe=0;qe<ye.length;qe++){if(this.pdf.internal.getFont(ye[qe],Se,{noFallback:!0,disableWarning:!0})!==void 0){Oe=ye[qe];break}if(Se==="bolditalic"&&this.pdf.internal.getFont(ye[qe],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Oe=ye[qe],Se="bold";else if(this.pdf.internal.getFont(ye[qe],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Oe=ye[qe],Se="normal";break}}if(Oe===""){for(var Xe=0;Xe<ye.length;Xe++)if(We[ye[Xe]]){Oe=We[ye[Xe]];break}}Oe=Oe===""?"Times":Oe,this.pdf.setFont(Oe,Se)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(X){this.ctx.globalCompositeOperation=X}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(X){this.ctx.globalAlpha=X}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(X){this.ctx.lineDashOffset=X,V.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(X){this.ctx.lineDash=X,V.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(X){this.ctx.ignoreClearRect=!!X}})};p.prototype.setLineDash=function(O){this.lineDash=O},p.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},p.prototype.fill=function(){_.call(this,"fill",!1)},p.prototype.stroke=function(){_.call(this,"stroke",!1)},p.prototype.beginPath=function(){this.path=[{type:"begin"}]},p.prototype.moveTo=function(O,$){if(isNaN(O)||isNaN($))throw Nn.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
1083jsPDF.context2d.moveTo");var K=this.ctx.transform.applyToPoint(new o(O,$));this.path.push({type:"mt",x:K.x,y:K.y}),this.ctx.lastPoint=new o(O,$)},p.prototype.closePath=function(){var O=new o(0,0),$=0;for($=this.path.length-1;$!==-1;$--)if(this.path[$].type==="begin"&&mn(this.path[$+1])==="object"&&typeof this.path[$+1].x=="number"){O=new o(this.path[$+1].x,this.path[$+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new o(O.x,O.y)},p.prototype.lineTo=function(O,$){if(isNaN(O)||isNaN($))throw Nn.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var K=this.ctx.transform.applyToPoint(new o(O,$));this.path.push({type:"lt",x:K.x,y:K.y}),this.ctx.lastPoint=new o(K.x,K.y)},p.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),_.call(this,null,!0)},p.prototype.quadraticCurveTo=function(O,$,K,Y){if(isNaN(K)||isNaN(Y)||isNaN(O)||isNaN($))throw Nn.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ee=this.ctx.transform.applyToPoint(new o(K,Y)),re=this.ctx.transform.applyToPoint(new o(O,$));this.path.push({type:"qct",x1:re.x,y1:re.y,x:ee.x,y:ee.y}),this.ctx.lastPoint=new o(ee.x,ee.y)},p.prototype.bezierCurveTo=function(O,$,K,Y,ee,re){if(isNaN(ee)||isNaN(re)||isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y))throw Nn.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var ae=this.ctx.transform.applyToPoint(new o(ee,re)),le=this.ctx.transform.applyToPoint(new o(O,$)),ge=this.ctx.transform.applyToPoint(new o(K,Y));this.path.push({type:"bct",x1:le.x,y1:le.y,x2:ge.x,y2:ge.y,x:ae.x,y:ae.y}),this.ctx.lastPoint=new o(ae.x,ae.y)},p.prototype.arc=function(O,$,K,Y,ee,re){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y)||isNaN(ee))throw Nn.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(re=!!re,!this.ctx.transform.isIdentity){var ae=this.ctx.transform.applyToPoint(new o(O,$));O=ae.x,$=ae.y;var le=this.ctx.transform.applyToPoint(new o(0,K)),ge=this.ctx.transform.applyToPoint(new o(0,0));K=Math.sqrt(Math.pow(le.x-ge.x,2)+Math.pow(le.y-ge.y,2))}Math.abs(ee-Y)>=2*Math.PI&&(Y=0,ee=2*Math.PI),this.path.push({type:"arc",x:O,y:$,radius:K,startAngle:Y,endAngle:ee,counterclockwise:re})},p.prototype.arcTo=function(O,$,K,Y,ee){throw new Error("arcTo not implemented.")},p.prototype.rect=function(O,$,K,Y){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y))throw Nn.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(O,$),this.lineTo(O+K,$),this.lineTo(O+K,$+Y),this.lineTo(O,$+Y),this.lineTo(O,$),this.lineTo(O+K,$),this.lineTo(O,$)},p.prototype.fillRect=function(O,$,K,Y){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y))throw Nn.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var ee={};this.lineCap!=="butt"&&(ee.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ee.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(O,$,K,Y),this.fill(),ee.hasOwnProperty("lineCap")&&(this.lineCap=ee.lineCap),ee.hasOwnProperty("lineJoin")&&(this.lineJoin=ee.lineJoin)}},p.prototype.strokeRect=function(O,$,K,Y){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y))throw Nn.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");v.call(this)||(this.beginPath(),this.rect(O,$,K,Y),this.stroke())},p.prototype.clearRect=function(O,$,K,Y){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y))throw Nn.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(O,$,K,Y))},p.prototype.save=function(O){O=typeof O!="boolean"||O;for(var $=this.pdf.internal.getCurrentPageInfo().pageNumber,K=0;K<this.pdf.internal.getNumberOfPages();K++)this.pdf.setPage(K+1),this.pdf.internal.out("q");
vendor: 4,163 bytes, line 1083
1083if(this.pdf.setPage($),O){this.ctx.fontSize=this.pdf.internal.getFontSize();var Y=new d(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Y}},p.prototype.restore=function(O){O=typeof O!="boolean"||O;for(var $=this.pdf.internal.getCurrentPageInfo().pageNumber,K=0;K<this.pdf.internal.getNumberOfPages();K++)this.pdf.setPage(K+1),this.pdf.internal.out("Q");this.pdf.setPage($),O&&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)},p.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var h=function(O){var $,K,Y,ee;if(O.isCanvasGradient===!0&&(O=O.getColor()),!O)return{r:0,g:0,b:0,a:0,style:O};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(O))$=0,K=0,Y=0,ee=0;else{var re=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(O);if(re!==null)$=parseInt(re[1]),K=parseInt(re[2]),Y=parseInt(re[3]),ee=1;else if((re=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(O))!==null)$=parseInt(re[1]),K=parseInt(re[2]),Y=parseInt(re[3]),ee=parseFloat(re[4]);else{if(ee=1,typeof O=="string"&&O.charAt(0)!=="#"){var ae=new lV(O);O=ae.ok?ae.toHex():"#000000"}O.length===4?($=O.substring(1,2),$+=$,K=O.substring(2,3),K+=K,Y=O.substring(3,4),Y+=Y):($=O.substring(1,3),K=O.substring(3,5),Y=O.substring(5,7)),$=parseInt($,16),K=parseInt(K,16),Y=parseInt(Y,16)}}return{r:$,g:K,b:Y,a:ee,style:O}},f=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},v=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};p.prototype.fillText=function(O,$,K,Y){if(isNaN($)||isNaN(K)||typeof O!="string")throw Nn.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Y=isNaN(Y)?void 0:Y,!f.call(this)){var ee=M(this.ctx.transform.rotation),re=this.ctx.transform.scaleX;D.call(this,{text:O,x:$,y:K,scale:re,angle:ee,align:this.textAlign,maxWidth:Y})}},p.prototype.strokeText=function(O,$,K,Y){if(isNaN($)||isNaN(K)||typeof O!="string")throw Nn.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!v.call(this)){Y=isNaN(Y)?void 0:Y;var ee=M(this.ctx.transform.rotation),re=this.ctx.transform.scaleX;D.call(this,{text:O,x:$,y:K,scale:re,renderingMode:"stroke",angle:ee,align:this.textAlign,maxWidth:Y})}},p.prototype.measureText=function(O){if(typeof O!="string")throw Nn.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var $=this.pdf,K=this.pdf.internal.scaleFactor,Y=$.internal.getFontSize(),ee=$.getStringUnitWidth(O)*Y/$.internal.scaleFactor;return new function(re){var ae=(re=re||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ae}}),this}({width:ee*=Math.round(96*K/72*1e4)/1e4})},p.prototype.scale=function(O,$){if(isNaN(O)||isNaN($))throw Nn.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var K=new l(O,0,0,$,0,0);this.ctx.transform=this.ctx.transform.multiply(K)},p.prototype.rotate=function(O){if(isNaN(O))throw Nn.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var $=new l(Math.cos(O),Math.sin(O),-Math.sin(O),Math.cos(O),0,0);this.ctx.transform=this.ctx.transform.multiply($)},p.prototype.translate=function(O,$){if(isNaN(O)||isNaN($))throw Nn.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var K=new l(1,0,0,1,O,$);this.ctx.transform=this.ctx.transform.multiply(K)},p.prototype.transform=function(O,$,K,Y,ee,re){if(isNaN(O)||isNaN($)||isNaN(K)||isNaN(Y)||isNaN(ee)||isNaN(re))throw Nn.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to
1083jsPDF.context2d.transform");var ae=new l(O,$,K,Y,ee,re);this.ctx.transform=this.ctx.transform.multiply(ae)},p.prototype.setTransform=function(O,$,K,Y,ee,re){O=isNaN(O)?1:O,$=isNaN($)?0:$,K=isNaN(K)?0:K,Y=isNaN(Y)?1:Y,ee=isNaN(ee)?0:ee,re=isNaN(re)?0:re,this.ctx.transform=new l(O,$,K,Y,ee,re)};var m=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};p.prototype.drawImage=function(O,$,K,Y,ee,re,ae,le,ge){var ke=this.pdf.getImageProperties(O),de=1,we=1,W=1,X=1;Y!==void 0&&le!==void 0&&(W=le/Y,X=ge/ee,de=ke.width/Y*le/Y,we=ke.height/ee*ge/ee),re===void 0&&(re=$,ae=K,$=0,K=0),Y!==void 0&&le===void 0&&(le=Y,ge=ee),Y===void 0&&le===void 0&&(le=ke.width,ge=ke.height);var pe=this.ctx.transform.decompose(),ie=M(pe.rotate.shx),te=new l,oe=(te=(te=(te=te.multiply(pe.translate)).multiply(pe.skew)).multiply(pe.scale)).applyToRectangle(new c(re-$*W,ae-K*X,Y*de,ee*we));if(this.autoPaging){for(var Ne,De=y.call(this,oe),ye=[],ce=0;ce<De.length;ce+=1)ye.indexOf(De[ce])===-1&&ye.push(De[ce]);b(ye);for(var xe=ye[0],ve=ye[ye.length-1],Se=xe;Se<ve+1;Se++){this.pdf.setPage(Se);var Oe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],We=Se===1?this.posY+this.margin[0]:this.margin[0],qe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Ve=Se===1?0:qe+(Se-2)*Xe;if(this.ctx.clip_path.length!==0){var Ct=this.path;Ne=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(Ne,this.posX+this.margin[3],-Ve+We+this.ctx.prevPageLastElemOffset),E.call(this,"fill",!0),this.path=Ct}var ct=JSON.parse(JSON.stringify(oe));ct=x([ct],this.posX+this.margin[3],-Ve+We+this.ctx.prevPageLastElemOffset)[0];var bt=(Se>xe||Se<ve)&&m.call(this);bt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Oe,Xe,null).clip().discardPath()),this.pdf.addImage(O,"JPEG",ct.x,ct.y,ct.w,ct.h,null,null,ie),bt&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(O,"JPEG",oe.x,oe.y,oe.w,oe.h,null,null,ie)};var y=function(O,$,K){var Y=[];$=$||this.pdf.internal.pageSize.width,K=K||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ee=this.posY+this.ctx.prevPageLastElemOffset;switch(O.type){default:case"mt":case"lt":Y.push(Math.floor((O.y+ee)/K)+1);break;case"arc":Y.push(Math.floor((O.y+ee-O.radius)/K)+1),Y.push(Math.floor((O.y+ee+O.radius)/K)+1);break;case"qct":var re=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,O.x1,O.y1,O.x,O.y);Y.push(Math.floor((re.y+ee)/K)+1),Y.push(Math.floor((re.y+re.h+ee)/K)+1);break;case"bct":var ae=H(this.ctx.lastPoint.x,this.ctx.lastPoint.y,O.x1,O.y1,O.x2,O.y2,O.x,O.y);Y.push(Math.floor((ae.y+ee)/K)+1),Y.push(Math.floor((ae.y+ae.h+ee)/K)+1);break;case"rect":Y.push(Math.floor((O.y+ee)/K)+1),Y.push(Math.floor((O.y+O.h+ee)/K)+1)}for(var le=0;le<Y.length;le+=1)for(;this.pdf.internal.getNumberOfPages()<Y[le];)g.call(this);return Y},g=function(){var O=this.fillStyle,$=this.strokeStyle,K=this.font,Y=this.lineCap,ee=this.lineWidth,re=this.lineJoin;this.pdf.addPage(),this.fillStyle=O,this.strokeStyle=$,this.font=K,this.lineCap=Y,this.lineWidth=ee,this.lineJoin=re},x=function(O,$,K){for(var Y=0;Y<O.length;Y++)switch(O[Y].type){case"bct":O[Y].x2+=$,O[Y].y2+=K;case"qct":O[Y].x1+=$,O[Y].y1+=K;default:O[Y].x+=$,O[Y].y+=K}return O},b=function(O){return O.sort(function($,K){return $-K})},_=function(O,$){var K=this.fillStyle,Y=this.strokeStyle,ee=this.lineCap,re=this.lineWidth,ae=Math.abs(re*this.ctx.transform.scaleX),le=this.lineJoin;if(this.autoPaging){for(var ge,ke,de=JSON.parse(JSON.stringify(this.path)),we=JSON.parse(JSON.stringify(this.path)),W=[],X=0;X<we.length;X++)if(we[X].x!==void 0)for(var pe=y.call(this,we[X]),ie=0;ie<pe.length;ie+=1)W.indexOf(pe[ie])===-1&&W.push(pe[ie]);for(var te=0;te<W.length;te++)for(;this.pdf.internal.getNumberOfPages()<W[te];)g.call(this);b(W);for(var oe=W[0],Ne=W[W.length-1],De=oe;De<Ne+1;De++){this.pdf.setPage(De),this.fillStyle=K,this.strokeStyle=Y,this.lineCap=ee,this.lineWidth=ae,this.lineJoin=le;var ye=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ce=De===1?this.posY+this.margin[0]:this.margin[0],xe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ve=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Se=De===1?0:xe+(De-2)*ve;if(this.ctx.clip_path.length!==0){var Oe=this.path;ge=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(ge,this.posX+this.margin[3],-Se+ce+this.ctx.prevPageLastElemOffset),E.call(this,O,!0),this.path=Oe}
vendor: 36,693 bytes, lines 1083-1089
1083if(ke=JSON.parse(JSON.stringify(de)),this.path=x(ke,this.posX+this.margin[3],-Se+ce+this.ctx.prevPageLastElemOffset),$===!1||De===0){var We=(De>oe||De<Ne)&&m.call(this);We&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ye,ve,null).clip().discardPath()),E.call(this,O,$),We&&this.pdf.restoreGraphicsState()}this.lineWidth=re}this.path=de}else this.lineWidth=ae,E.call(this,O,$),this.lineWidth=re},E=function(O,$){if((O!=="stroke"||$||!v.call(this))&&(O==="stroke"||$||!f.call(this))){for(var K,Y,ee=[],re=this.path,ae=0;ae<re.length;ae++){var le=re[ae];switch(le.type){case"begin":ee.push({begin:!0});break;case"close":ee.push({close:!0});break;case"mt":ee.push({start:le,deltas:[],abs:[]});break;case"lt":var ge=ee.length;if(re[ae-1]&&!isNaN(re[ae-1].x)&&(K=[le.x-re[ae-1].x,le.y-re[ae-1].y],ge>0)){for(;ge>=0;ge--)if(ee[ge-1].close!==!0&&ee[ge-1].begin!==!0){ee[ge-1].deltas.push(K),ee[ge-1].abs.push(le);break}}break;case"bct":K=[le.x1-re[ae-1].x,le.y1-re[ae-1].y,le.x2-re[ae-1].x,le.y2-re[ae-1].y,le.x-re[ae-1].x,le.y-re[ae-1].y],ee[ee.length-1].deltas.push(K);break;case"qct":var ke=re[ae-1].x+2/3*(le.x1-re[ae-1].x),de=re[ae-1].y+2/3*(le.y1-re[ae-1].y),we=le.x+2/3*(le.x1-le.x),W=le.y+2/3*(le.y1-le.y),X=le.x,pe=le.y;K=[ke-re[ae-1].x,de-re[ae-1].y,we-re[ae-1].x,W-re[ae-1].y,X-re[ae-1].x,pe-re[ae-1].y],ee[ee.length-1].deltas.push(K);break;case"arc":ee.push({deltas:[],abs:[],arc:!0}),Array.isArray(ee[ee.length-1].abs)&&ee[ee.length-1].abs.push(le)}}Y=$?null:O==="stroke"?"stroke":"fill";for(var ie=!1,te=0;te<ee.length;te++)if(ee[te].arc)for(var oe=ee[te].abs,Ne=0;Ne<oe.length;Ne++){var De=oe[Ne];De.type==="arc"?w.call(this,De.x,De.y,De.radius,De.startAngle,De.endAngle,De.counterclockwise,void 0,$,!ie):R.call(this,De.x,De.y),ie=!0}else if(ee[te].close===!0)this.pdf.internal.out("h"),ie=!1;else if(ee[te].begin!==!0){var ye=ee[te].start.x,ce=ee[te].start.y;N.call(this,ee[te].deltas,ye,ce),ie=!0}Y&&S.call(this,Y),$&&k.call(this)}},T=function(O){var $=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,K=$*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return O-K;case"top":return O+$-K;case"hanging":return O+$-2*K;case"middle":return O+$/2-K;default:return O}},A=function(O){return O+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};p.prototype.createLinearGradient=function(){var O=function(){};return O.colorStops=[],O.addColorStop=function($,K){this.colorStops.push([$,K])},O.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},O.isCanvasGradient=!0,O},p.prototype.createPattern=function(){return this.createLinearGradient()},p.prototype.createRadialGradient=function(){return this.createLinearGradient()};var w=function(O,$,K,Y,ee,re,ae,le,ge){for(var ke=I.call(this,K,Y,ee,re),de=0;de<ke.length;de++){var we=ke[de];de===0&&(ge?P.call(this,we.x1+O,we.y1+$):R.call(this,we.x1+O,we.y1+$)),q.call(this,O,$,we.x2,we.y2,we.x3,we.y3,we.x4,we.y4)}le?k.call(this):S.call(this,ae)},S=function(O){switch(O){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},k=function(){this.pdf.clip(),this.pdf.discardPath()},P=function(O,$){this.pdf.internal.out(n(O)+" "+r($)+" m")},D=function(O){var $;switch(O.align){case"right":case"end":$="right";break;case"center":$="center";break;default:$="left"}var K,Y,ee,re=this.pdf.getTextDimensions(O.text),ae=T.call(this,O.y),le=A.call(this,ae)-re.h,ge=this.ctx.transform.applyToPoint(new o(O.x,ae));if(this.autoPaging){var ke=this.ctx.transform.decompose(),de=new l;de=(de=(de=de.multiply(ke.translate)).multiply(ke.skew)).multiply(ke.scale);for(var we=this.ctx.transform.applyToRectangle(new c(O.x,ae,re.w,re.h)),W=de.applyToRectangle(new c(O.x,le,re.w,re.h)),X=y.call(this,W),pe=[],ie=0;ie<X.length;ie+=1)pe.indexOf(X[ie])===-1&&pe.push(X[ie]);b(pe);for(var te=pe[0],oe=pe[pe.length-1],Ne=te;Ne<oe+1;Ne++){this.pdf.setPage(Ne);var De=Ne===1?this.posY+this.margin[0]:this.margin[0],ye=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ce=this.pdf.internal.pageSize.height-this.margin[2],xe=ce-this.margin[0],ve=this.pdf.internal.pageSize.width-this.margin[1],Se=ve-this.margin[3],Oe=Ne===1?0:ye+(Ne-2)*xe;if(this.ctx.clip_path.length!==0){var We=this.path;K=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=x(K,this.posX+this.margin[3],-1*Oe+De),E.call(this,"fill",!0),this.path=We}var qe=x([JSON.parse(JSON.stringify(W))],this.posX+this.margin[3],-Oe+De+this.ctx.prevPageLastElemOffset)[0];O.scale>=.01&&(Y=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Y*O.scale),ee=this.lineWidth,this.lineWidth=ee*O.scale);var Xe=this.autoPaging!=="text";if(Xe||qe.y+qe.h<=ce){if(Xe||qe.y>=De&&qe.x<=ve){var Ve=Xe?O.text:this.pdf.splitTextToSize(O.text,O.maxWidth||ve-qe.x)[0],Ct=x([JSON.parse(JSON.stringify(we))],this.posX+this.margin[3],-Oe+De+this.ctx.prevPageLastElemOffset)[0],ct=Xe&&(Ne>te||Ne<oe)&&m.call(this);ct&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Se,xe,null).clip().discardPath()),this.pdf.text(Ve,Ct.x,Ct.y,{angle:O.angle,align:$,renderingMode:O.renderingMode}),ct&&this.pdf.restoreGraphicsState()}}else qe.y<ce&&(this.ctx.prevPageLastElemOffset+=ce-qe.y);O.scale>=.01&&(this.pdf.setFontSize(Y),this.lineWidth=ee)}}else O.scale>=.01&&(Y=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Y*O.scale),ee=this.lineWidth,this.lineWidth=ee*O.scale),this.pdf.text(O.text,ge.x+this.posX,ge.y+this.posY,{angle:O.angle,align:$,renderingMode:O.renderingMode,maxWidth:O.maxWidth}),O.scale>=.01&&(this.pdf.setFontSize(Y),this.lineWidth=ee)},R=function(O,$,K,Y){K=K||0,Y=Y||0,this.pdf.internal.out(n(O+K)+" "+r($+Y)+" l")},N=function(O,$,K){return this.pdf.lines(O,$,K,null,null)},q=function(O,$,K,Y,ee,re,ae,le){this.pdf.internal.out([t(i(K+O)),t(s(Y+$)),t(i(ee+O)),t(s(re+$)),t(i(ae+O)),t(s(le+$)),"c"].join(" "))},I=function(O,$,K,Y){for(var ee=2*Math.PI,re=Math.PI/2;$>K;)$-=ee;var ae=Math.abs(K-$);ae<ee&&Y&&(ae=ee-ae);for(var le=[],ge=Y?-1:1,ke=$;ae>1e-5;){var de=ke+ge*Math.min(ae,re);le.push(z.call(this,O,ke,de)),ae-=Math.abs(de-ke),ke=de}return le},z=function(O,$,K){var Y=(K-$)/2,ee=O*Math.cos(Y),re=O*Math.sin(Y),ae=ee,le=-re,ge=ae*ae+le*le,ke=ge+ae*ee+le*re,de=4/3*(Math.sqrt(2*ge*ke)-ke)/(ae*re-le*ee),we=ae-de*le,W=le+de*ae,X=we,pe=-W,ie=Y+$,te=Math.cos(ie),oe=Math.sin(ie);return{x1:O*Math.cos($),y1:O*Math.sin($),x2:we*te-W*oe,y2:we*oe+W*te,x3:X*te-pe*oe,y3:X*oe+pe*te,x4:O*Math.cos(K),y4:O*Math.sin(K)}},M=function(O){return 180*O/Math.PI},F=function(O,$,K,Y,ee,re){var ae=O+.5*(K-O),le=$+.5*(Y-$),ge=ee+.5*(K-ee),ke=re+.5*(Y-re),de=Math.min(O,ee,ae,ge),we=Math.max(O,ee,ae,ge),W=Math.min($,re,le,ke),X=Math.max($,re,le,ke);return new c(de,W,we-de,X-W)},H=function(O,$,K,Y,ee,re,ae,le){var ge,ke,de,we,W,X,pe,ie,te,oe,Ne,De,ye,ce,xe=K-O,ve=Y-$,Se=ee-K,Oe=re-Y,We=ae-ee,qe=le-re;for(ke=0;ke<41;ke++)te=(pe=(de=O+(ge=ke/40)*xe)+ge*((W=K+ge*Se)-de))+ge*(W+ge*(ee+ge*We-W)-pe),oe=(ie=(we=$+ge*ve)+ge*((X=Y+ge*Oe)-we))+ge*(X+ge*(re+ge*qe-X)-ie),ke==0?(Ne=te,De=oe,ye=te,ce=oe):(Ne=Math.min(Ne,te),De=Math.min(De,oe),ye=Math.max(ye,te),ce=Math.max(ce,oe));return new c(Math.round(Ne),Math.round(De),Math.round(ye-Ne),Math.round(ce-De))},V=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var O,$,K=(O=this.ctx.lineDash,$=this.ctx.lineDashOffset,JSON.stringify({lineDash:O,lineDashOffset:$}));this.prevLineDash!==K&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=K)}}})(_t.API),function(e){var t=function(o){var c,l,u,d,p,h,f,v,m,y;for(l=[],u=0,d=(o+=c="\0\0\0\0".slice(o.length%4||4)).length;d>u;u+=4)(p=(o.charCodeAt(u)<<24)+(o.charCodeAt(u+1)<<16)+(o.charCodeAt(u+2)<<8)+o.charCodeAt(u+3))!==0?(h=(p=((p=((p=((p=(p-(y=p%85))/85)-(m=p%85))/85)-(v=p%85))/85)-(f=p%85))/85)%85,l.push(h+33,f+33,v+33,m+33,y+33)):l.push(122);return function(g,x){for(var b=x;b>0;b--)g.pop()}(l,c.length),String.fromCharCode.apply(String,l)+"~>"},n=function(o){var c,l,u,d,p,h=String,f="length",v=255,m="charCodeAt",y="slice",g="replace";for(o[y](-2),o=o[y](0,-2)[g](/\s/g,"")[g]("z","!!!!!"),u=[],d=0,p=(o+=c="uuuuu"[y](o[f]%5||5))[f];p>d;d+=5)l=52200625*(o[m](d)-33)+614125*(o[m](d+1)-33)+7225*(o[m](d+2)-33)+85*(o[m](d+3)-33)+(o[m](d+4)-33),u.push(v&l>>24,v&l>>16,v&l>>8,v&l);return function(x,b){for(var _=b;_>0;_--)x.pop()}(u,c[f]),h.fromCharCode.apply(h,u)},r=function(o){return o.split("").map(function(c){return("0"+c.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(o){var c=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((o=o.replace(/\s/g,"")).indexOf(">")!==-1&&(o=o.substr(0,o.indexOf(">"))),o.length%2&&(o+="0"),c.test(o)===!1)return"";for(var l="",u=0;u<o.length;u+=2)l+=String.fromCharCode("0x"+(o[u]+o[u+1]));return l},s=function(o){for(var c=new Uint8Array(o.length),l=o.length;l--;)c[l]=o.charCodeAt(l);return(c=oC(c)).reduce(function(u,d){return u+String.fromCharCode(d)},"")};e.processDataByFilters=function(o,c){var l=0,u=o||"",d=[];for(typeof(c=c||[])=="string"&&(c=[c]),l=0;l<c.length;l+=1)switch(c[l]){case"ASCII85Decode":case"/ASCII85Decode":u=n(u),d.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=t(u),d.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=i(u),d.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),d.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=s(u),d.push("/FlateDecode");break;default:throw new Error('The filter: "'+c[l]+'" is not implemented')}return{data:u,reverseChain:d.reverse().join(" ")}}}(_t.API),function(e){e.loadFile=function(t,n,r){return function(i,s,o){s=s!==!1,o=typeof o=="function"?o:function(){};var c=void 0;try{c=function(l,u,d){var p=new XMLHttpRequest,h=0,f=function(v){var m=v.length,y=[],g=String.fromCharCode;for(h=0;h<m;h+=1)y.push(g(255&v.charCodeAt(h)));return y.join("")};if(p.open("GET",l,!u),p.overrideMimeType("text/plain; charset=x-user-defined"),u===!1&&(p.onload=function(){p.status===200?d(f(this.responseText)):d(void 0)}),p.send(null),u&&p.status===200)return f(p.responseText)}(i,s,o)}catch{}return c}(t,n,r)},e.loadImageFile=e.loadFile}(_t.API),function(e){function t(){return(Pt.html2canvas?Promise.resolve(Pt.html2canvas):ou(()=>import("./html2canvas.esm-CBrSDip1.js"),[])).catch(function(c){return Promise.reject(new Error("Could not load html2canvas: "+c))}).then(function(c){return c.default?c.default:c})}function n(){return(Pt.DOMPurify?Promise.resolve(Pt.DOMPurify):ou(()=>import("./purify.es-BFmuJLeH.js"),[])).catch(function(c){return Promise.reject(new Error("Could not load dompurify: "+c))}).then(function(c){return c.default?c.default:c})}var r=function(c){var l=mn(c);return l==="undefined"?"undefined":l==="string"||c instanceof String?"string":l==="number"||c instanceof Number?"number":l==="function"||c instanceof Function?"function":c&&c.constructor===Array?"array":c&&c.nodeType===1?"element":l==="object"?"object":"unknown"},i=function(c,l){var u=document.createElement(c);for(var d in l.className&&(u.className=l.className),l.innerHTML&&l.dompurify&&(u.innerHTML=l.dompurify.sanitize(l.innerHTML)),l.style)u.style[d]=l.style[d];return u},s=function c(l,u){for(var d=l.nodeType===3?document.createTextNode(l.nodeValue):l.cloneNode(!1),p=l.firstChild;p;p=p.nextSibling)u!==!0&&p.nodeType===1&&p.nodeName==="SCRIPT"||d.appendChild(c(p,u));return l.nodeType===1&&(l.nodeName==="CANVAS"?(d.width=l.width,d.height=l.height,d.getContext("2d").drawImage(l,0,0)):l.nodeName!=="TEXTAREA"&&l.nodeName!=="SELECT"||(d.value=l.value),d.addEventListener("load",function(){d.scrollTop=l.scrollTop,d.scrollLeft=l.scrollLeft},!0)),d},o=function c(l){var u=Object.assign(c.convert(Promise.resolve()),JSON.parse(JSON.stringify(c.template))),d=c.convert(Promise.resolve(),u);return(d=d.setProgress(1,c,1,[c])).set(l)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(c,l){return c.__proto__=l||o.prototype,c},o.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"}},o.prototype.from=function(c,l){return this.then(function(){switch(l=l||function(u){switch(r(u)){case"string":return"string";case"element":return u.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(c),l){case"string":return this.then(n).then(function(u){return this.set({src:i("div",{innerHTML:c,dompurify:u})})});case"element":return this.set({src:c});case"canvas":return this.set({canvas:c});case"img":return this.set({img:c});default:return this.error("Unknown source type.")}})},o.prototype.to=function(c){switch(c){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.")}},o.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 c={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},l=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);l.tagName==="BODY"&&(c.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:c}),this.prop.container.appendChild(l),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"})},o.prototype.toCanvas=function(){var c=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(c).then(t).then(function(l){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,l(this.prop.container,u)}).then(function(l){(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},o.prototype.toContext2d=function(){var c=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(c).then(t).then(function(l){var u=this.opt.jsPDF,d=this.opt.fontFaces,p=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,h=Object.assign({async:!0,allowTaint:!0,scale:p,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 h.onrendered,u.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=d,d)for(var f=0;f<d.length;++f){var v=d[f],m=v.src.find(function(y){return y.format==="truetype"});m&&u.addFont(m.url,v.ref.name,v.ref.style)}return h.windowHeight=h.windowHeight||0,h.windowHeight=h.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):h.windowHeight,u.context2d.save(!0),l(this.prop.container,h)}).then(function(l){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(l),this.prop.canvas=l,document.body.removeChild(this.prop.overlay)})},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var c=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=c})},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},o.prototype.output=function(c,l,u){return(u=u||"pdf").toLowerCase()==="img"||u.toLowerCase()==="image"?this.outputImg(c,l):this.outputPdf(c,l)},o.prototype.outputPdf=function(c,l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(c,l)})},o.prototype.outputImg=function(c){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(c){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 "'+c+'" is not supported.'}})},o.prototype.save=function(c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(c?{filename:c}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},o.prototype.set=function(c){if(r(c)!=="object")return this;var l=Object.keys(c||{}).map(function(u){if(u in o.template.prop)return function(){this.prop[u]=c[u]};switch(u){case"margin":return this.setMargin.bind(this,c.margin);case"jsPDF":return function(){return this.opt.jsPDF=c.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,c.pageSize);default:return function(){this.opt[u]=c[u]}}},this);return this.then(function(){return this.thenList(l)})},o.prototype.get=function(c,l){return this.then(function(){var u=c in o.template.prop?this.prop[c]:this.opt[c];return l?l(u):u})},o.prototype.setMargin=function(c){return this.then(function(){switch(r(c)){case"number":c=[c,c,c,c];case"array":if(c.length===2&&(c=[c[0],c[1],c[0],c[1]]),c.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=c}).then(this.setPageSize)},o.prototype.setPageSize=function(c){function l(u,d){return Math.floor(u*d/72*96)}return this.then(function(){(c=c||_t.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(c.inner={width:c.width-this.opt.margin[1]-this.opt.margin[3],height:c.height-this.opt.margin[0]-this.opt.margin[2]},c.inner.px={width:l(c.inner.width,c.k),height:l(c.inner.height,c.k)},c.inner.ratio=c.inner.height/c.inner.width),this.prop.pageSize=c})},o.prototype.setProgress=function(c,l,u,d){return c!=null&&(this.progress.val=c),l!=null&&(this.progress.state=l),u!=null&&(this.progress.n=u),d!=null&&(this.progress.stack=d),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(c,l,u,d){return this.setProgress(c?this.progress.val+c:null,l||null,u?this.progress.n+u:null,d?this.progress.stack.concat(d):null)},o.prototype.then=function(c,l){var u=this;return this.thenCore(c,l,function(d,p){return u.updateProgress(null,null,1,[d]),Promise.prototype.then.call(this,function(h){return u.updateProgress(null,d),h}).then(d,p).then(function(h){return u.updateProgress(1),h})})},o.prototype.thenCore=function(c,l,u){u=u||Promise.prototype.then;var d=this;c&&(c=c.bind(d)),l&&(l=l.bind(d));var p=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?d:o.convert(Object.assign({},d),Promise.prototype),h=u.call(p,c,l);return o.convert(h,d.__proto__)},o.prototype.thenExternal=function(c,l){return Promise.prototype.then.call(this,c,l)},o.prototype.thenList=function(c){var l=this;return c.forEach(function(u){l=l.thenCore(u)}),l},o.prototype.catch=function(c){c&&(c=c.bind(this));var l=Promise.prototype.catch.call(this,c);return o.convert(l,this)},o.prototype.catchExternal=function(c){return Promise.prototype.catch.call(this,c)},o.prototype.error=function(c){return this.then(function(){throw new Error(c)})},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,_t.getPageSize=function(c,l,u){if(mn(c)==="object"){var d=c;c=d.orientation,l=d.unit||l,u=d.format||u}l=l||"mm",u=u||"a4",c=(""+(c||"P")).toLowerCase();var p,h=(""+u).toLowerCase(),f={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(l){case"pt":p=1;break;case"mm":p=72/25.4;break;case"cm":p=72/2.54;break;case"in":p=72;break;case"px":p=.75;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+l}var v,m=0,y=0;if(f.hasOwnProperty(h))m=f[h][1]/p,y=f[h][0]/p;else try{m=u[1],y=u[0]}catch{throw new Error("Invalid format: "+u)}if(c==="p"||c==="portrait")c="p",y>m&&(v=y,y=m,m=v);else{if(c!=="l"&&c!=="landscape")throw"Invalid orientation: "+c;c="l",m>y&&(v=y,y=m,m=v)}return{width:y,height:m,unit:l,k:p,orientation:c}},e.html=function(c,l){(l=l||{}).callback=l.callback||function(){},l.html2canvas=l.html2canvas||{},l.html2canvas.canvas=l.html2canvas.canvas||this.canvas,l.jsPDF=l.jsPDF||this,l.fontFaces=l.fontFaces?l.fontFaces.map(I_):null;var u=new o(l);return l.worker?u:u.from(c).doCallback()}}(_t.API),_t.API.addJS=function(e){return EL=e,this.internal.events.subscribe("postPutResources",function(){vb=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(vb+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),CL=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+EL+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){vb!==void 0&&CL!==void 0&&this.internal.out("/Names <</JavaScript "+vb+" 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/),s=0;s<i.length;s++){var o=i[s],c=r.exec(o);if(c!=null){var l=c[1];n.internal.newObjectDeferredBegin(l,!1)}n.internal.write(o)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,d=[];for(s=0;s<u;s++){var p=n.internal.newObject();d.push(p);var h=n.internal.getPageInfo(s+1);n.internal.write("<< /D["+h.objId+" 0 R /XYZ null null null]>> endobj")}var f=n.internal.newObject();for(n.internal.write("<< /Names [ "),s=0;s<d.length;s++)n.internal.write("(page_"+(s+1)+")"+d[s]+" 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(){var n=this;n.outline.root.children.length>0&&(n.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&n.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,s){var o={title:i,options:s,children:[]};return r==null&&(r=this.root),r.children.push(o),o},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,s=0;s<r.children.length;s++){var o=r.children[s];this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(r)),s>0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[s+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var c=this.count=this.count_r({count:0},o);if(c>0&&this.line("/Count "+c),o.options&&o.options.pageNumber){var l=n.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+l.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 1084`},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 1085`+r.id+` 0 obj\r 1086<<\r 1087`},n.outline.objEnd=function(){this.ctx.val+=`>> \r 1088endobj\r 1089`},n.outline.count_r=function(r,i){for(var s=0;s<i.children.length;s++)r.count++,this.count_r(r,i.children[s]);return r.count}}])}(_t.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(n,r,i,s,o,c){var l,u=this.decode.DCT_DECODE,d=null;if(typeof n=="string"||this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n)){switch(n=o||n,n=this.__addimage__.isArrayBuffer(n)?new Uint8Array(n):n,l=function(p){for(var h,f=256*p.charCodeAt(4)+p.charCodeAt(5),v=p.length,m={width:0,height:0,numcomponents:1},y=4;y<v;y+=2){if(y+=f,t.indexOf(p.charCodeAt(y+1))!==-1){h=256*p.charCodeAt(y+5)+p.charCodeAt(y+6),m={width:256*p.charCodeAt(y+7)+p.charCodeAt(y+8),height:h,numcomponents:p.charCodeAt(y+9)};break}f=256*p.charCodeAt(y+2)+p.charCodeAt(y+3)}return m}(n=this.__addimage__.isArrayBufferView(n)?this.__addimage__.arrayBufferToBinaryString(n):n),l.numcomponents){case 1:c=this.color_spaces.DEVICE_GRAY;break;case 4:c=this.color_spaces.DEVICE_CMYK;break;case 3:c=this.color_spaces.DEVICE_RGB}d={data:n,width:l.width,height:l.height,colorSpace:c,bitsPerComponent:8,filter:u,index:r,alias:i}}return d}}(_t.API),_t.API.processPNG=function(e,t,n,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,s=Zve(e,{checkCrc:!0}),o=s.width,c=s.height,l=s.channels,u=s.palette,d=s.depth;i=u&&l===1?function(w){for(var S=w.width,k=w.height,P=w.data,D=w.palette,R=w.depth,N=!1,q=[],I=[],z=void 0,M=!1,F=0,H=0;H<D.length;H++){var V=bP(D[H],4),O=V[0],$=V[1],K=V[2],Y=V[3];q.push(O,$,K),Y!=null&&(Y===0?(F++,I.length<1&&I.push(H)):Y<255&&(M=!0))}if(M||F>1){N=!0,I=void 0;var ee=S*k;z=new Uint8Array(ee);for(var re=new DataView(P.buffer),ae=0;ae<ee;ae++){var le=F_(re,ae,R),ge=bP(D[le],4)[3];z[ae]=ge}}else F===0&&(I=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:N?8:void 0,colorBytes:P,alphaBytes:z,needSMask:N,palette:q,mask:I}}(s):l===2||l===4?function(w){for(var S=w.data,k=w.width,P=w.height,D=w.channels,R=w.depth,N=D===2?"DeviceGray":"DeviceRGB",q=D-1,I=k*P,z=q,M=I*z,F=1*I,H=Math.ceil(M*R/8),V=Math.ceil(F*R/8),O=new Uint8Array(H),$=new Uint8Array(V),K=new DataView(S.buffer),Y=new DataView(O.buffer),ee=new DataView($.buffer),re=!1,ae=0;ae<I;ae++){for(var le=ae*D,ge=0;ge<z;ge++)OL(Y,F_(K,le+ge,R),ae*z+ge,R);var ke=F_(K,le+z,R);ke<(1<<R)-1&&(re=!0),OL(ee,ke,1*ae,R)}return{colorSpace:N,colorsPerPixel:q,sMaskBitsPerComponent:re?R:void 0,colorBytes:O,alphaBytes:$,needSMask:re}}(s):function(w){var S=w.data,k=w.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:k,colorsPerPixel:k==="DeviceGray"?1:3,colorBytes:S instanceof Uint16Array?function(P){for(var D=P.length,R=new Uint8Array(2*D),N=new DataView(R.buffer,R.byteOffset,R.byteLength),q=0;q<D;q++)N.setUint16(2*q,P[q],!1);return R}(S):S,needSMask:!1}}(s);var p,h,f,v=i,m=v.colorSpace,y=v.colorsPerPixel,g=v.sMaskBitsPerComponent,x=v.colorBytes,b=v.alphaBytes,_=v.needSMask,E=v.palette,T=v.mask,A=null;return r!==_t.API.image_compression.NONE&&typeof oC=="function"?(A=function(w){var S;switch(w){case _t.API.image_compression.FAST:S=11;break;case _t.API.image_compression.MEDIUM:S=13;break;case _t.API.image_compression.SLOW:S=14;break;default:S=12}return S}(r),p=this.decode.FLATE_DECODE,h="/Predictor ".concat(A," /Colors ").concat(y," /BitsPerComponent ").concat(d," /Columns ").concat(o),e=kL(x,Math.ceil(o*y*d/8),y,d,r),_&&(f=kL(b,Math.ceil(o*g/8),1,g,r))):(p=void 0,h=void 0,e=x,_&&(f=b)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:n,data:e,index:t,filter:p,decodeParameters:h,transparency:T,palette:E,sMask:f,predictor:A,width:o,height:c,bitsPerComponent:d,sMaskBitsPerComponent:g,colorSpace:m}}},function(e){e.processGIF89A=function(t,n,r,i){var s=new vbe(t),o=s.width,c=s.height,l=[];s.decodeAndBlitFrameRGBA(0,l);var u={data:l,width:o,height:c},d=new M_(100).encode(u,100);return e.processJPEG.call(this,d,n,r,i)},e.processGIF87A=e.processGIF89A}(_t.API),Bs.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),s=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:i,green:r,blue:n,quad:s}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Bs.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){Nn.log("bit decode error:"+n)}},Bs.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),n=t%4;for(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 s=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*i*4,c=0;c<8&&8*i+c<this.width;c++){var l=this.palette[s>>7-c&1];this.data[o+4*c]=l.blue,this.data[o+4*c+1]=l.green,this.data[o+4*c+2]=l.red,this.data[o+4*c+3]=255}n!==0&&(this.pos+=4-n)}},Bs.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 s=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*i*4,c=s>>4,l=15&s,u=this.palette[c];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*i+1>=this.width)break;u=this.palette[l],this.data[o+4]=u.blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}t!==0&&(this.pos+=4-t)}},Bs.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),s=n*this.width*4+4*r;if(i<this.palette.length){var o=this.palette[i];this.data[s]=o.red,this.data[s+1]=o.green,this.data[s+2]=o.blue,this.data[s+3]=255}else this.data[s]=255,this.data[s+1]=255,this.data[s+2]=255,this.data[s+3]=255}e!==0&&(this.pos+=4-e)}},Bs.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 s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&t)/t*255|0,c=(s>>5&t)/t*255|0,l=(s>>10&t)/t*255|0,u=s>>15?255:0,d=r*this.width*4+4*i;this.data[d]=l,this.data[d+1]=c,this.data[d+2]=o,this.data[d+3]=u}this.pos+=e}},Bs.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,s=0;s<this.width;s++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var c=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,u=(o>>11)/t*255|0,d=i*this.width*4+4*s;this.data[d]=u,this.data[d+1]=l,this.data[d+2]=c,this.data[d+3]=255}this.pos+=e}},Bs.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),s=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=s,this.data[o+1]=i,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},Bs.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),s=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),c=t*this.width*4+4*n;this.data[c]=s,this.data[c+1]=i,this.data[c+2]=r,this.data[c+3]=o}},Bs.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,n,r,i){var s=new Bs(t,!1),o=s.width,c=s.height,l={data:s.getData(),width:o,height:c},u=new M_(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(_t.API),UL.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,n,r,i){var s=new UL(t),o=s.width,c=s.height,l={data:s.getData(),width:o,height:c},u=new M_(100).encode(l,100);return e.processJPEG.call(this,u,n,r,i)}}(_t.API),_t.API.processRGBA=function(e,t,n){for(var r=e.data,i=r.length,s=new Uint8Array(i/4*3),o=new Uint8Array(i/4),c=0,l=0,u=0;u<i;u+=4){var d=r[u],p=r[u+1],h=r[u+2],f=r[u+3];s[c++]=d,s[c++]=p,s[c++]=h,o[l++]=f}var v=this.__addimage__.arrayBufferToBinaryString(s);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:v,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},_t.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
1089a)","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},tf=_t.API,bb=tf.getCharWidthsArray=function(e,t){var n,r,i=(t=t||{}).font||this.internal.getFont(),s=t.fontSize||this.internal.getFontSize(),o=t.charSpace||this.internal.getCharSpace(),c=t.widths?t.widths:i.metadata.Unicode.widths,l=c.fof?c.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,d=u.fof?u.fof:1,p=t.doKerning!==!1,h=0,f=e.length,v=0,m=c[0]||l,y=[];for(n=0;n<f;n++)r=e.charCodeAt(n),typeof i.metadata.widthOfString=="function"?y.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+o*(1e3/s)||0)/1e3):(h=p&&mn(u[r])==="object"&&!isNaN(parseInt(u[r][v],10))?u[r][v]/d:0,y.push((c[r]||m)/l+h)),v=r;return y},SL=tf.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 tf.processArabic&&(e=tf.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,n,i)/n:bb.apply(this,arguments).reduce(function(s,o){return s+o},0)},DL=function(e,t,n,r){for(var i=[],s=0,o=e.length,c=0;s!==o&&c+t[s]<n;)c+=t[s],s++;i.push(e.slice(0,s));var l=s;for(c=0;s!==o;)c+t[s]>r&&(i.push(e.slice(l,s)),c=0,l=s),c+=t[s],s++;return l!==s&&i.push(e.slice(l,s)),i},AL=function(e,t,n){n||(n={});var r,i,s,o,c,l,u,d=[],p=[d],h=n.textIndent||0,f=0,v=0,m=e.split(" "),y=bb.apply(this,[" ",n])[0];if(l=n.lineIndent===-1?m[0].length+2:n.lineIndent||0){var g=Array(l).join(" "),x=[];m.map(function(_){(_=_.split(/\s*\n/)).length>1?x=x.concat(_.map(function(E,T){return(T&&E.length?` 1090`:"")+E})):x.push(_[0])}),m=x,l=SL.apply(this,[g,n])}for(s=0,o=m.length;s<o;s++){var b=0;if(r=m[s],l&&r[0]==` 1091`&&(r=r.substr(1),b=1),h+f+(v=(i=bb.apply(this,[r,n])).reduce(function(_,E){return _+E},0))>t||b){if(v>t){for(c=DL.apply(this,[r,i,t-(h+f),t]),d.push(c.shift()),d=[c.pop()];c.length;)p.push([c.shift()]);v=i.slice(r.length-(d[0]?d[0].length:0)).reduce(function(_,E){return _+E},0)}else d=[r];p.push(d),h=v+l,f=y}else d.push(r),h+=f+v,f=y}return u=l?function(_,E){return(E?g:"")+_.join(" ")}:function(_){return _.join(" ")},p.map(u)},tf.splitTextToSize=function(e,t,n){var r,i=(n=n||{}).fontSize||this.internal.getFontSize(),s=(function(d){if(d.widths&&d.kerning)return{widths:d.widths,kerning:d.kerning};var p=this.internal.getFont(d.fontName,d.fontStyle),h="Unicode";return p.metadata[h]?{widths:p.metadata[h].widths||{0:1},kerning:p.metadata[h].kerning||{}}:{font:p.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,n);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var o=1*this.internal.scaleFactor*t/i;s.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,s.lineIndent=n.lineIndent;var c,l,u=[];for(c=0,l=r.length;c<l;c++)u=u.concat(AL.apply(this,[r[c],o,s]));return u},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i={},s=0;s<16;s++)r[n[s]]=t[s],i[t[s]]=n[s];var o=function(h){return"0x"+parseInt(h,10).toString(16)},c=e.__fontmetrics__.compress=function(h){var f,v,m,y,g=["{"];for(var x in h){if(f=h[x],isNaN(parseInt(x,10))?v="'"+x+"'":(x=parseInt(x,10),v=(v=o(x).slice(2)).slice(0,-1)+i[v.slice(-1)]),typeof f=="number")f<0?(m=o(f).slice(3),y="-"):(m=o(f).slice(2),y=""),m=y+m.slice(0,-1)+i[m.slice(-1)];
vendor: 1,093 bytes, line 1091
1091else{if(mn(f)!=="object")throw new Error("Don't know what to do with value type "+mn(f)+".");m=c(f)}g.push(v+m)}return g.push("}"),g.join("")},l=e.__fontmetrics__.uncompress=function(h){if(typeof h!="string")throw new Error("Invalid argument passed to uncompress.");for(var f,v,m,y,g={},x=1,b=g,_=[],E="",T="",A=h.length-1,w=1;w<A;w+=1)(y=h[w])=="'"?f?(m=f.join(""),f=void 0):f=[]:f?f.push(y):y=="{"?(_.push([b,m]),b={},m=void 0):y=="}"?((v=_.pop())[0][v[1]]=b,m=void 0,b=v[0]):y=="-"?x=-1:m===void 0?r.hasOwnProperty(y)?(E+=r[y],m=parseInt(E,16)*x,x=1,E=""):E+=y:r.hasOwnProperty(y)?(T+=r[y],b[m]=parseInt(T,16)*x,x=1,m=void 0,T=""):T+=y;return g},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:l("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},d={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},p
vendor: 14,727 bytes, line 1091
1091={Unicode:{"Courier-Oblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":l("{'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":l("{'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:l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":l("{'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:l("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:l("{'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":l("{'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:l("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":l("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":l("{'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":l("{'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":l("{'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}}}")}};e.events.push(["addFont",function(
vendor: 10,616 bytes, lines 1091-1119
1091h){var f=h.font,v=p.Unicode[f.postScriptName];v&&(f.metadata.Unicode={},f.metadata.Unicode.widths=v.widths,f.metadata.Unicode.kerning=v.kerning);var m=d.Unicode[f.postScriptName];m&&(f.metadata.Unicode.encoding=m,f.encoding=m.codePages[0])}])}(_t.API),function(e){var t=function(n){for(var r=n.length,i=new Uint8Array(r),s=0;s<r;s++)i[s]=n.charCodeAt(s);return i};e.API.events.push(["addFont",function(n){var r=void 0,i=n.font,s=n.instance;if(!i.isStandardFont){if(s===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=s.existsFileInVFS(i.postScriptName)===!1?s.loadFile(i.postScriptName):s.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(o,c){c=/^\x00\x01\x00\x00/.test(c)?t(c):t(Hb(c)),o.metadata=e.API.TTFFont.open(c),o.metadata.Unicode=o.metadata.Unicode||{encoding:{},kerning:{},widths:[]},o.metadata.glyIdsUsed=[0]})(i,r)}}])}(_t),_t.API.addSvgAsImage=function(e,t,n,r,i,s,o,c){if(isNaN(t)||isNaN(n))throw Nn.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw Nn.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=r,l.height=i;var u=l.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,l.width,l.height);var d={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},p=this;return(Pt.canvg?Promise.resolve(Pt.canvg):ou(()=>import("./index.es-BKtqdY9-.js"),[])).catch(function(h){return Promise.reject(new Error("Could not load canvg: "+h))}).then(function(h){return h.default?h.default:h}).then(function(h){return h.fromString(u,e,d)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(h){return h.render(d)}).then(function(){p.addImage(l.toDataURL("image/jpeg",1),t,n,r,i,o,c)})},_t.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},_t.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var r,i,s,o={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}},c=Object.keys(o),l=[],u=0,d=0,p=0;function h(v,m){var y,g=!1;for(y=0;y<v.length;y+=1)v[y]===m&&(g=!0);return g}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),n=this.internal.viewerpreferences.configuration,e==="reset"||t===!0){var f=c.length;for(p=0;p<f;p+=1)n[c[p]].value=n[c[p]].defaultValue,n[c[p]].explicitSet=!1}if(mn(e)==="object"){for(i in e)if(s=e[i],h(c,i)&&s!==void 0){if(n[i].type==="boolean"&&typeof s=="boolean")n[i].value=s;else if(n[i].type==="name"&&h(n[i].valueSet,s))n[i].value=s;else if(n[i].type==="integer"&&Number.isInteger(s))n[i].value=s;else if(n[i].type==="array"){for(u=0;u<s.length;u+=1)if(r=!0,s[u].length===1&&typeof s[u][0]=="number")l.push(String(s[u]-1));else if(s[u].length>1){for(d=0;d<s[u].length;d+=1)typeof s[u][d]!="number"&&(r=!1);r===!0&&l.push([s[u][0]-1,s[u][1]-1].join(" "))}n[i].value="["+l.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 v,m=[];for(v in n)n[v].explicitSet===!0&&(n[v].type==="name"?m.push("/"+v+" /"+n[v].value):m.push("/"+v+" "+n[v].value));m.length!==0&&this.internal.write(`/ViewerPreferences 1092<< 1093`+m.join(` 1094`)+` 1095>>`)}),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/">')),s=unescape(encodeURIComponent(r)),o=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),c=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),l=unescape(encodeURIComponent("</x:xmpmeta>")),u=s.length+o.length+c.length+i.length+l.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+s+o+c+l),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}}(_t.API),function(e){var t=e.API,n=t.pdfEscape16=function(s,o){for(var c,l=o.metadata.Unicode.widths,u=["","0","00","000","0000"],d=[""],p=0,h=s.length;p<h;++p){if(c=o.metadata.characterToGlyph(s.charCodeAt(p)),o.metadata.glyIdsUsed.push(c),o.metadata.toUnicode[c]=s.charCodeAt(p),l.indexOf(c)==-1&&(l.push(c),l.push([parseInt(o.metadata.widthOfGlyph(c),10)])),c=="0")return d.join("");c=c.toString(16),d.push(u[4-c.length],c)}return d.join("")},r=function(s){var o,c,l,u,d,p,h;for(d=`/CIDInit /ProcSet findresource begin 109612 dict begin 1097begincmap 1098/CIDSystemInfo << 1099 /Registry (Adobe) 1100 /Ordering (UCS) 1101 /Supplement 0 1102>> def 1103/CMapName /Adobe-Identity-UCS def 1104/CMapType 2 def 11051 begincodespacerange 1106<0000><ffff> 1107endcodespacerange`,l=[],p=0,h=(c=Object.keys(s).sort(function(f,v){return f-v})).length;p<h;p++)o=c[p],l.length>=100&&(d+=` 1108`+l.length+` beginbfchar 1109`+l.join(` 1110`)+` 1111endbfchar`,l=[]),s[o]!==void 0&&s[o]!==null&&typeof s[o].toString=="function"&&(u=("0000"+s[o].toString(16)).slice(-4),o=("0000"+(+o).toString(16)).slice(-4),l.push("<"+o+"><"+u+">"));return l.length&&(d+=` 1112`+l.length+` beginbfchar 1113`+l.join(` 1114`)+` 1115endbfchar 1116`),d+`endcmap 1117CMapName currentdict /CMap defineresource pop 1118end 1119end`};t.events.push(["putFont",function(s){(function(o){var c=o.font,l=o.out,u=o.newObject,d=o.putStream;if(c.metadata instanceof e.API.TTFFont&&c.encoding==="Identity-H"){for(var p=c.metadata.Unicode.widths,h=c.metadata.subset.encode(c.metadata.glyIdsUsed,1),f="",v=0;v<h.length;v++)f+=String.fromCharCode(h[v]);var m=u();d({data:f,addLength1:!0,objectId:m}),l("endobj");var y=u();d({data:r(c.metadata.toUnicode),addLength1:!0,objectId:y}),l("endobj");var g=u();l("<<"),l("/Type /FontDescriptor"),l("/FontName /"+df(c.fontName)),l("/FontFile2 "+m+" 0 R"),l("/FontBBox "+e.API.PDFObject.convert(c.metadata.bbox)),l("/Flags "+c.metadata.flags),l("/StemV "+c.metadata.stemV),l("/ItalicAngle "+c.metadata.italicAngle),l("/Ascent "+c.metadata.ascender),l("/Descent "+c.metadata.decender),l("/CapHeight "+c.metadata.capHeight),l(">>"),l("endobj");var x=u();l("<<"),l("/Type /Font"),l("/BaseFont /"+df(c.fontName)),l("/FontDescriptor "+g+" 0 R"),l("/W "+e.API.PDFObject.convert(p)),l("/CIDToGIDMap /Identity"),l("/DW 1000"),l("/Subtype /CIDFontType2"),l("/CIDSystemInfo"),l("<<"),l("/Supplement 0"),l("/Registry (Adobe)"),l("/Ordering ("+c.encoding+")"),l(">>"),l(">>"),l("endobj"),c.objectNumber=u(),l("<<"),l("/Type /Font"),l("/Subtype /Type0"),l("/ToUnicode "+y+" 0 R"),l("/BaseFont /"+df(c.fontName)),l("/Encoding /"+c.encoding),l("/DescendantFonts ["+x+" 0 R]"),l(">>"),l("endobj"),c.isAlreadyPutted=!0}})(s)}]),t.events.push(["putFont",function(s){(function(o){var c=o.font,l=o.out,u=o.newObject,d=o.putStream;if(c.metadata instanceof e.API.TTFFont&&c.encoding==="WinAnsiEncoding"){for(var p=c.metadata.rawData,h="",f=0;f<p.length;f++)h+=String.fromCharCode(p[f]);var v=u();d({data:h,addLength1:!0,objectId:v}),l("endobj");var m=u();d({data:r(c.metadata.toUnicode),addLength1:!0,objectId:m}),l("endobj");var y=u();l("<<"),l("/Descent "+c.metadata.decender),l("/CapHeight "+c.metadata.capHeight),l("/StemV "+c.metadata.stemV),l("/Type /FontDescriptor"),l("/
1119FontFile2 "+v+" 0 R"),l("/Flags 96"),l("/FontBBox "+e.API.PDFObject.convert(c.metadata.bbox)),l("/FontName /"+df(c.fontName)),l("/ItalicAngle "+c.metadata.italicAngle),l("/Ascent "+c.metadata.ascender),l(">>"),l("endobj"),c.objectNumber=u();for(var g=0;g<c.metadata.hmtx.widths.length;g++)c.metadata.hmtx.widths[g]=parseInt(c.metadata.hmtx.widths[g]*(1e3/c.metadata.head.unitsPerEm));l("<</Subtype/TrueType/Type/Font/ToUnicode "+m+" 0 R/BaseFont/"+df(c.fontName)+"/FontDescriptor "+y+" 0 R/Encoding/"+c.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(c.metadata.hmtx.widths)+">>"),l("endobj"),c.isAlreadyPutted=!0}})(s)}]);var i=function(s){var o,c=s.text||"",l=s.x,u=s.y,d=s.options||{},p=s.mutex||{},h=p.pdfEscape,f=p.activeFontKey,v=p.fonts,m=f,y="",g=0,x="",b=v[m].encoding;if(v[m].encoding!=="Identity-H")return{text:c,x:l,y:u,options:d,mutex:p};for(x=c,m=f,Array.isArray(c)&&(x=c[0]),g=0;g<x.length;g+=1)v[m].metadata.hasOwnProperty("cmap")&&(o=v[m].metadata.cmap.unicode.codeMap[x[g].charCodeAt(0)]),o||x[g].charCodeAt(0)<256&&v[m].metadata.hasOwnProperty("Unicode")?y+=x[g]:y+="";var _="";return parseInt(m.slice(1))<14||b==="WinAnsiEncoding"?_=h(y,m).split("").map(function(E){return E.charCodeAt(0).toString(16)}).join(""):b==="Identity-H"&&(_=n(y,v[m])),p.isHex=!0,{text:_,x:l,y:u,options:d,mutex:p}};t.events.push(["postProcessText",function(s){var o=s.text||"",c=[],l={text:o,x:s.x,y:s.y,options:s.options,mutex:s.mutex};if(Array.isArray(o)){var u=0;for(u=0;u<o.length;u+=1)Array.isArray(o[u])&&o[u].length===3?c.push([i(Object.assign({},l,{text:o[u][0]})).text,o[u][1],o[u][2]]):c.push(i(Object.assign({},l,{text:o[u]})).text);s.text=c}else s.text=i(Object.assign({},l,{text:o})).text}])}(_t),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}}(_t.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(r){var i,s,o,c,l,u,d,p=t,h=[[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]],v={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},m={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},y=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","â¹","âº","â¹","â
","â","â
","â½","â¾","â½","â","â","â","â¤","â¥","â¤","â©","âª","â©","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","ï¹","﹤","ï¹¥","﹤"],g=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)$/),x=!1,b=0;this.__bidiEngine__={};var _=function(P){var D=P.charCodeAt(),R=D>>8,N=m[R];return N!==void 0?p[256*N+(255&D)]:R===252||R===253?"AL":g.test(R)?"L":R===8?"R":"N"},E=function(P){for(var D,R=0;R<P.length;R++){if((D=_(P.charAt(R)))==="L")return!1;if(D==="R")return!0}return!1},T=function(P,D,R,N){var q,I,z,M,F=D[N];switch(F){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":x=!1;break;case"N":case"AN":break;case"EN":x&&(F="AN");break;case"AL":x=!0,F="R";break;case"WS":case"BN":F="N";break;case"CS":N<1||N+1>=D.length||(q=R[N-1])!=="EN"&&q!=="AN"||(I=D[N+1])!=="EN"&&I!=="AN"?F="N":x&&(I="AN"),F=I===q?I:"N";break;case"ES":F=(q=N>0?R[N-1]:"B")==="EN"&&N+1<D.length&&D[N+1]==="EN"?"EN":"N";break;case"ET":if(N>0&&R[N-1]==="EN"){F="EN";break}if(x){F="N";break}for(z=N+1,M=D.length;z<M&&D[z]==="ET";)z++;F=z<M&&D[z]==="EN"?"EN":"N";break;case"NSM":if(o&&!c){for(M=D.length,z=N+1;z<M&&D[z]==="NSM";)z++;if(z<M){var H=P[N],V=H>=1425&&H<=2303||H===64286;if(q=D[z],V&&(q==="R"||q==="AL")){F="R";break}}}F=N<1||(q=D[N-1])==="B"?"N":R[N-1];break;case"B":x=!1,i=!0,F=b;break;case"S":s=!0,F="N"}return F},A=function(P,D,R){var N=P.split("");return R&&w(N,R,{hiLevel:b}),N.reverse(),D&&D.reverse(),N.join("")},w=function(P,D,R){var N,q,I,z,M,F=-1,H=P.length,V=0,O=[],$=b?f:h,K=[];for(x=!1,i=!1,s=!1,q=0;q<H;q++)K[q]=_(P[q]);for(I=0;I<H;I++){if(M=V,O[I]=T(P,K,O,I),N=240&(V=$[M][v[O[I]]]),V&=15,D[I]=z=$[V][5],N>0)if(N===16){for(q=F;q<I;q++)D[q]=1;F=-1}else F=-1;if($[V][6])F===-1&&(F=I);else if(F>-1){for(q=F;q<I;q++)D[q]=z;F=-1}K[I]==="B"&&(D[I]=0),R.hiLevel|=z}s&&function(Y,ee,re){for(var ae=0;ae<re;ae++)if(Y[ae]==="S"){ee[ae]=b;
vendor: 30,722 bytes, line 1119
1119for(var le=ae-1;le>=0&&Y[le]==="WS";le--)ee[le]=b}}(K,D,H)},S=function(P,D,R,N,q){if(!(q.hiLevel<P)){if(P===1&&b===1&&!i)return D.reverse(),void(R&&R.reverse());for(var I,z,M,F,H=D.length,V=0;V<H;){if(N[V]>=P){for(M=V+1;M<H&&N[M]>=P;)M++;for(F=V,z=M-1;F<z;F++,z--)I=D[F],D[F]=D[z],D[z]=I,R&&(I=R[F],R[F]=R[z],R[z]=I);V=M}V++}}},k=function(P,D,R){var N=P.split(""),q={hiLevel:b};return R||(R=[]),w(N,R,q),function(I,z,M){if(M.hiLevel!==0&&d)for(var F,H=0;H<I.length;H++)z[H]===1&&(F=y.indexOf(I[H]))>=0&&(I[H]=y[F+1])}(N,R,q),S(2,N,D,R,q),S(1,N,D,R,q),N.join("")};return this.__bidiEngine__.doBidiReorder=function(P,D,R){if(function(q,I){if(I)for(var z=0;z<q.length;z++)I[z]=z;c===void 0&&(c=E(q)),u===void 0&&(u=E(q))}(P,D),o||!l||u)if(o&&l&&c^u)b=c?1:0,P=A(P,D,R);else if(!o&&l&&u)b=c?1:0,P=k(P,D,R),P=A(P,D);else if(!o||c||l||u){if(o&&!l&&c^u)P=A(P,D),c?(b=0,P=k(P,D,R)):(b=1,P=k(P,D,R),P=A(P,D));else if(o&&c&&!l&&u)b=1,P=k(P,D,R),P=A(P,D);else if(!o&&!l&&c^u){var N=d;c?(b=1,P=k(P,D,R),b=0,d=!1,P=k(P,D,R),d=N):(b=0,P=k(P,D,R),P=A(P,D),b=1,d=!1,P=k(P,D,R),d=N,P=A(P,D))}}else b=0,P=k(P,D,R);else b=c?1:0,P=k(P,D,R);return P},this.__bidiEngine__.setOptions=function(P){P&&(o=P.isInputVisual,l=P.isOutputVisual,c=P.isInputRtl,u=P.isOutputRtl,d=P.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 s=r.options||{};r.mutex,s.lang;var o=[];if(s.isInputVisual=typeof s.isInputVisual!="boolean"||s.isInputVisual,n.setOptions(s),Object.prototype.toString.call(i)==="[object Array]"){var c=0;for(o=[],c=0;c<i.length;c+=1)Object.prototype.toString.call(i[c])==="[object Array]"?o.push([n.doBidiReorder(i[c][0]),i[c][1],i[c][2]]):o.push([n.doBidiReorder(i[c])]);r.text=o}else r.text=n.doBidiReorder(i);n.setOptions({isInputVisual:!0})}])}(_t),_t.API.TTFFont=function(){function e(t){var n;if(this.rawData=t,n=this.contents=new _u(t),this.contents.pos=4,n.readString(4)==="ttcf")throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new Rbe(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new bbe(this.contents),this.head=new jbe(this),this.name=new Sbe(this),this.cmap=new bV(this),this.toUnicode={},this.hhea=new _be(this),this.maxp=new Dbe(this),this.hmtx=new Abe(this),this.post=new Cbe(this),this.os2=new Nbe(this),this.loca=new Lbe(this),this.glyf=new kbe(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,s;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var o,c,l,u;for(u=[],o=0,c=(l=this.bbox).length;o<c;o++)t=l[o],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=(s=this.familyClass)===1||s===2||s===3||s===4||s===5||s===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,s,o,c;for(o=0,s=0,c=(t=""+t).length;0<=c?s<c:s>c;s=0<=c?++s:--s)i=t.charCodeAt(s),o+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/n)||0;return o*(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 vo,_u=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,s,o,c,l;return t=this.readByte(),n=this.readByte(),r=this.readByte(),i=this.readByte(),s=this.readByte(),o=this.readByte(),c=this.readByte(),l=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^s)+65536*(255^o)+256*(255^c)+(255^l)+1):72057594037927940*t+281474976710656*n+1099511627776*r+4294967296*i+16777216*s+65536*o+256*c+l},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,s;for(s=[],r=0,i=t.length;r<i;r++)n=t[r],s.push(this.writeByte(n));return s},e}(),bbe=function(){var e;function t(n){var r,i,s;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,s=this.tableCount;0<=s?i<s:i>s;i=0<=s?++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,s,o,c,l,u,d,p,h,f,v,m;for(m in f=Object.keys(n).length,l=Math.log(2),p=16*Math.floor(Math.log(f)/l),o=Math.floor(p/l),d=16*f-p,(i=new _u).writeInt(this.scalarType),i.writeShort(f),i.writeShort(p),i.writeShort(o),i.writeShort(d),s=16*f,u=i.pos+s,c=null,v=[],n)for(h=n[m],i.writeString(m),i.writeInt(e(h)),i.writeInt(u),i.writeInt(h.length),v=v.concat(h),m==="head"&&(c=u),u+=h.length;u%4;)v.push(0),u++;return i.write(v),r=2981146554-e(i.data),i.pos=c+8,i.writeUInt32(r),i.data},e=function(n){var r,i,s,o;for(n=wV.call(n);n.length%4;)n.push(0);for(s=new _u(n),i=0,r=0,o=n.length;r<o;r=r+=4)i+=s.readUInt32();return 4294967295&i},t}(),wbe={}.hasOwnProperty,ec=function(e,t){for(var n in t)wbe.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};vo=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 jbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var n;return(n=new _u).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(t),n.writeShort(this.glyphDataFormat),n.data},e}(),FL=function(){function e(t,n){var r,i,s,o,c,l,u,d,p,h,f,v,m,y,g,x,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),p=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(l=0;l<256;++l)this.codeMap[l]=t.readByte();break;case 4:for(f=t.readUInt16(),h=f/2,t.pos+=6,s=function(){var _,E;for(E=[],l=_=0;0<=h?_<h:_>h;l=0<=h?++_:--_)E.push(t.readUInt16());return E}(),t.pos+=2,m=function(){var _,E;for(E=[],l=_=0;0<=h?_<h:_>h;l=0<=h?++_:--_)E.push(t.readUInt16());return E}(),u=function(){var _,E;for(E=[],l=_=0;0<=h?_<h:_>h;l=0<=h?++_:--_)E.push(t.readUInt16());return E}(),d=function(){var _,E;for(E=[],l=_=0;0<=h?_<h:_>h;l=0<=h?++_:--_)E.push(t.readUInt16());return E}(),i=(this.length-t.pos+this.offset)/2,c=function(){var _,E;for(E=[],l=_=0;0<=i?_<i:_>i;l=0<=i?++_:--_)E.push(t.readUInt16());return E}(),l=g=0,b=s.length;g<b;l=++g)for(y=s[l],r=x=v=m[l];v<=y?x<=y:x>=y;r=v<=y?++x:--x)d[l]===0?o=r+u[l]:(o=c[d[l]/2+(r-v)-(h-l)]||0)!==0&&(o+=u[l]),this.codeMap[r]=65535&o}t.pos=p}return e.encode=function(t,n){var r,i,s,o,c,l,u,d,p,h,f,v,m,y,g,x,b,_,E,T,A,w,S,k,P,D,R,N,q,I,z,M,F,H,V,O,$,K,Y,ee,re,ae,le,ge,ke,de;switch(N=new _u,o=Object.keys(t).sort(function(we,W){return we-W}),n){case"macroman":for(m=0,y=function(){var we=[];for(v=0;v<256;++v)we.push(0);return we}(),x={0:0},s={},q=0,F=o.length;q<F;q++)x[le=t[i=o[q]]]==null&&(x[le]=++m),s[i]={old:t[i],new:x[t[i]]},y[i]=x[t[i]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(y),{charMap:s,subtable:N.data,maxGlyphID:m+1};case"unicode":for(D=[],p=[],b=0,x={},r={},g=u=null,I=0,H=o.length;I<H;I++)x[E=t[i=o[I]]]==null&&(x[E]=++b),r[i]={old:E,new:x[E]},c=x[E]-i,g!=null&&c===u||(g&&p.push(g),D.push(i),u=c),g=i;for(g&&p.push(g),p.push(65535),D.push(65535),k=2*(S=D.length),w=2*Math.pow(Math.log(S)/Math.LN2,2),h=Math.log(w/2)/Math.LN2,A=2*S-w,l=[],T=[],f=[],v=z=0,V=D.length;z<V;v=++z){if(P=D[v],d=p[v],P===65535){l.push(0),T.push(0);break}if(P-(R=r[P].new)>=32768)for(l.push(0),T.push(2*(f.length+S-v)),i=M=P;P<=d?M<=d:M>=d;i=P<=d?++M:--M)f.push(r[i].new);else l.push(R-P),T.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*S+2*f.length),N.writeUInt16(0),N.writeUInt16(k),N.writeUInt16(w),N.writeUInt16(h),N.writeUInt16(A),re=0,O=p.length;re<O;re++)i=p[re],N.writeUInt16(i);for(N.writeUInt16(0),ae=0,$=D.length;ae<$;ae++)i=D[ae],N.writeUInt16(i);for(ge=0,K=l.length;ge<K;ge++)c=l[ge],N.writeUInt16(c);for(ke=0,Y=T.length;ke<Y;ke++)_=T[ke],N.writeUInt16(_);for(de=0,ee=f.length;de<ee;de++)m=f[de],N.writeUInt16(m);return{charMap:r,subtable:N.data,maxGlyphID:b+1}}},e}(),bV=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="cmap",e.prototype.parse=function(t){var n,r,i;for(t.pos=this.offset,this.version=t.readUInt16(),i=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=i?r<i:r>i;r=0<=i?++r:--r)n=new FL(t,this.offset),this.tables.push(n),n.isUnicode&&this.unicode==null&&(this.unicode=n);return!0},e.encode=function(t,n){var r,i;return n==null&&(n="macroman"),r=FL.encode(t,n),(i=new _u).writeUInt16(0),i.writeUInt16(1),r.table=i.data.concat(r.subtable),r},e}(),_be=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(),Nbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var n,r;for(r=[],n=0;n<10;++n)r.push(t.readByte());return r}(),this.charRange=function(){var n,r;for(r=[],n=0;n<4;++n)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var n,r;for(r=[],n=0;n<2;n=++n)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(),Cbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="post",e.prototype.parse=function(t){var n,r,i;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var s;for(r=t.readUInt16(),this.glyphNameIndex=[],s=0;0<=r?s<r:s>r;s=0<=r?++s:--s)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],i=[];t.pos<this.offset+this.length;)n=t.readByte(),i.push(this.names.push(t.readString(n)));return i;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 262144:return this.map=(function(){var o,c,l;for(l=[],s=o=0,c=this.file.maxp.numGlyphs;0<=c?o<c:o>c;s=0<=c?++o:--o)l.push(t.readUInt32());return l}).call(this)}},e}(),Ebe=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Sbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="name",e.prototype.parse=function(t){var n,r,i,s,o,c,l,u,d,p,h;for(t.pos=this.offset,t.readShort(),n=t.readShort(),c=t.readShort(),r=[],s=0;0<=n?s<n:s>n;s=0<=n?++s:--s)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+c+t.readShort()});for(l={},s=d=0,p=r.length;d<p;s=++d)i=r[s],t.pos=i.offset,u=t.readString(i.length),o=new Ebe(u,i),l[h=i.nameID]==null&&(l[h]=[]),l[i.nameID].push(o);this.strings=l,this.copyright=l[0],this.fontFamily=l[1],this.fontSubfamily=l[2],this.uniqueSubfamily=l[3],this.fontName=l[4],this.version=l[5];try{this.postscriptName=l[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=l[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=l[7],this.manufacturer=l[8],this.designer=l[9],this.description=l[10],this.vendorUrl=l[11],this.designerUrl=l[12],this.license=l[13],this.licenseUrl=l[14],this.preferredFamily=l[15],this.preferredSubfamily=l[17],this.compatibleFull=l[18],this.sampleText=l[19]},e}(),Dbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(),Abe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="hmtx",e.prototype.parse=function(t){var n,r,i,s,o,c,l;for(t.pos=this.offset,this.metrics=[],n=0,c=this.file.hhea.numberOfMetrics;0<=c?n<c:n>c;n=0<=c?++n:--n)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var u,d;for(d=[],n=u=0;0<=i?u<i:u>i;n=0<=i?++u:--u)d.push(t.readInt16());return d}(),this.widths=(function(){var u,d,p,h;for(h=[],u=0,d=(p=this.metrics).length;u<d;u++)s=p[u],h.push(s.advance);return h}).call(this),r=this.widths[this.widths.length-1],l=[],n=o=0;0<=i?o<i:o>i;n=0<=i?++o:--o)l.push(this.widths.push(r));return l},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(),wV=[].slice,kbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var n,r,i,s,o,c,l,u,d,p;return t in this.cache?this.cache[t]:(s=this.file.loca,n=this.file.contents,r=s.indexOf(t),(i=s.lengthOf(t))===0?this.cache[t]=null:(n.pos=this.offset+r,o=(c=new _u(n.read(i))).readShort(),u=c.readShort(),p=c.readShort(),l=c.readShort(),d=c.readShort(),this.cache[t]=o===-1?new Pbe(c,u,p,l,d):new Tbe(c,o,u,p,l,d),this.cache[t]))},e.prototype.encode=function(t,n,r){var i,s,o,c,l;for(o=[],s=[],c=0,l=n.length;c<l;c++)i=t[n[c]],s.push(o.length),i&&(o=o.concat(i.encode(r)));return s.push(o.length),{table:o,offsets:s}},e}(),Tbe=function(){function e(t,n,r,i,s,o){this.raw=t,this.numberOfContours=n,this.xMin=r,this.yMin=i,this.xMax=s,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Pbe=function(){function e(t,n,r,i,s){var o,c;for(this.raw=t,this.xMin=n,this.yMin=r,this.xMax=i,this.yMax=s,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;c=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&c;)o.pos+=1&c?4:2,128&c?o.pos+=8:64&c?o.pos+=4:8&c&&(o.pos+=2)}return e.prototype.encode=function(){var t,n,r;for(n=new _u(wV.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)n.pos=this.glyphOffsets[t];return n.data},e}(),Lbe=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return ec(e,vo),e.prototype.tag="loca",e.prototype.parse=function(t){var n,r;return t.pos=this.offset,n=this.file.head.indexToLocFormat,this.offsets=n===0?(function(){var i,s;for(s=[],r=0,i=this.length;r<i;r+=2)s.push(2*t.readUInt16());return s}).call(this):(function(){var i,s;for(s=[],r=0,i=this.length;r<i;r+=4)s.push(t.readUInt32());return s}).call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]}
1119,e.prototype.encode=function(t,n){for(var r=new Uint32Array(this.offsets.length),i=0,s=0,o=0;o<r.length;++o)if(r[o]=i,s<n.length&&n[s]==o){++s,r[o]=i;var c=this.offsets[o],l=this.offsets[o+1]-c;l>0&&(i+=l)}for(var u=new Array(4*r.length),d=0;d<r.length;++d)u[4*d+3]=255&r[d],u[4*d+2]=(65280&r[d])>>8,u[4*d+1]=(16711680&r[d])>>16,u[4*d]=(4278190080&r[d])>>24;return u},e}(),Rbe=function(){function e(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var t,n,r,i,s;for(n in i=this.font.cmap.tables[0].codeMap,t={},s=this.subset)r=s[n],t[n]=i[r];return t},e.prototype.glyphsFor=function(t){var n,r,i,s,o,c,l;for(i={},o=0,c=t.length;o<c;o++)i[s=t[o]]=this.font.glyf.glyphFor(s);for(s in n=[],i)(r=i[s])!=null&&r.compound&&n.push.apply(n,r.glyphIDs);if(n.length>0)for(s in l=this.glyphsFor(n))r=l[s],i[s]=r;return i},e.prototype.encode=function(t,n){var r,i,s,o,c,l,u,d,p,h,f,v,m,y,g;for(i in r=bV.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(t),f={0:0},g=r.charMap)f[(l=g[i]).old]=l.new;for(v in h=r.maxGlyphID,o)v in f||(f[v]=h++);return d=function(x){var b,_;for(b in _={},x)_[x[b]]=b;return _}(f),p=Object.keys(d).sort(function(x,b){return x-b}),m=function(){var x,b,_;for(_=[],x=0,b=p.length;x<b;x++)c=p[x],_.push(d[c]);return _}(),s=this.font.glyf.encode(o,m,f),u=this.font.loca.encode(s.offsets,m),y={cmap:this.font.cmap.raw(),glyf:s.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&&(y["OS/2"]=this.font.os2.raw()),this.font.directory.encode(y)},e}();_t.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,s,o;if(Array.isArray(n))return"["+function(){var c,l,u;for(u=[],c=0,l=n.length;c<l;c++)r=n[c],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 s=["<<"],n)o=n[i],s.push("/"+i+" "+t.convert(o));return s.push(">>"),s.join(` 1120`)}return""+n},t}();function q_(e){const t=e.replace("#","");return[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)]}const Obe={en:{summary:"Professional Summary",experience:"Professional Experience",skills:"Skills",education:"Education",certifications:"Certifications",languages:"Languages"},es:{summary:"Perfil Profesional",experience:"Experiencia Profesional",skills:"Habilidades",education:"Educación",certifications:"Certificaciones",languages:"Idiomas"}};function jV(e,t){var R;const n=new _t({unit:"mm",format:"a4"}),r=210,i=297,s=18,o=16,c=16,l=r-2*s;let u=o;const d=q_(Hf.primary),p=q_(Hf.primaryDark),h=q_(Hf.primaryTint),f=[26,26,26],v=[102,102,102],m=[85,85,85],y=N=>n.setTextColor(N[0],N[1],N[2]),g=N=>n.setFillColor(N[0],N[1],N[2]),x=N=>n.setDrawColor(N[0],N[1],N[2]),b=N=>{u+N>i-c&&(n.addPage(),u=o)},_=Obe[t],E=N=>N.replace(" [sugerida]",""),T=N=>{b(10),n.setFont("helvetica","bold"),n.setFontSize(8.5),y(p),n.text(N.toUpperCase(),s,u),x(d),n.setLineWidth(.4),u+=1.5,n.line(s,u,s+l,u),u+=4.5};n.setFont("helvetica","bold"),n.setFontSize(22),y(p),n.text(e.name,s,u),u+=7.5,n.setFont("helvetica","italic"),n.setFontSize(11),y(m),n.text(e.headline,s,u),u+=5.5,n.setFont("helvetica","normal"),n.setFontSize(9),y(v),n.text(`${e.contact.email} . ${e.contact.phone} . ${e.contact.location} . ${e.contact.linkedin}`,s,u),u+=8,T(_.summary),n.setFont("helvetica","normal"),n.setFontSize(9.5),y(f),n.splitTextToSize(e.summary,l).forEach(N=>{b(5),n.text(N,s,u),u+=4.2}),u+=3.5,T(_.experience),e.experience.forEach(N=>{b(14),n.setFont("helvetica","bold"),n.setFontSize(10),y(f),n.text(N.title,s,u);const q=n.getTextWidth(N.title);n.setFont("helvetica","italic"),n.text(`, ${N.company}`,s+q,u),n.setFont("helvetica","normal"),n.setFontSize(9),y(v);const I=n.getTextWidth(N.dates);n.text(N.dates,r-s-I,u),u+=5,n.setFontSize(9.5),N.bullets.forEac
1120h(z=>{n.splitTextToSize(z,l-4.5).forEach((F,H)=>{b(5),H===0&&(y(d),n.setFont("helvetica","bold"),n.text("-",s,u)),n.setFont("helvetica","normal"),y(f),n.text(F,s+4.5,u),u+=4.2})}),u+=3}),T(_.skills),n.setFont("helvetica","normal"),n.setFontSize(8.5);const A=5,w=2.5,S=1.8,k=1.8;let P=s;e.skills.forEach(N=>{const q=E(N),z=n.getTextWidth(q)+2*w;P+z>s+l&&(P=s,u+=A+k),b(A+2),g(h),x(d),n.setLineWidth(.15),n.roundedRect(P,u-3.4,z,A,1.5,1.5,"FD"),y(p),n.text(q,P+w,u),P+=z+S}),u+=A+3,T(_.education),e.education.forEach(N=>{b(6),n.setFont("helvetica","bold"),n.setFontSize(9.5),y(f),n.text(N.degree,s,u);const q=n.getTextWidth(N.degree);n.setFont("helvetica","italic"),n.text(`, ${N.institution}`,s+q,u),n.setFont("helvetica","normal"),n.setFontSize(9),y(v);const I=n.getTextWidth(N.years);n.text(N.years,r-s-I,u),u+=5}),u+=2,(R=e.certifications)!=null&&R.length&&(T(_.certifications),n.setFont("helvetica","normal"),n.setFontSize(9.5),y(f),e.certifications.forEach(N=>{b(5),n.text(N,s,u),u+=4.5}),u+=2),T(_.languages),n.setFontSize(9.5);let D=s;
1120return e.languages.forEach(N=>{const q=`${N.language}: ${N.level}${N.cefr?` (${N.cefr})`:""}`,I=n.getTextWidth(q);D+I>s+l&&(D=s,u+=5,b(5)),n.setFont("helvetica","bold"),y(f);const z=`${N.language}:`;n.text(z,D,u);const M=n.getTextWidth(z);n.setFont("helvetica","normal"),n.text(` ${N.level}${N.cefr?` (${N.cefr})`:""}`,D+M,u),D+=I+7}),n.output("blob")}function Ibe(e){const t=jV(e.cvData,e.language),n=URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.download=`CV_${e.cvData.name.replace(/\s+/g,"_")}.pdf`,r.click(),URL.revokeObjectURL(n)}function Ube({records:e,onView:t,onDelete:n}){return e.length===0?a.jsxs("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-16 text-center",children:[a.jsx(vh,{className:"mx-auto h-12 w-12 text-muted-foreground/60"}),a.jsx("p",{className:"mt-4 font-medium text-foreground",children:"Aún no hay CVs creados"}),a.jsx("p",{className:"mx-auto mt-1 max-w-sm text-sm text-muted-foreground",children:'Ve a "Crear CV", sube tu CV y la versión optimizada aparecerá aquà automáticamente.'})]}):a.jsx("div",{className:"space-y-3",children:e.map(r=>a.jsxs("div",{className:"flex flex-col gap-3 rounded-xl border border-border/80 bg-card p-4 shadow-sm transition-shadow hover:shadow-md sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:a.jsx(br,{className:"h-5 w-5"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:r.cvData.name||r.targetRole}),a.jsxs("p",{className:"text-sm text-muted-foreground",children:[r.targetRole," · ",r.language==="en"?"Inglés":"Español"]}),a.jsxs("p",{className:"mt-0.5 flex items-center gap-1 text-xs text-muted-foreground",children:[a.jsx(cp,{className:"h-3 w-3"}),new Date(r.createdAt).toLocaleDateString("es-ES")]})]})]}),a.jsxs("div",{className:"flex shrink-0 gap-2",children:[a.jsxs(Ce,{variant:"outline",size:"sm",className:"gap-1",onClick:()=>t(r),children:[a.jsx(Ic,{className:"h-4 w-4"}),"Ver / Editar"]}),a.jsxs(Ce,{variant:"outline",size:"sm",className:"gap-1",onClick:()=>Ibe(r),children:[a.jsx(Oc,{className:"h-4 w-4"}),"PDF"]}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>n(r.id),children:a.jsx(ay,{className:"h-4 w-4"})})]})]},r.id))})}const Fbe=["personal","summary","experience","projects","skills","certifications","education","languages"],Mbe={personal:"Datos personales",summary:"Perfil profesional",experience:"Experiencia",projects:"Proyectos",skills:"Habilidades",certifications:"Certificaciones",education:"Educación",languages:"Idiomas"};function qbe(e){const t=typeof e.optimized_content=="object"&&e.optimized_content!==null?e.optimized_content:{},n=typeof t.sections=="object"&&t.sections!==null?t.sections:{},r=Fbe.flatMap(s=>{const o=n[s];return typeof o=="string"&&o.trim()?[{key:s,label:Mbe[s],content:o.trim()}]:[]}),i=typeof t.configApplied=="object"&&t.configApplied!==null?t.configApplied:{};return{id:e.id,originalFilename:e.original_filename,createdAt:e.created_at,fileNameSigned:e.file_name_signed??void 0,targetPosition:typeof i.targetPosition=="str
1120ing"?i.targetPosition:void 0,sections:r,feedback:Array.isArray(t.feedback)?t.feedback.map(s=>String(s)):[]}}async function Bbe(){const{data:{user:e}}=await Ye.auth.getUser();if(!e)return[];const{data:t,error:n}=await Ye.from("cv_optimizations").select("id, original_filename, created_at, file_name_signed, optimized_content").eq("user_id",e.id).order("created_at",{ascending:!1});if(n)throw n;return t.map(qbe)}async function zbe(e){const{data:t,error:n}=await Ye.functions.invoke("get-cv-download-url",{body:{fileName:e}});if(n)throw new Error(`Error al generar enlace: ${n.message}`);const r=await fetch(t.downloadUrl);if(!r.ok)throw new Error(`Error al descargar: ${r.status}`);const i=await r.blob(),s=window.URL.createObjectURL(i),o=document.createElement("a");o.href=s,o.download=`CV_Original_${new Date().toISOString().split("T")[0]}.pdf`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(s)}function $be({records:e}){const{toast:t}=ar(),[n,r]=j.useState(new Set),[i,s]=j.useState(null),o=l=>{r(u=>{const d=new Set(u);return d.has(l)?d.delete(l):d.add(l),d})},c=async l=>{if(!l.fileNameSigned){t({title:"Sin archivo original",description:"Este registro no tiene un PDF original disponible.",variant:"destructive"});return}s(l.id);try{await zbe(l.fileNameSigned)}catch{t({title:"Error al descargar",description:"No se pudo descargar el CV original. Inténtalo de nuevo.",variant:"destructive"})}finally{s(null)}};return e.length===0?a.jsxs("div",{className:"rounded-xl border border-dashed border-border bg-muted/20 py-16 text-center",children:[a.jsx(xh,{className:"mx-auto h-12 w-12 text-muted-foreground/60"}),a.jsx("p",{className:"mt-4 font-medium text-foreground",children:"No hay CVs en el historial anterior"})]}):a.jsx("div",{className:"space-y-3",children:e.map(l=>{const u=n.has(l.id);return a.jsxs("div",{className:"overflow-hidden rounded-xl border border-border/80 bg-card shadow-sm",children:[a.jsxs("div",{className:"flex flex-col gap-3 p-4 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:l.originalFilename}),a.jsxs("p",{className:"mt-0.5 flex items-center gap-1 text-xs text-muted-foreground",children:[a.jsx(cp,{className:"h-3 w-3"}),new Date(l.createdAt).toLocaleDateString("es-ES"),l.targetPosition?` · ${l.targetPosition}`:""]})]}),a.jsxs("div",{className:"flex shrink-0 gap-2",children:[a.jsx(Ce,{variant:"outline",size:"sm",className:"gap-1",onClick:()=>o(l.id),children:u?a.jsxs(a.Fragment,{children:[a.jsx(Zs,{className:"h-4 w-4"}),"Ocultar"]}):a.jsxs(a.Fragment,{children:[a.jsx(ny,{className:"h-4 w-4"}),"Ver"]})}),l.fileNameSigned&&a.jsxs(Ce,{variant:"outline",size:"sm",className:"gap-1",disabled:i===l.id,onClick:()=>c(l),children:[a.jsx(Oc,{className:"h-4 w-4"}),i===l.id?"...":"Original"]})]})]}),u&&a.jsxs("div",{className:"space-y-4 border-t border-border/80 bg-muted/20 p-5",children:[l.sections.length===0&&l.feedback.length===0&&a.jsx("p",{className:"text-sm text-muted-foreground",children:"Este registro no tiene contenido legible."}),l.sections.map(d=>a.jsxs("div",{children:[a.jsx("p",{className:"mb-1 text-xs font-semibold uppercase tracking-wide text-primary",children:d.label}),a.jsx("p",{className:"whitespace-pre-wrap text-sm text-foreground",children:d.content})]},d.key)),l.feedback.length>0&&a.jsxs("div",{children:[a.jsx("p",{className:"mb-1 text-xs font-semibold uppercase tracking-wide text-primary",children:"Recomendaciones"}),a.jsx("ul",{className:"list-disc space-y-1 pl-5 text-sm text-foreground",children:l.feedback.map((d,p)=>a.jsx("li",{children:d},p))})]})]})]},l.id)})})}function _V(e){if(typeof e!="object"||e===null)return!1;const t=e;return typeof t.name=="string"&&typeof t.headline=="string"&&typeof t.summary=="string"&&typeof t.contact=="object"&&t.contact!==null&&Array.isArray(t.experience)&&Array.isArray(t.skills)&&Array.isArray(t.education)&&Array.isArray(t.languages)}function NV(e){const t=e.contact??{};return{name:String(e.name??""),headline:String(e.headline??""),contact:{email:String(t.email??""),phone:String(t.phone??""),location:String(t.location??""),linkedin:String(t.linkedin??"")},summary:String(e.summary??""),experience:Array.isArray(e.experience)?e.experience.map(n=>{const r=n;return{title:String(r.title??""),company:String(r.company??""),dates:String(r.dates??""),bullets:Array.isArray(r.bullets)?r.bullets.map(i=>String(i)):[]}}):[],skills:Array.isArray(e.skills)?e.skills.map(n=>String(n)):[],education:Array.isArray(e.education)?e.education.map(n=>{const r=n;return{degree:String(r.degree??""),institution:String(r.institution??""),years:String(r.years??"")}}):[],certifications:Array.isArray(e.certifications)?e.certifications.map(n=>String(n)):[],languages:Array.isArray(e.languages)?e.languages.map(n=>{const r=n;return{language:String(r.language??""),level:String(r.level??""),cefr:r.cefr?String(r.cefr):void 0}}):[]}}class Wbe{async generateStructuredCv(t){const{data:n,error:r}
1120=await Ye.functions.invoke("cv-builder-claude",{body:{action:"generate",targetRole:t.targetRole,outputLanguage:t.outputLanguage,pdfBase64:t.pdfBase64,plainTextContent:t.plainTextContent,originalFilename:t.originalFilename,jobContext:t.jobContext}});if(r)throw new Error(r.message);return this.parseAiResponse(n)}async translateStructuredCv(t){const{data:n,error:r}=await Ye.functions.invoke("cv-builder-claude",{body:{action:"translate",cvData:t.cvData,targetLanguage:t.targetLanguage}});if(r)throw new Error(r.message);return this.parseAiResponse(n)}parseAiResponse(t){if(!t||"error"in t)throw new Error((t==null?void 0:t.error)??"No se recibió respuesta del servidor de CV Builder");return _V(t.cvData)?{cvData:t.cvData,language:t.language}:{cvData:NV(t.cvData),language:t.language}}}const ML=new Wbe;function qL(e){const t=typeof e.cv_data=="object"&&e.cv_data!==null?e.cv_data:{},n=_V(t)?t:NV(t);return{id:e.id,targetRole:e.target_role,language:e.language,originalFilename:e.original_filename,cvData:n,createdAt:e.created_at}}class Vbe{async save(t,n,r,i,s){const{data:o,error:c}=await Ye.from("generated_cvs").insert({user_id:t,cv_data:n,target_role:r,language:i,original_filename:s}).select().single();if(c)throw c;return qL(o)}async listByUserId(t){const{data:n,error:r}=await Ye.from("generated_cvs").select("*").eq("user_id",t).order("created_at",{ascending:!1});if(r)throw r;return n.map(qL)}async deleteById(t,n){const{error:r}=await Ye.from("generated_cvs").delete().eq("id",t).eq("user_id",n);if(r)throw r}}const B_=new Vbe;function Hbe(e,t){var i;const n=t==="en"?{summary:"PROFESSIONAL SUMMARY",experience:"PROFESSIONAL EXPERIENCE",skills:"SKILLS",education:"EDUCATION",certifications:"CERTIFICATIONS",languages:"LANGUAGES"}:{summary:"PERFIL PROFESIONAL",experience:"EXPERIENCIA PROFESIONAL",skills:"HABILIDADES",education:"EDUCACIÃN",certifications:"CERTIFICACIONES",languages:"IDIOMAS"};let r="";return r+=`${e.name} 1121${e.headline} 1122`,r+=`${e.contact.email} | ${e.contact.phone} | ${e.contact.location} | ${e.contact.linkedin} 1123 1124`,r+=`${n.summary} 1125${e.summary} 1126 1127`,r+=`${n.experience} 1128`,e.experience.forEach(s=>{r+=`${s.title}, ${s.company} â ${s.dates} 1129`,s.bullets.forEach(o=>{r+=`â ${o} 1130`}),r+=` 1131`}),r+=`${n.skills} 1132${e.skills.join(" | ")} 1133 1134`,r+=`${n.education} 1135`,e.education.forEach(s=>{r+=`${s.degree}, ${s.institution} â ${s.years} 1136`}),(i=e.certifications)!=null&&i.length&&(r+=` 1137${n.certifications} 1138${e.certifications.join(` 1139`)} 1140`),r+=` 1141${n.languages}
1142`,e.languages.forEach(s=>{r+=`${s.language}: ${s.level}${s.cefr?` (${s.cefr})`:""} 1143`}),r}function Gbe(e,t,n){const r=t.split("."),i=structuredClone(e);let s=i;for(let l=0;l<r.length-1;l++){const u=r[l],d=u.match(/^(\w+)\[(\d+)\]$/);if(d){const p=d[1],h=Number(d[2]),f=s[p];if(!Array.isArray(f))return e;s=f[h];continue}s=s[u]}const o=r[r.length-1],c=o.match(/^(\w+)\[(\d+)\]$/);if(c){const l=c[1],u=Number(c[2]),d=s[l];Array.isArray(d)&&(d[u]=n)}else s[o]=n;return i}function Xbe(){const{toast:e}=ar(),{trackFeatureUsage:t}=I4(),[n,r]=j.useState("upload"),[i,s]=j.useState(null),[o,c]=j.useState(""),[l,u]=j.useState(),[d,p]=j.useState(),[h,f]=j.useState(""),[v,m]=j.useState("es"),[y,g]=j.useState(""),[x,b]=j.useState(null),[_,E]=j.useState(null),[T,A]=j.useState(!1),[w,S]=j.useState(!1),[k,P]=j.useState([]),[D,R]=j.useState(null),[N,q]=j.useState(""),I=j.useCallback(ae=>{ae&&URL.revokeObjectURL(ae)},[]);j.useEffect(()=>{(async()=>{const{data:{user:le}}=await Ye.auth.getUser();if(le){s(le.id);try{const ge=await B_.listByUserId(le.id);P(ge)}catch{}}})()},[]),j.useEffect(()=>()=>I(_),[_,I]);const z=async ae=>{q("");try{const le=await Lz(ae);c(le.originalFilename),u(le.pdfBase64),p(le.plainTextContent),r("role")}catch(le){const ge=le instanceof Error?le.message:"No se pudo leer el archivo";q(ge),e({title:Dr.toast.invalidFileTitle,description:ge,variant:"destructive"})}},M=async()=>{if(!h.trim()||h.trim().length<3){e({title:Dr.toast.roleRequiredTitle,description:Dr.toast.roleRequiredDescription,variant:"destructive"});return}r("generating"),q("");try{const ae=await ML.generateStructuredCv({targetRole:h.trim(),outputLanguage:v,pdfBase64:l,plainTextContent:d,originalFilename:o,jobContext:y.trim()||void 0});
1143if(b(ae.cvData),m(ae.language),I(_),E(null),r("result"),t("cv_boost"),i)try{const le=await B_.save(i,ae.cvData,h.trim(),ae.language,o||null);R(le.id),P(ge=>[le,...ge])}catch{}e({title:Dr.toast.generatedTitle,description:Dr.toast.generatedDescription})}catch(ae){const le=ae instanceof Error?ae.message:"No se pudo generar el CV. Intenta de nuevo.";q(le),r("error"),e({title:Dr.toast.generateErrorTitle,description:le,variant:"destructive"})}},F=async()=>{if(!x)return;const ae=v==="es"?"en":"es";A(!0),q("");try{const le=await ML.translateStructuredCv({cvData:x,targetLanguage:ae});b(le.cvData),m(le.language),I(_),E(null),e({title:Dr.toast.translatedTitle,description:Dr.toast.translatedDescription(ae)})}catch(le){const ge=le instanceof Error?le.message:"No se pudo traducir el CV.";e({title:Dr.toast.translateErrorTitle,description:ge||Dr.toast.translateErrorDescription,variant:"destructive"})}finally{A(!1)}},H=(ae,le)=>{x&&(b(ge=>Gbe(ge,ae,le)),I(_),E(null))},V=ae=>{if(!x)return;const le=ae.split(/[·|,]/).map(ge=>ge.trim()).filter(Boolean);b({...x,skills:le}),I(_),E(null)},O=async()=>{if(!x)return null;S(!0);try{const ae=jV(x,v);I(_);const le=URL.createObjectURL(ae);return E(le),ae}finally{S(!1)}};return{currentStep:n,targetRole:h,setTargetRole:f,outputLanguage:v,setOutputLanguage:m,jobContext:y,setJobContext:g,structuredCvData:x,pdfPreviewUrl:_,isTranslating:T,isGeneratingPdf:w,savedCvRecords:k,errorMessage:N,originalFilename:o,handleFileSelected:z,generateStructuredCv:M,translateStructuredCv:F,updateCvField:H,updateSkillsList:V,buildPdfPreview:O,downloadPdf:async()=>{if(!x)return;const ae=_?await fetch(_).then(ge=>ge.blob()):await O();if(!ae)return;const le=document.createElement("a");le.href=URL.createObjectURL(ae),le.download=`CV_${x.name.replace(/\s+/g,"_")}.pdf`,le.click(),URL.revokeObjectURL(le.href),e({title:Dr.toast.downloadedTitle,description:Dr.toast.downloadedDescription})},copyPlainText:async()=>{if(!x)return;const ae=Hbe(x,v);await navigator.clipboard.writeText(ae),e({title:Dr.toast.copiedTitle,description:Dr.toast.copiedDescription})},loadSavedRecord:ae=>{I(_),E(null),b(ae.cvData),f(ae.targetRole),m(ae.language),c(ae.originalFilename??""),R(ae.id),q(""),r("result")},deleteSavedRecord:async ae=>{if(i)try{await B_.deleteById(ae,i),P(le=>le.filter(ge=>ge.id!==ae)),D===ae&&R(null),e({title:Dr.toast.deletedTitle,description:Dr.toast.deletedDescription})}catch{e({title:Dr.toast.deleteErrorTitle,description:Dr.toast.deleteErrorDescription,variant:"destructive"})}},resetBuilder:()=>{I(_),E(null),b(null),c(""),u(void 0),p(void 0),f(""),m("es"),g(""),R(null),q(""),r("upload")},setCurrentStep:r}}const Kbe={header:{title:"CV Boost",subtitle:"Tu CV, más fuerte â con IA y total confidencialidad"},tabs:{optimize:"Crear CV",builder:"Nueva versión",templates:"Plantillas",history:"Historial",legacy:"Historial anterior"},result:{title:"Tu CV está listo para brillar",description:"Copia las secciones, descarga el original o revisa cada punto de mejora.",newCvButton:"Crear otro CV"},history:{title:"Tu biblioteca de CVs",description:"Abre cualquier CV creado para verlo, editarlo o descargarlo de nuevo."},legacyHistory:{title:"Historial anterior",description:"CVs optimizados con la versión anterior de la herramienta. Solo lectura: puedes revisarlos y descargar el original."},templates:{title:"Plantillas de CV",description:"Elige una plantilla y edÃtala directamente en Canva. Toca el ojo para ver la vista previa."}},Ybe=["create","templates","history","legacy"];function Qbe(){const e=Kbe,t=Xbe(),[n]=a4(),r=n.get("tab"),[i,s]=j.useState(r&&Ybe.includes(r)?r:"create"),[o,c]=j.useState([]);j.useEffect(()=>{(async()=>{try{const h=await Bbe();c(h)}catch{}})()},[]);const l=o.length>0,u=l?"grid-cols-4 sm:min-w-[480px]":"grid-cols-3 sm:min-w-[360px]",d=p=>{t.loadSavedRecord(p),s("create")};return a.jsxs(g2,{value:i,onValueChange:s,className:"space-y-6",children:[a.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-xl font-semibold text-foreground sm:text-2xl",children:e.header.title}),a.jsx("p",{className:"mt-0.5 text-sm text-muted-foreground",children:e.header.subtitle})]}),a.jsxs(gy,{className:`grid h-10 w-full rounded-lg bg-muted/60 p-1 sm:w-auto ${u}
1143`,children:[a.jsxs(Js,{value:"create",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(ry,{className:"h-3.5 w-3.5"}),e.tabs.optimize]}),a.jsxs(Js,{value:"templates",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(br,{className:"h-3.5 w-3.5"}),e.tabs.templates]}),a.jsxs(Js,{value:"history",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(vh,{className:"h-3.5 w-3.5"}),e.tabs.history]}),l&&a.jsxs(Js,{value:"legacy",className:"gap-1.5 rounded-md text-sm",children:[a.jsx(xh,{className:"h-3.5 w-3.5"}),e.tabs.legacy]})]})]}),a.jsx(eo,{value:"create",className:"mt-0 pt-2",children:a.jsx(Lge,{builder:t})}),a.jsx(eo,{value:"templates",className:"space-y-6 pt-2",children:a.jsxs(nt,{className:"overflow-hidden border-border/80 shadow-sm",children:[a.jsxs(kt,{className:"border-b border-border/80 bg-muted/20",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg",children:[a.jsx(br,{className:"h-5 w-5 text-primary"}),e.templates.title]}),a.jsx(Wt,{children:e.templates.description})]}),a.jsx(it,{className:"pt-6",children:a.jsx(pW,{})})]})}),a.jsx(eo,{value:"history",className:"space-y-6 pt-2",children:a.jsxs(nt,{className:"overflow-hidden border-border/80 shadow-sm",children:[a.jsxs(kt,{className:"border-b border-border/80 bg-muted/20",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg",children:[a.jsx(vh,{className:"h-5 w-5 text-primary"}),e.history.title]}),a.jsx(Wt,{children:e.history.description})]}),a.jsx(it,{className:"pt-6",children:a.jsx(Ube,{records:t.savedCvRecords,onView:d,onDelete:t.deleteSavedRecord})})]})}),l&&a.jsx(eo,{value:"legacy",className:"space-y-6 pt-2",children:a.jsxs(nt,{className:"overflow-hidden border-border/80 shadow-sm",children:[a.jsxs(kt,{className:"border-b border-border/80 bg-muted/20",children:[a.jsxs(Tt,{className:"flex items-center gap-2 text-lg",children:[a.jsx(xh,{className:"h-5 w-5 text-primary"}),e.legacyHistory.title]}),a.jsx(Wt,{children:e.legacyHistory.description})]}),a.jsx(it,{className:"pt-6",children:a.jsx($be,{records:o})})]})})]})}const Zbe=()=>{const[e,t]=j.useState([{id:"1",last4:"4242",brand:"Visa",expMonth:12,expYear:2026,isDefault:!0},{id:"2",last4:"1234",brand:"Mastercard",expMonth:8,expYear:2025,isDefault:!1}]),[n,r]=j.useState(!1),i=c=>{c.preventDefault(),Kt.success("Tarjeta agregada exitosamente"),r(!1)},s=c=>{t(e.filter(l=>l.id!==c)),Kt.success("Tarjeta eliminada")},o=c=>{t(e.map(l=>({...l,isDefault:l.id===c}))),Kt.success("Tarjeta predeterminada actualizada")};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground mb-2",children:"Métodos de pago"}),a.jsx("p",{className:"text-muted-foreground",children:"Gestiona tus tarjetas de crédito y débito para servicios adicionales"})]}),a.jsxs(nt,{children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(Xn,{className:"w-5 h-5 text-green-500"}),"Suscripción activa"]}),a.jsx(Wt,{children:"Tu plan actual y próximo cobro"})]}),a.jsx(it,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("div",{className:"font-semibold text-lg",children:"Plan Premium"}),a.jsx("div",{className:"text-sm text-muted-foreground",children:"Próximo cobro: 15 de Febrero, 2024"}),a.jsx("div",{className:"text-sm text-muted-foreground"})]}),a.jsx(Ln,{variant:"secondary",className:"bg-green-100 text-green-800",children:"Activa"})]})})]}),a.jsxs(nt,{children:[a.jsx(kt,{children:a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx(Tt,{children:"Tarjetas guardadas"}),a.jsx(Wt,{children:"Administra tus métodos de pago para servicios adicionales"})]}),a.jsxs(Go,{open:n,onOpenChange:r,children:[a.jsx(M0,{asChild:!0,children:a.jsxs(Ce,{children:[a.jsx(ry,{className:"w-4 h-4 mr-2"}),"Agregar tarjeta"]})}),a.jsxs(so,{children:[a.jsxs(Xo,{children:[a.jsx(oo,{children:"Agregar nueva tarjeta"}),a.jsx(xx,{children:"Ingresa los datos de tu tarjeta de forma segura"})]}),a.jsxs("form",{onSubmit:i,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"newCardNumber",children:"Número de tarjeta"}),a.jsx(Lt,{id:"newCardNumber",placeholder:"1234 1234 1234 1234",maxLength:19,required:!0})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"newExpiry",children:"Fecha de vencimiento"}),a.jsx(Lt,{id:"newExpiry",placeholder:"MM/AA",maxLength:5,required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"newCvc",children:"CVC"}),a.jsx(Lt,{id:"newCvc",placeholder:"123",maxLength:4,required:!0})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"newName",children:"Nombre en la tarjeta"}),a.jsx(Lt,{id:"newName",placeholder:"Nombre completo",required:!0})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[a.jsx(mu,{className:"w-4 h-4"}),"Tus datos están protegidos con encriptación SSL"]}),a.jsxs("div",{className:"flex gap-2 pt-4",children:[a.jsx(Ce,{type:"submit",className:"flex-1",children:"Agregar tarjeta"}),a.jsx(Ce,{type:"button",variant:"outline",onClick:()=>r(!1),children:"Cancelar"})]})]})]})]})]})}),a.jsx(it,{children:a.jsx("div",{className:"space-y-4",children:e.map(c=>a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(Ld,{className:"w-8 h-8 text-muted-foreground"}),a.jsxs("div",{children:[a.jsxs("div",{className:"font-medium",children:[c.brand," â¢â¢â¢â¢ ",c.last4,c.isDefault&&a.jsx(Ln,{variant:"secondary",className:"ml-2",children:"Predeterminada"})]}),a.jsxs("div",{className:"text-sm text-muted-foreground flex items-center gap-1",children:[a.jsx(cp,{className:"w-3 h-3"}),"Vence ",c.expMonth.toString().padStart(2,"0"),"/",c.expYear]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[!c.isDefault&&a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>o(c.id),children:"Hacer predeterminada"}),a.jsx(Ce,{variant:"outline",size:"sm",onClick:()=>s(c.id),className:"text-destructive hover:text-destructive",children:a.jsx(ay,{className:"w-4 h-4"})})]})]},c.id))})})]}),a.jsxs(nt,{children:[a.jsxs(kt,{children:[a.jsx(Tt,{children:"Historial de facturación"}),a.jsx(Wt,{children:"Revisa tus pagos y descargas facturas"})]}),a.jsx(it,{children:a.jsx("div",{className:"space-y-3",children:[{date:"15 Ene 2024",amount:"$49.00",status:"Pagado",invoice:"INV-001"},{date:"15 Dic 2023",amount:"$49.00",status:"Pagado",invoice:"INV-002"},{date:"05 Dic 2023",amount:"$35.00",status:"Pagado",invoice:"INV-003",description:"Entrevista con Career Coach"}].map((c,l)=>a.jsxs("div",{className:"flex items-center justify-between py-3 border-b last:border-b-0",children:[a.jsxs("div",{children:[a.jsxs("div",{className:"font-medium",children:[c.amount," USD"]}),a.jsxs("div",{className:"text-sm text-muted-foreground",children:[c.date," ⢠",c.description||"Suscripción mensual"]})]}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx(Ln,{variant:"secondary",className:"bg-green-100 text-green-800",children:c.status}),a.jsx(Ce,{variant:"outline",size:"sm",children:"Descargar"})]})]},l))})})]})]})},Jbe=({onCouponApplied:e,appliedCoupon:t})=>{const[n,r]=j.useState(""),[i,s]=j.useState(!1),o=async()=>{var c;if(!n.trim()){Kt.error("Ingresa un código de cupón");return}s(!0);try{const{data:l,error:u}=await Ye.from("coupons").select("*").eq("code",n.toUpperCase()).eq("is_active",!0).single();if(u||!l){Kt.error("Código de cupón no válido");return}if(l.expires_at&&new Date(l.expires_at)<new Date){Kt.error("Este cupón ha expirado");return}if(l.max_uses&&l.current_uses>=l.max_uses){Kt.error("Este cupón ha alcanzado su lÃmite de uso");return}const{data:d}=await Ye.from("coupon_uses").select("id").eq("coupon_id",l.id).eq("user_id",(c=(await Ye.auth.getUser()).data.user)==null?void 0:c.id).single();if(d){Kt.error("Ya has usado este cupón");return}
1143Kt.success("¡Cupón aplicado correctamente!"),e(l),r("")}catch(l){console.error("Error validating coupon:",l),Kt.error("Error al validar el cupón")}finally{s(!1)}};return t?a.jsx(nt,{className:"border-green-200 bg-green-50",children:a.jsx(it,{className:"p-4",children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(ty,{className:"h-5 w-5 text-green-600"}),a.jsx(Ln,{variant:"secondary",className:"bg-green-100 text-green-800",children:t.code})]}),a.jsx("span",{className:"text-sm text-green-700",children:t.discount_type==="free"?"Acceso gratuito aplicado":t.description})]})})}):a.jsxs(nt,{className:"hidden",children:[a.jsxs(kt,{children:[a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(yh,{className:"h-5 w-5"}),"¿Tienes un cupón?"]}),a.jsx(Wt,{children:"Ingresa tu código de cupón para obtener descuentos o acceso gratuito"})]}),a.jsx(it,{children:a.jsxs("div",{className:"flex gap-2",children:[a.jsx(Lt,{placeholder:"Ej: ACADEMY_100",value:n,onChange:c=>r(c.target.value.toUpperCase()),onKeyPress:c=>c.key==="Enter"&&o()}),a.jsx(Ce,{onClick:o,disabled:i,variant:"outline",children:i?"Validando...":"Aplicar"})]})})]})},e0e=({email:e,onVerificationSuccess:t,onBack:n})=>{const[r,i]=j.useState(""),[s,o]=j.useState(!1),[c,l]=j.useState(!1),[u,d]=j.useState(!1),[p,h]=j.useState(0),f=async()=>{l(!0);try{const{data:y,error:g}=await Ye.functions.invoke("send-verification-code",{body:{email:e,type:"trial_interview"}});if(g){Kt.error(`Error al enviar código: ${g.message}`);return}Kt.success("Código de verificación enviado a tu email"),d(!0),h(60);const x=setInterval(()=>{h(b=>b<=1?(clearInterval(x),0):b-1)},1e3)}catch{Kt.error("Error al enviar código de verificación")}finally{l(!1)}},v=async()=>{if(!r.trim()){Kt.error("Por favor ingresa el código de verificación");return}o(!0);try{const{data:y,error:g}=await Ye.functions.invoke("verify-code",{body:{email:e,code:r,type:"trial_interview"}});if(g){Kt.error(`Error al verificar código: ${g.message}`);return}Kt.success("¡Email verificado exitosamente!"),t()}catch{Kt.error("Error al verificar el código")}finally{o(!1)}},m=()=>{p>0||f()};return a.jsxs(nt,{className:"w-full max-w-md mx-auto",children:[a.jsxs(kt,{className:"text-center",children:[a.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(Tr,{className:"w-8 h-8 text-primary"})}),a.jsx(Tt,{className:"text-xl",children:"Verifica tu email"}),a.jsxs(Wt,{children:["Hemos enviado un código de verificación a",a.jsx("br",{}),a.jsx("span",{className:"font-medium text-foreground",children:e})]})]}),a.jsxs(it,{className:"space-y-4",children:[u?a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"verificationCode",children:"Código de verificación"}),a.jsxs("div",{className:"relative",children:[a.jsx(KQ,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Lt,{id:"verificationCode",type:"text",placeholder:"000000",value:r,onChange:y=>i(y.target.value),className:"pl-10 text-center text-lg tracking-widest",maxLength:6})]}),a.jsx("p",{className:"text-xs text-muted-foreground text-center",children:"Ingresa el código de 6 dÃgitos enviado a tu email"})]}),a.jsx(Ce,{onClick:v,disabled:s||!r.trim(),className:"w-full",children:s?a.jsxs(a.Fragment,{children:[a.jsx(qf,{className:"w-4 h-4 mr-2 animate-spin"}),"Verificando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Xn,{className:"w-4 h-4 mr-2"}),"Verificar código"]})}),a.jsx("div",{className:"text-center",children:a.jsx(Ce,{variant:"ghost",onClick:m,disabled:p>0,className:"text-sm",children:p>0?a.jsxs(a.Fragment,{children:[a.jsx(En,{className:"w-4 h-4 mr-2"}),"Reenviar en ",p,"s"]}):a.jsxs(a.Fragment,{children:[a.jsx(qf,{className:"w-4 h-4 mr-2"}),"Reenviar código"]})})})]}):a.jsx(Ce,{onClick:f,disabled:c,className:"w-full",children:c?a.jsxs(a.Fragment,{children:[a.jsx(qf,{className:"w-4 h-4 mr-2 animate-spin"}),"Enviando código..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"}),"Enviar código de verificación"]})}),a.jsx("div",{className:"pt-4 border-t",children:a.jsxs(Ce,{variant:"outline",onClick:n,className:"w-full",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver"]})})]})]})},t0e=({hideTriggerCard:e=!1,externalOpen:t,onOpenChange:n})=>{const r=Xt(),[i,s]=j.useState(!1),[o,c]=j.useState(null),[l,u]=j.useState(!1),[d,p]=j.useState(!1),[h,f]=j.useState("es"),[v,m]=j.useState(!1),[y,g]=j.useState(""),[x,b]=j.useState(null),[_,E]=j.useState(!1),[T,A]=j.useState(!1),[w,S]=j.useState(!1),[k,P]=j.useState("email");j.useEffect(()=>{typeof t=="boolean"&&s(t)},[t]);const D=F=>{s(F),n==null||n(F),F||(E(!1),m(!1),p(!1),b(null),c(null),A(!1),S(!1),P("email"))},R=F=>{var V;const H=(V=F.target.files)==null?void 0:V[0];H&&H.type==="application/pdf"?(c(H),Kt.success("CV cargado exitosamente")):Kt.error("Por favor, sube un archivo PDF")},N=async F=>{A(!0);try{console.log("ð Checking trial limit for email:",F);const{data:H,error:V}=await Ye.functions.invoke("validate-trial-request",{body:{email:F}});return V?(console.error("â Error checking trial limit:",V),!1):H!=null&&H.trial_limit_reached?(console.log("â Trial limit reached"),E(!0),!0):!1}catch(H){return console.error("ð¥ Error checking trial limit:",H),!1}finally{A(!1)}},q=async F=>{F.preventDefault();const H=F.target.email.value;if(!H){Kt.error("Por favor ingresa tu email");return}await N(H)||(g(H),P("verification"))},I=async()=>{P("form")},z=async F=>{F.preventDefault(),u(!0);try{console.log("ð Starting trial interview submission...");const H=new FormData(F.target);H.append("email",y),H.append("cv",o),H.append("language",h),console.log("ð¡ Calling trial interview function...");const{data:V,error:O}=await Ye.functions.invoke("trial-interview-request",{body:H});if(console.log("ð¦ Response received:",{data:V,error:O}),O){console.error("â Supabase error:",O),Kt.error(`Error: ${O.message||"Error al enviar la solicitud"}`);return}if(V!=null&&V.trial_limit_reached){console.log("â Trial limit reached"),E(!0);return}
1143console.log("â
Request successful"),p(!0),Kt.success("¡Solicitud enviada! La entrevista IA llegará a tu email.")}catch(H){console.error("ð¥ Catch error:",H),Kt.error(`Error al enviar la solicitud: ${H instanceof Error?H.message:"Error desconocido"}`)}finally{u(!1)}},M=()=>{p(!1),c(null),f("es"),s(!1),m(!1),b(null),P("email"),n==null||n(!1)};return d?a.jsxs(Go,{open:i,onOpenChange:D,children:[!e&&a.jsx(M0,{asChild:!0,children:a.jsxs("div",{className:"rounded-lg border bg-card text-card-foreground shadow-sm cursor-pointer hover:shadow-lg transition-all duration-200 border-primary/20 bg-gradient-to-br from-primary/5 to-secondary/5",children:[a.jsxs("div",{className:"flex flex-col space-y-1.5 p-6 text-center",children:[a.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(xs,{className:"w-8 h-8 text-primary"})}),a.jsx("h3",{className:"font-semibold tracking-tight text-xl",children:"Prueba gratuita de entrevista IA"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Experimenta nuestro simulador de entrevistas con inteligencia artificial"})]}),a.jsxs("div",{className:"p-6 pt-0 text-center",children:[a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(En,{className:"w-4 h-4"}),"15-20 minutos de duración"]}),a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(Tr,{className:"w-4 h-4"}),"Resultados por email"]}),a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(br,{className:"w-4 h-4"}),"Análisis personalizado"]})]}),a.jsx(Ln,{className:"bg-primary/10 text-primary mb-4",children:"100% Gratuito"}),a.jsx(Ce,{className:"w-full",children:"Solicitar entrevista gratuita"})]})]})}),a.jsx(so,{className:"max-w-md",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("div",{className:"w-16 h-16 bg-green-100 dark:bg-green-900/20 rounded-full flex items-center justify-center mx-auto",children:a.jsx(Tr,{className:"w-8 h-8 text-green-600 dark:text-green-400"})}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("h3",{className:"text-xl font-semibold",children:"¡Solicitud enviada!"}),a.jsx("p",{className:"text-muted-foreground",children:"Tu entrevista IA personalizada será enviada a tu email en las próximas 24-48 horas."})]}),a.jsx(Ce,{onClick:M,className:"w-full",children:"Cerrar"})]})})]}):a.jsxs(Go,{open:i,onOpenChange:D,children:[!e&&a.jsx(M0,{asChild:!0,children:a.jsxs("div",{className:"rounded-lg border bg-card text-card-foreground shadow-sm cursor-pointer hover:shadow-lg transition-all duration-200 border-primary/20 bg-gradient-to-br from-primary/5 to-secondary/5",children:[a.jsxs("div",{className:"flex flex-col space-y-1.5 p-6 text-center",children:[a.jsx("div",{className:"w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4",children:a.jsx(xs,{className:"w-8 h-8 text-primary"})}),a.jsx("h3",{className:"font-semibold tracking-tight text-xl",children:"Prueba gratuita de entrevista IA"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Experimenta nuestro simulador de entrevistas con inteligencia artificial"})]}),a.jsxs("div",{className:"p-6 pt-0 text-center",children:[a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(En,{className:"w-4 h-4"}),"15-20 minutos de duración"]}),a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(Tr,{className:"w-4 h-4"}),"Resultados por email"]}),a.jsxs("div",{className:"flex items-center justify-center gap-2 text-sm text-muted-foreground",children:[a.jsx(br,{className:"w-4 h-4"}),"Análisis personalizado"]})]}),a.jsx(Ln,{className:"bg-primary/10 text-primary mb-4",children:"100% Gratuito"}),a.jsx(Ce,{className:"w-full",children:"Solicitar entrevista gratuita"})]})]})}),a.jsx(so,{className:"max-w-2xl max-h-[90vh]",children:_?a.jsxs("div",{className:"text-center space-y-4 py-4 overflow-hidden",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"p-4 rounded-full bg-gradient-to-br from-amber-100 to-orange-100 dar
1143k:from-amber-900/30 dark:to-orange-900/30",children:a.jsx(Zr,{className:"h-12 w-12 text-amber-600 dark:text-amber-400"})})}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("h3",{className:"text-2xl font-bold text-foreground",children:"¡Ya solicitaste tu entrevista gratuita!"}),a.jsx("p",{className:"text-base text-muted-foreground",children:"Solo puedes solicitar una entrevista gratuita por email"})]})]}),a.jsxs("div",{className:"p-4 bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 rounded-lg border border-blue-200 dark:border-blue-800",children:[a.jsx("div",{className:"flex items-center justify-center mb-2",children:a.jsx("div",{className:"p-2 rounded-full bg-blue-100 dark:bg-blue-900/30",children:a.jsx(Tr,{className:"h-4 w-4 text-blue-600 dark:text-blue-400"})})}),a.jsx("h4",{className:"text-base font-semibold text-blue-900 dark:text-blue-100 mb-1",children:"Tu entrevista está en proceso"}),a.jsx("p",{className:"text-sm text-blue-700 dark:text-blue-300 mb-2",children:"Recibirás tu entrevista personalizada por email en las próximas 24-48 horas"}),a.jsxs("div",{className:"flex items-center justify-center gap-1 text-xs text-blue-600 dark:text-blue-400",children:[a.jsx(En,{className:"w-3 h-3"}),a.jsx("span",{children:"Procesamiento: 24-48 horas"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2",children:[a.jsx(zk,{className:"h-5 w-5 text-yellow-600 dark:text-yellow-400"}),a.jsx("h4",{className:"text-lg font-semibold text-foreground",children:"¿Quieres más entrevistas?"})]}),a.jsxs("div",{className:"p-3 bg-gradient-to-r from-purple-50 to-pink-50 dark:from-purple-900/20 dark:to-pink-900/20 rounded-lg border border-purple-200 dark:border-purple-800",children:[a.jsx("p",{className:"text-xs text-purple-700 dark:text-purple-300 mb-2",children:"Con una membresÃa puedes realizar múltiples entrevistas personalizadas"}),a.jsxs("ul",{className:"text-xs text-purple-600 dark:text-purple-400 space-y-0.5",children:[a.jsx("li",{children:"⢠Entrevistas ilimitadas"}),a.jsx("li",{children:"⢠Feedback detallado"}),a.jsx("li",{children:"⢠Análisis personalizado"}),a.jsx("li",{children:"⢠Mejora continua"})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs(Ce,{onClick:()=>{D(!1),r("/login")},className:"w-full bg-gradient-to-r from-primary to-primary/80 hover:from-primary/90 hover:to-primary/70",size:"default",children:[a.jsx(zk,{className:"w-4 h-4 mr-2"}),"Iniciar Sesión para Adquirir MembresÃa",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]}),a.jsx(Ce,{onClick:()=>D(!1),variant:"outline",className:"w-full",size:"default",children:"Entendido"})]})]}):k==="verification"?a.jsx(e0e,{email:y,onVerificationSuccess:I,onBack:()=>P("email")}):k==="form"?a.jsxs("div",{className:"overflow-y-auto max-h-[80vh]",children:[a.jsxs(Xo,{children:[a.jsxs(oo,{className:"flex items-center gap-2",children:[a.jsx(xs,{className:"w-5 h-5 text-primary"}),"Completa los datos de tu entrevista"]}),a.jsx(xx,{children:"Ahora completa la información para recibir tu entrevista personalizada por email"})]}),a.jsxs("form",{onSubmit:z,className:"space-y-6",children:[a.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"firstName",children:"Nombre *"}),a.jsx(Lt,{id:"firstName",name:"firstName",placeholder:"Tu nombre",required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"lastName",children:"Apellido *"}),a.jsx(Lt,{id:"lastName",name:"lastName",placeholder:"Tu apellido",required:!0})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"whatsapp",children:"WhatsApp *"}),a.jsx(Lt,{id:"whatsapp",name:"whatsapp",type:"tel",placeholder:"+52 55 1234 5678",required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"jobTitle",children:"Puesto de trabajo *"}),a.jsx(Lt,{id:"jobTitle",name:"jobTitle",placeholder:"Ej: Desarrollador Frontend",required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"jobDescription",children:"Descripción del puesto *"}),a.jsx(Hi,{id:"jobDescription",name:"jobDescription",placeholder:"Describe las responsabilidades y requisitos del puesto...",className:"min-h-[100px]",required:!0})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"language",children:"Idioma de la entrevista *"}),a.jsxs(fD,{value:h,onValueChange:f,children:[a.jsx(uw,{children:a.jsx(hD,{})}),a.jsxs(dw,{children:[a.jsx(Qd,{value:"es",children:"Español"}),a.jsx(Qd,{value:"en",children:"English"})]})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"cv",children:"Subir CV (PDF) *"}),a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx(Lt,{id:"cv",type:"file",accept:".pdf",onChange:R,className:"flex-1",required:!0}),o&&a.jsxs(Ln,{variant:"secondary",className:"flex items-center gap-1",children:[a.jsx(br,{className:"w-3 h-3"}),"CV cargado"]})]})]}),a.jsxs("div",{className:"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg",children:[a.jsx("h4",{className:"font-medium mb-2",children:"¿Qué incluye tu entrevista gratuita?"}),a.jsxs("ul",{className:"text-sm space-y-1",children:[a.jsx("li",{children:"⢠Preguntas personalizadas según tu CV y el puesto"}),a.jsx("li",{children:"⢠Feedback detallado sobre tus respuestas"}),a.jsx("li",{children:"⢠Sugerencias de mejora profesional"}),a.jsx("li",{children:"⢠Resultados por email en 24-48 horas"})]})]}),a.jsxs("div",{className:"flex gap-3",children:[a.jsx(Ce,{onClick:()=>P("verification"),variant:"outline",className:"flex-1",children:"Volver"}),a.jsx(Ce,{type:"submit",className:"flex-1",disabled:l||!o,children:l?a.jsxs(a.Fragment,{children:[a.jsx(En,{className:"w-4 h-4 mr-2 animate-spin"}),"Enviando solicitud..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"}),"Enviar solicitud"]})})]})]})]}):a.jsxs("div",{className:"overflow-y-auto max-h-[80vh]",children:[a.jsxs(Xo,{children:[a.jsxs(oo,{className:"flex items-center gap-2",children:[a.jsx(xs,{className:"w-5 h-5 text-primary"}),"Solicitud de entrevista IA gratuita"]}),a.jsx(xx,{children:"Ingresa tu email para comenzar con tu entrevista personalizada"})]}),a.jsxs("form",{onSubmit:q,className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"email",children:"Email *"}),a.jsx(Lt,{id:"email",name:"email",type:"email",placeholder:"[email protected]",required:!0}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"Recibirás la entrevista IA y los resultados en este email"})]}),a.jsxs("div",{className:"p-4 bg-blue-50 dark:bg-blue-900/20 rounded-lg",children:[a.jsx("h4",{className:"font-medium mb-2",children:"¿Qué incluye tu entrevista gratuita?"}),a.jsxs("ul",{className:"text-sm space-y-1",children:[a.jsx("li",{children:"⢠Preguntas personalizadas según tu CV y el puesto"}),a.jsx("li",{children:"⢠Feedback detallado sobre tus respuestas"}),a.jsx("li",{children:"⢠Sugerencias de mejora profesional"}),a.jsx("li",{children:"⢠Resultados por email en 24-48 horas"})]})]}),a.jsx("div",{className:"flex gap-3",children:a.jsx(Ce,{type:"submit",className:"flex-1",disabled:T,children:T?a.jsxs(a.Fragment,{children:[a.jsx(En,{className:"w-4 h-4 mr-2 animate-spin"}),"Verificando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"}),"Continuar con mi email"]})})})]})]})})]})},n0e=()=>{const e=Xt(),{user:t,checkApplyAccess:n,signOut:r}=Vr(),[i,s]=j.useState("premium-6"),[o,c]=j.useState(!1),[l,u]=j.useState(null),[d,p]=j.useState(!1),[h,f]=j.useState(null),[v,m]=j.useState(!1),[y,g]=j.useState(!1),[x,b]=j.useState(null);j.useEffect(()=>{(async()=>
1143{if(!t)return;const D=(await Ye.from("profiles").select("trial_interview_used, source").eq("user_id",t.id).single()).data,R=!!(D!=null&&D.trial_interview_used);g(R),b((D==null?void 0:D.source)||null)})()},[t]);const _=async()=>{if(!t)return!1;try{p(!0);const{canAccess:k,applyRejected:P}=await n(t);return P?(e("/application-rejected"),!0):k?(console.log("â
Access granted! Redirecting to dashboard..."),Kt.success("Redirigiendo al dashboard..."),h&&(clearInterval(h),f(null)),setTimeout(()=>{e("/dashboard")},2e3),!0):!1}catch(k){return console.error("Error checking payment status:",k),!1}finally{p(!1)}},E=()=>{console.log("ð Starting payment status check..."),_();const k=setInterval(async()=>{await _()&&clearInterval(k)},3e3);f(k),setTimeout(()=>{k&&(clearInterval(k),f(null),console.log("â° Payment check timeout - user should check manually"))},3e5)};j.useEffect(()=>()=>{h&&clearInterval(h)},[h]);const T=[{id:"trial",name:"Entrevista IA de prueba",price:0,originalPrice:0,description:"Prueba gratuita del simulador de entrevistas con IA",features:["Resultados por email","Análisis personalizado","Duración 15-20 minutos"],popular:!1,months:0},{id:"premium-6",name:"Emplicity Premium",price:75,originalPrice:149,description:"Programa completo de empleabilidad por 6 meses",features:["Acceso completo a todas las herramientas por 6 meses","Sesiones grupales cada 2 semanas","Templates profesionales","Actualizaciones gratuitas","Soporte prioritario","Comunidad exclusiva","30 minutos gratis con tu Career Coach"],popular:!0,months:6},{id:"premium-12",name:"Emplicity Gold",price:100,originalPrice:400,description:"Programa completo de empleabilidad por 12 meses",features:["Acceso completo a todas las herramientas por 12 meses","Sesiones grupales cada 2 semanas","Templates profesionales","Actualizaciones gratuitas","Soporte prioritario","Comunidad exclusiva","30 minutos gratis con tu Career Coach"],popular:!1,months:12}],A=async k=>{var P,D;if(k.preventDefault(),i==="trial"){if(y){Kt.error("Ya usaste tu entrevista de prueba gratuita");return}m(!0);return}c(!0);try{if(l&&l.discount_type==="free"){const{data:N}=await Ye.auth.getUser();N.user&&(await Ye.from("coupon_uses").insert({coupon_id:l.id,user_id:N.user.id}),await Ye.from("coupons").update({current_uses:l.current_uses+1}).eq("id",l.id),await Ye.from("profiles").update({subscription_status:"active",subscription_plan:"premium"}).eq("user_id",N.user.id)),Kt.success("¡Acceso gratuito activado!"),e("/dashboard");return}if(!T.find(N=>N.id===i)){Kt.error("Plan no válido seleccionado");return}
1143console.log("ð Calling create-checkout-session with:",{user_id:t==null?void 0:t.id,email:t==null?void 0:t.email,full_name:((P=t==null?void 0:t.user_metadata)==null?void 0:P.full_name)||(t==null?void 0:t.email),success_url:`${window.location.origin}/dashboard`,cancel_url:`${window.location.origin}/payment`,membership_type:i==="premium-6"?"6months":"12months"});try{const N=await Ye.functions.invoke("create-checkout-session",{body:{user_id:t==null?void 0:t.id,email:t==null?void 0:t.email,full_name:((D=t==null?void 0:t.user_metadata)==null?void 0:D.full_name)||(t==null?void 0:t.email),success_url:`${window.location.origin}/dashboard`,cancel_url:`${window.location.origin}/payment`,membership_type:i==="premium-6"?"6months":"12months"}});console.log("ð¡ Full response from create-checkout-session:",N),console.log("ð¡ Response data:",N.data),console.log("ð¡ Response error:",N.error);const{data:q,error:I}=N;if(I){console.error("â Error creating checkout session:",I),Kt.error(`Error al crear la sesión de pago: ${I.message||"Error desconocido"}`);return}if(!q){console.error("â No data received from create-checkout-session"),Kt.error("No se recibió respuesta del servidor");return}console.log("â
Data received:",q),console.log("â
Data type:",typeof q),console.log("â
Data keys:",Object.keys(q||{})),q.checkout_url?(console.log("ð Redirecting to:",q.checkout_url),E(),Kt.success("Redirigiendo a Stripe para completar tu pago..."),l&&l.discount_type!=="free"&&Kt.info("ð¡ Puedes ingresar tu código de cupón en la página de pago de Stripe"),window.location.href=q.checkout_url):(console.error("â No checkout_url in response:",q),Kt.error("La respuesta no contiene la URL de checkout"))}catch(N){console.error("â Error invoking function:",N),Kt.error(`Error al invocar la función: ${N.message||"Error desconocido"}`)}}catch(R){console.error("Payment error:",R),Kt.error("Error al procesar el pago")}finally{c(!1)}},w=async()=>{try{await r(),Kt.success("Sesión cerrada exitosamente")}catch{Kt.error("Error al cerrar sesión")}},S=T.find(k=>k.id===i);return a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-primary/5 via-background to-secondary/5 p-4",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-8 relative",children:[a.jsx("div",{className:"absolute left-0 top-0",children:a.jsxs(Ce,{variant:"ghost",onClick:()=>e("/landing"),className:"text-muted-foreground hover:text-foreground",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Regresar"]})}),a.jsx("div",{className:"absolute right-0 top-0",children:a.jsxs(Ce,{variant:"ghost",onClick:w,className:"text-muted-foreground hover:text-foreground",children:[a.jsx(O1,{className:"w-4 h-4 mr-2"}),"Cerrar Sesión"]})}),a.jsx("h1",{className:"text-3xl font-bold text-foreground mb-2",children:"Adquiere tu membresÃa en Emplicity"}),a.jsx("p",{className:"text-muted-foreground",children:"Elige el plan que mejor se adapte a tus necesidades profesionales y comienza tu transformación"})]}),x==="masterclass"&&a.jsx(nt,{className:"mb-8 bg-gradient-to-r from-primary/10 via-secondary/10 to-primary/10 border-2 border-primary/30",children:a.jsx(it,{className:"p-6",children:a.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center",children:a.jsx(yh,{className:"w-6 h-6 text-white"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold text-lg text-foreground",children:"ð ¡Gracias por ver la Masterclass!"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Puedes volver a ver el contenido cuando quieras"})]})]}),a.jsxs(Ce,{onClick:()=>e("/masterclass/video"),className:"bg-gradient-to-r from-primary to-secondary hover:from-primary/90 hover:to-secondary/90 text-white font-bold shadow-lg",children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),"Ver Masterclass"]})]})})}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-8",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Selecciona tu plan"}),T.map(k=>{const P=k.id==="trial",D=P&&y;return a.jsxs(nt,{className:`transition-all duration-200 ${i===k.id?"ring-2 ring-primary border-primary":"hover:border-primary/50"} ${k.popular?"relative":""} ${D?"opacity-60 grayscale":"cursor-pointer"}`,onClick:()=>
1143{if(D){Kt.info("Ya usaste tu entrevista de prueba gratuita");return}s(k.id)},children:[k.popular&&k.id!=="trial"&&a.jsxs("div",{className:"absolute -top-3 left-4 right-4 flex gap-2",children:[a.jsxs(Ln,{className:"bg-primary text-primary-foreground flex-1 text-center",children:[a.jsx(nl,{className:"w-3 h-3 mr-1"}),"Más Popular"]}),k.originalPrice>k.price&&a.jsx(Ln,{className:"bg-gradient-to-r from-orange-500 to-red-500 text-white animate-bounce",children:"OFERTA LIMITADA"})]}),a.jsx(kt,{className:"pb-3",children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsxs(Tt,{className:"text-lg flex items-center gap-2",children:[k.name,P&&!y&&a.jsx(Ln,{className:"bg-green-100 text-green-800",children:"Gratis"}),P&&y&&a.jsx(Ln,{variant:"secondary",className:"bg-muted text-muted-foreground",children:"Usado"})]}),a.jsx(Wt,{className:"text-sm",children:k.description})]}),a.jsx("div",{className:"text-right",children:P?a.jsx("div",{className:"text-2xl font-bold text-green-600",children:"$0"}):l&&l.discount_type==="free"?a.jsx("div",{className:"text-2xl font-bold text-green-600",children:"GRATIS"}):a.jsxs("div",{className:"space-y-1",children:[k.originalPrice>k.price&&a.jsxs("div",{className:"bg-gradient-to-r from-red-500 to-red-600 text-white px-3 py-1 rounded-full text-xs font-bold text-center animate-pulse",children:["¡AHORRA $",(k.originalPrice-k.price).toFixed(2),"!"]}),a.jsxs("div",{className:"flex items-center gap-2",children:[k.originalPrice>k.price&&a.jsxs("div",{className:"text-lg text-muted-foreground line-through",children:["$",k.originalPrice]}),a.jsxs("div",{className:"text-3xl font-bold text-primary",children:["$",k.price]})]}),a.jsx("div",{className:"text-sm text-muted-foreground",children:"USD"}),k.originalPrice>k.price&&a.jsxs("div",{className:"bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-bold text-center",children:[k.id==="premium-6"?"~50%":"75%"," ","DESCUENTO"]})]})})]})}),a.jsx(it,{children:a.jsx("ul",{className:"space-y-2 text-sm mb-4",children:k.features.map((R,N)=>a.jsxs("li",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full"}),R]},N))})})]},k.id)}),i!=="trial"&&a.jsx(Jbe,{onCouponApplied:k=>u(k),appliedCoupon:l})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs(nt,{children:[a.jsxs(kt,{children:[a.jsx(Tt,{children:"Resumen de tu Selección"}),a.jsx(Wt,{children:"Revisa los detalles antes de continuar"})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between",children:[a.jsxs("span",{children:["Plan ",S==null?void 0:S.name]}),a.jsx("span",{children:(S==null?void 0:S.price)===0||l&&l.discount_type==="free"?"$0 USD":`$${S==null?void 0:S.price} USD`})]}),a.jsxs("div",{className:"flex justify-between text-sm text-muted-foreground",children:[a.jsx("span",{children:(S==null?void 0:S.price)===0?"Entrevista IA de prueba":l&&l.discount_type==="free"?"Acceso gratuito con cupón":"Pago único"}),a.jsx("span",{children:(S==null?void 0:S.price)===0?"EnvÃo por email":"Acceso completo"})]})]}),a.jsx("div",{className:"border-t pt-4",children:a.jsxs("div",{className:"flex justify-between font-semibold",children:[a.jsx("span",{children:"Total"}),a.jsx("span",{children:(S==null?void 0:S.price)===0||l&&l.discount_type==="free"?"$0 USD":`$${S==null?void 0:S.price} USD`})]})})]})]}),a.jsxs("div",{className:"space-y-6",children:[i==="trial"?a.jsxs(nt,{children:[a.jsxs(kt,{children:[a.jsx(Tt,{children:"Solicitar Entrevista IA Gratuita"}),a.jsx(Wt,{children:"Abre el formulario para solicitar tu entrevista de prueba"})]}),a.jsx(it,{children:a.jsx(Ce,{className:"w-full",size:"lg",disabled:y,onClick:()=>{if(y){Kt.info("Ya usaste tu entrevista de prueba gratuita");return}m(!0)},children:y?"Ya utilizado":"Abrir formulario de entrevista gratuita"})})]}):a.jsxs(nt,{children:[a.jsxs(kt,{children:[a.jsx(Tt,{children:"Completar tu Compra"}),a.jsx(Wt,{children:"Serás redirigido a Stripe para completar tu pago de forma segura y adquirir tu membresÃa"})]}),a.jsx(it,{children:a.jsx("form",{onSubmit:A,className:"space-y-4",children:a.jsxs("div",{className:"pt-4 space-y-4",children:[d&&a.jsx("div",{className:"p-4 bg-blue-50 border border-blue-200 rounded-lg",children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-blue-600"}),a.jsxs("div",{className:"text-sm text-blue-800",children:["Verificando estado del pago...",h&&" (Verificación automática activa)"]})]})}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[a.jsx(mu,{className:"w-4 h-4"}),"Tus datos están protegidos con encriptación SSL"]}),a.jsx(Ce,{type:"submit",className:"w-full",size:"lg",disabled:o,children:o?"Creando sesión de pago...":`Adquirir MembresÃa - ${(S==null?void 0:S.price)??""} MXN`})]})})})]}),i!=="trial"&&l&&l.discount_type==="free"&&a.jsx(nt,{children:a.jsx(it,{className:"p-6",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("div",{className:"text-lg font-semibold text-green-600",children:"¡Cupón aplicad
1143o! Tienes acceso gratuito"}),a.jsx(Ce,{onClick:()=>A({preventDefault:()=>{}}),className:"w-full",size:"lg",disabled:o,children:o?"Activando...":"Activar acceso gratuito"})]})})})]}),a.jsx(t0e,{externalOpen:v,onOpenChange:m,hideTriggerCard:!0})]})]})]})})};function BL(){var x,b;const[e,t]=j.useState(!1),[n,r]=j.useState(""),[i,s]=j.useState(""),[o,c]=j.useState(!1),[l,u]=j.useState(!1),{toast:d}=ar(),p=Xt(),h=fo(),[f,v]=a4(),m=((b=(x=h.state)==null?void 0:x.from)==null?void 0:b.pathname)||"/dashboard";j.useEffect(()=>{f.get("message")==="password-updated"&&(d({title:"Contraseña actualizada",description:"Inicia sesión con tu nueva contraseña"}),v({},{replace:!0}))},[f,v,d]);const y=()=>{p("/forgot-password")},g=async _=>{_.preventDefault(),c(!0);try{const{error:E}=await Ye.auth.signInWithPassword({email:n,password:i});E?(d({title:"Error al iniciar sesión",description:E.message,variant:"destructive"}),c(!1)):(u(!0),d({title:"¡Bienvenido!",description:"Has iniciado sesión correctamente"}),setTimeout(()=>{window.location.href=m},1500))}catch{d({title:"Error",description:"Ocurrió un error inesperado",variant:"destructive"})}finally{c(!1)}};return l?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-background via-primary/5 to-secondary/10 flex items-center justify-center p-4",children:a.jsxs("div",{className:"w-full max-w-md text-center",children:[a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-16"})}),a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"space-y-4",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-semibold",children:"Autenticando..."}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Preparando tu sesión"})]})]})})})]})}):a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-background via-primary/5 to-secondary/10 flex items-center justify-center p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-16"})}),a.jsx("p",{className:"text-muted-foreground",children:"Inicia sesión para acceder a tu cuenta"})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{className:"space-y-1",children:[a.jsx(Tt,{className:"text-2xl text-center",children:"Iniciar Sesión"}),a.jsx(Wt,{className:"text-center",children:"Ingresa tus credenciales para acceder a tu cuenta"})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("form",{onSubmit:g,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"email",children:"Correo electrónico"}),a.jsxs("div",{className:"relative",children:[a.jsx(Tr,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Lt,{id:"email",type:"email",placeholder:"[email protected]",className:"pl-10",value:n,onChange:_=>r(_.target.value),required:!0})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"password",children:"Contraseña"}),a.jsxs("div",{className:"relative",children:[a.jsx(mu,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Lt,{id:"password",type:e?"text":"password",placeholder:"Tu contraseña",className:"pl-10 pr-10",value:i,onChange:_=>s(_.target.value),required:!0}),a.jsx("button",{type:"button",onClick:()=>t(!e),className:"absolute right-3 top-3 text-muted-foreground hover:text-foreground",children:e?a.jsx(Mf,{className:"h-4 w-4"}):a.jsx(Ic,{className:"h-4 w-4"})})]})]}),a.jsx("div",{className:"flex justify-end",children:a.jsx("button",{type:"button",onClick:y,className:"text-sm text-primary hover:underline",children:"¿Olvidaste tu contraseña?"})}),a.jsxs(Ce,{type:"submit",className:"w-full",variant:"professional",size:"lg",disabled:o,children:[o?"Iniciando sesión...":"Iniciar Sesión",!o&&a.jsx(Gt,{className:"w-4 h-4 ml-2"})]})]}),a.jsxs("div",{className:"text-center text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"¿No tienes cuenta?"})," ",a.jsx("button",{type:"button",onClick:()=>p("/apply"),className:"text-primary hover:underline font-medium",children:"Aplicar ahora"})]}),a.jsx("div",{className:"text-center",children:a.jsx("button",{type:"button",onClick:()=>
1143p("/"),className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"â Volver al inicio"})})]})]}),a.jsxs("div",{className:"text-center mt-6 text-xs text-muted-foreground",children:["Al continuar, aceptas nuestros"," ",a.jsx("a",{href:"#",className:"text-primary hover:underline",children:"Términos de Servicio"})," ","y"," ",a.jsx("a",{href:"#",className:"text-primary hover:underline",children:"PolÃtica de Privacidad"})]})]})})}function r0e(){const[e,t]=j.useState(""),[n,r]=j.useState(!1),[i,s]=j.useState(!1),{toast:o}=ar(),c=Xt(),l=async u=>{if(u.preventDefault(),!e){o({title:"Email requerido",description:"Por favor ingresa tu correo electrónico",variant:"destructive"});return}r(!0);try{const{error:d}=await Ye.auth.resetPasswordForEmail(e,{redirectTo:`${window.location.origin}/reset-password`});d?o({title:"Error",description:d.message,variant:"destructive"}):s(!0)}catch{o({title:"Error",description:"Ocurrió un error inesperado",variant:"destructive"})}finally{r(!1)}};return i?a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-background via-primary/5 to-secondary/10 flex items-center justify-center p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsx("div",{className:"text-center mb-8",children:a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-16"})})}),a.jsx(nt,{className:"shadow-card",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center",children:a.jsx(Xn,{className:"w-8 h-8 text-green-600"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold text-green-800",children:"¡Email Enviado!"}),a.jsxs("p",{className:"text-green-700 mt-2",children:["Hemos enviado un enlace para resetear tu contraseña a"," ",a.jsx("span",{className:"font-medium",children:e})]}),a.jsx("p",{className:"text-muted-foreground text-sm mt-2",children:"Revisa tu bandeja de entrada y tu carpeta de spam."})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Ce,{onClick:()=>c("/login"),className:"w-full",children:"Volver al Login"}),a.jsx(Ce,{variant:"outline",onClick:()=>{s(!1),t("")},className:"w-full",children:"Enviar a otro email"})]})]})})})]})}):a.jsx("div",{className:"min-h-screen bg-gradient-to-br from-background via-primary/5 to-secondary/10 flex items-center justify-center p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-16"})}),a.jsx("p",{className:"text-muted-foreground",children:"Resetea tu contraseña de forma segura"})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsxs(kt,{className:"space-y-1",children:[a.jsx(Tt,{className:"text-2xl text-center",children:"¿Olvidaste tu contraseña?"}),a.jsx(Wt,{className:"text-center",children:"Ingresa tu correo electrónico y te enviaremos un enlace para resetear tu contraseña"})]}),a.jsxs(it,{className:"space-y-4",children:[a.jsxs("form",{onSubmit:l,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"email",children:"Correo electrónico"}),a.jsxs("div",{className:"relative",children:[a.jsx(Tr,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Lt,{id:"email",type:"email",placeholder:"[email protected]",className:"pl-10",value:e,onChange:u=>t(u.target.value),required:!0})]})]}),a.jsxs(Ce,{type:"submit",className:"w-full",variant:"professional",size:"lg",disabled:n,children:[n?"Enviando...":"Enviar enlace de reseteo",!n&&a.jsx(Tr,{className:"w-4 h-4 ml-2"})]})]}),a.jsx("div",{className:"text-center",children:a.jsxs(Ce,{variant:"ghost",onClick:()=>c("/login"),className:"text-sm",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al login"]})})]})]}),a.jsxs("div",{className:"text-center mt-6 text-xs text-muted-foreground",children:["Al continuar, aceptas nuestros"," ",a.jsx("a",{href:"#",className:"text-primary hover:underline",children:"Términos de Servicio"})," ","y"," ",a.jsx("a",{href:"#",className:"text-primary hover:underline",children:"PolÃtica de Privacidad"})]})]})})}function a0e(){const[e,t]=j.useState(""),[n,r]=j.useState(""),[i,s]=j.useState({password:!1,confirm:!1}),[o,c]=j.useState(!1),[l,u]=j.useState(!1),[d,p]=j.useState(!1),[h,f]=j.useState(!0),{toast:v}=ar(),m=Xt();j.useEffect(()=>{const g=async()=>{console.log("checkSession");try{const b=new URLSearchParams(window.location.hash.substring(1)),_=b.get("access_token"),E=b.get("refresh_token"),T=b.get("type");if(_&&E){const{data:A,error:w}=await Ye.auth.setSession({access_token:_,refresh_token:E});w?(console.error("Error setting session:",w),v({title:"Error",description:"El enlace de reset es inválido o ha expirado",variant:"destructive"}),p(!1)):(console.log("Session established from hash:",A),window.history.replaceState(null,"",window.location.pathname),p(!0))}else{const{data:{session:A},error:w}=await Ye.auth.getSession();w?(console.error("Error getting session:",w),p(!1)):A?p(!0):(v({title:"Sesión no válida",description:"Por favor, usa el enlace del email para resetear tu contraseña",variant:"destructive"}),p(!1))}}catch(b){console.error("Error checking session:",b),p(!1)}finally{f(!1)}},{data:{subscription:x}}=Ye.auth.onAuthStateChange((b,_)=>{b==="PASSWORD_RECOVERY"&&(p(!0),f(!1))});return setTimeout(g,100),()=>{x.unsubscribe()}},[v]);const y=async g=>{if(g.preventDefault(),e!==n){v({title:"Error",description:"Las contraseñas no coinciden",variant:"destructive"});return}if(e.length<6){v({title:"Error",description:"La contraseña debe tener al menos 6 caracteres",variant:"destructive"});return}try{c(!0);const{error:x}=await Ye.auth.updateUser({password:e});if(x)throw x;u(!0),v({title:"Contraseña actualizada",description:"Inicia sesión con tu nueva contraseña"}),await Ye.auth.signOut()}catch(x){console.error("Error updating password:",x),v({title:"Error",description:"No se pudo actualizar la contraseña",variant:"destructive"})}finally{c(!1)}};return h?a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:a.jsx(nt,{className:"w-full max-w-md
1143shadow-card",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx(Uc,{}),a.jsx("p",{className:"text-muted-foreground",children:"Verificando enlace de reset..."})]})})})}):d?l?a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:a.jsx(nt,{className:"w-full max-w-md shadow-card",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("div",{className:"mx-auto w-16 h-16 bg-green-100 rounded-full flex items-center justify-center",children:a.jsx(Xn,{className:"w-8 h-8 text-green-600"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold text-green-800",children:"¡Contraseña Actualizada!"}),a.jsx("p",{className:"text-green-700 mt-2",children:"Tu contraseña se ha actualizado correctamente. Inicia sesión con tu nueva contraseña; tu acceso se verificará según tu perfil."})]}),a.jsx(Ce,{onClick:()=>window.location.href="/login?message=password-updated",className:"w-full",children:"Ir a Iniciar sesión"})]})})})}):a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:a.jsxs(nt,{className:"w-full max-w-md
1143shadow-card",children:[a.jsxs(kt,{className:"text-center",children:[a.jsx("div",{className:"mx-auto w-16 h-16 bg-primary/10 rounded-full flex items-center justify-center mb-4",children:a.jsx(mu,{className:"w-8 h-8 text-primary"})}),a.jsx(Tt,{className:"text-2xl",children:"Restablecer Contraseña"}),a.jsx(Wt,{children:"Ingresa tu nueva contraseña para continuar"})]}),a.jsxs(it,{children:[a.jsxs("form",{onSubmit:y,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"password",children:"Nueva Contraseña"}),a.jsxs("div",{className:"relative",children:[a.jsx(Lt,{id:"password",type:i.password?"text":"password",value:e,onChange:g=>t(g.target.value),placeholder:"MÃnimo 6 caracteres",required:!0}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3",onClick:()=>s({...i,password:!i.password}),children:i.password?a.jsx(Mf,{className:"w-4 h-4"}):a.jsx(Ic,{className:"w-4 h-4"})})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(dt,{htmlFor:"confirmPassword",children:"Confirmar Nueva Contraseña"}),a.jsxs("div",{className:"relative",children:[a.jsx(Lt,{id:"confirmPassword",type:i.confirm?"text":"password",value:n,onChange:g=>r(g.target.value),placeholder:"Repite la nueva contraseña",required:!0}),a.jsx(Ce,{type:"button",variant:"ghost",size:"sm",className:"absolute right-0 top-0 h-full px-3",onClick:()=>s({...i,confirm:!i.confirm}),children:i.confirm?a.jsx(Mf,{className:"w-4 h-4"}):a.jsx(Ic,{className:"w-4 h-4"})})]})]}),a.jsx(Ce,{type:"submit",className:"w-full",disabled:o||!e||!n,children:o?a.jsxs(a.Fragment,{children:[a.jsx(Uc,{}),"Actualizando..."]}):a.jsxs(a.Fragment,{children:[a.jsx(mu,{className:"w-4 h-4 mr-2"}),"Actualizar Contraseña"]})})]}),a.jsx("div",{className:"mt-6 text-center",children:a.jsx(Ce,{variant:"ghost",onClick:()=>m("/login"),className:"text-sm",children:"Volver al Login"})})]})]})}):a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-background p-4",children:a.jsx(nt,{className:"w-full max-w-md
1143shadow-card",children:a.jsx(it,{className:"pt-6",children:a.jsxs("div",{className:"text-center space-y-4",children:[a.jsx("div",{className:"mx-auto w-16 h-16 bg-red-100 rounded-full flex items-center justify-center",children:a.jsx(U7,{className:"w-8 h-8 text-red-600"})}),a.jsxs("div",{children:[a.jsx("h2",{className:"text-2xl font-bold text-red-800",children:"Enlace Inválido"}),a.jsx("p",{className:"text-red-700 mt-2",children:"El enlace de reset de contraseña es inválido o ha expirado."}),a.jsx("p",{className:"text-muted-foreground text-sm mt-2",children:"Por favor, solicita un nuevo enlace de reset desde la página de login."})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Ce,{onClick:()=>m("/forgot-password"),className:"w-full",children:"Solicitar nuevo enlace"}),a.jsxs(Ce,{variant:"outline",onClick:()=>m("/login"),className:"w-full",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al Login"]})]})]})})})})}const Pi=({user:e,children:t,redirectTo:n="/login"})=>{const r=fo();return e?a.jsx(a.Fragment,{children:t}):a.jsx($s,{to:n,state:{from:r},replace:!0})},i0e=({user:e,children:t,redirectTo:n="/dashboard"})=>e?a.jsx($s,{to:n,replace:!0}):a.jsx(a.Fragment,{children:t});function s0e(){const e=Xt();return a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx("header",{className:"border-b bg-card/95 backdrop-blur supports-[backdrop-filter]:bg-card/60",children:a.jsxs("div",{className:"container flex h-16 items-center justify-between px-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-8"}),a.jsx("span",{className:"font-semibold text-lg",children:"Emplicity"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs(Ce,{variant:"outline",size:"sm",onClick:()=>e("/"),children:[a.jsx(H7,{className:"w-4 h-4 mr-2"}),"Inicio"]}),a.jsxs(Ce,{variant:"outline",size:"sm",onClick:()=>e(-1),children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver"]})]})]})}),a.jsx("div",{className:"container mx-auto px-4 py-8 max-w-4xl",children:a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h1",{className:"text-3xl font-bold text-foreground mb-4",children:"Términos y Condiciones - Servicios Adicionales"}),a.jsx("p",{className:"text-lg text-muted-foreground",children:"Información importante sobre nuestros servicios de sesiones personalizadas"})]}),a.jsxs(nt,{className:"shadow-card",children:[a.jsx(kt,{children:a.jsxs(Tt,{className:"flex items-center gap-2 text-xl",children:[a.jsx(br,{className:"w-6 h-6 text-primary"}),"Términos y Condiciones de Servicios Adicionales"]})}),a.jsxs(it,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-start gap-4 p-4 bg-blue-50 rounded-lg border border-blue-200",children:[a.jsx("div",{className:"w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center flex-shrink-0",children:a.jsx(En,{className:"w-5 h-5 text-blue-600"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-blue-800 mb-2",children:"Confirmación de Sesión"}),a.jsxs("p",{className:"text-blue-700",children:["Una vez que solicites una sesión, nos pondremos en contacto contigo en un plazo de ",a.jsx("strong",{children:"24 a 48 horas"})," para confirmarla."]})]})]}),a.jsxs("div",{className:"flex items-start gap-4 p-4 bg-green-50 rounded-lg border border-green-200",children:[a.jsx("div",{className:"w-10 h-10 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0",children:a.jsx(Da,{className:"w-5 h-5 text-green-600"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-green-800 mb-2",children:"Preparación para la Sesión"}),a.jsxs("p",{className:"text-green-700",children:["Es importante que llegues con tus"," ",a.jsx("strong",{children:"dudas y objetivos claros"}),", para aprovechar al máximo la sesión."]})]})]}),a.jsxs("div",{className:"flex items-start gap-4 p-4 bg-orange-50 rounded-lg border border-orange-200",children:[a.jsx("div",{className:"w-10 h-10 bg-orange-100 rounded-full flex items-center justify-center flex-shrink-0",children:a.jsx(En,{className:"w-5 h-5 text-orange-600"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-orange-800 mb-2",children:"Puntualidad y Tolerancia"}),a.jsxs("p",{className:"text-orange-700",children:["El dÃa de la cita, la sala virtual permanecerá abierta durante ",a.jsx("strong",{children:"10 minutos de tolerancia"}),". Si no ingresas en ese tiempo, la sesión se dará por"," ",a.jsx("strong",{children:"cancelada sin derecho a reembolso ni reprogramación"}),"."]})]})]}),a.jsxs("div",{className:"flex items-start gap-4 p-4 bg-purple-50 rounded-lg border border-purple-200",children:[a.jsx("div",{className:"w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center flex-shrink-0",children:a.jsx(Y7,{className:"w-5 h-5 text-purple-600"})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-semibold text-purple-800 mb-2",children:"CaracterÃsticas del Servicio"}),a.jsxs("p",{className:"text-purple-700",children:["Los servicios son"," ",a.jsx("strong",{children:"personales e intransferibles"}),"."]})]})]}),a.jsxs("div",{className:"mt-8 p-6 bg-gray-50 rounded-lg border border-gray-200",children:[a.jsxs("h3",{className:"font-semibold text-gray-800 mb
1143-4 flex items-center gap-2",children:[a.jsx(Z7,{className:"w-5 h-5 text-amber-600"}),"Información Importante"]}),a.jsxs("div",{className:"space-y-3 text-sm text-gray-700",children:[a.jsx("p",{children:"⢠Estos términos aplican a todos los servicios adicionales contratados fuera del plan base."}),a.jsx("p",{children:"⢠Las sesiones se realizan a través de plataformas virtuales seguras."}),a.jsx("p",{children:"⢠Cualquier cambio en la programación debe ser comunicado con al menos 24 horas de anticipación."}),a.jsx("p",{children:"⢠Los pagos se procesan al momento de la confirmación de la sesión."})]})]}),a.jsxs("div",{className:"text-center p-6 bg-primary/5 rounded-lg border border-primary/20",children:[a.jsx("h3",{className:"font-semibold text-primary mb-2",children:"¿Tienes dudas sobre estos términos?"}),a.jsx("p",{className:"text-primary/80",children:"Contáctanos a través de nuestro equipo de soporte para aclarar cualquier inquietud."})]})]})]})]})})]})}function o0e(e){const[t,n]=j.useState({}),[r,i]=j.useState(!0),[s,o]=j.useState(null),c=j.useCallback(async()=>{if(!e){i(!1);return}try{i(!0),o(null);const{data:u,error:d}=await Ye.rpc("get_module_lesson_progress",{p_module_id:e});if(console.log("ð Module ID:",e),console.log("ð Progress data from RPC:",u),console.log("ð Progress error:",d),d)throw d;const p=u||[],h={};p.forEach(f=>{console.log("ð Processing progress for lesson:",f.lesson_id,"completed:",f.is_completed),h[f.lesson_id]={lesson_id:f.lesson_id,watched_time:f.watched_time||0,duration:f.duration||0,progress_percentage:f.progress_percentage||0,is_completed:f.is_completed||!1,last_watched_at:f.last_watched_at||""}}),console.log("ð Final progress map:",h),n(h)}catch(u){console.error("Error fetching lesson progress:",u),o(u instanceof Error?u.message:"Error desconocido")}finally{i(!1)}},[e]),l=j.useCallback(async()=>{await c()},[c]);return j.useEffect(()=>{c()},[c]),{lessonProgress:t,loading:r,error:s,refetch:l}}function c0e(){var h,f,v;const{id:e}=KU(),t=Xt(),{module:n,loading:r,error:i,refetch:s}=jfe(e||null),{lessonProgress:o,loading:c}=o0e(e||null);console.log("ð Module data:",n),console.log("ð Lesson progress:",o);const l=n,u=m=>{const y=Math.floor(m/60),g=m%60;return`${y}:${g.toString().padStart(2,"0")}`},d=m=>{const y=m,g=o[y.lesson_id];return console.log("ð Getting status for lesson:",y.lesson_id,"progress:",g),g!=null&&g.is_completed?"Completado":(g==null?void 0:g.progress_percentage)>0?"En progreso":"No iniciado"},p=m=>o[m.lesson_id];return r||c?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsx(nt,{className:"w-full max-w-md",children:a.jsxs(it,{className:"pt-6 text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),a.jsx("p",{children:"Cargando módulo..."})]})})}):i||!l?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsx(nt,{className:"w-full max-w-md",children:a.jsxs(it,{className:"pt-6 text-center",children:[a.jsx("p",{className:"text-destructive mb-4",children:i||"Módulo no encontrado"}),a.jsxs(Ce,{onClick:()=>t("/dashboard"),variant:"outline",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al Dashboard"]})]})})}):a.jsx("div",{className:"min-h-screen bg-gradient-subtle",children:a.jsxs("div",{className:"container mx-auto px-4 py-8 max-w-6xl",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:a.jsxs(Ce,{variant:"ghost",onClick:()=>t("/dashboard/learning"),className:"text-muted-foreground hover:text-foreground transition-colors",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al Dashboard"]})}),a.jsx("div",{className:"bg-card rounded-2xl shadow-elegant p-8 border border-border/50 backdrop-blur-sm",children:a.jsx("div",{className:"flex items-start justify-between",children:a.jsxs("div",{className:"flex-1",children:[a.jsx(Ln,{variant:"outline",className:"mb-4 bg-primary/10 text-primary border-primary/20 hover:bg-primary/15 transition-colors",children:l.course_name||"E-Learning"}),a.jsx("h1",{className:"text-4xl font-bold text-foreground mb-4 leading-tight bg-gradient-primary bg-clip-text text-transparent",children:l.name}),a.jsx("div",{className:"text-lg text-muted-foreground mb-6 prose prose-lg max-w-none prose-headings:text-foreground prose-strong:text-foreground",dangerouslySetInnerHTML:{__html:l.description}}),a.jsxs("div",{className:"flex items-center gap-6 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2 bg-primary/5 px-4 py-2 rounded-full border border-primary/10",children:[a.jsx(En,{className:"w-4 h-4 text-primary"}),a.jsx("span",{className:"font-medium text-foreground",children:l.time_to_complete_display||"N
1143/A"})]}),a.jsxs("div",{className:"flex items-center gap-2 bg-success/5 px-4 py-2 rounded-full border border-success/10",children:[a.jsx(Bd,{className:"w-4 h-4 text-success"}),a.jsxs("span",{className:"font-medium text-foreground",children:[((h=l.lessons)==null?void 0:h.length)||0," lecciones"]})]}),a.jsxs("div",{className:"flex items-center gap-2 bg-emerald-50 px-4 py-2 rounded-full border border-emerald-200",children:[a.jsx(Xn,{className:"w-4 h-4 text-emerald-600"}),a.jsxs("span",{className:"font-medium text-emerald-700",children:[Object.values(o).filter(m=>m.is_completed).length," ","completadas"]})]})]})]})})})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx("h2",{className:"text-2xl font-bold text-foreground",children:"Lecciones del Módulo"}),a.jsxs("div",{className:"text-sm text-muted-foreground",children:[((f=l.lessons)==null?void 0:f.length)||0," lecciones disponibles"]})]}),a.jsx("div",{className:"grid gap-4",children:(v=l==null?void 0:l.lessons)==null?void 0:v.map((m,y)=>{var x,b,_,E,T,A,w,S,k,P,D;const g=m;return a.jsx(nt,{className:"hover:shadow-elegant transition-all duration-300 border border-border/50 bg-card/50 backdrop-blur-sm hover:bg-card/80 hover:border-primary/20 group",children:a.jsx(it,{className:"p-6",children:a.jsxs("div",{className:"flex items-start gap-6",children:[a.jsx("div",{className:"flex-shrink-0",children:a.jsx("div",{className:"w-12 h-12 bg-gradient-primary rounded-xl flex items-center justify-center shadow-glow group-hover:shadow-glow group-hover:scale-105 transition-all duration-300",children:a.jsx("span",{className:"text-lg font-bold text-white",children:y+1})})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("div",{className:"flex items-start justify-between mb-3",children:[a.jsx("h3",{className:"text-xl font-bold text-foreground leading-tight group-hover:text-primary transition-colors",children:g.name}),a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("span",{className:`px-3 py-1 rounded-full text-sm font-medium transition-all ${(x=p(g))!=null&&x.is_completed?"bg-emerald-100 text-emerald-700 border border-emerald-200":((b=p(g))==null?void 0:b.progress_percentage)>0?"bg-blue-100 text-blue-700 border border-blue-200":"bg-gray-100 text-gray-600 border border-gray-200"}`,children:d(g)}),((_=p(g))==null?void 0:_.is_completed)&&a.jsx(Xn,{className:"w-5 h-5 text-emerald-600"})]})]}),a.jsx("div",{className:"text-muted-foreground mb-4 prose prose-sm max-w-none line-clamp-3 prose-headings:text-foreground prose-strong:text-foreground",dangerouslySetInnerHTML:{__html:g.description}}),a.jsxs("div",{className:"flex items-center gap-6 text-sm mb-4",children:[a.jsxs("div",{className:"flex items-center gap-2 bg-primary/5 px-3 py-1 rounded-full border border-primary/10",children:[a.jsx(En,{className:"w-4 h-4 text-primary"}),a.jsx("span",{className:"font-medium text-foreground",children:u(g.duration)})]}),g.speaker&&a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("img",{src:g.speaker.photo,alt:g.speaker.names,className:"w-6 h-6 rounded-full border-2 border-card shadow-sm"}),a.jsxs("span",{className:"font-medium text-foreground",children:[g.speaker.names," ",g.speaker.last_names]}),a.jsx("span",{className:"text-muted-foreground",children:"â¢"}),a.jsx("span",{className:"text-muted-foreground",children:g.speaker.position})]})]}),((E=p(g))==null?void 0:E.progress_percentage)>0&&!((T=p(g))!=null&&T.is_completed)&&a.jsxs("div",{className:"mb-4",children:[a.jsxs("div",{className:"flex items-center justify-between text-sm text-muted-foreground mb-2",children:[a.jsx("span",{className:"font-medium",children:"Progreso"}),a.jsxs("span",{className:"font-semibold text-foreground",children:[(A=p(g))==null?void 0:A.progress_percentage,"%"]})]}),a.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2",children:a.jsx("div",{className:"bg-gradient-to-r from-blue-500 to-blue-600 h-2 rounded-full transition-all duration-300",style:{width:`${(w=p(g))==null?void 0:w.progress_percentage}%`}})})]})]}),a.jsx("div",{className:"flex-shrink-0",children:a.jsx(Ce,{variant:(S=p(g))!=null&&S.is_completed?"outline":"default",size:"lg",onClick:()=>t(`/module/${e}/lesson/${g.id}`),className:`min-w-[140px] h-12 transition-all duration-300 ${(k=p(g))!=null&&k.is_completed?"border-emerald-200 text-emerald-700 hover:bg-emerald-50 hover:border-emerald-300":"bg-gradient-primary hover:shadow-glow hover:scale-105 text-white"}`,children:(P=p(g))!=null&&P.is_completed?a.jsxs(a.Fragment,{children:[a.jsx(Xn,{className:"w-5 h-5 mr-2"}),"Completado"]}):a.jsxs(a.Fragment,{children:[a.jsx(pi,{className:"w-5 h-5 mr-2"}),((D=p(g))==null?void 0:D.progress_percentage)>0?"Continuar":"Ver"]})})})]})})},g.id)})})]})]})})}var CV={},EV={},bn={},l0e=function(t,n,r){var i=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");typeof n=="function"&&(r=n,n={}),n=n||{},r=r||function(){},s.type=n.type||"text/javascript",s.charset=n.charset||"utf8",s.async="async"in n?!!n.async:!0,s.src=t,n.attrs&&u0e(s,n.attrs),n.text&&(s.text=""+n.text);var o="onload"in s?zL:d0e;o(s,r),s.onload||zL(s,r),i.appendChild(s)};function u0e(e,t){for(var n in t)e.setAttribute(n,t[n])}function zL(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function d0e(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var p0e=function(t){return f0e(t)&&!h0e(t)};function f0e(e){return!!e&&typeof e=="object"}function h0e(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||x0e(e)}var m0e=typeof Symbol=="function"&&Symbol.for,g0e=m0e?Symbol.for("react.element"):60103;function x0e(e){return e.$$typeof===g0e}function y0e(e){return Array.isArray(e)?[]:{}}function Mx(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Rh(y0e(e),e,t):e}function v0e(e,t,n){return e.concat(t).map(function(r){return Mx(r,n)})}function b0e(e,t){if(!t.customMerge)return Rh;var n=t.customMerge(e);return typeof n=="function"?n:Rh}function w0e(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function $L(e){return Object.keys(e).concat(w0e(e))}function SV(e,t){try{return t in e}catch{return!1}}function j0e(e,t){return SV(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function _0e(e,t,n){var r={};return n.isMergeableObject(e)&&$L(e).forEach(function(i){r[i]=Mx(e[
1143i],n)}),$L(t).forEach(function(i){j0e(e,i)||(SV(e,i)&&n.isMergeableObject(t[i])?r[i]=b0e(i,n)(e[i],t[i],n):r[i]=Mx(t[i],n))}),r}function Rh(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||v0e,n.isMergeableObject=n.isMergeableObject||p0e,n.cloneUnlessOtherwiseSpecified=Mx;var r=Array.isArray(t),i=Array.isArray(e),s=r===i;return s?r?n.arrayMerge(e,t,n):_0e(e,t,n):Mx(t,n)}Rh.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Rh(r,i,n)},{})};var N0e=Rh,DV=N0e;Object.defineProperty(bn,"__esModule",{value:!0});bn.parseStartTime=I0e;bn.parseEndTime=U0e;bn.randomString=F0e;bn.queryString=M0e;bn.getSDK=q0e;bn.getConfig=B0e;bn.omit=z0e;bn.callPlayer=$0e;bn.isMediaStream=W0e;bn.isBlobUrl=V0e;bn.supportsWebKitPresentationMode=H0e;var C0e=AV(l0e),E0e=AV(DV);function AV(e){return e&&e.__esModule?e:{default:e}}function S0e(e,t){return T0e(e)||k0e(e,t)||A0e(e,t)||D0e()}function D0e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 1144In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A0e(e,t){if(e){if(typeof e=="string")return WL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WL(e,t)}}function WL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k0e(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,s=void 0;try{for(var o=e[Symbol.iterator](),c;!(r=(c=o.next()).done)&&(n.push(c.value),!(t&&n.length===t));r=!0);}catch(l){i=!0,s=l}finally{try{!r&&o.return!=null&&o.return()}finally{if(i)throw s}}return n}}function T0e(e){if(Array.isArray(e))return e}var P0e=/[?&#](?:start|t)=([0-9hms]+)/,L0e=/[?&#]end=([0-9hms]+)/,wC=/(\d+)(h|m|s)/g,R0e=/^\d+$/;function kV(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(wC))return O0e(r);if(R0e.test(r))return parseInt(r)}}}function O0e(e){for(var t=0,n=wC.exec(e);n!==null;){var r=n,i=S0e(r,3),s=i[1],o=i[2];o==="h"&&(t+=parseInt(s,10)*60*60),o==="m"&&(t+=parseInt(s,10)*60),o==="s"&&(t+=parseInt(s,10)),n=wC.exec(e)}return t}function I0e(e){return kV(e,P0e)}function U0e(e){return kV(e,L0e)}function F0e(){return Math.random().toString(36).substr(2,5)}function M0e(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")}function z_(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var nf={};function q0e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:C0e.default,s=z_(t);return s&&r(s)?Promise.resolve(s):new Promise(function(o,c){if(nf[e]){nf[e].push({resolve:o,reject:c});return}nf[e]=[{resolve:o,reject:c}];var l=function(p){nf[e].forEach(function(h){return h.resolve(p)})};if(n){var u=window[n];window[n]=function(){u&&u(),l(z_(t))}}i(e,function(d){d?(nf[e].forEach(function(p){return p.reject(d)}),nf[e]=null):n||l(z_(t))})})}function B0e(e,t){return(0,E0e.default)(t.config,e.config)}function z0e(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(var s=(t=[]).concat.apply(t,r),o={},c=Object.keys(e),l=0,u=c;l<u.length;l++){var d=u[l];s.indexOf(d)===-1&&(o[d]=e[d])}return o}function $0e(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c â ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,i=new Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];return(t=this.player)[e].apply(t,i)}function W0e(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function V0e(e){return/^blob:/.test(e)}function H0e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var St={};
1144Object.defineProperty(St,"__esModule",{value:!0});St.canPlay=St.FLV_EXTENSIONS=St.DASH_EXTENSIONS=St.HLS_EXTENSIONS=St.VIDEO_EXTENSIONS=St.AUDIO_EXTENSIONS=St.MATCH_URL_KALTURA=St.MATCH_URL_VIDYARD=St.MATCH_URL_MIXCLOUD=St.MATCH_URL_DAILYMOTION=St.MATCH_URL_TWITCH_CHANNEL=St.MATCH_URL_TWITCH_VIDEO=St.MATCH_URL_WISTIA=St.MATCH_URL_STREAMABLE=St.MATCH_URL_FACEBOOK_WATCH=St.MATCH_URL_FACEBOOK=St.MATCH_URL_VIMEO=St.MATCH_URL_SOUNDCLOUD=St.MATCH_URL_YOUTUBE=void 0;var VL=bn;function G0e(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=X0e(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(u){throw u},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 1145In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,o=!1,c;return{s:function(){n=e[Symbol.iterator]()},n:function(){var u=n.next();return s=u.done,u},e:function(u){o=!0,c=u},f:function(){try{!s&&n.return!=null&&n.return()}finally{if(o)throw c}}}}function X0e(e,t){if(e){if(typeof e=="string")return HL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HL(e,t)}}function HL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var jC=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;St.MATCH_URL_YOUTUBE=jC;var TV=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;St.MATCH_URL_SOUNDCLOUD=TV;var PV=/vimeo\.com\/(?!progressive_redirect).+/;St.MATCH_URL_VIMEO=PV;var LV=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;St.MATCH_URL_FACEBOOK=LV;var RV=/^https?:\/\/fb\.watch\/.+$/;St.MATCH_URL_FACEBOOK_WATCH=RV;var OV=/streamable\.com\/([a-z0-9]+)$/;St.MATCH_URL_STREAMABLE=OV;var IV=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;St.MATCH_URL_WISTIA=IV;var UV=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;St.MATCH_URL_TWITCH_VIDEO=UV;var FV=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;St.MATCH_URL_TWITCH_CHANNEL=FV;var MV=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;St.MATCH_URL_DAILYMOTION=MV;var qV=/mixcloud\.com\/([^/]+\/[^/]+)/;St.MATCH_URL_MIXCLOUD=qV;var BV=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;St.MATCH_URL_VIDYARD=BV;var zV=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;St.MATCH_URL_KALTURA=zV;var SD=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;St.AUDIO_EXTENSIONS=SD;var DD=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;St.VIDEO_EXTENSIONS=DD;var AD=/\.(m3u8)($|\?)/i;St.HLS_EXTENSIONS=AD;var $V=/\.(mpd)($|\?)/i;St.DASH_EXTENSIONS=$V;var WV=/\.(flv)($|\?)/i;St.FLV_EXTENSIONS=WV;var K0e=function e(t){if(t instanceof Array){var n=G0e(t),r;try{for(n.s();!(r=n.n()).done;){var i=r.value;if(typeof i=="string"&&e(i)||e(i.src))return!0}}catch(s){n.e(s)}finally{n.f()}return!1}return(0,VL.isMediaStream)(t)||(0,VL.isBlobUrl)(t)?!0:SD.test(t)||DD.test(t)||AD.test(t)||$V.test(t)||WV.test(t)},Y0e={youtube:function(t){return t instanceof Array?t.every(function(n){return jC.test(n)}):jC.test(t)},soundcloud:function(t){return TV.test(t)&&!SD.test(t)},vimeo:function(t){return PV.test(t)&&!DD.test(t)&&!AD.test(t)},facebook:function(t){return LV.test(t)||RV.test(t)},streamable:function(t){return OV.test(t)},wistia:function(t){return IV.test(t)},twitch:function(t){return UV.test(t)||FV.test(t)},dailymotion:function(t){return MV.test(t)},mixcloud:function(t){return qV.test(t)},vidyard:function(t){return BV.test(t)},kaltura:function(t){return zV.test(t)},file:K0e};St.canPlay=Y0e;var $_={},GL;function Q0e(){return GL||(GL=1,function(e){function t(M){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(H){return typeof H}:t=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},t(M)}
1145Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var M=new WeakMap;return s=function(){return M},M}function o(M){if(M&&M.__esModule)return M;if(M===null||t(M)!=="object"&&typeof M!="function")return{default:M};var F=s();if(F&&F.has(M))return F.get(M);var H={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in M)if(Object.prototype.hasOwnProperty.call(M,O)){var $=V?Object.getOwnPropertyDescriptor(M,O):null;$&&($.get||$.set)?Object.defineProperty(H,O,$):H[O]=M[O]}return H.default=M,F&&F.set(M,H),H}function c(M,F){var H=Object.keys(M);if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(M);F&&(V=V.filter(function(O){return Object.getOwnPropertyDescriptor(M,O).enumerable})),H.push.apply(H,V)}return H}function l(M){for(var F=1;F<arguments.length;F++){var H=arguments[F]!=null?arguments[F]:{};F%2?c(Object(H),!0).forEach(function(V){S(M,V,H[V])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(H)):c(Object(H)).forEach(function(V){Object.defineProperty(M,V,Object.getOwnPropertyDescriptor(H,V))})}return M}function u(M,F){return v(M)||f(M,F)||p(M,F)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 1146In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(M,F){if(M){if(typeof M=="string")return h(M,F);var H=Object.prototype.toString.call(M).slice(8,-1);if(H==="Object"&&M.constructor&&(H=M.constructor.name),H==="Map"||H==="Set")return Array.from(M);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return h(M,F)}}function h(M,F){(F==null||F>M.length)&&(F=M.length);for(var H=0,V=new Array(F);H<F;H++)V[H]=M[H];return V}function f(M,F){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(M)))){var H=[],V=!0,O=!1,$=void 0;try{for(var K=M[Symbol.iterator](),Y;!(V=(Y=K.next()).done)&&(H.push(Y.value),!(F&&H.length===F));V=!0);}catch(ee){O=!0,$=ee}finally{try{!V&&K.return!=null&&K.return()}finally{if(O)throw $}}return H}}function v(M){if(Array.isArray(M))return M}function m(M,F){if(!(M instanceof F))throw new TypeError("Cannot call a class as a function")}function y(M,F){for(var H=0;H<F.length;H++){var V=F[H];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(M,V.key,V)}}function g(M,F,H){return F&&y(M.prototype,F),M}function x(M,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(F&&F.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),F&&b(M,F)}function b(M,F){return b=Object.setPrototypeOf||function(V,O){return V.__proto__=O,V},b(M,F)}function _(M){var F=A();return function(){var V=w(M),O;if(F){var $=w(this).constructor;O=Reflect.construct(V,arguments,$)}else O=V.apply(this,arguments);return E(this,O)}}function E(M,F){return F&&(t(F)==="object"||typeof F=="function")?F:T(M)}function T(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function w(M){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},w(M)}function S(M,F,H){return F in M?Object.defineProperty(M,F,{value:H,enumerable:!0,configurable:!0,writable:!0}):M[F]=H,M}var k="https://www.youtube.com/iframe_api",P="YT",D="onYouTubeIframeAPIReady",R=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,N=/user\/([a-zA-Z0-9_-]+)\/?/,q=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",z=function(M){x(H,M);var F=_(H);function H(){var V;m(this,H);for(var O=arguments.length,$=new Array(O),K=0;K<O;K++)$[K]=arguments[K];return V=F.call.apply(F,[this].concat($)),S(T(V),"callPlayer",r.callPlayer),S(T(V),"parsePlaylist",function(Y){if(Y instanceof Array)return{listType:"playlist",playlist:Y.map(V.getID).join(",")};if(R.test(Y)){var ee=Y.match(R),re=u(ee,2),ae=re[1];return{listType:"playlist",list:ae.replace(/^UC/,"UU")}}if(N.test(Y)){var le=Y.match(N),ge=u(le,2),ke=ge[1];return{listType:"user_uploads",list:ke}}return{}}),S(T(V),"onStateChange",function(Y){var ee=Y.data,re=V.props,ae=re.onPlay,le=re.onPause,ge=re.onBuffer,ke=re.onBufferEnd,de=re.onEnded,we=re.onReady,W=re.loop,X=re.config,pe=X.playerVars,ie=X.onUnstarted,te=window[P].PlayerState,oe=te.UNSTARTED,Ne=te.PLAYING,De=te.PAUSED,ye=te.BUFFERING,ce=te.ENDED,xe=te.CUED;if(ee===oe&&ie(),ee===Ne&&(ae(),ke()),ee===De&&le(),ee===ye&&ge(),ee===ce){var ve=!!V.callPlayer("getPlaylist");W&&!ve&&(pe.start?V.seekTo(pe.start):V.play()),de()}ee===xe&&we()}),S(T(V),"mute",function(){V.callPlayer("mute")}),S(T(V),"unmute",function(){V.callPlayer("unMute")}),S(T(V),"ref",function(Y){V.container=Y}),V}
1146return g(H,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(O){return!O||O instanceof Array||R.test(O)?null:O.match(i.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(O,$){var K=this,Y=this.props,ee=Y.playing,re=Y.muted,ae=Y.playsinline,le=Y.controls,ge=Y.loop,ke=Y.config,de=Y.onError,we=ke.playerVars,W=ke.embedOptions,X=this.getID(O);if($){if(R.test(O)||N.test(O)||O instanceof Array){this.player.loadPlaylist(this.parsePlaylist(O));return}this.player.cueVideoById({videoId:X,startSeconds:(0,r.parseStartTime)(O)||we.start,endSeconds:(0,r.parseEndTime)(O)||we.end});return}(0,r.getSDK)(k,P,D,function(pe){return pe.loaded}).then(function(pe){K.container&&(K.player=new pe.Player(K.container,l({width:"100%",height:"100%",videoId:X,playerVars:l(l({autoplay:ee?1:0,mute:re?1:0,controls:le?1:0,start:(0,r.parseStartTime)(O),end:(0,r.parseEndTime)(O),origin:window.location.origin,playsinline:ae?1:0},K.parsePlaylist(O)),we),events:{onReady:function(){ge&&K.player.setLoop(!0),K.props.onReady()},onPlaybackRateChange:function(te){return K.props.onPlaybackRateChange(te.data)},onStateChange:K.onStateChange,onError:function(te){return de(te.data)}},host:q.test(O)?I:void 0},W)))},de),W.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayerâs callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(O){this.callPlayer("seekTo",O),this.props.playing||this.pause()}},{key:"setVolume",value:function(O){this.callPlayer("setVolume",O*100)}},{key:"setPlaybackRate",value:function(O){this.callPlayer("setPlaybackRate",O)}},{key:"setLoop",value:function(O){this.callPlayer("setLoop",O)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var O=this.props.display,$={width:"100%",height:"100%",display:O};return n.default.createElement("div",{style:$},n.default.createElement("div",{ref:this.ref}))}}]),H}(n.Component);e.default=z,S(z,"displayName","YouTube"),S(z,"canPlay",i.canPlay.youtube)}($_)),$_}var W_={},XL;function Z0e(){return XL||(XL=1,function(e){function t(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(A)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return s=function(){return A},A}function o(A){if(A&&A.__esModule)return A;if(A===null||t(A)!=="object"&&typeof A!="function")return{default:A};var w=s();if(w&&w.has(A))return w.get(A);var S={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in A)if(Object.prototype.hasOwnProperty.call(A,P)){var D=k?Object.getOwnPropertyDescriptor(A,P):null;D&&(D.get||D.set)?Object.defineProperty(S,P,D):S[P]=A[P]}return S.default=A,w&&w.set(A,S),S}function c(A,w){var S=Object.keys(A);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(A);w&&(k=k.filter(function(P){return Object.getOwnPropertyDescriptor(A,P).enumerable})),S.push.apply(S,k)}return S}function l(A){for(var w=1;w<arguments.length;w++){var S=arguments[w]!=null?arguments[w]:{};w%2?c(Object(S),!0).forEach(function(k){b(A,k,S[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(S)):c(Object(S)).forEach(function(k){Object.defineProperty(A,k,Object.getOwnPropertyDescriptor(S,k))})}return A}function u(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function d(A,w){for(var S=0;S<w.length;S++){var k=w[S];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(A,k.key,k)}}function p(A,w,S){return w&&d(A.prototype,w),A}function h(A,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(w&&w.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),w&&f(A,w)}function f(A,w){return f=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},f(A,w)}function v(A){var w=g();return function(){var k=x(A),P;if(w){var D=x(this).constructor;P=Reflect.construct(k,arguments,D)}else P=k.apply(this,arguments);return m(this,P)}}
1146function m(A,w){return w&&(t(w)==="object"||typeof w=="function")?w:y(A)}function y(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(A){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},x(A)}function b(A,w,S){return w in A?Object.defineProperty(A,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):A[w]=S,A}var _="https://w.soundcloud.com/player/api.js",E="SC",T=function(A){h(S,A);var w=v(S);function S(){var k;u(this,S);for(var P=arguments.length,D=new Array(P),R=0;R<P;R++)D[R]=arguments[R];return k=w.call.apply(w,[this].concat(D)),b(y(k),"callPlayer",r.callPlayer),b(y(k),"duration",null),b(y(k),"currentTime",null),b(y(k),"fractionLoaded",null),b(y(k),"mute",function(){k.setVolume(0)}),b(y(k),"unmute",function(){k.props.volume!==null&&k.setVolume(k.props.volume)}),b(y(k),"ref",function(N){k.iframe=N}),k}return p(S,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(P,D){var R=this;(0,r.getSDK)(_,E).then(function(N){if(R.iframe){var q=N.Widget.Events,I=q.PLAY,z=q.PLAY_PROGRESS,M=q.PAUSE,F=q.FINISH,H=q.ERROR;D||(R.player=N.Widget(R.iframe),R.player.bind(I,R.props.onPlay),R.player.bind(M,function(){var V=R.duration-R.currentTime;V<.05||R.props.onPause()}),R.player.bind(z,function(V){R.currentTime=V.currentPosition/1e3,R.fractionLoaded=V.loadedProgress}),R.player.bind(F,function(){return R.props.onEnded()}),R.player.bind(H,function(V){return R.props.onError(V)})),R.player.load(P,l(l({},R.props.config.options),{},{callback:function(){R.player.getDuration(function(O){R.duration=O/1e3,R.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(P){this.callPlayer("seekTo",P*1e3)}},{key:"setVolume",value:function(P){this.callPlayer("setVolume",P*100)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var P=this.props.display,D={width:"100%",height:"100%",display:P};return n.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:D,frameBorder:0,allow:"autoplay"})}}]),S}(n.Component);e.default=T,b(T,"displayName","SoundCloud"),b(T,"canPlay",i.canPlay.soundcloud),b(T,"loopOnEnded",!0)}(W_)),W_}var V_={},KL;function J0e(){return KL||(KL=1,function(e){function t(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(A)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return s=function(){return A},A}function o(A){if(A&&A.__esModule)return A;if(A===null||t(A)!=="object"&&typeof A!="function")return{default:A};var w=s();if(w&&w.has(A))return w.get(A);var S={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in A)if(Object.prototype.hasOwnProperty.call(A,P)){var D=k?Object.getOwnPropertyDescriptor(A,P):null;D&&(D.get||D.set)?Object.defineProperty(S,P,D):S[P]=A[P]}return S.default=A,w&&w.set(A,S),S}function c(A,w){var S=Object.keys(A);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(A);w&&(k=k.filter(function(P){return Object.getOwnPropertyDescriptor(A,P).enumerable})),S.push.apply(S,k)}return S}function l(A){for(var w=1;w<arguments.length;w++){var S=arguments[w]!=null?arguments[w]:{};
1146w%2?c(Object(S),!0).forEach(function(k){b(A,k,S[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(S)):c(Object(S)).forEach(function(k){Object.defineProperty(A,k,Object.getOwnPropertyDescriptor(S,k))})}return A}function u(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function d(A,w){for(var S=0;S<w.length;S++){var k=w[S];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(A,k.key,k)}}function p(A,w,S){return w&&d(A.prototype,w),A}function h(A,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(w&&w.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),w&&f(A,w)}function f(A,w){return f=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},f(A,w)}function v(A){var w=g();return function(){var k=x(A),P;if(w){var D=x(this).constructor;P=Reflect.construct(k,arguments,D)}else P=k.apply(this,arguments);return m(this,P)}}function m(A,w){return w&&(t(w)==="object"||typeof w=="function")?w:y(A)}function y(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(A){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},x(A)}function b(A,w,S){return w in A?Object.defineProperty(A,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):A[w]=S,A}var _="https://player.vimeo.com/api/player.js",E="Vimeo",T=function(A){h(S,A);var w=v(S);function S(){var k;u(this,S);for(var P=arguments.length,D=new Array(P),R=0;R<P;R++)D[R]=arguments[R];return k=w.call.apply(w,[this].concat(D)),b(y(k),"callPlayer",r.callPlayer),b(y(k),"duration",null),b(y(k),"currentTime",null),b(y(k),"secondsLoaded",null),b(y(k),"mute",function(){k.setVolume(0)}),b(y(k),"unmute",function(){k.props.volume!==null&&k.setVolume(k.props.volume)}),b(y(k),"ref",function(N){k.container=N}),k}return p(S,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(P){var D=this;this.duration=null,(0,r.getSDK)(_,E).then(function(R){if(D.container){var N=D.props.config,q=N.playerOptions,I=N.title;D.player=new R.Player(D.container,l({url:P,autoplay:D.props.playing,muted:D.props.muted,loop:D.props.loop,playsinline:D.props.playsinline,controls:D.props.controls},q)),D.player.ready().then(function(){var z=D.container.querySelector("iframe");z.style.width="100%",z.style.height="100%",I&&(z.title=I)}).catch(D.props.onError),D.player.on("loaded",function(){D.props.onReady(),D.refreshDuration()}),D.player.on("play",function(){D.props.onPlay(),D.refreshDuration()}),D.player.on("pause",D.props.onPause),D.player.on("seeked",function(z){return D.props.onSeek(z.seconds)}),D.player.on("ended",D.props.onEnded),D.player.on("error",D.props.onError),D.player.on("timeupdate",function(z){var M=z.seconds;D.currentTime=M}),D.player.on("progress",function(z){var M=z.seconds;D.secondsLoaded=M}),D.player.on("bufferstart",D.props.onBuffer),D.player.on("bufferend",D.props.onBufferEnd)}},this.props.onError)}},{key:"refreshDuration",value:function(){var P=this;this.player.getDuration().then(function(D){P.duration=D})}},{key:"play",value:function(){var P=this.callPlayer("play");P&&P.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(P){this.callPlayer("setCurrentTime",P)}},{key:"setVolume",value:function(P){this.callPlayer("setVolume",P)}},{key:"setLoop",value:function(P){this.callPlayer("setLoop",P)}},{key:"setPlaybackRate",value:function(P){this.callPlayer("setPlaybackRate",P)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var P=this.props.display,D={width:"100%",height:"100%",overflow:"hidden",display:P};return n.default.createElement("div",{key:this.props.url,ref:this.ref,style:D})}}]),S}(n.Component);e.default=T,b(T,"displayName","Vimeo"),b(T,"canPlay",i.canPlay.vimeo),b(T,"forceLoad",!0)}(V_)),V_}var H_={},YL;function e1e(){return YL||(YL=1,function(e){function t(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(k){return typeof k}:t=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},t(w)}
1146Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var w=new WeakMap;return s=function(){return w},w}function o(w){if(w&&w.__esModule)return w;if(w===null||t(w)!=="object"&&typeof w!="function")return{default:w};var S=s();if(S&&S.has(w))return S.get(w);var k={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in w)if(Object.prototype.hasOwnProperty.call(w,D)){var R=P?Object.getOwnPropertyDescriptor(w,D):null;R&&(R.get||R.set)?Object.defineProperty(k,D,R):k[D]=w[D]}return k.default=w,S&&S.set(w,k),k}function c(){return c=Object.assign||function(w){for(var S=1;S<arguments.length;S++){var k=arguments[S];for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&(w[P]=k[P])}return w},c.apply(this,arguments)}function l(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function u(w,S){for(var k=0;k<S.length;k++){var P=S[k];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(w,P.key,P)}}function d(w,S,k){return S&&u(w.prototype,S),w}function p(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),S&&h(w,S)}function h(w,S){return h=Object.setPrototypeOf||function(P,D){return P.__proto__=D,P},h(w,S)}function f(w){var S=y();return function(){var P=g(w),D;if(S){var R=g(this).constructor;D=Reflect.construct(P,arguments,R)}else D=P.apply(this,arguments);return v(this,D)}}function v(w,S){return S&&(t(S)==="object"||typeof S=="function")?S:m(w)}function m(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(w){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},g(w)}function x(w,S,k){return S in w?Object.defineProperty(w,S,{value:k,enumerable:!0,configurable:!0,writable:!0}):w[S]=k,w}var b="https://connect.facebook.net/en_US/sdk.js",_="FB",E="fbAsyncInit",T="facebook-player-",A=function(w){p(k,w);var S=f(k);function k(){var P;l(this,k);for(var D=arguments.length,R=new Array(D),N=0;N<D;N++)R[N]=arguments[N];return P=S.call.apply(S,[this].concat(R)),x(m(P),"callPlayer",r.callPlayer),x(m(P),"playerID",P.props.config.playerId||"".concat(T).concat((0,r.randomString)())),x(m(P),"mute",function(){P.callPlayer("mute")}),x(m(P),"unmute",function(){P.callPlayer("unmute")}),P}return d(k,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(D,R){var N=this;if(R){(0,r.getSDK)(b,_,E).then(function(q){return q.XFBML.parse()});return}(0,r.getSDK)(b,_,E).then(function(q){q.init({appId:N.props.config.appId,xfbml:!0,version:N.props.config.version}
1146),q.Event.subscribe("xfbml.render",function(I){N.props.onLoaded()}),q.Event.subscribe("xfbml.ready",function(I){I.type==="video"&&I.id===N.playerID&&(N.player=I.instance,N.player.subscribe("startedPlaying",N.props.onPlay),N.player.subscribe("paused",N.props.onPause),N.player.subscribe("finishedPlaying",N.props.onEnded),N.player.subscribe("startedBuffering",N.props.onBuffer),N.player.subscribe("finishedBuffering",N.props.onBufferEnd),N.player.subscribe("error",N.props.onError),N.props.muted?N.callPlayer("mute"):N.callPlayer("unmute"),N.props.onReady(),document.getElementById(N.playerID).querySelector("iframe").style.visibility="visible")})})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(D){this.callPlayer("seek",D)}},{key:"setVolume",value:function(D){this.callPlayer("setVolume",D)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var D=this.props.config.attributes,R={width:"100%",height:"100%"};return n.default.createElement("div",c({style:R,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},D))}}]),k}(n.Component);e.default=A,x(A,"displayName","Facebook"),x(A,"canPlay",i.canPlay.facebook),x(A,"loopOnEnded",!0)}(H_)),H_}var G_={},QL;function t1e(){return QL||(QL=1,function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(E)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return s=function(){return E},E}function o(E){if(E&&E.__esModule)return E;if(E===null||t(E)!=="object"&&typeof E!="function")return{default:E};var T=s();if(T&&T.has(E))return T.get(E);var A={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in E)if(Object.prototype.hasOwnProperty.call(E,S)){var k=w?Object.getOwnPropertyDescriptor(E,S):null;k&&(k.get||k.set)?Object.defineProperty(A,S,k):A[S]=E[S]}return A.default=E,T&&T.set(E,A),A}function c(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}function l(E,T){for(var A=0;A<T.length;A++){var w=T[A];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(E,w.key,w)}}function u(E,T,A){return T&&l(E.prototype,T),E}function d(E,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),T&&p(E,T)}function p(E,T){return p=Object.setPrototypeOf||function(w,S){return w.__proto__=S,w},p(E,T)}function h(E){var T=m();return function(){var w=y(E),S;if(T){var k=y(this).constructor;S=Reflect.construct(w,arguments,k)}else S=w.apply(this,arguments);return f(this,S)}}function f(E,T){return T&&(t(T)==="object"||typeof T=="function")?T:v(E)}function v(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(E){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},y(E)}function g(E,T,A){return T in E?Object.defineProperty(E,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[T]=A,E}var x="https://cdn.embed.ly/player-0.1.0.min.js",b="playerjs",_=function(E){d(A,E);var T=h(A);function A(){var w;c(this,A);for(var S=arguments.length,k=new Array(S),P=0;P<S;P++)k[P]=arguments[P];return w=T.call.apply(T,[this].concat(k)),g(v(w),"callPlayer",r.callPlayer),g(v(w),"duration",null),g(v(w),"currentTime",null),g(v(w),"secondsLoaded",null),g(v(w),"mute",function(){w.callPlayer("mute")}),g(v(w),"unmute",function(){w.callPlayer("unmute")}
1146),g(v(w),"ref",function(D){w.iframe=D}),w}return u(A,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(S){var k=this;(0,r.getSDK)(x,b).then(function(P){k.iframe&&(k.player=new P.Player(k.iframe),k.player.setLoop(k.props.loop),k.player.on("ready",k.props.onReady),k.player.on("play",k.props.onPlay),k.player.on("pause",k.props.onPause),k.player.on("seeked",k.props.onSeek),k.player.on("ended",k.props.onEnded),k.player.on("error",k.props.onError),k.player.on("timeupdate",function(D){var R=D.duration,N=D.seconds;k.duration=R,k.currentTime=N}),k.player.on("buffered",function(D){var R=D.percent;k.duration&&(k.secondsLoaded=k.duration*R)}),k.props.muted&&k.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(S){this.callPlayer("setCurrentTime",S)}},{key:"setVolume",value:function(S){this.callPlayer("setVolume",S*100)}},{key:"setLoop",value:function(S){this.callPlayer("setLoop",S)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var S=this.props.url.match(i.MATCH_URL_STREAMABLE)[1],k={width:"100%",height:"100%"};return n.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(S),frameBorder:"0",scrolling:"no",style:k,allow:"encrypted-media; autoplay; fullscreen;"})}}]),A}(n.Component);e.default=_,g(_,"displayName","Streamable"),g(_,"canPlay",i.canPlay.streamable)}(G_)),G_}var X_={},ZL;function n1e(){return ZL||(ZL=1,function(e){function t(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(k){return typeof k}:t=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},t(w)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var w=new WeakMap;return s=function(){return w},w}function o(w){if(w&&w.__esModule)return w;if(w===null||t(w)!=="object"&&typeof w!="function")return{default:w};var S=s();if(S&&S.has(w))return S.get(w);var k={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in w)if(Object.prototype.hasOwnProperty.call(w,D)){var R=P?Ob
1146ject.getOwnPropertyDescriptor(w,D):null;R&&(R.get||R.set)?Object.defineProperty(k,D,R):k[D]=w[D]}return k.default=w,S&&S.set(w,k),k}function c(w,S){var k=Object.keys(w);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(w);S&&(P=P.filter(function(D){return Object.getOwnPropertyDescriptor(w,D).enumerable})),k.push.apply(k,P)}return k}function l(w){for(var S=1;S<arguments.length;S++){var k=arguments[S]!=null?arguments[S]:{};S%2?c(Object(k),!0).forEach(function(P){b(w,P,k[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(k)):c(Object(k)).forEach(function(P){Object.defineProperty(w,P,Object.getOwnPropertyDescriptor(k,P))})}return w}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function d(w,S){for(var k=0;k<S.length;k++){var P=S[k];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(w,P.key,P)}}function p(w,S,k){return S&&d(w.prototype,S),w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),S&&f(w,S)}function f(w,S){return f=Object.setPrototypeOf||function(P,D){return P.__proto__=D,P},f(w,S)}function v(w){var S=g();return function(){var P=x(w),D;if(S){var R=x(this).constructor;D=Reflect.construct(P,arguments,R)}else D=P.apply(this,arguments);return m(this,D)}}function m(w,S){return S&&(t(S)==="object"||typeof S=="function")?S:y(w)}function y(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(w){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},x(w)}function b(w,S,k){return S in w?Object.defineProperty(w,S,{value:k,enumerable:!0,configurable:!0,writable:!0}):w[S]=k,w}var _="https://fast.wistia.com/assets/external/E-v1.js",E="Wistia",T="wistia-player-",A=function(w){h(k,w);var S=v(k);function k(){var P;u(this,k);for(var D=arguments.length,R=new Array(D),N=0;N<D;N++)R[N]=arguments[N];return P=S.call.apply(S,[this].concat(R)),b(y(P),"callPlayer",r.callPlayer),b(y(P),"playerID",P.props.config.playerId||"".concat(T).concat((0,r.randomString)())),b(y(P),"onPlay",function(){var q;return(q=P.props).onPlay.apply(q,arguments)}),b(y(P),"onPause",function(){var q;return(q=P.props).onPause.apply(q,arguments)}),b(y(P),"onSeek",function(){var q;return(q=P.props).onSeek.apply(q,arguments)}),b(y(P),"onEnded",function(){var q;return(q=P.props).onEnded.apply(q,arguments)}),b(y(P),"onPlaybackRateChange",function(){var q;return(q=P.props).onPlaybackRateChange.apply(q,arguments)}),b(y(P),"mute",function(){P.callPlayer("mute")}),b(y(P),"unmute",function(){P.callPlayer("unmute")}),P}return p(k,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(D){var R=this,N=this.props,q=N.playing,I=N.muted,z=N.controls,M=N.onReady,F=N.config,H=N.onError;(0,r.getSDK)(_,E).then(function(V){F.customControls&&F.customControls.forEach(function(O){return V.defineControl(O)}),window._wq=window._wq||[],window._wq.push({id:R.playerID,options:l({autoPlay:q,silentAutoPlay:"allow",muted:I,controlsVisibleOnLoad:z,fullscreenButton:z,playbar:z,playbackRateControl:z,qualityControl:z,volumeControl:z,settingsControl:z,smallPlayButton:z},F.options),onReady:function($){R.player=$,R.unbind(),R.player.bind("play",R.onPlay),R.player.bind("pause",R.onPause),R.player.bind("seek",R.onSeek),R.player.bind("end",R.onEnded),R.player.bind("playbackratechange",R.onPlaybackRateChange),M()}})},H)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(D){this.callPlayer("time",D)}},{key:"setVolume",value:function(D){this.callPlayer("volume",D)}},{key:"setPlaybackRate",value:function(D){this.callPlayer("playbackRate",D)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var D=this.props.url,R=D&&D.match(i.MATCH_URL_WISTIA)[1],N="wistia_embed wistia_async_".concat(R),q={width:"100%",height:"100%"};return n.default.createElement("div",{id:this.playerID,key:R,className:N,style:q})}}]),k}(n.Component);e.default=A,b(A,"displayName","Wistia"),b(A,"canPlay",i.canPlay.wistia),b(A,"loopOnEnded",!0)}(X_)),X_}var K_={},JL;function r1e(){return JL||(JL=1,function(e){function t(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(k){return typeof k}:t=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},t(w)}
1146Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var w=new WeakMap;return s=function(){return w},w}function o(w){if(w&&w.__esModule)return w;if(w===null||t(w)!=="object"&&typeof w!="function")return{default:w};var S=s();if(S&&S.has(w))return S.get(w);var k={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in w)if(Object.prototype.hasOwnProperty.call(w,D)){var R=P?Object.getOwnPropertyDescriptor(w,D):null;R&&(R.get||R.set)?Object.defineProperty(k,D,R):k[D]=w[D]}return k.default=w,S&&S.set(w,k),k}function c(w,S){var k=Object.keys(w);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(w);S&&(P=P.filter(function(D){return Object.getOwnPropertyDescriptor(w,D).enumerable})),k.push.apply(k,P)}return k}function l(w){for(var S=1;S<arguments.length;S++){var k=arguments[S]!=null?arguments[S]:{};S%2?c(Object(k),!0).forEach(function(P){b(w,P,k[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(k)):c(Object(k)).forEach(function(P){Object.defineProperty(w,P,Object.getOwnPropertyDescriptor(k,P))})}return w}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function d(w,S){for(var k=0;k<S.length;k++){var P=S[k];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(w,P.key,P)}}function p(w,S,k){return S&&d(w.prototype,S),w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),S&&f(w,S)}function f(w,S){return f=Object.setPrototypeOf||function(P,D){return P.__proto__=D,P},f(w,S)}function v(w){var S=g();return function(){var P=x(w),D;if(S){var R=x(this).constructor;D=Reflect.construct(P,arguments,R)}else D=P.apply(this,arguments);return m(this,D)}}function m(w,S){return S&&(t(S)==="object"||typeof S=="function")?S:y(w)}function y(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(w){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},x(w)}function b(w,S,k){return S in w?Object.defineProperty(w,S,{value:k,enumerable:!0,configurable:!0,writable:!0}):w[S]=k,w}var _="https://player.twitch.tv/js/embed/v1.js",E="Twitch",T="twitch-player-",A=function(w){h(k,w);var S=v(k);function k(){var P;u(this,k);for(var D=arguments.length,R=new Array(D),N=0;N<D;N++)R[N]=arguments[N];return P=S.call.apply(S,[this].concat(R)),b(y(P),"callPlayer",r.callPlayer),b(y(P),"playerID",P.props.config.playerId||"".concat(T).concat((0,r.randomString)())),b(y(P),"mute",function(){P.callPlayer("setMuted",!0)}),b(y(P),"unmute",function(){P.callPlayer("setMuted",!1)}),P}return p(k,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(D,R){var N=this,q=this.props,I=q.playsinline,z=q.onError,M=q.config,F=q.controls,H=i.MATCH_URL_TWITCH_CHANNEL.test(D),V=H?D.match(i.MATCH_URL_TWITCH_CHANNEL)[1]:D.match(i.MATCH_URL_TWITCH_VIDEO)[1];if(R){H?this.player.setChannel(V):this.player.setVideo("v"+V);return}(0,r.getSDK)(_,E).then(function(O){N.player=new O.Player(N.playerID,l({video:H?"":V,channel:H?V:"",height:"100%",width:"100%",playsinline:I,autoplay:N.props.playing,muted:N.props.muted,controls:H?!0:F,time:(0,r.parseStartTime)(D)},M.options));var $=O.Player,K=$.READY,Y=$.PLAYING,ee=$.PAUSE,re=$.ENDED,ae=$.ONLINE,le=$.OFFLINE,ge=$.SEEK;N.player.addEventListener(K,N.props.onReady),N.player.addEventListener(Y,N.props.onPlay),N.player.addEventListener(ee,N.props.onPause),N.player.addEventListener(re,N.props.onEnded),N.player.addEventListener(ge,N.props.onSeek),N.player.addEventListener(ae,N.props.onLoaded),N.player.addEventListener(le,N.props.onLoaded)},z)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(D){this.callPlayer("seek",D)}},{key:"setVolume",value:function(D){this.callPlayer("setVolume",D)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var D={width:"100%",height:"100%"};return n.default.createElement("div",{style:D,id:this.playerID})}}]),k}(n.Component);e.default=A,b(A,"displayName","Twitch"),b(A,"canPlay",i.canPlay.twitch),b(A,"loopOnEnded",!0)}(K_)),K_}var Y_={},eR;function a1e(){return eR||(eR=1,function(e){function t(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(I){return typeof I}:t=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},t(N)}
1146Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var N=new WeakMap;return s=function(){return N},N}function o(N){if(N&&N.__esModule)return N;if(N===null||t(N)!=="object"&&typeof N!="function")return{default:N};var q=s();if(q&&q.has(N))return q.get(N);var I={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var M in N)if(Object.prototype.hasOwnProperty.call(N,M)){var F=z?Object.getOwnPropertyDescriptor(N,M):null;F&&(F.get||F.set)?Object.defineProperty(I,M,F):I[M]=N[M]}return I.default=N,q&&q.set(N,I),I}function c(N,q){var I=Object.keys(N);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(N);q&&(z=z.filter(function(M){return Object.getOwnPropertyDescriptor(N,M).enumerable})),I.push.apply(I,z)}return I}function l(N){for(var q=1;q<arguments.length;q++){var I=arguments[q]!=null?arguments[q]:{};q%2?c(Object(I),!0).forEach(function(z){S(N,z,I[z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors(I)):c(Object(I)).forEach(function(z){Object.defineProperty(N,z,Object.getOwnPropertyDescriptor(I,z))})}return N}function u(N,q){return v(N)||f(N,q)||p(N,q)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 1147In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(N,q){if(N){if(typeof N=="string")return h(N,q);var I=Object.prototype.toString.call(N).slice(8,-1);if(I==="Object"&&N.constructor&&(I=N.constructor.name),I==="Map"||I==="Set")return Array.from(N);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return h(N,q)}}function h(N,q){(q==null||q>N.length)&&(q=N.length);for(var I=0,z=new Array(q);I<q;I++)z[I]=N[I];return z}function f(N,q){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(N)))){var I=[],z=!0,M=!1,F=void 0;try{for(var H=N[Symbol.iterator](),V;!(z=(V=H.next()).done)&&(I.push(V.value),!(q&&I.length===q));z=!0);}catch(O){M=!0,F=O}finally{try{!z&&H.return!=null&&H.return()}finally{if(M)throw F}}return I}}function v(N){if(Array.isArray(N))return N}function m(N,q){if(!(N instanceof q))throw new TypeError("Cannot call a class as a function")}function y(N,q){for(var I=0;I<q.length;I++){var z=q[I];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(N,z.key,z)}}function g(N,q,I){return q&&y(N.prototype,q),N}function x(N,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(q&&q.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),q&&b(N,q)}function b(N,q){return b=Object.setPrototypeOf||function(z,M){return z.__proto__=M,z},b(N,q)}function _(N){var q=A();return function(){var z=w(N),M;if(q){var F=w(this).constructor;M=Reflect.construct(z,arguments,F)}else M=z.apply(this,arguments);return E(this,M)}}function E(N,q){return q&&(t(q)==="object"||typeof q=="function")?q:T(N)}function T(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function w(N){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},w(N)}function S(N,q,I){return q in N?Object.defineProperty(N,q,{value:I,enumerable:!0,configurable:!0,writable:!0}):N[q]=I,N}var k="https://api.dmcdn.net/all.js",P="DM",D="dmAsyncInit",R=function(N){x(I,N);var q=_(I);function I(){var z;m(this,I);for(var M=arguments.length,F=new Array(M),H=0;H<M;H++)F[H]=arguments[H];return z=q.call.apply(q,[this].concat(F)),S(T(z),"callPlayer",r.callPlayer),S(T(z),"onDurationChange",function(){var V=z.getDuration();z.props.onDuration(V)}),S(T(z),"mute",function(){z.callPlayer("setMuted",!0)}),S(T(z),"unmute",function(){z.callPlayer("setMuted",!1)}),S(T(z),"ref",function(V){z.container=V}),z}
1147return g(I,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(M){var F=this,H=this.props,V=H.controls,O=H.config,$=H.onError,K=H.playing,Y=M.match(i.MATCH_URL_DAILYMOTION),ee=u(Y,2),re=ee[1];if(this.player){this.player.load(re,{start:(0,r.parseStartTime)(M),autoplay:K});return}(0,r.getSDK)(k,P,D,function(ae){return ae.player}).then(function(ae){if(F.container){var le=ae.player;F.player=new le(F.container,{width:"100%",height:"100%",video:re,params:l({controls:V,autoplay:F.props.playing,mute:F.props.muted,start:(0,r.parseStartTime)(M),origin:window.location.origin},O.params),events:{apiready:F.props.onReady,seeked:function(){return F.props.onSeek(F.player.currentTime)},video_end:F.props.onEnded,durationchange:F.onDurationChange,pause:F.props.onPause,playing:F.props.onPlay,waiting:F.props.onBuffer,error:function(ke){return $(ke)}}})}},$)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(M){this.callPlayer("seek",M)}},{key:"setVolume",value:function(M){this.callPlayer("setVolume",M)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var M=this.props.display,F={width:"100%",height:"100%",display:M};return n.default.createElement("div",{style:F},n.default.createElement("div",{ref:this.ref}))}}]),I}(n.Component);e.default=R,S(R,"displayName","DailyMotion"),S(R,"canPlay",i.canPlay.dailymotion),S(R,"loopOnEnded",!0)}(Y_)),Y_}var Q_={},tR;function i1e(){return tR||(tR=1,function(e){function t(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(A)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return s=function(){return A},A}function o(A){if(A&&A.__esModule)return A;if(A===null||t(A)!=="object"&&typeof A!="function")return{default:A};var w=s();if(w&&w.has(A))return w.get(A);var S={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in A)if(Object.prototype.hasOwnProperty.call(A,P)){var D=k?Object.getOwnPropertyDescriptor(A,P):null;D&&(D.get||D.set)?Object.defineProperty(S,P,D):S[P]=A[P]}return S.default=A,w&&w.set(A,S),S}function c(A,w){var S=Object.keys(A);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(A);w&&(k=k.filter(function(P){return Object.getOwnPropertyDescriptor(A,P).enumerable})),S.push.apply(S,k)}return S}function l(A){for(var w=1;w<arguments.length;w++){var S=arguments[w]!=null?arguments[w]:{};w%2?c(Object(S),!0).forEach(function(k){b(A,k,S[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(S)):c(Object(S)).forEach(function(k){Object.defineProperty(A,k,Object.getOwnPropertyDescriptor(S,k))})}return A}function u(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function d(A,w){for(var S=0;S<w.length;S++){var k=w[S];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(A,k.key,k)}}function p(A,w,S){return w&&d(A.prototype,w),A}function h(A,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(w&&w.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),w&&f(A,w)}function f(A,w){return f=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},f(A,w)}function v(A){var w=g();return function(){var k=x(A),P;if(w){var D=x(this).constructor;P=Reflect.construct(k,arguments,D)}else P=k.apply(this,arguments);return m(this,P)}}function m(A,w){return w&&(t(w)==="object"||typeof w=="function")?w:y(A)}function y(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}
1147function x(A){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},x(A)}function b(A,w,S){return w in A?Object.defineProperty(A,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):A[w]=S,A}var _="https://widget.mixcloud.com/media/js/widgetApi.js",E="Mixcloud",T=function(A){h(S,A);var w=v(S);function S(){var k;u(this,S);for(var P=arguments.length,D=new Array(P),R=0;R<P;R++)D[R]=arguments[R];return k=w.call.apply(w,[this].concat(D)),b(y(k),"callPlayer",r.callPlayer),b(y(k),"duration",null),b(y(k),"currentTime",null),b(y(k),"secondsLoaded",null),b(y(k),"mute",function(){}),b(y(k),"unmute",function(){}),b(y(k),"ref",function(N){k.iframe=N}),k}return p(S,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(P){var D=this;(0,r.getSDK)(_,E).then(function(R){D.player=R.PlayerWidget(D.iframe),D.player.ready.then(function(){D.player.events.play.on(D.props.onPlay),D.player.events.pause.on(D.props.onPause),D.player.events.ended.on(D.props.onEnded),D.player.events.error.on(D.props.error),D.player.events.progress.on(function(N,q){D.currentTime=N,D.duration=q}),D.props.onReady()})},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(P){this.callPlayer("seek",P)}},{key:"setVolume",value:function(P){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var P=this.props,D=P.url,R=P.config,N=D.match(i.MATCH_URL_MIXCLOUD)[1],q={width:"100%",height:"100%"},I=(0,r.queryString)(l(l({},R.options),{},{feed:"/".concat(N,"/")}));return n.default.createElement("iframe",{key:N,ref:this.ref,style:q,src:"https://www.mixcloud.com/widget/iframe/?".concat(I),frameBorder:"0"})}}]),S}(n.Component);e.default=T,b(T,"displayName","Mixcloud"),b(T,"canPlay",i.canPlay.mixcloud),b(T,"loopOnEnded",!0)}(Q_)),Q_}var Z_={},nR;function s1e(){return nR||(nR=1,function(e){function t(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(k){return typeof k}:t=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},t(w)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var w=new WeakMap;return s=function(){return w},w}function o(w){if(w&&w.__esModule)return w;if(w===null||t(w)!=="object"&&typeof w!="function")return{default:w};var S=s();if(S&&S.has(w))return S.get(w);var k={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in w)if(Object.prototype.hasOwnProperty.call(w,D)){var R=P?Ob
1147ject.getOwnPropertyDescriptor(w,D):null;R&&(R.get||R.set)?Object.defineProperty(k,D,R):k[D]=w[D]}return k.default=w,S&&S.set(w,k),k}function c(w,S){var k=Object.keys(w);if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(w);S&&(P=P.filter(function(D){return Object.getOwnPropertyDescriptor(w,D).enumerable})),k.push.apply(k,P)}return k}function l(w){for(var S=1;S<arguments.length;S++){var k=arguments[S]!=null?arguments[S]:{};S%2?c(Object(k),!0).forEach(function(P){b(w,P,k[P])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(k)):c(Object(k)).forEach(function(P){Object.defineProperty(w,P,Object.getOwnPropertyDescriptor(k,P))})}return w}function u(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")}function d(w,S){for(var k=0;k<S.length;k++){var P=S[k];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(w,P.key,P)}}function p(w,S,k){return S&&d(w.prototype,S),w}function h(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),S&&f(w,S)}function f(w,S){return f=Object.setPrototypeOf||function(P,D){return P.__proto__=D,P},f(w,S)}function v(w){var S=g();return function(){var P=x(w),D;if(S){var R=x(this).constructor;D=Reflect.construct(P,arguments,R)}else D=P.apply(this,arguments);return m(this,D)}}function m(w,S){return S&&(t(S)==="object"||typeof S=="function")?S:y(w)}function y(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function g(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function x(w){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},x(w)}function b(w,S,k){return S in w?Object.defineProperty(w,S,{value:k,enumerable:!0,configurable:!0,writable:!0}):w[S]=k,w}var _="https://play.vidyard.com/embed/v4.js",E="VidyardV4",T="onVidyardAPI",A=function(w){h(k,w);var S=v(k);function k(){var P;u(this,k);for(var D=arguments.length,R=new Array(D),N=0;N<D;N++)R[N]=arguments[N];return P=S.call.apply(S,[this].concat(R)),b(y(P),"callPlayer",r.callPlayer),b(y(P),"mute",function(){P.setVolume(0)}),b(y(P),"unmute",function(){P.props.volume!==null&&P.setVolume(P.props.volume)}),b(y(P),"ref",function(q){P.container=q}),P}return p(k,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(D){var R=this,N=this.props,q=N.playing,I=N.config,z=N.onError,M=N.onDuration,F=D&&D.match(i.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,r.getSDK)(_,E,T).then(function(H){R.container&&(H.api.addReadyListener(function(V,O){R.player||(R.player=O,R.player.on("ready",R.props.onReady),R.player.on("play",R.props.onPlay),R.player.on("pause",R.props.onPause),R.player.on("seek",R.props.onSeek),R.player.on("playerComplete",R.props.onEnded))},F),H.api.renderPlayer(l({uuid:F,container:R.container,autoplay:q?1:0},I.options)),H.api.getPlayerMetadata(F).then(function(V){R.duration=V.length_in_seconds,M(V.length_in_seconds)}))},z)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(D){this.callPlayer("seek",D)}},{key:"setVolume",value:function(D){this.callPlayer("setVolume",D)}},{key:"setPlaybackRate",value:function(D){this.callPlayer("setPlaybackSpeed",D)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var D=this.props.display,R={width:"100%",height:"100%",display:D};return n.default.createElement("div",{style:R},n.default.createElement("div",{ref:this.ref}))}}]),k}(n.Component);e.default=A,b(A,"displayName","Vidyard"),b(A,"canPlay",i.canPlay.vidyard)}(Z_)),Z_}var J_={},rR;function o1e(){return rR||(rR=1,function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(E)}
1147Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return s=function(){return E},E}function o(E){if(E&&E.__esModule)return E;if(E===null||t(E)!=="object"&&typeof E!="function")return{default:E};var T=s();if(T&&T.has(E))return T.get(E);var A={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in E)if(Object.prototype.hasOwnProperty.call(E,S)){var k=w?Object.getOwnPropertyDescriptor(E,S):null;k&&(k.get||k.set)?Object.defineProperty(A,S,k):A[S]=E[S]}return A.default=E,T&&T.set(E,A),A}function c(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}function l(E,T){for(var A=0;A<T.length;A++){var w=T[A];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(E,w.key,w)}}function u(E,T,A){return T&&l(E.prototype,T),E}function d(E,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),T&&p(E,T)}function p(E,T){return p=Object.setPrototypeOf||function(w,S){return w.__proto__=S,w},p(E,T)}function h(E){var T=m();return function(){var w=y(E),S;if(T){var k=y(this).constructor;S=Reflect.construct(w,arguments,k)}else S=w.apply(this,arguments);return f(this,S)}}function f(E,T){return T&&(t(T)==="object"||typeof T=="function")?T:v(E)}function v(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(E){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},y(E)}function g(E,T,A){return T in E?Object.defineProperty(E,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[T]=A,E}var x="https://cdn.embed.ly/player-0.1.0.min.js",b="playerjs",_=function(E){d(A,E);var T=h(A);function A(){var w;c(this,A);for(var S=arguments.length,k=new Array(S),P=0;P<S;P++)k[P]=arguments[P];return w=T.call.apply(T,[this].concat(k)),g(v(w),"callPlayer",r.callPlayer),g(v(w),"duration",null),g(v(w),"currentTime",null),g(v(w),"secondsLoaded",null),g(v(w),"mute",function(){w.callPlayer("mute")}),g(v(w),"unmute",function(){w.callPlayer("unmute")}),g(v(w),"ref",function(D){w.iframe=D}),w}return u(A,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(S){var k=this;(0,r.getSDK)(x,b).then(function(P){k.iframe&&(k.player=new P.Player(k.iframe),k.player.on("ready",function(){setTimeout(function(){k.player.isReady=!0,k.player.setLoop(k.props.loop),k.props.muted&&k.player.mute(),k.addListeners(k.player,k.props),k.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function(S,k){var P=this;S.on("play",k.onPlay),S.on("pause",k.onPause),S.on("ended",k.onEnded),S.on("error",k.onError),S.on("timeupdate",function(D){var R=D.duration,N=D.seconds;P.duration=R,P.currentTime=N})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(S){this.callPlayer("setCurrentTime",S)}},{key:"setVolume",value:function(S){this.callPlayer("setVolume",S)}},{key:"setLoop",value:function(S){this.callPlayer("setLoop",S)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var S={width:"100%",height:"100%"};return n.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:S,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}]),A}(n.Component);e.default=_,g(_,"displayName","Kaltura"),g(_,"canPlay",i.canPlay.kaltura)}(J_)),J_}var eN={},aR;function c1e(){return aR||(aR=1,function(e){function t(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(M){return typeof M}:t=function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M},t(I)}
1147Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(j),r=bn,i=St;function s(){if(typeof WeakMap!="function")return null;var I=new WeakMap;return s=function(){return I},I}function o(I){if(I&&I.__esModule)return I;if(I===null||t(I)!=="object"&&typeof I!="function")return{default:I};var z=s();if(z&&z.has(I))return z.get(I);var M={},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in I)if(Object.prototype.hasOwnProperty.call(I,H)){var V=F?Object.getOwnPropertyDescriptor(I,H):null;V&&(V.get||V.set)?Object.defineProperty(M,H,V):M[H]=I[H]}return M.default=I,z&&z.set(I,M),M}function c(){return c=Object.assign||function(I){for(var z=1;z<arguments.length;z++){var M=arguments[z];for(var F in M)Object.prototype.hasOwnProperty.call(M,F)&&(I[F]=M[F])}return I},c.apply(this,arguments)}function l(I,z){if(!(I instanceof z))throw new TypeError("Cannot call a class as a function")}function u(I,z){for(var M=0;M<z.length;M++){var F=z[M];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(I,F.key,F)}}function d(I,z,M){return z&&u(I.prototype,z),I}function p(I,z){if(typeof z!="function"&&z!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(z&&z.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),z&&h(I,z)}function h(I,z){return h=Object.setPrototypeOf||function(F,H){return F.__proto__=H,F},h(I,z)}function f(I){var z=y();return function(){var F=g(I),H;if(z){var V=g(this).constructor;H=Reflect.construct(F,arguments,V)}else H=F.apply(this,arguments);return v(this,H)}}function v(I,z){return z&&(t(z)==="object"||typeof z=="function")?z:m(I)}function m(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function y(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function g(I){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(M){return M.__proto__||Object.getPrototypeOf(M)},g(I)}function x(I,z,M){return z in I?Object.defineProperty(I,z,{value:M,enumerable:!0,configurable:!0,writable:!0}):I[z]=M,I}var b=typeof navigator<"u",_=b&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,E=b&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||_)&&!window.MSStream,T="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",A="Hls",w="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",S="dashjs",k="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",P="flvjs",D=/www\.dropbox\.com\/.+/,R=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,N="https://videodelivery.net/{id}/manifest/video.m3u8",q=function(I){p(M,I);var z=f(M);function M(){var F;l(this,M);for(var H=arguments.length,V=new Array(H),O=0;O<H;O++)V[O]=arguments[O];return F=z.call.apply(z,[this].concat(V)),x(m(F),"onReady",function(){var $;return($=F.props).onReady.apply($,arguments)}),x(m(F),"onPlay",function(){var $;return($=F.props).onPlay.apply($,arguments)}),x(m(F),"onBuffer",function(){var $;return($=F.props).onBuffer.apply($,arguments)}),x(m(F),"onBufferEnd",function(){var $;return($=F.props).onBufferEnd.apply($,arguments)}),x(m(F),"onPause",function(){var $;return($=F.props).onPause.apply($,arguments)}),x(m(F),"onEnded",function(){var $;return($=F.props).onEnded.apply($,arguments)}),x(m(F),"onError",function(){var $;return($=F.props).onError.apply($,arguments)}),x(m(F),"onPlayBackRateChange",function($){return F.props.onPlaybackRateChange($.target.playbackRate)}),x(m(F),"onEnablePIP",function(){var $;return($=F.props).onEnablePIP.apply($,arguments)}),x(m(F),"onDisablePIP",function($){var K=F.props,Y=K.onDisablePIP,ee=K.playing;Y($),ee&&F.play()}),x(m(F),"onPresentationModeChange",function($){if(F.player&&(0,r.supportsWebKitPresentationMode)(F.player)){var K=F.player.webkitPresentationMode;K==="picture-in-picture"?F.onEnablePIP($):K==="inline"&&F.onDisablePIP($)}}),x(m(F),"onSeek",function($){F.props.onSeek($.target.currentTime)}),x(m(F),"mute",function(){F.player.muted=!0}
1147),x(m(F),"unmute",function(){F.player.muted=!1}),x(m(F),"renderSourceElement",function($,K){return typeof $=="string"?n.default.createElement("source",{key:K,src:$}):n.default.createElement("source",c({key:K},$))}),x(m(F),"renderTrack",function($,K){return n.default.createElement("track",c({key:K},$))}),x(m(F),"ref",function($){F.player&&(F.prevPlayer=F.player),F.player=$}),F}return d(M,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),E&&this.player.load()}},{key:"componentDidUpdate",value:function(H){this.shouldUseAudio(this.props)!==this.shouldUseAudio(H)&&(this.removeListeners(this.prevPlayer,H.url),this.addListeners(this.player)),this.props.url!==H.url&&!(0,r.isMediaStream)(this.props.url)&&(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(H){var V=this.props,O=V.url,$=V.playsinline;H.addEventListener("play",this.onPlay),H.addEventListener("waiting",this.onBuffer),H.addEventListener("playing",this.onBufferEnd),H.addEventListener("pause",this.onPause),H.addEventListener("seeked",this.onSeek),H.addEventListener("ended",this.onEnded),H.addEventListener("error",this.onError),H.addEventListener("ratechange",this.onPlayBackRateChange),H.addEventListener("enterpictureinpicture",this.onEnablePIP),H.addEventListener("leavepictureinpicture",this.onDisablePIP),H.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(O)||H.addEventListener("canplay",this.onReady),$&&(H.setAttribute("playsinline",""),H.setAttribute("webkit-playsinline",""),H.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(H,V){H.removeEventListener("canplay",this.onReady),H.removeEventListener("play",this.onPlay),H.removeEventListener("waiting",this.onBuffer),H.removeEventListener("playing",this.onBufferEnd),H.removeEventListener("pause",this.onPause),H.removeEventListener("seeked",this.onSeek),H.removeEventListener("ended",this.onEnded),H.removeEventListener("error",this.onError),H.removeEventListener("ratechange",this.onPlayBackRateChange),H.removeEventListener("enterpictureinpicture",this.onEnablePIP),H.removeEventListener("leavepictureinpicture",this.onDisablePIP),H.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(V)||H.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(H){return H.config.forceVideo||H.config.attributes.poster?!1:i.AUDIO_EXTENSIONS.test(H.url)||H.config.forceAudio}},{key:"shouldUseHLS",value:function(H){return this.props.config.forceHLS?!0:E?!1:i.HLS_EXTENSIONS.test(H)||R.test(H)}},{key:"shouldUseDASH",value:function(H){return i.DASH_EXTENSIONS.test(H)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(H){return i.FLV_EXTENSIONS.test(H)||this.props.config.forceFLV}},{key:"load",value:function(H){var V=this,O=this.props.config,$=O.hlsVersion,K=O.hlsOptions,Y=O.dashVersion,ee=O.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(H)&&(0,r.getSDK)(T.replace("VERSION",$),A).then(function(re){if(V.hls=new re(K),V.hls.on(re.Events.MANIFEST_PARSED,function(){V.props.onReady()}),V.hls.on(re.Events.ERROR,function(le,ge){V.props.onError(le,ge,V.hls,re)}),R.test(H)){var ae=H.match(R)[1];V.hls.loadSource(N.replace("{id}",ae))}else V.hls.loadSource(H);V.hls.attachMedia(V.player),V.props.onLoaded()}),this.shouldUseDASH(H)&&(0,r.getSDK)(w.replace("VERSION",Y),S).then(function(re){V.dash=re.MediaPlayer().create(),V.dash.initialize(V.player,H,V.props.playing),V.dash.on("error",V.props.onError),parseInt(Y)<3?V.dash.getDebug().setLogToBrowserConsole(!1):V.dash.updateSettings({debug:{logLevel:re.Debug.LOG_LEVEL_NONE}}),V.props.onLoaded()}),this.shouldUseFLV(H)&&(0,r.getSDK)(k.replace("VERSION",ee),P).then(function(re){V.flv=re.createPlayer({type:"flv",url:H}),V.flv.attachMediaElement(V.player),V.flv.on(re.Events.ERROR,function(ae,le){V.props.onError(ae,le,V.flv,re)}),V.flv.load(),V.props.onLoaded()}),H instanceof Array)this.player.load();else if((0,r.isMediaStream)(H))try{this.player.srcObject=H}catch{this.player.src=window.URL.createObjectURL(H)}}},{key:"play",value:function(){var H=this.player.play();H&&H.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(H){this.player.currentTime=H}},{key:"setVolume",value:function(H){this.player.volume=H}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,r.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="picture-in-picture"&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,r.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="inline"&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(H){try{this.player.playbackRate=H}catch(V){this.props.onError(V)}}},{key:"getDuration",value:function(){if(!this.player)return null;var H=this.player,V=H.duration,O=H.seekable;return V===1/0&&O.length>0?O.end(O.length-1):V}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var H=this.player.buffered;if(H.length===0)return 0;var V=H.end(H.length-1),O=this.getDuration();return V>O?O:V}},{key:"getSource",value:function(H){var V=this.shouldUseHLS(H),O=this.shouldUseDASH(H),$=this.shouldUseFLV(H);if(!(H instanceof Array||(0,r.isMediaStream)(H)||V||O||$))return D.test(H)?H.replace("www.dropbox.com","dl.dropboxusercontent.com"):H}},{key:"render",value:function(){var H=this.props,V=H.url,O=H.playing,$=H.loop,K=H.controls,Y=H.muted,ee=H.config,re=H.width,ae=H.height,le=this.shouldUseAudio(this.props),ge=le?"audio":"video",ke={width:re==="auto"?re:"100%",height:ae==="auto"?ae:"100%"};return n.default.createElement(ge,c({ref:this.ref,src:this.getSource(V),style:ke,preload:"auto",autoPlay:O||void 0,controls:K,muted:Y,loop:$},ee.attributes),V instanceof Array&&V.map(this.renderSourceElement),ee.tracks.map(this.renderTrack))}}]),M}(n.Component);e.default=q,x(q,"displayName","FilePlayer"),x(q,"canPlay",i.canPlay.file)}(eN)),eN}
1147(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=j,n=bn,r=St;function i(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(d){return typeof d}:i=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i(l)}function s(){if(typeof WeakMap!="function")return null;var l=new WeakMap;return s=function(){return l},l}function o(l){if(l&&l.__esModule)return l;if(l===null||i(l)!=="object"&&typeof l!="function")return{default:l};var u=s();if(u&&u.has(l))return u.get(l);var d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in l)if(Object.prototype.hasOwnProperty.call(l,h)){var f=p?Object.getOwnPropertyDescriptor(l,h):null;f&&(f.get||f.set)?Object.defineProperty(d,h,f):d[h]=l[h]}return d.default=l,u&&u.set(l,d),d}var c=[{key:"youtube",name:"YouTube",canPlay:r.canPlay.youtube,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(Q0e())})})},{key:"soundcloud",name:"SoundCloud",canPlay:r.canPlay.soundcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(Z0e())})})},{key:"vimeo",name:"Vimeo",canPlay:r.canPlay.vimeo,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(J0e())})})},{key:"facebook",name:"Facebook",canPlay:r.canPlay.facebook,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(e1e())})})},{key:"streamable",name:"Streamable",canPlay:r.canPlay.streamable,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(t1e())})})},{key:"wistia",name:"Wistia",canPlay:r.canPlay.wistia,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(n1e())})})},{key:"twitch",name:"Twitch",canPlay:r.canPlay.twitch,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(r1e())})})},{key:"dailymotion",name:"DailyMotion",canPlay:r.canPlay.dailymotion,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(a1e())})})},{key:"mixcloud",name:"Mixcloud",canPlay:r.canPlay.mixcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(i1e())})})},{key:"vidyard",name:"Vidyard",canPlay:r.canPlay.vidyard,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(s1e())})})},{key:"kaltura",name:"Kaltura",canPlay:r.canPlay.kaltura,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(o1e())})})},{key:"file",name:"FilePlayer",canPlay:r.canPlay.file,canEnablePIP:function(u){return r.canPlay.file(u)&&(document.pictureInPictureEnabled||(0,n.supportsWebKitPresentationMode)())&&!r.AUDIO_EXTENSIONS.test(u)},lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return o(c1e())})})}];e.default=c})(EV);var gw={},iR=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function l1e(e,t){return!!(e===t||iR(e)&&iR(t))}function u1e(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!l1e(e[n],t[n]))return!1;return!0}function d1e(e,t){t===void 0&&(t=u1e);var n,r=[],i,s=!1;function o(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return s&&n===this&&t(c,r)||(i=e.apply(this,c),s=!0,n=this,r=c),i}return o}const p1e=Object.freeze(Object.defineProperty({__proto__:null,default:d1e},Symbol.toStringTag,{value:"Module"})),f1e=LC(p1e);var tp={},VV={exports:{}},h1e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",m1e=h1e,g1e=m1e;function HV(){}function GV(){}GV.resetWarningCache=HV;var x1e=function(){function e(r,i,s,o,c,l){if(l!==g1e){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:GV,resetWarningCache:HV};return n.PropTypes=n,n};VV.exports=x1e();var y1e=VV.exports;Object.defineProperty(tp,"__esModule",{value:!0});tp.defaultProps=tp.propTypes=void 0;var sl=v1e(y1e);
1147function v1e(e){return e&&e.__esModule?e:{default:e}}var Ia=sl.default.string,Li=sl.default.bool,rf=sl.default.number,tN=sl.default.array,ag=sl.default.oneOfType,ss=sl.default.shape,ti=sl.default.object,Ir=sl.default.func,sR=sl.default.node,b1e={url:ag([Ia,tN,ti]),playing:Li,loop:Li,controls:Li,volume:rf,muted:Li,playbackRate:rf,width:ag([Ia,rf]),height:ag([Ia,rf]),style:ti,progressInterval:rf,playsinline:Li,pip:Li,stopOnUnmount:Li,light:ag([Li,Ia]),playIcon:sR,previewTabIndex:rf,fallback:sR,oEmbedUrl:Ia,wrapper:ag([Ia,Ir,ss({render:Ir.isRequired})]),config:ss({soundcloud:ss({options:ti}),youtube:ss({playerVars:ti,embedOptions:ti,onUnstarted:Ir}),facebook:ss({appId:Ia,version:Ia,playerId:Ia,attributes:ti}),dailymotion:ss({params:ti}),vimeo:ss({playerOptions:ti,title:Ia}),file:ss({attributes:ti,tracks:tN,forceVideo:Li,forceAudio:Li,forceHLS:Li,forceDASH:Li,forceFLV:Li,hlsOptions:ti,hlsVersion:Ia,dashVersion:Ia,flvVersion:Ia}),wistia:ss({options:ti,playerId:Ia,customControls:tN}),mixcloud:ss({options:ti}),twitch:ss({options:ti,playerId:Ia}),vidyard:ss({options:ti})}),onReady:Ir,onStart:Ir,onPlay:Ir,onPause:Ir,onBuffer:Ir,onBufferEnd:Ir,onEnded:Ir,onError:Ir,onDuration:Ir,onSeek:Ir,onPlaybackRateChange:Ir,onProgress:Ir,onClickPreview:Ir,onEnablePIP:Ir,onDisablePIP:Ir};tp.propTypes=b1e;var xa=function(){},w1e={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:xa},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:xa,onStart:xa,onPlay:xa,onPause:xa,onBuffer:xa,onBufferEnd:xa,onEnded:xa,onError:xa,onDuration:xa,onSeek:xa,onPlaybackRateChange:xa,onProgress:xa,onClickPreview:xa,onEnablePIP:xa,onDisablePIP:xa};tp.defaultProps=w1e;var XV={};(function(e){function t(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(S){return typeof S}:t=function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},t(A)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l(j),r=o(kE),i=tp,s=bn;function o(A){return A&&A.__esModule?A:{default:A}}function c(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return c=function(){return A},A}function l(A){if(A&&A.__esModule)return A;if(A===null||t(A)!=="object"&&typeof A!="function")return{default:A};var w=c();if(w&&w.has(A))return w.get(A);var S={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in A)if(Object.prototype.hasOwnProperty.call(A,P)){var D=k?Object.getOwnPropertyDescriptor(A,P):null;D&&(D.get||D.set)?Object.defineProperty(S,P,D):S[P]=A[P]}return S.default=A,w&&w.set(A,S),S}function u(){return u=Object.assign||function(A){for(var w=1;w<arguments.length;w++){var S=arguments[w];for(var k in S)Object.prototype.hasOwnProperty.call(S,k)&&(A[k]=S[k])}return A},u.apply(this,arguments)}function d(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function p(A,w){for(var S=0;S<w.length;S++){var k=w[S];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(A,k.key,k)}}function h(A,w,S){return w&&p(A.prototype,w),A}function f(A,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(w&&w.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),w&&v(A,w)}function v(A,w){return v=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},v(A,w)}function m(A){var w=x();return function(){var k=b(A),P;if(w){var D=b(this).constructor;P=Reflect.construct(k,arguments,D)}else P=k.apply(this,arguments);return y(this,P)}}function y(A,w){return w&&(t(w)==="object"||typeof w=="function")?w:g(A)}function g(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function x(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function b(A){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(S){return S.__proto__||Object.getPrototypeOf(S)},b(A)}function _(A,w,S){return w in A?Object.defineProperty(A,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):A[w]=S,A}var E=5e3,T=function(A){f(S,A);var w=m(S);function S(){var k;d(this,S);for(var P=arguments.length,D=new Array(P),R=0;R<P;R++)D[R]=arguments[R];return k=w.call.apply(w,[this].concat(D)),_(g(k),"mounted",!1),_(g(k),"isReady",!1),_(g(k),"isPlaying",!1),_(g(k),"isLoading",!0),_(g(k),"loadOnReady",null),_(g(k),"startOnPlay",!0),_(g(k),"seekOnPlay",null),_(g(k),"onDurationCalled",!1),_(g(k),"handlePlayerMount",function(N){k.player||(k.player=N,k.player.load(k.props.url),k.progress())}),_(g(k),"getInternalPlayer",function(N){return k.player?k.player[N]:null}),_(g(k),"progress",function(){if(k.props.url&&k.player&&k.isReady){var N=k.getCurrentTime()||0,q=k.get
1147SecondsLoaded(),I=k.getDuration();if(I){var z={playedSeconds:N,played:N/I};q!==null&&(z.loadedSeconds=q,z.loaded=q/I),(z.playedSeconds!==k.prevPlayed||z.loadedSeconds!==k.prevLoaded)&&k.props.onProgress(z),k.prevPlayed=z.playedSeconds,k.prevLoaded=z.loadedSeconds}}k.progressTimeout=setTimeout(k.progress,k.props.progressFrequency||k.props.progressInterval)}),_(g(k),"handleReady",function(){if(k.mounted){k.isReady=!0,k.isLoading=!1;var N=k.props,q=N.onReady,I=N.playing,z=N.volume,M=N.muted;q(),!M&&z!==null&&k.player.setVolume(z),k.loadOnReady?(k.player.load(k.loadOnReady,!0),k.loadOnReady=null):I&&k.player.play(),k.handleDurationCheck()}}),_(g(k),"handlePlay",function(){k.isPlaying=!0,k.isLoading=!1;var N=k.props,q=N.onStart,I=N.onPlay,z=N.playbackRate;k.startOnPlay&&(k.player.setPlaybackRate&&z!==1&&k.player.setPlaybackRate(z),q(),k.startOnPlay=!1),I(),k.seekOnPlay&&(k.seekTo(k.seekOnPlay),k.seekOnPlay=null),k.handleDurationCheck()}),_(g(k),"handlePause",function(N){k.isPlaying=!1,k.isLoading||k.props.onPause(N)}),_(g(k),"handleEnded",function(){var N=k.props,q=N.activePlayer,I=N.loop,z=N.onEnded;q.loopOnEnded&&I&&k.seekTo(0),I||(k.isPlaying=!1,z())}),_(g(k),"handleError",function(){var N;k.isLoading=!1,(N=k.props).onError.apply(N,arguments)}),_(g(k),"handleDurationCheck",function(){clearTimeout(k.durationCheckTimeout);var N=k.getDuration();N?k.onDurationCalled||(k.props.onDuration(N),k.onDurationCalled=!0):k.durationCheckTimeout=setTimeout(k.handleDurationCheck,100)}),_(g(k),"handleLoaded",function(){k.isLoading=!1}),k}return h(S,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(P){var D=this;if(this.player){var R=this.props,N=R.url,q=R.playing,I=R.volume,z=R.muted,M=R.playbackRate,F=R.pip,H=R.loop,V=R.activePlayer,O=R.disableDeferredLoading;if(!(0,r.default)(P.url,N)){if(this.isLoading&&!V.forceLoad&&!O&&!(0,s.isMediaStream)(N)){console.warn("ReactPlayer: the attempt to load ".concat(N," is being deferred until the player has loaded")),this.loadOnReady=N;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(N,this.isReady)}!P.playing&&q&&!this.isPlaying&&this.player.play(),P.playing&&!q&&this.isPlaying&&this.player.pause(),!P.pip&&F&&this.player.enablePIP&&this.player.enablePIP(),P.pip&&!F&&this.player.disablePIP&&this.player.disablePIP(),P.volume!==I&&I!==null&&this.player.setVolume(I),P.muted!==z&&(z?this.player.mute():(this.player.unmute(),I!==null&&setTimeout(function(){return D.player.setVolume(I)}))),P.playbackRate!==M&&this.player.setPlaybackRate&&this.player.setPlaybackRate(M),P.loop!==H&&this.player.setLoop&&this.player.setLoop(H)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(P,D){var R=this;if(!this.isReady){P!==0&&(this.seekOnPlay=P,setTimeout(function(){R.seekOnPlay=null},E));return}var N=D?D==="fraction":P>0&&P<1;if(N){var q=this.player.getDuration();if(!q){console.warn("ReactPlayer: could not seek using fraction â duration not yet available");return}this.player.seekTo(q*P);return}this.player.seekTo(P)}},{key:"render",value:function(){var P=this.props.activePlayer;return P?n.default.createElement(P,u({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),S}(n.Component);e.default=T,_(T,"displayName","Player"),_(T,"propTypes",i.propTypes),_(T,"defaultProps",i.defaultProps)})(XV);var nN={},oR;function j1e(){return oR||(oR=1,function(e){function t(E){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(A){return typeof A}:t=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(E)}
1147Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(j);function r(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return r=function(){return E},E}function i(E){if(E&&E.__esModule)return E;if(E===null||t(E)!=="object"&&typeof E!="function")return{default:E};var T=r();if(T&&T.has(E))return T.get(E);var A={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in E)if(Object.prototype.hasOwnProperty.call(E,S)){var k=w?Object.getOwnPropertyDescriptor(E,S):null;k&&(k.get||k.set)?Object.defineProperty(A,S,k):A[S]=E[S]}return A.default=E,T&&T.set(E,A),A}function s(E,T){var A=Object.keys(E);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(E);T&&(w=w.filter(function(S){return Object.getOwnPropertyDescriptor(E,S).enumerable})),A.push.apply(A,w)}return A}function o(E){for(var T=1;T<arguments.length;T++){var A=arguments[T]!=null?arguments[T]:{};T%2?s(Object(A),!0).forEach(function(w){g(E,w,A[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(A)):s(Object(A)).forEach(function(w){Object.defineProperty(E,w,Object.getOwnPropertyDescriptor(A,w))})}return E}function c(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}function l(E,T){for(var A=0;A<T.length;A++){var w=T[A];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(E,w.key,w)}}function u(E,T,A){return T&&l(E.prototype,T),E}function d(E,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),T&&p(E,T)}function p(E,T){return p=Object.setPrototypeOf||function(w,S){return w.__proto__=S,w},p(E,T)}function h(E){var T=m();return function(){var w=y(E),S;if(T){var k=y(this).constructor;S=Reflect.construct(w,arguments,k)}else S=w.apply(this,arguments);return f(this,S)}}function f(E,T){return T&&(t(T)==="object"||typeof T=="function")?T:v(E)}function v(E){if(E===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(E){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},y(E)}function g(E,T,A){return T in E?Object.defineProperty(E,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):E[T]=A,E}var x="64px",b={},_=function(E){d(A,E);var T=h(A);function A(){var w;c(this,A);for(var S=arguments.length,k=new Array(S),P=0;P<S;P++)k[P]=arguments[P];return w=T.call.apply(T,[this].concat(k)),g(v(w),"mounted",!1),g(v(w),"state",{image:null}),g(v(w),"handleKeyPress",function(D){(D.key==="Enter"||D.key===" ")&&w.props.onClick()}),w}return u(A,[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(S){var k=this.props,P=k.url,D=k.light;(S.url!==P||S.light!==D)&&this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(S){var k=this,P=S.url,D=S.light,R=S.oEmbedUrl;
1147if(typeof D=="string"){this.setState({image:D});return}if(b[P]){this.setState({image:b[P]});return}return this.setState({image:null}),window.fetch(R.replace("{url}",P)).then(function(N){return N.json()}).then(function(N){if(N.thumbnail_url&&k.mounted){var q=N.thumbnail_url.replace("height=100","height=480");k.setState({image:q}),b[P]=q}})}},{key:"render",value:function(){var S=this.props,k=S.onClick,P=S.playIcon,D=S.previewTabIndex,R=this.state.image,N={display:"flex",alignItems:"center",justifyContent:"center"},q={preview:o({width:"100%",height:"100%",backgroundImage:R?"url(".concat(R,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},N),shadow:o({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:x,width:x,height:x},N),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},I=n.default.createElement("div",{style:q.shadow,className:"react-player__shadow"},n.default.createElement("div",{style:q.playIcon,className:"react-player__play-icon"}));return n.default.createElement("div",{style:q.preview,className:"react-player__preview",onClick:k,tabIndex:D,onKeyPress:this.handleKeyPress},P||I)}}]),A}(n.Component);e.default=_}(nN)),nN}Object.defineProperty(gw,"__esModule",{value:!0});gw.createReactPlayer=void 0;var pd=YV(j),_1e=xw(DV),rN=xw(f1e),cR=xw(kE),wg=tp,N1e=bn,C1e=xw(XV);function xw(e){return e&&e.__esModule?e:{default:e}}function $g(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$g=function(n){return typeof n}:$g=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},$g(e)}function lR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function uR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lR(Object(n),!0).forEach(function(r){er(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lR(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function p1(){return p1=Object.assign||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},p1.apply(this,arguments)}function aN(e){return A1e(e)||D1e(e)||S1e(e)||E1e()}function E1e(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 1148In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function S1e(e,t){if(e){if(typeof e=="string")return _C(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _C(e,t)}}function D1e(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function A1e(e){if(Array.isArray(e))return _C(e)}function _C(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k1e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T1e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P1e(e,t,n){return t&&T1e(e.prototype,t),e}function L1e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NC(e,t)}function NC(e,t){return NC=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},NC(e,t)}function R1e(e){var t=I1e();return function(){var r=f1(e),i;if(t){var s=f1(this).constructor;i=Reflect.construct(r,arguments,s)}else i=r.apply(this,arguments);return O1e(this,i)}}function O1e(e,t){return t&&($g(t)==="object"||typeof t=="function")?t:ya(e)}function ya(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I1e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}
1148function f1(e){return f1=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},f1(e)}function er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KV(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return KV=function(){return e},e}function YV(e){if(e&&e.__esModule)return e;if(e===null||$g(e)!=="object"&&typeof e!="function")return{default:e};var t=KV();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=r?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var U1e=(0,pd.lazy)(function(){return Promise.resolve().then(function(){return YV(j1e())})}),F1e=typeof window<"u"&&window.document,M1e=typeof Dt<"u"&&Dt.window&&Dt.window.document,q1e=Object.keys(wg.propTypes),B1e=F1e||M1e?pd.Suspense:function(){return null},ig=[],z1e=function(t,n){var r,i;return i=r=function(s){L1e(c,s);var o=R1e(c);function c(){var l;k1e(this,c);for(var u=arguments.length,d=new Array(u),p=0;p<u;p++)d[p]=arguments[p];return l=o.call.apply(o,[this].concat(d)),er(ya(l),"state",{showPreview:!!l.props.light}),er(ya(l),"references",{wrapper:function(f){l.wrapper=f},player:function(f){l.player=f}}),er(ya(l),"handleClickPreview",function(h){l.setState({showPreview:!1}),l.props.onClickPreview(h)}),er(ya(l),"showPreview",function(){l.setState({showPreview:!0})}),er(ya(l),"getDuration",function(){return l.player?l.player.getDuration():null}),er(ya(l),"getCurrentTime",function(){return l.player?l.player.getCurrentTime():null}),er(ya(l),"getSecondsLoaded",function(){return l.player?l.player.getSecondsLoaded():null}),er(ya(l),"getInternalPlayer",function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return l.player?l.player.getInternalPlayer(h):null}),er(ya(l),"seekTo",function(h,f){if(!l.player)return null;l.player.seekTo(h,f)}),er(ya(l),"handleReady",function(){l.props.onReady(ya(l))}),er(ya(l),"getActivePlayer",(0,rN.default)(function(h){for(var f=0,v=[].concat(ig,aN(t));f<v.length;f++){var m=v[f];if(m.canPlay(h))return m}return n||null})),er(ya(l),"getConfig",(0,rN.default)(function(h,f){var v=l.props.config;return _1e.default.all([wg.defaultProps.config,wg.defaultProps.config[f]||{},v,v[f]||{}])})),er(ya(l),"getAttributes",(0,rN.default)(function(h){return(0,N1e.omit)(l.props,q1e)})),er(ya(l),"renderActivePlayer",function(h){if(!h)return null;var f=l.getActivePlayer(h);if(!f)return null;var v=l.getConfig(h,f.key);return pd.default.createElement(C1e.default,p1({},l.props,{key:f.key,ref:l.references.player,config:v,activePlayer:f.lazyPlayer||f,onReady:l.handleReady}))}),l}return P1e(c,[{key:"shouldComponentUpdate",value:function(u,d){return!(0,cR.default)(this.props,u)||!(0,cR.default)(this.state,d)}},{key:"componentDidUpdate",value:function(u){var d=this.props.light;!u.light&&d&&this.setState({showPreview:!0}),u.light&&!d&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(u){if(!u)return null;var d=this.props,p=d.light,h=d.playIcon,f=d.previewTabIndex,v=d.oEmbedUrl;return pd.default.createElement(U1e,{url:u,light:p,playIcon:h,previewTabIndex:f,oEmbedUrl:v,onClick:this.handleClickPreview})}},{key:"render",value:function(){var u=this.props,d=u.url,p=u.style,h=u.width,f=u.height,v=u.fallback,m=u.wrapper,y=this.state.showPreview,g=this.getAttributes(d);return pd.default.createElement(m,p1({ref:this.references.wrapper,style:uR(uR({},p),{},{width:h,height:f})},g),pd.default.createElement(B1e,{fallback:v},y?this.renderPreview(d):this.renderActivePlayer(d)))}}]),c}(pd.Component),er(r,"displayName","ReactPlayer"),er(r,"propTypes",wg.propTypes),er(r,"defaultProps",wg.defaultProps),er(r,"addCustomPlayer",function(s){ig.push(s)}),er(r,"removeCustomPlayers",function(){ig.length=0}),er(r,"canPlay",function(s){for(var o=0,c=[].concat(ig,aN(t));o<c.length;o++){var l=c[o];if(l.canPlay(s))return!0}return!1}),er(r,"canEnablePIP",function(s){for(var o=0,c=[].concat(ig,aN(t));o<c.length;o++){var l=c[o];if(l.canEnablePIP&&l.canEnablePIP(s))return!0}return!1}),i};gw.createReactPlayer=z1e;
1148(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(EV),n=gw;function r(o){return o&&o.__esModule?o:{default:o}}var i=t.default[t.default.length-1],s=(0,n.createReactPlayer)(t.default,i);e.default=s})(CV);const $1e=Ih(CV);function W1e(e,t){const[n,r]=j.useState(null),[i,s]=j.useState(!1),[o,c]=j.useState(null),l=j.useCallback(async()=>{if(e){s(!0),c(null);try{const{data:h,error:f}=await Ye.rpc("get_user_video_progress",{p_lesson_id:e});if(f)throw f;h&&Array.isArray(h)&&h.length>0?r(h[0]):r({watched_time:0,duration:0,progress_percentage:0,is_completed:!1,last_watched_at:new Date().toISOString()})}catch(h){console.error("Error loading video progress:",h),c(h instanceof Error?h.message:"Error desconocido")}finally{s(!1)}}},[e]),u=j.useCallback(async(h,f,v=!1)=>{if(!(!e||!t))try{const m=f>0?Math.min(h/f*100,100):0,y=m>=95,g=(n==null?void 0:n.is_completed)||v||y,{error:x}=await Ye.rpc("update_video_progress",{p_lesson_id:e,p_video_url:t,p_watched_time:h,p_duration:f,p_is_completed:g});if(x)throw x;r({watched_time:h,duration:f,progress_percentage:g?100:m,is_completed:g,last_watched_at:new Date().toISOString()})}catch(m){console.error("Error updating video progress:",m),c(m instanceof Error?m.message:"Error al actualizar progreso")}},[e,t]),d=j.useCallback(async()=>{n&&await u(n.duration,n.duration,!0)},[n,u]),p=j.useCallback(async()=>{if(!(!e||!t))try{await u(0,0,!1),r({watched_time:0,duration:0,progress_percentage:0,is_completed:!1,last_watched_at:new Date().toISOString()})}catch(h){console.error("Error resetting video progress:",h),c(h instanceof Error?h.message:"Error al resetear progreso")}},[e,t,u]);return j.useEffect(()=>{l()},[l]),{progress:n,loading:i,error:o,updateProgress:u,markAsCompleted:d,resetProgress:p}}function V1e(){const e=Xt(),{toast:t}=ar(),n=j.useCallback(async(l,u)=>{try{const{data:d,error:p}=await Ye.functions.invoke("get-lesson-details",{body:{lesson_id:l}});if(p||!(d!=null&&d.lesson))return console.error("Error getting current lesson:",p),null;const{data:h,error:f}=await Ye.functions.invoke("get-module-details",{body:{module_id:u}});if(f||!(h!=null&&h.module))return console.error("Error getting module details:",f),null;const m=(h.module.lessons||[]).filter(g=>g.is_active).sort((g,x)=>g.index_order-x.index_order),y=m.findIndex(g=>g.id===l);return y===-1||y>=m.length-1?null:m[y+1]}catch(d){return console.error("Error in getNextLesson:",d),null}},[]),r=j.useCallback(async l=>{try{const{data:u,error:d}=await Ye.functions.invoke("get-module-details",{body:{module_id:l}});if(d||!(u!=null&&u.module))return console.error("Error getting current module:",d),null;const p=u.module,{data:h,error:f}=await Ye.functions.invoke(`get-course-details?course_id=${p.course_id}`);if(f||!(h!=null&&h.course))return console.error("Error getting course details:",f),null;const m=(h.course.modules||[]).filter(g=>g.is_active).sort((g,x)=>g.index_order-x.index_order),y=m.findIndex(g=>g.module_id===l);return y===-1||y>=m.length-1?null:m[y+1]}catch(u){return console.error("Error in getNextModule:",u),null}},[]),i=j.useCallback(async l=>{try{const{data:u,error:d}=await Ye.functions.invoke("get-module-details",{body:{module_id:l}});if(d||!(u!=null&&u.module))return console.error("Error getting module details:",d),null;const h=(u.module.lessons||[]).filter(f=>f.is_active).sort((f,v)=>f.index_order-v.index_order);return h.length===0?null:h[0]}catch(u){return console.error("Error in getFirstLessonOfModule:",u),null}},[]),s=j.useCallback(async(l,u)=>{try{const d=await n(l,u);d?(t({title:"Siguiente lección",description:`Continuando con: ${d.name}`}),e(`/module/${u}/lesson/${d.id}`)):await o(u)}catch(d){console.error("Error navigating to next lesson:",d),t({title:"Error de navegación",description:"No se pudo cargar la siguiente lección",variant:"destructive"})}},[n,e,t]),o=j.useCallback(async l=>{try{const u=await r(l);u?(t({title:"Nuevo módulo",description:`Iniciando: ${u.name}`}),await c(u.id)):(t({title:"¡Felicidades! ð",description:"Has completado todos los módulos disponibles"}),e("/dashboard"))}catch(u){console.error("Error navigating to next module:",u),t({title:"Error de navegación",description:"No se pudo cargar el siguiente m
1148ódulo",variant:"destructive"})}},[r,e,t]),c=j.useCallback(async l=>{try{const u=await i(l);u?e(`/module/${l}/lesson/${u.id}`):(t({title:"Módulo sin lecciones",description:"Este módulo no tiene lecciones disponibles",variant:"destructive"}),e(`/module/${l}`))}catch(u){console.error("Error navigating to first lesson:",u),t({title:"Error de navegación",description:"No se pudo cargar la primera lección",variant:"destructive"})}},[i,e,t]);return{goToNextLesson:s,goToNextModule:o,goToFirstLessonOfModule:c}}function H1e({url:e,thumbnailUrl:t,title:n="Video",className:r="",lessonId:i,moduleId:s,onVideoEnded:o}){const[c,l]=j.useState(null),[u,d]=j.useState(!1),[p,h]=j.useState(10),[f,v]=j.useState(!1),[m,y]=j.useState(0),[g,x]=j.useState(0),{progress:b,updateProgress:_,markAsCompleted:E}=W1e(i||null,e),{goToNextLesson:T}=V1e(),A=q=>{console.error("Error del video:",q),l("No se pudo cargar el video. Puede que el video sea privado o no esté disponible.")},w=()=>{console.log("Video listo para reproducir"),l(null)},S=()=>{console.log("Video iniciado")},k=async()=>{d(!1),v(!1),h(10),i&&s&&await T(i,s)};j.useEffect(()=>{let q=null;return f&&p>0&&(q=setInterval(()=>{h(I=>I<=1?(v(!1),k(),0):I-1)},1e3)),()=>{q&&clearInterval(q)}},[f,p,k]);const P=()=>{console.log("Video terminado"),d(!0),v(!0),h(10),i&&E(),o==null||o()},D=()=>{v(!1),h(10)},R=q=>{y(q.playedSeconds),i&&Math.floor(q.playedSeconds)%5===0&&!(b!=null&&b.is_completed)&&_(q.playedSeconds,g)},N=q=>{x(q)};return j.useEffect(()=>{b&&b.watched_time>0&&y(b.watched_time)},[b]),a.jsx(nt,{className:`overflow-hidden ${r}`,children:a.jsx(it,{className:"p-0",children:a.jsxs("div",{className:"relative aspect-video bg-black rounded-t-lg",children:[u&&a.jsx("div",{className:"absolute inset-0 z-10 flex items-center justify-center bg-gradient-to-b from-transparent via-black/50 to-black/80",children:a.jsx("div",{className:"text-center text-white p-8 max-w-md",children:f?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"mb-6",children:[a.jsxs("div",{className:"w-20 h-20 mx-auto mb-4 relative",children:[a.jsx("div",{className:"w-full h-full rounded-full border-4 border-white/30",children:a.jsx("div",{className:"w-full h-full rounded-full border-4 border-white border-t-transparent animate-spin",style:{animationDuration:"1s"}})}),a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("span",{className:"text-2xl font-bold",children:p})})]}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:"Reproducción automática"}),a.jsxs("p",{className:"text-sm text-white/80",children:["Continuando en ",p," segundos..."]})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs(Ce,{onClick:k,className:"w-full bg-primary hover:bg-primary/90 text-white",children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),"Siguiente"]}),a.jsxs(Ce,{onClick:D,variant:"secondary",className:"w-full bg-white/20 border border-white/30 text-white hover:bg-white/30 hover:text-white",children:[a.jsx(rl,{className:"w-4 h-4 mr-2"}),"Cancelar"]})]})]}):a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"mb-6",children:[a.jsx(pi,{className:"w-16 h-16 mx-auto mb-4 text-white/80"}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:"¡Video completado!"}),a.jsx("p",{className:"text-sm text-white/80",children:"¿Listo para continuar?"})]}),a.jsxs(Ce,{onClick:k,className:"w-full bg-primary hover:bg-primary/90 text-white",children:[a.jsx(pi,{className:"w-4 h-4 mr-2"}),"Continuar"]})]})})}),c?a.jsx("div",{className:"flex items-center justify-center h-full bg-gray-900 text-white p-8",children:a.jsxs("div",{className:"text-center",children:[a.jsx(x3,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-semibold mb-2",children:"Video no disponible"}),a.jsx("p",{className:"text-gray-300 text-sm mb-4",children:c}),a.jsxs("div",{className:"space-y-2 text-xs text-gray-400",children:[a.jsx("p",{children:"Posibles causas:"}),a.jsxs("ul",{className:"list-disc list-inside space-y-1",children:[a.jsx("li",{children:"El video es privado y requiere permisos especiales"}),a.jsx("li",{children:"El video no está disponible en tu región"}),a.jsx("li",{children:"El enlace del video ha expirado"})]})]})]})}):a.jsx("div",{className:"w-full h-full",children:a.jsx($1e,{url:e,controls:!0,height:"100%",width:"100%",played:b!=null&&b.watched_time&&g>0?b.watched_time/g:0,onProgress:R,onDuration:N,onEnded:P,onError:A,onReady:w,onStart:S})})]})})})}function G1e(){var l,u,d,p;const{moduleId:e,lessonId:t}=KU(),n=Xt(),{lesson:r,loading:i,error:s,refetch:o}=_fe(t||null),c=h=>{const f=Math.floor(h/60),v=h%60;return`${f}:${v.toString().padStart(2,"0")}`};return i?a.jsx("div",{className:"min-h-screen bg-gradient-subtle flex items-center justify-center",children:a.jsx(nt,{className:"w-full max-w-md",children:a.jsxs(it,{className:"pt-6 text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary mx-auto mb-4"}),a.jsx("p",{children:"Cargando lección..."})]})})}):s||!r?a.jsx("div",{className:"min-h-screen bg-gradient-subtle flex items-center justify-center",children:a.jsx(nt,{className:"w-full max-w-md",children:a.jsxs(it,{className:"pt-6 text-center",children:[a.jsx("p",{className:"text-destructive mb-4",children:s||"Lección no encontrada"}),a.jsxs(Ce,{onClick:()=>n(`/module/${e}`),variant:"outline",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al Módulo"]})]})})}):a.jsx("div",{className:"min-h-screen bg-gradient-subtle",children:a.jsxs("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[a.jsxs("div",{className:"mb-8",children:[a.jsx("div",{className:"flex items-center justify-between mb-6",children:a.jsxs(Ce,{variant:"ghost",onClick:()=>n(`/module/${e}`),className:"text-muted-foreground hover:text-foreground transition-colors",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver al Módulo"]})}),a.jsx("div",{className:"bg-card rounded-2xl shadow-elegant p-8 border border-border/50 backdrop-blur-sm",children:a.jsx("div",{className:"flex items-start justify-between",children:a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[a.jsx(Ln,{variant:"outline",className:"bg-primary/10 text-primary border-primary/20 hover:bg-primary/15 transition-colors",children:((u=(l=r.module)==null?void 0:l.course)==null?void 0:u.name)||"E-Learning"}),a.jsx(Ln,{variant:"outline",className:"bg-secondary/10 text-secondary border-secondary/20",children:((d=r.module)==null?void 0:d.name)||"Módulo"})]}),a.jsx("h1",{className:"text-4xl font-bold text-foreground mb-4 leading-tight bg-gradient-primary bg-clip-text text-transparent",children:r.name}),a.jsx("div",{className:"text-lg text-muted-foreground mb-6 prose prose-lg max-w-none prose-headings:text-foreground prose-strong:text-foreground",dangerouslySetInnerHTML:{__html:r.description}}),a.jsxs("div",{className:"flex items-center gap-6 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2 bg-primary/5 px-4 py-2 rounded-full border border-primary/10",children:[a.jsx(En,{className:"w-4 h-4 text-primary"}),a.jsx("span",{className:"font-medium text-foreground",children:c(r.duration)})]}),a.jsxs("div",{className:"flex items-center gap-2 bg-success/5 px-4 py-2 rounded-full border border-success/10",children:[a.jsx(Bd,{className:"w-4 h-4 text-success"}),a.jsx("span",{className:"font-medium text-foreground",children:(r.type||"Lección").charAt(0).toUpperCase()+(r.type||"Lección").slice(1)})]}),r.speaker&&a.jsxs("div",{className:"flex items-center gap-2 bg-accent/5 px-4 py-2 rounded-full border border-accent/10",children:[a.jsx(Bo,{className:"w-4 h-4 text-accent"}),a.jsxs("span",{className:"font-medium text-foreground",children:[r.speaker.names," ",r.speaker.last_names]})]})]})]})})})]}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[r.url&&r.type==="video"?a.jsx(H1e,{url:r.url,thumbnailUrl:r.thumbnail_url,title:r.name,lessonId:r.id,moduleId:e,onVideoEnded:()=>{console.log("Video terminado, actualizando progreso...")}}):a.jsx(nt,{children:a.jsxs(it,{className:"p-8 text-center",children:[a.jsx(x3,{className:"w-16 h-16 text-muted-foreground mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:"Video no dis
1148ponible"}),a.jsx("p",{className:"text-muted-foreground",children:"Esta lección no contiene video o el video aún no está disponible."})]})}),r.speaker&&a.jsxs(nt,{children:[a.jsx(kt,{children:a.jsxs(Tt,{className:"flex items-center gap-2 text-base",children:[a.jsx(Bo,{className:"w-4 h-4 text-primary"}),"Instructor"]})}),a.jsx(it,{children:a.jsxs("div",{className:"flex items-center gap-3",children:[r.speaker.photo_url?a.jsx("img",{src:r.speaker.photo_url,alt:r.speaker.names,className:"w-12 h-12 rounded-full border-2 border-card shadow-sm object-cover"}):a.jsx("div",{className:"w-12 h-12 rounded-full border-2 border-card shadow-sm bg-primary/10 flex items-center justify-center",children:a.jsx(Bo,{className:"w-6 h-6 text-primary"})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsxs("h4",{className:"font-semibold text-foreground text-sm",children:[r.speaker.names," ",r.speaker.last_names]}),a.jsx("p",{className:"text-xs text-muted-foreground",children:r.speaker.position})]})]})})]}),r.resources&&r.resources.length>0&&a.jsxs(nt,{children:[a.jsx(kt,{children:a.jsxs(Tt,{className:"flex items-center gap-2 text-base",children:[a.jsx(Oc,{className:"w-4 h-4 text-primary"}),"Material de Apoyo"]})}),a.jsx(it,{children:a.jsx("div",{className:"space-y-3",children:(p=r==null?void 0:r.resources)==null?void 0:p.map((h,f)=>a.jsxs("div",{className:"flex items-center gap-3 p-3 rounded-lg border border-border/50 hover:bg-muted/50 transition-colors",children:[a.jsx("div",{className:"flex-1 min-w-0",children:h.resource_type==="url"?(()=>{var m;const v=((m=h.resource_url)==null?void 0:m.split("|").map(y=>y.trim()).filter(y=>y))||[];return a.jsx("div",{className:"flex flex-col gap-2",children:v.map((y,g)=>{const x=y.replace(/^https?:\/\//,"").split("/")[0];return a.jsxs("a",{href:y,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 text-sm font-medium text-primary hover:text-primary/80 hover:underline transition-colors",children:[a.jsx(zd,{className:"w-4 h-4"}),x]},g)})})})():a.jsx(a.Fragment,{children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsx("div",{className:"flex-shrink-0",children:h.resource_type==="video"?a.jsx(x3,{className:"w-5 h-5 text-primary"}):h.resource_type==="pdf"?a.jsx(br,{className:"w-5 h-5 text-primary"}):a.jsx(Oc,{className:"w-5 h-5 text-primary"})}),a.jsxs("div",{className:"flex-1 min-w-0",children:[a.jsx("p",{className:"text-sm font-medium text-foreground truncate",children:h.name}),h.description&&a.jsx("p",{className:"text-xs text-muted-foreground truncate",children:h.description})]})]})})}),h.resource_type!=="url"&&a.jsx(Ce,{size:"sm",variant:"outline",className:"flex-shrink-0",onClick:()=>window.open(h.resource_url,"_blank"),children:a.jsx(Oc,{className:"w-4 h-4"})})]},f))})})]})]}),a.jsx("div",{className:"space-y-6",children:a.jsxs(nt,{children:[a.jsx(kt,{children:a.jsxs(Tt,{className:"flex items-center gap-2",children:[a.jsx(br,{className:"w-5 h-5 text-primary"}),"Contenido de la Lección"]})}),a.jsx(it,{children:a.jsx("div",{className:"prose prose-sm max-w-none prose-headings:text-foreground prose-strong:text-foreground prose-p:text-muted-foreground",dangerouslySetInnerHTML:{__html:r.content||r.description}})})]})})]})]})})}function X1e(){j.useEffect(()=>{if(typeof window>"u"||sessionStorage.getItem("registrationCode"))return;const n=new URLSearchParams(window.location.search).get("code");n&&sessionStorage.setItem("registrationCode",n)},[])}const K1e=(e={})=>{const{debounceMs:t=5*60*1e3,trackOnMount:n=!0,trackOnFocus:r=!0,trackOnVisibilityChange:i=!0}=e,{user:s}=Vr(),o=j.useRef(0),c=j.useRef(null),l=j.useRef(!1),u=j.useCallback(()=>{const f=navigator.userAgent,v=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(f),m=/iPad|Android(?=.*\bMobile\b)/i.test(f),y=v?"mobile":m?"tablet":"desktop";let g="Unknown";f.includes("Chrome")?g="Chrome":f.includes("Firefox")?g="Firefox":f.includes("Safari")?g="Safari":f.includes("Edge")&&(g="Edge");let x="Unknown";return f.includes("Windows")?x="Windows":f.includes("Mac")?x="macOS":f.includes("Linux")?x="Linux":f.includes("Android")?x="Android":f.includes("iOS")&&(x="iOS"),{user_agent:f,device_type:y,browser:g,os:x}},[]),d=j.useCallback(async f=>{if(!s||l.current)return;const v=Date.now(),m=v-o.current;try{const{data:y,error:g}=await Ye.from("user_sessions").select("session_start").eq("user_id",s.id).eq("is_active",!0).order("session_start",{ascending:!1}).limit(1).single();if(!g&&y){const x=new Date(y.session_start).getTime(),b=v-x,_=60*1e3;if(b<_){console.log(`â³ Session too recent in DB. Time since last session: ${Math.round(b/1e3)}s (min: 60s)`);return}}}catch(y){console.warn("â ï¸ Error checking last session in DB:",y)}if(m<t){console.log(`â³ Session tracking debounced locally. Time since last session: ${Math.round(m/1e3)}s (min: ${Math.round(t/1e3)}s)`);return}l.current=!0,o.current=v;try{const y=u(),g={user_id:s.id,...y,...f};console.log("ð Tracking user session:",g);const{data:x,error:b}=await Ye.functions.invoke("track-user-session",{body:g});b&&console.error("â Error tracking session:",b)}catch(y){console.error("â Exception tracking session:",y)}finally{l.current=!1}},[s,t,u]),p=j.useCallback(f=>{c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{d(f)},1e3)},[d]);return j.useEffect(()=>{n&&s&&p()},[s,n,p]),j.useEffect(()=>{if(!r)return;const f=()=>{s&&p()};return window.addEventListener("focus",f),()=>window.removeEventListener("focus",f)},[s,r,p]),j.useEffect(()=>{if(!i)return;const f=()=>{s&&!document.hidden&&p()};return document.addEventListener("visibilitychange",f),()=>document.removeEventListener("visibilitychange",f)},[s,i,p]),j.useEffect(()=>{if(!s)return;const f=()=>{if(l.current)return;const m={user_id:s.id,session_end:new Date().toISOString(),is_active:!1,action:"session_end"};if(navigator.sendBeacon){const y=new Blob([JSON.stringify(m)],{type:"application/json"});navigator.sendBeacon("undefined/functions/v1/track-user-session",y)}};window.addEventListener("beforeunload",f);const v=()=>{if(s){const m={user_id:s.id,session_end:new Date().toISOString(),is_active:!1,action:"page_hide"};fetch("undefined/functions/v1/track-user-session",{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer undefined"},body:JSON.stringify(m),keepalive:!0}
1148).catch(y=>{console.error("Error marking session as inactive:",y)})}};return window.addEventListener("pagehide",v),()=>{window.removeEventListener("beforeunload",f),window.removeEventListener("pagehide",v)}},[s]),j.useEffect(()=>()=>{c.current&&clearTimeout(c.current)},[]),{trackSession:j.useCallback(f=>{p(f)},[p]),isTracking:l.current}},Y1e=(e={})=>{const{checkInterval:t=5*60*1e3,maxInactiveTime:n=2*60*60*1e3}=e,{user:r}=Vr(),i=j.useRef(Date.now()),s=j.useRef(null),o=()=>{i.current=Date.now()},c=async()=>{if(r)try{const{data:d,error:p}=await Ye.from("user_sessions").select("id, session_start, is_active").eq("user_id",r.id).eq("is_active",!0).order("session_start",{ascending:!1}).limit(1);if(p){console.error("â Error checking active sessions:",p);return}if(d&&d.length>0){const h=d[0],f=new Date(h.session_start);if(new Date().getTime()-f.getTime()>n){console.log("ð Session is too old, marking as inactive");const{error:y}=await Ye.from("user_sessions").update({is_active:!1,session_end:new Date().toISOString()}).eq("id",h.id);y?console.error("â Error marking old session as inactive:",y):console.log("â Old session marked as inactive")}}}catch(d){console.error("â Exception checking active sessions:",d)}},l=()=>{if(!document.hidden&&r){const p=Date.now()-i.current;console.log(`ð User returned to app after ${Math.round(p/1e3)}s`),p>5*60*1e3&&(console.log("ð User was away for a while, checking sessions..."),c()),o()}},u=()=>{o()};return j.useEffect(()=>{if(!r)return;document.addEventListener("visibilitychange",l);const d=["mousedown","mousemove","keypress","scroll","touchstart"];return d.forEach(p=>{document.addEventListener(p,u,{passive:!0})}),s.current=setInterval(c,t),c(),()=>{document.removeEventListener("visibilitychange",l),d.forEach(p=>{document.removeEventListener(p,u)}),s.current&&clearInterval(s.current)}},[r,t,n]),j.useEffect(()=>()=>{s.current&&clearInterval(s.current)},[]),{lastActivity:i.current,checkActiveSessions:c}},QV=e=>`nps_last_prompt_${e}`;function Q1e(e,t){if(typeof window>"u")return!1;try{const n=window.localStorage.getItem(QV(e));if(!n)return!1;const r=parseInt(n,10);return Number.isNaN(r)?!1:Date.now()-r<t*24*60*60*1e3}catch{return!1}}function dR(e){if(!(typeof window>"u"))try{window.localStorage.setItem(QV(e),String(Date.now()))}catch{}}function Z1e(e={}){const{minFeaturesRequired:t=3,minDaysBetweenPrompts:n=7,enabled:r=!0}=e,{user:i}=Vr(),[s,o]=j.useState(!1),[c,l]=j.useState([]),[u,d]=j.useState(!0),p=j.useCallback(async()=>{if(!i||!r){d(!1);return}try{const{data:f,error:v}=await Ye.from("nps_responses").select("id").eq("user_id",i.id).maybeSingle();if(v){console.error("Error checking existing NPS:",v),d(!1);return}if(f){o(!1),d(!1);return}const{data:m,error:y}=await Ye.from("feature_usage").select("feature_type").eq("user_id",i.id);if(y){console.error("Error checking feature usage:",y),d(!1);return}const g=(m||[]).map(x=>x.feature_type);if(l(g),g.length>=t){if(Q1e(i.id,n)){o(!1),d(!1);return}dR(i.id),o(!0)}else o(!1)}catch(f){console.error("Exception checking NPS status:",f),o(!1)}finally{d(!1)}},[i,r,t,n]);j.useEffect(()=>{i&&r&&p()},[i==null?void 0:i.id,r,p]),j.useEffect(()=>{if(!i||!r)return;const f=()=>{p()};window.addEventListener("feature-tracked",f);const v=setInterval(()=>{!s&&!u&&p()},1e3);return()=>{window.removeEventListener("feature-tracked",f),clearInterval(v)}},[i,r,s,u,p]);const h=j.useCallback(()=>{o(!1),i&&dR(i.id)},[i]);return{shouldShowNPS:s,featuresUsed:c,isChecking:u,checkNPSStatus:p,handleNPSClose:h}}function J1e({isOpen:e,onClose:t,featuresUsed:n}){const[r,i]=j.useState(null),[s,o]=j.useState(""),[c,l]=j.useState(!1),{user:u}=Vr(),{toast:d}=ar();j.useEffect(()=>{e&&(i(null),o(""))},[e]);const p=async()=>{if(!r||!u){d({title:"Error",description:"Por favor selecciona una calificación",variant:"destructive"});return}l(!0);try{const{error:f}=await Ye.from("nps_responses").insert({user_id:u.id,rating:r,comment:s.trim()||null,features_used:n});if(f)throw f;d({title:"¡Gracias por tu feedback!",description:"Tu opinión es muy valiosa para nosotros"}),setTimeout(()=>{t()},500)}catch(f){console.error("Error submitting NPS:",f),d({title:"Error",description:"No se pudo enviar tu feedback. Por favor intenta de nuevo.",variant:"destructive"})}finally{l(!1)}},h=()=>{t()};return a.jsx(Go,{open:e,onOpenChange:t,children:a.jsxs(so,{className:"sm:max-w-[600px]",children:[a.jsx(Xo,{children:a.jsx(oo,{className:"flex items-center gap-2 text-2xl font-bold text-primary",children:"¡Gracias por usar nuestra plataforma!"})}),a.jsxs("div",{className:"space-y-6 py-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:"¿Qué tanto recomendarÃas el servicio de Emplity a un amigo/familiar?"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Este feedback es muy importante para nosotros para mejorar."})]}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground mb-2",children:[a.jsx("span",{children:"Muy mala"}),a.jsx("span",{children:"Excelente"})]}),a.jsx("div",{className:"flex items-center justify-between gap-2",children:[1,2,3,4,5,6,7,8,9,10].map(f=>a.jsx("button",{type:"button",onClick:()=>i(f),className:` 1149 w-12 h-12 rounded-full border-2 flex items-center justify-center 1150 font-semibold text-sm transition-all duration-200 1151 ${r===f?"bg-primary border-primary text-primary-foreground shadow-md scale-110":"bg-background border-border text-foreground hover:border-primary hover:bg-primary/10 dark:hover:bg-primary/20"} 1152 `,children:f},f))})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(Hi,{placeholder:"Comparte tus comentarios adicionales (opcional)...",value:s,onChange:f=>o(f.target.value),className:"min-h-[120px] resize-y",maxLength:1e3}),a.jsxs("p",{className:"text-xs text-muted-foreground text-right",children:[s.length,"/1000"]})]}),a.jsxs("div",{className:"flex items-center justify-end gap-3 pt-4",children:[a.jsx(Ce,{type:"button",variant:"outline",onClick:h,disabled:c,
1152className:"min-w-[100px]",children:"Omitir"}),a.jsx(Ce,{type:"button",onClick:p,disabled:!r||c,variant:"default",className:"min-w-[100px]",children:c?"Enviando...":"Enviar"})]})]})]})})}const e2e=()=>a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(mr,{title:"Términos y Condiciones | Emplicity",description:"Consulta los términos y condiciones del programa de empleabilidad Emplicity.",canonicalPath:"/terms-conditions"}),a.jsx(Rr,{}),a.jsx("div",{className:"container mx-auto px-4 py-20",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsx(je,{to:"/",children:a.jsxs(Ce,{variant:"ghost",className:"mb-8",children:[a.jsx($a,{className:"mr-2 w-4 h-4"}),"Volver al inicio"]})}),a.jsx("h1",{className:"font-display text-5xl font-black mb-8",children:"Términos y Condiciones"}),a.jsxs("div",{className:"prose prose-lg max-w-none space-y-6 text-foreground/90",children:[a.jsxs("p",{className:"text-muted-foreground",children:["Ãltima actualización: ",new Date().getFullYear()]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"1. Aceptación de los Términos"}),a.jsx("p",{children:"Al acceder y utilizar los servicios de Emplicity, usted acepta estar sujeto a estos Términos y Condiciones. Si no está de acuerdo con alguna parte de estos términos, no debe utilizar nuestros servicios."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"2. Descripción del Servicio"}),a.jsx("p",{children:"Emplicity ofrece un programa completo que incluye herramientas de IA, acompañamiento personalizado, sesiones grupales y materiales educativos para acelerar el proceso de búsqueda de empleo."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"3. GarantÃa de 48 Horas"}),a.jsx("p",{children:"Ofrecemos una garantÃa de reembolso del 100% dentro de las primeras 48 horas, siempre y cuando el usuario haya probado todos los módulos del programa. Para solicitar un reembolso, contacte a nuestro equipo dentro del perÃodo establecido."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"4. Uso del Servicio"}),a.jsx("p",{children:"Los usuarios se comprometen a utilizar el servicio de manera responsable y ética, respetando los derechos de propiedad intelectual y las polÃticas establecidas por Emplicity."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"5. Propiedad Intelectual"}),a.jsx("p",{children:"Todo el contenido, materiales, herramientas y recursos proporcionados por Emplicity son propiedad de la empresa y están protegidos por las leyes de propiedad intelectual aplicables."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"6. Limitación de Responsabilidad"}),a.jsx("p",{children:"Emplicity no garantiza resultados especÃficos en la búsqueda de empleo. Los resultados pueden variar según cada individuo y las condiciones del mercado laboral."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"7. Modificaciones"}),a.jsx("p",{children:"Nos reservamos el derecho de modificar estos términos en cualquier momento. Las modificaciones entrarán en vigor inmediatamente después de su publicación en nuestro sitio web."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"8. Contacto"}),a.jsx("p",{children:"Para cualquier pregunta sobre estos Términos y Condiciones, puede contactarnos en:"}),a.jsxs("p",{children:["Email: [email protected]",a.jsx("br",{}),"WhatsApp: +52 33 3787 2943",a.jsx("br",{}),"Dirección: Córdoba 95, Roma Norte, CDMX, 06700"]})]})]})]})})]}),t2e=()=>a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(mr,{title:"PolÃticas de Usabilidad | Emplicity",description:"Conoce las polÃticas de usabilidad y accesibilidad de Emplicity.",canonicalPath:"/usability"}),a.jsx(Rr,{}),a.jsx("div",{className:"container mx-auto px-4 py-20",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsx(je,{to:"/",children:a.jsxs(Ce,{variant:"ghost",className:"mb-8",children:[a.jsx($a,{className:"mr-2 w-4 h-4"}),"Volver al inicio"]})}),a.jsx("h1",{className:"font-display text-5xl font-black mb-8",children:"PolÃticas de Usabilidad y Accesibilidad"}),a.jsxs("div",{className:"prose prose-lg max-w-none space-y-6 text-foreground
1152/90",children:[a.jsxs("p",{className:"text-muted-foreground",children:["Ãltima actualización: ",new Date().getFullYear()]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"1. Compromiso con la Usabilidad"}),a.jsx("p",{children:"En Emplicity nos comprometemos a proporcionar una plataforma intuitiva, fácil de usar y accesible para todos nuestros usuarios, independientemente de sus habilidades técnicas o capacidades."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"2. Diseño Responsive"}),a.jsx("p",{children:"Nuestra plataforma está diseñada para funcionar correctamente en todos los dispositivos, incluyendo:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Computadoras de escritorio"}),a.jsx("li",{children:"Tabletas"}),a.jsx("li",{children:"Dispositivos móviles"}),a.jsx("li",{children:"Diferentes navegadores web"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"3. Navegación Intuitiva"}),a.jsx("p",{children:"Hemos diseñado nuestra plataforma con una estructura clara y navegación intuitiva para que puedas:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Encontrar fácilmente las herramientas que necesitas"}),a.jsx("li",{children:"Acceder rápidamente a tu contenido"}),a.jsx("li",{children:"Completar tareas de manera eficiente"}),a.jsx("li",{children:"Contactar con tu Career Coach sin complicaciones"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"4. Accesibilidad"}),a.jsx("p",{children:"Nos esforzamos por cumplir con las pautas de accesibilidad web (WCAG) para garantizar que nuestra plataforma sea utilizable por personas con diferentes capacidades, incluyendo:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Contraste de colores adecuado para facilitar la lectura"}),a.jsx("li",{children:"Textos alternativos para imágenes"}),a.jsx("li",{children:"Navegación mediante teclado"}),a.jsx("li",{children:"Estructura semántica clara"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"5. Soporte Técnico"}),a.jsx("p",{children:"Si encuentras dificultades para usar nuestra plataforma o tienes sugerencias de mejora, nuestro equipo está disponible para ayudarte a través de:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"WhatsApp: Soporte en tiempo real"}),a.jsx("li",{children:"Email: Para consultas detalladas"}),a.jsx("li",{children:"Tu Career Coach personal"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"6. Mejora Continua"}),a.jsx("p",{children:"Trabajamos constantemente en mejorar la usabilidad de nuestra plataforma basándonos en:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Feedback de usuarios"}),a.jsx("li",{children:"Análisis de uso"}),a.jsx("li",{children:"Mejores prácticas de la industria"}),a.jsx("li",{children:"Actualizaciones tecnológicas"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"7. Requisitos del Sistema"}),a.jsx("p",{children:"Para una experiencia óptima, recomendamos:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Navegadores actualizados (Chrome, Firefox, Safari, Edge)"}),a.jsx("li",{children:"Conexión a Internet estable"}),a.jsx("li",{children:"JavaScript habilitado"}),a.jsx("li",{children:"Cookies permitidas para el sitio"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"8. Contacto y Feedback"}),a.jsx("p",{children:"Tus comentarios son valiosos para nosotros. Si tienes sugerencias de usabilidad o encuentras algún problema, contáctanos:"}),a.jsxs("p",{children:["Email: [email protected]",a.jsx("br",{}),"WhatsApp: +52 33 3787 2943",a.jsx("br",{}),"Dirección: Córdoba 95, Roma Norte, CDMX, 06700"]})]})]})]})})]}),n2e=()=>a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(mr,{title:"PolÃtica de Privacidad | Emplicity",description:"Conoce cómo Emplicity protege tus datos personales y tu privacidad.",canonicalPath:"/privacity"}),a.jsx(Rr,{}),a.jsx("div",{className:"container mx-auto px-4 py-20",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsx(je,{to:"/",children:a.jsxs(Ce,{variant:"ghost",className:"mb-8",children:[a.jsx($a,{className:"mr-2 w-4 h-4"}),"Volver al inicio"]})}),a.jsx("h1",{className:"font-display text-5xl font-black mb-8",children:"PolÃtica de Privacidad"}),a.jsxs("div",{className:"prose prose-lg max-w-none space-y-6 text-foreground
1152/90",children:[a.jsxs("p",{className:"text-muted-foreground",children:["Ãltima actualización: ",new Date().getFullYear()]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"1. Información que Recopilamos"}),a.jsx("p",{children:"Recopilamos información personal que usted nos proporciona directamente, como nombre, correo electrónico, número de teléfono, información profesional y de CV cuando se registra en nuestros servicios."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"2. Uso de la Información"}),a.jsx("p",{children:"Utilizamos su información para:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Proporcionar y mejorar nuestros servicios de empleabilidad"}),a.jsx("li",{children:"Personalizar su experiencia de aprendizaje"}),a.jsx("li",{children:"Comunicarnos con usted sobre el programa"}),a.jsx("li",{children:"Enviar actualizaciones y notificaciones importantes"}),a.jsx("li",{children:"Analizar y mejorar nuestros servicios"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"3. Protección de Datos"}),a.jsx("p",{children:"Implementamos medidas de seguridad técnicas y organizativas apropiadas para proteger su información personal contra acceso no autorizado, alteración, divulgación o destrucción."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"4. Compartir Información"}),a.jsx("p",{children:"No vendemos, alquilamos ni compartimos su información personal con terceros, excepto cuando sea necesario para proporcionar nuestros servicios o cuando sea requerido por ley."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"5. Cookies y TecnologÃas Similares"}),a.jsx("p",{children:"Utilizamos cookies y tecnologÃas similares para mejorar su experiencia en nuestra plataforma, analizar el uso y personalizar el contenido."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"6. Sus Derechos"}),a.jsx("p",{children:"Usted tiene derecho a:"}),a.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[a.jsx("li",{children:"Acceder a su información personal"}),a.jsx("li",{children:"Corregir información inexacta"}),a.jsx("li",{children:"Solicitar la eliminación de sus datos"}),a.jsx("li",{children:"Oponerse al procesamiento de sus datos"}),a.jsx("li",{children:"Solicitar la portabilidad de sus datos"})]})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"7. Retención de Datos"}),a.jsx("p",{children:"Conservamos su información personal durante el tiempo necesario para cumplir con los propósitos descritos en esta polÃtica, a menos que la ley requiera o permita un perÃodo de retención más largo."})]}),a.jsxs("section",{children:[a.jsx("h2",{className:"font-display text-3xl font-bold mb-4 text-foreground",children:"8. Contacto"}),a.jsx("p",{children:"Si tiene preguntas sobre esta PolÃtica de Privacidad o sobre el tratamiento de sus datos, puede contactarnos en:"}),a.jsxs("p",{children:["Email: [email protected]",a.jsx("br",{}),"WhatsApp: +52 33 3787 2943",a.jsx("br",{}),"Dirección: Córdoba 95, Roma Norte, CDMX, 06700"]})]})]})]})})]});var kD="Popover",[ZV,P_e]=Es(kD,[Su]),Oy=Su(),[r2e,Uu]=ZV(kD),JV=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!1}=e,c=Oy(t),l=j.useRef(null),[u,d]=j.useState(!1),[p=!1,h]=Vi({prop:r,defaultProp:i,onChange:s});return a.jsx(q1,{...c,children:a.jsx(r2e,{scope:t,contentId:fi(),triggerRef:l,open:p,onOpenChange:h,onOpenToggle:j.useCallback(()=>h(f=>!f),[h]),hasCustomAnchor:u,onCustomAnchorAdd:j.useCallback(()=>d(!0),[]),onCustomAnchorRemove:j.useCallback(()=>d(!1),[]),modal:o,children:n})})};JV.displayName=kD;var eH="PopoverAnchor",a2e=j.forwardRef((e,t)=>
vendor: 4,435 bytes, line 1152
1152{const{__scopePopover:n,...r}=e,i=Uu(eH,n),s=Oy(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:c}=i;return j.useEffect(()=>(o(),()=>c()),[o,c]),a.jsx(cy,{...s,...r,ref:t})});a2e.displayName=eH;var tH="PopoverTrigger",nH=j.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Uu(tH,n),s=Oy(n),o=Zt(t,i.triggerRef),c=a.jsx(Nt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":oH(i.open),...r,ref:o,onClick:Je(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:a.jsx(cy,{asChild:!0,...s,children:c})});nH.displayName=tH;var TD="PopoverPortal",[i2e,s2e]=ZV(TD,{forceMount:void 0}),rH=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,s=Uu(TD,t);return a.jsx(i2e,{scope:t,forceMount:n,children:a.jsx(Xa,{present:n||s.open,children:a.jsx(qh,{asChild:!0,container:i,children:r})})})};rH.displayName=TD;var Oh="PopoverContent",aH=j.forwardRef((e,t)=>{const n=s2e(Oh,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,s=Uu(Oh,e.__scopePopover);return a.jsx(Xa,{present:r||s.open,children:s.modal?a.jsx(o2e,{...i,ref:t}):a.jsx(c2e,{...i,ref:t})})});aH.displayName=Oh;var o2e=j.forwardRef((e,t)=>{const n=Uu(Oh,e.__scopePopover),r=j.useRef(null),i=Zt(t,r),s=j.useRef(!1);return j.useEffect(()=>{const o=r.current;if(o)return py(o)},[]),a.jsx(fy,{as:Hc,allowPinchZoom:!0,children:a.jsx(iH,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Je(e.onCloseAutoFocus,o=>{var c;o.preventDefault(),s.current||(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Je(e.onPointerDownOutside,o=>{const c=o.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0,u=c.button===2||l;s.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Je(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),c2e=j.forwardRef((e,t)=>{const n=Uu(Oh,e.__scopePopover),r=j.useRef(!1),i=j.useRef(!1);return a.jsx(iH,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o,c;(o=e.onCloseAutoFocus)==null||o.call(e,s),s.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),s.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:s=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const o=s.target;((u=n.triggerRef.current)==null?void 0:u.contains(o))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})}),iH=j.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:o,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...p}=e,h=Uu(Oh,n),f=Oy(n);return o2(),a.jsx(dy,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s,children:a.jsx(op,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>h.onOpenChange(!1),children:a.jsx(B1,{"data-state":oH(h.open),role:"dialog",id:h.contentId,...f,...p,ref:t,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),sH="PopoverClose",l2e=j.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Uu(sH,n);return a.jsx(Nt.button,{type:"button",...r,ref:t,onClick:Je(e.onClick,()=>i.onOpenChange(!1))})});l2e.displayName=sH;var u2e="PopoverArrow",d2e=j.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Oy(n);return a.jsx(z1,{...i,...r,ref:t})});d2e.displayName=u2e;function oH(e){return e?"open":"closed"}var p2e=JV,f2e=nH,h2e=rH,cH=aH;const m2e=p2e,g2e=f2e,lH=j.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},i)=>a.jsx(h2e,{children:a.jsx(cH,{ref:i,align:t,sideOffset:n,className:lt("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1152de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));lH.displayName=cH.displayName;var pR=1,x2e=.9,y2e=.8,v2e=.17,iN=.1,sN=.999,b2e=.9999,w2e=.99,j2e=/[\\\/_+.#"@\[\(\{&]/,_2e=/[\\\/_+.#"@\[\(\{&]/g,N2e=/[\s-]/,uH=/[\s-]/g;function CC(e,t,n,r,i,s,o){if(s===t.length)return i===e.length?pR:w2e;var c=`${i},${s}`;if(o[c]!==void 0)return o[c];for(var l=r.charAt(s),u=n.indexOf(l,i),d=0,p,h,f,v;u>=0;)p=CC(e,t,n,r,u+1,s+1,o),p>d&&(u===i?p*=pR:j2e.test(e.charAt(u-1))?(p*=y2e,f=e.slice(i,u-1).match(_2e),f&&i>0&&(p*=Math.pow(sN,f.length))):N2e.test(e.charAt(u-1))?(p*=x2e,v=e.slice(i,u-1).match(uH),v&&i>0&&(p*=Math.pow(sN,v.length))):(p*=v2e,i>0&&(p*=Math.pow(sN,u-i))),e.charAt(u)!==t.charAt(s)&&(p*=b2e)),(p<iN&&n.charAt(u-1)===r.charAt(s+1)||r.charAt(s+1)===r.charAt(s)&&n.charAt(u-1)!==r.charAt(s))&&(h=CC(e,t,n,r,u+1,s+2,o),h*iN>p&&(p=h*iN)),p>d&&(d=p),u=n.indexOf(l,u+1);return o[c]=d,d}function fR(e){return e.toLowerCase().replace(uH," ")}function C2e(e,t,n){return e=n&&n.length>0?`${e+" "+n.join(" ")}`:e,CC(e,t,fR(e),fR(t),0,0,{})}function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(null,arguments)}function Jf(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function E2e(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function dH(...e){return t=>e.forEach(n=>E2e(n,t))}function Iy(...e){return j.useCallback(dH(...e),e)}function S2e(e,t=[]){let n=[];function r(s,o){const c=j.createContext(o),l=n.length;n=[...n,o];function u(p){const{scope:h,children:f,...v}=p,m=(h==null?void 0:h[e][l])||c,y=j.useMemo(()=>v,Object.values(v));return j.createElement(m.Provider,{value:y},f)}function d(p,h){const f=(h==null?void 0:h[e][l])||c,v=j.useContext(f);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${p}\` must be used within \`${s}\``)}return u.displayName=s+"Provider",[u,d]}const i=()=>{const s=n.map(o=>j.createContext(o));return function(c){const l=(c==null?void 0:c[e])||s;return j.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])}};return i.scopeName=e,[r,D2e(i,...t)]}function D2e(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((c,{useScope:l,scopeName:u})=>{const p=l(s)[`__scope${u}`];return{...c,...p}},{});return j.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}const EC=globalThis!=null&&globalThis.document?j.useLayoutEffect:()=>{},A2e=FC.useId||(()=>{});let k2e=0;function oN(e){const[t,n]=j.useState(A2e());return EC(()=>{e||n(r=>r??String(k2e++))},[e]),e||(t?`radix-${t}`:"")}function np(e){const t=j.useRef(e);return j.useEffect(()=>{t.current=e}),j.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function T2e({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=P2e({defaultProp:t,onChange:n}),s=e!==void 0,o=s?e:r,c=np(n),l=j.useCallback(u=>{if(s){const p=typeof u=="function"?u(e):u;p!==e&&c(p)}else i(u)},[s,e,i,c]);return[o,l]}function P2e({defaultProp:e,onChange:t}){const n=j.useState(e),[r]=n,i=j.useRef(r),s=np(t);return j.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),n}const PD=j.forwardRef((e,t)=>{const{children:n,...r}=e,i=j.Children.toArray(n),s=i.find(R2e);if(s){const o=s.props.children,c=i.map(l=>l===s?j.Children.count(o)>1?j.Children.only(null):j.isValidElement(o)?o.props.children:null:l);return j.createElement(SC,Va({},r,{ref:t}),j.isValidElement(o)?j.cloneElement(o,void 0,c):null)}return j.createElement(SC,Va({},r,{ref:t}),n)});PD.displayName="Slot";const SC=j.forwardRef((e,t)=>{const{children:n,...r}=e;return j.isValidElement(n)?j.cloneElement(n,{...O2e(r,n.props),ref:t?dH(t,n.ref):n.ref}):j.Children.count(n)>1?j.Children.only(null):null});SC.displayName="SlotClone";const L2e=({children:e})=>j.createElement(j.Fragment,null,e);function R2e(e){return j.isValidElement(e)&&e.type===L2e}function O2e(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...c)=>{s(...c),i(...c)}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}
vendor: 4,944 bytes, line 1152
1152:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}const I2e=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ks=I2e.reduce((e,t)=>{const n=j.forwardRef((r,i)=>{const{asChild:s,...o}=r,c=s?PD:t;return j.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),j.createElement(c,Va({},o,{ref:i}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function U2e(e,t){e&&oi.flushSync(()=>e.dispatchEvent(t))}function F2e(e,t=globalThis==null?void 0:globalThis.document){const n=np(e);j.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const DC="dismissableLayer.update",M2e="dismissableLayer.pointerDownOutside",q2e="dismissableLayer.focusOutside";let hR;const B2e=j.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),z2e=j.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:o,onInteractOutside:c,onDismiss:l,...u}=e,d=j.useContext(B2e),[p,h]=j.useState(null),f=(n=p==null?void 0:p.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=j.useState({}),m=Iy(t,w=>h(w)),y=Array.from(d.layers),[g]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=y.indexOf(g),b=p?y.indexOf(p):-1,_=d.layersWithOutsidePointerEventsDisabled.size>0,E=b>=x,T=$2e(w=>{const S=w.target,k=[...d.branches].some(P=>P.contains(S));!E||k||(s==null||s(w),c==null||c(w),w.defaultPrevented||l==null||l())},f),A=W2e(w=>{const S=w.target;[...d.branches].some(P=>P.contains(S))||(o==null||o(w),c==null||c(w),w.defaultPrevented||l==null||l())},f);return F2e(w=>{b===d.layers.size-1&&(i==null||i(w),!w.defaultPrevented&&l&&(w.preventDefault(),l()))},f),j.useEffect(()=>{if(p)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(hR=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),mR(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=hR)}},[p,f,r,d]),j.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),mR())},[p,d]),j.useEffect(()=>{const w=()=>v({});return document.addEventListener(DC,w),()=>document.removeEventListener(DC,w)},[]),j.createElement(ks.div,Va({},u,{ref:m,style:{pointerEvents:_?E?"auto":"none":void 0,...e.style},onFocusCapture:Jf(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Jf(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Jf(e.onPointerDownCapture,T.onPointerDownCapture)}))});function $2e(e,t=globalThis==null?void 0:globalThis.document){const n=np(e),r=j.useRef(!1),i=j.useRef(()=>{});return j.useEffect(()=>{const s=c=>{if(c.target&&!r.current){let u=function(){pH(M2e,n,l,{discrete:!0})};const l={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=u,t.addEventListener("click",i.current,{once:!0})):u()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function W2e(e,t=globalThis==null?void 0:globalThis.document){const n=np(e),r=j.useRef(!1);return j.useEffect(()=>{const i=s=>{s.target&&!r.current&&pH(q2e,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function mR(){const e=new CustomEvent(DC);document.dispatchEvent(e)}function pH(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?U2e(i,s):i.dispatchEvent(s)}const cN="focusScope.autoFocusOnMount",lN="focusScope.autoFocusOnUnmount",gR={bubbles:!1,cancelable:!0},V2e=j.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...o}=e,[c,l]=j.useState(null),u=np(i),d=np(s),p=j.useRef(null),h=Iy(t,m=>l(m)),f=j.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;j.useEffect(()=>{if(r){let m=function(b){if(f.paused||!c)return;const _=b.target;c.contains(_)?p.current=_:Rl(p.current,{select:!0})},y=function(b){if(f.paused||!c)return;const _=b.relatedTarget;_!==null&&(c.contains(_)||Rl(p.current,{select:!0}))},g=function(b){if(document.activeElement===document.body)for(const E of b)E.removedNodes.length>0&&Rl(c)};document.addEventListener("focusin",m),document.addEventListener("focusout",y);const x=new MutationObserver(g);return c&&x.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",y),x.disconnect()}}},[r,c,f.paused]),j.useEffect(()=>{if(c){yR.add(f);
1152const m=document.activeElement;if(!c.contains(m)){const g=new CustomEvent(cN,gR);c.addEventListener(cN,u),c.dispatchEvent(g),g.defaultPrevented||(H2e(Q2e(fH(c)),{select:!0}),document.activeElement===m&&Rl(c))}return()=>{c.removeEventListener(cN,u),setTimeout(()=>{const g=new CustomEvent(lN,gR);c.addEventListener(lN,d),c.dispatchEvent(g),g.defaultPrevented||Rl(m??document.body,{select:!0}),c.removeEventListener(lN,d),yR.remove(f)},0)}}},[c,u,d,f]);const v=j.useCallback(m=>{if(!n&&!r||f.paused)return;const y=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(y&&g){const x=m.currentTarget,[b,_]=G2e(x);b&&_?!m.shiftKey&&g===_?(m.preventDefault(),n&&Rl(b,{select:!0})):m.shiftKey&&g===b&&(m.preventDefault(),n&&Rl(_,{select:!0})):g===x&&m.preventDefault()}},[n,r,f.paused]);return j.createElement(ks.div,Va({tabIndex:-1},o,{ref:h,onKeyDown:v}))});function H2e(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Rl(r,{select:t}),document.activeElement!==n)return}function G2e(e){const t=fH(e),n=xR(t,e),r=xR(t.reverse(),e);return[n,r]}function fH(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xR(e,t){for(const n of e)if(!X2e(n,{upTo:t}))return n}function X2e(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function K2e(e){return e instanceof HTMLInputElement&&"select"in e}function Rl(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&K2e(e)&&t&&e.select()}}const yR=Y2e();function Y2e(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=vR(e,t),e.unshift(t)},remove(t){var n;e=vR(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function vR(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Q2e(e){return e.filter(t=>t.tagName!=="A")}const Z2e=j.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...i}=e;return r?AE.createPortal(j.createElement(ks.div,Va({},i,{ref:t})),r):null});function J2e(e,t){return j.useReducer((n,r)=>{const i=t[n][r];return i??n},e)}const yw=e=>{const{present:t,children:n}=e,r=ewe(t),i=typeof n=="function"?n({present:r.isPresent}):j.Children.only(n),s=Iy(r.ref,i.ref);return typeof n=="function"||r.isPresent?j.cloneElement(i,{ref:s}):null};yw.displayName="Presence";function ewe(e){const[t,n]=j.useState(),r=j.useRef({}),i=j.useRef(e),s=j.useRef("none"),o=e?"mounted":"unmounted",[c,l]=J2e(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return j.useEffect(()=>{const u=wb(r.current);s.current=c==="mounted"?u:"none"},[c]),EC(()=>{const u=r.current,d=i.current;if(d!==e){const h=s.current,f=wb(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),EC(()=>{if(t){const u=p=>{const f=wb(r.current).includes(p.animationName);p.target===t&&f&&oi.flushSync(()=>l("ANIMATION_END"))},d=p=>{p.target===t&&(s.current=wb(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:j.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function wb(e){return(e==null?void 0:e.animationName)||"none"}let uN=0;function twe(){j.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:bR()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:bR()),uN++,()=>{uN===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),uN--}},[])}function bR(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var hH=ZF(),dN=function(){},vw=j.forwardRef(function(e,t){var n=j.useRef(null),r=j.useState({onScrollCapture:dN,onWheelCapture:dN,onTouchMoveCapture:dN}),i=r[0],s=r[1],o=e.forwardProps,c=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,f=e.noIsolation,v=e.inert,m=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,x=b4(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=h,_=QF([n,t]),E=ja(ja({},x),i);return j.createElement(j.Fragment,null,d&&j.createElement(b,{sideCar:hH,removeScrollBar:u,shards:p,noIsolation:f,inert:v,setCallbacks:s,allowPinchZoom:!!m,lockRef:n}),o?j.cloneElement(j.Children.only(c),ja(ja({},E),{ref:_})):j.createElement(g,ja({},E,{className:l,ref:_}),c))});vw.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};vw.classNames={fullWidth:Og,zeroRight:Rg};var AC=!1;if(typeof window<"u")try{var jb=Object.defineProperty({},"passive",{get:function(){return AC=!0,!0}});window.addEventListener("test",jb,jb),window.removeEventListener("test",jb,jb)}catch{AC=!1}var af=AC?{passive:!1}:!1,nwe=function(e){return e.tagName==="TEXTAREA"},mH=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nwe(e)&&n[t]==="visible")},rwe=function(e){return mH(e,"overflowY")},awe=function(e){return mH(e,"overflowX")},wR=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=gH(e,n);
vendor: 4,652 bytes, lines 1152-1155
1152if(r){var i=xH(e,n),s=i[1],o=i[2];if(s>o)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},iwe=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},swe=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},gH=function(e,t){return e==="v"?rwe(t):awe(t)},xH=function(e,t){return e==="v"?iwe(t):swe(t)},owe=function(e,t){return e==="h"&&t==="rtl"?-1:1},cwe=function(e,t,n,r,i){var s=owe(e,window.getComputedStyle(t).direction),o=s*r,c=n.target,l=t.contains(c),u=!1,d=o>0,p=0,h=0;do{var f=xH(e,c),v=f[0],m=f[1],y=f[2],g=m-y-s*v;(v||g)&&gH(e,c)&&(p+=g,h+=v),c=c.parentNode}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(d&&(p===0||!i)||!d&&(h===0||!i))&&(u=!0),u},_b=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},jR=function(e){return[e.deltaX,e.deltaY]},_R=function(e){return e&&"current"in e?e.current:e},lwe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},uwe=function(e){return` 1153 .block-interactivity-`.concat(e,` {pointer-events: none;} 1154 .allow-interactivity-`).concat(e,` {pointer-events: all;} 1155`)},dwe=0,sf=[];function pwe(e){var t=j.useRef([]),n=j.useRef([0,0]),r=j.useRef(),i=j.useState(dwe++)[0],s=j.useState(function(){return w4()})[0],o=j.useRef(e);j.useEffect(function(){o.current=e},[e]),j.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var m=YF([e.lockRef.current],(e.shards||[]).map(_R),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=j.useCallback(function(m,y){if("touches"in m&&m.touches.length===2)return!o.current.allowPinchZoom;var g=_b(m),x=n.current,b="deltaX"in m?m.deltaX:x[0]-g[0],_="deltaY"in m?m.deltaY:x[1]-g[1],E,T=m.target,A=Math.abs(b)>Math.abs(_)?"h":"v";if("touches"in m&&A==="h"&&T.type==="range")return!1;var w=wR(A,T);if(!w)return!0;if(w?E=A:(E=A==="v"?"h":"v",w=wR(A,T)),!w)return!1;if(!r.current&&"changedTouches"in m&&(b||_)&&(r.current=E),!E)return!0;var S=r.current||E;return cwe(S,y,m,S==="h"?b:_,!0)},[]),l=j.useCallback(function(m){var y=m;if(!(!sf.length||sf[sf.length-1]!==s)){var g="deltaY"in y?jR(y):_b(y),x=t.current.filter(function(E){return E.name===y.type&&E.target===y.target&&lwe(E.delta,g)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var b=(o.current.shards||[]).map(_R).filter(Boolean).filter(function(E){return E.contains(y.target)}),_=b.length>0?c(y,b[0]):!o.current.noIsolation;_&&y.cancelable&&y.preventDefault()}}},[]),u=j.useCallback(function(m,y,g,x){var b={name:m,delta:y,target:g,should:x};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(_){return _!==b})},1)},[]),d=j.useCallback(function(m){n.current=_b(m),r.current=void 0},[]),p=j.useCallback(function(m){u(m.type,jR(m),m.target,c(m,e.lockRef.current))},[]),h=j.useCallback(function(m){u(m.type,_b(m),m.target,c(m,e.lockRef.current))},[]);j.useEffect(function(){return sf.push(s),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",l,af),document.addEventListener("touchmove",l,af),document.addEventListener("touchstart",d,af),function(){sf=sf.filter(function(m){return m!==s}),document.removeEventListener("wheel",l,af),document.removeEventListener("touchmove",l,af),document.removeEventListener("touchstart",d,af)}},[]);var f=e.removeScrollBar,v=e.inert;return j.createElement(j.Fragment,null,v?j.createElement(s,{styles:uwe(i)}):null,f?j.createElement(n9,{gapMode:"margin"}):null)}const fwe=e9(hH,pwe);var yH=j.forwardRef(function(e,t){return j.createElement(vw,ja({},e,{ref:t,sideCar:fwe}))});yH.classNames=vw.classNames;const vH="Dialog",[bH,L_e]=S2e(vH),[hwe,bp]=bH(vH),mwe=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:s,modal:o=!0}=e,c=j.useRef(null),l=j.useRef(null),[u=!1,d]=T2e({prop:r,defaultProp:i,onChange:s});return j.createElement(hwe,{scope:t,triggerRef:c,contentRef:l,contentId:oN(),titleId:oN(),descriptionId:oN(),open:u,onOpenChange:d,onOpenToggle:j.useCallback(()=>d(p=>!p),[d]),modal:o},n)},wH="DialogPortal",[gwe,jH]=bH(wH,{forceMount:void 0}),xwe=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,s=bp(wH,t);return j.createElement(gwe,{scope:t,forceMount:n},j.Children.map(r,o=>j.createElement(yw,{present:n||s.open},j.createElement(Z2e,{asChild:!0,container:i},o))))},kC="DialogOverlay",ywe=j.forwardRef((e,t)=>
1155{const n=jH(kC,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=bp(kC,e.__scopeDialog);return s.modal?j.createElement(yw,{present:r||s.open},j.createElement(vwe,Va({},i,{ref:t}))):null}),vwe=j.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=bp(kC,n);return j.createElement(yH,{as:PD,allowPinchZoom:!0,shards:[i.contentRef]},j.createElement(ks.div,Va({"data-state":NH(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),qx="DialogContent",bwe=j.forwardRef((e,t)=>{const n=jH(qx,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,s=bp(qx,e.__scopeDialog);return j.createElement(yw,{present:r||s.open},s.modal?j.createElement(wwe,Va({},i,{ref:t})):j.createElement(jwe,Va({},i,{ref:t})))}),wwe=j.forwardRef((e,t)=>{const n=bp(qx,e.__scopeDialog),r=j.useRef(null),i=Iy(t,n.contentRef,r);return j.useEffect(()=>{const s=r.current;if(s)return py(s)},[]),j.createElement(_H,Va({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Jf(e.onCloseAutoFocus,s=>{var o;s.preventDefault(),(o=n.triggerRef.current)===null||o===void 0||o.focus()}),onPointerDownOutside:Jf(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&s.preventDefault()}),onFocusOutside:Jf(e.onFocusOutside,s=>s.preventDefault())}))}),jwe=j.forwardRef((e,t)=>{const n=bp(qx,e.__scopeDialog),r=j.useRef(!1),i=j.useRef(!1);return j.createElement(_H,Va({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{var o;if((o=e.onCloseAutoFocus)===null||o===void 0||o.call(e,s),!s.defaultPrevented){var c;r.current||(c=n.triggerRef.current)===null||c===void 0||c.focus(),s.preventDefault()}r.current=!1,i.current=!1},onInteractOutside:s=>{var o,c;(o=e.onInteractOutside)===null||o===void 0||o.call(e,s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=s.target;((c=n.triggerRef.current)===null||c===void 0?void 0:c.contains(l))&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}}))}),_H=j.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...o}=e,c=bp(qx,n),l=j.useRef(null),u=Iy(t,l);return twe(),j.createElement(j.Fragment,null,j.createElement(V2e,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s},j.createElement(z2e,Va({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":NH(c.open)},o,{ref:u,onDismiss:()=>c.onOpenChange(!1)}))),!1)});function NH(e){return e?"open":"closed"}const _we=mwe,Nwe=xwe,Cwe=ywe,Ewe=bwe;var sg='[cmdk-group=""]',pN='[cmdk-group-items=""]',Swe='[cmdk-group-heading=""]',LD='[cmdk-item=""]',NR=`${LD}:not([aria-disabled="true"])`,TC="cmdk-item-select",fd="data-value",Dwe=(e,t,n)=>C2e(e,t,n),CH=j.createContext(void 0),Uy=()=>j.useContext(CH),EH=j.createContext(void 0),RD=()=>j.useContext(EH),SH=j.createContext(void 0),DH=j.forwardRef((e,t)=>{let n=pf(()=>{var O,$;return{search:"",value:($=(O=e.value)!=null?O:e.defaultValue)!=null?$:"",filtered:{count:0,items:new Map,groups:new Set}}}),r=pf(()=>new Set),i=pf(()=>new Map),s=pf(()=>new Map),o=pf(()=>new Set),c=AH(e),{label:l,children:u,value:d,onValueChange:p,filter:h,shouldFilter:f,loop:v,disablePointerSelection:m=!1,vimBindings:y=!0,...g}=e,x=j.useId(),b=j.useId(),_=j.useId(),E=j.useRef(null),T=Mwe();rp(()=>{if(d!==void 0){let O=d.trim();n.current.value=O,A.emit()}},[d]),rp(()=>{T(6,R)},[]);let A=j.useMemo(()=>({subscribe:O=>(o.current.add(O),()=>o.current.delete(O)),snapshot:()=>n.current,setState:(O,$,K)=>{var Y,ee,re;if(!Object.is(n.current[O],$)){if(n.current[O]=$,O==="search")D(),k(),T(1,P);else if(O==="value"&&(K||T(5,R),((Y=c.current)==null?void 0:Y.value)!==void 0)){let ae=$??"";(re=(ee=c.current).onValueChange)==null||re.call(ee,ae);return}A.emit()}},emit:()=>{o.current.forEach(O=>O())}}),[]),w=j.useMemo(()=>({value:(O,$,K)=>{var Y;$!==((Y=s.current.get(O))==null?void 0:Y.value)&&(s.current.set(O,{value:$,keywords:K}),n.current.filtered.items.set(O,S($,K)),T(2,()=>{k(),A.emit()}))},item:(O,$)=>(r.current.add(O),$&&(i.current.has($)?i.current.get($).add(O):i.current.set($,new Set([O]))),T(3,()=>{D(),k(),n.current.value||P(),A.emit()}),()=>{s.current.delete(O),r.current.delete(O),n.current.filtered.items.delete(O);let K=N();T(4,()=>{D(),(K==null?void 0:K.getAttribute("id"))===O&&P(),A.emit()})}),group:O=>(i.current.has(O)||i.current.set(O,new Set),()=>{s.current.delete(O),i.current.delete(O)}),filter:()=>c.current.shouldFilter,label:l||e["aria-label"],disablePointerSelection:m,listId:x,inputId:_,labelId:b,listInnerRef:E}),[]);function S(O,$){var K,Y;let ee=(Y=(K=c.current)==null?void 0:K.filter)!=null?Y:Dwe;return O?ee(O,n.current.search,$):0}function k(){if(!n.current.search||c.current.shouldFilter===!1)return;let O=n.current.filtered.items,$=[];n.current.filtered.groups.forEach(Y=>{let ee=i.current.get(Y),re=0;ee.forEach(ae=>{let le=O.get(ae);re=Math.max(le,re)}),$.push([Y,re])});let K=E.current;q().sort((Y,ee)=>{var re,ae;let le=Y.getAttribute("id"),ge=ee.getAttribute("id");return((re=O.get(ge))!=null?re:0)-((ae=O.get(le))!=null?ae:0)}
vendor: 9,084 bytes, line 1155
1155).forEach(Y=>{let ee=Y.closest(pN);ee?ee.appendChild(Y.parentElement===ee?Y:Y.closest(`${pN} > *`)):K.appendChild(Y.parentElement===K?Y:Y.closest(`${pN} > *`))}),$.sort((Y,ee)=>ee[1]-Y[1]).forEach(Y=>{let ee=E.current.querySelector(`${sg}[${fd}="${encodeURIComponent(Y[0])}"]`);ee==null||ee.parentElement.appendChild(ee)})}function P(){let O=q().find(K=>K.getAttribute("aria-disabled")!=="true"),$=O==null?void 0:O.getAttribute(fd);A.setState("value",$||void 0)}function D(){var O,$,K,Y;if(!n.current.search||c.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let ee=0;for(let re of r.current){let ae=($=(O=s.current.get(re))==null?void 0:O.value)!=null?$:"",le=(Y=(K=s.current.get(re))==null?void 0:K.keywords)!=null?Y:[],ge=S(ae,le);n.current.filtered.items.set(re,ge),ge>0&&ee++}for(let[re,ae]of i.current)for(let le of ae)if(n.current.filtered.items.get(le)>0){n.current.filtered.groups.add(re);break}n.current.filtered.count=ee}function R(){var O,$,K;let Y=N();Y&&(((O=Y.parentElement)==null?void 0:O.firstChild)===Y&&((K=($=Y.closest(sg))==null?void 0:$.querySelector(Swe))==null||K.scrollIntoView({block:"nearest"})),Y.scrollIntoView({block:"nearest"}))}function N(){var O;return(O=E.current)==null?void 0:O.querySelector(`${LD}[aria-selected="true"]`)}function q(){var O;return Array.from((O=E.current)==null?void 0:O.querySelectorAll(NR))}function I(O){let $=q()[O];$&&A.setState("value",$.getAttribute(fd))}function z(O){var $;let K=N(),Y=q(),ee=Y.findIndex(ae=>ae===K),re=Y[ee+O];($=c.current)!=null&&$.loop&&(re=ee+O<0?Y[Y.length-1]:ee+O===Y.length?Y[0]:Y[ee+O]),re&&A.setState("value",re.getAttribute(fd))}function M(O){let $=N(),K=$==null?void 0:$.closest(sg),Y;for(;K&&!Y;)K=O>0?Uwe(K,sg):Fwe(K,sg),Y=K==null?void 0:K.querySelector(NR);Y?A.setState("value",Y.getAttribute(fd)):z(O)}let F=()=>I(q().length-1),H=O=>{O.preventDefault(),O.metaKey?F():O.altKey?M(1):z(1)},V=O=>{O.preventDefault(),O.metaKey?I(0):O.altKey?M(-1):z(-1)};return j.createElement(ks.div,{ref:t,tabIndex:-1,...g,"cmdk-root":"",onKeyDown:O=>{var $;if(($=g.onKeyDown)==null||$.call(g,O),!O.defaultPrevented)switch(O.key){case"n":case"j":{y&&O.ctrlKey&&H(O);break}case"ArrowDown":{H(O);break}case"p":case"k":{y&&O.ctrlKey&&V(O);break}case"ArrowUp":{V(O);break}case"Home":{O.preventDefault(),I(0);break}case"End":{O.preventDefault(),F();break}case"Enter":if(!O.nativeEvent.isComposing&&O.keyCode!==229){O.preventDefault();let K=N();if(K){let Y=new Event(TC);K.dispatchEvent(Y)}}}}},j.createElement("label",{"cmdk-label":"",htmlFor:w.inputId,id:w.labelId,style:Bwe},l),bw(e,O=>j.createElement(EH.Provider,{value:A},j.createElement(CH.Provider,{value:w},O))))}),Awe=j.forwardRef((e,t)=>{var n,r;let i=j.useId(),s=j.useRef(null),o=j.useContext(SH),c=Uy(),l=AH(e),u=(r=(n=l.current)==null?void 0:n.forceMount)!=null?r:o==null?void 0:o.forceMount;rp(()=>{if(!u)return c.item(i,o==null?void 0:o.id)},[u]);let d=kH(i,s,[e.value,e.children,s],e.keywords),p=RD(),h=ap(T=>T.value&&T.value===d.current),f=ap(T=>u||c.filter()===!1?!0:T.search?T.filtered.items.get(i)>0:!0);j.useEffect(()=>{let T=s.current;if(!(!T||e.disabled))return T.addEventListener(TC,v),()=>T.removeEventListener(TC,v)},[f,e.onSelect,e.disabled]);function v(){var T,A;m(),(A=(T=l.current).onSelect)==null||A.call(T,d.current)}function m(){p.setState("value",d.current,!0)}if(!f)return null;let{disabled:y,value:g,onSelect:x,forceMount:b,keywords:_,...E}=e;return j.createElement(ks.div,{ref:Bx([s,t]),...E,id:i,"cmdk-item":"",role:"option","aria-disabled":!!y,"aria-selected":!!h,"data-disabled":!!y,"data-selected":!!h,onPointerMove:y||c.disablePointerSelection?void 0:m,onClick:y?void 0:v},e.children)}),kwe=j.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...s}=e,o=j.useId(),c=j.useRef(null),l=j.useRef(null),u=j.useId(),d=Uy(),p=ap(f=>i||d.filter()===!1?!0:f.search?f.filtered.groups.has(o):!0);rp(()=>d.group(o),[]),kH(o,c,[e.value,e.heading,l]);let h=j.useMemo(()=>({id:o,forceMount:i}),[i]);return j.createElement(ks.div,{ref:Bx([c,t]),...s,"cmdk-group":"",role:"presentation",hidden:p?void 0:!0},n&&j.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:u},n),bw(e,f=>j.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?u:void 0},j.createElement(SH.Provider,{value:h},f))))}),Twe=j.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=j.useRef(null),s=ap(o=>!o.search);return!n&&!s?null:j.createElement(ks.div,{ref:Bx([i,t]),...r,"cmdk-separator":"",role:"separator"})}),Pwe=j.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,s=RD(),o=ap(d=>d.search),c=ap(d=>d.value),l=Uy(),u=j.useMemo(()=>{var d;let p=(d=l.listInnerRef.current)==null?void 0:d.querySelector(`${LD}[${fd}="${encodeURIComponent(c)}"]`);return p==null?void 0:p.getAttribute("id")},[]);return j.useEffect(()=>{e.value!=null&&s.setState("search",e.value)},[e.value]),j.createElement(ks.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":u,id:l.inputId,type:"text",value:i?e.value:o,onChange:d=>{i||s.setState("search",d.target.value),n==null||n(d.target.value)}})}),Lwe=j.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...i}=e,s=j.useRef(null),o=j.useRef(null),c=Uy();return j.useEffect(()=>{if(o.current&&s.current){let l=o.current,u=s.current,d,p=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let h=l.offsetHeight;u.style.setProperty("--cmdk-list-height",h.toFixed(1)+"px")})});return p.observe(l),()=>{cancelAnimationFrame(d),p.unobserve(l)}}},[]),j.createElement(ks.div,{ref:Bx([s,t]),...i,"cmdk-list":"",role:"listbox","aria-label":r,id:c.listId},bw(e,l=>j.createElement("div",{ref:Bx([o,c.listInnerRef]),"cmdk-list-sizer":""},l)))}),Rwe=j.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:s,container:o,...c}=e;return j.createElement(_we,{open:n,onOpenChange:r},j.createElement(Nwe,{container:o},j.createElement(Cwe,{"cmdk-overlay":"",className:i}),j.createElement(Ewe,{"aria-label":e.label,"cmdk-dialog":"",className:s},j.createElement(DH,{ref:t,...c}))))}),Owe=j.forwardRef((e,t)=>ap(n=>n.filtered.count===0)?j.createElement(ks.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Iwe=j.forwardRef((e,t)=>{let{progress:n,children:r,label:i="Loading...",...s}=e;return j.createElement(ks.div,{ref:t,...s,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},bw(e,o=>j.createElement("div",{"aria-hidden":!0},o)))}),bi=Object.assign(DH,{List:Lwe,Item:Awe,Input:Pwe,Group:kwe,Separator:Twe,Dialog:Rwe,Empty:Owe,Loading:Iwe});function Uwe(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function Fwe(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function AH(e){let t=j.useRef(e);return rp(()=>{t.current=e}),t}var rp=typeof window>"u"?j.useEffect:j.useLayoutEffect;function pf(e){let t=j.useRef();return t.current===void 0&&(t.current=e()),t}function Bx(e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}function ap(e){let t=RD(),n=()=>e(t.snapshot());return j.useSyncExternalStore(t.subscribe,n,n)}function kH(e,t,n,r=[]){let i=j.useRef(),s=Uy();return rp(()=>{var o;let c=(()=>{var u;for(let d of n){if(typeof d=="string")return d.trim();if(typeof d=="object"&&"current"in d)return d.current?(u=d.current.textContent)==null?void 0:u.trim():i.current}})(),l=r.map(u=>u.trim());s.value(e,c,l),(o=t.current)==null||o.setAttribute(fd,c),i.current=c}),i}var Mwe=()=>{let[e,t]=j.useState(),n=pf(()=>new Map);return rp(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,i)=>{n.current.set(r,i),t({})}};function qwe(e){let t=e.type;return typeof t=="function"?t(e.props):"render"in t?t.render(e.props):e}function bw({asChild:e,children:t},n){return e&&j.isValidElement(t)?j.cloneElement(qwe(t),{ref:t.ref},n(t.props.children)):n(t)}var Bwe={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const TH=j.forwardRef(({className:e,...t},n)=>a.jsx(bi,{ref:n,className:lt("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));TH.displayName=bi.displayName;const PH=j.forwardRef(({className:e,...t},n)=>a.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[a.jsx(I1,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),a.jsx(bi.Input,{ref:n,className:lt("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));PH.displayName=bi.Input.displayName;const LH=j.forwardRef(({className:e,...t},n)=>a.jsx(bi.List,{ref:n,className:lt("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));LH.displayName=bi.List.displayName;const RH=j.forwardRef((e,t)=>
1155a.jsx(bi.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));RH.displayName=bi.Empty.displayName;const OH=j.forwardRef(({className:e,...t},n)=>a.jsx(bi.Group,{ref:n,className:lt("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));OH.displayName=bi.Group.displayName;const zwe=j.forwardRef(({className:e,...t},n)=>a.jsx(bi.Separator,{ref:n,className:lt("-mx-1 h-px bg-border",e),...t}));zwe.displayName=bi.Separator.displayName;const IH=j.forwardRef(({className:e,...t},n)=>a.jsx(bi.Item,{ref:n,className:lt("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",e),...t}));IH.displayName=bi.Item.displayName;const $we="/assets/alejandra-isosorbe-coach-CgTP5FA3.jpg",CR=[{code:"+93",country:"Afganistán",flag:"ð¦ð«"},{code:"+355",country:"Albania",flag:"ð¦ð±"},{code:"+49",country:"Alemania",flag:"ð©ðª"},{code:"+376",country:"Andorra",flag:"ð¦ð©"},{code:"+244",country:"Angola",flag:"ð¦ð´"},{code:"+1264",country:"Anguila",flag:"ð¦ð®"},{code:"+1268",country:"Antigua y Barbuda",flag:"ð¦ð¬"},{code:"+966",country:"Arabia Saudita",flag:"ð¸ð¦"},{code:"+213",country:"Argelia",flag:"ð©ð¿"},{code:"+54",country:"Argentina",flag:"ð¦ð·"},{code:"+374",country:"Armenia",flag:"ð¦ð²"},{code:"+297",country:"Aruba",flag:"ð¦ð¼"},{code:"+61",country:"Australia",flag:"ð¦ðº"},{code:"+43",country:"Austria",flag:"ð¦ð¹"},{code:"+994",country:"Azerbaiyán",flag:"ð¦ð¿"},{code:"+1242",country:"Bahamas",flag:"ð§ð¸"},{code:"+880",country:"Bangladés",flag:"ð§ð©"},{code:"+1246",country:"Barbados",flag:"ð§ð§"},{code:"+973",country:"Baréin",flag:"ð§ð"},{code:"+32",country:"Bélgica",flag:"ð§ðª"},{code:"+501",country:"Belice",flag:"ð§ð¿"},{code:"+229",country:"BenÃn",flag:"ð§ð¯"},{code:"+1441",country:"Bermudas",flag:"ð§ð²"},{code:"+375",country:"Bielorrusia",flag:"ð§ð¾"},{code:"+591",country:"Bolivia",flag:"ð§ð´"},{code:"+387",country:"Bosnia y Herzegovina",flag:"ð§ð¦"},{code:"+267",country:"Botsuana",flag:"ð§ð¼"},{code:"+55",country:"Brasil",flag:"ð§ð·"},{code:"+673",country:"Brunéi",flag:"ð§ð³"},{code:"+359",country:"Bulgaria",flag:"ð§ð¬"},{code:"+226",country:"Burkina Faso",flag:"ð§ð«"},{code:"+257",country:"Burundi",flag:"ð§ð®"},{code:"+975",country:"Bután",flag:"ð§ð¹"},{code:"+238",country:"Cabo Verde",flag:"ð¨ð»"},{code:"+855",country:"Camboya",flag:"ð°ð"},{code:"+237",country:"Camerún",flag:"ð¨ð²"},{code:"+1",country:"Canadá",flag:"ð¨ð¦"},{code:"+974",country:"Catar",flag:"ð¶ð¦"},{code:"+235",country:"Chad",flag:"ð¹ð©"},{code:"+56",country:"Chile",flag:"ð¨ð±"},{code:"+86",country:"China",flag:"ð¨ð³"},{code:"+357",country:"Chipre",flag:"ð¨ð¾"},{code:"+57",country:"Colombia",flag:"ð¨ð´"},{code:"+269",country:"Comoras",flag:"ð°ð²"},{code:"+242",country:"Congo",flag:"ð¨ð¬"},{code:"+850",country:"Corea del Norte",flag:"ð°ðµ"},{code:"+82",country:"Corea del Sur",flag:"ð°ð·"},{code:"+506",country:"Costa Rica",flag:"ð¨ð·"},{code:"+225",country:"Costa de Marfil",flag:"ð¨ð®"},{code:"+385",country:"Croacia",flag:"ðð·"},{code:"+53",country:"Cuba",flag:"ð¨ðº"},{code:"+599",country:"Curazao",flag:"ð¨ð¼"},{code:"+45",country:"Dinamarca",flag:"ð©ð°"},{code:"+1767",country:"Dominica",flag:"ð©ð²"},{code:"+593",country:"Ecuador",flag:"ðªð¨"},{code:"+20",country:"Egipto",flag:"ðªð¬"},{code:"+503",country:"El Salvador",flag:"ð¸ð»"},{code:"+971",country:"Emiratos Ãrabes Unidos",flag:"ð¦ðª"},{code:"+291",country:"Eritrea",flag:"ðªð·"},{code:"+421",country:"Eslovaquia",flag:"ð¸ð°"},{code:"+386",country:"Eslovenia",flag:"ð¸ð®"},{code:"+34",country:"España",flag:"ðªð¸"},{code:"+1",country:"Estados Unidos",flag:"ðºð¸"},{code:"+372",country:"Estonia",flag:"ðªðª"},{code:"+251",country:"EtiopÃa",flag:"ðªð¹"},{code:"+679",country:"Fiyi",flag:"ð«ð¯"},{code:"+63",country:"Filipinas",flag:"ðµð"},{code:"+358",country:"Finlandia",flag:"ð«ð®"},{code:"+33",country:"Francia",flag:"ð«ð·"},{code:"+241",country:"Gabón",flag:"ð¬ð¦"},{code:"+220",country:"Gambia",flag:"ð¬ð²"},{code:"+995",country:"Georgia",flag:"ð¬ðª"},{code:"+233",country:"Ghana",flag:"ð¬ð"},{code:"+350",country:"Gibraltar",flag:"ð¬ð®"},{code:"+1473",country:"Granada",flag:"ð¬ð©"},{code:"+30",country:"Grecia",flag:"ð¬ð·"},{code:"+299",country:"Groenlandia",flag:"ð¬ð±"},{code:"+590",country:"Guadalupe",flag:"ð¬ðµ"},{code:"+1671",country:"Guam",flag:"ð¬ðº"},{code:"+502",country:"Guatemala",flag:"ð¬ð¹"},{code:"+224",country:"Guinea",flag:"ð¬ð³"},{code:"+240",country:"Guinea Ecuatorial",flag:"ð¬ð¶"},{code:"+245",country:"Guinea-Bisáu",flag:"ð¬ð¼"},{code:"+592",country:"Guyana",flag:"ð¬ð¾"},{code:"+509",country:"HaitÃ",flag:"ðð¹"},{code:"+504",country:"Honduras",flag:"ðð³"},{code:"+852",country:"Hong Kong",flag:"ðð°"},{code:"+36",country:"HungrÃa",flag:"ððº"},{code:"+91",country:"India",flag:"ð®ð³"},{code:"+62",country:"Indonesia",flag:"ð®ð©"},{code:"+964",country:"Irak",flag:"ð®ð¶"},{code:"+98",country:"Irán",flag:"ð®ð·"},{code:"+353",country:"Irlanda",flag:"ð®ðª"},{code:"+354",country:"Islandia",flag:"ð®ð¸"},{code:"+972",country:"Israel",flag:"ð®ð±"},{code:"+39",country:"Italia",flag:"ð®ð¹"},{code:"+1876",country:"Jamaica",flag:"ð¯ð²"},{code:"+81",country:"Japón",flag:"ð¯ðµ"},{code:"+962",country:"Jordania",flag:"ð¯ð´"},{code:"+7",country:"Kazajistán",flag:"ð°ð¿"},{code:"+254",country:"Kenia",flag:"ð°ðª"},{code:"+996",country:"Kirguistán",flag:"ð°ð¬"},{code:"+686",country:"Kiribati",flag:"ð°ð®"},{code:"+965",country:"Kuwait",flag:"ð°ð¼"},{code:"+856",country:"Laos",flag:"ð±ð¦"}
1155,{code:"+266",country:"Lesoto",flag:"ð±ð¸"},{code:"+371",country:"Letonia",flag:"ð±ð»"},{code:"+961",country:"LÃbano",flag:"ð±ð§"},{code:"+231",country:"Liberia",flag:"ð±ð·"},{code:"+218",country:"Libia",flag:"ð±ð¾"},{code:"+423",country:"Liechtenstein",flag:"ð±ð®"},{code:"+370",country:"Lituania",flag:"ð±ð¹"},{code:"+352",country:"Luxemburgo",flag:"ð±ðº"},{code:"+853",country:"Macao",flag:"ð²ð´"},{code:"+389",country:"Macedonia del Norte",flag:"ð²ð°"},{code:"+261",country:"Madagascar",flag:"ð²ð¬"},{code:"+60",country:"Malasia",flag:"ð²ð¾"},{code:"+265",country:"Malaui",flag:"ð²ð¼"},{code:"+960",country:"Maldivas",flag:"ð²ð»"},{code:"+223",country:"MalÃ",flag:"ð²ð±"},{code:"+356",country:"Malta",flag:"ð²ð¹"},{code:"+212",country:"Marruecos",flag:"ð²ð¦"},{code:"+596",country:"Martinica",flag:"ð²ð¶"},{code:"+230",country:"Mauricio",flag:"ð²ðº"},{code:"+222",country:"Mauritania",flag:"ð²ð·"},{code:"+52",country:"México",flag:"ð²ð½"},{code:"+691",country:"Micronesia",flag:"ð«ð²"},{code:"+373",country:"Moldavia",flag:"ð²ð©"},{code:"+377",country:"Mónaco",flag:"ð²ð¨"},{code:"+976",country:"Mongolia",flag:"ð²ð³"},{code:"+382",country:"Montenegro",flag:"ð²ðª"},{code:"+1664",country:"Montserrat",flag:"ð²ð¸"},{code:"+258",country:"Mozambique",flag:"ð²ð¿"},{code:"+95",country:"Myanmar",flag:"ð²ð²"},{code:"+264",country:"Namibia",flag:"ð³ð¦"},{code:"+674",country:"Nauru",flag:"ð³ð·"},{code:"+977",country:"Nepal",flag:"ð³ðµ"},{code:"+505",country:"Nicaragua",flag:"ð³ð®"},{code:"+227",country:"NÃger",flag:"ð³ðª"},{code:"+234",country:"Nigeria",flag:"ð³ð¬"},{code:"+47",country:"Noruega",flag:"ð³ð´"},{code:"+687",country:"Nueva Caledonia",flag:"ð³ð¨"},{code:"+64",country:"Nueva Zelanda",flag:"ð³ð¿"},{code:"+968",country:"Omán",flag:"ð´ð²"},{code:"+31",country:"PaÃses Bajos",flag:"ð³ð±"},{code:"+92",country:"Pakistán",flag:"ðµð°"},{code:"+680",country:"Palaos",flag:"ðµð¼"},{code:"+970",country:"Palestina",flag:"ðµð¸"},{code:"+507",country:"Panamá",flag:"ðµð¦"},{code:"+675",country:"Papúa Nueva Guinea",flag:"ðµð¬"},{code:"+595",country:"Paraguay",flag:"ðµð¾"},{code:"+51",country:"Perú",flag:"ðµðª"},{code:"+689",country:"Polinesia Francesa",flag:"ðµð«"},{code:"+48",country:"Polonia",flag:"ðµð±"},{code:"+351",country:"Portugal",flag:"ðµð¹"},{code:"+1787",country:"Puerto Rico",flag:"ðµð·"},{code:"+44",country:"Reino Unido",flag:"ð¬ð§"},{code:"+236",country:"República Centroafricana",flag:"ð¨ð«"},{code:"+420",country:"República Checa",flag:"ð¨ð¿"},{code:"+243",country:"República Democrática del Congo",flag:"ð¨ð©"},{code:"+1809",country:"República Dominicana",flag:"ð©ð´"},{code:"+262",country:"Reunión",flag:"ð·ðª"},{code:"+250",country:"Ruanda",flag:"ð·ð¼"},{code:"+40",country:"Rumania",flag:"ð·ð´"},{code:"+7",country:"Rusia",flag:"ð·ðº"},{code:"+685",country:"Samoa",flag:"ð¼ð¸"},{code:"+1684",country:"Samoa Americana",flag:"ð¦ð¸"},{code:"+1869",country:"San Cristóbal y Nieves",flag:"ð°ð³"},{code:"+378",country:"San Marino",flag:"ð¸ð²"},{code:"+1758",country:"Santa LucÃa",flag:"ð±ð¨"},{code:"+1784",country:"San Vicente y las Granadinas",flag:"ð»ð¨"},{code:"+239",country:"Santo Tomé y PrÃncipe",flag:"ð¸ð¹"},{code:"+221",country:"Senegal",flag:"ð¸ð³"},{code:"+381",country:"Serbia",flag:"ð·ð¸"},{code:"+248",country:"Seychelles",flag:"ð¸ð¨"},{code:"+232",country:"Sierra Leona",flag:"ð¸ð±"},{code:"+65",country:"Singapur",flag:"ð¸ð¬"},{code:"+963",country:"Siria",flag:"ð¸ð¾"},{code:"+252",country:"Somalia",flag:"ð¸ð´"},{code:"+94",country:"Sri Lanka",flag:"ð±ð°"},{code:"+268",country:"Suazilandia",flag:"ð¸ð¿"},{code:"+27",country:"Sudáfrica",flag:"ð¿ð¦"},{code:"+249",country:"Sudán",flag:"ð¸ð©"},{code:"+211",country:"Sudán del Sur",flag:"ð¸ð¸"},{code:"+46",country:"Suecia",flag:"ð¸ðª"},{code:"+41",country:"Suiza",flag:"ð¨ð"},{code:"+597",country:"Surinam",flag:"ð¸ð·"},{code:"+66",country:"Tailandia",flag:"ð¹ð"},{code:"+886",country:"Taiwán",flag:"ð¹ð¼"},{code:"+255",country:"Tanzania",flag:"ð¹ð¿"},{code:"+992",country:"Tayikistán",flag:"ð¹ð¯"},{code:"+670",country:"Timor Oriental",flag:"ð¹ð±"},{code:"+228",country:"Togo",flag:"ð¹ð¬"},{code:"+676",country:"Tonga",flag:"ð¹ð´"},{code:"+1868",country:"Trinidad y Tobago",flag:"ð¹ð¹"},{code:"+216",country:"Túnez",flag:"ð¹ð³"},{code:"+993",country:"Turkmenistán",flag:"ð¹ð²"},{code:"+90",country:"TurquÃa",flag:"ð¹ð·"},{code:"+688",country:"Tuvalu",flag:"ð¹ð»"},{code:"+380",country:"Ucrania",flag:"ðºð¦"},{code:"+256",country:"Uganda",flag:"ðºð¬"},{code:"+598",country:"Uruguay",flag:"ðºð¾"},{code:"+998",country:"Uzbekistán",flag:"ðºð¿"},{code:"+678",country:"Vanuatu",flag:"ð»ðº"},{code:"+379",country:"Vaticano",flag:"ð»ð¦"},{code:"+58",country:"Venezuela",flag:"ð»ðª"},{code:"+84",country:"Vietnam",flag:"ð»ð³"},{code:"+967",country:"Yemen",flag:"ð¾ðª"},{code:"+253",country:"Yibuti",flag:"ð©ð¯"},{code:"+260",country:"Zambia",flag:"ð¿ð²"},{code:"+263",country:"Zimbabue",flag:"ð¿ð¼"}],Wwe=()=>{var _;const e=Xt(),{toast:t}=ar(),[n,r]=j.useState({nombre:"",email:"",telefono:"",posicion:""}),[i,s]=j.useState("+52"),[o,c]=j.useState(!1),[l,u]=j.useState(!1),[d,p]=j.useState(!1),[h,f]=j.useState(10),[v,m]=j.useState(!0);j.useEffect(()=>{(async()=>{const{data:{session:T}}=await Ye.auth.getSession();T&&(p(!0),f(0)),m(!1)})()},[]),j.useEffect(()=>{if(d&&h>0){const E=setTimeout(()=>f(h-1),1e3);return()=>clearTimeout(E)}},[d,h]);const y=E=>{const{name:T,value:A}=E.target;r(w=>({...w,[T]:A}))},g=()=>{const E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%";let T="";for(let A=0;A<12;A++)T+=E.charAt(Math.floor(Math.random()*E.length));return T},x=async E=>{if(E.preventDefault(),!n.nombre||!n.email||!n.telefono||!n.posicion){t({title:"Campos requeridos",description:"Por favor completa todos los campos para registrarte.",variant:"destructive"});return}c(!0);try{const T=`${i}${n.telefono.replace(/\s/g,"")}`,A=g(),{data:w,error:S}=await Ye.functions.invoke("admin-signup",{body:{email:n.email,password:A,full_name:n.nombre,whatsapp:T,source:"masterclass"}});if(S)throw new Error(S.message);if(w!=null&&w.user_exists){p(!0);return}if(!(w!=null&&w.success)&&!(w!=null&&w.user_exists))throw new Error((w==null?void 0:w.error)||"Error al registrar");const{error:k}=await Ye.auth.signInWithPassword({email:n.email,password:A});k&&console.error("Error al iniciar sesión automática:",k),p(!0)}catch(T){console.error("Error en registro:",T);const A=T instanceof Error?T.message:"No se pudo completar el registro. Intenta de nuevo.";t({title:"Error",description:A,variant:"destructive"})}finally{c(!1)}},b=async()=>{await Ye.auth.signOut(),p(!1),f(10)};return v?a.jsxs("div",{className:"h-screen bg-slate-950 flex items-center justify-center",children:[a.jsx("div",{className:"fixed inset-0 pointer-events-none",children:a.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:` 1156 linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px), 1157 linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px) 1158 `,backgroundSize:"40px 40px"}})}),a.jsxs("div",{className:"relative z-10 text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-primary/30 border-t-primary animate-spin mx-auto mb-4"}),a.jsx("p",{className:"text-slate-400",children:"Cargando..."})]})]}):d?a.jsxs("div",{className:"h-screen bg-slate-950 flex flex-col overflow-hidden",children:[a.jsxs("div",{className:"fixed inset-0 pointer-events-none",children:[a.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:` 1159 linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px), 1160 linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px) 1161 `,backgroundSize:"40px 40px"}}),a.jsx("div",{className:"absolute -top-32 -left-32 w-96 h-96 bg-primary/20 rounded-full blur-[100px] animate-pulse"}),a.jsx("div",{className:"absolute -bottom-32 -right-32 w-96 h-96 bg-secondary/20 rounded-full blur-[100px] animate-pulse",style:{animationDelay:"1s"}})]}),a.jsx("div",{className:"fixed top-4 right-4 z-50",children:a.jsxs(Ce,{variant:"ghost",onClick:b,className:"text-slate-400 hover:text-white hover:bg-slate-800/50 backdrop-blur-sm",children:[a.jsx(O1,{className:"w-4 h-4 mr-2"}),"Cerrar sesión"]})}),a.jsx("div",{className:"relative z-10 flex-1 flex items-center justify-center px-4 py-4",children:a.jsxs("div",{className:"max-w-4xl w-full space-y-4",children:[a.jsxs("div",{className:"text-center space-y-2",children:[a.jsxs("h1",{className:"text-2xl sm:text-3xl lg:text-4xl font-display font-black text-white leading-tight",children:["¡Registro exitoso!"," ",a.jsxs("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary via-cyan-300 to-secondary",children:["La clase comienza en ",h," segundos..."]})]}),a.jsxs("p",{className:"text-base sm:text-lg text-slate-300 max-w-2xl mx-auto leading-relaxed",children:["No refresques la página. En esta sesión aprenderás el"," ",a.jsx("span",{className:"text-primary font-semibold",children:"método exacto"})," ","para que las empresas de alto nivel te busquen a ti."]})]}),a.jsxs("div",{className:"relative max-w-3xl mx-auto",children:[a.jsx("div",{className:"absolute -inset-2 bg-gradient-to-r from-primary/20 to-secondary/20 rounded-2xl blur-xl"}),a.jsx("div",{className:"relative bg-slate-900/80 backdrop-blur-xl border border-slate-700/50 rounded-xl overflow-hidden",children:a.jsxs("div",{className:"aspect-video max-h-[45vh] bg-slate-800 flex items-center justify-center relative group cursor-pointer",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-slate-800 to-slate-900"}),h>0?a.jsxs("div",{className:"relative z-10 text-center space-y-2",children:[a.jsxs("div",{className:"w-20 h-20 rounded-full border-4 border-primary/30 flex items-center justify-center mx-auto relative",children:[a.jsx("div",{className:"absolute inset-0 rounded-full border-4 border-primary border-t-transparent animate-spin"}),a.jsx("span",{className:"text-3xl font-display font-black text-primary",children:h})]}),a.jsx("p",{className:"text-slate-400 text-sm",children:"Preparando tu clase..."})]}):a.jsxs("div",{className:"relative z-10 text-center space-y-2",children:[a.jsx("button",{onClick:()=>e("/masterclass/video"),className:"w-20 h-20 rounded-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center mx-auto
1161shadow-lg shadow-primary/30 hover:scale-110 transition-transform duration-300 group",children:a.jsx(pi,{className:"w-8 h-8 text-white ml-1"})}),a.jsx("p",{className:"text-white font-semibold text-sm",children:"Haz clic para comenzar"})]}),a.jsxs("div",{className:"absolute top-3 left-3 flex items-center gap-1.5",children:[a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-red-500"}),a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-yellow-500"}),a.jsx("div",{className:"w-2.5 h-2.5 rounded-full bg-green-500"})]}),a.jsx("div",{className:"absolute bottom-3 left-3 right-3 flex items-center gap-2",children:a.jsx("div",{className:"h-1 flex-1 bg-slate-700 rounded-full overflow-hidden",children:a.jsx("div",{className:"h-full w-0 bg-gradient-to-r from-primary to-secondary"})})})]})})]}),a.jsx("div",{className:"bg-slate-900/60 backdrop-blur-sm border border-slate-700/50 rounded-xl p-4 text-center",children:a.jsxs("div",{className:"flex items-center justify-center gap-3 text-slate-300",children:[a.jsx("div",{className:"w-8 h-8 rounded-lg bg-primary/20 flex items-center justify-center flex-shrink-0",children:a.jsx(tZ,{className:"w-4 h-4 text-primary"})}),a.jsxs("p",{className:"text-sm sm:text-base",children:[a.jsx("span",{className:"font-semibold text-white",children:"Asegúrate de tener donde anotar."})," ","Al finalizar, tendrás un"," ",a.jsx("span",{className:"text-primary font-semibold",children:"regalo especial"})," ","para acelerar tu búsqueda con nuestra IA."]})]})})]})})]}):a.jsxs("div",{className:"min-h-screen bg-slate-950",children:[a.jsx(mr,{title:"Masterclass gratuita | Emplicity",description:"RegÃstrate a la masterclass gratuita de Emplicity y aprende cómo conseguir empleo más rápido con IA y Career Coaches.",canonicalPath:"/masterclass"}),a.jsxs("div",{className:"fixed inset-0 pointer-events-none",children:[a.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:` 1162 linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px), 1163 linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px) 1164 `,backgroundSize:"40px 40px"}}),a.jsx("div",{className:"absolute -top-32 -left-32 w-96 h-96 bg-primary/20 rounded-full blur-[100px] animate-pulse"}),a.jsx("div",{className:"absolute -bottom-32 -right-32 w-96 h-96 bg-secondary/20 rounded-full blur-[100px] animate-pulse",style:{animationDelay:"1s"}}),a.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[400px] bg-gradient-to-r from-primary/10 via-secondary/10 to-primary/10 rounded-full blur-[100px]"})]}),a.jsx("div",{className:"fixed top-6 left-6 z-50",children:a.jsxs(Ce,{variant:"ghost",onClick:()=>e("/"),className:"text-slate-400 hover:text-white hover:bg-slate-800/50 backdrop-blur-sm",children:[a.jsx($a,{className:"w-4 h-4 mr-2"}),"Volver"]})}),a.jsx("div",{className:"relative z-10 container mx-auto px-4 py-16 md:py-24",children:a.jsx("div",{className:"max-w-5xl mx-auto",children:a.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-primary/20 to-secondary/20 border border-primary/30 backdrop-blur-sm",children:[a.jsx(cZ,{className:"w-4 h-4 text-primary animate-pulse"}),a.jsx("span",{className:"text-sm font-semibold text-primary",children:"MASTERCLASS GRATUITA"}),a.jsx("div",{className:"w-2 h-2 bg-green-400 rounded-full animate-pulse"})]}),a.jsxs("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-display font-black text-white leading-tight",children:["De propósito a"," ",a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary via-cyan-300 to-secondary",children:"plan de acción"})]}),a.jsxs("p",{className:"text-xl text-slate-300 leading-relaxed",children:["Diseña tu búsqueda laboral desde enero y transforma tu propósito en"," ",a.jsx("span",{className:"text-primary font-semibold",children:"resultados reales"})]}),a.jsxs("div",{className:"flex flex-wrap gap-6 py-4",children:[a.jsxs("div",{className:"flex items-center gap-2 text-slate-300",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/20 flex items-center justify-center",children:a.jsx(Da,{className:"w-5 h-5 text-primary"})}),a.jsx("span",{className:"font-medium",children:"+500 inscritos"})]}),a.jsxs("div",{className:"flex items-center gap-2 text-slate-300",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-secondary/20 flex items-center justify-center",children:a.jsx(En,{className:"w-5 h-5 text-secondary"})}),a.jsx("span",{className:"font-medium",children:"20 minutos"})]}),a.jsxs("div",{className:"flex items-center gap-2 text-slate-300",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-green-500/20 flex items-center justify-center",children:a.jsx(yh,{className:"w-5 h-5 text-green-400"})}),a.jsx("span",{className:"font-medium",children:"100% Gratis"})]})]}),a.jsxs("div",{className:"space-y-4 pt-4",children:[a.jsxs("h3",{className:"text-lg font-bold text-white flex items-center gap-2",children:[a.jsx(xs,{className:"w-5 h-5 text-primary"}),"¿Qué aprenderás?"]}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-start gap-3 text-slate-300",children:[a.jsx(ea,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),a.jsx("span",{children:"Transforma la frustración de enero en una estrategia que no te agote."})]}),a.jsxs("div",{className:"flex items-start gap-3 text-slate-300",children:[a.jsx(ea,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),a.jsx("span",{children:"Detecta qué estás comunicando mal y haz que tu CV deje de ser invisible."})]}),a.jsxs("div",{className:"flex items-start gap-3 text-slate-300",children:[a.jsx(ea,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),a.jsx("span",{children:"El método para manejar varios procesos y que Tà seas quien elija."})]}),a.jsxs("div",{className:"flex items-start gap-3 text-slate-300",children:[a.jsx(ea,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),a.jsx("span",{children:"Domina la tecnologÃa para multiplicar tus resultados, no tu trabajo."})]}),a.jsxs("div",{className:"flex items-start gap-3 text-slate-300",children:[a.jsx(ea,{className:"w-5 h-5 text-primary flex-shrink-0 mt-0.5"}),a.jsx("span",{children:"Sal con un plan definido y una práctica de entrevista con IA de regalo."})]})]})]}),a.jsxs("div",{className:"bg-slate-900/60 backdrop-blur-sm border border-slate-700/50 rounded-xl p-5",children:[a.jsxs("div",{className:"flex items-center gap-2 text-green-400 font-bold mb-3",children:[a.jsx(yh,{className:"w-5 h-5"}),"BONUS al registrarte:"]}),a.jsxs("div",{className:"space-y-2 text-slate-300 text-sm",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full"}),a.jsx("span",{children:"1 entrevista gratuita con nuestra IA"})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-1.5 h-1.5 bg-primary rounded-full"}),a.jsx("span",{children:"Introducción al acompañamiento Emplicity"})]})]})]})]}),a.jsxs("div",{className:"relative lg:sticky lg:top-24",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/30 to-secondary/30 rounded-2xl blur-xl transform scale-105"}),a.jsxs("div",{className:"relative bg-slate-900/80 backdrop-blur-xl border border-slate-700/50 rounded-2xl p-6 sm:p-8",children:[a.jsxs("div",{className:"text-center mb-6",children:[a.jsxs("div",{className:"relative w-20 h-20 mx-auto mb-4",children:[a.jsx("div",{className:"w-full h-full rounded-full overflow-hidden border-3 border-primary/50 shadow-lg shadow-primary/20",children:a.jsx("img",{src:$we,alt:"Alejandra Isosorbe",className:"w-full h-full object-cover"})}),a.jsx("div",{className:"absolute -bottom-1 -right-1 w-7 h-7 bg-gradient-to-br from-primary to-secondary rounded-full flex items-center justify-center border-2 border-slate-900",children:a.jsx(ea,{className:"w-4 h-4 text-white"})})]}),a.jsx("p",{className:"text-primary text-xs font-semibold mb-1",children:"IMPARTIDO POR"}),a.jsx("h3",{className:"text-white font-bold text-lg",children:"Alejandra Isosorbe"}),a.jsx("p",{className:"text-slate-400 text-sm",children:"Career Coach Senior"}),a.jsx("div",{className:"w-16 h-0.5 bg-gradient-to-r from-primary to-secondary mx-auto mt-4 mb-4 rounded-full"}),a.jsx("h2",{className:"text-xl font-display font-bold text-white",children:"Reserva tu lugar gratis"})]}),a.jsxs("form",{onSubmit:x,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsxs(dt,{htmlFor:"nombre",className:"flex items-center gap-2 text-slate-300",children:[a.jsx(Bo,{className:"w-4 h-4 text-primary"}),"Nombre completo"]}),a.jsx(Lt,{id:"nombre",name:"nombre",type:"text",placeholder:"Tu nombre",value:n.nombre,onChange:y,className:"h-12 bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500 focus:border-primary"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs(dt,{htmlFor:"email",className:"flex items-center gap-2 text-slate-300",children:[a.jsx(Tr,{className:"w-4 h-4 text-primary"}),"Correo electrónico"]}),a.jsx(Lt,{id:"email",name:"email",type:"email",placeholder:"[email protected]",value:n.email,onChange:y,className:"h-12 bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500 focus:border-primary"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs(dt,{htmlFor:"telefono",className:"flex items-center gap-2 text-slate-300",children:[a.jsx(nZ,{className:"w-4 h-4 text-primary"}),"Celular"]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsxs(m2e,{open:l,onOpenChange:u,children:[a.jsx(g2e,{asChild:!0,children:a.jsxs(Ce,{variant:"outline",role:"combobox","aria-expanded":l,className:"w-[120px] justify-between font-normal h-12 bg-slate-800/50 border-slate-700 text-white hover:bg-slate-700/50 hover:text-white",children:[a.jsxs("span",{className:"flex items-center gap-1 truncate",children:[((_=CR.find(E=>E.code===i))==null?void 0:_.flag)||"ð"," ",i]}),a.jsx(MQ,{className:"ml-1 h-4 w-4 shrink-0 opacity-50"})]})}),a.jsx(lH,{className:"w-[280px] p-0",align:"start",children:a.jsxs(TH,{children:[a.jsx(PH,{placeholder:"Buscar paÃs..."}),a.jsxs(LH,{children:[a.jsx(RH,{children:"PaÃs no encontrado"}),a.jsx(OH,{children:CR.map(E=>a.jsxs(IH,{value:`${E.country} ${E.code}`,onSelect:()=>
1164{s(E.code),u(!1)},children:[a.jsx(ty,{className:lt("mr-2 h-4 w-4",i===E.code?"opacity-100":"opacity-0")}),a.jsx("span",{className:"mr-2",children:E.flag}),a.jsx("span",{className:"flex-1",children:E.country}),a.jsx("span",{className:"text-muted-foreground text-xs",children:E.code})]},`${E.code}-${E.country}`))})]})]})})]}),a.jsx(Lt,{id:"telefono",name:"telefono",type:"tel",placeholder:"55 1234 5678",value:n.telefono,onChange:E=>{const T=E.target.value.replace(/[^0-9]/g,"");r(A=>({...A,telefono:T}))},className:"flex-1 h-12 bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500 focus:border-primary"})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsxs(dt,{htmlFor:"posicion",className:"flex items-center gap-2 text-slate-300",children:[a.jsx(el,{className:"w-4 h-4 text-primary"}),"Posición que buscas"]}),a.jsx(Lt,{id:"posicion",name:"posicion",type:"text",placeholder:"Ej: Product Manager, Marketing...",value:n.posicion,onChange:y,className:"h-12 bg-slate-800/50 border-slate-700 text-white placeholder:text-slate-500 focus:border-primary"})]}),a.jsx(Ce,{type:"submit",size:"lg",className:"w-full h-14 text-lg font-bold bg-gradient-to-r from-primary to-secondary hover:from-primary/90 hover:to-secondary/90 text-white shadow-lg shadow-primary/25 hover:shadow-primary/40 transition-all duration-300 hover:scale-[1.02] group mt-2",disabled:o,children:o?"Registrando...":a.jsxs("span",{className:"flex items-center gap-2",children:["Acceder a la Masterclass",a.jsx(Gt,{className:"w-5 h-5 group-hover:translate-x-1 transition-transform"})]})})]}),a.jsx("p",{className:"text-center text-xs text-slate-500 mt-4",children:"ð Sin tarjeta de crédito ⢠Acceso inmediato"})]})]})]})})}),a.jsx("footer",{className:"relative z-10 py-8 border-t border-slate-800",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-primary to-secondary flex items-center justify-center",children:a.jsx("span",{className:"text-white font-bold text-sm",children:"E"})}),a.jsx("span",{className:"text-white font-display font-bold",children:"Emplicity"})]}),a.jsx("p",{className:"text-sm text-slate-500",children:"© 2025 Emplicity. Todos los derechos reservados."})]})})})]})};/*! @vimeo/player v2.30.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Vwe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,s,o,c=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(d){u=!0,i=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return c}}function ER(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function SR(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ER(Object(n),!0).forEach(function(r){Qb(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ER(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ua(){Ua=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(D,R,N){D[R]=N.value},i=typeof Symbol=="function"?Symbol:{},s=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function l(D,R,N){return Object.defineProperty(D,R,{value:N,enumerable:!0,configurable:!0,writable:!0}),D[R]}try{l({},"")}catch{l=function(R,N,q){return R[N]=q}}function u(D,R,N,q){var I=R&&R.prototype instanceof h?R:h,z=Object.create(I.prototype),M=new S(q||[]);return r(z,"_invoke",{value:E(D,N,M)}),z}function d(D,R,N){try{return{type:"normal",arg:D.call(R,N)}}catch(q){return{type:"throw",arg:q}}}e.wrap=u;var p={};function h(){}function f(){}function v(){}var m={};l(m,s,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(k([])));g&&g!==t&&n.call(g,s)&&(m=g);var x=v.prototype=h.prototype=Object.create(m);function b(D){["next","throw","return"].forEach(function(R){l(D,R,function(N){return this._invoke(R,N)})})}function _(D,R){function N(I,z,M,F){var H=d(D[I],D,z);if(H.type!=="throw"){var V=H.arg,O=V.value;return O&&typeof O=="object"&&n.call(O,"__await")?R.resolve(O.__await).then(function($){N("next",$,M,F)},function($){N("throw",$,M,F)}):R.resolve(O).then(function($){V.value=$,M(V)},function($){return N("throw",$,M,F)})}F(H.arg)}var q;r(this,"_invoke",{value:function(I,z){function M(){return new R(function(F,H){N(I,z,F,H)})}return q=q?q.then(M,M):M()}})}function E(D,R,N){var q="suspendedStart";return function(I,z){if(q==="executing")throw new Error("Generator is already running");if(q==="completed"){if(I==="throw")throw z;return P()}for(N.method=I,N.arg=z;;){var M=N.delegate;if(M){var F=T(M,N);if(F){if(F===p)continue;return F}}if(N.method==="next")N.sent=N._sent=N.arg;else if(N.method==="throw"){if(q==="suspendedStart")throw q="completed",N.arg;N.dispatchException(N.arg)}else N.method==="return"&&N.abrupt("return",N.arg);q="executing";var H=d(D,R,N);if(H.type==="normal"){if(q=N.done?"completed":"suspendedYield",H.arg===p)continue;return{value:H.arg,done:N.done}}H.type==="throw"&&(q="completed",N.method="throw",N.arg=H.arg)}}}function T(D,R){var N=R.method,q=D.iterator[N];if(q===void 0)return R.delegate=null,N==="throw"&&D.iterator.return&&
vendor: 4,564 bytes, line 1164
1164(R.method="return",R.arg=void 0,T(D,R),R.method==="throw")||N!=="return"&&(R.method="throw",R.arg=new TypeError("The iterator does not provide a '"+N+"' method")),p;var I=d(q,D.iterator,R.arg);if(I.type==="throw")return R.method="throw",R.arg=I.arg,R.delegate=null,p;var z=I.arg;return z?z.done?(R[D.resultName]=z.value,R.next=D.nextLoc,R.method!=="return"&&(R.method="next",R.arg=void 0),R.delegate=null,p):z:(R.method="throw",R.arg=new TypeError("iterator result is not an object"),R.delegate=null,p)}function A(D){var R={tryLoc:D[0]};1 in D&&(R.catchLoc=D[1]),2 in D&&(R.finallyLoc=D[2],R.afterLoc=D[3]),this.tryEntries.push(R)}function w(D){var R=D.completion||{};R.type="normal",delete R.arg,D.completion=R}function S(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(A,this),this.reset(!0)}function k(D){if(D){var R=D[s];if(R)return R.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var N=-1,q=function I(){for(;++N<D.length;)if(n.call(D,N))return I.value=D[N],I.done=!1,I;return I.value=void 0,I.done=!0,I};return q.next=q}}return{next:P}}function P(){return{value:void 0,done:!0}}return f.prototype=v,r(x,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:f,configurable:!0}),f.displayName=l(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(D){var R=typeof D=="function"&&D.constructor;return!!R&&(R===f||(R.displayName||R.name)==="GeneratorFunction")},e.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,v):(D.__proto__=v,l(D,c,"GeneratorFunction")),D.prototype=Object.create(x),D},e.awrap=function(D){return{__await:D}},b(_.prototype),l(_.prototype,o,function(){return this}),e.AsyncIterator=_,e.async=function(D,R,N,q,I){I===void 0&&(I=Promise);var z=new _(u(D,R,N,q),I);return e.isGeneratorFunction(R)?z:z.next().then(function(M){return M.done?M.value:z.next()})},b(x),l(x,c,"Generator"),l(x,s,function(){return this}),l(x,"toString",function(){return"[object Generator]"}),e.keys=function(D){var R=Object(D),N=[];for(var q in R)N.push(q);return N.reverse(),function I(){for(;N.length;){var z=N.pop();if(z in R)return I.value=z,I.done=!1,I}return I.done=!0,I}},e.values=k,S.prototype={constructor:S,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!D)for(var R in this)R.charAt(0)==="t"&&n.call(this,R)&&!isNaN(+R.slice(1))&&(this[R]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var R=this;function N(H,V){return z.type="throw",z.arg=D,R.next=H,V&&(R.method="next",R.arg=void 0),!!V}for(var q=this.tryEntries.length-1;q>=0;--q){var I=this.tryEntries[q],z=I.completion;if(I.tryLoc==="root")return N("end");if(I.tryLoc<=this.prev){var M=n.call(I,"catchLoc"),F=n.call(I,"finallyLoc");if(M&&F){if(this.prev<I.catchLoc)return N(I.catchLoc,!0);if(this.prev<I.finallyLoc)return N(I.finallyLoc)}else if(M){if(this.prev<I.catchLoc)return N(I.catchLoc,!0)}else{if(!F)throw new Error("try statement without catch or finally");if(this.prev<I.finallyLoc)return N(I.finallyLoc)}}}},abrupt:function(D,R){for(var N=this.tryEntries.length-1;N>=0;--N){var q=this.tryEntries[N];if(q.tryLoc<=this.prev&&n.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var I=q;break}}I&&(D==="break"||D==="continue")&&I.tryLoc<=R&&R<=I.finallyLoc&&(I=null);var z=I?I.completion:{};return z.type=D,z.arg=R,I?(this.method="next",this.next=I.finallyLoc,p):this.complete(z)},complete:function(D,R){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&R&&(this.next=R),p},finish:function(D){for(var R=this.tryEntries.length-1;R>=0;--R){var N=this.tryEntries[R];if(N.finallyLoc===D)return this.complete(N.completion,N.afterLoc),w(N),p}},catch:function(D){for(var R=this.tryEntries.length-1;R>=0;--R){var N=this.tryEntries[R];if(N.tryLoc===D){var q=N.completion;if(q.type==="throw"){var I=q.arg;w(N)}return I}}throw new Error("illegal catch attempt")},delegateYield:function(D,R,N){return this.delegate={iterator:k(D),resultName:R,nextLoc:N},this.method==="next"&&(this.arg=void 0),p}},e}function DR(e,t,n,r,i,s,o){try{var c=e[s](o),l=c.value}catch(u){n(u);return}c.done?t(l):Promise.resolve(l).then(r,i)}function ld(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var s=e.apply(t,n);function o(l){DR(s,r,i,o,c,"next",l)}
1164function c(l){DR(s,r,i,o,c,"throw",l)}o(void 0)})}}function UH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qH(r.key),r)}}function FH(e,t,n){return t&&AR(e.prototype,t),n&&AR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Qb(e,t,n){return t=qH(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$x(e,t)}function zx(e){return zx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},zx(e)}function $x(e,t){return $x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},$x(e,t)}function MH(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zb(e,t,n){return MH()?Zb=Reflect.construct.bind():Zb=function(i,s,o){var c=[null];c.push.apply(c,s);var l=Function.bind.apply(i,c),u=new l;return o&&$x(u,o.prototype),u},Zb.apply(null,arguments)}function Gwe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function PC(e){var t=typeof Map=="function"?new Map:void 0;return PC=function(r){if(r===null||!Gwe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Zb(r,arguments,zx(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),$x(i,r)},PC(e)}function Jb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xwe(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Jb(e)}function Kwe(e){var t=MH();return function(){var r=zx(e),i;if(t){var s=zx(this).constructor;i=Reflect.construct(r,arguments,s)}else i=r.apply(this,arguments);return Xwe(this,i)}}function Ywe(e,t){return Qwe(e)||Vwe(e,t)||Zwe(e,t)||Jwe()}function Qwe(e){if(Array.isArray(e))return e}function Zwe(e,t){if(e){if(typeof e=="string")return kR(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kR(e,t)}}function kR(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Jwe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 1165In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e5e(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function qH(e){var t=e5e(e,"string");return typeof t=="symbol"?t:String(t)}var t5e=typeof global<"u"&&{}.toString.call(global)==="[object global]",n5e=typeof Bun<"u",r5e=typeof Deno<"u",BH=t5e||n5e||r5e;function TR(e,t){return e.indexOf(t.toLowerCase())===0?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function a5e(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function i5e(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function qc(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function zH(e){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(e)}function s5e(e){for(var t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,s=r;i<s.length;i++){var o=s[i];if(n.endsWith(o))return n}return"vimeo.com"}function $H(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(i5e(r))return"https://vimeo.com/".concat(r);if(qc(r))return r.replace("http:","https:");throw t?new TypeError("â".concat(t,"â is not a valid video id.")):new TypeError("â".concat(r,"â is not a vimeo.com url."))}var PR=function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof n=="string"?[n]:n;return o.forEach(function(c){t[i](c,r)}),{cancel:function(){return o.forEach(function(l){return t[s](l,r)})}}};function ww(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!e||!t||typeof t.querySelectorAll!="function")return null;for(var n=t.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r]&&n[r].contentWindow===e)return n[r];return null}var o5e=typeof Array.prototype.indexOf<"u",c5e=typeof window<"u"&&typeof window.postMessage<"u";if(!BH&&(!o5e||!c5e))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var eh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l5e(e,t){return t={exports:{}},e(t,t.exports),t.exports}/*! 1166 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 1167 * https://github.com/polygonplanet/weakmap-polyfill 1168 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 1169 * @license MIT 1170 */(function(e){if(e.WeakMap)return;var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(s,o,c){n?Object.defineProperty(s,o,{configurable:!0,writable:!0,value:c}):s[o]=c};e.WeakMap=function(){function s(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",c("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(s.prototype,"delete",function(u){if(o(this,"delete"),!i(u))return!1;var d=u[this._id];return d&&d[0]===u?(delete u[this._id],!0):!1}),r(s.prototype,"get",function(u){if(o(this,"get"),!!i(u)){var d=u[this._id];if(d&&d[0]===u)return d[1]}}),r(s.prototype,"has",function(u){if(o(this,"has"),!i(u))return!1;var d=u[this._id];return!!(d&&d[0]===u)}),r(s.prototype,"set",function(u,d){if(o(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var p=u[this._id];return p&&p[0]===u?(p[1]=d,this):(r(u,this._id,[u,d]),this)});function o(u,d){if(!i(u)||!t.call(u,"_id"))throw new TypeError(d+" method called on incompatible receiver "+typeof u)}function c(u){return u+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return r(s,"_polyfill",!0),s}();function i(s){return Object(s)===s}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:eh);var os=l5e(function(e){/*! Native Promise Only 1171 v0.8.1 (c) Kyle Simpson 1172 MIT License: http://getify.mit-license.org 1173*/(function(n,r,i){r[n]=r[n]||i(),e.exports&&(e.exports=r[n])})("Promise",eh,function(){var n,r,i,s=Object.prototype.toString,o=typeof setImmediate<"u"?function(b){return setImmediate(b)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(b,_,E,T){return Object.defineProperty(b,_,{value:E,writable:!0,configurable:T!==!1})}}catch{n=function(_,E,T){return _[E]=T,_}}i=function(){var b,_,E;function T(A,w){this.fn=A,this.self=w,this.next=void 0}return{add:function(w,S){E=new T(w,S),_?_.next=E:b=E,_=E,E=void 0},drain:function(){var w=b;for(b=_=r=void 0;w;)w.fn.call(w.self),w=w.next}}}();function c(x,b){i.add(x,b),r||(r=o(i.drain))}function l(x){var b,_=typeof x;return x!=null&&(_=="object"||_=="function")&&(b=x.then),typeof b=="function"?b:!1}function u(){for(var x=0;x<this.chain.length;x++)d(this,this.state===1?this.chain[x].success:this.chain[x].failure,this.chain[x]);this.chain.length=0}function d(x,b,_){var E,T;
1173try{b===!1?_.reject(x.msg):(b===!0?E=x.msg:E=b.call(void 0,x.msg),E===_.promise?_.reject(TypeError("Promise-chain cycle")):(T=l(E))?T.call(E,_.resolve,_.reject):_.resolve(E))}catch(A){_.reject(A)}}function p(x){var b,_=this;if(!_.triggered){_.triggered=!0,_.def&&(_=_.def);try{(b=l(x))?c(function(){var E=new v(_);try{b.call(x,function(){p.apply(E,arguments)},function(){h.apply(E,arguments)})}catch(T){h.call(E,T)}}):(_.msg=x,_.state=1,_.chain.length>0&&c(u,_))}catch(E){h.call(new v(_),E)}}}function h(x){var b=this;b.triggered||(b.triggered=!0,b.def&&(b=b.def),b.msg=x,b.state=2,b.chain.length>0&&c(u,b))}function f(x,b,_,E){for(var T=0;T<b.length;T++)(function(w){x.resolve(b[w]).then(function(k){_(w,k)},E)})(T)}function v(x){this.def=x,this.triggered=!1}function m(x){this.promise=x,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function y(x){if(typeof x!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var b=new m(this);this.then=function(E,T){var A={success:typeof E=="function"?E:!0,failure:typeof T=="function"?T:!1};return A.promise=new this.constructor(function(S,k){if(typeof S!="function"||typeof k!="function")throw TypeError("Not a function");A.resolve=S,A.reject=k}),b.chain.push(A),b.state!==0&&c(u,b),A.promise},this.catch=function(E){return this.then(void 0,E)};try{x.call(void 0,function(E){p.call(b,E)},function(E){h.call(b,E)})}catch(_){h.call(b,_)}}var g=n({},"constructor",y,!1);return y.prototype=g,n(g,"__NPO__",0,!1),n(y,"resolve",function(b){var _=this;return b&&typeof b=="object"&&b.__NPO__===1?b:new _(function(T,A){if(typeof T!="function"||typeof A!="function")throw TypeError("Not a function");T(b)})}),n(y,"reject",function(b){return new this(function(E,T){if(typeof E!="function"||typeof T!="function")throw TypeError("Not a function");T(b)})}),n(y,"all",function(b){var _=this;return s.call(b)!="[object Array]"?_.reject(TypeError("Not an array")):b.length===0?_.resolve([]):new _(function(T,A){if(typeof T!="function"||typeof A!="function")throw TypeError("Not a function");var w=b.length,S=Array(w),k=0;f(_,b,function(D,R){S[D]=R,++k===w&&T(S)},A)})}),n(y,"race",function(b){var _=this;return s.call(b)!="[object Array]"?_.reject(TypeError("Not an array")):new _(function(T,A){if(typeof T!="function"||typeof A!="function")throw TypeError("Not a function");f(_,b,function(S,k){T(k)},A)})}),y})}),Bc=new WeakMap;function og(e,t,n){var r=Bc.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Bc.set(e.element,r)}function h1(e,t){var n=Bc.get(e.element)||{};return n[t]||[]}function m1(e,t,n){var r=Bc.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Bc.set(e.element,r),!0;var i=r[t].indexOf(n);return i!==-1&&r[t].splice(i,1),Bc.set(e.element,r),r[t]&&r[t].length===0}function u5e(e,t){var n=h1(e,t);if(n.length<1)return!1;var r=n.shift();return m1(e,t,r),r}function d5e(e,t){var n=Bc.get(e);Bc.set(t,n),Bc.delete(e)}function Fy(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(t){return console.warn(t),{}}return e}function ad(e,t,n){if(!(!e.element.contentWindow||!e.element.contentWindow.postMessage)){var r={method:t};n!==void 0&&(r.value=n);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}function p5e(e,t){t=Fy(t);var n=[],r;if(t.event){if(t.event==="error"){var i=h1(e,t.data.method);i.forEach(function(o){var c=new Error(t.data.message);c.name=t.data.name,o.reject(c),m1(e,t.data.method,o)})}n=h1(e,"event:".concat(t.event)),r=t.data}else if(t.method){var s=u5e(e,t.method);s&&(n.push(s),r=t.value)}n.forEach(function(o){try{if(typeof o=="function"){o.call(e,r);return}o.resolve(r)}catch{}})}var f5e=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function WH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return f5e.reduce(function(n,r){var i=e.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(n[r]=i===""?1:i),n},t)}function OD(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");
1173if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function VH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,i){if(!qc(e))throw new TypeError("â".concat(e,"â is not a vimeo.com url."));var s=s5e(e),o="https://".concat(s,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var c in t)t.hasOwnProperty(c)&&(o+="&".concat(c,"=").concat(encodeURIComponent(t[c])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",o,!0),l.onload=function(){if(l.status===404){i(new Error("â".concat(e,"â was not found.")));return}if(l.status===403){i(new Error("â".concat(e,"â is not embeddable.")));return}try{var u=JSON.parse(l.responseText);if(u.domain_status_code===403){OD(u,n),i(new Error("â".concat(e,"â is not embeddable.")));return}r(u)}catch(d){i(d)}},l.onerror=function(){var u=l.status?" (".concat(l.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(u,".")))},l.send()})}function h5e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=WH(r),s=$H(i);VH(s,i,r).then(function(o){return OD(o,r)}).catch(n)}catch(o){n(o)}})}function m5e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(r){if(qc(r.origin)&&!(!r.data||r.data.event!=="spacechange")){var i=r.source?ww(r.source,e):null;if(i){var s=i.parentElement;s.style.paddingBottom="".concat(r.data.data[0].bottom,"px")}}};window.addEventListener("message",t)}}function g5e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(r){if(qc(r.origin)){var i=Fy(r.data);if(!(!i||i.event!=="ready")){var s=r.source?ww(r.source,e):null;if(s&&zH(s.src)){var o=new ID(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function x5e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
1173=!0;var t=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},n=function(i){if(qc(i.origin)){var s=Fy(i.data);if(!(!s||s.event!=="ready")){var o=i.source?ww(i.source,e):null;if(o&&zH(o.src)){var c=new ID(o);c.getVideoId().then(function(l){var u=new RegExp("[?&]vimeo_t_".concat(l,"=([^&#]*)")).exec(window.location.href);if(u&&u[1]){var d=decodeURI(u[1]);c.setCurrentTime(d)}}).catch(t)}}}};window.addEventListener("message",n)}}function y5e(){if(!window.VimeoDRMEmbedsUpdated){window.VimeoDRMEmbedsUpdated=!0;var e=function(n){if(qc(n.origin)){var r=Fy(n.data);if(!(!r||r.event!=="drminitfailed")){var i=n.source?ww(n.source):null;if(i){var s=i.getAttribute("allow")||"",o=s.includes("encrypted-media");if(!o){i.setAttribute("allow","".concat(s,"; encrypted-media"));var c=new URL(i.getAttribute("src"));c.searchParams.set("forcereload","drm"),i.setAttribute("src",c.toString());return}}}}};window.addEventListener("message",e)}}function v5e(){var e=function(){for(var r,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],s=0,o=i.length,c={};s<o;s++)if(r=i[s],r&&r[1]in document){for(s=0;s<r.length;s++)c[i[0][s]]=r[s];return c}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:function(i){return new Promise(function(s,o){var c=function u(){n.off("fullscreenchange",u),s()};n.on("fullscreenchange",c),i=i||document.documentElement;var l=i[e.requestFullscreen]();l instanceof Promise&&l.then(c).catch(o)})},exit:function(){return new Promise(function(i,s){if(!n.isFullscreen){i();return}var o=function l(){n.off("fullscreenchange",l),i()};n.on("fullscreenchange",o);var c=document[e.exitFullscreen]();c instanceof Promise&&c.then(o).catch(s)})},on:function(i,s){var o=t[i];o&&document.addEventListener(o,s)},off:function(i,s){var o=t[i];o&&document.removeEventListener(o,s)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[e.fullscreenEnabled]}}}),n}var b5e={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},w5e=function(e){Hwe(n,e);var t=Kwe(n);function n(r,i){var s,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},c=arguments.length>3?arguments[3]:void 0;return UH(this,n),s=t.call(this),Qb(Jb(s),"logger",void 0),Qb(Jb(s),"speedAdjustment",0),Qb(Jb(s),"adjustSpeed",function(){var l=ld(Ua().mark(function u(d,p){var h;return Ua().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(s.speedAdjustment!==p){v.next=2;break}return v.abrupt("return");case 2:return v.next=4,d.getPlaybackRate();case 4:return v.t0=v.sent,v.t1=s.speedAdjustment,v.t2=v.t0-v.t1,v.t3=p,h=v.t2+v.t3,s.log("New playbackRate: ".concat(h)),v.next=12,d.setPlaybackRate(h);case 12:s.speedAdjustment=p;case 13:case"end":return v.stop()}},u)}));return function(u,d){return l.apply(this,arguments)}}()),s.logger=c,s.init(i,r,SR(SR({},b5e),o)),s}return FH(n,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var r=ld(Ua().mark(function s(o,c,l){var u=this,d,p,h;return Ua().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,this.waitForTOReadyState(o,"open");case 2:if(l.role!=="viewer"){v.next=10;break}return v.next=5,this.updatePlayer(o,c,l);case 5:d=PR(o,"change",function(){return u.updatePlayer(o,c,l)}),p=this.maintainPlaybackPosition(o,c,l),this.addEventListener("disconnect",function(){p.cancel(),d.cancel()}),v.next=14;break;case 10:return v.next=12,this.updateTimingObject(o,c);case 12:h=PR(c,["seeked","play","pause","ratechange"],function(){return u.updateTimingObject(o,c)},"on","off"),this.addEventListener("disconnect",function(){return h.cancel()});case 14:case"end":return v.stop()}},s,this)}));function i(s,o,c){return r.apply(this,arguments)}return i}()},{key:"updateTimingObject",value:function(){var r=ld(Ua().mark(function s(o,c){var l,u,d,p,h;return Ua().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,Promise.all([c.getCurrentTime(),c.getPaused(),c.getPlaybackRate()]);case 2:l=v.sent,u=Ywe(l,3),d=u[0],p=u[1],h=u[2],o.update({position:d,velocity:p?0:h});case 8:case"end":return v.stop()}},s)}));function i(s,o){return r.apply(this,arguments)}return i}()},{key:"updatePlayer",value:function(){var r=ld(Ua().mark(function s(o,c,l){var u,d,p;return Ua().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(u=o.query(),d=u.position,p=u.velocity,typeof d=="number"&&c.setCurrentTime(d),typeof p!="number"){f.next=25;break}if(p!==0){f.next=11;break}return f.next=6,c.getPaused();case 6:if(f.t0=f.sent,f.t0!==!1){f.next=9;break}c.pause();case 9:f.next=25;break;case 11:if(!(p>0)){f.next=25;break}return f.next=14,c.getPaused();case 14:if(f.t1=f.sent,f.t1!==!0){f.next=19;break}return f.next=18,c.play().catch(function(){var v=ld(Ua().mark(function m(y){return Ua().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(!(y.name==="NotAllowedError"&&l.autoPlayMuted)){x.next=5;break}return x.next=3,c.setMuted(!0);case 3:return x.next=5,c.play().catch(function(b){return console.error("Couldn't play the video from TimingSrcConnector. Error:",b)});case 5:case"end":return x.stop()}},m)}));return function(m){return v.apply(this,arguments)}}());case 18:this.updatePlayer(o,c,l);case 19:return f.next=21,c.getPlaybackRate();case 21:if(f.t2=f.sent,f.t3=p,f.t2===f.t3){f.next=25;break}c.setPlaybackRate(p);case 25:case"end":return f.stop()}},s,this)}));function i(s,o,c){return r.apply(this,arguments)}return i}()},{key:"maintainPlaybackPosition",value:function(i,s,o){var c=this,l=o.allowedDrift,u=o.maxAllowedDrift,d=o.minCheckInterval,p=o.maxRateAdjustment,h=o.maxTimeToCatchUp,f=Math.min(h,Math.max(d,u))*1e3,v=function(){var y=ld(Ua().mark(function g(){var x,b,_,E,T;return Ua().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(w.t0=i.query().velocity===0,w.t0){w.next=6;break}return w.next=4,s.getPaused();case 4:w.t1=w.sent,w.t0=w.t1===!0;case 6:if(!w.t0){w.next=8;break}return w.abrupt("return");case 8:return w.t2=i.query().position,w.next=11,s.getCurrentTime();case 11:if(w.t3=w.sent,x=w.t2-w.t3,b=Math.abs(x),c.log("Drift: ".concat(x)),!(b>u)){w.next=22;break}
1173return w.next=18,c.adjustSpeed(s,0);case 18:s.setCurrentTime(i.query().position),c.log("Resync by currentTime"),w.next=29;break;case 22:if(!(b>l)){w.next=29;break}return _=b/h,E=p,T=_<E?(E-_)/2:E,w.next=28,c.adjustSpeed(s,T*Math.sign(x));case 28:c.log("Resync by playbackRate");case 29:case"end":return w.stop()}},g)}));return function(){return y.apply(this,arguments)}}(),m=setInterval(function(){return v()},f);return{cancel:function(){return clearInterval(m)}}}},{key:"log",value:function(i){var s;(s=this.logger)===null||s===void 0||s.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,s){return new Promise(function(o){var c=function l(){i.readyState===s?o():i.addEventListener("readystatechange",l,{once:!0})};c()})}}]),n}(PC(EventTarget)),of=new WeakMap,fN=new WeakMap,ni={},ID=function(){function e(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(UH(this,e),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!a5e(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){var i=t.querySelector("iframe");
1173i&&(t=i)}if(t.nodeName==="IFRAME"&&!qc(t.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(of.has(t))return of.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var s=new os(function(c,l){if(n._onMessage=function(p){if(!(!qc(p.origin)||n.element.contentWindow!==p.source)){n.origin==="*"&&(n.origin=p.origin);var h=Fy(p.data),f=h&&h.event==="error",v=f&&h.data&&h.data.method==="ready";if(v){var m=new Error(h.data.message);m.name=h.data.name,l(m);return}var y=h&&h.event==="ready",g=h&&h.method==="ping";if(y||g){n.element.setAttribute("data-ready","true"),c();return}p5e(n,h)}},n._window.addEventListener("message",n._onMessage),n.element.nodeName!=="IFRAME"){var u=WH(t,r),d=$H(u);VH(d,u,t).then(function(p){var h=OD(p,t);return n.element=h,n._originalElement=t,d5e(t,h),of.set(n.element,n),p}).catch(l)}});if(fN.set(this,s),of.set(this.element,this),this.element.nodeName==="IFRAME"&&ad(this,"ping"),ni.isEnabled){var o=function(){return ni.exit()};this.fullscreenchangeHandler=function(){ni.isFullscreen?og(n,"event:exitFullscreen",o):m1(n,"event:exitFullscreen",o),n.ready().then(function(){ad(n,"fullscreenchange",ni.isFullscreen)})},ni.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return FH(e,[{key:"callMethod",value:function(n){for(var r=this,i=arguments.length,s=new Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];if(n==null)throw new TypeError("You must pass a method name.");return new os(function(c,l){return r.ready().then(function(){og(r,n,{resolve:c,reject:l}),s.length===0?s={}:s.length===1&&(s=s[0]),ad(r,n,s)}).catch(l)})}},{key:"get",value:function(n){var r=this;return new os(function(i,s){return n=TR(n,"get"),r.ready().then(function(){og(r,n,{resolve:i,reject:s}),ad(r,n)}).catch(s)})}},{key:"set",value:function(n,r){var i=this;return new os(function(s,o){if(n=TR(n,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){og(i,n,{resolve:s,reject:o}),ad(i,n,r)}).catch(o)})}},{key:"on",value:function(n,r){if(!n)throw new TypeError("You must pass an event name.");if(!r)throw new TypeError("You must pass a callback function.");if(typeof r!="function")throw new TypeError("The callback must be a function.");var i=h1(this,"event:".concat(n));i.length===0&&this.callMethod("addEventListener",n).catch(function(){}),og(this,"event:".concat(n),r)}},{key:"off",value:function(n,r){if(!n)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");var i=m1(this,"event:".concat(n),r);i&&this.callMethod("removeEventListener",n).catch(function(s){})}},{key:"loadVideo",value:function(n){return this.callMethod("loadVideo",n)}},{key:"ready",value:function(){var n=fN.get(this)||new os(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return os.resolve(n)}},{key:"addCuePoint",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:n,data:r})}},{key:"removeCuePoint",value:function(n){return this.callMethod("removeCuePoint",n)}},{key:"enableTextTrack",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!n)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:n,kind:r,showing:i})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"selectAudioTrack",value:function(n,r){if(!n)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:n,kind:r})}},{key:"selectDefaultAudioTrack",value:function(){return this.callMethod("selectDefaultAudioTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return ni.isEnabled?ni.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return ni.isEnabled?ni.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return ni.isEnabled?os.resolve(ni.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var n=this;return new os(function(r){if(fN.delete(n),of.delete(n.element),n._originalElement&&(of.delete(n._originalElement),n._originalElement.removeAttribute("data-vimeo-initialized")),n.element&&n.element.nodeName==="IFRAME"&&n.element.parentNode&&(n.element.parentNode.parentNode&&n._originalElement&&n._originalElement!==n.element.parentNode?n.element.parentNode.parentNode.removeChild(n.element.parentNode):n.element.parentNode.removeChild(n.element)),n.element&&n.element.nodeName==="DIV"&&n.element.parentNode){n.element.removeAttribute("data-vimeo-initialized");var i=n.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&n._originalElement&&n._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}n._window.removeEventListener("message",n._onMessage),ni.isEnabled&&ni.off("fullscreenchange",n.fullscreenchangeHandler),r()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(n){return this.set("autopause",n)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(n){return this.set("cameraProps",n)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return os.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(n){return this.set("color",n)}},{key:"setColors",value:function(n){if(!Array.isArray(n))return new os(function(s,o){return o(new TypeError("Argument must be an array."))});var r=new os(function(s){return s(null)}),i=[n[0]?this.set("colorOne",n[0]):r,n[1]?this.set("colorTwo",n[1]):r,n[2]?this.set("colorThree",n[2]):r,n[3]?this.set("colorFour",n[3]):r];return os.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(n){return this.set("currentTime",n)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(n){return this.set("loop",n)}},{key:"setMuted",value:function(n){return this.set("muted",n)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(n){return this.set("playbackRate",n)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
1173},{key:"setQuality",value:function(n){return this.set("quality",n)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getAudioTracks",value:function(){return this.get("audioTracks")}},{key:"getEnabledAudioTrack",value:function(){return this.get("enabledAudioTrack")}},{key:"getDefaultAudioTrack",value:function(){return this.get("defaultAudioTrack")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(n){return this.set("volume",n)}},{key:"setTimingSrc",value:function(){var t=ld(Ua().mark(function r(i,s){var o=this,c;return Ua().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(i){u.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return u.next=4,this.ready();case 4:return c=new w5e(this,i,s),ad(this,"notifyTimingObjectConnect"),c.addEventListener("disconnect",function(){return ad(o,"notifyTimingObjectDisconnect")}),u.abrupt("return",c);case 8:case"end":return u.stop()}},r,this)}));function n(r,i){return t.apply(this,arguments)}return n}()}],[{key:"isVimeoUrl",value:function(n){return qc(n)}}]),e}();BH||(ni=v5e(),h5e(),m5e(),g5e(),x5e(),y5e());const j5e=820,Nb={workbook:{url:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/emplicity%2FWorkbook_Masterclass_V2.pdf?alt=media&token=77977fc3-f6d5-425e-a38a-bc7adb77b9cb",filename:"Workbook_Masterclass_Emplicity.pdf"},bonusKit:{url:"https://firebasestorage.googleapis.com/v0/b/lapieza-production.appspot.com/o/emplicity%2FBonus_Kit_V2.pdf?alt=media&token=e5b158b7-e14a-48fc-839f-f0482d133b0f",filename:"Kit_Negociacion_Salarial_Emplicity.pdf"}},_5e=()=>{const e=Xt(),[t,n]=j.useState(!1),[r,i]=j.useState(!0),[s,o]=j.useState(!1),[c,l]=j.useState(!1),u=j.useRef(null),d=j.useRef(null),p=async(v,m,y)=>{try{y(!0);const x=await(await fetch(v)).blob(),b=window.URL.createObjectURL(x),_=document.createElement("a");_.href=b,_.download=m,document.body.appendChild(_),_.click(),document.body.removeChild(_),window.URL.revokeObjectURL(b)}catch(g){console.error("Error descargando archivo:",g),window.open(v,"_blank")}finally{y(!1)}};j.useEffect(()=>{(async()=>{const{data:{session:m}}=await Ye.auth.getSession();if(!m){e("/masterclass");return}i(!1)})()},[e]),j.useEffect(()=>{if(r||!u.current)return;const v=new ID(u.current);return d.current=v,v.on("timeupdate",m=>{m.seconds>=j5e&&!t&&n(!0)}),()=>{v.off("timeupdate")}},[r,t]);const h=async()=>{await Ye.auth.signOut(),e("/masterclass")},f=()=>{e("/apply")};return r?a.jsxs("div",{className:"h-screen bg-slate-950 flex items-center justify-center",children:[a.jsx("div",{className:"fixed inset-0 pointer-events-none",children:a.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:` 1174 linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px), 1175 linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px) 1176 `,backgroundSize:"40px 40px"}})}),a.jsxs("div",{className:"relative z-10 text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-primary/30 border-t-primary animate-spin mx-auto mb-4"}),a.jsx("p",{className:"text-slate-400",children:"Cargando tu masterclass..."})]})]}):a.jsxs("div",{className:"h-screen bg-slate-950 flex flex-col overflow-hidden",children:[a.jsxs("div",{className:"fixed inset-0 pointer-events-none",children:[a.jsx("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:` 1177 linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px), 1178 linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px) 1179 `,backgroundSize:"40px 40px"}}),a.jsx("div",{className:"absolute -top-32 -left-32 w-96 h-96 bg-primary/10 rounded-full blur-[100px]"}),a.jsx("div",{className:"absolute -bottom-32 -right-32 w-96 h-96 bg-secondary/10 rounded-full blur-[100px]"})]}),a.jsx("div",{className:"fixed top-4 right-4 z-50",children:a.jsxs(Ce,{variant:"ghost",onClick:h,className:"text-slate-400 hover:text-white hover:bg-slate-800/50 backdrop-blur-sm",children:[a.jsx(O1,{className:"w-4 h-4 mr-2"}),"Salir"]})}),a.jsx("div",{className:"relative z-10 flex-1 flex flex-col items-center justify-center px-4 py-4",children:a.jsxs("div",{className:"w-full max-w-4xl space-y-3",children:[a.jsx("div",{className:"text-center",children:a.jsxs("h1",{className:"text-xl sm:text-2xl lg:text-3xl font-display font-black text-white leading-tight",children:["De propósito a"," ",a.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-primary via-cyan-300 to-secondary",children:"plan de acción"})]})}),a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-primary/20 to-secondary/20 rounded-xl blur-lg"}),a.jsx("div",{className:"relative bg-slate-900/80 backdrop-blur-xl border border-slate-700/50 rounded-xl overflow-hidden",children:a.jsx("div",{className:"aspect-video max-h-[50vh]",children:a.jsx("iframe",{ref:u,src:"https://player.vimeo.com/video/1152
1179036808?h=b6285bd8bf&autoplay=1&title=0&byline=0&portrait=0",className:"w-full h-full",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,title:"Masterclass Emplicity"})})})]}),a.jsx("div",{className:`transition-all duration-700 ${t?"opacity-100 translate-y-0":"opacity-0 translate-y-4 pointer-events-none h-0"}`,children:a.jsxs("div",{className:"bg-gradient-to-r from-primary/10 via-secondary/10 to-primary/10 border border-primary/30 rounded-xl p-4 text-center space-y-3",children:[a.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-gradient-to-r from-primary/20 to-secondary/20 border border-primary/30",children:[a.jsx(xs,{className:"w-4 h-4 text-primary animate-pulse"}),a.jsx("span",{className:"text-xs font-semibold text-primary",children:"OFERTA ESPECIAL PARA ASISTENTES"})]}),a.jsx("h3",{className:"text-lg sm:text-xl font-display font-bold text-white",children:"¿Listo para transformar tu búsqueda laboral?"}),a.jsxs(Ce,{onClick:f,size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:from-primary/90 hover:to-secondary/90 text-white font-bold px-6 py-5 text-base shadow-lg shadow-primary/25 hover:shadow-primary/40 transition-all duration-300 hover:scale-105 group",children:[a.jsx(UE,{className:"w-5 h-5 mr-2"}),"Probar Emplicity GRATIS",a.jsx(Gt,{className:"w-5 h-5 ml-2 group-hover:translate-x-1 transition-transform"})]}),a.jsx("p",{className:"text-xs text-slate-500",children:"ð Incluye 1 entrevista gratuita con nuestra IA"}),a.jsxs("div",{className:"pt-3 border-t border-slate-700/50",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-3",children:[a.jsx(yh,{className:"w-4 h-4 text-green-400"}),a.jsx("span",{className:"text-sm font-semibold text-white",children:"Material exclusivo para ti"})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 justify-center",children:[a.jsxs("button",{onClick:()=>p(Nb.workbook.url,Nb.workbook.filename,o),disabled:s,className:"inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg bg-slate-800 hover:bg-slate-700 border border-slate-600 text-white text-sm font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[s?a.jsx(hu,{className:"w-4 h-4 animate-spin"}):a.jsx(Oc,{className:"w-4 h-4"}),"Workbook Masterclass"]}),a.jsxs("button",{onClick:()=>p(Nb.bonusKit.url,Nb.bonusKit.filename,l),disabled:c,className:"inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg bg-slate-800 hover:bg-slate-700 border border-slate-600 text-white text-sm font-medium transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[c?a.jsx(hu,{className:"w-4 h-4 animate-spin"}):a.jsx(Oc,{className:"w-4 h-4"}),"Kit de Negociación Salarial"]})]})]})]})}),!t&&a.jsx("p",{className:"text-center text-slate-500 text-xs",children:"Este contenido es exclusivo para participantes registrados de la masterclass."})]})})]})},N5e={analyzing:{title:"Tu postulación se está analizando",description:"En las próximas 24 horas nos pondremos en contacto contigo. Revisa tu correo y teléfono.",icon:hu},rejected:{title:"Postulación no procede",description:"En esta ocasión tu postulación no fue aceptada. Agradecemos tu interés y te invitamos a intentarlo más adelante.",icon:Zr},pending_contract:{title:"Pendiente de contrato",description:"Tu postulación fue aprobada. Estamos preparando tu contrato, pronto te lo enviaremos.",icon:En,showLogin:!0},pending_signature:{title:"Pendiente de firma",description:"Te hemos enviado el contrato. Por favor fÃrmalo para continuar con el proceso.",icon:$Q,showLogin:!0},pending_coach:{title:"Pendiente de Career Coach",description:"¡Ya firmaste el contrato! Estamos asignándote un Career Coach. Te avisaremos muy pronto.",icon:ME,showLogin:!0},active:{title:"Estás activo/a en el programa",description:"Bienvenido/a a Emplicity. Inicia sesión para acceder a tu cuenta y comenzar.",icon:ea,showLogin:!0},inactive:{title:"Cuenta inactiva",description:"Tu cuenta está inactiva en este momento. Contáctanos si crees que esto es un error.",icon:Zr}
1179,successful:{title:"¡Proceso exitoso!",description:"Has completado el programa con éxito. ¡Felicitaciones por tu logro!",icon:ea,showLogin:!0},unsuccessful:{title:"Proceso no exitoso",description:"Lamentablemente el proceso no pudo completarse. Agradecemos tu interés.",icon:Zr}},C5e=["analyzing","rejected","pending_contract","pending_signature","pending_coach","active","inactive","successful","unsuccessful"],E5e=()=>{const[e]=a4(),t=Xt(),n=e.get("state")||"analyzing",r=C5e.includes(n)?n:"analyzing",i=N5e[r],s=i.icon,o=r==="rejected"||r==="unsuccessful"||r==="inactive";return a.jsxs("div",{className:"min-h-screen bg-background flex flex-col",children:[a.jsx(Rr,{}),a.jsx("main",{className:"flex-1 flex flex-col items-center justify-center px-4 py-16 pt-24",children:a.jsxs("div",{className:"max-w-md w-full text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:`flex h-16 w-16 items-center justify-center rounded-full ${o?"bg-destructive/10 text-destructive":"bg-primary/10 text-primary"}`,children:a.jsx(s,{className:"h-8 w-8"})})}),a.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:i.title}),a.jsx("p",{className:"text-muted-foreground",children:i.description}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:[i.showLogin&&a.jsxs(Ce,{onClick:()=>t("/login"),className:"bg-primary text-primary-foreground",children:[a.jsx(g3,{className:"h-4 w-4 mr-2"}),"Iniciar sesión"]}),a.jsx(Ce,{variant:"outline",onClick:()=>t("/"),children:"Volver al inicio"})]})]})})]})};function S5e(){const e=Xt();return a.jsxs("div",{className:"min-h-screen relative overflow-hidden bg-gradient-to-br from-background via-primary/5 to-secondary/10 flex items-center justify-center p-4",children:[a.jsx("div",{className:"pointer-events-none absolute -top-24 -left-24 h-72 w-72 rounded-full bg-primary/20 blur-3xl"}),a.jsx("div",{className:"pointer-events-none absolute -bottom-24 -right-24 h-72 w-72 rounded-full bg-secondary/20 blur-3xl"}),a.jsxs("div",{className:"relative w-full max-w-lg",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsx("div",{className:"flex justify-center mb-4",children:a.jsx("img",{src:Kc,alt:"Emplicity",className:"h-14"})}),a.jsxs(Ln,{variant:"secondary",className:"gap-1.5",children:[a.jsx(xs,{className:"h-3.5 w-3.5"}),"Novedades muy pronto"]})]}),a.jsx(nt,{className:"shadow-elegant border-0",children:a.jsxs(it,{className:"pt-10 pb-8 px-6 sm:px-10 text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"flex h-20 w-20 items-center justify-center rounded-full bg-gradient-hero text-primary-foreground shadow-glow",children:a.jsx(F7,{className:"h-10 w-10"})})}),a.jsxs("div",{className:"space-y-3",children:[a.jsx("h1",{className:"text-2xl sm:text-3xl font-semibold text-foreground",children:"El registro está en pausa"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"Estamos mejorando la experiencia de Emplicity para darte un mejor acompañamiento en tu búsqueda de empleo. Por ah
1179ora no estamos aceptando nuevos registros, pero muy pronto reabriremos las inscripciones."})]}),a.jsx("div",{className:"rounded-lg border border-border bg-muted/40 p-4 text-sm text-muted-foreground",children:"¿Ya tienes un código de invitación o dudas sobre tu membresÃa? EscrÃbenos por WhatsApp y con gusto te ayudamos."}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-2",children:a.jsxs(Ce,{variant:"outline",size:"lg",className:"w-full sm:w-auto",onClick:()=>e("/"),children:["Volver al inicio",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]})}),a.jsx("div",{className:"pt-2",children:a.jsxs("button",{type:"button",onClick:()=>e("/login"),className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:["¿Ya tienes cuenta?"," ",a.jsx("span",{className:"text-primary font-medium",children:"Inicia sesión aquÃ"})]})})]})})]})]})}const Fu=({items:e})=>{const t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((n,r)=>({"@type":"ListItem",position:r+1,name:n.name,item:n.url}))};return a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}})},Qi=[{slug:"que-hacer-despues-de-un-despido",title:"Qué hacer después de un despido: guÃa paso a paso para conseguir trabajo rápido",metaTitle:"Qué hacer después de un despido: guÃa paso a paso para conseguir trabajo rápido en 2026 | Emplicity",metaDescription:"Te despidieron y no sabes qué hacer. GuÃa completa para reaccionar después de un despido: derechos, finiquito, manejo emocional, CV ATS, LinkedIn, networking y estrategia para conseguir empleo rápido en México, Colombia, Perú y Chile.",excerpt:"GuÃa empática y práctica para reaccionar tras un despido: primeros dÃas, finiquito, plan de búsqueda, CV, LinkedIn y cómo conseguir trabajo más rápido.",date:"2026-05-11",readTime:"22 min",category:"Estrategia de Búsqueda"},{slug:"outplacement-para-empresas-guia",title:"Outplacement para empresas: qué es, cómo funciona y cómo elegir el mejor programa",metaTitle:"Outplacement para empresas: qué es, cómo funciona y cómo elegir el mejor programa en 2026 | Emplicity",metaDescription:"GuÃa completa de outplacement para empresas en LATAM. Aprende qué es, cómo funciona, cuánto cuesta, cuándo conviene y cómo elegir el mejor programa de recolocación laboral en México, Colombia, Perú y Chile para proteger tu marca empleadora.",excerpt:"GuÃa completa para HR Directors y People Ops: qué es outplacement, cómo funciona y cómo elegir el mejor programa de recolocación laboral en LATAM.",date:"2026-05-11",readTime:"20 min",category:"Outplacement"},{slug:"como-conseguir-trabajo-rapido",title:"Cómo conseguir trabajo rápido: 12 estrategias probadas para encontrar empleo en menos tiempo",metaTitle:"Cómo conseguir trabajo rápido en 2026: 12 estrategias que sà funcionan | Emplicity",metaDescription:"Aprende cómo conseguir trabajo rápido con 12 estrategias probadas: CV ATS, LinkedIn, networking, entrevistas e IA. GuÃa completa para encontrar empleo en MX, CO, PE y CL.",excerpt:"12 estrategias accionables para conseguir trabajo más rápido en 2026, basadas en cómo hoy realmente contratan las empresas en LATAM.",date:"2026-05-05",readTime:"20 min",category:"Estrategia de Búsqueda"},{slug:"preguntas-entrevista-de-trabajo-respuestas",title:"Preguntas y respuestas para entrevistas de trabajo: 100 ejemplos reales",metaTitle:"Preguntas y respuestas para entrevistas de trabajo: 100 ejemplos reales 2026 | Emplicity",metaDescription:"Las 100 preguntas más frecuentes en entrevistas de trabajo con respuestas modelo, método STAR y ejemplos por perfil. GuÃa completa de Emplicity para 2026.",excerpt:"Las 100 preguntas más frecuentes en entrevistas de trabajo, agrupadas por categorÃa, con respuestas modelo y método STAR.",date:"2026-05-05",readTime:"26 min",category:"Entrevistas"},{slug:"como-prepararte-para-una-entrevista-de-trabajo",title:"Cómo prepararte para una entrevista de trabajo: guÃa completa 2025",metaTitle:"Cómo prepararte para una entrevista de trabajo: guÃa completa 2025 | Emplicity",metaDescription:"Aprende paso a paso cómo prepararte para una entrevista de trabajo. Preguntas frecuentes, consejos de expertos y errores a evitar. GuÃa práctica 2025 con Career Coaches.",excerpt:"La preparación es lo que separa a los candidatos que reciben ofertas de los que no. Aprende el método STAR, las preguntas más comunes y los errores que debes evitar.",date:"2025-04-07",readTime:"16 min",category:"Entrevistas"},{slug:"como-optimizar-linkedin-para-conseguir-trabajo",title:"Cómo optimizar tu LinkedIn para conseguir trabajo en 2025",metaTitle:"Cómo optimizar tu LinkedIn para conseguir trabajo en 2025 | Emplicity",metaDescription:"GuÃa completa para optimizar tu perfil de LinkedIn y conseguir trabajo. Foto, titular, resumen, experiencia, palabras clave y estrategia de networking. Actualizado 2025.",excerpt:"Tu LinkedIn es tu primera impresión profesional. Aprende a optimizar cada sección para que los re
1179clutadores te encuentren y te contacten.",date:"2025-04-05",readTime:"18 min",category:"LinkedIn"},{slug:"como-optimizar-tu-cv-para-ats",title:"Cómo optimizar tu CV para pasar el filtro ATS y conseguir entrevistas",metaTitle:"Cómo optimizar tu CV para pasar el filtro ATS y conseguir entrevistas | Emplicity",metaDescription:"Aprende paso a paso cómo optimizar tu CV para los filtros ATS. Evita los 7 errores más comunes y aumenta tus chances de conseguir entrevistas. GuÃa completa 2025.",excerpt:"El 75% de los CVs nunca llegan a un reclutador humano. Aprende cómo pasar el filtro ATS y empieza a conseguir entrevistas reales.",date:"2025-04-01",readTime:"18 min",category:"CV y Postulación"},{slug:"como-negociar-tu-sueldo",title:"Cómo negociar tu sueldo en una entrevista de trabajo: guÃa completa 2026",metaTitle:"Cómo negociar tu sueldo en una entrevista de trabajo: guÃa completa 2026 | Emplicity",metaDescription:"Aprende a negociar tu sueldo con confianza: cuándo hablar de dinero, cómo investigar rangos salariales, qué responder ante cuánto quieres ganar y cómo cerrar la mejor oferta posible. GuÃa completa 2026.",excerpt:"Aprende a negociar con confianza y consigue la oferta que mereces",date:"2026-04-10",readTime:"18 min",category:"Negociación"},{slug:"que-es-un-career-coach",title:"Qué es un Career Coach y cómo puede ayudarte a conseguir trabajo",metaTitle:"Qué es un Career Coach y cómo puede ayudarte a conseguir trabajo | Emplicity",metaDescription:"Un Career Coach es un profesional que te guÃa para conseguir empleo más rápido. Descubre qué hace, en qué se diferencia de una agencia de empleo, cuándo necesitas uno y qué resultados reales puedes esperar.",excerpt:"Todo lo que necesitas saber sobre Career Coaching y cómo funciona Emplicity",date:"2026-04-08",readTime:"20 min",category:"Career Coaching"},{slug:"por-que-no-me-llaman-entrevistas",title:"Por qué no te llaman a entrevistas (y cómo solucionarlo en 2025)",metaTitle:"Por qué no te llaman a entrevistas (y cómo solucionarlo en 2025) | Emplicity",metaDescription:"Descubre las 9 razones por las que no te contactan para entrevistas y las soluciones concretas para empezar a conseguir trabajo. GuÃa práctica 2025.",excerpt:"Llevas semanas postulando y nadie te responde. Descubre las 9 razones reales y qué hacer hoy mismo para cambiar tu situación.",date:"2025-03-25",readTime:"20 min",category:"Estrategia de Búsqueda"},{slug:"carta-de-presentacion-ejemplos",title:"Carta de presentación para trabajo: 10 ejemplos reales y plantillas 2026",metaTitle:"Carta de presentación para trabajo: 10 ejemplos reales y plantillas 2026 | Emplicity",metaDescription:"Descarga 10 ejemplos reales de carta de presentación para trabajo en 2026. Plantillas gratis, estructura paso a paso y frases que convierten entrevistas. GuÃa completa de Emplicity.",excerpt:"10 ejemplos reales de carta de presentación por perfil, plantilla lista para copiar y consejos para conseguir entrevistas.",date:"2026-04-20",readTime:"22 min",category:"CV y Postulación"},{slug:"como-hacer-cv-sin-experiencia",title:"Cómo hacer un CV sin experiencia laboral: guÃa paso a paso y plantilla 2026",metaTitle:"Cómo hacer un CV sin experiencia laboral: guÃa paso a paso y plantilla 2026 | Emplicity",metaDescription:"Aprende cómo hacer un CV sin experiencia laboral con ejemplos reales, plantilla gratis y tips para superar el filtro ATS. Ideal para recién egresados y primer empleo. GuÃa 2026.",excerpt:"GuÃa completa para crear un CV competitivo sin experiencia laboral, con plantilla editable y ejemplos reales.",date:"2026-04-20",readTime:"24 min",category:"CV y Postulación"}],D5e=()=>a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(mr,{title:"Blog de empleabilidad y búsqueda de trabajo | Emplicity",description:"Consejos, guÃas y recursos para conseguir trabajo más rápido. Aprende a optimizar tu CV, LinkedIn y prepararte para entrevistas de trabajo.",canonicalPath:"/blog"}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Blog",url:"https://emplicity.ai/blog"}]}),a.jsx("main",{className:"container mx-auto px-4 py-16 md:py-24",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsxs("h1",{className:"font-display text-3xl md:text-5xl font-black text-foreground mb-4",children:["Blog de"," ",a.jsx("span",{className:"bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent",children:"Empleabilidad"})]}),a.jsx("p",{className:"text-muted-foreground text-lg mb-12 max-w-2xl",children:"GuÃas prácticas, consejos y recursos para acelerar tu búsqueda de empleo y conseguir trabajo más rápido."}),a.jsx("div",{className:"grid gap-8",children:Qi.map(e=>a.jsxs(je,{to:`/blog/${e.slug}`,className:"group block rounded-2xl border border-border bg-card p-6 md:p-8 hover:shadow-lg hover:border-primary/30 transition-all duration-300",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-3 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-primary/10 text-primary px-3 py-0.5 text-xs font-semibold",children:[a.jsx(Q7,{className:"w-3 h-3"}),e.category]}),a.jsxs("span",{className:"inline-flex items-center gap-1",children:[a.jsx(En,{className:"w-3.5 h-3.5"}),e.readTime," de lectura"]}),a.jsx("span",{children:new Date(e.date).toLocaleDateString("es-MX",{year:"numeric",month:"long",day:"numeric"})})]}),a.jsx("h2",{className:"font-display text-xl md:text-2xl font-bold text-foreground group-hover:text-primary transition-colors mb-3",children:e.title}),a.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:e.excerpt}),a.jsxs("span",{className:"inline-flex items-center gap-1 text-primary font-semibold text-sm group-hover:gap-2 transition-all",children:["Leer artÃculo",a.jsx(Gt,{className:"w-4 h-4"})]})]},e.slug))})]})}),a.jsx(Ki,{})]}),Ts=({article:e,children:t,jsonLd:n,ogType:r,ogImage:i})=>a.jsxs("div",{className:"min-h-screen bg-background",children:[a.jsx(mr,{title:e.metaTitle,de
1179scription:e.metaDescription,canonicalPath:`/blog/${e.slug}`,ogType:r,ogImage:i}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Blog",url:"https://emplicity.ai/blog"},{name:e.title,url:`https://emplicity.ai/blog/${e.slug}`}]}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}}),a.jsx(Rr,{}),a.jsx("article",{className:"container mx-auto px-4 py-16 md:py-24",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsxs(je,{to:"/blog",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-primary transition-colors mb-8",children:[a.jsx($a,{className:"w-4 h-4"}),"Volver al blog"]}),a.jsxs("div",{className:"flex flex-wrap items-center gap-3 mb-6 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-primary/10 text-primary px-3 py-0.5 text-xs font-semibold",children:[a.jsx(Q7,{className:"w-3 h-3"}),e.category]}),a.jsxs("span",{className:"inline-flex items-center gap-1",children:[a.jsx(En,{className:"w-3.5 h-3.5"}),e.readTime," de lectura"]}),a.jsxs("span",{className:"inline-flex items-center gap-1",children:[a.jsx(OQ,{className:"w-3.5 h-3.5"}),new Date(e.date).toLocaleDateString("es-MX",{year:"numeric",month:"long",day:"numeric"})]})]}),a.jsx("div",{className:"prose prose-lg max-w-none prose-headings:font-display prose-headings:font-bold prose-headings:text-foreground prose-p:text-muted-foreground prose-p:leading-relaxed prose-li:text-muted-foreground prose-strong:text-foreground prose-a:text-primary prose-a:no-underline hover:prose-a:underline",children:t})]})}),a.jsx(Ki,{})]}),hd=Qi.find(e=>e.slug==="como-optimizar-tu-cv-para-ats"),A5e={"@context":"https://schema.org","@type":"Article",headline:hd.title,description:hd.metaDescription,datePublished:hd.date,dateModified:hd.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${hd.slug}`}},k5e=()=>a.jsxs(Ts,{article:hd,jsonLd:A5e,children:[a.jsx("h1",{children:hd.title}
1179),a.jsxs("p",{children:["Si llevas semanas o meses enviando tu CV y no recibes respuesta, no estás solo. Según datos de la industria de recursos humanos, ",a.jsx("strong",{children:"hasta el 75% de los currÃculos nunca llegan a ser revisados por un reclutador humano"}),". ¿La razón? Los sistemas ATS (Applicant Tracking Systems) filtran automáticamente los CVs antes de que una persona los vea. En esta guÃa completa te explicamos exactamente qué son estos sistemas, cómo funcionan y, lo más importante, cómo optimizar tu CV para pasarlos con éxito y empezar a conseguir entrevistas."]}),a.jsxs("p",{children:["Si quieres ver el panorama completo, complementa esta lectura con nuestra guÃa de ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",children:"cómo conseguir trabajo rápido"})," y, una vez que pases el filtro ATS, prepárate con las ",a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",children:"100 preguntas y respuestas de entrevista"}),"."]}),a.jsx("h2",{children:"¿Qué es un ATS y por qué importa para tu búsqueda de trabajo?"}),a.jsx("p",{children:"Un ATS (Applicant Tracking System) es un software que utilizan las empresas para gestionar el proceso de reclutamiento de manera automatizada. Funciona como un filtro inteligente que analiza, clasifica y prioriza los currÃculos que recibe para una vacante especÃfica. En lugar de que un reclutador revise manualmente cientos o miles de aplicaciones, el ATS se encarga de hacer una primera selección basada en criterios predefinidos."}),a.jsx("p",{children:"El funcionamiento es relativamente sencillo pero muy efectivo: cuando envÃas tu CV a una empresa, el ATS escanea el documento en busca de palabras clave, formatos especÃficos y criterios de elegibilidad. Luego asigna una puntuación o ranking a cada candidato. Solo aquellos que superan un umbral determinado pasan a la siguiente etapa, donde finalmente un reclutador humano revisa el currÃculo."}),a.jsxs("p",{children:["¿Por qué importa esto para ti? Porque según un estudio de Jobscan, ",a.jsx("strong",{children:"el 98.8% de las empresas Fortune 500 utilizan algún tipo de ATS"}),", y esta tendencia se ha extendido a empresas medianas y startups en toda Latinoamérica. Plataformas como LinkedIn, Indeed, OCCMundial y CompuTrabajo también integran funcionalidades de filtrado similares. Esto significa que, sin importar dónde postules, es muy probable que un sistema automatizado sea el primer evaluador de tu CV."]}),a.jsx("p",{children:"Los ATS más populares en el mercado incluyen Workday, Greenhouse, Lever, Taleo, iCIMS y BambooHR. Cada uno tiene sus particularidades, pero todos comparten un objetivo común: reducir el tiempo de selección filtrando candidatos que no cumplen con los requisitos básicos. El problema es que muchos profesionales perfectamente calificados son descartados no por falta de experiencia, sino porque su CV no está formateado correctamente para estos sistemas."}),a.jsx("p",{children:"Entender cómo funciona un ATS te da una ventaja competitiva enorme. No se trata de engañar al sistema, sino de presentar tu información de la manera más clara y accesible posible, tanto para el software como para el reclutador que eventualmente leerá tu CV. La buena noticia es que optimizar tu CV para ATS también lo hace más legible para humanos: es una situación donde todos ganan."}),a.jsx("p",{children:"Un aspecto crucial que muchos candidatos desconocen es que los ATS no solo analizan texto plano. Algunos sistemas más avanzados utilizan procesamiento de lenguaje natural (NLP) para entender el contexto y la relevancia de tu experiencia. Sin embargo, incluso los ATS más sofisticados pueden tener problemas con formatos complicados, gráficos o tablas complejas. Por eso, la optimización de tu CV debe centrarse en la claridad y la estructura por encima del diseño visual elaborado."}),a.jsxs("p",{children:["Otro factor importante es que cada empresa puede configurar su ATS de manera diferente. Los reclutadores definen qué palabras clave buscar, qué peso dar a cada criterio y cuál es el umbral mÃnimo para pasar el filtro. Esto significa que ",a.jsx("strong",{children:"no existe un CV único que funcione para todas las vacantes"}),": necesitas adaptar tu currÃculo a cada postulación, alineándolo con los requisitos especÃficos de cada oferta de trabajo."]}),a.jsx("p",{children:"Finalmente, es importante mencionar que la tendencia hacia la automatización del reclutamiento no va a disminuir. C
1179on el auge de la inteligencia artificial, los ATS se están volviendo cada vez más sofisticados. Empresas de todos los tamaños en México, Colombia, Perú y Chile están adoptando estas herramientas a un ritmo acelerado. Aprender a navegar estos sistemas no es una habilidad opcional: es una necesidad para cualquier profesional que busque empleo en 2025 y más allá."}),a.jsx("h2",{children:"Los 7 errores más comunes en un CV que bloquean el ATS"}),a.jsx("p",{children:"Conocer los errores más frecuentes que hacen que un ATS descarte tu CV es el primer paso para corregirlos. Estos son los 7 errores que vemos con mayor frecuencia entre los profesionales que llegan a Emplicity frustrados por la falta de respuestas a sus postulaciones:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 1: Usar un formato de archivo incompatible."})," Este es quizás el error más básico pero también el más devastador. Muchos candidatos envÃan sus CVs en formatos que el ATS simplemente no puede leer. Los formatos más seguros son .docx y .pdf (con texto seleccionable). Evita a toda costa enviar tu CV como imagen (.jpg, .png), en formato .pages (Apple) o como PDF escaneado. Cuando escaneas un documento fÃsico, el resultado es una imagen, no texto, y el ATS no puede extraer ninguna información útil. Siempre verifica que puedes seleccionar y copiar el texto de tu archivo antes de enviarlo. Si no puedes, el ATS tampoco podrá."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 2: Incluir información en encabezados y pies de página."})," Muchos diseños de CV elegantes colocan información de contacto como nombre, teléfono o email en el encabezado o pie de página del documento. El problema es que la mayorÃa de los ATS ignoran completamente estas áreas del documento. Toda tu información de contacto y datos relevantes deben estar en el cuerpo principal del documento. Si tu nombre solo aparece en el encabezado, el ATS podrÃa literalmente no saber quién eres, lo que resultarÃa en un CV anónimo que nunca será revisado por un humano."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 3: Usar tablas y columnas complejas."})," Los diseños de CV a dos columnas son muy populares en plantillas de Canva o Word. Se ven profesionales y modernos, pero muchos ATS tienen dificultades para leer el contenido en el orden correcto cuando está organizado en columnas. El sistema puede mezclar la información de una columna con la otra, creando un texto sin sentido. Lo mismo aplica para tablas: algunos ATS leen celda por celda en un orden impredecible, destruyendo la coherencia de tu información. Lo más seguro es usar un diseño de una sola columna con secciones claramente separadas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 4: No incluir las palabras clave correctas."}),' Este es el error más común y el que tiene mayor impacto. Los ATS buscan coincidencias entre las palabras clave de la descripción del puesto y el contenido de tu CV. Si la vacante pide "gestión de proyectos" y tú escribes "coordinación de iniciativas", aunque signifiquen algo similar, el ATS podrÃa no hacer la conexión. Necesitas usar los mismos términos que aparecen en la oferta de trabajo. Esto no significa copiar y pegar la descripción del puesto, sino integrar naturalmente las palabras clave relevantes en la descripción de tu experiencia y habilidades.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 5: Usar Ãconos, gráficos o barras de habilidades."}),' Las barras de progreso para mostrar tu nivel de dominio de idiomas o habilidades técnicas se ven geniales en un CV visual, pero son completamente invisibles para un ATS. El sistema no puede interpretar un gráfico circular ni una barra al 80%. En lugar de estos elementos visuales, escribe tus habilidades en texto plano con tu nivel de dominio descrito en palabras: "Inglés avanzado (C1)", "Excel nivel experto", "Python intermedio". Esto permite que tanto el ATS como el reclutador humano entiendan claramente tus competencias.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 6: No usar tÃtulos de sección estándar."}),' Los ATS están programados para reconocer tÃtulos de sección comunes como "Experiencia profesional", "Educación", "Habilidades", "Certificaciones", etc. Si decides ser creativo y titular tus secciones como "Mi trayectoria", "Lo que sé hacer" o "Mi historia académica", el ATS podrÃa no categorizar correctamente esa información. Usa tÃtulos convencionales y claros. La creatividad es b
1179ienvenida en el contenido de tu CV, pero no en los nombres de las secciones. Un ATS que no puede identificar dónde está tu experiencia profesional asumirá que no tienes, y eso es un descarte automático.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Error 7: Enviar el mismo CV para todas las vacantes."})," Cada vacante tiene requisitos especÃficos, y cada empresa configura su ATS con palabras clave diferentes. Enviar el mismo CV genérico a todas las postulaciones es una estrategia que garantiza una baja tasa de respuesta. Necesitas personalizar tu CV para cada vacante, destacando las experiencias y habilidades más relevantes para ese puesto en particular. Esto no significa reescribir tu CV desde cero cada vez, sino ajustar el enfoque, las palabras clave y el orden de prioridad de tu experiencia según lo que cada vacante requiere. Un CV bien personalizado puede duplicar o triplicar tus posibilidades de pasar el filtro ATS."]}),a.jsx("h2",{children:"Cómo estructurar tu CV para pasar el filtro ATS paso a paso"}),a.jsx("p",{children:"Ahora que conoces los errores más comunes, veamos cómo construir un CV que no solo pase el filtro ATS, sino que también impresione al reclutador humano que lo leerá después. Esta estructura ha sido probada con cientos de profesionales en el programa de Emplicity y consistentemente produce mejores resultados."}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 1: Información de contacto clara y completa."})," Comienza tu CV con tu nombre completo en texto grande y claro. Debajo, incluye tu número de teléfono con código de paÃs, tu email profesional, tu perfil de LinkedIn (URL personalizada) y tu ubicación general (ciudad y paÃs). Toda esta información debe estar en el cuerpo del documento, no en encabezados. Evita incluir foto, estado civil, número de identificación o fecha de nacimiento, ya que no solo no aportan valor sino que pueden generar sesgos."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 2: Resumen profesional estratégico."}),' Después de tu información de contacto, incluye un párrafo de 3 a 5 lÃneas que resuma quién eres profesionalmente, tus principales fortalezas y lo que buscas. Este resumen es tu oportunidad de incluir las palabras clave más importantes de la vacante de manera natural. Por ejemplo: "Profesional de marketing digital con 8 años de experiencia en estrategia de contenidos, SEO, SEM y gestión de campañas en redes sociales. Especialista en growth marketing con resultados comprobados en aumento de conversiones y generación de leads en el sector tecnológico." Cada palabra clave aquà cuenta para el scoring del ATS.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 3: Experiencia profesional con logros cuantificados."}),' Lista tu experiencia laboral en orden cronológico inverso (lo más reciente primero). Para cada puesto, incluye: tÃtulo del puesto, nombre de la empresa, perÃodo (mes/año - mes/año) y una lista de 4 a 6 viñetas describiendo tus logros y responsabilidades. La clave aquà es usar el formato CAR (Challenge-Action-Result): describe el desafÃo que enfrentaste, la acción que tomaste y el resultado que obtuviste, preferiblemente con números. En vez de "Responsable de las ventas del equipo", escribe "Lideré un equipo de 12 ejecutivos de ventas, incrementando los ingresos en un 34% ($2.5M USD) en 18 meses mediante la implementación de una nueva estrategia de outbound sales."']}),a.jsxs("p",{children:["Si en tu trayectoria hay un despido reciente o un gap entre roles, no lo escondas: explÃcalo de forma breve y orientada al aprendizaje. Te dejamos una guÃa completa en ",a.jsx(je,{to:"/blog/que-hacer-despues-de-un-despido",children:"qué hacer después de un despido"})," para enmarcarlo correctamente en tu CV y en entrevistas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 4: Educación y certificaciones."}),' Incluye tu formación académica con el nombre del tÃtulo, la institución y el año de graduación. Si tienes certificaciones relevantes para tu industria, agrégalas en una sección separada. Las certificaciones de Google, HubSpot, AWS, PMP, Scrum, entre otras, son palabras clave que los ATS buscan activamente. Asegúrate de escribir tanto el nombre completo de la certificación como su abreviatura: "Project Management Professional (PMP)" para cubrir ambas variantes de búsqueda.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 5: Habilidades técnicas y blandas."})," Crea una sección dedicada de habilidades donde listes tus competencias en texto plano, separadas por comas o viñetas. Divide entre habilidades técnicas (herramientas, software, lenguajes de programación, metodologÃas) y habilidades blandas (liderazgo, comunicación, trabajo en equipo). Esta sección es una mina de oro para los ATS porque permite incluir muchas palabras clave de manera natural y organizada. Prioriza las habilidades que aparecen en la descripción del puesto al que aplicas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 6: Idiomas con nivel especÃfico."}),' En el mercado laboral latinoamericano, los idiomas son un diferenciador clave. Lista cada idioma con su nivel según el Marco Común Europeo de Referencia (MCER): "Español nativo", "Inglés avanzado (C1)", "Portugués intermedio (B1)". Los ATS pueden filtrar por nivel de idioma, asà que ser especÃfico es importante. Si tienes certificaciones de idiomas (TOEFL, IELTS, DELF), inclúyelas con tu puntuación.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Paso 7: Revisión final y validación."})," Antes de enviar tu CV, haz una revisión exhaustiva. Verifica que no hay errores de ortografÃa (los ATS pueden buscar términos exactos), que el formato es consistente, que las fechas están completas y que toda la información está en el cuerpo del documento. Guarda tu CV en formato .docx y .pdf como respaldo. Lee la descripción del puesto una última vez y confirma que las palabras clave principales están presentes en tu CV. Una buena práctica es subrayar las palabras clave en la oferta y luego buscarlas en tu CV: si no están, agrégalas donde sea natural."]}),a.jsx("h2",{children:"Palabras clave que debes incluir en tu CV según tu industria"}),a.jsx("p",{children:"Las palabras clave son el elemento más crÃtico para pasar un ATS. Pero no se trata de llenar tu CV con términos aleatorios: necesitas incluir las palabras correctas según tu industria, nivel profesional y el puesto especÃfico al que aplicas. Aquà te damos una guÃa por sectores clave en el mercado latinoamericano."}),a.jsxs("p",{children:[a.jsx("strong",{children:"Marketing y publicidad:"})," Las palabras clave esenciales incluyen SEO, SEM, Google Analytics, Google Ads, Meta Ads, estrategia de contenidos, content marketing, social media management, inbound marketing, email marketing, CRM, HubSpot, Salesforce, copywriting, branding, KPIs de marketing, ROI, tasa de conversión, growth hacking, marketing automation, landing pages, A/B testing, user acquisition y performance marketing. Si trabajas en marketing digital, asegúrate de incluir las herramientas especÃficas que dominas y las métricas que has impactado."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"TecnologÃa y desarrollo de softw
1179are:"})," En este sector las palabras clave son altamente especÃficas y los ATS están configurados para buscarlas con precisión. Incluye lenguajes de programación (Python, JavaScript, Java, C#, TypeScript, Go), frameworks (React, Angular, Vue.js, Django, Spring Boot, Node.js), metodologÃas (Agile, Scrum, Kanban, DevOps, CI/CD), herramientas (Git, Docker, Kubernetes, AWS, Azure, GCP), bases de datos (SQL, PostgreSQL, MongoDB, Redis) y conceptos (microservicios, API REST, GraphQL, arquitectura de software, cloud computing). Los ATS de empresas tech suelen ser los más sofisticados, asà que la precisión técnica es fundamental."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Finanzas y contabilidad:"})," Términos clave incluyen análisis financiero, estados financieros, NIIF/IFRS, presupuestos, forecast, flujo de caja, conciliaciones bancarias, auditorÃa, compliance, control interno, SAP, Oracle Financials, ERP, tesorerÃa, gestión de riesgos, valoración de empresas, due diligence, modelos financieros, Excel avanzado (tablas dinámicas, macros, VBA), Power BI, y normativas regulatorias locales como las del SAT (México), DIAN (Colombia), SUNAT (Perú) o SII (Chile)."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Recursos humanos:"})," Las palabras clave más buscadas son reclutamiento y selección, talent acquisition, employer branding, onboarding, capacitación y desarrollo, gestión del desempeño, compensaciones y beneficios, nómina, legislación laboral, clima organizacional, engagement, retención de talento, headhunting, assessment center, HR analytics, people analytics, y plataformas como Workday, SuccessFactors, BambooHR, o LinkedIn Recruiter."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Ventas y desarrollo de negocios:"})," Incluye términos como B2B, B2C, pipeline de ventas, prospección, cierre de ventas, negociación, account management, key account management, upselling, cross-selling, CRM (Salesforce, HubSpot, Pipedrive), forecast de ventas, cuota de ventas, territorio de ventas, estrategia comercial, desarrollo de nuevos mercados y gestión de canales de distribución."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Operaciones y cadena de suministro:"})," Palabras clave relevantes incluyen supply chain management, logÃstica, inventarios, almacenamiento, distribución, lean manufacturing, Six Sigma, mejora continua, KPIs operativos, gestión de proveedores, procurement, planificación de la demanda, S&OP, WMS, TMS, comercio exterior, importación/exportación, regulaciones aduaneras y normas ISO."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Estrategia general para palabras clave:"}),' Independientemente de tu industria, siempre lee la descripción del puesto al menos tres veces antes de adaptar tu CV. Identifica los requisitos "obligatorios" vs. los "deseables". Los obligatorios deben aparecer en tu CV sin falta. Los deseables son un plus que puede sumar puntos en el ranking del ATS. Usa tanto los términos en español como en inglés cuando sea relevante (por ejemplo, "Gestión de proyectos / Project Management") ya que algunos ATS buscan en ambos idiomas. No uses sinónimos poco comunes: si la vacante dice "liderazgo de equipos", usa exactamente "liderazgo de equipos", no "conducción de colectivos humanos".']}),a.jsx("h2",{children:"Formato y diseño: qué puede y no puede leer el ATS"}),a.jsx("p",{children:"El diseño de tu CV importa, pero no de la manera que muchos creen. Un CV visualmente espectacular con gráficos, colores e Ãconos puede impresionar a un humano, pero puede ser completamente ilegible para un ATS. Veamos exactamente qué elementos de diseño son seguros y cuáles debes evitar."}),a.jsxs("p",{children:[a.jsx("strong",{children:"Lo que el ATS Sà puede leer:"})," Texto plano en cualquier fuente estándar (Arial, Calibri, Times New Roman, Helvetica). TÃtulos y subtÃtulos creados con estilos de formato nativos de Word (Heading 1, Heading 2). Viñetas simples (puntos, guiones). Negritas e itálicas para énfasis. Links clickeables a tu LinkedIn o portafolio. Listas numeradas. Saltos de lÃnea y espacios entre secciones. Texto en una sola columna fluida. Archivos .docx y PDF con texto seleccionable."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Lo que el ATS NO puede leer:"})," Imágenes de cualquier tipo (fotos, logos, capturas de pantalla). Gráficos, diagramas o infografÃas. Barras de progreso o medidores de habilidades. Tablas con bordes complejos o celdas fusionadas. Texto dentro de cuadros de texto flotantes en Word. Marcos o text boxes. Encabezados y pies de página del documento. Caracteres especiales o emojis como viñetas. Fondos de color o watermarks. Archivos protegidos con contraseña. PDFs escaneados (imágenes sin capa de texto)."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Fuentes recomendadas:"})," Usa fuentes sans-serif limpias que se renderizan bien en cualquier sistema operativo. Las mejores opciones son Calibri (la favorita de los reclutadores), Arial, Helvetica, Verdana o Trebuchet MS. Evita fuentes decorativas, handwriting fonts o fuentes que requieran instalación especial. El tamaño recomendado es 10-12 puntos para el cuerpo del texto y 14-16 para los tÃtulos de sección."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Estructura visual óptima:"})," Usa una estructura limpia de una sola columna. Separa las secciones con un tÃtulo en negrita y un espacio de 6-12 puntos. Las viñetas deben ser simples (â¢) y consistentes a lo largo de todo el documento. El margen recomendado es de 2.5 cm en todos los lados. La extensión ideal para la mayorÃa de los profesionales es de 1-2 páginas. Si tienes más de 15 años de experiencia, 3 páginas son aceptables, pero nunca más."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"El formato ideal por tipo de ATS:"})," Si sabes que la empresa usa Workday o Taleo (grandes corporativos como Nestlé, KPMG, Accenture), el formato .docx suele funcionar mejor porque estos sistemas parsean Word de manera muy eficiente. Para empresas que usan Greenhouse o Lever (startups y empresas tech), los PDF con texto seleccionable funcionan perfectamente. Si no sabes qué ATS usa la empresa, prepara ambas versiones y envÃa la que pidan o, en caso de duda, el .docx."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Nombres de archivo profesionales:"}
1179),' El nombre de tu archivo también importa. Usa un formato claro como "NombreApellido_CV_PuestoDeseado.pdf" o "NombreApellido_Resume_2025.docx". Evita nombres genéricos como "CV final definitivo (2).pdf" o "document.docx". Algunos ATS muestran el nombre del archivo al reclutador, y un nombre profesional genera una primera impresión positiva.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Extensión y densidad:"})," No existe un número mágico de páginas, pero la regla general es que menos es más. Para profesionales con 0-5 años de experiencia, una página es ideal. De 5 a 15 años, dos páginas. Más de 15 años, hasta tres páginas pero solo si todo el contenido es relevante para el puesto. El ATS no penaliza por extensión, pero el reclutador humano que revise tu CV después del filtro agradecerá la concisión. Recuerda: el objetivo del CV no es contar toda tu historia, sino generar suficiente interés para que te inviten a una entrevista."]}),a.jsx("h2",{children:"Cómo saber si tu CV está pasando el ATS"}),a.jsx("p",{children:'Una de las preguntas más frecuentes que recibimos en Emplicity es: "¿Cómo sé si mi CV está pasando el filtro ATS?". Aunque no hay una forma 100% segura de saberlo (cada empresa configura su ATS de manera diferente), hay varias señales e indicadores y herramientas que pueden ayudarte a evaluar la efectividad de tu CV.'}),a.jsxs("p",{children:[a.jsx("strong",{children:"Indicador 1: Tasa de respuesta."})," La métrica más directa es tu tasa de respuesta. Si estás postulando a vacantes donde cumples claramente con los requisitos y no recibes ni siquiera un email automático de rechazo, es probable que tu CV no esté pasando el filtro ATS. Una tasa de respuesta saludable (incluyendo rechazos) deberÃa estar entre el 10% y el 25%. Si es menor al 5%, algo está fallando en la etapa de filtrado automático."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Indicador 2: Emails automáticos del sistema."}),' Cuando tu CV es procesado por un ATS, normalmente recibes un email de confirmación diciendo "Hemos recibido tu aplicación". Si no recibes ni siquiera este mensaje, podrÃa haber un problema con el formato de tu archivo o con la forma en que estás aplicando. Verifica tu bandeja de spam y confirma que tu email está escrito correctamente en tu CV.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Herramienta 1: Test de parseo."})," Copia el texto de tu CV y pégalo en un editor de texto plano (Notepad en Windows o TextEdit en Mac en modo texto plano). Si el texto se ve legible, ordenado y completo, es una buena señal. Si ves caracteres extraños, texto desordenado o información faltante, significa que tu formato tiene problemas que el ATS también encontrará."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Herramienta 2: Comparación de palabras clave."})," Haz una lista de las 15-20 palabras clave principales de la descripción del puesto. Luego busca cada una en tu CV (Ctrl+F). Si encuentras al menos el 70% de ellas, tu CV tiene buenas posibilidades de pasar el filtro. Si encuentras menos del 50%, necesitas hacer ajustes significativos. Esta técnica simple pero efectiva es la que recomendamos a todos nuestros candidatos en Emplicity antes de cada postulación."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Herramienta 3: Plataformas de análisis de CV."})," Existen herramientas online como Jobscan, Resume Worded o CVScan que te permiten comparar tu CV contra una descripción de puesto y obtener un score de compatibilidad. Estas herramientas no replican exactamente el comportamiento de todos los ATS, pero te dan una referencia útil. Un score superior al 75% generalmente indica que tu CV está bien optimizado para esa vacante especÃfica."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Indicador 3: Feedback de reclutadores."})," Si logras hablar con un reclutador (incluso si no avanzas en el proceso), pregúntale cómo llegó tu CV a sus manos. ¿El sistema lo clasificó bien? ¿La información se veÃa completa? Este feedback directo es invaluable para ajustar tu estrategia. En Emplicity, nuestros Career Coaches tienen relaciones directas con reclutadores en las principales empresas de LATAM, lo que nos permite obtener este tipo de insights para nuestros candidatos."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Estrategia de mejora continua:"})," La optimización de tu CV para ATS no es algo que haces una vez y olvidas. Es un proceso iterativo. Cada vez que postulas, analiza los resultados. Si no recibes respuesta, ajusta las palabras clave. Si recibes respuesta pero no avanzas a entrevista, el problema puede estar en el contenido más que en el formato. Lleva un registro de qué versión de tu CV enviaste a cada empresa y qué resultados obtuviste. Con el tiempo, identificarás patrones que te ayudarán a refinar tu estrategia."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"La importancia del tracking:"})," Mantener un rastreo organizado de tus postulaciones te permite identificar rápidamente problemas en tu estrategia. Registra la fecha de postulación, la empresa, el puesto, la versión de CV que enviaste y el resultado. Si después de 20 postulaciones no tienes ninguna respuesta, es momento de hacer cambios significativos en tu CV. En Emplicity, nuestro Job Tracker ayuda a los candidatos a mantener este registro de manera automática y organizada."]}),a.jsx("h2",{children:"El siguiente paso: CV optimizado, LinkedIn potenciado y estrategia clara"}),a.jsx("p",{children:"Optimizar tu CV para ATS es un paso fundamental, pero es solo el comienzo de una estrategia de búsqueda de empleo efectiva. Un CV bien construido te abre la puerta al filtro automatizado, pero para conseguir entrevistas y ofertas necesitas un enfoque integral que combine varios elementos trabajando en conjunto."}),a.jsxs("p",{children:[a.jsx("strong",{children:"Tu LinkedIn como complemento estratég
1179ico."})," El 87% de los reclutadores en Latinoamérica usan LinkedIn como herramienta principal de búsqueda de talento. Tu perfil de LinkedIn debe estar alineado con tu CV pero no ser una copia exacta. LinkedIn te permite expandir tu narrativa profesional, mostrar recomendaciones de colegas y jefes, publicar contenido que demuestre tu expertise y conectar directamente con reclutadores y decision-makers en tu industria. Un perfil de LinkedIn optimizado puede generar oportunidades que llegan a ti sin que tú postules activamente."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Preparación para entrevistas."})," Una vez que tu CV pasa el ATS y el reclutador te contacta, necesitas estar preparado para las entrevistas. Las entrevistas por competencias (método STAR), las entrevistas técnicas y los business cases son cada vez más comunes en empresas de primer nivel. Practicar con simulaciones de entrevista te da confianza y te permite identificar áreas de mejora antes de la entrevista real. En Emplicity, nuestros candidatos practican con entrevistas simuladas con IA que replican escenarios reales de su industria."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Estrategia de networking activo."})," El 70% de las posiciones se llenan a través de networking y referidos, no a través de portales de empleo. Esto significa que además de optimizar tu CV para ATS, necesitas activar tu red de contactos, asistir a eventos de tu industria (presenciales o virtuales), participar en comunidades profesionales y hacer outreach directo a personas en empresas donde te gustarÃa trabajar. Una referencia interna puede hacer que tu CV salte directamente al escritorio del hiring manager, bypasando completamente el ATS."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Consistencia y volumen inteligente."})," La búsqueda de empleo es un juego de números, pero también de calidad. No se trata de postular a 100 vacantes con el mismo CV genérico. Se trata de identificar 20-30 vacantes que realmente encajen con tu perfil y personalizar tu aplicación para cada una. En promedio, un profesional que sigue esta estrategia en Emplicity consigue su nuevo empleo en 2.5 meses, comparado con los 6-12 meses que puede tomar una búsqueda sin estrategia."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"La mentalidad correcta."})," La búsqueda de empleo puede ser emocionalmente agotadora, especialmente cuando no recibes respuestas. Es fundamental mantener una mentalidad de crecimiento: cada rechazo es una oportunidad de aprendizaje, cada entrevista es práctica valiosa, cada ajuste a tu CV te acerca más a tu objetivo. Rodearte de una comunidad de profesionales en la misma situación también ayuda enormemente. Los candidatos de Emplicity tienen acceso a una comunidad exclusiva donde comparten experiencias, consejos y motivación."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"El rol de la tecnologÃa e IA."})," En 2025, las herramientas de inteligencia artificial son un aliado poderoso para tu búsqueda de empleo. Desde la optimización automática de tu CV hasta la preparación para entrevistas con simuladores de IA, la tecnologÃa puede acelerar significativamente tu proceso. Sin embargo, la tecnologÃa por sà sola no es suficiente: necesitas el acompañamiento humano de alguien que entienda tu situación, tu industria y tu mercado. Esa combinación de IA + acompañamiento humano es exactamente lo que define el programa de Emplicity."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Tu siguiente paso concreto."})," Si después de leer esta guÃa sientes que necesitas un nivel de apoyo más profundo y personalizado, te invitamos a conocer cómo funciona el programa de Emplicity. Nuestros Career Coaches trabajan contigo uno a uno para optimizar tu CV, potenciar tu LinkedIn, prepararte para entrevistas y diseñar una estrategia de búsqueda personalizada. Y lo mejor: solo pagas cuando consigues trabajo. Sin pagos por adelantado, sin riesgo."]}),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-2xl p-8 my-8 text-center",children:[a.jsx("p",{className:"text-foreground font-semibold text-lg mb-2",children:"¿Listo para conseguir tu próximo empleo más rápido?"}),a.jsx("p",{className:"text-muted-foreground mb-4",children:"En Emplicity comb
1179inamos IA + Career Coaches reales para acompañarte hasta que firmes contrato. Sin pagos por adelantado."}),a.jsx(je,{to:"/apply",className:"inline-flex items-center gap-2 bg-gradient-to-r from-primary to-secondary text-white font-bold px-6 py-3 rounded-xl hover:scale-105 transition-transform",children:"Conocer el programa â"})]})]}),md=Qi.find(e=>e.slug==="por-que-no-me-llaman-entrevistas"),T5e={"@context":"https://schema.org","@type":"Article",headline:md.title,description:md.metaDescription,datePublished:md.date,dateModified:md.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${md.slug}`}},P5e=()=>a.jsxs(Ts,{article:md,jsonLd:T5e,children:[a.jsx("h1",{children:md.title}),a.jsx("p",{children:"Llevas semanas, tal vez meses, enviando tu CV a decenas de vacantes. Revisas tu correo constantemente esperando una respuesta que no llega. La frustración crece y empiezas a preguntarte: ¿qué estoy haciendo mal? Si te identificas con esta situación, esta guÃa es para ti. Vamos a analizar las 9 razones reales por las que no te están llamando a entrevistas y, lo más importante, qué puedes hacer hoy mismo para cambiar tu situación."}),a.jsx("h2",{children:"¿Cuánto tiempo es normal esperar respuesta?"}),a.jsx("p",{children:"Antes de entrar en pánico, es importante establecer expectativas realistas sobre los tiempos del proceso de reclutamiento. El mercado laboral en Latinoamérica tiene sus propios ritmos, y entender estos tiempos te ayudará a evaluar si realmente hay un problema con tu estrategia o si simplemente necesitas ser más paciente."}),a.jsxs("p",{children:[a.jsx("strong",{children:"Tiempos promedio por tipo de empresa:"})," Las grandes corporaciones (Nestlé, Cemex, Bimbo, KPMG, Accenture) suelen tener procesos de selección que duran entre 4 y 8 semanas desde que postulas hasta que recibes una respuesta definitiva. Esto se debe a que tienen múltiples niveles de aprobación, varios filtros de entrevistas y procesos internos de compliance. Las empresas medianas generalmente responden en 2 a 4 semanas. Las startups y empresas tecnológicas tienden a ser más rápidas, con procesos de 1 a 3 semanas, aunque esto varÃa enormemente según la empresa."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"La primera respuesta del ATS:"})," Si la empresa utiliza un ATS (Applicant Tracking System), normalmente recibirás un email automático de confirmación dentro de las primeras 24-48 horas. Este email simplemente confirma que tu aplicación fue recibida. Si no recibes ni siquiera este email, hay dos posibilidades: o tu aplicación tuvo un problema técnico (formato de archivo incompatible, email incorrecto) o la empresa no tiene configurados los emails automáticos de su ATS."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"El silencio como respuesta:"})," Desafortunadamente, muchas empresas en Latinoamérica no envÃan notificaciones de rechazo. Según datos de LinkedIn, solo el 30% de las empresas en la región envÃan un email de rechazo formal a los candidatos que no avanzan. Esto significa que el silencio después de 2-3 semanas generalmente indica que no fuiste seleccionado para la siguiente etapa. Es frustrante, pero es la realidad del mercado."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Cuándo hacer follow-up:"}),' Si han pasado 10 dÃas hábiles desde tu postulación y no has recibido respuesta, es perfectamente aceptable enviar un email de seguimiento educado al reclutador o al departamento de recursos humanos. Sé breve, profesional y muestra interés genuino por la posición. Algo como: "Buen dÃa, le escribo para reiterar mi interés en la posición de [puesto] y confirmar que mi aplicación fue recibida correctamente. Quedo atento a cualquier actualización sobre el proceso." Este tipo de follow-up puede hacer la diferencia entre ser olvidado y ser recordado.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"El factor estacional:"})," Los ciclos de contratación varÃan a lo largo del año. Enero y febrero suelen ser meses de alta actividad de reclutamiento porque las empresas tienen presupuesto nuevo y necesitan cubrir posiciones. Julio y agosto pueden ser más lentos por vacaciones. Noviembre y diciembre son meses mixtos: algunas empresas aceleran contrataciones para cerrar el año, mientras que otras congelan procesos hasta enero. Tener en cuenta estos ciclos te ayuda a ajustar tus expectativas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Señales de que hay un problema real:"}
1179)," Si después de 30 postulaciones dirigidas (no masivas) a vacantes donde cumples con al menos el 70% de los requisitos no has recibido ni una sola respuesta positiva (ni siquiera una entrevista telefónica), es momento de analizar seriamente tu estrategia. El problema puede estar en tu CV, tu LinkedIn, tu approach de postulación o una combinación de factores. Vamos a desglosar las 9 razones más comunes."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"La importancia de los datos:"})," Para diagnosticar correctamente tu situación, necesitas datos. ¿A cuántas vacantes has postulado en los últimos 30 dÃas? ¿Cuántas respuestas has recibido (incluyendo rechazos)? ¿Cuántas entrevistas has tenido? ¿Estás personalizando tu CV o enviando el mismo a todas? Sin esta información, es imposible saber dónde está el cuello de botella. En Emplicity, nuestro Job Tracker ayuda a los candidatos a registrar estas métricas y tomar decisiones basadas en datos, no en suposiciones."]}),a.jsx("h2",{children:"Las 9 razones por las que no te llaman a entrevistas"}),a.jsxs("p",{children:[a.jsx("strong",{children:"1. Tu CV no pasa el ATS."})," Esta es, por lejos, la razón más común y la que más profesionales desconocen. Como explicamos en detalle en nuestra guÃa sobre optimización de CV para ATS, el 75% de los currÃculos son descartados automáticamente antes de que un humano los vea. Los motivos más frecuentes incluyen formatos incompatibles (PDFs escaneados, archivos de imagen, documentos protegidos), falta de palabras clave relevantes, uso de tablas o columnas complejas que el sistema no puede parsear, información importante en encabezados o pies de página que el ATS ignora, y uso de gráficos o Ãconos en lugar de texto. La solución es directa: reformatea tu CV en una sola columna, usa texto plano, incluye las palabras clave de la vacante y guarda en .docx o PDF con texto seleccionable. Un ajuste de formato puede ser la diferencia entre el silencio total y empezar a recibir llamadas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"2. Tu LinkedIn no está activo ni optimizado."})," En 2025, LinkedIn no es opcional para tu búsqueda de empleo. El 93% de los reclutadores en Latinoamérica usan LinkedIn como herramienta principal de búsqueda de talento. Un perfil de LinkedIn incompleto, desactualizado o sin actividad reciente envÃa señales negativas. Los reclutadores buscan perfiles con foto profesional, headline atractivo (no solo tu cargo actual), resumen profesional completo, experiencia detallada con logros cuantificados, recomendaciones de colegas y jefes, y actividad reciente (publicaciones, comentarios, compartidos). Si tu LinkedIn es básicamente una versión digital de tu CV sin ningún valor agregado, estás perdiendo una oportunidad enorme. Dedica al menos 30 minutos al dÃa a tu LinkedIn: publica contenido de tu industria, comenta publicaciones relevantes, conecta con reclutadores y lÃderes de opinión, y únete a grupos profesionales de tu sector."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"3. Estás postulando a puestos equivocados."}),' Esta razón es más sutil pero igualmente devastadora. Muchos profesionales, especialmente cuando llevan tiempo en búsqueda, empiezan a postular a cualquier vacante remotamente relacionada con su experiencia. "Soy de marketing, asà que puedo ser community manager, content writer, ejecutivo de ventas o diseñador gráfico." El problema es que cuando postulas a un puesto donde solo cumples el 30-40% de los requisitos, tu tasa de éxito es prácticamente cero. Los ATS te descartarán por falta de palabras clave y los reclutadores que vean tu CV notarán la desconexión entre tu experiencia y el puesto. La estrategia correcta es enfocarte en vacantes donde cumples al menos el 70% de los requisitos y personalizar tu CV para destacar la experiencia más relevante para cada una.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"4. Tu carta de presentación es genérica (o no envÃas una)."}),' Aunque no todas las vacantes la requieren, cuando la piden y envÃas una carta genérica de "A quien corresponda, me dirijo a usted para expresar mi interés...", estás perdiendo una oportunidad valiosa de diferenciarte. Una carta de presentación efectiva debe ser especÃfica para cada empresa y puesto: menciona por qué te interesa ESA empresa en particular, cómo tu experiencia se alinea con los desafÃos especÃficos del puesto y qué valor concreto puedes aportar. Si la vacante no pide carta de presentación pero tienes la opción de adjuntarla, hazlo. Es una oportunidad extra de incluir palabras clave y mostrar tu motivación. Y si no la piden y no hay campo para adjuntarla, no te preocupes: enfócate en que tu CV sea impecable.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"5. No tienes estrategia de búsqueda."}),' "Entro a OCC, busco vacantes de mi área y postulo a las que se ven bien." Si esta es tu estrategia, no tienes estrategia. Una búsqueda de empleo efectiva requiere planificación: define tu perfil objetivo (industria, tamaño de empresa, tipo de rol, rango salarial), identifica las 30-
117950 empresas donde te gustarÃa trabajar, investiga quiénes son los hiring managers y reclutadores relevantes, crea alertas de empleo en múltiples plataformas (LinkedIn, Indeed, OCC, CompuTrabajo, Glassdoor), establece una rutina diaria de búsqueda con tiempos especÃficos para postulación, networking y preparación, y mide tus resultados semanalmente para ajustar tu enfoque. Sin una estrategia clara, tu búsqueda se convierte en un ejercicio aleatorio donde dependes de la suerte en lugar de la metodologÃa.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"6. Tu red de contactos no está activada."}),' El dato es contundente: según LinkedIn, entre el 70% y el 80% de las posiciones se llenan a través de networking y referidos antes de publicarse en portales de empleo. Esto significa que si tu única estrategia es postular a vacantes publicadas, estás compitiendo por solo el 20-30% de las oportunidades disponibles. Activar tu red no significa enviar mensajes masivos pidiendo trabajo. Significa reconectar con ex colegas, ex jefes y compañeros de universidad de manera genuina. Significa asistir a eventos de tu industria (presenciales y virtuales). Significa pedir "informational interviews" con personas en roles que te interesan. Significa hacer outreach en LinkedIn a reclutadores y hiring managers con mensajes personalizados. Una sola referencia interna puede valer más que 100 postulaciones en frÃo.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"7. Tu perfil no encaja con la vacante (y no lo sabes)."}),' A veces el problema no es de formato ni de estrategia, sino de percepción. Tú crees que eres un candidato ideal para el puesto, pero tu CV cuenta una historia diferente. Esto puede suceder por varias razones: tus tÃtulos de puesto anteriores no reflejan realmente lo que hacÃas (por ejemplo, eras "Asistente" pero hacÃas trabajo de "Coordinador"), tus logros no están cuantificados y no demuestran impacto real, tu experiencia más relevante está perdida en la segunda página de un CV de tres páginas, o hay gaps inexplicados en tu trayectoria que generan dudas. La solución es revisar tu CV con ojos frescos (o mejor, pedirle a alguien más que lo revise) y asegurarte de que la narrativa que cuenta está alineada con los puestos que buscas.']}),a.jsxs("p",{children:["Si el gap viene de una salida reciente, no la ocultes: explÃcala con una frase breve y orientada al aprendizaje. Te dejamos una guÃa completa en ",a.jsx(je,{to:"/blog/que-hacer-despues-de-un-despido",children:"qué hacer después de un despido"})," para enmarcar el contexto en CV y entrevistas sin perder credibilidad."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"8. El mercado es más competitivo que antes."})," Es una realidad innegable: el mercado laboral en 2025 es más competitivo que nunca. La digitalización ha eliminado barreras geográficas, lo que significa que para muchas posiciones estás compitiendo no solo con candidatos de tu ciudad, sino de todo el paÃs e incluso de otros paÃses. Las empresas reciben en promedio 250 aplicaciones por cada vacante publicada, y las posiciones más atractivas pueden recibir más de 500. Además, cada vez más profesionales están invirtiendo en su marca personal, certificaciones y networking, elevando el estándar general. Esto no significa que sea imposible conseguir trabajo, pero sà significa que necesitas ser más estratégico, más intencional y más proactivo que nunca. Ya no basta con tener experiencia: necesitas saber comunicarla, marketearla y posicionarla efectivamente."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"9. Estás esperando en vez de actuar."}),' Esta es quizás la razón más difÃcil de aceptar. Muchos profesionales caen en un patrón de "postular y esperar": envÃan 5-10 CVs a la semana y luego pasan los dÃas revisando su correo esperando una respuesta. La búsqueda de empleo efectiva es un trabajo activo que requiere 3-4 horas diarias de esfuerzo enfocado. Esto incluye no solo postular a vacantes, sino también investigar empresas, personalizar aplicaciones, hacer networking, actualizar tu LinkedIn, practicar para entrevistas, aprender nuevas habilidades y cuidar tu bienestar emocional. La pasividad es el enemigo número uno de la empleabilidad. Ca
1179da dÃa que esperas sin actuar es un dÃa que tu competencia está avanzando. La buena noticia es que cuando cambias de mentalidad pasiva a activa, los resultados empiezan a llegar más rápido de lo que imaginas.']}),a.jsx("h2",{children:"Qué hacer hoy mismo para empezar a conseguir entrevistas"}),a.jsx("p",{children:"Ahora que conoces las 9 razones más comunes, es momento de pasar a la acción. No necesitas solucionar todo de una vez. Empieza con estos pasos concretos que puedes implementar hoy mismo y que tendrán un impacto inmediato en tu búsqueda."}),a.jsxs("p",{children:["Para una hoja de ruta más amplia, revisa ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",children:"cómo conseguir trabajo rápido"}),"; y cuando empiecen a llamarte, prepara tus respuestas con las ",a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",children:"100 preguntas y respuestas de entrevista"}),"."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 1: Audita tu CV en 15 minutos."}),' Abre tu CV actual y hazte estas preguntas: ¿Puedo seleccionar y copiar todo el texto? (Si no, tienes un problema de formato.) ¿Mi nombre y datos de contacto están en el cuerpo del documento, no en el encabezado? ¿Uso tÃtulos de sección estándar como "Experiencia Profesional", "Educación" y "Habilidades"? ¿Mis logros están cuantificados con números? ¿El formato es de una sola columna sin tablas complejas? Si respondiste "no" a cualquiera de estas preguntas, ya identificaste un problema concreto que puedes corregir hoy.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 2: Optimiza tu headline de LinkedIn."}),' Tu headline es lo primero que ven los reclutadores en los resultados de búsqueda. En lugar de simplemente poner tu cargo actual (o peor, "En búsqueda de oportunidades"), crea un headline que comunique tu valor: "Marketing Manager | +8 años en Growth & Performance | SEO, SEM, Analytics | Sector Tech & E-commerce". Incluye palabras clave de tu industria, tu especialización y los sectores donde tienes experiencia. Este cambio de 5 minutos puede aumentar significativamente la frecuencia con la que los re
1179clutadores te encuentran.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 3: Personaliza tu próxima postulación."})," Elige UNA vacante que te interese genuinamente y donde cumplas al menos el 70% de los requisitos. Lee la descripción del puesto tres veces. Subraya las palabras clave principales (habilidades técnicas, herramientas, certificaciones, soft skills). Ahora adapta tu CV para incluir esas palabras clave de manera natural en tu resumen profesional, tu experiencia y tus habilidades. Escribe una carta de presentación de 3 párrafos que mencione especÃficamente por qué te interesa esa empresa y ese puesto. EnvÃa tu aplicación con la seguridad de que hiciste el trabajo correcto."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 4: Reconecta con 5 personas de tu red."})," Abre tu lista de contactos de LinkedIn o tu agenda telefónica y selecciona 5 personas de tu red profesional con las que no has hablado en los últimos 6 meses. EnvÃales un mensaje genuino: no pidas trabajo directamente. Pregunta cómo están, qué están haciendo profesionalmente, comparte algo de valor (un artÃculo interesante, una felicitación por un logro). El objetivo es reactivar la relación. Con el tiempo natural de la conversación, puedes mencionar que estás explorando nuevas oportunidades. Las personas quieren ayudar, pero necesitan saber que estás buscando."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 5: Crea una rutina de búsqueda diaria."})," Bloquea 3 horas en tu calendario para mañana con esta estructura: 30 minutos de investigación de empresas y vacantes, 60 minutos de personalización y envÃo de aplicaciones (máximo 2-3 postulaciones de alta calidad), 30 minutos de networking en LinkedIn (comentar posts, enviar conexiones, mensajes), 30 minutos de desarrollo profesional (leer sobre tu industria, tomar un curso corto, practicar entrevistas), 30 minutos de administración (actualizar tu tracker, revisar respuestas, hacer follow-ups). Repite esta rutina cada dÃa hábil. La consistencia en la búsqueda de empleo es más importante que la intensidad."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 6: Evalúa tu presencia digital."})," Googlea tu nombre completo y mira qué aparece. ¿Tu LinkedIn es el primer resultado? ¿Hay información profesional relevante? ¿Hay algo que un reclutador podrÃa ver y que te perjudique? Revisa la privacidad de tus redes sociales personales. Asegúrate de que tu email sea profesional ([email protected], no [email protected]). Tu presencia digital es tu tarjeta de presentación en 2025 y puede ser la razón por la que un reclutador decide contactarte... o no."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Acción inmediata 7: Establece métricas de seguimiento."})," Crea una hoja de cálculo o usa una herramienta de tracking donde registres: fecha de postulación, empresa, puesto, URL de la vacante, versión de CV enviada, si personalizaste carta de presentación, si hiciste follow-up, y resultado (sin respuesta, rechazo, entrevista). Después de 2 semanas, analiza tus datos: ¿cuál es tu tasa de respuesta? ¿Hay diferencia entre vacantes donde personalizaste vs. donde no? ¿Alguna plataforma te da mejores resultados? Los datos te dirán exactamente dónde enfocar tu energÃa."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"La diferencia entre buscar solo y buscar con apoyo."})," Todo lo anterior puedes hacerlo por tu cuenta, y muchos profesionales consiguen trabajo de esa manera. Sin embargo, la búsqueda de empleo en solitario tiene desventajas significativas: es fácil caer en sesgos (no ves los problemas de tu propio CV), la motivación fluctúa, no tienes acceso a insights del mercado y no cuentas con alguien que te rinda cuentas. Los profesionales que buscan empleo con apoyo estructurado âun mentor, un coach o un programaâ consistentemente consiguen resultados más rápidos. No es coincidencia: es metodologÃa aplicada."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Resultados que hablan."})," En Emplicity, nuestros candidatos consiguen empleo en un promedio de 2.5 meses, comparado con los 6-12 meses que puede tomar una búsqueda sin estrategia. Esto no es magia: es el resultado de combinar herramientas de IA para optimización de CV y LinkedIn, simulaciones de entrevista con inteligencia artificial, acompañamiento personalizado con Career Coaches expertos, una metodologÃa probada con más de 320 profesionales colocados, y una comunidad de apoyo que mantiene la motivación alta durante todo el proceso."]}),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-2xl p-8 my-8 text-center",children:[a.jsx("p",{className:"text-foreground font-semibold text-lg mb-2",children:"¿Cansado de postular sin respuesta?"}),a.jsx("p",{className:"text-muted-foreground mb-4",children:"En Emplicity te acompañamos con IA + Career Coaches reales hasta que firmes contrato. Solo pagas cuando consigues trabajo."}),a.jsx(je,{to:"/apply",className:"inline-flex items-center gap-2 bg-gradient-to-r from-primary to-secondary text-white font-bold px-6 py-3 rounded-xl hover:scale-105 transition-transform",children:"Conocer el programa â"})]})]}),gd=Qi.find(e=>e.slug==="como-prepararte-para-una-entrevista-de-trabajo"),L5e={"@context":"https://schema.org","@type":"Article",headline:gd.title,de
1179scription:gd.metaDescription,datePublished:gd.date,dateModified:gd.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${gd.slug}`}},R5e=()=>a.jsxs(Ts,{article:gd,jsonLd:L5e,children:[a.jsx("h1",{children:gd.title}),a.jsxs("p",{children:["Conseguir una entrevista de trabajo es solo la mitad de la batalla. La otra mitad ây quizás la más importanteâ es ",a.jsx("strong",{children:"cómo te preparas para ella"}),". Según estudios de CareerBuilder, el 49% de los reclutadores sabe en los primeros cinco minutos si un candidato es adecuado para el puesto. Eso significa que cada segundo cuenta, y la preparación es lo que marca la diferencia entre una respuesta genérica y una que deje huella."]}),a.jsx("p",{children:"Esta guÃa está diseñada para profesionales en Latinoamérica que buscan empleo activamente y quieren maximizar sus oportunidades en cada entrevista. No importa si es tu primera entrevista en años o si has pasado por decenas: siempre hay aspectos que puedes mejorar. Vamos a recorrer paso a paso todo lo que necesitas hacer antes, durante y después de una entrevista de trabajo para aumentar drásticamente tus probabilidades de éxito."}),a.jsx("h2",{children:"Por qué la preparación marca la diferencia"}),a.jsxs("p",{children:["La diferencia entre un candidato que consigue la oferta y otro que no, rara vez es la experiencia técnica. En la mayorÃa de los casos, lo que define el resultado es ",a.jsx("strong",{children:"la preparación"}),". Un candidato preparado transmite confianza, demuestra interés genuino por la empresa y articula sus respuestas con claridad. Un candidato que improvisa, por más talentoso que sea, proyecta desinterés e inseguridad."]}),a.jsxs("p",{children:["Prepararte para una entrevista no significa memorizar respuestas. Significa entender profundamente tres cosas: ",a.jsx("strong",{children:"quién eres profesionalmente"})," (tus logros, fortalezas y áreas de crecimiento),",a.jsx("strong",{children:" qué ofrece la empresa"})," (su cultura, retos y lo que busca en el candidato ideal) y",a.jsx("strong",{children:" cómo conectar ambas cosas"})," de manera convincente. Cuando logras articular esa conexión, el entrevistador ve no solo un candidato calificado, sino a alguien que ya piensa como parte del equipo."]}),a.jsx("p",{children:"Un estudio de LinkedIn reveló que los candidatos que invierten al menos 3 horas en preparación para una entrevista tienen un 70% más de probabilidades de recibir una oferta. Esas horas no necesitan ser agotadoras: con una estructura clara de preparación, puedes cubrir todos los aspectos crÃticos de manera eficiente. Eso es exactamente lo que te enseñaremos en esta guÃa."}),a.jsx("p",{children:"Además, la preparación reduce significativamente la ansiedad. Cuando sabes qué esperar, cómo responder a las preguntas más comunes y tienes ejemplos concretos listos, la entrevista se convierte en una conversación profesional en lugar de un interrogatorio estresante. La confianza que proyectas cuando estás preparado es perceptible y contagiosa: los entrevistadores responden positivamente a candidatos que se sienten cómodos y seguros."}),a.jsx("h2",{children:"Investiga la empresa antes de llegar"}),a.jsxs("p",{children:["La investigación previa es el fundamento de toda buena preparación. No basta con saber a qué se dedica la empresa: necesitas entender su ",a.jsx("strong",{children:"situación actual, sus retos y hacia dónde se dirige"}),". Un candidato que demuestra conocimiento profundo sobre la organización se distingue inmediatamente del resto."]}),a.jsx("p",{children:'Empieza por la página web corporativa: revisa la sección "Sobre nosotros", su misión, visión y valores. Luego busca noticias recientes: ¿han lanzado un producto nuevo? ¿Están expandiéndose a nuevos mercados? ¿Han tenido cambios en el liderazgo? Esta información te permite hacer preguntas inteligentes y contextualizar tus respuestas.'}),a.jsxs("p",{children:[a.jsx("strong",{children:"LinkedIn es tu mejor aliado"})," en esta fase. Busca el perfil de la empresa, revisa sus publicaciones recientes y, si es posible, investiga a las personas que te entrevistarán. Conocer el background profesional de tu entrevistador te ayuda a encontrar puntos en común y adaptar tu comunicación. También revisa las reseñas en Glassdoor o plataformas similares para tener una perspectiva más completa de la cultura organizacional."]}
1179),a.jsx("p",{children:"Otro recurso valioso son los reportes anuales y comunicados de prensa. Si la empresa es pública, sus resultados financieros pueden darte contexto sobre la salud del negocio. Si es privada, busca artÃculos en medios especializados de tu industria. Cuanto más contexto tengas, más relevantes serán tus respuestas y preguntas durante la entrevista."}),a.jsxs("p",{children:["Finalmente, estudia la descripción del puesto con lupa. Identifica las ",a.jsx("strong",{children:"5 responsabilidades principales"})," y las ",a.jsx("strong",{children:"competencias clave"})," que mencionan. Para cada una, prepara un ejemplo concreto de tu experiencia que demuestre que tienes esa habilidad. Esta alineación punto por punto entre lo que buscan y lo que ofreces es lo que convierte una entrevista en una oferta."]}),a.jsx("h2",{children:"Cómo responder las preguntas más comunes (método STAR)"}),a.jsxs("p",{children:["Las preguntas de entrevista de trabajo suelen seguir patrones predecibles. Conocer estos patrones y tener un método para responderlas te da una ventaja enorme. El ",a.jsx("strong",{children:"método STAR"})," es la técnica más efectiva y utilizada por profesionales de alto nivel en todo el mund
1179o."]}),a.jsxs("p",{children:["STAR son las siglas de ",a.jsx("strong",{children:"Situación, Tarea, Acción y Resultado"}),":"]}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Situación:"})," Describe el contexto. ¿Dónde trabajabas? ¿Cuál era el escenario?"]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Tarea:"})," Explica cuál era tu responsabilidad o el desafÃo que enfrentabas."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Acción:"})," Detalla qué hiciste especÃficamente. Usa primera persona."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Resultado:"})," Comparte el resultado concreto, idealmente con métricas."]})]}),a.jsxs("p",{children:["Veamos cómo aplicar STAR a la pregunta clásica: ",a.jsx("em",{children:'"Háblame de un momento en que resolviste un conflicto en el trabajo"'}),":"]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Situación:"}),' "En mi rol como coordinador de proyectos en [empresa], dos departamentos tenÃan prioridades opuestas sobre el lanzamiento de un producto."',a.jsx("strong",{children:" Tarea:"}),' "Como lÃder del proyecto, necesitaba alinear ambos equipos para cumplir con la fecha de entrega."',a.jsx("strong",{children:" Acción:"}),' "Organicé una sesión de trabajo conjunto donde cada equipo presentó sus restricciones. Propuse un cronograma alternativo que integraba las prioridades de ambos."',a.jsx("strong",{children:" Resultado:"}),' "Lanzamos el producto a tiempo con la aprobación de ambos departamentos, y el proyecto generó un 15% más de ingresos que el proyectado."']}),a.jsx("p",{children:"Las preguntas más frecuentes que debes preparar con método STAR incluyen:"}),a.jsxs("ul",{children:[a.jsx("li",{children:'"Cuéntame sobre ti" (tu elevator pitch profesional, 60-90 segundos)'}),a.jsx("li",{children:'"¿Cuáles son tus fortalezas y debilidades?"'}),a.jsx("li",{children:'"¿Por qué quieres trabajar aquÃ?"'}),a.jsx("li",{children:'"Háblame de un logro del que estés orgulloso"'}),a.jsx("li",{children:'"¿Cómo manejas la presión o el estrés?"'}),a.jsx("li",{children:'"¿Dónde te ves en 5 años?"'}),a.jsx("li",{children:'"¿Por qué dejaste tu último empleo?"'}),a.jsx("li",{children:'"Dame un ejemplo de liderazgo"'})]}),a.jsxs("p",{children:["Para cada una de estas preguntas, prepara al menos un ejemplo concreto usando STAR. No memorices respuestas palabra por palabra: ten claros los puntos clave y practica articularlos de forma natural. Puedes practicar frente al espejo, grabarte en video o, mejor aún, hacer simulacros con un ",a.jsx(je,{to:"/career-coach",children:"Career Coach profesional"})," que te dé retroalimentación real y personalizada."]}),a.jsx("h2",{children:"Preguntas que deberÃas hacer tú al entrevistador"}),a.jsxs("p",{children:['Uno de los momentos más subestimados de cualquier entrevista es cuando te preguntan: "¿Tienes alguna pregunta para nosotros?". ',a.jsx("strong",{children:'Decir "no" es uno de los peores errores que puedes cometer.'})," Las preguntas que haces revelan tu nivel de interés, tu capacidad analÃtica y qué tan seriamente consideras la oportunidad."]}),a.jsx("p",{children:"Prepara al menos 5 preguntas (probablemente solo tengas tiempo para 2-3, pero tener opciones te permite adaptarte según lo que ya se haya discutido). Aquà tienes ejemplos de preguntas inteligentes:"}),a.jsxs("ul",{children:[a.jsx("li",{children:'"¿Cuáles son los principales retos que enfrenta el equipo actualmente?"'}),a.jsx("li",{children:'"¿Cómo se mide el éxito en esta posición durante los primeros 6 meses?"'}),a.jsx("li",{children:'"¿Cómo describirÃas la cultura del equipo?"'}),a.jsx("li",{children:'"¿Qué oportunidades de crecimiento profesional ofrece la empresa?"'}),a.jsx("li",{children:'"¿Cuál es el siguiente paso en el proceso de selección?"'})]}),a.jsx("p",{children:"Evita preguntas sobre salario, vacaciones o beneficios en la primera entrevista, a menos que el entrevistador los mencione primero. Estas son conversaciones legÃtimas, pero es mejor abordarlas en etapas posteriores del proceso. En la primera entrevista, enfócate en demostrar interés en el rol y la empresa."}),a.jsx("p",{children:'Las mejores preguntas son aquellas que demuestran que ya estás pensando en cómo contribuir. Por ejemplo: "He visto que están expandiéndose al mercado de [X]. ¿Cómo impactarÃa eso las prioridades de este rol?" Este tipo de pregunta muestra que investigaste la empresa y que ya estás pensando estratég
1179icamente.'}),a.jsx("h2",{children:"Qué ponerte y cómo llegar"}),a.jsxs("p",{children:["La apariencia profesional sigue siendo importante, incluso en entornos laborales casuales. La regla general es ",a.jsx("strong",{children:"vestirte un nivel por encima del código de vestimenta de la empresa"}),". Si la empresa es casual, opta por business casual. Si es corporativa, usa traje o vestimenta formal."]}),a.jsx("p",{children:'Si tienes dudas sobre el código de vestimenta, investiga en LinkedIn: revisa fotos del equipo, publicaciones de la empresa o incluso pregúntale al reclutador. No hay nada de malo en preguntar: "¿Hay algún código de vestimenta que deba considerar para la entrevista?" Demuestra atención al detalle y profesionalismo.'}),a.jsxs("p",{children:["En cuanto a la logÃstica, ",a.jsx("strong",{children:"planifica llegar 10-15 minutos antes"}),". Esto te da margen para imprevistos, tiempo para relajarte y oportunidad de observar el ambiente de la oficina. Si la entrevista es virtual, prueba tu conexión, cámara y micrófono con al menos 30 minutos de anticipación. Asegúrate de tener un fondo limpio, buena iluminación y un espacio silencioso."]}),a.jsx("p",{children:"Para entrevistas virtuales, mantén contacto visual mirando a la cámara (no a la pantalla), usa auriculares con micrófono para mejor audio y ten a la mano tus notas de preparación fuera de cámara. La ventaja de las entrevistas virtuales es que puedes tener tu investigación sobre la empresa y tus ejemplos STAR como referencia discreta."}),a.jsx("h2",{children:"Los 5 errores más frecuentes en entrevistas de trabajo"}),a.jsx("p",{children:"Después de preparar a cientos de profesionales para entrevistas, en Emplicity hemos identificado los errores que más se repiten. Evitarlos te pone automáticamente por encima de la mayorÃa de candidatos:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"1. No investigar la empresa."})," Llegar sin saber qué hace la empresa, quiénes son sus competidores o cuáles son sus valores es la señal más clara de desinterés. Los reclutadores lo detectan inmediatamente y descalifican al candidato mentalmente, incluso si sus respuestas técnicas son buenas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"2. Respuestas vagas sin ejemplos concretos."}),' Decir "soy muy organizado" no convence a nadie. Decir "implementé un sistema de gestión de proyectos que redujo los tiempos de entrega en un 25%" sà lo hace. Siempre respalda tus afirmaciones con evidencia especÃfica usando el método STAR.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"3. Hablar mal de empleadores anteriores."}),' Sin importar qué tan mala haya sido tu experiencia, hablar negativamente de un empleador anterior genera desconfianza. El entrevistador piensa: "¿Hablará asà de nosotros también?" En su lugar, enfócate en lo que aprendiste y por qué buscas nuevos retos.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"4. No hacer preguntas al final."})," Como mencionamos, no tener preguntas señala falta de interés o preparación. Siempre ten preguntas listas que demuestren curiosidad genuina por el rol y la empresa."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"5. No dar seguimiento después de la entrevista."})," Muchos candidatos creen que su trabajo termina al salir de la entrevista. Un correo de agradecimiento bien escrito, enviado dentro de las 24 horas, puede ser el diferenciador que te ponga por encima de otros finalistas con perfiles similares."]}),a.jsx("h2",{children:"Qué hacer después de la entrevista"}),a.jsx("p",{children:"El proceso no termina cuando sales de la sala (o cierras el Zoom). Lo que haces en las horas y dÃas siguientes puede inclinar la balanza a tu favor:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"EnvÃa un correo de agradecimiento"}),' dentro de las primeras 24 horas. Debe ser breve, personalizado y profesional. Menciona algo especÃfico que se discutió en la entrevista para demostrar que prestaste atención. Ejemplo: "Fue muy interesante conocer los planes de expansión al mercado colombiano. Mi experiencia en [X] me tiene muy entusiasmado por la posibilidad de contribuir a ese crecimiento."']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Haz una autoevaluación honesta."})," Inmediatamente después de la entrevista, anota qué preguntas te hicieron, cómo respondiste, qué salió bien y qué podrÃas mejorar. Este registro es invaluable para prepararte para futuras entrevistas, ya sea con la misma empresa (siguientes rondas) o con otras."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sé paciente pero proactivo."}),' Si te dieron un plazo ("te contactamos en una semana"), respétalo. Si pasa el plazo sin noticias, envÃa un correo breve de seguimiento reafirmando tu interés. No envÃes múltiples correos ni llames repetidamente: un solo seguimiento educado es suficiente.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"Continúa tu búsqueda."})," Nunca dejes de buscar oportunidades mientras esperas respuesta de una entrevista. Incluso si sientes que te fue excelente, hasta que tengas una oferta firmada, mantén tu pipeline activo. Esto no solo es estratég
1179icamente inteligente, sino que reduce la ansiedad de depender de una sola oportunidad."]}),a.jsx("h2",{children:"El siguiente paso: prepárate con expertos"}),a.jsxs("p",{children:["Prepararte solo para una entrevista está bien. Prepararte con un"," ",a.jsx(je,{to:"/career-coach",children:"Career Coach profesional"})," es infinitamente mejor. En Emplicity, nuestros coaches realizan ",a.jsx("strong",{children:"simulacros de entrevista reales"}),", te dan retroalimentación personalizada sobre tu comunicación verbal y no verbal, y te ayudan a construir las respuestas más efectivas para tu perfil y la industria a la que apuntas."]}),a.jsxs("p",{children:["Nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"})," no solo te prepara para entrevistas: incluye optimización de CV para ATS, mejora de LinkedIn, estrategia de búsqueda personalizada y acompañamiento continuo hasta que consigas empleo. Y lo mejor: ",a.jsx("strong",{children:"no pagas hasta que firmes contrato"}),"."]}),a.jsx("p",{children:"Más de 320 profesionales en México, Colombia, Perú y Chile ya han conseguido trabajo con el apoyo de Emplicity. Si quieres ser el próximo, el primer paso es aplicar al programa."}),a.jsxs("p",{children:["ð ",a.jsx(je,{to:"/apply",children:a.jsx("strong",{children:"Aplica al programa de Emplicity"})})," y empieza a prepararte con expertos que te llevarán a tu próximo empleo."]}),a.jsxs("p",{children:["Explora más recursos: ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"Cómo optimizar tu CV para ATS"})," | ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"Cómo optimizar tu LinkedIn"})," | ",a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",children:"100 preguntas y respuestas de entrevista"})," | ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",children:"Cómo conseguir trabajo rápido"})," | ",a.jsx(je,{to:"/",children:"Volver al inicio"})]})]}),xd=Qi.find(e=>e.slug==="como-optimizar-linkedin-para-conseguir-trabajo"),O5e={"@context":"https://schema.org","@type":"Article",headline:xd.title,de
1179scription:xd.metaDescription,datePublished:xd.date,dateModified:xd.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${xd.slug}`}},I5e=()=>a.jsxs(Ts,{article:xd,jsonLd:O5e,children:[a.jsx("h1",{children:xd.title}),a.jsxs("p",{children:["LinkedIn se ha convertido en ",a.jsx("strong",{children:"la herramienta más poderosa para encontrar trabajo"})," en Latinoamérica y el mundo. Con más de 900 millones de usuarios globales, es la plataforma donde reclutadores buscan candidatos activamente, donde headhunters identifican talento y donde las oportunidades llegan a quienes tienen un perfil optimizado. Sin embargo, la mayorÃa de los profesionales subutiliza su perfil, perdiendo oportunidades que ni siquiera saben que existen."]}),a.jsx("p",{children:"En esta guÃa completa te enseñaremos paso a paso cómo optimizar cada sección de tu perfil de LinkedIn para que los re
1179clutadores te encuentren, te contacten y te consideren para las mejores oportunidades. No importa si estás buscando empleo activamente o si quieres estar visible para oportunidades futuras: un LinkedIn optimizado trabaja para ti las 24 horas del dÃa, los 7 dÃas de la semana."}),a.jsx("h2",{children:"Por qué LinkedIn es clave en la búsqueda de empleo"}),a.jsxs("p",{children:["Según datos de Jobvite, ",a.jsx("strong",{children:"el 87% de los reclutadores utiliza LinkedIn como su herramienta principal para buscar candidatos"}),". Esto significa que tu perfil de LinkedIn es, literalmente, tu primera impresión profesional para la mayorÃa de las empresas. Si tu perfil no está optimizado, es como tener una tienda sin letrero: nadie sabe que existes."]}),a.jsx("p",{children:'LinkedIn funciona como un motor de búsqueda interno. Cuando un reclutador necesita llenar una vacante, escribe palabras clave como "gerente de marketing digital" o "ingeniero de datos Python" y LinkedIn le muestra los perfiles más relevantes. Si tu perfil no contiene las palabras clave correctas en los lugares correctos, simplemente no apareces en los resultados.'}),a.jsxs("p",{children:["Además, LinkedIn ha evolucionado de ser un simple directorio profesional a una plataforma de contenido y networking. Los profesionales que publican contenido relevante, interactúan con sus contactos y mantienen un perfil activo tienen hasta ",a.jsx("strong",{children:"40 veces más probabilidades de recibir oportunidades"})," que aquellos con perfiles pasivos. Optimizar tu LinkedIn no es un evento único: es una estrategia continua."]}),a.jsx("p",{children:"En mercados como México, Colombia, Perú y Chile, LinkedIn ha crecido exponencialmente en los últimos años. Las empresas locales y multinacionales que operan en la región lo usan como canal primario de reclutamiento. No tener un perfil optimizado en LinkedIn en 2025 es equivalente a no tener un CV hace 20 años."}),a.jsx("h2",{children:"La foto y el banner que abren puertas"}),a.jsxs("p",{children:["Tu foto de perfil es lo primero que ve un reclutador, y las primeras impresiones importan enormemente. Según LinkedIn, los perfiles con foto profesional reciben ",a.jsx("strong",{children:"21 veces más visualizaciones"})," y ",a.jsx("strong",{children:"9 veces más solicitudes de conexión"})," que aquellos sin foto."]}),a.jsx("p",{children:"¿Qué hace una buena foto de perfil? Debe ser reciente (no de hace 5 años), con buena iluminación natural, fondo limpio o neutro, y vestimenta profesional acorde a tu industria. Tu rostro debe ocupar alrededor del 60% del encuadre. SonrÃe: los estudios muestran que las fotos con sonrisa generan más confianza y conexión."}),a.jsx("p",{children:"El banner (la imagen de fondo) es un espacio que el 90% de los usuarios desperdicia. UtilÃzalo para comunicar tu propuesta de valor: puedes incluir tu especialidad, una frase que resuma tu experiencia, o el logo de tu empresa o sector. Herramientas como Canva ofrecen plantillas gratuitas especÃficas para banners de LinkedIn. Un banner personalizado demuestra atención al detalle y profesionalismo."}),a.jsx("h2",{children:"El titular: la lÃnea más importante de tu perfil"}),a.jsxs("p",{children:["El titular de LinkedIn (la lÃnea debajo de tu nombre) es ",a.jsx("strong",{children:"el factor más influyente en que un reclutador haga clic en tu perfil o pase de largo"}),". Por defecto, LinkedIn pone tu cargo actual, pero eso es un desperdicio de 220 caracteres de espacio premium."]}),a.jsxs("p",{children:["Un buen titular combina tres elementos: ",a.jsx("strong",{children:"tu rol, tu especialidad y el valor que aportas"}),'. En lugar de "Gerente de Marketing en Empresa X", prueba: "Gerente de Marketing Digital | Especialista en Growth y Performance | +8 años impulsando ROI en eCommerce". Este titular le dice al reclutador exactamente qué haces, en qué eres experto y qué resultados generas.']}),a.jsx("p",{children:'Incluye palabras clave relevantes para tu industria en el titular, ya que LinkedIn le da un peso significativo a este campo en sus algoritmos de búsqueda. Si quieres que te encuentren cuando busquen "data scientist" o "gerente de operaciones", esas palabras deben estar en tu titular.'}),a.jsx("p",{children:'Evita titulares vagos como "Profesional apasionado buscando nuevas oportunidades" o "En transición". Estos no contienen palabras clave buscables y no comunican valor. Incluso si estás en búsqueda activa, tu titular debe enfocarse en lo que ofreces, no en lo que necesitas.'}),a.jsx("h2",{children:"El resumen: tu pitch profesional"}),a.jsx("p",{children:'La sección "Acerca de" es tu oportunidad de contar tu historia profesional con tus propias palabras. Es el equivalente a un elevator pitch escrito, y puede tener hasta 2,600 caracteres. Ãsalo estratég
1179icamente.'}),a.jsxs("p",{children:["Estructura tu resumen en tres bloques: ",a.jsx("strong",{children:"quién eres"})," (tu experiencia y trayectoria en 2-3 lÃneas), ",a.jsx("strong",{children:"qué has logrado"})," (tus principales logros con métricas) y ",a.jsx("strong",{children:"qué buscas"})," (el tipo de rol u oportunidad que te interesa). Este formato es fácil de leer y cubre los tres puntos que más interesan a los reclutadores."]}),a.jsx("p",{children:'Escribe en primera persona: es más personal y conecta mejor. Incluye palabras clave naturalmente a lo largo del texto, pero no lo conviertas en una lista de keywords. El resumen debe leerse de forma fluida y genuina. Termina con una llamada a la acción clara: "Conéctate conmigo si buscas un [perfil] con experiencia en [área]" o "Abierto a conversaciones sobre [tipo de oportunidades]".'}),a.jsx("p",{children:"Un error común es dejar esta sección vacÃa. LinkedIn prioriza perfiles completos en sus resultados de búsqueda, y el resumen es uno de los campos con más peso. No tener resumen es como entregar un CV sin perfil profesional: funciona, pero pierdes una oportunidad enorme de diferenciarte."}),a.jsx("h2",{children:"Experiencia y logros con métricas"}),a.jsxs("p",{children:["La sección de experiencia es donde demuestras lo que has hecho, no solo los cargos que has tenido. El error más común es copiar y pegar la descripción del puesto. Lo que los reclutadores quieren ver son ",a.jsx("strong",{children:"logros concretos con métricas"}),"."]}),a.jsxs("p",{children:["Para cada posición, incluye 3-5 bullets que sigan esta estructura: ",a.jsx("strong",{children:"Verbo de acción + qué hiciste + resultado cuantificable"}),". Ejemplos:"]}),a.jsxs("ul",{children:[a.jsx("li",{children:'"Lideré la implementación de un CRM que aumentó la retención de clientes en un 32%"'}),a.jsx("li",{children:'"Reduje los costos operativos en $200K anuales mediante la optimización de procesos logÃsticos"'}),a.jsx("li",{children:'"Gestioné un equipo de 15 personas y 3 proyectos simultáneos con entregas on-time del 95%"'}),a.jsx("li",{children:'"Incrementé el tráfico orgánico del sitio web en un 180% en 12 meses"'})]}),a.jsx("p",{children:'Las métricas son poderosas porque transforman afirmaciones subjetivas en evidencia objetiva. "Mejoré las ventas" no dice nada. "Incrementé las ventas del canal digital en un 45% YoY, generando $1.2M adicionales" es imposible de ignorar. Incluso si no tienes acceso a números exactos, usa aproximaciones: "alrededor de", "más de", "aproximadamente".'}),a.jsx("p",{children:"Asegúrate de que cada posición incluya el nombre completo de la empresa, tu tÃtulo exacto, las fechas correctas y una descripción que combine responsabilidades y logros. LinkedIn permite agregar medios (presentaciones, artÃculos, enlaces) a cada posición: úsalos para mostrar tu trabajo en acción."}),a.jsx("h2",{children:"Palabras clave para aparecer en búsquedas de reclutadores"}),a.jsxs("p",{children:["El algoritmo de búsqueda de LinkedIn funciona de manera similar a Google: analiza las palabras clave de tu perfil y las compara con lo que buscan los reclutadores.",a.jsx("strong",{children:"Identificar e incorporar las palabras clave correctas es fundamental"}),"para aparecer en los resultados relevantes."]}),a.jsx("p",{children:"¿Cómo encontrar las palabras clave correctas? Busca 10-15 ofertas de empleo que te interesen y analiza qué términos se repiten: habilidades técnicas, herramientas, metodologÃas, certificaciones. Esas son tus palabras clave objetivo. Incorpóralas de forma natural en tu titular, resumen, experiencia y habilidades."}),a.jsxs("p",{children:["Los campos donde las palabras clave tienen más peso son: ",a.jsx("strong",{children:"titular, resumen, tÃtulo de cada posición y la sección de habilidades"}),". LinkedIn permite agregar hasta 50 habilidades: usa todas las que sean relevantes. Las habilidades validadas por otros contactos (endorsements) tienen más peso que las autodeclaradas."]}),a.jsx("p",{children:'Un truco avanzado: si tu industria usa terminologÃa en inglés y español (común en tech, marketing y finanzas), incluye ambas versiones. Un reclutador puede buscar "machine learning" o "aprendizaje automático": tener ambos términos te hace visible para ambas búsquedas.'}),a.jsx("h2",{children:"Cómo construir tu red de contactos"}),a.jsxs("p",{children:["LinkedIn no es solo un CV online: es una ",a.jsx("strong",{children:"plataforma de networking"}),". Tu red de contactos determina qué oportunidades ves, quién ve tu perfil y qué alcance tienen tus publicaciones. Una red estratég
1179ica es una de las herramientas más poderosas para encontrar empleo."]}),a.jsx("p",{children:"Empieza conectando con personas que ya conoces: compañeros de trabajo actuales y anteriores, compañeros de universidad, clientes y proveedores. Luego expande estratégicamente: conecta con reclutadores de tu industria, lÃderes de opinión en tu campo y profesionales en roles similares al que buscas."}),a.jsxs("p",{children:["Cuando envÃes una solicitud de conexión, ",a.jsx("strong",{children:"siempre incluye una nota personalizada"}),'. Las solicitudes con nota tienen un 300% más de probabilidades de ser aceptadas. Un mensaje simple como: "Hola [nombre], vi tu publicación sobre [tema] y me pareció muy relevante. Me gustarÃa conectar y seguir aprendiendo de tu contenido" es suficiente.']}),a.jsx("p",{children:'Apunta a tener al menos 500 conexiones. LinkedIn muestra "500+" como indicador de credibilidad, y un mayor número de conexiones amplÃa tu visibilidad en búsquedas. Sin embargo, prioriza calidad sobre cantidad: una red de contactos relevantes en tu industria vale más que miles de conexiones aleatorias.'}),a.jsx("h2",{children:"La estrategia de contenido para ser visible"}),a.jsx("p",{children:"Publicar contenido en LinkedIn es una de las formas más efectivas de aumentar tu visibilidad y posicionarte como referente en tu área. No necesitas ser un influencer: publicar 1-2 veces por semana con contenido relevante es suficiente para estar en el radar de reclutadores y lÃderes de tu industria."}),a.jsx("p",{children:"¿Qué publicar? Comparte aprendizajes de tu experiencia profesional, reflexiones sobre tendencias de tu industria, resúmenes de artÃculos o libros relevantes, consejos prácticos para profesionales de tu área o hitos de tu carrera. Lo importante es que aporte valor a tu audiencia."}),a.jsx("p",{children:"El formato importa: las publicaciones con historias personales y lecciones aprendidas generan más engagement que los posts corporativos o demasiado formales. Usa párrafos cortos, empieza con un gancho que capture la atención y termina con una pregunta que invite a la conversación."}),a.jsx("p",{children:"No subestimes el poder de comentar en publicaciones de otros. Un comentario thoughtful en un post de un lÃder de tu industria puede ser visto por cientos de personas, incluyendo reclutadores. Dedica 10-15 minutos al dÃa a interactuar con contenido relevante: es una inversión de tiempo con retorno alto."}),a.jsx("h2",{children:"Errores que te están costando oportunidades"}),a.jsx("p",{children:"Existen errores comunes en LinkedIn que pueden estar saboteando tu búsqueda de empleo sin que lo sepas:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"1. Perfil incompleto."}),' LinkedIn prioriza perfiles con el estatus "All-Star" (100% completo) en sus resultados de búsqueda. Si te falta la foto, el resumen, las habilidades o la educación, estás perdiendo visibilidad frente a candidatos con perfiles completos.']}),a.jsxs("p",{children:[a.jsx("strong",{children:'2. No activar la opción "Open to Work".'})," LinkedIn tiene una función que te permite indicar que estás abierto a oportunidades, visible solo para reclutadores o para toda tu red. Activarla puede aumentar significativamente los contactos de reclutadores."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"3. URL no personalizada."})," Tu URL de LinkedIn por defecto incluye números y caracteres aleatorios. PersonalÃzala a linkedin.com/in/tu-nombre para que sea más profesional y fácil de compartir."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"4. No solicitar recomendaciones."})," Las recomendaciones escritas por colegas, jefes o clientes son prueba social de tu valor profesional. Pide al menos 3-5 recomendaciones a personas que puedan hablar de tu trabajo y resultados."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"5. Perfil en un solo idioma."})," Si buscas oportunidades en mercados que operan en inglés, crea una versión en inglés de tu perfil. LinkedIn permite tener el perfil en múltiples idiomas, lo que amplÃa tu visibilidad internacional."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"6. Ignorar las notificaciones de reclutadores."}),' Si un reclutador te contacta, responde siempre, incluso si la oportunidad no te interesa. Una respuesta educada como "Gracias por contactarme. Actualmente no estoy buscando ese tipo de rol, pero me encantarÃa mantener el contacto" puede abrir puertas futuras.']}),a.jsx("h2",{children:"Conclusión y siguiente paso"}),a.jsxs("p",{children:["Optimizar tu LinkedIn no es un lujo: es una ",a.jsx("strong",{children:"necesidad estratég
1179ica"}),"para cualquier profesional que quiera avanzar en su carrera. Un perfil bien construido trabaja para ti incluso cuando no estás buscando activamente: atrae oportunidades, construye tu marca profesional y te mantiene conectado con las tendencias de tu industria."]}),a.jsxs("p",{children:["En Emplicity, la optimización de LinkedIn es una de las herramientas clave de nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"}),". Nuestros ",a.jsx(je,{to:"/career-coach",children:"Career Coaches"})," no solo te ayudan a reescribir tu perfil: te enseñan a usar LinkedIn como una herramienta activa de búsqueda de empleo, con estrategias de networking, contenido y visibilidad que aceleran tus resultados."]}),a.jsxs("p",{children:["Más de 320 profesionales en México, Colombia, Perú y Chile ya han conseguido trabajo con el apoyo de Emplicity. Y lo mejor: ",a.jsx("strong",{children:"no pagas hasta que firmes contrato"}),"."]}),a.jsxs("p",{children:["ð ",a.jsx(je,{to:"/apply",children:a.jsx("strong",{children:"Aplica al programa de Emplicity"})})," y empieza a construir el perfil de LinkedIn que te llevará a tu próximo empleo."]}),a.jsxs("p",{children:["Explora más recursos: ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"Cómo optimizar tu CV para ATS"})," | ",a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",children:"Cómo prepararte para una entrevista"})," | ",a.jsx(je,{to:"/",children:"Volver al inicio"})]})]}),yd=Qi.find(e=>e.slug==="como-negociar-tu-sueldo"),U5e={"@context":"https://schema.org","@type":"Article",headline:yd.title,description:yd.metaDescription,datePublished:yd.date,dateModified:yd.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${yd.slug}`}},F5e=()=>a.jsxs(Ts,{article:yd,jsonLd:U5e,children:[a.jsx("h1",{children:yd.title}),a.jsxs("p",{children:["Negociar tu sueldo es una de las habilidades más valiosas que puedes desarrollar en tu vida profesional. Sin embargo, la mayorÃa de los candidatos en Latinoamérica evitan la conversación por miedo a perder la oferta, por vergüenza o simplemente porque nadie les enseñó cómo hacerlo. Según un estudio de Glassdoor, ",a.jsx("strong",{children:"el 59% de los profesionales acepta la primera oferta salarial sin negociar"}),". Eso significa que millones de personas están dejando dinero sobre la mesa cada año."]}
1179),a.jsx("p",{children:'Esta guÃa completa está diseñada para profesionales en México, Colombia, Perú y Chile que quieren aprender a negociar su sueldo con confianza, respaldo y estrategia. Te explicaremos cuándo hablar de dinero, cómo investigar rangos salariales, qué decir cuando te preguntan "¿cuánto quieres ganar?", y cómo cerrar la mejor oferta posible sin arriesgar la oportunidad.'}),a.jsx("h2",{children:"Por qué es importante negociar tu sueldo"}),a.jsx("p",{children:"Negociar tu sueldo no es un acto de rebeldÃa ni una falta de gratitud. Es un ejercicio profesional que demuestra que conoces tu valor en el mercado y que tomas decisiones informadas. Las empresas esperan que negocies: de hecho, muchas ofertas salariales están diseñadas con un margen de negociación incorporado. Si no pides más, la empresa asume que estás conforme, y el dinero que podrÃas haber obtenido simplemente se queda en su presupuesto."}),a.jsxs("p",{children:["El impacto acumulativo de no negociar es enorme. Un estudio de la Universidad de Carnegie Mellon demostró que",a.jsx("strong",{children:"no negociar tu primer salario puede costarte más de $500,000 USD a lo largo de tu carrera"}),". Esto se debe al efecto compuesto: cada aumento futuro, cada bono y cada nueva oferta se calculan sobre tu salario base actual. Si empiezas más bajo de lo que podrÃas, arrastras esa diferencia durante años."]}),a.jsx("p",{children:"Además, negociar envÃa una señal positiva al empleador. Les dice que eres alguien que sabe comunicarse, que entiende el mercado y que tiene la confianza para defender su posición. Estas son cualidades que las empresas valoran en cualquier rol, especialmente en posiciones de liderazgo."}),a.jsx("p",{children:"En Latinoamérica, la cultura de la negociación salarial está evolucionando. Cada vez más profesionales entienden que pedir un mejor salario no es grosero ni inapropiado. Es simplemente parte del proceso de contratación. Y cuanto antes lo normalices, antes empezarás a ganar lo que realmente mereces."}),a.jsx("h2",{children:"Cuándo y cómo hablar de dinero durante el proceso de selección"}),a.jsxs("p",{children:["Uno de los errores más comunes es hablar de dinero demasiado pronto. Si en tu primera entrevista mencionas expectativas salariales antes de que el entrevistador haya evaluado tu perfil, corres el riesgo de ser filtrado por precio sin que hayan visto todo lo que puedes aportar. La regla general es simple: ",a.jsx("strong",{children:"deja que la empresa hable de dinero primero"}),"."]}),a.jsx("p",{children:"El momento ideal para negociar es cuando la empresa ya te quiere. Esto suele ocurrir después de la segunda o tercera entrevista, cuando te hacen una oferta verbal o escrita. En ese punto, tienes el m
1179áximo poder de negociación porque la empresa ya invirtió tiempo y recursos en evaluarte, y reemplazarte tendrÃa un costo."}),a.jsx("p",{children:'Si te preguntan por tus expectativas salariales en etapas tempranas, puedes responder con algo como: "Me encantarÃa conocer más sobre el rol y las responsabilidades antes de hablar de compensación. ¿PodrÃan compartirme el rango que tienen presupuestado para esta posición?" Esta respuesta es profesional, no evasiva, y pone la pelota del lado de la empresa.'}),a.jsx("p",{children:"En algunas empresas, especialmente en México y Colombia, los formularios de aplicación incluyen un campo obligatorio de expectativa salarial. En esos casos, investiga el rango de mercado y coloca un número en el rango alto pero razonable. Nunca pongas el mÃnimo que aceptarÃas: ese número se convierte en tu techo, no en tu piso."}),a.jsx("h2",{children:"Cómo investigar el rango salarial correcto para tu puesto"}),a.jsx("p",{children:"No puedes negociar lo que no conoces. Antes de cualquier conversación salarial, necesitas datos concretos sobre cuánto pagan las empresas en tu industria, ciudad y nivel de experiencia. Sin esta información, estás negociando a ciegas."}),a.jsxs("p",{children:["Las mejores fuentes para investigar salarios en Latinoamérica incluyen: ",a.jsx("strong",{children:"Glassdoor"})," (tiene datos de México, Colombia, Perú y Chile), ",a.jsx("strong",{children:"LinkedIn Salary Insights"}),", ",a.jsx("strong",{children:"Computrabajo"}),",",a.jsx("strong",{children:"Indeed"}),", y las encuestas salariales de consultoras como Mercer, Hays y Michael Page, que publican reportes anuales por paÃs y sector."]}),a.jsx("p",{children:"Cuando investigues, busca al menos tres fuentes diferentes y calcula un promedio. Considera factores como el tamaño de la empresa (las multinacionales suelen pagar más que las pymes), la ciudad (CDMX o Bogotá suelen tener salarios más altos que ciudades más pequeñas), la industria (tecnologÃa y finanzas pagan más que retail o educación) y tu nivel de experiencia (junior, mid, senior, gerencial)."}),a.jsx("p",{children:"Tu objetivo es llegar a la negociación con un rango claro: tu número ideal (lo que quisieras ganar), tu número realista (lo que el mercado paga en promedio) y tu número mÃnimo (por debajo del cual no aceptarÃas). Con estos tres números claros, puedes negociar con confianza sin titubear."}),a.jsx("h2",{children:"Antes de negociar: conoce tu BATNA â tu mÃnimo aceptable y tu objetivo ideal"}),a.jsx("p",{children:'BATNA es un concepto de la teorÃa de negociación que significa "Best Alternative To a Negotiated Agreement" (Mejor Alternativa a un Acuerdo Negociado). En español simple: es lo que harás si no llegas a un acuerdo con esta empresa. ¿Tienes otra oferta? ¿Puedes seguir en tu empleo actual? ¿Tienes ahorros para seguir buscando?'}),a.jsx("p",{children:"Conocer tu BATNA es crucial porque determina cuánto poder tienes en la negociación. Si tu alternativa es quedarte desempleado sin ahorros, tu poder de negociación es limitado y quizás necesites ser más flexible. Pero si tienes otra oferta sobre la mesa o un empleo actual estable, puedes negociar con más firmeza porque no necesitas esta oferta tanto como la empresa cree."}),a.jsxs("p",{children:["Define antes de negociar: (1) tu ",a.jsx("strong",{children:"número mÃnimo"}),": el salario por debajo del cual dirÃas que no, (2) tu ",a.jsx("strong",{children:"número objetivo"}),": lo que consideras justo según tu investigación, y (3) tu ",a.jsx("strong",{children:"número aspiracional"}),": el mejor escenario posible. Tener estos tres números claros te da estructura y evita que tomes decisiones emocionales en el momento."]}),a.jsx("p",{children:"Recuerda: la empresa también tiene un rango. Su trabajo es contratar al mejor talento posible al menor costo. Tu trabajo es conseguir la mejor compensación posible por tu talento. No son objetivos opuestos: hay un punto medio donde ambos ganan, y la negociación es el proceso para encontrarlo."}),a.jsx("h2",{children:'Cómo responder a "¿cuánto quieres ganar?" usando la técnica del rango y anclando alto'}),a.jsxs("p",{children:["Esta es la pregunta que más ansiedad genera en los candidatos. Pero con la estrategia correcta, puede convertirse en tu mayor ventaja. La técnica más efectiva es ",a.jsx("strong",{children:"dar un rango en lugar de un número fijo"}),", y asegurarte de que el piso de tu rango sea tu número objetivo, no tu mÃnimo."]}),a.jsx("p",{children:'Por ejemplo, si tu investigación muestra que el mercado paga entre $25,000 y $35,000 MXN para tu puesto, y tu objetivo es $30,000, tu respuesta deberÃa ser algo como: "Basándome en mi experiencia, mis habilidades y lo que he investigado del mercado, estoy buscando algo en el rango de $30,000 a $38,000. Pero me encantarÃa entender mejor el paquete completo de compensación antes de fijar un número."'}),a.jsxs("p",{children:["Esta técnica se llama ",a.jsx("strong",{children:'"anclar alto"'}),". Al mencionar primero un número alto (pero razonable), estás estableciendo un pu
1179nto de referencia psicológico. Las investigaciones en psicologÃa de la negociación muestran que el primer número mencionado tiene un efecto desproporcionado en el resultado final. Si anclas alto, la negociación se mueve hacia tu favor. Si anclas bajo, la empresa no va a ofrecerte más de lo que pediste."]}),a.jsx("p",{children:'Es importante que tu rango esté respaldado por datos. No inventes números. Cuando dices "basándome en mi investigación del mercado", estás comunicando que tu petición es informada, no arbitraria. Esto le da legitimidad a tu posición y hace que la empresa te tome más en serio.'}),a.jsx("p",{children:'Si la empresa te presiona por un número fijo, puedes decir: "Prefiero no limitarme a un solo número porque quiero considerar el paquete completo. ¿PodrÃan compartirme el rango que tienen asignado para esta posición?" En la mayorÃa de los casos, la empresa cederá y te dará un rango, lo cual te da información valiosa para la negociación.'}),a.jsx("h2",{children:"Negociar más allá del sueldo: beneficios, modalidad y vacaciones"}),a.jsx("p",{children:"La compensación total no es solo el salario base. En muchos casos, puedes obtener más valor negociando otros componentes del paquete: bonos, vales de despensa, seguro de gastos médicos mayores, dÃas de vacaciones adicionales, horario flexible, trabajo remoto, presupuesto de capacitación o incluso un signing bonus."}),a.jsx("p",{children:"En Latinoamérica, algunos de estos beneficios tienen ventajas fiscales tanto para ti como para la empresa. Por ejemplo, en México, los vales de despensa, el fondo de ahorro y las prestaciones superiores a la ley no generan ISR hasta ciertos lÃmites. Esto significa que la empresa puede darte más valor neto a menor costo, lo cual facilita la negociación."}),a.jsx("p",{children:"La modalidad de trabajo es otro elemento negociable. Si la empresa ofrece presencial y tú prefieres hÃbrido, puedes negociar esto como parte del paquete. Lo mismo con los dÃas de vacaciones: muchas empresas están dispuestas a ofrecer dÃas adicionales a los de ley, especialmente para candidatos senior."}),a.jsx("p",{children:"La clave es priorizar. Haz una lista de lo que más valoras (¿es el salario base? ¿la flexibilidad? ¿el crecimiento profesional?) y usa esa lista para negociar de manera estratég
1179ica. A veces, aceptar un salario ligeramente menor a cambio de trabajo remoto y más vacaciones puede resultar en una mejor calidad de vida."}),a.jsx("h2",{children:"Los 7 errores más comunes al negociar sueldo"}),a.jsx("p",{children:"Incluso los profesionales experimentados cometen errores al negociar. Aquà están los 7 más frecuentes y cómo evitarlos:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"1. No negociar en absoluto."})," El error más costoso. Si no pides, la respuesta siempre es no. Incluso un intento modesto de negociación puede resultar en miles de pesos adicionales al año."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"2. Dar tu número mÃnimo como expectativa."})," Si dices lo mÃnimo que aceptarÃas, la empresa te ofrecerá eso o menos. Siempre empieza más alto de lo que quieres terminar."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"3. Negociar sin datos."}),' "Necesito más dinero" no es un argumento. "El mercado paga entre X y Y para este rol y mi experiencia me posiciona en la parte alta del rango" es un argumento.']}),a.jsxs("p",{children:[a.jsx("strong",{children:"4. Negociar por email cuando podrÃas hacerlo en persona."})," La negociación es más efectiva cuando hay conexión humana. Si puedes, negocia por videollamada o en persona. El email pierde matices y tono."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"5. Amenazar con irte."})," A menos que realmente tengas otra oferta y estés dispuesto a irte, no uses amenazas. Es una táctica que puede salir muy mal y quemar puentes."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"6. Aceptar en el momento."})," Nunca aceptes una oferta en la primera llamada. Pide al menos 24-48 horas para evaluarla. Esto es profesional y esperado."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"7. Olvidar pedir la oferta por escrito."})," Todo lo que acuerdes debe quedar documentado. Si te prometieron un bono de contratación o trabajo remoto, asegúrate de que esté en la carta oferta."]}),a.jsx("h2",{children:"Qué hacer cuando la oferta es más baja de lo que esperabas"}),a.jsx("p",{children:"A veces, a pesar de tu mejor preparación, la oferta llega por debajo de tus expectativas. Esto no significa que la negociación terminó. Significa que empieza."}),a.jsx("p",{children:'Primero, no reacciones emocionalmente. Agradece la oferta y pide tiempo para evaluarla. Luego, prepara una contraoferta estructurada. Puedes decir algo como: "Agradezco mucho la oferta y estoy muy interesado en el rol. Sin embargo, basándome en mi investigación del mercado y en el valor que puedo aportar a este proyecto, esperaba una compensación más cercana a [tu número objetivo]. ¿Hay flexibilidad para ajustar el salario base?"'}),a.jsx("p",{children:'Si la empresa dice que no hay margen en el salario base, explora los otros componentes: "Entiendo. ¿SerÃa posible incluir un bono de contratación, revisión salarial a los 6 meses en lugar de al año, o dÃas adicionales de vacaciones?" Muchas veces la empresa tiene más flexibilidad en estos elementos que en el salario base.'}),a.jsx("p",{children:"Si después de negociar la oferta sigue por debajo de tu mÃnimo, tienes que decidir si la oportunidad compensa la diferencia salarial. Considera el crecimiento profesional, el aprendizaje, la marca de la empresa en tu CV y tu situación personal. A veces aceptar un salario menor en una empresa que te catapultará profesionalmente es una inversión inteligente. Pero si simplemente es una oferta baja sin ventajas compensatorias, está bien decir que no y seguir buscando."}),a.jsx("h2",{children:"Cómo Emplicity te prepara para negociar mejor con simulaciones reales y acompañamiento"}),a.jsx("p",{children:"En Emplicity, la negociación salarial no es un tema que dejamos al azar. Es parte integral de nuestro programa de empleabilidad. Tu Career Coach te acompaña en cada etapa del proceso, incluyendo la preparación para negociar tu compensación."}),a.jsxs("p",{children:["Nuestros coaches realizan ",a.jsx("strong",{children:"simulaciones de negociación"})," donde practican contigo escenarios reales: qué decir cuando te preguntan tu expectativa, cómo responder a una oferta baja, cómo anclar alto sin perder la oferta, y cómo manejar la presión para que aceptes inmediatamente. Estas simulaciones usan técnicas de role-play basadas en metodologÃas probadas de negociación."]}),a.jsx("p",{children:"Además, nuestras herramientas de IA te ayudan a investigar rangos salariales especÃficos para tu puesto, industria y ubicación. No llegas a ciegas a la mesa de negociación: llegas con datos, con práctica y con un coach que te respalda."}),a.jsxs("p",{children:["Y lo más importante: ",a.jsx("strong",{children:"Emplicity opera con un modelo de pago al éxito"}),". No pagas hasta que firmes contrato. Esto significa que nuestro incentivo está alineado con el tuyo: queremos que consigas la mejor oferta posible, porque tu éxito es nuestro éxito. Más de 320 profesionales en México, Colombia, Perú y Chile ya han conseguido trabajo con Emplicity, con un tiempo promedio de colocación de 2.5 meses."]}),a.jsxs("div",{className:"not-prose mt-12 p-8 rounded-2xl bg-primary/5 border border-primary/20 text-center",children:[a.jsx("h3",{className:"text-xl font-bold text-foreground mb-3",children:"¿Quieres negociar tu próximo sueldo con confianza?"}),a.jsx("p",{className:"text-muted-foreground mb-6 max-w-xl mx-auto",children:"Nuestros Career Coaches te preparan con simulaciones reales y datos de mercado para que consigas la oferta que mereces."}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/apply",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg bg-primary text-primary-foreground font-bold hover:opacity-90 transition-opacity",children:"Empieza tu proceso con Emplicity"}),a.jsx(je,{to:"/career-coach",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg border border-primary text-primary font-bold hover:bg-primary/5 transition-colors",children:"Conoce a nuestros coaches"})]})]}),a.jsxs("div",{className:"not-prose mt-8",children:[a.jsx("p",{className:"text-muted-foreground text-sm mb-2",children:"Sigue explorando:"}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline text-sm font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline text-sm font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline text-sm font-semibold",children:"Inicio â
1179"}),a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",className:"text-primary hover:underline text-sm font-semibold",children:"Preparación para entrevistas â"})]})]})]}),vd=Qi.find(e=>e.slug==="que-es-un-career-coach"),M5e={"@context":"https://schema.org","@type":"Article",headline:vd.title,description:vd.metaDescription,datePublished:vd.date,dateModified:vd.date,author:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:{"@type":"WebPage","@id":`https://emplicity.ai/blog/${vd.slug}`}},q5e=()=>a.jsxs(Ts,{article:vd,jsonLd:M5e,children:[a.jsx("h1",{children:vd.title}),a.jsxs("p",{children:['Si llevas semanas o meses buscando empleo sin resultados, probablemente has escuchado el término "Career Coach" pero no tienes claro qué es exactamente, qué hace, ni si realmente puede ayudarte. La respuesta corta es:',a.jsx("strong",{children:" un Career Coach es un profesional especializado en empleabilidad que te guÃa estratég
1179icamente para conseguir trabajo más rápido"}),". Pero hay mucho más detrás de esa definición."]}),a.jsx("p",{children:"En esta guÃa completa vamos a explorar qué hace un Career Coach sesión a sesión, en qué se diferencia de un coach de vida o de una agencia de empleo, cuándo realmente necesitas uno, qué resultados puedes esperar, y cómo el modelo de Emplicity combina coaching humano con inteligencia artificial para maximizar tus probabilidades de éxito. Si estás buscando empleo en México, Colombia, Perú o Chile, esta guÃa es para ti."}),a.jsx("h2",{children:"Qué es exactamente un Career Coach"}),a.jsxs("p",{children:["Un Career Coach es un profesional que se especializa en ayudarte a navegar tu carrera profesional, con un enfoque particular en la ",a.jsx("strong",{children:"búsqueda de empleo"}),". A diferencia de un mentor (que comparte experiencia de su propia carrera) o un consultor (que resuelve un problema puntual), un Career Coach trabaja contigo de manera estructurada y continua para desarrollar tu estrategia de empleabilidad completa."]}),a.jsxs("p",{children:["El Career Coach entiende el mercado laboral, conoce cómo funcionan los procesos de selección desde adentro, y tiene experiencia ayudando a profesionales como tú a conseguir ofertas concretas. Su rol no es conseguirte trabajo directamente (como harÃa una agencia), sino ",a.jsx("strong",{children:"prepararte para que tú consigas el trabajo que quieres"}),"."]}),a.jsx("p",{children:"Piénsalo como un entrenador deportivo: el entrenador no juega el partido por ti, pero te prepara técnica, táctica y mentalmente para que rindas al máximo cuando llegue el momento. Un buen Career Coach hace exactamente lo mismo con tu búsqueda de empleo: diagnostica qué está fallando, diseña una estrategia personalizada y te acompaña en cada paso hasta que firmes contrato."}),a.jsx("p",{children:"En Latinoamérica, el concepto de Career Coaching es relativamente nuevo comparado con Estados Unidos o Europa, donde lleva décadas siendo una herramienta estándar para profesionales en transición. Sin embargo, su adopción está creciendo rápidamente, especialmente entre profesionales mid-senior que entienden que buscar empleo es un proceso que requiere estrategia, no solo suerte."}),a.jsx("h2",{children:"Career Coach vs coach de vida: cuál es la diferencia"}),a.jsxs("p",{children:["Es común confundir un Career Coach con un life coach o coach de vida, pero son disciplinas muy diferentes. Un",a.jsx("strong",{children:"coach de vida"})," trabaja temas amplios como propósito personal, bienestar emocional, relaciones y metas generales de vida. Sus herramientas son más introspectivas y orientadas al autoconocimiento."]}),a.jsxs("p",{children:["Un ",a.jsx("strong",{children:"Career Coach"}),", en cambio, es un especialista en empleabilidad. Sus herramientas son concretas y orientadas a resultados medibles: optimización de CV, estrategia de LinkedIn, preparación de entrevistas, negociación salarial, mapeo de empresas target y seguimiento de postulaciones. El outcome esperado es claro: que consigas trabajo."]}),a.jsx("p",{children:"Esto no significa que un Career Coach ignore los aspectos emocionales de la búsqueda de empleo. Buscar trabajo es estresante, y un buen coach sabe manejar la ansiedad, la frustración y la pérdida de confianza que vienen con el rechazo. Pero lo hace en el contexto de una estrategia laboral, no como un ejercicio terapéutico abierto."}),a.jsx("p",{children:"Si lo que necesitas es repensar tu vida en general, un life coach puede ser útil. Pero si lo que necesitas es conseguir empleo en las próximas semanas o meses, necesitas un Career Coach que conozca el mercado laboral y sepa exactamente cómo posicionarte como candidato competitivo."}),a.jsx("h2",{children:"Career Coach vs agencia de empleo o headhunter"}),a.jsxs("p",{children:["Esta es una distinción fundamental que muchos candidatos no conocen: ",a.jsx("strong",{children:"un Career Coach trabaja para ti. Una agencia de empleo o headhunter trabaja para la empresa"}),". Esta diferencia cambia completamente la dinámica."]}),a.jsx("p",{children:"Cuando una agencia de empleo te contacta, su
1179cliente es la empresa que paga por encontrar candidatos. Su incentivo es llenar la vacante lo más rápido posible, no necesariamente conseguirte la mejor oportunidad ni el mejor salario. Si te descarta, simplemente pasa al siguiente candidato en su base de datos."}),a.jsxs("p",{children:["Un Career Coach, por el contrario, tiene un solo cliente: tú. Su objetivo es que ",a.jsx("strong",{children:"tú"})," consigas el mejor trabajo posible, con el mejor salario, en la mejor empresa para tu perfil. No tiene vacantes que llenar ni empresas a las cuales rendir cuentas. Su éxito se mide por tu éxito."]}),a.jsx("p",{children:"Esto se traduce en diferencias prácticas importantes. Un headhunter te presenta a una o dos empresas que son sus clientes. Un Career Coach te ayuda a postular a decenas de empresas que son relevantes para tu perfil. Un headhunter negocia el salario pensando en cerrar rápido. Un Career Coach te prepara para que tú negocies pensando en tu bienestar a largo plazo."}),a.jsx("p",{children:"En el modelo de Emplicity, combinamos lo mejor de ambos mundos: tienes un Career Coach dedicado que trabaja para ti, pero también accedes a herramientas de IA que amplÃan tu alcance y aceleran tu proceso."}),a.jsx("h2",{children:"Qué hace un Career Coach sesión a sesión"}),a.jsx("p",{children:"Un proceso de Career Coaching profesional no es una sola conversación motivacional. Es un programa estructurado que cubre todas las etapas de tu búsqueda de empleo. Asà es como suele funcionar sesión a sesión:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sesión 1: Diagnóstico."})," El coach analiza tu situación actual: tu CV, tu LinkedIn, tu historial de postulaciones, las respuestas (o falta de respuestas) que has recibido, y tus objetivos profesionales. Identifica qué está fallando y diseña un plan de acción personalizado."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sesión 2-3: Estrategia y CV."})," Definen juntos tu perfil target (qué tipo de empresas, qué roles, qué industrias) y optimizan tu CV para que pase los filtros ATS y capture la atención de reclutadores humanos. Esto incluye reescribir logros con métricas, ajustar el formato y alinear las palabras clave con las vacantes que buscas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sesión 3-4: LinkedIn."})," Optimizan tu perfil de LinkedIn: titular, resumen, experiencia, habilidades y estrategia de networking. El objetivo es que los reclutadores te encuentren cuando busquen perfiles como el tuyo."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sesión 4-6: Simulaciones de entrevista."})," Practican entrevistas reales con preguntas técnicas, conductuales y situacionales. El coach te da feedback directo sobre tus respuestas, tu lenguaje corporal y tu capacidad para articular tu valor. Incluyen práctica del método STAR y manejo de preguntas difÃciles."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Sesión 6-8: Negociación y cierre."})," Cuando empiezan a llegar ofertas, el coach te prepara para negociar el salario y los beneficios. Te acompaña en la evaluación de cada oferta y te ayuda a tomar la mejor decisión para tu carrera a largo plazo."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Seguimiento continuo."})," Entre sesiones, el coach revisa tus postulaciones, te sugiere vacantes relevantes y está disponible para consultas rápidas. No es un proceso donde te dejan solo entre sesiones: es un acompañamiento constante hasta que firmes contrato."]}),a.jsx("h2",{children:"Cuándo necesitas un Career Coach"}),a.jsx("p",{children:"No todos necesitan un Career Coach, pero hay señales claras de que podrÃas beneficiarte enormemente de uno:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"Llevas más de 4 semanas postulando sin recibir respuestas."})," Si envÃas decenas de CVs y nadie te contacta, algo está fallando en tu estrategia, tu CV o tu perfil de LinkedIn. Un coach puede diagnosticar exactamente qué es y corregirlo rápidamente."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Llegas a entrevistas pero no avanzas a la siguiente ronda."})," Si te llaman a entrevistas pero no recibes ofertas, el problema probablemente está en cómo te presentas, cómo respondes preguntas o cómo manejas la conversación. Las simulaciones de entrevista con un coach pueden transformar tus resultados."]}
1179),a.jsxs("p",{children:[a.jsx("strong",{children:"Quieres cambiar de industria o de área."})," Los cambios de carrera son especialmente difÃciles sin guÃa experta. Un coach te ayuda a identificar tus habilidades transferibles, reposicionar tu narrativa profesional y encontrar los puentes entre tu experiencia actual y tu objetivo."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"No sabes qué está fallando."})," A veces sientes que estás haciendo todo bien pero los resultados no llegan. Un Career Coach tiene la perspectiva externa y la experiencia para identificar puntos ciegos que tú no puedes ver por tu cuenta."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Estás en un proceso avanzado y necesitas negociar."})," Si tienes una oferta sobre la mesa y no sabes cómo negociar el salario, un coach puede prepararte en una o dos sesiones para conseguir miles de pesos adicionales."]}),a.jsx("h2",{children:"Resultados reales del coaching laboral"}),a.jsx("p",{children:'El coaching laboral no es una promesa vaga de "mejorar tu confianza". Los resultados son medibles y concretos. Según la International Coach Federation (ICF), el 70% de los profesionales que trabajan con un coach reportan mejoras significativas en su desempeño laboral y en sus resultados de búsqueda de empleo.'}),a.jsxs("p",{children:["En Emplicity, los números hablan por sà solos: ",a.jsx("strong",{children:"más de 320 profesionales colocados"})," en empresas de primer nivel en México, Colombia, Perú y Chile. El tiempo promedio de colocación es de ",a.jsx("strong",{children:"2.5 meses"}),", significativamente más rápido que el promedio de 4-6 meses que reportan los profesionales que buscan solos."]}),a.jsx("p",{children:"Nuestros candidatos han sido colocados en empresas como Disney, HSBC, Deloitte, Accenture, PepsiCo, KPMG, Rappi, Mercado Libre y muchas más. Y no son posiciones de entrada: la mayorÃa son roles mid-senior y gerenciales con salarios competitivos."}),a.jsx("p",{children:"Pero más allá de los números, el coaching laboral genera un cambio duradero en la manera en que los profesionales gestionan su carrera. Las habilidades que desarrollas durante el proceso (articular tu valor, negociar, hacer networking estratégico) son habilidades que usarás el resto de tu vida profesional."}),a.jsx("h2",{children:"Career Coaching con IA: la nueva generación de empleabilidad"}),a.jsx("p",{children:"La inteligencia artificial está transformando la manera en que buscamos empleo, y el Career Coaching no es la excepción. Las herramientas de IA permiten hacer cosas que antes eran imposibles o tomaban semanas: analizar tu CV contra cientos de vacantes en segundos, identificar palabras clave faltantes, simular entrevistas con preguntas adaptadas a tu industria y generar sugerencias personalizadas de mejora."}),a.jsxs("p",{children:["Sin embargo, ",a.jsx("strong",{children:"la IA sola no reemplaza a un coach humano"}),". La IA es excelente para procesar datos, identificar patrones y automatizar tareas repetitivas. Pero carece de la empatÃa, el juicio contextual y la experiencia humana que un coach aporta. No puede entender las dinámicas polÃticas de una empresa, leer el tono emocional de un reclutador, ni adaptarse a las particularidades culturales del mercado laboral latinoamericano."]}),a.jsxs("p",{children:["El modelo más efectivo es el que ",a.jsx("strong",{children:"combina ambos"}
1179),": la potencia analÃtica de la IA con la guÃa estratégica y humana de un Career Coach experto. Eso es exactamente lo que ofrece Emplicity."]}),a.jsx("p",{children:"En nuestra plataforma, los candidatos acceden a herramientas de IA para optimizar su CV, practicar entrevistas simuladas, analizar vacantes y recibir sugerencias de mejora instantáneas. Y al mismo tiempo, tienen un Career Coach dedicado que supervisa todo el proceso, interpreta los resultados de la IA, ajusta la estrategia y proporciona el acompañamiento humano que la tecnologÃa no puede dar."}),a.jsx("h2",{children:"Cómo saber si un Career Coach es bueno"}),a.jsx("p",{children:"No todos los Career Coaches son iguales. Como en cualquier profesión, hay excelentes coaches y hay coaches mediocres. Aquà hay criterios claros para evaluarlos:"}),a.jsxs("p",{children:[a.jsx("strong",{children:"Resultados demostrables."})," Un buen coach puede mostrarte testimonios reales, casos de éxito y métricas de colocación. Si no puede hablar de resultados concretos, es una señal de alerta."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Experiencia en tu mercado."})," El mercado laboral en México es diferente al de Colombia, Perú o Chile. Un coach que entiende las particularidades de tu paÃs y tu industria será mucho más efectivo que uno genérico."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"MetodologÃa estructurada."})," Un buen coach no improvisa. Tiene un proceso claro con etapas definidas, entregables concretos y plazos estimados. Si la primera sesión es una conversación vaga sin plan, probablemente no mejorará."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Disponibilidad entre sesiones."})," El coaching no deberÃa limitarse a las sesiones formales. Un buen coach está disponible para consultas rápidas, revisa tus postulaciones y te da feedback oportuno cuando lo necesitas."]}),a.jsxs("p",{children:[a.jsx("strong",{children:"Modelo de compensación alineado."})," Los mejores coaches tienen incentivos alineados con tu éxito. Si pagan lo mismo independientemente de si consigues trabajo o no, su motivación para ir la milla extra es menor. En Emplicity, nuestro modelo de pago al éxito garantiza que nuestro interés y el tuyo estén perfectamente alineados."]}),a.jsx("h2",{children:"El modelo Emplicity: coaches reales + IA + pago al éxito"}),a.jsxs("p",{children:["Emplicity nació de una premisa simple: ",a.jsx("strong",{children:"la búsqueda de empleo no deberÃa ser un proceso solitario, caro ni incierto"}),". Por eso diseñamos un modelo que combina lo mejor del coaching humano con la potencia de la inteligencia artificial, y que no requiere pago anticipado."]}),a.jsxs("p",{children:["Asà funciona: aplicas al programa sin costo. Si eres aceptado, se te asigna un Career Coach dedicado que te acompaña durante todo el proceso. Accedes a nuestra plataforma con herramientas de IA para optimizar tu CV, practicar entrevistas, analizar vacantes y monitorear tu progreso. ",a.jsx("strong",{children:"No pagas nada hasta que firmes contrato con una empresa"}),"."]}),a.jsx("p",{children:"Este modelo de pago al éxito tiene varias ventajas: elimina el riesgo para el candidato (no pagas si no funciona), alinea nuestros incentivos con los tuyos (solo ganamos cuando tú ganas) y nos obliga a mantener un estándar alto de calidad (si no colocamos candidatos, no sobrevivimos como empresa)."}),a.jsxs("p",{children:["Los números respaldan nuestro modelo: ",a.jsx("strong",{children:"más de 320 profesionales colocados"})," en empresas lÃderes, con un tiempo promedio de colocación de ",a.jsx("strong",{children:"2.5 meses"})," y una calificación promedio de ",a.jsx("strong",{children:"4.7/5"}),"por parte de nuestros candidatos. Operamos en México, Colombia, Perú y Chile, y nuestro equipo de coaches conoce las particularidades de cada mercado."]}),a.jsx("p",{children:"Si estás buscando empleo y sientes que necesitas apoyo profesional, Emplicity es la opción más accesible y alineada con tus intereses. No tienes nada que perder y un trabajo por ganar."}),a.jsxs("p",{children:["El modelo de Career Coach también existe para empresas: en programas de outplacement asignamos un coach 1 a 1 a cada colaborador en transición, con la misma metodologÃa y reporting para RRHH. Conoce el detalle en nuestra página ",a.jsx(je,{to:"/para-empresas",className:"text-primary hover:underline font-semibold",children:"para empresas"})," y en la guÃa completa de ",a.jsx(je,{to:"/blog/outplacement-para-empresas-guia",className:"text-primary hover:underline font-semibold",children:"outplacement para empresas"}),"."]}),a.jsxs("div",{className:"not-prose mt-12 p-8 rounded-2xl bg-primary/5 border border-primary/20 text-center",children:[a.jsx("h3",{className:"text-xl font-bold text-foreground mb-3",children:"¿Listo para trabajar con un Career Coach?"}),a.jsx("p",{className:"text-muted-foreground mb-6 max-w-xl mx-auto",children:"Aplica al programa de Emplicity y empieza a trabajar con un coach dedicado. Sin pago hasta que firmes contrato."}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/apply",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg bg-primary text-primary-foreground font-bold hover:opacity-90 transition-opacity",children:"Aplica al programa"}),a.jsx(je,{to:"/career-coach",className:"inline-flex items-center gap-2 px-6 py-3 rounded-lg border border-primary text-primary font-bold hover:bg-primary/5 transition-colors",children:"Conoce a nuestros coaches"})]})]}),a.jsxs("div",{className:"not-prose mt-8",children:[a.jsx("p",{className:"text-muted-foreground text-sm mb-2",children:"Sigue explorando:"}),a.jsxs("div",{className:"flex flex-wrap gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline text-sm font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline text-sm font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline text-sm font-semibold",children:"Inicio â
1179"}),a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",className:"text-primary hover:underline text-sm font-semibold",children:"Cómo negociar tu sueldo â"})]})]})]}),ff=Qi.find(e=>e.slug==="carta-de-presentacion-ejemplos"),B5e={"@context":"https://schema.org","@type":"Article",headline:ff.title,description:ff.metaDescription,datePublished:ff.date,dateModified:ff.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${ff.slug}`},z5e=()=>a.jsxs(Ts,{article:ff,jsonLd:B5e,children:[a.jsx("h1",{children:"Carta de presentación para trabajo: 10 ejemplos reales y plantillas 2026"}),a.jsxs("p",{children:["En un mercado laboral donde cientos de candidatos postulan a la misma vacante, la ",a.jsx("strong",{children:"carta de presentación"})," sigue siendo una de las herramientas más poderosas ây más subestimadasâ para conseguir entrevistas. A pesar de que muchos creen que ya no se usa, la realidad es que en 2026 el 65 % de los reclutadores en ",a.jsx(je,{to:"/conseguir-trabajo-mexico",children:"México"}),", ",a.jsx(je,{to:"/conseguir-trabajo-colombia",children:"Colombia"}),", ",a.jsx(je,{to:"/conseguir-trabajo-peru",children:"Perú"})," y ",a.jsx(je,{to:"/conseguir-trabajo-chile",children:"Chile"})," la leen cuando está bien escrita. Y cuando está mal escrita, puede eliminarte antes de que abran tu CV."]}),a.jsxs("p",{children:["Esta guÃa te ofrece ",a.jsx("strong",{children:"10 ejemplos reales de carta de presentación"})," para distintos perfiles, una plantilla editable lista para copiar y pegar, y consejos prácticos para que cada carta que envÃes convierta en entrevista. Si además quieres que tu CV pase el filtro ATS, revisa nuestra guÃa sobre ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"cómo optimizar tu CV para ATS"}),"."]}),a.jsx("h2",{children:"Qué es una carta de presentación y por qué sigue importando en 2026"}),a.jsxs("p",{children:["Una carta de presentación âtambién llamada ",a.jsx("em",{children:"cover letter"}),"â es un documento breve que acompaña a tu CV cuando postulas a un empleo. Su función no es repetir tu experiencia, sino explicar ",a.jsx("strong",{children:"por qué tú eres la persona indicada"})," para esa vacante especÃfica."]}),a.jsx("p",{children:"En 2026, con el auge de herramientas de inteligencia artificial y filtros ATS, muchos candidatos envÃan postulaciones genéricas. Eso crea una oportunidad: quien dedica 15 minutos a escribir una carta personalizada se diferencia inmediatamente del 80 % que no lo hace."}),a.jsx("h3",{children:"Cuándo es obligatoria y cuándo es opcional"}),a.jsx("p",{children:"Si la vacante la pide explÃcitamente, es obligatoria. Si no la pide, enviarla igualmente es una señal de interés genuino que los reclutadores notan. En portales como LinkedIn, OCC, Computrabajo o Indeed, puedes adjuntarla como archivo adicional o incluirla en el cuerpo del correo cuando aplicas directamente."}),a.jsx("h3",{children:"Diferencia entre carta de presentación y carta de motivación"}),a.jsx("p",{children:"La carta de presentación se centra en tu valor profesional para el puesto. La carta de motivación (más común en contextos académicos o europeos) explica tus razones personales. En el mercado laboral latinoamericano, lo que necesitas es la de presentación."}),a.jsx("h2",{children:"La estructura ideal en 6 bloques"}),a.jsxs("p",{children:["Una carta de presentación efectiva no supera una página. Estos son los 6 bloques que recomiendan nuestros ",a.jsx(je,{to:"/career-coach",children:"Career Coaches"}),":"]}),a.jsx("h3",{children:"1. Encabezado con datos de contacto"}),a.jsxs("p",{children:["Incluye tu nombre completo, teléfono, correo electrónico profesional y, opcionalmente, tu perfil de LinkedIn optimizado (si no lo tienes, aquà tienes la guÃa para ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"optimizar tu LinkedIn"}),"). Debajo, la fecha y los datos del destinatario si los conoces."]}),a.jsx("h3",{children:"2. Saludo personalizado"}),a.jsx("p",{children:'Evita "A quien corresponda". Investiga el nombre del reclutador o del responsable del área en LinkedIn. Un "Estimado/a [Nombre]" demuestra que hiciste tu tarea.'}),a.jsx("h3",{children:"3. Primer párrafo: el gancho"}),a.jsx("p",{children:"Menciona el puesto al que aplicas y una razón concreta por la que te entusiasma. Puede ser un logro de la empresa, un proyecto que admiras o una conexión real con tu trayectoria. Este párrafo debe enganchar en 3 segundos."}),a.jsx("h3",{children:"4. Segundo párrafo: tu propuesta de valor"}),a.jsx("p",{children:"Aquà conectas tus habilidades y logros con lo que la vacante necesita. Usa datos cuantificables: porcentajes de crecimiento, presupuestos gestionados, equipos liderados. No repitas tu
1179CV; interpreta tu experiencia en función del puesto."}),a.jsx("h3",{children:"5. Tercer párrafo: encaje cultural y motivación"}),a.jsx("p",{children:"Explica por qué esa empresa y no otra. Investiga sus valores, cultura, proyectos recientes. Esto demuestra alineación genuina, no solo necesidad de empleo."}),a.jsx("h3",{children:"6. Cierre con llamada a la acción"}),a.jsx("p",{children:'Agradece el tiempo del lector, expresa disponibilidad para entrevista y cierra con un "Quedo atento/a a sus comentarios". Firma con tu nombre.'}),a.jsx("h2",{children:"Errores que hacen que te descarten en segundos"}),a.jsx("p",{children:"Antes de ver los ejemplos, asegúrate de no cometer estos errores que nuestros coaches ven a diario:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Usar la misma carta para todas las vacantes."})," El reclutador lo nota. Siempre adapta al menos el primer y segundo párrafo."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Repetir el CV palabra por palabra."})," La carta complementa, no duplica."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Escribir más de una página."})," Si supera los 400 palabras, estás perdiendo al lector."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Errores ortográficos o gramaticales."})," Una sola falta de ortografÃa puede costarte la entrevista. Revisa con herramientas como LanguageTool o pide a alguien que la lea."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Tono demasiado formal o demasiado informal."}),' Busca un tono profesional pero humano: ni "Distinguido señor" ni "Hey, qué onda".']}),a.jsxs("li",{children:[a.jsx("strong",{children:"No incluir datos de contacto."})," Parece obvio, pero sucede más de lo que crees."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Hablar solo de ti."})," La carta debe girar en torno al valor que aportas a la empresa, no solo a lo que tú necesitas."]})]}),a.jsx("h2",{children:"10 ejemplos reales de carta de presentación por perfil"}),a.jsx("p",{children:"A continuación, 10 ejemplos adaptados a perfiles distintos. Cada uno sigue la estructura de 6 bloques y puedes personalizarlo con tus datos."}),a.jsx("h3",{children:"Ejemplo 1: Sin experiencia laboral"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimada Lic. MartÃnez, soy egresada de IngenierÃa Industrial por el ITESM con un GPA de 9.2. Aunque aún no cuento con experiencia laboral formal, durante mi carrera lideré un proyecto de optimización logÃstica para una PYME local que redujo sus tiempos de entrega en un 18 %. Me entusiasma la vacante de Analista Jr. en [Empresa] porque su enfoque en mejora continua se alinea con mi formación y mis resultados académicos. Adjunto mi CV y quedo a disposición para conversar sobre cómo puedo contribuir desde el primer dÃa."'})}),a.jsxs("p",{children:["Si este es tu caso, complementa con nuestra guÃa de ",a.jsx(je,{to:"/blog/como-hacer-cv-sin-experiencia",children:"cómo hacer un CV sin experiencia"}),"."]}),a.jsx("h3",{children:"Ejemplo 2: Recién egresado"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimado equipo de Recursos Humanos, me gradué en diciembre 2025 de la carrera de Mercadotecnia en la Universidad de los Andes. Durante mis estudios realicé dos prácticas profesionales donde gestioné campañas digitales con presupuestos de hasta $5,000 USD mensuales, logrando un ROI promedio de 3.2x. La posición de Coordinador de Marketing Digital en [Empresa] representa exactamente el siguiente paso que busco. Me atrae su apuesta por el contenido orgánico en mercados de Colombia y Perú."'})}),a.jsx("h3",{children:"Ejemplo 3: Cambio de carrera"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimado Sr. López, durante 6 años trabajé en ventas B2B en el sector farmacéutico, donde desarrollé habilidades de negociación, análisis de datos de mercado y gestión de cuentas clave. Hoy busco transicionar al área de Product Management, donde puedo aplicar mi experiencia en entender necesidades del cliente y traducirlas en soluciones. He completado la certificación de Product Management de Google y un bootcamp de UX Research. La vacante de Product Manager Jr. en [Empresa] me motiva porque su producto SaaS atiende al sector salud, un mercado que conozco profundamente."'})}),a.jsxs("p",{children:["Si estás en una transición profesional, te recomendamos leer sobre nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"}),"."]}),a.jsx("h3",{children:"Ejemplo 4: Profesional con experiencia (5-10 años)"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimada Ing. RamÃrez, con 8 años de experiencia en desarrollo de softw
1179are y liderazgo de equipos de hasta 12 personas, he entregado 15 proyectos en producción para clientes del sector financiero. En mi rol actual como Tech Lead en [Empresa anterior], implementé una arquitectura de microservicios que redujo el tiempo de despliegue en un 60 %. Me interesa la posición de Engineering Manager en [Empresa] por su cultura de innovación y su stack tecnológico de vanguardia."'})}),a.jsx("h3",{children:"Ejemplo 5: Ejecutivo senior / C-Level"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimado Consejo Directivo, en los últimos 15 años he liderado operaciones comerciales en empresas de consumo masivo con ventas anuales superiores a $200M USD. Como VP Comercial en [Empresa], diseñé la estrategia de expansión en 4 paÃses de LATAM que generó un crecimiento del 35 % en 2 años. Mi interés en la posición de CEO en [Empresa] surge de mi convicción en su modelo de negocio y de la oportunidad de escalar su operación internacional."'})}),a.jsx("h3",{children:"Ejemplo 6: Trabajo remoto"}),a.jsx("p",{children:a.jsx("em",{children:'"Dear Hiring Manager, I am a bilingual (Spanish/English) Digital Marketing Specialist based in Mexico City with 4 years of remote work experience across US and LATAM teams. I have managed cross-functional campaigns that increased organic traffic by 120 % for a B2B SaaS company. Your remote-first culture and focus on growth marketing align perfectly with my background and work style."'})}),a.jsxs("p",{children:["Si buscas trabajo remoto desde LATAM, nuestros ",a.jsx(je,{to:"/career-coach",children:"Career Coaches"})," te ayudan a posicionar tu perfil para el mercado internacional."]}),a.jsx("h3",{children:"Ejemplo 7: En inglés para LATAM"}),a.jsx("p",{children:a.jsx("em",{children:`"Dear Ms. Johnson, as a Financial Analyst with 5 years of experience in multinational corporations across Colombia and Peru, I bring a unique perspective on emerging markets. At [Company], I led the implementation of a forecasting model that improved budget accuracy by 22 %. I'm excited about the Regional Analyst position at [Company] because of your commitment to data-driven decision making in Latin America."`})}),a.jsx("h3",{children:"Ejemplo 8: Reinserción laboral (mujer que regresa al mercado)"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimada Sra. Gutiérrez, después de 3 años dedicados a la crianza de mis hijos, estoy lista para retomar mi carrera en Recursos Humanos. Antes de mi pausa, fui Coordinadora de Reclutamiento en [Empresa] donde contraté a más de 200 profesionales en 2 años. Durante este tiempo, me certifiqué en People Analytics y mantuve mi red profesional activa. La vacante de HR Business Partner en [Empresa] me entusiasma porque valora la diversidad y la flexibilidad."'})}),a.jsx("h3",{children:"Ejemplo 9: PasantÃa / Internship"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimado equipo de Talento, soy estudiante de séptimo semestre de Administración de Empresas en la UNAM. Busco una pasantÃa donde pueda aplicar mis conocimientos en análisis financiero y modelado en Excel. En mi proyecto de Simulación Empresarial obtuve el primer lugar por desarrollar un modelo de flujo de caja que el profesor adoptó como caso de estudio. La pasantÃa en [Empresa] me permitirÃa crecer en un entorno real con mentores experimentados."'})}),a.jsx("h3",{children:"Ejemplo 10: Prácticas profesionales"}),a.jsx("p",{children:a.jsx("em",{children:'"Estimada Lic. Hernández, estoy por iniciar mis prácticas profesionales como requisito de mi carrera en Comunicación en la Universidad del PacÃfico. He colaborado como community manager voluntaria para dos ONGs, gestionando sus redes sociales y aumentando su audiencia en un 40 % en 6 meses. Me gustarÃa realizar mis prácticas en el área de Comunicación Corporativa de [Empresa] porque admiro su estrategia de employer branding."'})}),a.jsx("h2",{children:"Plantilla editable lista para copiar y pegar"}),a.jsx("p",{children:"Usa esta plantilla como punto de partida. Reemplaza los campos entre corchetes con tu información:"}),a.jsxs("div",{className:"bg-muted p-6 rounded-lg my-6 text-sm leading-relaxed",children:[a.jsx("p",{className:"mb-2",children:a.jsx("strong",{children:"[Tu nombre completo]"})}),a.jsx("p",{className:"mb-2",children:"[Tu teléfono] · [Tu correo electrónico] · [Tu LinkedIn]"}),a.jsx("p",{className:"mb-4",children:"[Ciudad, fecha]"}),a.jsx("p",{className:"mb-2",children:'Estimado/a [Nombre del reclutador o "equipo de Recursos Humanos"],'}),a.jsx("p",{className:"mb-4",children:"Le escribo para expresar mi interés en la posición de [Nombre del puesto] en [Nombre de la empresa]. [Una frase de gancho que conecte tu perfil con la empresa o la vacante]."}),a.jsx("p",{className:"mb-4",children:"En mi experiencia como [Tu rol actual o más reciente] en [Empresa], logré [Logro cuantificable 1] y [
1179Logro cuantificable 2]. Estas habilidades me permiten [Propuesta de valor especÃfica para la vacante]."}),a.jsx("p",{className:"mb-4",children:"Me atrae especialmente [Algo especÃfico de la empresa: cultura, proyecto, producto, misión], lo cual se alinea con [Tu motivación profesional o valores]."}),a.jsx("p",{className:"mb-4",children:"Agradezco su tiempo y consideración. Quedo a su disposición para conversar sobre cómo puedo contribuir al equipo. Adjunto mi CV para su revisión."}),a.jsxs("p",{children:["Atentamente,",a.jsx("br",{}),"[Tu nombre]"]})]}),a.jsx("h2",{children:"Cómo adaptar tu carta a cada vacante con IA"}),a.jsx("p",{children:"En 2026, la inteligencia artificial te permite personalizar tu carta de presentación en minutos sin perder autenticidad. Estas son las mejores prácticas:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Analiza la vacante con IA:"})," copia la descripción del puesto en una herramienta de IA y pide que identifique las 5 habilidades más valoradas. Ãsalas en tu carta."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Genera un borrador base:"})," usa la plantilla anterior como prompt junto con tu CV. Luego edita para que suene a ti."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Revisa el tono:"})," pide a la IA que ajuste el tono a la industria (más formal para banca, más creativo para startups)."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Verifica coherencia con tu CV:"})," las fechas, empresas y logros deben coincidir. La IA puede ayudarte a detectar inconsistencias."]})]}),a.jsxs("p",{children:["En Emplicity, nuestro ",a.jsx(je,{to:"/career-coach",children:"servicio de Career Coaching"})," incluye revisión profesional de tu carta de presentación como parte del acompañamiento integral hasta que firmes contrato."]}),a.jsx("h2",{children:"Cómo conectar tu carta con tu CV y tu LinkedIn"}),a.jsxs("p",{children:["Tu carta de presentación, tu ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"CV optimizado para ATS"})," y tu ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"perfil de LinkedIn"})," deben contar la misma historia con diferentes enfoques:"]}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"El CV"})," presenta hechos estructurados: fechas, empresas, logros cuantificables."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"LinkedIn"})," añade contexto: recomendaciones, publicaciones, red profesional."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"La carta de presentación"})," humaniza: explica motivación, encaje cultural y por qué esa empresa especÃfica."]})]}),a.jsx("p",{children:"Si un reclutador lee tu carta, luego revisa tu CV y después tu LinkedIn, la narrativa debe ser coherente. Las mismas palabras clave deben aparecer en los tres documentos, adaptadas a cada formato."}),a.jsxs("p",{children:["Aprende a prepararte para el siguiente paso del proceso con nuestra guÃa de ",a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",children:"cómo prepararte para una entrevista de trabajo"}),"."]}),a.jsx("h2",{children:"Preguntas frecuentes sobre la carta de presentación"}),a.jsx("h3",{children:"¿Cuántas palabras debe tener una carta de presentación?"}),a.jsx("p",{children:"Entre 250 y 400 palabras. Lo ideal es que ocupe una sola página con formato profesional. El reclutador promedio dedica 30 segundos a leerla, asà que cada frase debe aportar valor."}),a.jsx("h3",{children:"¿Debo enviar carta de presentación si no la piden?"}),a.jsx("p",{children:'SÃ, siempre que tengas la opción de adjuntarla. Es un diferenciador. Si la vacante dice "opcional", enviarla te posiciona por encima del candidato que no lo hizo.'}),a.jsx("h3",{children:"¿Puedo usar la misma carta para todas las vacantes?"}),a.jsx("p",{children:"No. Cada carta debe adaptarse al puesto y a la empresa. Puedes mantener una estructura base, pero el primer párrafo (gancho) y el segundo (propuesta de valor) deben ser únicos para cada aplicación."}),a.jsx("h3",{children:"¿Es mejor enviarla como PDF o en el cuerpo del correo?"}),a.jsx("p",{children:"Si aplicas por correo electrónico, incluye una versión resumida en el cuerpo del mail y adjunta la versión completa en PDF. Si aplicas por plataforma, sube el PDF como documento adicional."}),a.jsx("h3",{children:"¿Cómo hacer una carta de presentación sin experiencia?"}),a.jsxs("p",{children:["Enfócate en tus habilidades, logros académicos, proyectos, voluntariados y motivación genuina. Revisa el Ejemplo 1 de esta guÃa y complementa con un ",a.jsx(je,{to:"/blog/como-hacer-cv-sin-experiencia",children:"CV adaptado para perfiles sin experiencia"}),"."]}),a.jsx("h3",{children:"¿Un Career Coach puede ayudarme con mi carta?"}),a.jsxs("p",{children:["SÃ. En ",a.jsx(je,{to:"/programa-empleabilidad",children:"Emplicity"}),", cada candidato recibe acompañamiento personalizado que incluye revisión de carta de presentación, CV, LinkedIn y preparación para entrevistas. Y no pagas hasta que firmas contrato."]}),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-xl p-8 my-10 text-center",children:[a.jsx("h2",{className:"text-xl font-bold mb-3",children:"¿Listo para conseguir más entrevistas?"}),a.jsx("p",{className:"mb-6 text-muted-foreground",children:"En Emplicity te ayudamos a optimizar tu carta, CV y LinkedIn con Career Coaches expertos e inteligencia artificial. Más de 320 profesionales ya consiguieron trabajo con nuestro método."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[a.jsx(je,{to:"/apply",className:"inline-flex items-center justify-center rounded-lg bg-primary px-6 py-3 text-primary-foreground font-semibold hover:bg-primary/90 transition-colors",children:"Empieza tu proceso con Emplicity"}),a.jsx(je,{to:"/career-coach",className:"inline-flex items-center justify-center rounded-lg border border-primary px-6 py-3 text-primary font-semibold hover:bg-primary/5 transition-colors",children:"Conoce a nuestros coaches"})]})]})]}),hf=Qi.find(e=>e.slug==="como-hacer-cv-sin-experiencia"),$5e={"@context":"https://schema.org","@type":"Article",headline:hf.title,de
1179scription:hf.metaDescription,datePublished:hf.date,dateModified:hf.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${hf.slug}`},W5e=()=>a.jsxs(Ts,{article:hf,jsonLd:$5e,children:[a.jsx("h1",{children:"Cómo hacer un CV sin experiencia laboral: guÃa paso a paso y plantilla 2026"}),a.jsxs("p",{children:["Si estás buscando tu primer empleo, acabas de egresar de la universidad o quieres entrar a una industria completamente nueva, probablemente te has enfrentado a la misma paradoja: ",a.jsx("strong",{children:"te piden experiencia para conseguir trabajo, pero necesitas trabajo para tener experiencia"}),". La buena noticia es que un CV sin experiencia laboral puede ser tan competitivo como el de alguien con años en el mercado, siempre y cuando sepas cómo presentarlo."]}),a.jsxs("p",{children:["En esta guÃa te mostramos paso a paso cómo construir un currÃculum que destaque tus habilidades, formación y potencial, incluso si nunca has tenido un empleo formal. Incluye una plantilla lista para editar y consejos para pasar los filtros ATS. Si ya tienes experiencia y quieres optimizar tu CV, revisa nuestra guÃa de ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"cómo optimizar tu CV para ATS"}),"."]}),a.jsx("h2",{children:"Por qué un CV sin experiencia puede ser competitivo"}),a.jsxs("p",{children:["Los reclutadores de empresas en ",a.jsx(je,{to:"/conseguir-trabajo-mexico",children:"México"}),", ",a.jsx(je,{to:"/conseguir-trabajo-colombia",children:"Colombia"}),", ",a.jsx(je,{to:"/conseguir-trabajo-peru",children:"Perú"})," y ",a.jsx(je,{to:"/conseguir-trabajo-chile",children:"Chile"})," reciben decenas de CVs genéricos para posiciones entry-level. La mayorÃa cometen los mismos errores: dejan secciones vacÃas, usan objetivos genéricos y no cuantifican nada."]}),a.jsx("p",{children:"Un CV sin experiencia laboral bien estructurado puede ganarle a uno con experiencia mediocre porque:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:["Demuestra ",a.jsx("strong",{children:"capacidad de comunicación"}),": si puedes vender tu perfil sin experiencia, imagina lo que harás con ella."]}),a.jsxs("li",{children:["Muestra ",a.jsx("strong",{children:"iniciativa"}),": proyectos personales, voluntariados y certificaciones hablan de alguien proactivo."]}),a.jsxs("li",{children:["Evidencia ",a.jsx("strong",{children:"alineación con la vacante"}),": cuando personalizas tu CV para cada puesto, el reclutador lo nota."]})]}),a.jsx("h2",{children:"Los 8 bloques que no pueden faltar en tu CV"}),a.jsx("p",{children:"Aunque no tengas experiencia formal, tu CV debe incluir estos 8 bloques para que sea completo, profesional y compatible con los sistemas ATS:"}),a.jsx("h3",{children:"1. Datos de contacto"}),a.jsxs("p",{children:["Nombre completo, teléfono (con código de paÃs), correo electrónico profesional (nada de ",a.jsx("em",{children:"[email protected]"}),") y enlace a tu LinkedIn. Si tienes portafolio online, inclúyelo."]}),a.jsx("h3",{children:"2. Perfil profesional / Objetivo"}),a.jsxs("p",{children:['3 a 5 lÃneas que resuman quién eres, qué puedes aportar y qué buscas. No escribas "Busco una oportunidad para crecer". En su lugar: ',a.jsx("em",{children:'"Egresado de IngenierÃa en Sistemas con certificación en AWS y experiencia en desarrollo web a través de 3 proyectos académicos. Busco un rol de Desarrollador Jr. donde pueda aportar mis habilidades técnicas y aprender de un equipo experimentado."'})]}),a.jsx("h3",{children:"3. Formación académica"}),a.jsx("p",{children:'Cuando no tienes experiencia, tu formación es tu activo principal. Incluye: nombre de la carrera, universidad, fechas de inicio y fin (o "en curso"), GPA si es alto (>8.5/10 o >3.5/4.0), y menciones especiales, tesis o proyectos destacados.'}),a.jsx("h3",{children:"4. Proyectos relevantes"}),a.jsx("p",{children:"Este bloque sustituye a la experiencia laboral. Incluye proyectos académicos, personales, de voluntariado o freelance. Para cada uno: nombre del proyecto, tu rol, qué hiciste y qué resultado obtuviste. Cuantifica siempre que puedas."}),a.jsx("h3",{children:"5. Habilidades técnicas"}),a.jsx("p",{children:"Lista tus hard skills relevantes para la vacante: herramientas, te
1179cnologÃas, idiomas con nivel certificado, metodologÃas. OrganÃzalas por categorÃa y nivel de dominio."}),a.jsx("h3",{children:"6. Habilidades blandas"}),a.jsx("p",{children:"Comunicación, trabajo en equipo, resolución de problemas, adaptabilidad, liderazgo. Pero no las listes sin contexto; vincúlalas con ejemplos de tus proyectos o formación."}),a.jsx("h3",{children:"7. Certificaciones y cursos"}),a.jsx("p",{children:"Coursera, Google, HubSpot, AWS, edX, Platzi⦠las certificaciones online son oro para un CV sin experiencia. Incluye nombre del curso, plataforma, fecha y enlace al certificado si es posible."}),a.jsx("h3",{children:"8. Voluntariado y actividades extracurriculares"}),a.jsx("p",{children:"Participación en organizaciones estudiantiles, eventos, hackatones, causas sociales. Cada actividad demuestra habilidades transferibles que los reclutadores valoran."}),a.jsx("h2",{children:"Cómo convertir habilidades académicas, voluntariados y proyectos personales en experiencia laboral"}),a.jsxs("p",{children:["El secreto está en ",a.jsx("strong",{children:"redactar como si fuera un trabajo"}),". Usa la misma estructura que usarÃas para describir un puesto: acción + resultado + contexto."]}),a.jsx("h3",{children:"Proyectos académicos como experiencia"}),a.jsxs("p",{children:["En lugar de: ",a.jsx("em",{children:'"Hice un proyecto de investigación sobre marketing digital"'}),", escribe: ",a.jsx("em",{children:'"Diseñé e implementé una estrategia de contenido orgánico para un negocio local como proyecto de la materia Marketing Digital, logrando un incremento del 25 % en seguidores de Instagram en 8 semanas."'})]}),a.jsx("h3",{children:"Voluntariado como experiencia profesional"}),a.jsx("p",{children:a.jsx("em",{children:'"Coordiné la logÃstica de eventos para una ONG medioambiental, gestionando equipos de 10 voluntarios y presupuestos de hasta $2,000 USD por evento. Organizamos 4 eventos con más de 500 asistentes en total."'})}),a.jsx("h3",{children:"Proyectos personales y freelance"}),a.jsx("p",{children:"Si has hecho diseño web para un familiar, administrado redes sociales para un negocio local, o vendido productos en lÃnea, eso es experiencia. Documéntala con la misma rigurosidad que un empleo formal."}),a.jsx("h2",{children:"Plantilla de CV sin experiencia lista para editar"}),a.jsxs("div",{className:"bg-muted p-6 rounded-lg my-6 text-sm leading-relaxed",children:[a.jsx("p",{className:"font-bold text-base mb-1",children:"[TU NOMBRE COMPLETO]"}),a.jsx("p",{className:"mb-4 text-xs",children:"[Ciudad, PaÃs] · [Teléfono] · [Email profesional] · [LinkedIn URL]"}),a.jsx("p",{className:"font-bold mb-1",children:"PERFIL PROFESIONAL"}),a.jsx("p",{className:"mb-4",children:"[Egresado/estudiante de último semestre de X carrera en X universidad. Experiencia en X a través de proyectos académicos y voluntariados. Certificado en X y X. Busco un rol de X donde pueda aportar X y X.]"}),a.jsx("p",{className:"font-bold mb-1",children:"FORMACIÃN ACADÃMICA"}),a.jsx("p",{className:"mb-1",children:"[Nombre de la carrera] â [Universidad]"}),a.jsx("p",{className:"mb-4 text-xs",children:"[Fecha inicio â Fecha fin] · GPA: [X.X] · [Mención o logro destacado]"}),a.jsx("p",{className:"font-bold mb-1",children:"PROYECTOS RELEVANTES"}),a.jsx("p",{className:"mb-1",children:"[Nombre del proyecto] â [Tu rol]"}),a.jsx("p",{className:"mb-1 text-xs",children:"[Fecha]"}),a.jsxs("p",{className:"mb-4",children:["⢠[Acción + resultado cuantificable]",a.jsx("br",{}),"⢠[Acción + resultado cuantificable]"]}),a.jsx("p",{className:"font-bold mb-1",children:"HABILIDADES TÃCNICAS"}),a.jsx("p",{className:"mb-4",children:"[Herramienta 1, Herramienta 2, Herramienta 3] · Idiomas: [Español nativo, Inglés B2]"}),a.jsx("p",{className:"font-bold mb-1",children:"CERTIFICACIONES"}),a.jsx("p",{className:"mb-4",children:"[Nombre del curso] â [Plataforma] â [Fecha]"}),a.jsx("p",{className:"font-bold mb-1",children:"VOLUNTARIADO / ACTIVIDADES"}),a.jsxs("p",{children:["[Organización] â [Tu rol] â [Fecha]",a.jsx("br",{}),"⢠[Descripción con resultado]"]})]}),a.jsx("h2",{children:"Cómo redactar tu perfil profesional cuando no has trabajado"}),a.jsx("p",{children:"El perfil profesional es lo primero que lee el reclutador. Aunque no tengas experiencia formal, puedes escribir uno potente siguiendo esta fórmula:"}),a.jsx("p",{className:"bg-muted p-4 rounded-lg italic",children:"[Quién eres] + [Qué sabes hacer / qué has logrado] + [Qué buscas y qué puedes aportar]"}),a.jsx("h3",{children:"Ejemplos de perfiles profesionales sin experiencia"}),a.jsxs("ul",{children:[a.jsx("li",{children:a.jsx("em",{children:'"Ingeniero industrial recién egresado del Tec de Monterrey con especialización en cadena de suministro. Experiencia en optimización de procesos a través de 2 proyectos con empresas reales. Certificado en Lean Six Sigma Green Belt. Busco aportar mis habilidades analÃticas en un rol de Analista de Operaciones."'})}
1179),a.jsx("li",{children:a.jsx("em",{children:'"Diseñadora gráfica con portafolio de 15 proyectos desarrollados durante mi carrera y como freelance. Dominio de Adobe Suite, Figma y motion graphics. Busco un rol creativo en una agencia donde pueda crecer y aportar ideas frescas."'})}),a.jsx("li",{children:a.jsx("em",{children:'"Estudiante de último semestre de PsicologÃa Organizacional con experiencia en reclutamiento a través de prácticas en el área de Talento de una PYME. Manejo de ATS, entrevistas por competencias y evaluaciones psicométricas."'})})]}),a.jsx("h2",{children:"Habilidades duras y blandas que más valoran los reclutadores en 2026"}),a.jsx("h3",{children:"Habilidades duras (hard skills) más demandadas"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Análisis de datos (Excel avanzado, Power BI, SQL, Python)"}),a.jsx("li",{children:"Marketing digital (SEO, SEM, Google Analytics, Meta Ads)"}),a.jsx("li",{children:"Desarrollo web y móvil (React, Node.js, Flutter)"}),a.jsx("li",{children:"Diseño UX/UI (Figma, Adobe XD)"}),a.jsx("li",{children:"Inteligencia artificial y automatización (ChatGPT, Make, Zapier)"}),a.jsx("li",{children:"Gestión de proyectos (Scrum, Jira, Asana)"}),a.jsx("li",{children:"Idiomas (inglés B2 o superior es diferenciador clave)"})]}),a.jsx("h3",{children:"Habilidades blandas (soft skills) más valoradas"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Comunicación efectiva (oral y escrita)"}),a.jsx("li",{children:"Pensamiento crÃtico y resolución de problemas"}),a.jsx("li",{children:"Adaptabilidad y aprendizaje continuo"}),a.jsx("li",{children:"Trabajo en equipo y colaboración remota"}),a.jsx("li",{children:"Inteligencia emocional y gestión del estrés"}),a.jsx("li",{children:"Orientación a resultados"})]}),a.jsx("p",{children:"No basta con listarlas: vincúlalas con evidencias reales de tus proyectos, cursos o actividades."}),a.jsx("h2",{children:"Cómo optimizar tu CV para pasar el filtro ATS incluso sin experiencia"}),a.jsxs("p",{children:["Los sistemas ATS (Applicant Tracking Systems) filtran CVs antes de que lleguen al reclutador. Si tu CV no está optimizado, no importa qué tan bueno sea: nadie lo leerá. Para una guÃa completa, revisa nuestro artÃculo sobre ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"optimización de CV para ATS"}),". Aquà van los puntos clave para perfiles sin experiencia:"]}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Usa formato simple:"})," evita tablas, columnas, imágenes, iconos y gráficos. El ATS no los lee."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Incluye palabras clave de la vacante:"})," analiza la descripción del puesto e incorpora los términos exactos en tu CV."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Nombra las secciones de forma estándar:"}),' "Formación Académica", "Habilidades", "Proyectos Relevantes". No uses nombres creativos.']}),a.jsxs("li",{children:[a.jsx("strong",{children:"Guarda en PDF:"})," a menos que pidan Word explÃcitamente."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Nombra el archivo profesionalmente:"}),' "CV_NombreApellido_PuestoAlQueAplicas.pdf".']})]}),a.jsx("h2",{children:"Errores que cometen los recién egresados al hacer su CV"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Usar un diseño demasiado elaborado:"})," las plantillas con columnas, barras de habilidades y colores pueden verse bien, pero el ATS las rechaza."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Incluir foto:"})," en la mayorÃa de empresas de LATAM, la foto ya no se recomienda. Y en empresas internacionales, puede ser motivo de descarte por sesgo."]}),a.jsxs("li",{children:[a.jsx("strong",{children:'Poner "Referencias disponibles a solicitud":'})," ocupa espacio y no aporta nada. Si las piden, las darás."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Escribir un objetivo genérico:"}),' "Busco una oportunidad de crecimiento profesional" no dice nada. Sé especÃfico.']}),a.jsxs("li",{children:[a.jsx("strong",{children:"Dejar secciones vacÃas:"}),' si no tienes experiencia laboral, sustituye esa sección por "Proyectos Relevantes". Nunca dejes un espacio en blanco.']}),a.jsxs("li",{children:[a.jsx("strong",{children:"No personalizar por vacante:"})," cada CV debe ajustarse a la descripción del puesto. Enviar el mismo documento genérico reduce tus posibilidades drásticamente."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Ignorar LinkedIn:"})," tu CV y tu LinkedIn deben contar la misma historia. Optimiza ambos con nuestra ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"guÃa de LinkedIn"}),"."]})]}),a.jsx("h2",{children:"Cómo complementar tu CV con LinkedIn, carta de presentación y portafolio"}),a.jsx("p",{children:"Tu CV es solo una pieza del rompecabezas. Para maximizar tus posibilidades, necesitas un ecosistema completo:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"LinkedIn:"})," tu perfil debe reflejar la misma información que tu CV, pero con más contexto. A
1179ñade recomendaciones, publica contenido relevante y conecta con reclutadores de tu industria. Revisa nuestra ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"guÃa completa de LinkedIn"}),"."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Carta de presentación:"})," complementa tu CV con una carta personalizada que explique tu motivación y encaje con la empresa. Descarga ejemplos en nuestra guÃa de ",a.jsx(je,{to:"/blog/carta-de-presentacion-ejemplos",children:"carta de presentación con ejemplos reales"}),"."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Portafolio:"})," si tu área lo permite (diseño, programación, marketing, comunicación), un portafolio online es tu mejor aliado. Plataformas como Behance, GitHub o Notion funcionan perfectamente."]})]}),a.jsx("h2",{children:"Cómo conseguir tu primer empleo en México, Colombia, Perú y Chile"}),a.jsx("p",{children:"El mercado laboral para recién egresados varÃa por paÃs, pero los fundamentos son los mismos: un CV bien hecho, presencia digital profesional y una estrategia de postulación activa. Aquà tienes recursos especÃficos:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:a.jsx(je,{to:"/conseguir-trabajo-mexico",children:"Conseguir trabajo en México:"})})," plataformas como OCC, LinkedIn y Indeed dominan. El sector tech, manufactura y servicios financieros ofrecen más posiciones entry-level. ",a.jsx(je,{to:"/conseguir-trabajo-monterrey",children:"Monterrey"})," es un hub clave para ingenierÃa y tecnologÃa."]}),a.jsxs("li",{children:[a.jsx("strong",{children:a.jsx(je,{to:"/conseguir-trabajo-colombia",children:"Conseguir trabajo en Colombia:"})})," Bogotá y MedellÃn concentran la mayorÃa de vacantes para jóvenes profesionales. Computrabajo y LinkedIn son las plataformas lÃderes."]}),a.jsxs("li",{children:[a.jsx("strong",{children:a.jsx(je,{to:"/conseguir-trabajo-peru",children:"Conseguir trabajo en Perú:"})})," Lima es el centro de oportunidades. Bumeran, CompuTrabajo y LinkedIn son esenciales. El sector minero, financiero y de consumo masivo contrata activamente."]}),a.jsxs("li",{children:[a.jsx("strong",{children:a.jsx(je,{to:"/conseguir-trabajo-chile",children:"Conseguir trabajo en Chile:"})})," Santiago ofrece oportunidades en tecnologÃa, minerÃa y servicios. Trabajando.com y LinkedIn son las plataformas más usadas."]})]}),a.jsxs("p",{children:["Independientemente del paÃs, tener un ",a.jsx(je,{to:"/career-coach",children:"Career Coach"})," que te guÃe en tu búsqueda puede acelerar significativamente tu proceso. En Emplicity, acompañamos a recién egresados y profesionales en transición hasta que firman contrato."]}),a.jsx("h2",{children:"Preguntas frecuentes sobre el CV sin experiencia"}),a.jsx("h3",{children:"¿Cuántas páginas debe tener un CV sin experiencia?"}),a.jsx("p",{children:"Una sola página. Si no tienes experiencia laboral, no necesitas más. Lo importante es la calidad del contenido, no la cantidad."}),a.jsx("h3",{children:"¿Debo incluir todos mis cursos y certificaciones?"}),a.jsx("p",{children:"Solo los relevantes para la vacante. Si tienes 15 certificaciones pero aplicas a un puesto de marketing, incluye solo las de marketing, análisis de datos y herramientas digitales."}),a.jsx("h3",{children:"¿Puedo poner experiencia de servicio social o prácticas?"}),a.jsx("p",{children:"Absolutamente. Las prácticas profesionales, el servicio social y los programas de trainee son experiencia legÃtima. DescrÃbelos con la misma estructura que un empleo: empresa, rol, fechas, logros."}),a.jsx("h3",{children:"¿Es necesario tener LinkedIn si soy recién egresado?"}),a.jsxs("p",{children:["SÃ. El 87 % de los reclutadores revisan LinkedIn antes de contactar a un candidato. Un perfil vacÃo o inexistente te resta profesionalismo. Sigue nuestra ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"guÃa de LinkedIn"})," para crearlo desde cero."]}),a.jsx("h3",{children:"¿Qué hago si no tengo logros cuantificables?"}),a.jsx("p",{children:"Busca métricas indirectas: número de personas en tu equipo, duración del proyecto, nota obtenida, alcance de tu proyecto. Si de verdad no puedes cuantificar, describe el impacto cualitativo con verbos de acción."}),a.jsx("h3",{children:"¿Un Career Coach puede ayudarme a hacer mi primer CV?"}),a.jsxs("p",{children:["SÃ. En ",a.jsx(je,{to:"/programa-empleabilidad",children:"Emplicity"}),", nuestros Career Coaches trabajan contigo desde cero: construyen tu CV, optimizan tu LinkedIn, te preparan para entrevistas y te acompañan hasta que firmas tu primer contrato. Y no pagas hasta que lo logras."]}),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-xl p-8 my-10 text-center",children:[a.jsx("h2",{className:"text-xl font-bold mb-3",children:"¿Quieres conseguir tu primer empleo más rápido?"}),a.jsx("p",{className:"mb-6 text-muted-foreground",children:"En Emplicity te acompañamos desde la construcción de tu CV hasta la firma de tu contrato. Career Coaches expertos + IA. Más de 320 profesionales ya lo lograron."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[a.jsx(je,{to:"/apply",className:"inline-flex items-center justify-center rounded-lg bg-primary px-6 py-3 text-primary-foreground font-semibold hover:bg-primary/90 transition-colors",children:"Aplica al programa gratis"}),a.jsx(je,{to:"/career-coach",className:"inline-flex items-center justify-center rounded-lg border border-primary px-6 py-3 text-primary font-semibold hover:bg-primary/5 transition-colors",children:"Conoce a nuestros coaches"})]})]})]}),kc=Qi.find(e=>e.slug==="como-conseguir-trabajo-rapido"),HH=[{q:"¿Cuánto tiempo toma realmente conseguir trabajo en LATAM en 2026?",a:"El promedio en México, Colombia, Perú y Chile está entre 4 y 7 meses. Con una estrategia activa, CV ATS, LinkedIn optimizado y un Career Coach, ese plazo se reduce a 2.5 meses en promedio."},{q:"¿Qué es lo más rápido que puedo hacer hoy para acelerar mi búsqueda?",a:"Optimiza tu CV para ATS y revisa tu titular de LinkedIn. Esos dos cambios suelen duplicar la tasa de respuesta en menos de 48 horas."},{q:"¿Sirve postular masivamente a vacantes para conseguir trabajo rápido?",a:"SÃ, siempre que mantengas calidad: CV adaptado por palabras clave, vacantes con menos de 7 dÃas publicadas y seguimiento profesional. Volumen sin estrategia no funciona."},{q:"¿Cómo me ayuda un Career Coach a conseguir trabajo más rápido?",a:"Un Career Coach diseña tu estrategia, revisa tus materiales, te entrena para entrevistas y te da seguimiento semanal. Reduce errores y mantiene tu pipeline activo."},{q:"¿Es buena idea aplicar a trabajos remotos para acelerar el proceso?",a:"SÃ. El trabajo remoto multiplica tus oportunidades porque te abre el mercado regional e internacional, especialmente en tecnologÃa, marketing y operaciones."},{q:"¿Cuántas postulaciones debo enviar por semana?",a:"Entre 15 y 25 postulaciones de calida
1179d por semana, combinadas con 3 a 5 conversaciones de networking. Más volumen sin calidad reduce tu tasa de respuesta."},{q:"¿La inteligencia artificial me ayuda a conseguir trabajo más rápido?",a:"SÃ. La IA te permite personalizar postulaciones, preparar entrevistas con simulaciones y optimizar tu CV en minutos. En Emplicity combinamos IA con coaching humano."},{q:"¿Cuánto cuesta trabajar con Emplicity?",a:"0 pago inicial. Solo pagas el equivalente a un mes de salario bruto cuando firmas tu nuevo contrato. Si no consigues trabajo, no pagas."}],V5e={"@context":"https://schema.org","@type":"Article",headline:kc.title,description:kc.metaDescription,datePublished:kc.date,dateModified:kc.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${kc.slug}`},H5e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:HH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},G5e=()=>a.jsxs(a.Fragment,{children:[a.jsx(mr,{title:kc.metaTitle,description:kc.metaDescription,canonicalPath:`/blog/${kc.slug}`}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(H5e)}}),a.jsxs(Ts,{article:kc,jsonLd:V5e,children:[a.jsx("h1",{children:"Cómo conseguir trabajo rápido: 12 estrategias probadas para encontrar empleo en menos tiempo"}),a.jsxs("p",{children:['Conseguir trabajo rápido en 2026 ya no depende de la suerte ni de "mover el CV". Depende de aplicar una estrategia clara, alineada con cómo realmente contratan hoy las empresas en México, Colombia, Perú y Chile. En esta guÃa verás ',a.jsx("strong",{children:"12 estrategias accionables"})," que combinan CV optimizado para ATS, LinkedIn como canal pasivo, networking, IA y coaching humano para reducir tu búsqueda de meses a semanas."]}),a.jsxs("p",{children:["Si quieres acelerar resultados desde hoy, también puedes explorar nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"})," o agendar con un ",a.jsx(je,{to:"/career-coach",children:"Career Coach"}),"."]}),a.jsx("h2",{children:"Por qué la velocidad importa al buscar empleo"}),a.jsx("p",{children:"Cada semana que pasa sin trabajo tiene un costo: financiero, emocional y profesional. Además, los reclutadores tienden a preferir candidatos con búsquedas activas y narrativa coherente. Una búsqueda de 8 meses suele requerir más justificación que una de 2 meses."}),a.jsxs("p",{children:["Conseguir trabajo rápido no significa aceptar la primera oferta. Significa ",a.jsx("strong",{children:"generar varias ofertas en paralelo"})," para poder elegir y negociar mejor. Para eso necesitas un sistema, no intentos aislados."]}),a.jsxs("p",{children:["Si vienes de una salida reciente, revisa también nuestra ",a.jsx(je,{to:"/blog/que-hacer-despues-de-un-despido",children:"guÃa para conseguir trabajo rápido después de un despido"}),": te ayuda a estructurar los primeros 30 dÃas sin perder tiempo."]}),a.jsx("h2",{children:"Qué define que alguien encuentre trabajo en menos de 60 dÃas"}),a.jsx("p",{children:"De los profesionales que colocamos en Emplicity en menos de 60 dÃas, todos comparten estos patrones:"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Tienen un CV optimizado para ATS con palabras clave de su industria."}),a.jsx("li",{children:"Su LinkedIn aparece en búsquedas de reclutadores al menos 30 veces por semana."}),a.jsx("li",{children:"Postulan a vacantes recientes (menos de 7 dÃas)."}),a.jsx("li",{children:"Practican entrevistas antes de tenerlas en vivo."}),a.jsx("li",{children:"Cuentan con seguimiento semanal de un Career Coach."})]}),a.jsx("h2",{children:"Estrategia 1: Optimizar el CV para ATS"}),a.jsxs("p",{children:["El 75 % de los CVs nunca llegan a un humano porque no pasan los filtros automáticos. Antes de enviar una postulación más, revisa nuestra guÃa paso a paso de ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"cómo optimizar tu CV para ATS"}),". Un CV ATS-friendly puede multiplicar por 3 tu tasa de respuesta."]}),a.jsx("h2",{children:"Estrategia 2: Dominar LinkedIn como canal de captación pasiva"}),a.jsxs("p",{children:['LinkedIn es el canal donde más reclutadores buscan candidatos en LATAM. Si tu titular, tu foto y tu sección "Acerca de" no están optimizados, simplemente no apareces. Sigue nuestra guÃa de ',a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"cómo optimizar LinkedIn para conseguir trabajo"}),"."]}),a.jsx("h2",{children:"Estrategia 3: Construir un pipeline de postulaciones masivo y de calida
1179d"}),a.jsxs("p",{children:["Apunta a 15-25 postulaciones de calidad por semana. Calidad significa CV adaptado y carta de presentación especÃfica. La cantidad sin calidad solo genera silencio. Si todavÃa no recibes llamadas, revisa ",a.jsx(je,{to:"/blog/por-que-no-me-llaman-entrevistas",children:"por qué no te llaman a entrevistas"}),"."]}),a.jsx("h2",{children:"Estrategia 4: Activar tu red de contactos con un mensaje claro"}),a.jsx("p",{children:"El 60 % de las contrataciones se cierra por referidos. Mándale un mensaje breve a 30 contactos clave esta semana: di qué buscas, en qué tipo de empresa y cómo pueden ayudarte. Sin pedir empleo directamente."}),a.jsx("h3",{children:"Plantilla de mensaje"}),a.jsx("p",{children:a.jsx("em",{children:'"Hola [Nombre], estoy buscando una nueva oportunidad como [Rol] en empresas de [Industria]. Si en tu red conoces a alguien que esté contratando o si me puedes dar feedback de mi LinkedIn, te lo agradezco mucho."'})}),a.jsx("h2",{children:"Estrategia 5: Priorizar vacantes con menos de 7 dÃas publicadas"}),a.jsx("p",{children:'Las vacantes recientes tienen menor competencia y mayor probabilidad de respuesta. En LinkedIn filtra por "Ãltima semana"; en OCC, Computrabajo o Bumeran, ordena por fecha de publicación.'}),a.jsx("h2",{children:"Estrategia 6: Personalizar cada postulación con IA en menos de 5 minutos"}),a.jsx("p",{children:"Usa IA para detectar las 5 palabras clave de cada vacante e incorporarlas en tu CV y carta. Eso lo puedes hacer en menos de 5 minutos por aplicación. Mantiene calidad sin sacrificar volumen."}),a.jsx("h2",{children:"Estrategia 7: Prepararte para entrevistas con simulaciones reales"}),a.jsxs("p",{children:["Conseguir entrevistas no sirve si las pierdes en la primera ronda. Practica con simulaciones reales antes de cada proceso. Aquà tienes la guÃa completa de ",a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",children:"cómo prepararte para una entrevista de trabajo"}),"."]}),a.jsx("h2",{children:"Estrategia 8: Trabajar con un Career Coach"}),a.jsxs("p",{children:["Tener un ",a.jsx(je,{to:"/career-coach",children:"Career Coach"})," reduce el tiempo de colocación en promedio 50 %. Te da estrategia, accountability semanal y revisión profesional de cada material que envÃas al mercado. No pagas hasta que firmas contrato."]}),a.jsx("h2",{children:"Estrategia 9: Diversificar canales (portales, referidos, headhunters, social)"}
1179),a.jsx("p",{children:"No dependas de un solo canal. Distribuye tus esfuerzos asÃ:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"40 % portales:"})," LinkedIn, OCC, Computrabajo, Bumeran, Get on Board."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"30 % referidos:"})," red de contactos directa."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"20 % headhunters:"})," consultoras especializadas en tu industria."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"10 % social selling:"})," contenido en LinkedIn, comunidades, eventos."]})]}),a.jsx("h2",{children:"Estrategia 10: Aprovechar el trabajo remoto para abrir el mercado regional"}),a.jsxs("p",{children:["El ",a.jsx(je,{to:"/trabajo-remoto",children:"trabajo remoto"})," multiplica tus oportunidades. Desde LATAM puedes acceder a vacantes en Estados Unidos, Europa y otros paÃses de la región pagadas en USD. Si es tu primera experiencia laboral, también revisa ",a.jsx(je,{to:"/primer-empleo",children:"cómo conseguir tu primer empleo"}),"."]}),a.jsx("h2",{children:"Estrategia 11: Hacer seguimiento profesional de cada postulación"}),a.jsx("p",{children:"A los 5-7 dÃas de postular, escribe al reclutador en LinkedIn con un mensaje breve confirmando interés. Esto te diferencia inmediatamente y reactiva procesos olvidados."}),a.jsx("h2",{children:"Estrategia 12: Cuidar la energÃa y narrativa durante la búsqueda"}),a.jsx("p",{children:"La búsqueda de empleo es una maratón emocional. Mantén rutina, ejercicio, sueño y un cÃrculo de apoyo. Tu energÃa se nota en entrevistas. Una narrativa positiva sobre tu pausa o cambio multiplica tus probabilidades."}),a.jsx("h2",{children:"Cuánto tiempo toma realmente conseguir trabajo en LATAM"}),a.jsxs("p",{children:["El promedio sin estrategia es 4 a 7 meses en ",a.jsx(je,{to:"/conseguir-trabajo-mexico",children:"México"}),", ",a.jsx(je,{to:"/conseguir-trabajo-colombia",children:"Colombia"}),", Perú y Chile. Con un sistema completo (CV ATS + LinkedIn + pipeline + coach), ese plazo baja a 2 a 3 meses."]}),a.jsx("h2",{children:"Cómo Emplicity te ayuda a conseguir trabajo en 2.5 meses"}),a.jsxs("p",{children:["Emplicity combina ",a.jsx("strong",{children:"IA + Career Coach humano"})," para acompañarte hasta que firmes contrato. Optimizamos tu CV, tu LinkedIn, te entrenamos en entrevistas y te damos seguimiento semanal. Solo pagas cuando consigues empleo."]}),a.jsxs("p",{children:["Conoce nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"})," o aplica directamente desde ",a.jsx(je,{to:"/apply",children:"/apply"}),"."]}),a.jsx("h2",{children:"Errores que alargan tu búsqueda"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Postular sin adaptar el CV a cada vacante."}),a.jsx("li",{children:"No tener LinkedIn optimizado."}),a.jsx("li",{children:"Depender solo de un portal de empleo."}),a.jsx("li",{children:"No practicar entrevistas antes de tenerlas en vivo."}),a.jsx("li",{children:'Buscar solo cuando "tengas tiempo": la búsqueda exige rutina diaria.'})]}),a.jsx("h2",{children:"Preguntas frecuentes sobre cómo conseguir trabajo rápido"}),HH.map(e=>a.jsxs("div",{children:[a.jsx("h3",{children:e.q}),a.jsx("p",{children:e.a})]},e.q)),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-xl p-8 my-10 text-center",children:[a.jsx("h3",{className:"font-display text-2xl font-bold mb-3",children:"Consigue trabajo en 2.5 meses con Emplicity"}),a.jsx("p",{className:"mb-6 text-muted-foreground",children:"Career Coach + IA, sin pago inicial. Solo pagas cuando firmas contrato."}),a.jsx(je,{to:"/apply",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-3 rounded-lg hover:opacity-90 transition-opacity",children:"Aplicar al programa"})]})]})]}),Tc=Qi.find(e=>e.slug==="preguntas-entrevista-de-trabajo-respuestas"),GH=[{q:"¿Cuáles son las preguntas más frecuentes en una entrevista de trabajo?",a:"Háblame de ti, ¿por qué quieres trabajar aquÃ?, ¿cuáles son tus fortalezas y debilidades?, ¿dónde te ves en 5 años?, y ¿por qué dejaste tu último trabajo? son las cinco más comunes en LATAM."},{q:"¿Qué es el método STAR y cuándo debo usarlo?",a:"El método STAR (Situación, Tarea, Acción, Resultado) sirve para responder preguntas comportamentales. Te permite estructurar respuestas concretas con datos."},{q:"¿Cómo respondo a la pregunta de pretensiones salariales?",a:"Investiga el rango del puesto en tu paÃs, da un rango de 15-20% y justifÃcalo con tu experiencia. Revisa nuestra guÃa de cómo negociar tu sueldo."},{q:"¿Qué hago si no sé responder una pregunta?",a:"Sé honesto: agradece la pregunta, explica tu razonamiento y propón cómo lo aprenderÃas. Mentir o inventar es peor que no saber."},{q:"¿Qué preguntas debo hacerle yo al entrevistador?",a:"Pregunta por el equipo, los retos del puesto, cómo se mide el éxito y la cultura. Demuestra interés y te da información para decidir."},{q:"¿Cómo me preparo para una entrevista en inglés?",a:"Practica las 20 preguntas más comunes en inglés en voz alta, usa simulaciones con IA y graba tus respuestas para revisarlas."},{q:"¿Cuánto debo durar respondiendo cada pregunta?",a:"Entre 60 y 120 segundos. Respuestas más largas pierden al entrevistador;
1179 más cortas se sienten incompletas."},{q:"¿Un Career Coach me ayuda a prepararme para entrevistas?",a:"SÃ. En Emplicity hacemos simulaciones reales con feedback personalizado y entrenamiento por industria, hasta que firmes contrato."}],X5e={"@context":"https://schema.org","@type":"Article",headline:Tc.title,description:Tc.metaDescription,datePublished:Tc.date,dateModified:Tc.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${Tc.slug}`},K5e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:GH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},Ze=({q:e,a:t})=>a.jsxs("div",{className:"my-4",children:[a.jsx("p",{children:a.jsx("strong",{children:e})}),a.jsxs("p",{children:[a.jsx("em",{children:"Respuesta modelo:"})," ",t]})]}),Y5e=()=>a.jsxs(a.Fragment,{children:[a.jsx(mr,{title:Tc.metaTitle,description:Tc.metaDescription,canonicalPath:`/blog/${Tc.slug}`}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(K5e)}}),a.jsxs(Ts,{article:Tc,jsonLd:X5e,children:[a.jsx("h1",{children:"Preguntas y respuestas para entrevistas de trabajo: 100 ejemplos reales"}),a.jsxs("p",{children:["Las entrevistas de trabajo se ganan o se pierden en cómo respondes a un puñado de preguntas previsibles. Esta guÃa reúne las ",a.jsx("strong",{children:"100 preguntas más frecuentes"})," en entrevistas en México, Colombia, Perú y Chile, agrupadas por categorÃa, con respuestas modelo y aplicación del método STAR."]}),a.jsxs("p",{children:["Si quieres profundizar en la preparación general, lee también ",a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",children:"cómo prepararte para una entrevista de trabajo"}),"."]}),a.jsx("h2",{children:"Por qué prepararte para las preguntas de entrevista cambia el resultado"}),a.jsxs("p",{children:["Los reclutadores no esperan respuestas perfectas; esperan respuestas claras, estructuradas y honestas. Practicar las preguntas frecuentes reduce ansiedad, mejora tu narrativa y te permite cerrar ofertas. Si te preguntas ",a.jsx(je,{to:"/blog/por-que-no-me-llaman-entrevistas",children:"por qué no te llaman a entrevistas"}),", este es el siguiente paso lógico."]}),a.jsx("h2",{children:"Cómo responder cualquier pregunta con el método STAR"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Situación:"})," contexto breve (1 frase)."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Tarea:"})," qué se esperaba de ti."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Acción:"})," qué hiciste tú especÃficamente."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Resultado:"})," impacto cuantificable."]})]}),a.jsx("p",{children:"STAR funciona especialmente bien en preguntas comportamentales. PractÃcalo en voz alta antes de cada entrevista."}),a.jsx("h2",{children:"Preguntas personales y de presentación (10 ejemplos)"}),a.jsx(Ze,{q:"1. Háblame de ti.",a:"Resume tu trayectoria en 90 segundos: rol actual, logros principales, qué buscas y por qué este puesto. Cierra conectando con la vacante."}),a.jsx(Ze,{q:"2. ¿Cómo te describirÃas profesionalmente?",a:"Define 3 atributos clave con un ejemplo breve cada uno (ej: orientado a resultados, analÃtico, colaborativo)."}),a.jsx(Ze,{q:"3. ¿Cuál es tu mayor logro profesional?",a:"Elige un logro cuantificable y aplÃcale STAR. Ej: lideré la migración de un sistema que ahorró 30% de costos."}),a.jsx(Ze,{q:"4. ¿Por qué dejaste tu último trabajo?",a:"Sé honesto y positivo: busco un reto más estratégico, mayor impacto, crecimiento. Nunca hables mal del jefe anterior."}),a.jsx(Ze,{q:"5. ¿Por qué hay una pausa en tu CV?",a:"Explica brevemente (familia, formación, salud), enfatiza qué hiciste para mantenerte vigente y conecta con tu motivación actual."}),a.jsx(Ze,{q:"6. ¿Cuál es tu estilo de trabajo?",a:"Combina autonomÃa con colaboración. Da un ejemplo breve de cómo trabajas en equipo y cómo organizas tu tiempo."}),a.jsx(Ze,{q:"7. ¿Qué te apasiona?",a:"Algo profesional vinculado al puesto + algo personal que muestre disciplina o curiosidad."}),a.jsx(Ze,{q:"8. ¿Qué libro/curso reciente te marcó?",a:"Menciona uno relacionado con tu industria. Demuestra aprendizaje continuo."}),a.jsx(Ze,{q:"9. ¿Cómo manejas el estrés?",a:"Da un ejemplo concreto: priorización, comunicación temprana de riesgos y rutinas personales (ejercicio, sueño)."}),a.jsx(Ze,{q:"10. ¿Qué te diferencia de otros candidatos?",a:"Une 2 fortalezas únicas con resultados. Evita clichés."}),a.jsx("h2",{children:"Preguntas sobre experiencia laboral (10 ejemplos)"}
1179),a.jsx(Ze,{q:"11. Cuéntame de tu rol actual.",a:"Explica responsabilidades, logros con métricas y aprendizajes."}),a.jsx(Ze,{q:"12. ¿Qué proyecto te enorgullece más?",a:"STAR completo con resultado cuantificable."}),a.jsx(Ze,{q:"13. ¿Cuál fue tu mayor reto técnico?",a:"Describe el problema, tu enfoque y el resultado."}),a.jsx(Ze,{q:"14. ¿Cómo mides tu impacto?",a:"KPIs concretos por puesto: revenue, retención, NPS, throughput, etc."}),a.jsx(Ze,{q:"15. ¿Has liderado equipos?",a:"Tamaño, composición, resultados, cómo desarrollaste a tus reportes directos."}),a.jsx(Ze,{q:"16. ¿Cómo manejas un proyecto que se atrasa?",a:"Diagnóstico, replan, comunicación temprana a stakeholders, mitigación."}),a.jsx(Ze,{q:"17. ¿Qué herramientas dominas?",a:"Lista con nivel y un caso de uso real."}),a.jsx(Ze,{q:"18. ¿Cuál fue tu peor error laboral?",a:"Reconócelo, explica qué aprendiste y qué cambiaste después."}),a.jsx(Ze,{q:"19. ¿Por qué cambiaste de empresa?",a:"Crecimiento, reto, alineación con valores. Nunca culpes."}),a.jsx(Ze,{q:"20. ¿Cómo te mantienes actualizado?",a:"Newsletters, comunidades, cursos, eventos. Da nombres concretos."}),a.jsx("h2",{children:"Preguntas sobre fortalezas y debilidades (10 ejemplos)"}),a.jsx(Ze,{q:"21. ¿Cuáles son tus 3 fortalezas?",a:"3 fortalezas + 1 ejemplo cada una."}),a.jsx(Ze,{q:"22. ¿Cuál es tu mayor debilidad?",a:"Una real, en proceso de mejora, con plan concreto. Evita falsas debilidades tipo 'soy perfeccionista'."}),a.jsx(Ze,{q:"23. ¿En qué te gustarÃa mejorar este año?",a:"Habilidad concreta + cómo la estás trabajando."}),a.jsx(Ze,{q:"24. ¿Cómo recibes feedback negativo?",a:"Lo agradezco, lo proceso, identifico el patrón y ajusto. Da un ejemplo."}),a.jsx(Ze,{q:"25. ¿Eres mejor en estrategia o ejecución?",a:"Idealmente las dos, con ejemplo de cada una. No caigas en una sola."}),a.jsx(Ze,{q:"26. ¿Cómo priorizas cuando todo es urgente?",a:"Marco de impacto vs. esfuerzo, alineación con OKRs y comunicación con el manager."}),a.jsx(Ze,{q:"27. ¿Qué habilidad blanda valoras más en ti?",a:"Comunicación, empatÃa o adaptabilidad, con ejemplo."}),a.jsx(Ze,{q:"28. ¿En qué entornos rindes mejor?",a:"Define cultura ideal coherente con la empresa."}),a.jsx(Ze,{q:"29. ¿Cómo respondes ante la incertidumbre?",a:"Marco propio, hipótesis, validación rápida, ajuste."}),a.jsx(Ze,{q:"30. ¿Qué te frustra en el trabajo?",a:"Algo legÃtimo (falta de claridad, decisiones sin datos) + cómo lo manejas constructivamente."}),a.jsx("h2",{children:"Preguntas comportamentales con STAR (10 ejemplos resueltos)"}),a.jsx(Ze,{q:"31. Cuéntame de un conflicto en equipo.",a:"S: dos áreas con prioridades opuestas. T: alinear el roadmap. A: facilité una sesión con datos. R: roadmap aprobado en 1 semana."}),a.jsx(Ze,{q:"32. Una vez que fallaste un objetivo.",a:"STAR enfocado en lecciones aprendidas y cambio de proceso."}),a.jsx(Ze,{q:"33. Cuéntame de un cliente difÃcil.",a:"STAR con foco en escucha activa y solución."}),a.jsx(Ze,{q:"34. Una decisión bajo presión.",a:"STAR con datos, criterio y resultado."}),a.jsx(Ze,{q:"35. Cómo manejaste un cambio organizacional.",a:"STAR con adaptabilidad y comunicación."}),a.jsx(Ze,{q:"36. Una vez que innovaste.",a:"STAR con propuesta, validación y métrica."}),a.jsx(Ze,{q:"37. Una vez que tuviste que decir no.",a:"STAR con justificación y alternativa propuesta."}),a.jsx(Ze,{q:"38. Cómo lideraste sin autoridad formal.",a:"STAR con influencia, alianzas y resultado."}),a.jsx(Ze,{q:"39. Una vez que delegaste y salió mal.",a:"STAR con aprendizaje sobre coaching y seguimiento."}),a.jsx(Ze,{q:"40. Cuéntame de tu mayor proyecto cross-funcional.",a:"STAR con coordinación y resultado."}),a.jsx("h2",{children:"Preguntas sobre motivación y objetivos profesionales (10 ejemplos)"}),a.jsx(Ze,{q:"41. ¿Por qué quieres este puesto?",a:"Conexión real entre tu trayectoria, la vacante y la empresa."}),a.jsx(Ze,{q:"42. ¿Por qué nuestra empresa?",a:"Investiga 3 cosas concretas (producto, cultura, mercado) y conéctalas con tu perfil."}),a.jsx(Ze,{q:"43. ¿Dónde te ves en 5 años?",a:"Crecimiento coherente con la empresa y el rol."}),a.jsx(Ze,{q:"44. ¿Qué buscas en tu próximo trabajo?",a:"3 elementos: reto, equipo, impacto. Alinea con la vacante."}),a.jsx(Ze,{q:"45. ¿Qué te motiva cada dÃa?",a:"Algo profesional + algo personal."}),a.jsx(Ze,{q:"46. ¿Por qué deberÃamos contratarte?",a:"3 razones especÃficas conectadas con la descripción del puesto."}),a.jsx(Ze,{q:"47. ¿Cuál es tu plan de carrera?",a:"Plan claro pero flexible, alineado al rol."}),a.jsx(Ze,{q:"48. ¿Qué te harÃa feliz a los 6 meses?",a:"Resultados concretos esperados en el puesto."}),a.jsx(Ze,{q:"49. ¿Por qué cambiarÃas de industria?",a:"Habilidades transferibles + motivación auténtica."}),a.jsx(Ze,{q:"50. ¿Qué buscas aprender aquÃ?",a:"EspecÃfico al rol y la empresa."}),a.jsx("h2",{children:"Preguntas sobre trabajo en equipo y liderazgo (10 ejemplos)"}),a.jsx(Ze,{q:"51. ¿Cómo describirÃas tu estilo de liderazgo?",a:"Define estilo + ejemplo + resultado."}),a.jsx(Ze,{q:"52. ¿Cómo das feedback difÃcil?",a:"Marco SBI: Situación, Behavior, Impacto."}),a.jsx(Ze,{q:"53. ¿Cómo motivas a tu equipo?",a:"Propósito, autonomÃa, dominio. Ejemplo concreto."}),a.jsx(Ze,{q:"54. ¿Cómo manejas a un colaborador de bajo desempeño?",a:"Diagnóstico, plan de mejora, seguimiento, decisión."}),a.jsx(Ze,{q:"55. ¿Has tenido que despedir a alguien?",a:"Cuenta con respeto y aprendizaje."}),a.jsx(Ze,{q:"56. ¿Cómo construyes confianza?",a:"Consistencia, transparencia, cumplimiento de compromisos."}),a.jsx(Ze,{q:"57. ¿Cómo trabajas con personas que piensan distinto?",a:"Escucha activa, busco el porqué detrás de la postura."}),a.jsx(Ze,{q:"58. ¿Has trabajado en equipos remotos?",a:"SÃ, con prácticas concretas: rituales, async, herramientas."}),a.jsx(Ze,{q:"59. ¿Cómo coordinas con otras áreas?",a:"OKRs compartidos, reuniones de alineación, ownership claro."}),a.jsx(Ze,{q:"60. ¿Qué tipo de jefe sacarÃa lo mejor de ti?",a:"Define con honestidad y alinea con la cultura."}),a.jsx("h2",{children:"Preguntas técnicas y de conocimiento (10 ejemplos)"}),a.jsx(Ze,{q:"61. Explica un concepto técnico clave de tu área.",a:"Define + ejemplo + cuándo lo usaste."}),a.jsx(Ze,{q:"62. ¿Qué metodologÃa usas para X?",a:"Nombra el framework + por qué + caso real."}),a.jsx(Ze,{q:"63. ¿Cómo abordarÃas el problema X?",a:"Estructura: clarificar, hipótesis, plan, métricas de éxito."}),a.jsx(Ze,{q:"64. Caso práctico de tu industria.",a:"Razona en voz alta. Pide aclaraciones. Cierra con recomendación."}),a.jsx(Ze,{q:"65. ¿Qué herramienta de IA has usado?",a:"Da casos reales con resultado."}),a.jsx(Ze,{q:"66. ¿Cómo mides ROI en tu área?",a:"Métricas estándar + un ejemplo medido por ti."}),a.jsx(Ze,{q:"67. ¿Qué tendencia de tu industria te entusiasma?",a:"Una tendencia + por qué + cómo te preparas."}),a.jsx(Ze,{q:"68. Explica X a alguien sin formación técnica.",a:"AnalogÃa simple + ejemplo cotidiano."}),a.jsx(Ze,{q:"69. ¿Qué harÃas en tus primeros 30/60/90 dÃas?",a:"Plan estructurado: aprender, diagnosticar, ejecutar."}),a.jsx(Ze,{q:"70. ¿Cómo te mantienes técnico actualizado?",a:"Cursos, comunidades, side projects."}),a.jsx("h2",{children:"Preguntas sobre salario y expectativas económicas (10 ejemplos)"}),a.jsxs("p",{children:["Para profundizar en este bloque, lee nuestra guÃa completa de ",a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",children:"cómo negociar tu sueldo"}),"."]}),a.jsx(Ze,{q:"71. ¿Cuáles son tus pretensiones salariales?",a:"Da un rango basado en investigación + justifÃcalo con experiencia."}),a.jsx(Ze,{q:"72. ¿Cuánto ganas actualmente?",a:"Comparte si es necesario, enfócate en el valor que aportas."}),a.jsx(Ze,{q:"73. ¿Por qué pides ese sueldo?",a:"Mercado + experiencia + impacto esperado."}),a.jsx(Ze,{q:"74. ¿AceptarÃas menos del rango?",a:"Depende del paquete total y crecimiento."}),a.jsx(Ze,{q:"75. ¿Qué beneficios valoras además del sueldo?",a:"Bonos, equity, flexibilidad, formación."}),a.jsx(Ze,{q:"76. ¿Cuál es tu sueldo mÃnimo?",a:"Da rango y deja espacio a negociar."}),a.jsx(Ze,{q:"77. ¿Cómo justificas un aumento de 30%?",a:"Crecimiento de responsabilidades + benchmark del mercado."}),a.jsx(Ze,{q:"78. ¿Tienes otras ofertas?",a:"Sé honesto sin presionar."}),a.jsx(Ze,{q:"79. ¿AceptarÃas acciones en lugar de cash?",a:"Depende de etapa de la empresa y proporción."}),a.jsx(Ze,{q:"80. ¿Cuándo podrÃas iniciar?",a:"Plazo realista respetando tu trabajo actual."}),a.jsx("h2",{children:"Preguntas trampa y cómo manejarlas (10 ejemplos)"}),a.jsx(Ze,{q:"81. ¿Por qué no deberÃamos contratarte?",a:"Reconoce un área de desarrollo y muestra autoconocimiento."}),a.jsx(Ze,{q:"82. ¿Mientes en alguna situación?",a:"Habla de honestidad profesional con matiz de empatÃa."}),a.jsx(Ze,{q:"83. ¿Qué opinas de tu jefe actual?",a:"Respeto + aprendizaje, sin crÃticas."}),a.jsx(Ze,{q:"84. Si pudieras cambiar algo de tu carrera, ¿qué serÃa?",a:"Algo concreto que ya estás corrigiendo."}),a.jsx(Ze,{q:"85. ¿Te consideras inteligente?",a:"SÃ, con humildad: capacidad de aprendizaje y aplicación."}),a.jsx(Ze,{q:"86. ¿Cuántas pelotas de tenis caben en un avión?",a:"Razona en voz alta, no busques número exacto."}),a.jsx(Ze,{q:"87. ¿Qué piensa tu peor jefe de ti?",a:"Reconoce áreas de mejora con madurez."}
1179),a.jsx(Ze,{q:"88. ¿Por qué llevas tanto tiempo buscando?",a:"Explica filtro propio + procesos avanzados activos."}),a.jsx(Ze,{q:"89. ¿Qué harÃas si tu jefe te pidiera algo no ético?",a:"ComunicarÃa preocupación primero, escalarÃa si es necesario."}),a.jsx(Ze,{q:"90. ¿Estás dispuesto a renunciar a vida personal por el puesto?",a:"Defiende sostenibilidad y resultados, no horas."}),a.jsx("h2",{children:"10 preguntas que tú deberÃas hacer al entrevistador"}),a.jsxs("ol",{children:[a.jsx("li",{children:"¿Cómo se mide el éxito en este puesto a 6 y 12 meses?"}),a.jsx("li",{children:"¿Cuáles son los principales retos del rol hoy?"}),a.jsx("li",{children:"¿Cómo describirÃas la cultura del equipo?"}),a.jsx("li",{children:"¿Cuál es el estilo de liderazgo de mi futuro manager?"}),a.jsx("li",{children:"¿Qué proyectos estratégicos hay en los próximos 12 meses?"}),a.jsx("li",{children:"¿Cómo es el plan de crecimiento profesional?"}),a.jsx("li",{children:"¿Cuáles son los próximos pasos del proceso?"}),a.jsx("li",{children:"¿Qué hace que alguien tenga éxito en esta empresa?"}),a.jsx("li",{children:"¿Cómo se toman las decisiones aquÃ?"}),a.jsx("li",{children:"¿Hay alguna duda sobre mi perfil que pueda aclarar?"})]}),a.jsx("h2",{children:"Errores que arruinan una entrevista"}),a.jsxs("ul",{children:[a.jsx("li",{children:"No investigar a la empresa."}),a.jsx("li",{children:"Hablar mal de empleadores anteriores."}),a.jsx("li",{children:"Respuestas largas y sin estructura."}),a.jsx("li",{children:"No tener preguntas al final."}),a.jsx("li",{children:"Mentir o exagerar logros."}),a.jsx("li",{children:"No conectar respuestas con el puesto."})]}),a.jsxs("p",{children:["Si quieres entender el rol de un coach en tu preparación, revisa ",a.jsx(je,{to:"/blog/que-es-un-career-coach",children:"qué es un Career Coach"}),"."]}),a.jsx("h2",{children:"Cómo Emplicity te prepara para entrevistas reales con simulacros e IA"}),a.jsxs("p",{children:["En ",a.jsx(je,{to:"/programa-empleabilidad",children:"Emplicity"})," combinamos simulaciones de entrevista con IA y feedback humano de un ",a.jsx(je,{to:"/career-coach",children:"Career Coach"}),". Practicas con preguntas reales por industria, recibes evaluación de fondo y forma, y entrenas tus respuestas hasta que dominen la narrativa. Todo esto sin pago inicial: solo pagas cuando firmas contrato."]}),a.jsxs("p",{children:["Asegura primero que tu CV pase los filtros con nuestra guÃa de ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"cómo optimizar tu CV para ATS"}),"."]}),a.jsx("h2",{children:"Preguntas frecuentes"}),GH.map(e=>a.jsxs("div",{children:[a.jsx("h3",{children:e.q}),a.jsx("p",{children:e.a})]},e.q)),a.jsxs("div",{className:"bg-primary/5 border border-primary/20 rounded-xl p-8 my-10 text-center",children:[a.jsx("h3",{className:"font-display text-2xl font-bold mb-3",children:"Llega a tu próxima entrevista preparado"}),a.jsx("p",{className:"mb-6 text-muted-foreground",children:"Practica con simulacros reales y un Career Coach. 0 pago inicial, solo pagas al firmar contrato."}),a.jsx(je,{to:"/apply",className:"inline-block bg-primary text-primary-foreground font-semibold px-8 py-3 rounded-lg hover:opacity-90 transition-opacity",children:"Aplicar al programa"})]})]})]}),mf=Qi.find(e=>e.slug==="que-hacer-despues-de-un-despido"),XH=[{q:"¿Qué hacer en el primer dÃa después de un despido?",a:"Respira, no firmes nada bajo presión, guarda copia de tu carta de despido y de toda la documentación. Tómate 24 a 48 horas antes de comunicarlo en redes y antes de tomar decisiones financieras importantes."},{q:"¿Cómo manejar el impacto emocional de un despido?",a:"Acepta que es un proceso, habla con personas de confianza, mantén rutina diaria, haz ejercicio y separa tu identidad profesional de tu valor personal. Si lo necesitas, busca acompañamiento psicológico."},{q:"¿Cuánto tarda en promedio conseguir un nuevo trabajo después de un despido en LATAM?",a:"El promedio sin estrategia en MX, CO, PE y CL es de 4 a 7 meses. Con CV ATS, LinkedIn optimizado, plan de búsqueda y un Career Coach, ese tiempo baja a 2 a 3 meses."},{q:"¿Cómo explicar el despido en una entrevista de trabajo?",a:"Sé honesto, breve y orientado al aprendizaje. Evita culpar a tu exjefe o a la empresa. Una respuesta tipo: 'Hubo una reestructura que afectó mi posición. Aproveché para revisar mi rumbo y hoy busco un rol donde aportar X'."},{q:"¿Conviene mentir sobre el despido en la entrevista?",a:"No. Reclutadores y áreas de RRHH suelen verificar referencias. Mentir destruye tu credibilidad si se descubre. Es mejor enmarcarlo como un proceso de aprendizaje."},{q:"¿Qué pongo en LinkedIn después del despido?",a:"Actualiza tu titular indicando 'Open to Work' o un rol objetivo, refuerza la sección Acerca de orientada a resultados y publica un post breve explicando que estás en búsqueda activa, sin victimismo."},{q:"¿Cómo elijo entre buscar solo o con un Career Coach?",a:"Si llevas más de 6 a 8 semanas sin entrevistas o sientes que repites el mismo error, un Career Coach te ah
1179orra tiempo. Diseña tu estrategia, revisa tus materiales y te entrena para entrevistas."},{q:"¿Mi empresa puede contratar outplacement para mÃ?",a:"SÃ. Muchas empresas contratan programas de outplacement para acompañar a colaboradores en transición. Puedes pedirlo a tu área de RRHH y compartir nuestra página para empresas."}],Q5e={"@context":"https://schema.org","@type":"Article",headline:mf.title,description:mf.metaDescription,datePublished:mf.date,dateModified:mf.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${mf.slug}`},Z5e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:XH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},J5e=()=>a.jsxs(a.Fragment,{children:[a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Z5e)}}),a.jsxs(Ts,{article:mf,jsonLd:Q5e,ogType:"article",ogImage:"https://emplicity.ai/og/que-hacer-despues-de-un-despido.svg",children:[a.jsx("h1",{children:"Qué hacer después de un despido: guÃa completa para reaccionar y conseguir un nuevo trabajo rápido"}),a.jsx("p",{children:"Que te despidan duele. Aunque sea por una reestructura, una fusión o un ajuste de plantilla, el impacto emocional y financiero es real. La buena noticia es que la forma en la que reaccionas en los primeros 30 dÃas define qué tan rápido vuelves a estar trabajando, y en qué condiciones."}),a.jsx("p",{children:"Esta guÃa es una hoja de ruta paso a paso para que sepas qué hacer si te despidieron, sin caer en pánico ni en errores comunes. Está pensada para profesionales en México, Colombia, Perú y Chile."}),a.jsx("h2",{children:"Los primeros 7 dÃas después del despido"}),a.jsx("p",{children:"Los primeros dÃas son emocionales. Es normal sentir rabia, miedo, vergüenza o alivio. La regla es simple: no tomes decisiones grandes en caliente."}),a.jsx("h3",{children:"Manejo emocional"}),a.jsxs("ul",{children:[a.jsx("li",{children:'PermÃtete sentir. No intentes "estar bien" inmediatamente.'}),a.jsx("li",{children:"Habla con 2 o 3 personas de confianza, no con todo el mund
1179o."}),a.jsx("li",{children:"Mantén rutina: dormir bien, hacer ejercicio y comer a horarios fijos."}),a.jsx("li",{children:"Separa tu identidad profesional de tu valor como persona."})]}),a.jsx("h3",{children:"Errores comunes en los primeros dÃas"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Firmar el finiquito sin leerlo."}),a.jsx("li",{children:"Publicar en LinkedIn en estado de enojo."}),a.jsx("li",{children:"Aceptar el primer ofrecimiento por miedo financiero."}),a.jsx("li",{children:"Aislarte y cortar contacto con tu red profesional."})]}),a.jsx("h3",{children:"Qué decir y qué no decir"}),a.jsx("p",{children:'En el corto plazo, comunica solo a tu cÃrculo cercano. Cuando hables públicamente, usa una narrativa orientada al futuro: "Cierro una etapa y abro otra. Estoy explorando oportunidades en X". Evita culpar a tu exjefe o a la empresa: cualquier comentario público puede llegar a futuros empleadores.'}),a.jsx("h2",{children:"Revisa tus derechos laborales y tu finiquito"}),a.jsx("p",{children:"Antes de firmar nada, revisa con calma todo el paquete de salida. Esta sección es informativa y no sustituye asesorÃa legal profesional. Cada paÃs tiene reglas especÃficas."}),a.jsxs("ul",{children:[a.jsx("li",{children:"Carta de despido o aviso de terminación, con causa y fecha."}),a.jsx("li",{children:"Cálculo de finiquito o liquidación: salarios pendientes, vacaciones, aguinaldo, prima vacacional, prima de antigüedad o cesantÃas según el paÃs."}),a.jsx("li",{children:"Indemnización por despido cuando corresponda."}),a.jsx("li",{children:"Constancia de retención de impuestos y aportes a seguridad social."}),a.jsx("li",{children:"Carta de recomendación o constancia laboral."})]}),a.jsx("p",{children:"Si algo no te cuadra, consulta con un abogado laboral o con la autoridad laboral de tu paÃs antes de firmar. En MX puedes acudir a la Profedet, en CO al Ministerio del Trabajo, en PE a la Sunafil y en CL a la Dirección del Trabajo."}),a.jsx("h2",{children:"Define tu plan de búsqueda en 30 dÃas"}),a.jsx("p",{children:"Sin un plan, la búsqueda se vuelve reactiva y agotadora. Un buen plan se arma en 3 capas."}),a.jsx("h3",{children:"Objetivo"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Define rol, industria, modalidad (remoto, hÃbrido o presencial) y rango salarial mÃnimo aceptable."}),a.jsx("li",{children:"Anota 30 a 50 empresas objetivo donde te gustarÃa trabajar."})]}),a.jsx("h3",{children:"Presupuesto financiero"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Suma tu finiquito y ahorros, y divide entre tus gastos mensuales para saber cuántos meses tienes de pista."}),a.jsx("li",{children:"Reduce gastos no esenciales temprano, no cuando el dinero ya esté apretado."}),a.jsx("li",{children:"Considera proyectos freelance puente si tu pista es corta."})]}),a.jsx("h3",{children:"Expectativas realistas"}),a.jsxs("p",{children:["El promedio de búsqueda en LATAM es 4 a 7 meses sin estrategia. Con un sistema completo baja a 2 a 3 meses. Si necesitas acelerar, considera un acompañamiento profesional como nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"}),"."]}),a.jsx("h2",{children:"Optimiza tu CV para ATS post-despido"}),a.jsx("p",{children:"El 75% de los CVs no llegan a manos de un humano. Si tu CV no pasa el filtro automatizado (ATS), no importa qué tan buena sea tu experiencia. Revisa formato, palabras clave, logros cuantificables y orden cronológico."}),a.jsxs("p",{children:["Te dejamos la guÃa paso a paso en ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"cómo optimizar tu CV para ATS"})," y, si no tienes experiencia formal o estás cambiando de industria, revisa también ",a.jsx(je,{to:"/blog/como-hacer-cv-sin-experiencia",children:"cómo hacer un CV sin experiencia"}),"."]}),a.jsx("h2",{children:"Actualiza LinkedIn y comunica tu disponibilidad"}),a.jsx("p",{children:"Después de un despido, LinkedIn es tu mejor activo. ActualÃzalo en este orden: foto profesional, titular orientado a tu próximo rol, sección Acerca de con resultados, experiencia con bullets cuantificables y configuración Open to Work."}),a.jsxs("p",{children:["La guÃa completa está en ",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"cómo optimizar tu LinkedIn para conseguir trabajo"}),"."]}),a.jsx("h2",{children:"Cómo explicar el despido en entrevistas"}),a.jsx("p",{children:"Toda entrevista te preguntará por qué saliste de tu último trabajo. La fórmula es: contexto breve + foco en el aprendizaje + puente al rol al que aplicas. Algunos ejemplos:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Reestructura:"}),' "La empresa cerró el área comercial en LATAM. Aproveché para revisar mi rumbo y busco un rol donde pueda aportar mi experiencia en X".']}),a.jsxs("li",{children:[a.jsx("strong",{children:"Bajo desempeño:"}),' "El rol no terminó de encajar con mi perfil. Identifiqué qué tipo de entornos me hacen rendir mejor y eso es lo que busco hoy".']}),a.jsxs("li",{children:[a.jsx("strong",{children:"Conflicto con el manager:"}),' "Tuvimos diferencias de criterio. Lo conversamos profesionalmente y decidimos cerrar la etapa. Hoy busco una cultura más alineada con X".']})]}),a.jsxs("p",{children:["Practica tu respuesta en voz alta y revisa más ejemplos en nuestra guÃa de ",a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",children:"preguntas y respuestas para entrevistas de trabajo"})," y en ",a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",children:"cómo prepararte para una entrevista"}),"."]}),a.jsx("h2",{children:"Networking y métodos para conseguir trabajo rápido"}),a.jsx("p",{children:"El 60% de los trabajos en LATAM se cierran por referidos. Sentarte solo a postular en portales es la manera más lenta de buscar. Combina canales: postulaciones a vacantes nuevas, reactivación de contactos, mensajes a reclutadores y aplicación directa a empresas objetivo."}),a.jsxs("p",{children:["Profundiza en estrategia en ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",children:"cómo conseguir trabajo rápido"})," y en nuestra guÃa maestra de ",a.jsx(je,{to:"/buscar-trabajo",children:"cómo buscar trabajo"}),". Si llevas semanas postulando sin respuesta, revisa ",a.jsx(je,{to:"/blog/por-que-no-me-llaman-entrevistas",children:"por qué no te llaman a entrevistas"}),"."]}),a.jsx("h2",{children:"Cuándo conviene un Career Coach o un programa de outplacement"}),a.jsx("p",{children:"Si llevas más de 6 a 8 semanas sin avanzar, o sientes que repites el mismo patrón sin entender por qué, un acompañamiento profesional acorta el camino. Un Career Coach diseña tu estrategia, revisa tus materiales y te entrena para entrevistas."}),a.jsxs("p",{children:["Conoce más sobre ",a.jsx(je,{to:"/career-coach",children:"qué es un Career Coach"}),", lee ",a.jsx(je,{to:"/blog/que-es-un-career-coach",children:"la guÃa completa"})," y revisa nuestro ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"}),". Si tu salida fue parte de una reestructura, pregunta a tu área de RRHH si pueden contratar un programa de ",a.jsx(je,{to:"/para-empresas",children:"outplacement"})," para ti."]}),a.jsx("h2",{children:"Errores comunes después de un despido"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Empezar a postular antes de actualizar CV y LinkedIn."}),a.jsxs("li",{children:["Aceptar la primera oferta sin negociar (revisa ",a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",children:"cómo negociar tu sueldo"}),")."]}),a.jsx("li",{children:"Quemar puentes con tu exempresa en redes."}),a.jsx("li",{children:'No tener un objetivo claro y postular a "cualquier cosa".'}),a.jsx("li",{children:"Dejar de hacer seguimiento a procesos abiertos."}),a.jsx("li",{children:"Buscar solo cuando te queden 4 semanas de ahorro."})]}),a.jsx("h2",{children:"Cuánto tarda en promedio conseguir un nuevo trabajo en LATAM"}),a.jsx("p",{children:"En México, Colombia, Perú y Chile, el promedio sin estrategia es de 4 a 7 meses. Con CV ATS, LinkedIn optimizado, pipeline activo y un Career Coach, baja a 2 a 3 meses. En Emplicity el promedio de colocación es de 2.5 meses, con +320 personas ya colocad
1179as en la región."}),a.jsx("h2",{children:"Preguntas frecuentes sobre qué hacer después de un despido"}),XH.map(e=>a.jsxs("div",{children:[a.jsx("h3",{children:e.q}),a.jsx("p",{children:e.a})]},e.q)),a.jsx("hr",{}),a.jsx("h2",{children:"¿Listo para reactivar tu búsqueda hoy?"}),a.jsx("p",{children:"En Emplicity te asignamos un Career Coach 1 a 1 más herramientas de IA. 0 pago inicial: solo pagas cuando firmas tu nuevo contrato."}),a.jsxs("p",{children:[a.jsx(je,{to:"/apply",children:a.jsx("strong",{children:"Aplicar al programa"})}),". Si trabajas en RRHH y necesitas acompañar a colaboradores en transición, conoce nuestro programa ",a.jsx(je,{to:"/para-empresas",children:"para empresas"}),"."]})]})]}),gf=Qi.find(e=>e.slug==="outplacement-para-empresas-guia"),LR="mailto:[email protected]?subject=Solicitud%20de%20propuesta%20Outplacement&body=Hola%20equipo%20de%20Emplicity%2C%20me%20gustar%C3%ADa%20recibir%20una%20propuesta%20de%20outplacement%20para%20mi%20empresa.",KH=[{q:"¿Qué es outplacement?",a:"El outplacement es un servicio que la empresa contrata para acompañar a colaboradores que están saliendo de la organización, ayudándolos a reinsertarse en el mercado laboral más rápido a través de coaching, herramientas y estrategia de búsqueda."},{q:"¿En qué se diferencia el outplacement de un programa de empleabilidad?",a:"El programa de empleabilidad lo contrata el profesional a tÃtulo personal. El outplacement lo contrata la empresa para uno o varios colaboradores en transición. El método es similar, pero el outplacement incluye reporting para RRHH y condiciones por volumen."},{q:"¿Cuánto cuesta el outplacement?",a:"Depende del nivel del colaborador, la duración del programa y el volumen. Existen modelos por colaborador individual, por paquete de volumen y a medida. La inversión tÃpica se cotiza por persona, con descuentos por volumen."},{q:"¿Cuánto dura un programa de outplacement?",a:"El estándar dura entre 3 y 6 meses por colaborador. Para perfiles ejecutivos puede extenderse hasta que se firme el nuevo contrato, según el alcance contratado."},{q:"¿Cómo se mide el éxito de un programa de outplacement?",a:"Las métricas clave son tasa de recolocación, tiempo promedio hasta firmar contrato, calidad de la oferta obtenida (rol y compensación) y satisfacción NPS de los colaboradores."},{q:"¿Qué incluye el reporte para RRHH?",a:"Avance individual y agregado, tasa de recolocación, tiempo promedio de búsqueda, NPS y resumen ejecutivo periódico para presentar a dirección."},{q:"¿Qué pasa si el colaborador no quiere participar?",a:"El programa siempre es voluntario. Recomendamos comunicarlo como un beneficio de salida, con onboarding claro. La tasa de adopción suele superar el 80% cuando se presenta correctamente."},{q:"¿Cómo iniciar un programa de outplacement con Emplicity?",a:"EscrÃbenos a [email protected] o solicita una propuesta desde nuestra página para empresas. Agendamos una sesión de diagnóstico, alineamos alcance y arrancamos en pocos dÃas."}],eje={"@context":"https://schema.org","@type":"Article",headline:gf.title,description:gf.metaDescription,datePublished:gf.date,dateModified:gf.date,author:{"@type":"Organization",name:"Emplicity"},publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},mainEntityOfPage:`https://emplicity.ai/blog/${gf.slug}`},tje={"@context":"https://schema.org","@type":"FAQPage",mainEntity:KH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},nje=()=>a.jsxs(a.Fragment,{children:[a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(tje)}}),a.jsxs(Ts,{article:gf,jsonLd:eje,ogType:"article",ogImage:"https://emplicity.ai/og/outplacement-para-empresas-guia.svg",children:[a.jsx("h1",{children:"Outplacement para empresas: qué es, cómo funciona y cómo elegir el mejor programa de recolocación laboral en LATAM"}),a.jsx("p",{children:"Para HR Directors, People Ops y CEOs en México, Colombia, Perú y Chile, los procesos de salida son tan importantes como los de entrada. Una desvinculación mal gestionada puede dañar la marca empleadora durante años. Una bien acompañada se convierte en exempleados embajadores y en una historia que tu equipo actual nota."}),a.jsx("p",{children:"Esta guÃa explica qué es el outplacement, cuándo conviene, cómo funciona un programa serio y qué criterios usar para elegir proveedor en LATAM."}),a.jsx("h2",{children:"Qué es outplacement y para qué sirve"}),a.jsx("p",{children:"El outplacement es un servicio que la empresa contrata para acompañar a colaboradores en transición laboral, ayudándolos a reinsertarse en el mercado de manera más rápida y digna. Combina coaching, herramientas de búsqueda y estrategia personalizada por persona."}),a.jsx("p",{children:"No es un curso pregrabado ni una bolsa de trabajo. Es un programa 1 a 1 donde cada colaborador recibe un Career Coach asignado que diseña con él un plan de búsqueda real, lo entrena para entrevistas y lo acompaña hasta que firma su próximo contrato."}),a.jsx("h2",{children:"Por qué tu empresa deberÃa ofrecer outplacement"}),a.jsx("h3",{children:"Protección de marca empleadora"}),a.jsx("p",{children:"Hoy cualquier exempleado puede contar su experiencia en LinkedIn, Glassdoor o redes sociales. Un programa de outplacement transforma una salida potencialmente conflictiva en una historia de cuidado."}),a.jsx("h3",{children:"ESG y responsabilidad social"}),a.jsx("p",{children:"Los criterios ESG y de Diversidad, Equidad e Inclusión incluyen cómo trata la empresa a las personas en transición. El outplacement es un activo concreto para reportar."}),a.jsx("h3",{children:"Gestión de cambio"}),a.jsx("p",{children:"En reestructuras, fusiones y adquisiciones, el outplacement reduce la ansiedad del equipo que se queda. Saber que quienes salen están acompañados sostiene la productividad."}),a.jsx("h3",{children:"Reducción de riesgo legal y reputacional"}),a.jsx("p",{children:"Una transición acompañada disminuye la probabilidad de demandas, denuncias públicas y comentarios negativos en redes. No reemplaza la asesorÃa legal, pero baja el riesgo significativamente."}),a.jsx("h3",{children:"Salida digna"}),a.jsx("p",{children:"Más allá de la métrica, es una decisión cultural. Las empresas que cuidan la salida son a las que la mejor gente quiere volver."}),a.jsx("h2",{children:"Cómo funciona un programa de outplacement paso a paso"}),a.jsxs("ol",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Diagnóstico:"})," entendemos el contexto, los perfiles afectados, los paÃses y los objetivos del área de RRHH."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Asignación de Career Coach:"})," cada colaborador recibe un coach 1 a 1 con experiencia en su industria y nivel."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Plan personalizado:"})," CV ATS, LinkedIn, simulaciones de entrevista con IA y estrategia de búsqueda por mercado."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Seguimiento medido:"})," acompañamiento semanal hasta firmar contrato y reporte ejecutivo para RRHH."]})]}),a.jsx("h2",{children:"Servicios tÃpicos incluidos"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Career Coach 1 a 1 asignado por colaborador."}),a.jsxs("li",{children:["Optimización de CV para ATS (revisa también nuestra ",a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",children:"guÃa de CV ATS"}),")."]}),a.jsxs("li",{children:["Optimización de LinkedIn (",a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",children:"guÃa completa"}),")."]}),a.jsx("li",{children:"Simulaciones de entrevista con IA y feedback humano."}),a.jsx("li",{children:"Estrategia de búsqueda por industria."}),a.jsx("li",{children:"Networking guiado y reactivación de contactos."}),a.jsxs("li",{children:["Negociación salarial (ver ",a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",children:"cómo negociar tu sueldo"}),")."]}),a.jsx("li",{children:"Dashboard de seguimiento y reporting para RRHH."})]}),a.jsx("h2",{children:"Cuánto cuesta el outplacement"}),a.jsx("p",{children:"El costo se cotiza por colaborador y depende de tres variables: nivel del rol (operativo, mando medio, gerencial o ejecutivo), duración del programa y volumen contratado. No publicamos precios duros porque cada cliente tiene contextos distintos, pero los rangos orientativos son:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Paquete individual:"})," ideal para salidas puntuales o transiciones ejecutivas."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Paquete por volumen:"})," condiciones especiales para reestructuras y procesos masivos."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Paquete a medida:"})," alcance, duración y entregables ajustados al caso."]})]}),a.jsxs("p",{children:["Para una cotización personalizada, ",a.jsx("a",{href:LR,children:"solicita una propuesta"})," o entra a nuestra página ",a.jsx(je,{to:"/para-empresas",children:"para empresas"}),"."]}),a.jsx("h2",{children:"Cuándo conviene contratar outplacement"}),a.jsxs("ul",{children:[a.jsx("li",{children:"Reestructuras organizacionales y camb
1179ios de modelo operativo."}),a.jsx("li",{children:"Fusiones y adquisiciones (M&A) con duplicidad de roles."}),a.jsx("li",{children:"Downsizing y ajustes de plantilla."}),a.jsx("li",{children:"Transiciones ejecutivas a nivel C-level y direcciones."}),a.jsx("li",{children:"Despidos individuales por bajo desempeño o cierre de posición."}),a.jsx("li",{children:"Cierres de oficina o de unidad de negocio en uno o varios paÃses."})]}),a.jsx("h2",{children:"Cómo elegir el mejor proveedor de outplacement"}),a.jsx("p",{children:"No todos los programas son equivalentes. Estos son los criterios que recomendamos evaluar:"}),a.jsxs("ul",{children:[a.jsxs("li",{children:[a.jsx("strong",{children:"Modelo 1 a 1 real:"})," que cada colaborador tenga un coach asignado, no un grupo o un curso pregrabado."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Reporting para RRHH:"})," dashboard de avance, tasa de recolocación y NPS."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Cobertura geográfica:"})," Career Coaches locales en los paÃses donde opera tu empresa."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Integración con IA:"})," simulaciones, optimización de CV y matching de vacantes con IA bien implementada."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Indicadores de éxito:"})," tiempo promedio de recolocación, calidad de la oferta y satisfacción NPS."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Velocidad de arranque:"})," cuánto tarda el proveedor en activar el programa después de firmar."]}),a.jsxs("li",{children:[a.jsx("strong",{children:"Continuidad para el colaborador:"})," que tenga acceso a recursos como guÃas de ",a.jsx(je,{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",children:"preguntas de entrevista"})," y ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",children:"cómo conseguir trabajo rápido"}),"."]})]}),a.jsx("h2",{children:"Outplacement con Emplicity en México, Colombia, Perú y Chile"}),a.jsx("p",{children:"En Emplicity diseñamos programas de outplacement para empresas en LATAM combinando un Career Coach 1 a 1 con herramientas de IA. +320 profesionales recolocados, 2.5 meses promedio de recolocación y satisfacción 4.7/5."}),a.jsxs("p",{children:["Conoce el detalle del programa en nuestra página ",a.jsx(je,{to:"/para-empresas",children:"para empresas"}),", revisa nuestra metodologÃa completa en el ",a.jsx(je,{to:"/programa-empleabilidad",children:"programa de empleabilidad"})," y explora qué hace un ",a.jsx(je,{to:"/career-coach",children:"Career Coach"}),"."]}),a.jsxs("p",{children:["Recurso complementario para compartir con tus colaboradores: nuestra guÃa de ",a.jsx(je,{to:"/blog/que-hacer-despues-de-un-despido",children:"qué hacer después de un despido"})," y nuestra página maestra de ",a.jsx(je,{to:"/buscar-trabajo",children:"cómo buscar trabajo"}),"."]}),a.jsx("h2",{children:"Preguntas frecuentes de RRHH sobre outplacement"}),KH.map(e=>a.jsxs("div",{children:[a.jsx("h3",{children:e.q}),a.jsx("p",{children:e.a})]},e.q)),a.jsx("hr",{}),a.jsx("h2",{children:"Diseñemos juntos tu programa de outplacement"}),a.jsx("p",{children:"Cuéntanos el contexto de tu empresa y te enviamos una propuesta a medida para MX, CO, PE y CL."}),a.jsxs("p",{children:[a.jsx("a",{href:LR,children:a.jsx("strong",{children:"Solicitar propuesta a [email protected]"})}),". También puedes conocer todos los detalles en nuestra página ",a.jsx(je,{to:"/para-empresas",children:"para empresas"}),"."]})]})]});function rje(){Xt();const{signOut:e}=Vr();return a.jsx("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-4",children:a.jsxs("div",{className:"max-w-md w-full text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10 text-destructive",children:a.jsx(Zr,{className:"h-8 w-8"})})}),a.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Tu aplicación fue rechazada"}),a.jsx("p",{className:"text-muted-foreground",children:"En esta ocasión tu postulación no fue aceptada. Agradecemos tu interés y te invitamos a intentarlo más adelante."}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:a.jsx(Ce,{variant:"secondary",onClick:()=>e(),className:"w-full sm:w-auto",children:"Cerrar sesión"})})]})})}function aje(){Xt();const{signOut:e}=Vr();return a.jsx("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-4",children:a.jsxs("div",{className:"max-w-md w-full text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-amber-500/10 text-amber-600 dar
1179k:text-amber-400",children:a.jsx(WQ,{className:"h-8 w-8"})})}),a.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Contrato finalizado"}),a.jsx("p",{className:"text-muted-foreground",children:"Tu contrato con Emplicity ha finalizado. Si deseas volver a formar parte del programa, contáctanos para conocer las opciones disponibles."}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:a.jsx(Ce,{variant:"secondary",onClick:()=>e(),className:"w-full sm:w-auto",children:"Cerrar sesión"})})]})})}function ije(){const e=Xt(),{signOut:t}=Vr();return a.jsx("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-4",children:a.jsxs("div",{className:"max-w-md w-full text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10 text-primary",children:a.jsx(z7,{className:"h-8 w-8"})})}),a.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Tu postulación está en revisión"}),a.jsx("p",{className:"text-muted-foreground",children:"En las próximas horas nos pondremos en contacto contigo. Revisa tu correo y teléfono."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:[a.jsx(Ce,{variant:"outline",onClick:()=>e("/"),className:"w-full sm:w-auto",children:"Volver al inicio"}),a.jsx(Ce,{variant:"secondary",onClick:()=>t(),className:"w-full sm:w-auto",children:"Cerrar sesión"})]})]})})}function sje(){const e=Xt(),{signOut:t}=Vr();return a.jsx("div",{className:"min-h-screen bg-background flex flex-col items-center justify-center px-4",children:a.jsxs("div",{className:"max-w-md w-full text-center space-y-6",children:[a.jsx("div",{className:"flex justify-center",children:a.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-full bg-amber-500/10 text-amber-600 dark:text-amber-400",children:a.jsx(VQ,{className:"h-8 w-8"})})}),a.jsx("h1",{className:"text-2xl font-semibold text-foreground",children:"Debes contactar a soporte"}),a.jsx("p",{className:"text-muted-foreground",children:"Tu cuenta se registró con una versión anterior del programa. Para continuar y poder acceder a las herramientas, por favor contacta a soporte para actualizar tu información."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center pt-4",children:[a.jsx(Ce,{variant:"outline",onClick:()=>e("/"),className:"w-full sm:w-auto",children:"Volver al inicio"}),a.jsx(Ce,{variant:"secondary",onClick:()=>t(),className:"w-full sm:w-auto",children:"Cerrar sesión"})]})]})})}const oje=[{name:"Tulia Valdez",role:"Career Coach Lead",highlight:"80+ profesionales colocados",description:"LÃder del equipo de Career Coaching en Emplicity, Tulia ha acompañado a más de 80 profesionales en su camino hacia un nuevo empleo. Especializada en estrategia de carrera, optimización de CV ejecutivo y preparación de entrevistas de alto nivel, su enfoque combina metodologÃa probada con un trato humano y cercano que ha generado resultados consistentes en México, Colombia, Perú y Chile."},{name:"Alejandra Isosorbe",role:"Sr. Career Coach",highlight:"Especialista en transiciones de carrera",description:"Con amplia experiencia en orientación vocacional y desarrollo profesional, Alejandra ha guiado a decenas de profesionales a replantear su
1179carrera, identificar sus fortalezas y posicionarse de forma competitiva en el mercado laboral. Su metodologÃa se centra en la confianza del candidato, la claridad de objetivos y la ejecución disciplinada de la estrategia de búsqueda."},{name:"Jossette GarcÃa",role:"Sr. Career Coach",highlight:"Experta en LinkedIn y marca personal",description:"Jossette se especializa en potenciar la presencia digital de los candidatos. Su enfoque en optimización de LinkedIn, networking estratégico y personal branding ha ayudado a numerosos profesionales a ser encontrados por reclutadores y a generar oportunidades de empleo que antes no existÃan. Combina herramientas de IA con revisión experta para maximizar cada perfil."}],cje=[{question:"¿Qué hace exactamente un Career Coach de Emplicity?",answer:"Tu Career Coach te acompaña en todo el proceso de búsqueda de empleo: desde el diagnóstico inicial de tu perfil, la optimización de tu CV y LinkedIn, la preparación para entrevistas, hasta la negociación salarial y el seguimiento post-oferta. No es un curso ni una consultorÃa puntual: es acompañamiento real hasta que firmes contrato."},{question:"¿Cuántas sesiones tengo con mi Career Coach?",answer:"El programa incluye sesiones grupales semanales durante los 4 meses de duración. Además, tu Career Coach revisa tu CV, tu LinkedIn y te da feedback personalizado de forma continua a través de la plataforma. El contacto es constante, no limitado a unas pocas sesiones."},{question:"¿En qué se diferencia un Career Coach de un headhunter?",answer:"Un headhunter trabaja para la empresa que contrata: busca candidatos para vacantes especÃficas. Un Career Coach trabaja para ti: te prepara, te posiciona y te acompaña para que tú consigas el trabajo que quieres. En Emplicity, el objetivo es que desarrolles las habilidades y la estrategia para conseguir empleo, no que dependas de un intermediario."},{question:"¿Puedo cambiar de Career Coach si no me siento cómodo?",answer:"SÃ. Si sientes que la dinámica con tu Career Coach no es la ideal, puedes solicitar un cambio. Lo importante es que te sientas apoyado y motivado durante todo el proceso."},{question:"¿El Career Coaching funciona si llevo mucho tiempo sin trabajar?",answer:"Absolutamente. De hecho, los profesionales que llevan meses sin empleo suelen beneficiarse enormemente del acompañamiento estructurado. Tu Career Coach te ayuda a actualizar tu perfil, recuperar confianza y ejecutar una estrategia efectiva adaptada a tu situación actual."}];function lje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Career Coach para conseguir trabajo | Emplicity",description:"Trabaja con un Career Coach experto que te acompaña a conseguir empleo: CV, LinkedIn, entrevistas y negociación salarial. Sin pago hasta que firmes contrato. México, Colombia, Perú, Chile.",canonicalPath:"/career-coach"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"Service",name:"Career Coaching - Emplicity",description:"Programa de Career Coaching profesional con acompañamiento real hasta conseguir empleo.",provider:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},areaServed:["MX","CO","PE","CL"]})}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:"Career Coaching Profesional"}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Tu propio Career Coach para conseguir trabajo más rápido"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"En Emplicity trabajas con un Career Coach experto que te acompaña desde el diagnóstico de tu perfil hasta que firmes tu contrato. Sin pago anticipado."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"¿Qué es un Career Coach y por qué necesitas uno?"}),a.jsxs("div",{className:"prose prose-lg max-w-none text-muted-foreground space-y-4",children:[a.jsx("p",{children:"Un Career Coach es un profesional especializado en orientación laboral que te ayuda a definir tus objetivos de carrera, optimizar tu perfil profesional y ejecutar una estrategia de búsqueda de empleo efectiva. A diferencia de un curs
1179o o una plataforma automatizada, un Career Coach trabaja contigo de forma personalizada, ajustando el enfoque según tus fortalezas, tu industria y el mercado laboral de tu paÃs."}),a.jsx("p",{children:"En Emplicity, el Career Coaching no es una sesión suelta ni un servicio genérico. Es un acompañamiento integral durante todo el programa: desde la primera evaluación de tu CV hasta la negociación de tu oferta salarial. Tu Coach conoce tu perfil, tu progreso y tus retos, y adapta la estrategia semana a semana para maximizar tus resultados."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo funciona el Career Coaching en Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:po,title:"Diagnóstico de tu perfil",text:"Tu Career Coach evalúa tu CV, LinkedIn, experiencia y objetivos para diseñar una estrategia personalizada."},{icon:Xn,title:"Optimización con IA + revisión experta",text:"Usamos herramientas de IA para optimizar tu CV y LinkedIn, y tu Coach revisa cada detalle para asegurar calidad."},{icon:bh,title:"Preparación de entrevistas",text:"Simulaciones con IA y feedback real de tu Coach para que llegues seguro a cada entrevista."},{icon:el,title:"Acompañamiento hasta firmar",text:"Tu Coach te acompaña en la negociación salarial y te apoya hasta que firmes tu contrato."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-8 text-center",children:"Career Coaching vs. agencia de empleo: ¿cuál es la diferencia?"}),a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("table",{className:"w-full text-left border-collapse",children:[a.jsx("thead",{children:a.jsxs("tr",{className:"border-b border-border",children:[a.jsx("th",{className:"py-3 px-4 text-foreground font-bold",children:"CaracterÃstica"}),a.jsx("th",{className:"py-3 px-4 text-primary font-bold",children:"Career Coach (Emplicity)"}),a.jsx("th",{className:"py-3 px-4 text-muted-foreground font-bold",children:"Agencia de empleo"})]})}),a.jsx("tbody",{className:"text-muted-foreground",children:[["¿Quién paga?","Tú, solo cuando consigues trabajo","La empresa que contrata"],["¿A quién le rinde cuentas?","A ti, el candidato","A la empresa que paga"],["¿Personalización?","Estrategia 100% a tu medida","Vacantes genéricas disponibles"],["¿Incluye preparación?","CV, LinkedIn, entrevistas, negociación","Solo te postula a vacantes"],["¿Desarrollo de habilidades?","SÃ, aprendes a buscar empleo de por vida","No, dependes de la agencia"]].map(([t,n,r],i)=>a.jsxs("tr",{className:"border-b border-border/50",children:[a.jsx("td",{className:"py-3 px-4 font-medium text-foreground",children:t}),a.jsx("td",{className:"py-3 px-4",children:n}),a.jsx("td",{className:"py-3 px-4",children:r})]},i))})]})})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4 text-center",children:"Conoce al equipo de Career Coaches"}),a.jsx("p",{className:"text-center text-muted-foreground mb-10 max-w-xl mx-auto",children:"Profesionales con experiencia real en colocación de talento en México, Colombia, Perú y Chile."}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:oje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card text-center shadow-sm",children:[a.jsx("div",{className:"w-16 h-16 rounded-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center mx-auto mb-4",children:a.jsx(Da,{className:"w-7 h-7 text-primary-foreground"})}),a.jsx("h3",{className:"text-lg font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-primary font-semibold mb-1",children:t.role}),a.jsx("span",{className:"inline-block text-xs bg-primary/10 text-primary px-3 py-1 rounded-full mb-3",children:t.highlight}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.description})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-8 text-center",children:"Preguntas frecuentes sobre Career Coaching"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:cje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left text-foreground font-semibold",children:t.question}),a.jsx(As,{className:"text-muted-foreground",children:t.answer})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"text-primary hover:underline font-semibold",children:"Conseguir trabajo en México â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â
1179"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"Empieza hoy con tu Career Coach"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Sin pago hasta que firmes contrato. Aplica al programa y comienza a trabajar con un experto que te lleva al siguiente nivel."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx("footer",{className:"py-8 border-t border-border",children:a.jsxs("div",{className:"container mx-auto px-4 text-center text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," Emplicity. Todos los derechos reservados."]})})]})}const uje=[{icon:po,step:"01",title:"Diagnóstico inicial con Career Coach",description:"Tu Career Coach evalúa tu situación actual: experiencia, industria, objetivos y urgencia. A partir de ahÃ, diseña una estrategia personalizada que guÃa todo el proceso. No empiezas desde cero: empiezas desde donde estás."},{icon:br,step:"02",title:"Optimización de CV con IA y revisión experta",description:"Nuestra IA analiza tu CV, identifica áreas de mejora y genera versiones optimizadas para pasar filtros ATS. Tu Career Coach revisa cada detalle para asegurar que el resultado final sea profesional, personalizado y alineado con tu industria."},{icon:up,step:"03",title:"Optimización de perfil LinkedIn",description:"Optimizamos tu perfil de LinkedIn para que sea encontrado por reclutadores: titular, extracto, experiencia y habilidades clave. Combinamos IA para generar contenido con revisión experta que asegura autenticidad y relevancia."},{icon:IE,step:"04",title:"Simulación de entrevistas con IA y feedback real",description:"Practica entrevistas con nuestro simulador de IA que replica preguntas reales de tu industria. Recibe análisis detallado de tus respuestas y feedback de tu Career Coach para mejorar tu comunicación, confianza y storytelling."},{icon:Bd,step:"05",title:"Estrategia de postulación dirigida",description:"No se trata de postular a todo. Tu Career Coach te ayuda a identificar vacantes alineadas a tu perfil, empresas target y canales efectivos. Accedes a un job tracker para organizar tus aplicaciones y dar seguimiento estratégico."},{icon:W7,step:"06",title:"Seguimiento activo hasta firmar contrato",description:"Tu Coach te acompaña en cada etapa del proceso de selección: preparación para entrevistas finales, negociación salarial y revisión de ofertas. El programa no termina hasta que firmes tu contrato."}],dje=[{value:"320+",label:"Profesionales colocados",icon:Da},{value:"4.7/5",label:"Satisfacción del programa",icon:nl},{value:"2.5",label:"Meses promedio para conseguir empleo",icon:En}];function pje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Programa de Empleabilidad con IA | Emplicity",description:"Programa de empleabilidad que combina IA y Career Coaches reales. Consigue trabajo en 2.5 meses. Sin pago anticipado. +320 colocados en MX, CO, PE y CL.",canonicalPath:"/programa-empleabilidad"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"EducationalOccupationalProgram",name:"Programa de Empleabilidad - Emplicity",description:"Programa de empleabilidad que combina IA y Career Coaches reales para ayudarte a conseguir trabajo.",provider:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"},timeToComplete:"P4M",occupationalCategory:"Empleabilidad y búsqueda de empleo"})}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-secondary/5 via-trans
1179parent to-primary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-secondary/10 text-secondary text-sm font-semibold mb-6",children:"Programa de Empleabilidad"}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"El programa de empleabilidad que te lleva del CV al contrato"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Combinamos inteligencia artificial con Career Coaches reales para que consigas empleo en un promedio de 2.5 meses. Sin pago anticipado."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4 text-center",children:"Los 6 módulos del programa"}),a.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-xl mx-auto",children:"Una metodologÃa probada que te acompaña paso a paso desde el diagnóstico hasta la firma de tu contrato."}),a.jsx("div",{className:"space-y-6",children:uje.map((t,n)=>a.jsxs("div",{className:"flex gap-5 p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx("div",{className:"flex-shrink-0",children:a.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-primary to-secondary flex items-center justify-center",children:a.jsx(t.icon,{className:"w-6 h-6 text-primary-foreground"})})}),a.jsxs("div",{children:[a.jsxs("span",{className:"text-xs font-bold text-primary tracking-wider",children:["MÃDULO ",t.step]}),a.jsx("h3",{className:"text-lg font-bold text-foreground mt-1 mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.description})]})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Resultados que hablan por sà solos"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:dje.map((t,n)=>a.jsxs("div",{className:"text-center p-8 rounded-2xl border border-border bg-card shadow-sm",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mx-auto mb-3"}),a.jsx("p",{className:"text-4xl font-display font-black text-foreground",children:t.value}),a.jsx("p",{className:"text-muted-foreground mt-2",children:t.label})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6 text-center",children:"Modelo de pago sin riesgo"}),a.jsxs("div",{className:"p-8 rounded-2xl border border-primary/20 bg-card shadow-sm text-center",children:[a.jsx(FE,{className:"w-12 h-12 text-primary mx-auto mb-4"}),a.jsx("p",{className:"text-lg text-foreground font-semibold mb-4",children:"No pagas nada hasta que firmes tu contrato laboral"}),a.jsx("p",{className:"text-muted-foreground mb-4",children:"El costo del programa equivale a un mes de tu sueldo bruto en tu nuevo trabajo. Solo se cobra cuando ya tienes empleo. Puedes dividirlo en hasta 3 pagos sin intereses."}),a.jsx("p",{className:"text-muted-foreground",children:"Este modelo alinea nuestros incentivos con los tuyos: si tú no ganas, nosotros tampoco. Por eso cada Career Coach y cada herramienta de IA están enfocados en un solo objetivo: que consigas trabajo."})]})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"text-primary hover:underline font-semibold",children:"Conseguir trabajo en México â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â
1179"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"Empieza tu camino hacia un nuevo empleo"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Más de 320 profesionales ya lo lograron. Aplica al programa y trabaja con Career Coaches + IA hasta conseguir trabajo."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx("footer",{className:"py-8 border-t border-border",children:a.jsxs("div",{className:"container mx-auto px-4 text-center text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," Emplicity. Todos los derechos reservados."]})})]})}const My=({links:e})=>(j.useEffect(()=>{const t=[];return e.forEach(n=>{const r=document.createElement("link");r.rel="alternate",r.hreflang=n.hreflang,r.href=n.href,document.head.appendChild(r),t.push(r)}),()=>{t.forEach(n=>n.remove())}},[e]),null),fje=["Disney","HSBC","Deloitte","Nielsen","Warner Bros","PepsiCo","KPMG","Accenture","Cemex","Bimbo"],hje=[{quote:"Llevaba 4 meses sin respuestas. Con Emplicity optimicé mi CV, mi LinkedIn y practiqué entrevistas con IA. En 6 semanas tenÃa 3 ofertas en CDMX.",name:"Carlos M.",role:"Gerente de Operaciones",location:"Ciudad de México"},{quote:"Mi Career Coach me ayudó a enfocar mi búsqueda en las empresas correctas. Conseguà trabajo en una multinacional en Monterrey sin pagar nada por adelantado.",name:"Daniela R.",role:"Analista de Marketing",location:"Monterrey, NL"},{quote:"Pensé que por mi edad iba a ser muy difÃcil. El equipo de Emplicity me preparó para entrevistas de alto nivel y logré una posición directiva en Guadalajara.",name:"Roberto S.",role:"Director Comercial",location:"Guadalajara, JAL"}];function mje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir trabajo en México | Emplicity",description:"Consigue trabajo en México con Career Coaches e IA. +320 profesionales colocados en Disney, HSBC, Deloitte, Accenture. Sin pago hasta firmar contrato.",canonicalPath:"/conseguir-trabajo-mexico"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Conseguir trabajo en México - Emplicity",description:"Programa de empleabilidad para profesionales en México con Career Coaches y herramientas de IA.",url:"https://emplicity.ai/conseguir-trabajo-mexico",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Conseguir trabajo en México",url:"https://emplicity.ai/conseguir-trabajo-mexico"}]}),a.jsx(My,{links:[{href:"https://emplicity.ai/",hreflang:"x-default"},{href:"https://emplicity.ai/conseguir-trabajo-mexico",hreflang:"es-MX"},{href:"https://emplicity.ai/conseguir-trabajo-colombia",hreflang:"es-CO"},{href:"https://emplicity.ai/conseguir-trabajo-peru",hreflang:"es-PE"},{href:"https://emplicity.ai/conseguir-trabajo-chile",hreflang:"es-CL"},{href:"https://emplicity.ai/conseguir-trabajo-monterrey",hreflang:"es-MX"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(Ns,{className:"w-4 h-4"})," México"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo en México más rápido con el apoyo de expertos"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity ha colocado a más de 320 profesionales en empresas lÃderes en México. Career Coaches + IA, sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El mercado laboral en México: retos y oportunidades"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"México tiene uno de los mercados laborales más dinámicos de Latinoamérica, con miles de vacantes abiertas cada mes en ciudades como CDMX, Monterrey, Guadalajara, Puebla y Querétaro. Sin embargo, la competencia es intensa: cada vacante recibe en promedio más de 250 aplicaciones, y la mayorÃa de los CV son filtrados por sistemas ATS antes de que un reclutador los vea."}),a.jsx("p",{children:"Además, el mercado mexicano ha experimentado cambios significativos en los últimos años: la adopción del trabajo remoto e hÃbrido ha abierto nuevas oportunidades, pero también ha globalizado la competencia. Profesionales de toda Latinoamérica ahora compiten por las mismas posiciones, especialmente en sectores como tecnologÃa, finanzas, marketing digital y consultorÃa."}),a.jsx("p",{children:"Para destacar en este contexto, necesitas más que un buen currÃculum: necesitas una estrategia de búsqueda profesional, un LinkedIn optimizado, práctica real de entrevistas y el acompañamiento de alguien que entienda el mercado mexicano. Eso es exactamente lo que ofrece Empl
1179icity."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo conseguir trabajo en México con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:iy,title:"Estrategia adaptada al mercado mexicano",text:"Tu Career Coach conoce las dinámicas del mercado laboral en México: qué buscan las empresas, cómo filtran candidatos y qué diferencia a los perfiles que consiguen entrevistas."},{icon:tl,title:"Conexión con empresas lÃderes",text:"Nuestros candidatos han sido colocados en empresas como Disney, HSBC, Deloitte, PepsiCo, Accenture y más. Preparamos tu perfil para competir al más alto nivel."},{icon:Xn,title:"CV y LinkedIn optimizados para México",text:"Optimizamos tu CV para los filtros ATS que usan las empresas mexicanas y potenciamos tu LinkedIn para que los reclutadores en CDMX, MTY y GDL te encuentren."},{icon:Ns,title:"Cobertura en todo el paÃs",text:"Trabajamos con profesionales en Ciudad de México, Monterrey, Guadalajara, Puebla, Querétaro y otras ciudades. También apoyamos búsquedas remotas e internacionales desde México."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas en México donde hemos colocado talento"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos trabajan hoy en algunas de las empresas más importantes del paÃs."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:fje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Lo que dicen profesionales en México"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:hje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-muted-foreground italic flex-1 mb-4",children:['"',t.quote,'"']}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.role}),a.jsx("p",{className:"text-xs text-primary",children:t.location})]})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para conseguir trabajo en México?"}
1179),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const gje=["Disney","HSBC","Deloitte","Accenture","Rappi","Mercado Libre","PepsiCo","KPMG","Cemex","Nestlé"],xje=[{quote:"Después de 5 meses sin respuestas, Emplicity me ayudó a replantear mi estrategia. En 7 semanas tenÃa oferta en una multinacional en Bogotá.",name:"Andrea L.",role:"Gerente de Proyectos",location:"Bogotá, D.C."},{quote:"Mi Career Coach entendÃa perfecto el mercado colombiano. Me preparó para entrevistas en empresas tech en MedellÃn y conseguà trabajo remoto.",name:"Santiago G.",role:"Desarrollador Full Stack",location:"MedellÃn, Antioquia"},{quote:"Gracias a la optimización de mi CV y LinkedIn, empecé a recibir mensajes de reclutadores. Hoy trabajo en una empresa top en Cali.",name:"Valentina R.",role:"Analista de Marketing Digital",location:"Cali, Valle del Cauca"}],yje=[{question:"¿Emplicity funciona para profesionales en Colombia?",answer:"SÃ. Trabajamos con profesionales en Bogotá, MedellÃn, Cali, Barranquilla y otras ciudades de Colombia. También apoyamos búsquedas remotas e internacionales desde Colombia."},{question:"¿Cuánto cuesta el programa en Colombia?",answer:"No pagas nada hasta que consigas trabajo y firmes contrato. Nuestro modelo de Success Fee significa que solo cobramos cuando tú tienes éxito."},{question:"¿Qué tipo de empresas contratan a candidatos de Emplicity en Colombia?",answer:"Nuestros candidatos han sido colocados en empresas como Rappi, Mercado Libre, Deloitte, Accenture, HSBC, PepsiCo y muchas más multinacionales y empresas locales lÃderes."},{question:"¿Cuánto tiempo tarda en conseguir trabajo con Emplicity en Colombia?",answer:"En promedio, nuestros candidatos consiguen empleo en 2.5 meses. El tiempo varÃa según el perfil, la industria y la disponibilidad del profesional."}];function vje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir trabajo en Colombia | Emplicity",description:"Consigue trabajo en Colombia con Career Coaches e IA. +320 profesionales colocados. Sin pago hasta firmar contrato. Bogotá, MedellÃn, Cali.",canonicalPath:"/conseguir-trabajo-colombia"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Conseguir trabajo en Colombia - Emplicity",description:"Programa de empleabilidad para profesionales en Colombia con Career Coaches y herramientas de IA.",url:"https://emplicity.ai/conseguir-trabajo-colombia",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Conseguir trabajo en Colombia",url:"https://emplicity.ai/conseguir-trabajo-colombia"}]}),a.jsx(My,{links:[{href:"https://emplicity.ai/",hreflang:"x-default"},{href:"https://emplicity.ai/conseguir-trabajo-mexico",hreflang:"es-MX"},{href:"https://emplicity.ai/conseguir-trabajo-colombia",hreflang:"es-CO"},{href:"https://emplicity.ai/conseguir-trabajo-peru",hreflang:"es-PE"},{href:"https://emplicity.ai/conseguir-trabajo-chile",hreflang:"es-CL"},{href:"https://emplicity.ai/conseguir-trabajo-monterrey",hreflang:"es-MX"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(Ns,{className:"w-4 h-4"})," Colombia"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo en Colombia más rápido con el apoyo de expertos"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity ha colocado a más de 320 profesionales en empresas lÃderes. Career Coaches + IA, sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-12 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:a.jsxs("div",{className:"grid grid-cols-3 gap-6 text-center",children:[a.jsxs("div",{children:[a.jsx(Da,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"320+"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Profesionales colocados"})]}),a.jsxs("div",{children:[a.jsx(nl,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"4.7/5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Satisfacción promedio"})]}),a.jsxs("div",{children:[a.jsx(En,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"2.5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Meses en promedio"})]})]})})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El mercado laboral en Colombia: retos y oportunidades"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"Colombia se ha consolidado como uno de los hub
1179s tecnológicos y de servicios más importantes de Latinoamérica. Ciudades como Bogotá, MedellÃn, Cali y Barranquilla concentran miles de vacantes en sectores como tecnologÃa, finanzas, marketing digital, consultorÃa y operaciones."}),a.jsx("p",{children:"Sin embargo, la competencia es feroz: cada vacante atractiva recibe cientos de aplicaciones y los sistemas ATS filtran la mayorÃa antes de que un reclutador las vea. El crecimiento del trabajo remoto ha globalizado la competencia, con profesionales de toda la región postulando a las mismas posiciones."}),a.jsx("p",{children:"Para destacar en el mercado colombiano necesitas una estrategia profesional: un CV optimizado para ATS, un LinkedIn que atraiga reclutadores, práctica real de entrevistas y el acompañamiento de alguien que entienda las dinámicas locales. Eso es exactamente lo que ofrece Emplicity."})]})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo conseguir trabajo en Colombia con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:iy,title:"Estrategia adaptada al mercado colombiano",text:"Tu Career Coach conoce las dinámicas del mercado laboral en Colombia: qué buscan las empresas, cómo filtran candidatos y qué diferencia a los perfiles que consiguen entrevistas."},{icon:tl,title:"Conexión con empresas lÃderes",text:"Nuestros candidatos han sido colocados en empresas como Rappi, Mercado Libre, Deloitte, Accenture, HSBC y más. Preparamos tu perfil para competir al más alto nivel."},{icon:Xn,title:"CV y LinkedIn optimizados para Colombia",text:"Optimizamos tu CV para los filtros ATS que usan las empresas colombianas y potenciamos tu LinkedIn para que los re
1179clutadores en Bogotá, MedellÃn y Cali te encuentren."},{icon:Ns,title:"Cobertura en todo el paÃs",text:"Trabajamos con profesionales en Bogotá, MedellÃn, Cali, Barranquilla, Bucaramanga y otras ciudades. También apoyamos búsquedas remotas e internacionales desde Colombia."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas donde hemos colocado talento"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos trabajan hoy en algunas de las empresas más importantes de Colombia y la región."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:gje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Lo que dicen profesionales en Colombia"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:xje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-muted-foreground italic flex-1 mb-4",children:['"',t.quote,'"']}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.role}),a.jsx("p",{className:"text-xs text-primary",children:t.location})]})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre conseguir trabajo en Colombia"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:yje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold",children:t.question}),a.jsx(As,{className:"text-muted-foreground",children:t.answer})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para conseguir trabajo en Colombia?"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}
1179const bje=["Disney","HSBC","Deloitte","Accenture","Rappi","Mercado Libre","PepsiCo","KPMG","Belcorp","Interbank"],wje=[{quote:"Llevaba 6 meses buscando sin éxito. Con Emplicity optimicé todo mi perfil y en 2 meses tenÃa una oferta en una multinacional en Lima.",name:"MarÃa F.",role:"Coordinadora de RRHH",location:"Lima, Perú"},{quote:"Mi Career Coach me ayudó a enfocar mi búsqueda en el sector correcto. Hoy trabajo en una empresa top en San Isidro con un salario 30% mayor.",name:"Diego C.",role:"Analista Financiero",location:"Lima, Perú"},{quote:"Pensé que cambiar de carrera serÃa imposible. El equipo de Emplicity me preparó para entrevistas técnicas y logré el cambio que buscaba.",name:"Carla M.",role:"Product Manager",location:"Arequipa, Perú"}],jje=[{question:"¿Emplicity funciona para profesionales en Perú?",answer:"SÃ. Trabajamos con profesionales en Lima, Arequipa, Trujillo, Cusco y otras ciudades de Perú. También apoyamos búsquedas remotas e internacionales desde Perú."},{question:"¿Cuánto cuesta el programa en Perú?",answer:"No pagas nada hasta que consigas trabajo y firmes contrato. Nuestro modelo de Success Fee significa que solo cobramos cuando tú tienes éxito."},{question:"¿Qué tipo de empresas contratan a candidatos de Emplicity en Perú?",answer:"Nuestros candidatos han sido colocados en empresas como Deloitte, Accenture, HSBC, Belcorp, Interbank, PepsiCo y muchas más multinacionales y empresas peruanas lÃderes."},{question:"¿Cuánto tiempo tarda en conseguir trabajo con Emplicity en Perú?",answer:"En promedio, nuestros candidatos consiguen empleo en 2.5 meses. El tiempo varÃa según el perfil, la industria y la disponibilidad del profesional."}];function _je(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir trabajo en Perú | Emplicity",description:"Consigue trabajo en Perú con Career Coaches e IA. +320 profesionales colocados. Sin pago hasta firmar contrato. Lima y todo Perú.",canonicalPath:"/conseguir-trabajo-peru"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Conseguir trabajo en Perú - Emplicity",description:"Programa de empleabilidad para profesionales en Perú con Career Coaches y herramientas de IA.",url:"https://emplicity.ai/conseguir-trabajo-peru",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Conseguir trabajo en Perú",url:"https://emplicity.ai/conseguir-trabajo-peru"}]}),a.jsx(My,{links:[{href:"https://emplicity.ai/",hreflang:"x-default"},{href:"https://emplicity.ai/conseguir-trabajo-mexico",hreflang:"es-MX"},{href:"https://emplicity.ai/conseguir-trabajo-colombia",hreflang:"es-CO"},{href:"https://emplicity.ai/conseguir-trabajo-peru",hreflang:"es-PE"},{href:"https://emplicity.ai/conseguir-trabajo-chile",hreflang:"es-CL"},{href:"https://emplicity.ai/conseguir-trabajo-monterrey",hreflang:"es-MX"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(Ns,{className:"w-4 h-4"})," Perú"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo en Perú más rápido con el apoyo de expertos"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity ha colocado a más de 320 profesionales en empresas lÃderes. Career Coaches + IA, sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-12 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:a.jsxs("div",{className:"grid grid-cols-3 gap-6 text-center",children:[a.jsxs("div",{children:[a.jsx(Da,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"320+"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Profesionales colocados"})]}),a.jsxs("div",{children:[a.jsx(nl,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"4.7/5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Satisfacción promedio"})]}),a.jsxs("div",{children:[a.jsx(En,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"2.5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Meses en promedio"})]})]})})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El mercado laboral en Perú: retos y oportunidades"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"Perú ha experimentado un crecimiento económico sostenido que ha generado oportunidades laborales en sectores como minerÃa, banca, tecnologÃa, retail y servicios profesionales. Lima concentra la mayor parte de las vacantes corporativas, pero ciudades como Arequipa, Trujillo y Cusco también presentan oportunidades crecientes."}),a.jsx("p",{children:"Sin embargo, el mercado peruano es altamente competitivo: las vacantes en empresas to
1179p reciben cientos de postulaciones y los procesos de selección son cada vez más rigurosos. La adopción del trabajo remoto ha ampliado las opciones, pero también ha incrementado la competencia con profesionales de toda Latinoamérica."}),a.jsx("p",{children:"Para destacar necesitas más que experiencia: necesitas un CV optimizado para sistemas ATS, un LinkedIn profesional que atraiga headhunters, preparación real para entrevistas y una estrategia clara de búsqueda. Emplicity te ofrece todo esto con el acompañamiento de un Career Coach experto."})]})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo conseguir trabajo en Perú con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:iy,title:"Estrategia adaptada al mercado peruano",text:"Tu Career Coach conoce las dinámicas del mercado laboral en Perú: qué buscan las empresas, cómo filtran candidatos y qué diferencia a los perfiles que consiguen entrevistas."},{icon:tl,title:"Conexión con empresas lÃderes",text:"Nuestros candidatos han sido colocados en empresas como Deloitte, Accenture, Belcorp, Interbank, HSBC y más. Preparamos tu perfil para competir al más alto nivel."},{icon:Xn,title:"CV y LinkedIn optimizados para Perú",text:"Optimizamos tu CV para los filtros ATS que usan las empresas peruanas y potenciamos tu LinkedIn para que los re
1179clutadores en Lima y otras ciudades te encuentren."},{icon:Ns,title:"Cobertura en todo el paÃs",text:"Trabajamos con profesionales en Lima, Arequipa, Trujillo, Cusco, Piura y otras ciudades. También apoyamos búsquedas remotas e internacionales desde Perú."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas donde hemos colocado talento"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos trabajan hoy en algunas de las empresas más importantes de Perú y la región."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:bje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Lo que dicen profesionales en Perú"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:wje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-muted-foreground italic flex-1 mb-4",children:['"',t.quote,'"']}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.role}),a.jsx("p",{className:"text-xs text-primary",children:t.location})]})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre conseguir trabajo en Perú"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:jje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold",children:t.question}),a.jsx(As,{className:"text-muted-foreground",children:t.answer})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para conseguir trabajo en Perú?"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const Nje=["Disney","HSBC","Deloitte","Accenture","Rappi","Mercado Libre","PepsiCo","KPMG","Falabella","LATAM Airlines"],Cje=[{quote:"Después de meses envi
1179ando CVs sin respuesta, Emplicity me ayudó a reestructurar mi estrategia. En 6 semanas tenÃa 2 ofertas en Santiago.",name:"Francisca T.",role:"Jefa de Operaciones",location:"Santiago, Chile"},{quote:"Mi Career Coach me preparó para entrevistas en empresas multinacionales. Hoy trabajo en una de las mejores empresas de tecnologÃa en Las Condes.",name:"MatÃas V.",role:"Ingeniero de Software",location:"Santiago, Chile"},{quote:"Gracias a Emplicity pude hacer la transición de carrera que buscaba. La optimización de LinkedIn fue clave para que me contactaran reclutadores.",name:"Catalina P.",role:"Consultora de Negocios",location:"ValparaÃso, Chile"}],Eje=[{question:"¿Emplicity funciona para profesionales en Chile?",answer:"SÃ. Trabajamos con profesionales en Santiago, ValparaÃso, Concepción, Antofagasta y otras ciudades de Chile. También apoyamos búsquedas remotas e internacionales desde Chile."},{question:"¿Cuánto cuesta el programa en Chile?",answer:"No pagas nada hasta que consigas trabajo y firmes contrato. Nuestro modelo de Success Fee significa que solo cobramos cuando tú tienes éxito."},{question:"¿Qué tipo de empresas contratan a candidatos de Emplicity en Chile?",answer:"Nuestros candidatos han sido colocados en empresas como Falabella, LATAM Airlines, Deloitte, Accenture, HSBC, Mercado Libre y muchas más multinacionales y empresas chilenas lÃderes."},{question:"¿Cuánto tiempo tarda en conseguir trabajo con Emplicity en Chile?",answer:"En promedio, nuestros candidatos consiguen empleo en 2.5 meses. El tiempo varÃa según el perfil, la industria y la disponibilidad del profesional."}];function Sje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir trabajo en Chile | Emplicity",description:"Consigue trabajo en Chile con Career Coaches e IA. +320 profesionales colocados. Sin pago hasta firmar contrato. Santiago y todo Chile.",canonicalPath:"/conseguir-trabajo-chile"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Conseguir trabajo en Chile - Emplicity",description:"Programa de empleabilidad para profesionales en Chile con Career Coaches y herramientas de IA.",url:"https://emplicity.ai/conseguir-trabajo-chile",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Conseguir trabajo en Chile",url:"https://emplicity.ai/conseguir-trabajo-chile"}]}),a.jsx(My,{links:[{href:"https://emplicity.ai/",hreflang:"x-default"},{href:"https://emplicity.ai/conseguir-trabajo-mexico",hreflang:"es-MX"},{href:"https://emplicity.ai/conseguir-trabajo-colombia",hreflang:"es-CO"},{href:"https://emplicity.ai/conseguir-trabajo-peru",hreflang:"es-PE"},{href:"https://emplicity.ai/conseguir-trabajo-chile",hreflang:"es-CL"},{href:"https://emplicity.ai/conseguir-trabajo-monterrey",hreflang:"es-MX"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(Ns,{className:"w-4 h-4"})," Chile"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo en Chile más rápido con el apoyo de expertos"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity ha colocado a más de 320 profesionales en empresas lÃderes. Career Coaches + IA, sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplicar al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-12 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4 max-w-4xl",children:a.jsxs("div",{className:"grid grid-cols-3 gap-6 text-center",children:[a.jsxs("div",{children:[a.jsx(Da,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"320+"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Profesionales colocados"})]}),a.jsxs("div",{children:[a.jsx(nl,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"4.7/5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Satisfacción promedio"})]}),a.jsxs("div",{children:[a.jsx(En,{className:"w-8 h-8 text-primary mx-auto mb-2"}),a.jsx("p",{className:"text-3xl font-bold text-foreground",children:"2.5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Meses en promedio"})]})]})})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El mercado laboral en Chile: retos y oportunidades"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"Chile cuenta con una de las economÃas más estables y desarrolladas de Latinoamérica, con un mercado laboral que ofrece oportunidades en sectores como minerÃa, banca, tecnologÃa, retail, energÃa y servicios profesionales. Santiago concentra la mayorÃa de las vacantes corporativas, aunque ValparaÃso, Concepción y Antofagasta también presentan oportunidades relevantes."}),a.jsx("p",{children:"Sin embargo, el mercado chileno es exigente: las empresas utilizan procesos de selección rigurosos y los sistemas ATS filtran la mayorÃa de las postulaciones. La competencia se ha intensificado con la llegada de talento internacional y la adopción del trabajo remoto, que permite a empresas chilenas contratar profesionales de toda la región."}),a.jsx("p",{children:"Para competir necesitas un perfil profesional impecable: un CV adaptado a los estándares chilenos, un LinkedIn optimizado para headhunters, preparación para entrevistas por competencias y una estrategia de búsqueda enfocada. Emplicity te ofrece todo esto con el respaldo de un Career Coach dedicado."})]})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo conseguir trabajo en Chile con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:iy,title:"Estrategia adaptada al mercado chileno",text:"Tu Career Coach conoce las dinámicas del mercado laboral en Chile: qué buscan las empresas, cómo filtran candidatos y qué diferencia a los perfiles que consiguen entrevistas."},{icon:tl,title:"Conexión con empresas lÃderes",text:"Nuestros candidatos han sido colocados en empresas como Falabella, LATAM Airlines, Deloitte, Accenture, Mercado Libre y más. Preparamos tu perfil para competir al más alto
1179nivel."},{icon:Xn,title:"CV y LinkedIn optimizados para Chile",text:"Optimizamos tu CV para los filtros ATS que usan las empresas chilenas y potenciamos tu LinkedIn para que los reclutadores en Santiago y otras ciudades te encuentren."},{icon:Ns,title:"Cobertura en todo el paÃs",text:"Trabajamos con profesionales en Santiago, ValparaÃso, Concepción, Antofagasta, Temuco y otras ciudades. También apoyamos búsquedas remotas e internacionales desde Chile."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas donde hemos colocado talento"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos trabajan hoy en algunas de las empresas más importantes de Chile y la región."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:Nje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Lo que dicen profesionales en Chile"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Cje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-muted-foreground italic flex-1 mb-4",children:['"',t.quote,'"']}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.role}),a.jsx("p",{className:"text-xs text-primary",children:t.location})]})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre conseguir trabajo en Chile"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:Eje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold",children:t.question}),a.jsx(As,{className:"text-muted-foreground",children:t.answer})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/",className:"text-primary hover:underline font-semibold",children:"Inicio â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para conseguir trabajo en Chile?"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplicar ahora ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const Dje=["FEMSA","CEMEX","Softtek","Grupo Herdez","Ternium","Deloitte","Acce
1179nture","HSBC","Whirlpool","Schneider Electric"],Aje=[{quote:"Mi Career Coach me ayudó a enfocar mi búsqueda en las empresas correctas en Monterrey. Conseguà trabajo en una multinacional sin pagar nada por adelantado.",name:"Daniela R.",role:"Analista de Marketing",location:"Monterrey, NL"},{quote:"Llevaba meses postulando sin resultados. Con Emplicity optimicé mi CV para el mercado regiomontano y en 5 semanas tenÃa dos ofertas.",name:"Fernando G.",role:"Ingeniero de Procesos",location:"San Pedro Garza GarcÃa, NL"},{quote:"La simulación de entrevistas con IA fue clave. Llegué mucho más preparado a las entrevistas finales y negocié un mejor salario.",name:"Paola M.",role:"Gerente de Finanzas",location:"Monterrey, NL"}],kje=[{q:"¿Emplicity trabaja especÃficamente con empresas en Monterrey?",a:"SÃ. Nuestros coaches conocen el ecosistema empresarial de Monterrey y el área metropolitana, incluyendo los sectores de manufactura, tecnologÃa, finanzas y servicios. Preparamos tu perfil para competir en este mercado."},{q:"¿Puedo usar Emplicity si busco trabajo remoto desde Monterrey?",a:"Por supuesto. Muchos de nuestros candidatos en Monterrey consiguen posiciones remotas o hÃbridas en empresas de CDMX, otras ciudades de México o incluso internacionales."},{q:"¿Cuánto tiempo tarda en colocarme Emplicity?",a:"El promedio de colocación es de 2.5 meses. Algunos candidatos consiguen ofertas en menos tiempo, especialmente en sectores de alta demanda como tecnologÃa y manufactura en Monterrey."},{q:"¿Cuándo se paga el servicio?",a:"Solo pagas cuando firmas contrato con una empresa. No hay pagos anticipados ni mensualidades. Nuestro modelo de pago al éxito garantiza que solo ganamos cuando tú ganas."}];function Tje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir trabajo en Monterrey | Emplicity",description:"Consigue trabajo en Monterrey con Career Coaches e IA. Más de 320 profesionales ya colocados. Sin pago hasta firmar contrato. Aplica hoy.",canonicalPath:"/conseguir-trabajo-monterrey"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Conseguir trabajo en Monterrey - Emplicity",description:"Programa de empleabilidad para profesionales en Monterrey con Career Coaches y herramientas de IA.",url:"https://emplicity.ai/conseguir-trabajo-monterrey",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Conseguir trabajo en Monterrey",url:"https://emplicity.ai/conseguir-trabajo-monterrey"}]}),a.jsx(My,{links:[{href:"https://emplicity.ai/",hreflang:"x-default"},{href:"https://emplicity.ai/conseguir-trabajo-mexico",hreflang:"es-MX"},{href:"https://emplicity.ai/conseguir-trabajo-colombia",hreflang:"es-CO"},{href:"https://emplicity.ai/conseguir-trabajo-peru",hreflang:"es-PE"},{href:"https://emplicity.ai/conseguir-trabajo-chile",hreflang:"es-CL"},{href:"https://emplicity.ai/conseguir-trabajo-monterrey",hreflang:"es-MX"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(Ns,{className:"w-4 h-4"})," Monterrey"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo en Monterrey más rápido con el apoyo de expertos"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity ha colocado a más de 320 profesionales en empresas lÃderes. Career Coaches + IA, sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplica gratis ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El mercado laboral en Monterrey: oportunidades y competencia"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"Monterrey es la capital industrial de México y uno de los mercados laborales más dinámicos del paÃs. La ciudad y su área metropolitana concentran sectores clave como manufactura, automotriz, tecnologÃa, finanzas, logÃstica y servicios profesionales. Empresas como FEMSA, CEMEX, Softtek, Ternium y Grupo Herdez tienen su sede aquÃ, además de decenas de multinacionales con operaciones importantes."}),a.jsx("p",{children:"Sin embargo, la competencia es feroz. El talento regiomontano es reconocido por su orientación a resultados y su ética de trabajo, lo que significa que cada vacante atrae a candidatos altamente calificados. Para destacar necesitas más que experiencia: necesitas una estrategia de búsqueda profesional, un CV optimizado para los filtros ATS que usan estas empresas, y preparación especÃfica para entrevistas en el contexto regi
1179omontano."}),a.jsx("p",{children:"Además, el ecosistema de startups y empresas de tecnologÃa en Monterrey ha crecido exponencialmente. Parques tecnológicos, incubadoras y la presencia de empresas como Softtek, Neoris y Epicor han convertido a la ciudad en un hub tech emergente, abriendo oportunidades para perfiles digitales y de innovación."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo Emplicity ayuda a profesionales en Monterrey"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:iy,title:"Estrategia para el mercado regiomontano",text:"Tu Career Coach conoce las dinámicas de Monterrey: qué buscan FEMSA, CEMEX, Softtek y otras empresas clave, cómo filtran candidatos y qué diferencia a los perfiles que consiguen entrevistas."},{icon:tl,title:"Conexión con empresas lÃderes",text:"Nuestros candidatos han sido colocados en empresas de manufactura, tecnologÃa, finanzas y servicios en Monterrey y su área metropolitana."},{icon:Xn,title:"CV y LinkedIn optimizados",text:"Optimizamos tu CV para los filtros ATS y potenciamos tu LinkedIn para que los re
1179clutadores en Monterrey, San Pedro y Santa Catarina te encuentren."},{icon:Ns,title:"Cobertura local y remota",text:"Trabajamos con profesionales en Monterrey, San Pedro Garza GarcÃa, Santa Catarina, Apodaca y toda el área metropolitana. También apoyamos búsquedas remotas."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas en Monterrey donde hemos colocado talento"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos trabajan hoy en empresas lÃderes de la zona metropolitana de Monterrey."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:Dje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Lo que dicen profesionales en Monterrey"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Aje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-muted-foreground italic flex-1 mb-4",children:['"',t.quote,'"']}),a.jsxs("div",{children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.role}),a.jsx("p",{className:"text-xs text-primary",children:t.location})]})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre buscar trabajo en Monterrey"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:kje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold text-foreground",children:a.jsxs("span",{className:"flex items-start gap-2",children:[a.jsx(lp,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),t.q]})}),a.jsx(As,{className:"text-muted-foreground pl-7",children:t.a})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"text-primary hover:underline font-semibold",children:"Conseguir trabajo en México â"}),a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para conseguir trabajo en Monterrey?"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplica gratis ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const Pje=[{q:"¿Emplicity funciona si quiero cambiar completamente de industria?",a:"SÃ. Nuestros coaches tienen experiencia acompañando candidatos que pasan de una industria a otra. Trabajamos contigo para identificar habilidades transferibles y reposicionar tu perfil profesional."},{q:"¿Cómo presento mi experiencia si no es exacta para el nuevo rol?",a:"Tu Career Coach te ayuda a reescribir tu CV y LinkedIn enfocándote en logros y competencias que aplican al nuevo rol, usando el lenguaje que los re
1179clutadores de esa industria buscan."},{q:"¿Cuánto tarda el proceso de cambio de carrera con Emplicity?",a:"Depende de cada caso, pero el promedio de colocación de nuestros candidatos es de 2.5 meses. Los cambios de carrera pueden tomar un poco más, pero con la estrategia correcta se acelera significativamente."},{q:"¿Cuándo se paga?",a:"Solo pagas cuando firmas contrato con una empresa. No hay pagos anticipados, mensualidades ni costos ocultos. Nuestro modelo de pago al éxito garantiza que solo ganamos cuando tú ganas."}],Lje=[{from:"Gerente de ventas en retail",to:"Key Account Manager en tecnologÃa",time:"2 meses"},{from:"Contador en manufactura",to:"Analista financiero en fintech",time:"3 meses"},{from:"Docente universitario",to:"Diseñador instruccional en EdTech",time:"2.5 meses"}];function Rje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo cambiar de carrera profesional con éxito | Emplicity",description:"Quieres cambiar de industria o de área profesional? Emplicity te acompaña con Career Coaches e IA para redefinir tu perfil y conseguir entrevistas. Sin pago anticipado.",canonicalPath:"/cambio-de-carrera"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Cambio de carrera profesional - Emplicity",description:"Programa de acompañamiento para profesionales en transición de carrera con Career Coaches e IA.",url:"https://emplicity.ai/cambio-de-carrera",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsx(Fu,{items:[{name:"Inicio",url:"https://emplicity.ai/"},{name:"Cambio de carrera",url:"https://emplicity.ai/cambio-de-carrera"}]}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(qf,{className:"w-4 h-4"})," Transición profesional"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Cambia de carrera profesional sin empezar desde cero"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Emplicity te acompaña con Career Coaches e IA para redefinir tu perfil, reposicionar tu experiencia y conseguir entrevistas en tu nueva industria. Sin pago anticipado."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"Por qué cambiar de carrera es más difÃcil sin ayuda"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"Cambiar de industria o de área profesional es uno de los movimientos más desafiantes en una carrera. Los reclutadores suelen buscar experiencia directa, los filtros ATS descartan CVs que no coinciden exactamente con las palabras clave de la vacante, y tu red de contactos puede no cubrir la nueva industria que te interesa."}),a.jsx("p",{children:"Sin la guÃa adecuada, muchos profesionales en transición cometen errores costosos: envÃan el mismo CV que usaban en su industria anterior, no saben cómo explicar el cambio en una entrevista, o postulan a vacantes equivocadas. El resultado es frustración, meses perdidos y la tentación de volver a lo conocido aunque no sea lo que quieres."}),a.jsx("p",{children:"Con el acompañamiento correcto, un cambio de carrera puede ser más rápido y exitoso de lo que imaginas. La clave está en identificar tus habilidades transferibles, reposicionar tu narrativa profesional y ejecutar una estrategia de búsqueda dirigid
1179a."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo Emplicity trabaja con candidatos en transición"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:po,title:"Diagnóstico de habilidades transferibles",text:"Tu coach analiza tu experiencia y extrae las competencias que aplican a tu nueva industria: liderazgo, gestión de proyectos, análisis de datos, comunicación y más."},{icon:qf,title:"Reposicionamiento de CV y LinkedIn",text:"Reescribimos tu CV y LinkedIn usando el lenguaje y las palabras clave de tu nueva industria, enfocándonos en logros que demuestren que puedes hacer el trabajo."},{icon:Xn,title:"Estrategia de postulación dirigida",text:"No postulas a ciegas. Tu coach te ayuda a identificar empresas y roles donde tu perfil en transición es una ventaja, no una desventaja."},{icon:Da,title:"Preparación para explicar el cambio",text:"Practicamos cómo presentar tu cambio de carrera como una decisión estratég
1179ica, no como una huida. Los reclutadores valoran candidatos que saben articular su por qué."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Ejemplos de cambios de carrera acompañados"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Lje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm text-center",children:[a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"De:"}),a.jsx("p",{className:"font-bold text-foreground mb-3",children:t.from}),a.jsx(Gt,{className:"w-5 h-5 text-primary mx-auto mb-3"}),a.jsx("p",{className:"text-sm text-muted-foreground mb-2",children:"A:"}),a.jsx("p",{className:"font-bold text-foreground mb-3",children:t.to}),a.jsx("span",{className:"inline-block px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-semibold",children:t.time})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre cambio de carrera"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:Pje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold text-foreground",children:a.jsxs("span",{className:"flex items-start gap-2",children:[a.jsx(lp,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),t.q]})}),a.jsx(As,{className:"text-muted-foreground pl-7",children:t.a})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Explora más sobre Emplicity:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa de empleabilidad â"}),a.jsx(je,{to:"/blog/que-es-un-career-coach",className:"text-primary hover:underline font-semibold",children:"¿Qué es un Career Coach? â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"¿Listo para dar el salto profesional?"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto en transiciones de carrera. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const Oje=[{q:"¿Cómo hago mi CV si no tengo experiencia laboral?",a:"Tu Career Coach te ayuda a construir un CV competitivo usando tus proyectos académicos, voluntariados, habilidades técnicas y logros personales. Además, optimizamos tu CV para pasar los filtros ATS que usan las empresas. Consulta nuestra guÃa completa sobre cómo hacer un CV sin experiencia."},{q:"¿Qué pongo en LinkedIn siendo recién egresado?",a:"LinkedIn es clave incluso sin experiencia. Tu coach te ayuda a escribir un titular atractivo, un resumen profesional que destaque tu potencial, y a posicionar tu perfil para que los re
1179clutadores te encuentren. Tenemos una guÃa completa de LinkedIn para conseguir trabajo."},{q:"¿Cuánto tarda conseguir mi primer empleo con Emplicity?",a:"El promedio de colocación general es de 2.5 meses. Para primer empleo puede variar según tu perfil y el mercado, pero con la estrategia correcta y el acompañamiento de un Career Coach, el proceso se acelera significativamente frente a buscar solo."},{q:"¿Emplicity funciona para pasantÃas o prácticas profesionales?",a:"SÃ. El programa te prepara para cualquier tipo de oportunidad laboral: pasantÃas, prácticas profesionales, trainee programs y posiciones junior. La metodologÃa se adapta a tu objetivo."},{q:"¿Puedo aplicar siendo estudiante?",a:"SÃ, puedes aplicar si estás en los últimos semestres de tu carrera o si ya egresaste. Lo importante es que tengas disponibilidad para trabajar y compromiso con el proceso de búsqueda."}],Ije=[{name:"Alejandra M.",role:"Ejecutiva de Ventas",from:"Recién egresada de Administración",time:"2 meses",location:"Guadalajara, México"},{name:"Carlos T.",role:"Analista de Datos Jr.",from:"Egresado de IngenierÃa Industrial",time:"6 semanas",location:"Bogotá, Colombia"},{name:"Valentina R.",role:"Coordinadora de Marketing Digital",from:"Recién egresada de Comunicación",time:"3 meses",location:"Lima, Perú"}];function Uje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo conseguir tu primer empleo sin experiencia con IA y Career Coach | Emplicity",description:"Consigue tu primer empleo sin experiencia con Emplicity. Plan personalizado, CV optimizado, LinkedIn y entrevistas con Career Coach + IA. Ideal para recién egresados en México Colombia Perú y Chile.",canonicalPath:"/primer-empleo"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Primer empleo sin experiencia - Emplicity",description:"Programa de empleabilidad para recién egresados y jóvenes profesionales sin experiencia laboral.",url:"https://emplicity.ai/primer-empleo",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx($7,{className:"w-4 h-4"})," Recién egresados"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue tu primer empleo sin experiencia con Career Coach + IA"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"Sabemos lo frustrante que es postular sin respuesta. Emplicity te da un plan personalizado, CV optimizado, LinkedIn profesional y simulaciones de entrevista para que consigas tu primer trabajo. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"Por qué cuesta tanto conseguir el primer empleo en LATAM"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:'Cada año millones de jóvenes egresan de universidades en México, Colombia, Perú y Chile. Todos compiten por las mismas vacantes de entrada, muchas de las cuales piden "1 a 2 años de experiencia" como requisito mÃnimo. Es una paradoja: necesitas experiencia para trabajar, pero necesitas trabajar para tener experiencia.'}),a.jsx("p",{children:"El problema se agrava porque la mayorÃa de los recién egresados no saben cómo presentar lo que sà tienen: proyectos académicos, voluntariados, habilidades técnicas, idiomas y competencias blandas que las empresas valoran. EnvÃan CVs genéricos, no optimizan su LinkedIn y llegan a las entrevistas sin preparación real."}),a.jsx("p",{children:"El resultado es meses de postulaciones sin respuesta, frustración creciente y la tentación de aceptar cualquier oferta, incluso si no tiene nada que ver con tu carrera. Con la estrategia correcta y el acompañamiento adecuado, este ciclo se rompe."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo Emplicity acompaña a jóvenes profesionales paso a paso"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:po,title:"CV desde cero, optimizado para ATS",text:"Tu coach te ayuda a construir un CV competitivo usando tus proyectos, voluntariados y habilidades. Lo optimizamos para pasar los filtros ATS que usan las empresas."},{icon:Da,title:"LinkedIn profesional desde el dÃa uno",text:"Creamos o optimizamos tu perfil de LinkedIn con un titular atractivo, resumen profesional y palabras clave para que los re
1179clutadores te encuentren."},{icon:Xn,title:"Simulaciones de entrevista con IA",text:"Practica entrevistas reales con nuestra IA antes de enfrentar a un reclutador. Recibe feedback inmediato sobre tus respuestas, lenguaje corporal y estructura."},{icon:el,title:"Bolsa de trabajo y red de mentores",text:"Accede a vacantes especialmente seleccionadas para perfiles junior y conéctate con profesionales que ya pasaron por donde tú estás."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Jóvenes que consiguieron su primer trabajo con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Ije.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsxs("p",{className:"text-sm text-muted-foreground mb-1",children:["Antes: ",t.from]}),a.jsxs("p",{className:"font-bold text-foreground mb-3",children:["Ahora: ",t.role]}),a.jsxs("div",{className:"mt-auto",children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsx("p",{className:"text-xs text-muted-foreground",children:t.location}),a.jsx("span",{className:"inline-block mt-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-semibold",children:t.time})]})]},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre primer empleo"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:Oje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold text-foreground",children:a.jsxs("span",{className:"flex items-start gap-2",children:[a.jsx(lp,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),t.q]})}),a.jsx(As,{className:"text-muted-foreground pl-7",children:t.a})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Recursos para tu búsqueda:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm",children:[a.jsx(je,{to:"/blog/como-hacer-cv-sin-experiencia",className:"text-primary hover:underline font-semibold",children:"CV sin experiencia â"}),a.jsx(je,{to:"/blog/carta-de-presentacion-ejemplos",className:"text-primary hover:underline font-semibold",children:"Carta de presentación â"}),a.jsx(je,{to:"/blog/como-optimizar-tu-cv-para-ats",className:"text-primary hover:underline font-semibold",children:"Optimizar CV para ATS â"}),a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa â"})]}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm mt-3",children:[a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"text-primary hover:underline font-semibold",children:"México â"}),a.jsx(je,{to:"/conseguir-trabajo-colombia",className:"text-primary hover:underline font-semibold",children:"Colombia â"}),a.jsx(je,{to:"/conseguir-trabajo-peru",className:"text-primary hover:underline font-semibold",children:"Perú â"}),a.jsx(je,{to:"/conseguir-trabajo-chile",className:"text-primary hover:underline font-semibold",children:"Chile â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"Tu primer empleo está más cerca de lo que crees"}
1179),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach que te guÃe paso a paso. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const Fje=[{q:"¿Cómo conseguir trabajo remoto desde México?",a:"El primer paso es optimizar tu CV y LinkedIn para vacantes remotas, incluyendo palabras clave como 'remote', 'distributed team' y habilidades de autogestión. Tu Career Coach te ayuda a identificar empresas que contratan remoto en LATAM y a prepararte para entrevistas en inglés si es necesario."},{q:"¿Qué empresas contratan remoto en LATAM?",a:"Empresas como Deel, Remote, GitLab, Toptal, Automattic, Globant, MercadoLibre y cientos de startups globales contratan talento remoto en México, Colombia, Perú y Chile. También empresas estadounidenses y europeas que buscan talento en zonas horarias compatibles."},{q:"¿Cuánto pagan los trabajos remotos?",a:"Depende del puesto y la empresa. Las posiciones remotas para empresas internacionales suelen pagar por encima del mercado local, especialmente en tecnologÃa, marketing digital, diseño y product management. Tu coach te ayuda a investigar rangos salariales y negociar la mejor oferta."},{q:"¿Necesito inglés para trabajo remoto?",a:"No siempre, pero el inglés abre muchas más puertas. Existen vacantes remotas en español para empresas de LATAM y España. Sin embargo, si dominas inglés intermedio-avanzado, tus opciones y tu salario potencial se multiplican significativamente."},{q:"¿Cuál es la diferencia entre freelance y empleado remoto?",a:"Un freelancer trabaja por proyecto o por hora sin relación laboral formal. Un empleado remoto tiene contrato, prestaciones, sueldo fijo y pertenece a la nómina de la empresa. Emplicity te prepara para posiciones de empleo remoto con contrato, no para freelancing."}],Mje=[{name:"Ricardo P.",role:"Product Manager",company:"Startup SaaS (EE.UU.)",from:"CDMX, México",time:"2 meses"},{name:"Camila S.",role:"Diseñadora UX Senior",company:"Agencia digital (España)",from:"MedellÃn, Colombia",time:"6 semanas"},{name:"Diego L.",role:"Ingeniero de Software",company:"Empresa fintech (EE.UU.)",from:"Santiago, Chile",time:"3 meses"}],qje=["Deel","Globant","MercadoLibre","Rappi","Toptal","Automattic","GitLab","Wizeline","EPAM","Softtek"];function Bje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Trabajo remoto en LATAM: cómo conseguir empleo home office en 2026 | Emplicity",description:"Consigue trabajo remoto u home office en empresas de México Colombia Perú Chile y Estados Unidos con Career Coach + IA. Optimizamos tu CV tu LinkedIn y tu estrategia de búsqueda remota. Solo pagas cuando firmas contrato.",canonicalPath:"/trabajo-remoto"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"WebPage",name:"Trabajo remoto en LATAM - Emplicity",description:"Programa de empleabilidad para profesionales que buscan trabajo remoto u home office con Career Coaches e IA.",url:"https://emplicity.ai/trabajo-remoto",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}})}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(C0,{className:"w-4 h-4"})," Trabajo remoto"]}),a.jsx("h1",{className:"text-3xl md:text-5xl font-display font-black text-foreground leading-tight mb-6",children:"Consigue trabajo remoto u home office con Career Coach + IA"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-2xl mx-auto",children:"El trabajo remoto en LATAM está en auge. Emplicity te prepara para competir por las mejores vacantes remotas con CV optimizado, LinkedIn orientado a re
1179cruiters globales y simulaciones de entrevistas en inglés. Solo pagas cuando firmas contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-gradient-to-r from-primary to-secondary hover:scale-105 transition-transform font-bold shadow-lg text-base px-8",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})})]}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-6",children:"El panorama del trabajo remoto en LATAM y el hiring global"}),a.jsxs("div",{className:"space-y-4 text-muted-foreground",children:[a.jsx("p",{children:"El trabajo remoto dejó de ser una tendencia para convertirse en una realidad permanente. Empresas de Estados Unidos, Europa y Asia contratan talento en México, Colombia, Perú y Chile por la calidad profesional, las zonas horarias compatibles y los costos competitivos. Plataformas como Deel, Remote y Oyster facilitan la contratación internacional, eliminando las barreras legales."}),a.jsx("p",{children:"Para los profesionales de LATAM esto representa una oportunidad sin precedentes: acceder a salarios internacionales, trabajar con equipos globales y construir una carrera sin fronteras geográficas. Pero la competencia también es global, lo que exige perfiles mucho más preparados."}),a.jsx("p",{children:"Las empresas que contratan remoto buscan candidatos con habilidades de comunicación asÃncrona, autogestión, dominio de herramientas digitales y, en muchos casos, inglés intermedio-avanzado. Tu CV, tu LinkedIn y tu desempeño en entrevista deben estar a la altura de candidatos de cualquier parte del mundo."})]})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Cómo Emplicity te prepara para vacantes remotas"}),a.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:[{icon:ZQ,title:"CV en inglés y español",text:"Creamos versiones de tu CV optimizadas para el mercado remoto internacional, con palabras clave que los recruiters globales buscan y formato compatible con ATS internacionales."},{icon:C0,title:"LinkedIn orientado a recruiters globales",text:"Optimizamos tu LinkedIn en inglés o bilingüe, con keywords de trabajo remoto y configuración para que recruiters internacionales te encuentren fácilmente."},{icon:Da,title:"Simulaciones de entrevistas en inglés",text:"Practica entrevistas en inglés con nuestra IA. Recibe feedback sobre pronunciación, estructura de respuestas y manejo de preguntas comunes en entrevistas remotas."},{icon:Xn,title:"Negociación salarial remota",text:"Te ayudamos a investigar rangos salariales internacionales, entender la diferencia entre contractor y empleado, y negociar beneficios especÃficos del trabajo remoto."}].map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm hover:shadow-md transition-shadow",children:[a.jsx(t.icon,{className:"w-8 h-8 text-primary mb-4"}),a.jsx("h3",{className:"text-lg font-bold text-foreground mb-2",children:t.title}),a.jsx("p",{className:"text-muted-foreground",children:t.text})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-4",children:"Empresas donde trabajan usuarios remotos de Emplicity"}),a.jsx("p",{className:"text-muted-foreground mb-10 max-w-xl mx-auto",children:"Nuestros candidatos han conseguido posiciones remotas en empresas globales y regionales."}),a.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:qje.map((t,n)=>a.jsx("span",{className:"px-5 py-2.5 rounded-full border border-border bg-card text-foreground font-semibold text-sm shadow-sm",children:t},n))})]})}),a.jsx("section",{className:"py-16",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-4xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Profesionales que consiguieron trabajo remoto con Emplicity"}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Mje.map((t,n)=>a.jsxs("div",{className:"p-6 rounded-2xl border border-border bg-card shadow-sm flex flex-col",children:[a.jsx(dp,{className:"w-8 h-8 text-primary/30 mb-3"}),a.jsx("p",{className:"font-bold text-foreground mb-1",children:t.role}),a.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:t.company}),a.jsxs("div",{className:"mt-auto",children:[a.jsx("p",{className:"font-bold text-foreground",children:t.name}),a.jsxs("p",{className:"text-xs text-muted-foreground",children:["Desde: ",t.from]}),a.jsx("span",{className:"inline-block mt-2 px-3 py-1 rounded-full bg-primary/10 text-primary text-xs font-semibold",children:t.time})]})]},n))})]})}),a.jsx("section",{className:"py-16 bg-muted/30",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-foreground mb-10 text-center",children:"Preguntas frecuentes sobre trabajo remoto"}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:Fje.map((t,n)=>a.jsxs(Ss,{value:`faq-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold text-foreground",children:a.jsxs("span",{className:"flex items-start gap-2",children:[a.jsx(lp,{className:"w-5 h-5 text-primary mt-0.5 shrink-0"}),t.q]})}),a.jsx(As,{className:"text-muted-foreground pl-7",children:t.a})]},n))})]})}),a.jsx("section",{className:"py-12",children:a.jsxs("div",{className:"container mx-auto px-4 max-w-3xl text-center",children:[a.jsx("p",{className:"text-muted-foreground mb-4",children:"Recursos para tu búsqueda remota:"}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm",children:[a.jsx(je,{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",className:"text-primary hover:underline font-semibold",children:"Optimizar LinkedIn â"}),a.jsx(je,{to:"/blog/como-negociar-tu-sueldo",className:"text-primary hover:underline font-semibold",children:"Negociar sueldo â"}),a.jsx(je,{to:"/blog/como-prepararte-para-una-entrevista-de-trabajo",className:"text-primary hover:underline font-semibold",children:"Preparar entrevista â"}),a.jsx(je,{to:"/career-coach",className:"text-primary hover:underline font-semibold",children:"Career Coaching â"}),a.jsx(je,{to:"/programa-empleabilidad",className:"text-primary hover:underline font-semibold",children:"Programa â"})]}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-sm mt-3",children:[a.jsx(je,{to:"/conseguir-trabajo-mexico",className:"text-primary hover:underline font-semibold",children:"México â"}),a.jsx(je,{to:"/conseguir-trabajo-colombia",className:"text-primary hover:underline font-semibold",children:"Colombia â"}),a.jsx(je,{to:"/conseguir-trabajo-peru",className:"text-primary hover:underline font-semibold",children:"Perú â"}),a.jsx(je,{to:"/conseguir-trabajo-chile",className:"text-primary hover:underline font-semibold",children:"Chile â"})]})]})}),a.jsx("section",{className:"py-16 bg-gradient-to-r from-primary to-secondary",children:a.jsxs("div",{className:"container mx-auto px-4 text-center",children:[a.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-primary-foreground mb-4",children:"Tu próximo trabajo puede ser desde
1179cualquier lugar"}),a.jsx("p",{className:"text-primary-foreground/80 mb-8 max-w-lg mx-auto",children:"Aplica al programa y empieza a trabajar con un Career Coach experto en empleo remoto. Sin pago hasta que firmes contrato."}),a.jsxs(Ce,{onClick:()=>e("/apply"),size:"lg",className:"bg-white text-primary hover:bg-white/90 font-bold px-8 shadow-lg",children:["Aplica gratis al programa ",a.jsx(Gt,{className:"ml-2 w-5 h-5"})]})]})}),a.jsx(Ki,{})]})}const zje=[{icon:po,title:"Define tu objetivo profesional",desc:"Clarifica el rol, industria, modalidad y rango salarial. Sin objetivo claro, ninguna estrategia funciona."},{icon:br,title:"Optimiza tu CV para ATS",desc:"El 75% de los CVs no llegan a un humano. Adapta palabras clave por vacante."},{icon:up,title:"Optimiza tu LinkedIn",desc:"Titular potente, sección Acerca de orientada a resultados y palabras clave para reclutadores."},{icon:tl,title:"Mapea empresas y vacantes",desc:"Construye una lista de 30-50 empresas objetivo y filtra vacantes recientes (menos de 7 dÃas)."},{icon:K7,title:"Postula con personalización IA",desc:"Adapta cada postulación en menos de 5 minutos usando IA para identificar palabras clave."},{icon:Da,title:"Activa tu networking",desc:"Mensajes claros a 30 contactos por semana. El 60% de los empleos se cierran por referidos."},{icon:gu,title:"Prepárate para entrevistas",desc:"Practica con simulaciones reales y método STAR antes de entrevistar en vivo."},{icon:B7,title:"Negocia tu salario",desc:"Investiga rangos, da bandas y justifica con resultados cuantificables."},{icon:rZ,title:"Haz seguimiento profesional",desc:"Reactiva procesos a los 5-7 dÃas. Mide tasa de respuesta y ajusta semanalmente."}],YH=[{q:"¿Cuál es la mejor estrategia para buscar trabajo en 2026?",a:"Una estrategia efectiva combina CV optimizado para ATS, LinkedIn activo, postulaciones a vacantes recientes, networking real y preparación rigurosa para entrevistas. Sumarle un Career Coach acelera el proceso un 50%."},{q:"¿Cuánto tiempo toma encontrar empleo en LATAM?",a:"El promedio sin estrategia es 4 a 7 meses en MX, CO, PE y CL. Con un sistema completo (CV ATS + LinkedIn + pipeline + coach) baja a 2 a 3 meses."},{q:"¿Qué hacer si llevo meses buscando trabajo y no consigo nada?",a:"Revisa tres cosas: si tu CV pasa filtros ATS, si tu LinkedIn aparece en búsquedas de reclutadores y si te estás preparando para entrevistas. La mayorÃa falla en uno de los tres puntos."},{q:"¿Cómo buscar trabajo desde cero?",a:"Empieza por definir un objetivo concreto, luego construye CV y LinkedIn alineados a ese objetivo. Postula a 15-25 vacantes por semana, activa networking y practica entrevistas en paralelo."},{q:"¿Cómo buscar trabajo si no tengo experiencia?",a:"Resalta proyectos, voluntariados, prácticas y certificaciones. Apunta a roles junior, trainee o pasantÃas. Conoce más en nuestra página de primer empleo."},{q:"¿Cómo buscar trabajo remoto desde LATAM?",a:"Optimiza tu CV y LinkedIn en español e inglés, postula en plataformas como Get on Board, We Work Remotely y LinkedIn, y prepárate para entrevistas técnicas en inglés."},{q:"¿Cómo buscar trabajo en otra ciudad o paÃs?",a:"Investiga el mercado local, ajusta tu CV al formato del paÃs, indica disponibilidad para reubicación y considera empresas con presencia regional. Comienza por nuestras guÃas por paÃs."},{q:"¿Qué es un Career Coach y cómo me ayuda a buscar empleo?",a:"Un Career Coach es un experto en empleabilidad que diseña tu estrategia, revisa tus materiales, te entrena para entrevistas y te da seguimiento semanal hasta que firmes contrato."}],$je=[{to:"/career-coach",title:"Career Coach",desc:"Acompañamiento humano experto."},{to:"/programa-empleabilidad",title:"Programa de empleabilidad",desc:"MetodologÃa completa hasta firmar contrato."},{to:"/trabajo-remoto",title:"Trabajo remoto",desc:"Acceso al mercado regional e internacional."},{to:"/primer-empleo",title:"Primer empleo",desc:"Estrategia para recién egresados."},{to:"/cambio-de-carrera",title:"Cambio de carrera",desc:"Transiciona a una nueva industria con plan claro."},{to:"/conseguir-trabajo-mexico",title:"Conseguir trabajo en México",desc:"GuÃa local para el mercado mexicano."},{to:"/conseguir-trabajo-colombia",title:"Conseguir trabajo en Colombia",desc:"Estrategia para Bogotá, MedellÃn y más."},{to:"/conseguir-trabajo-peru",title:"Conseguir trabajo en Perú",desc:"GuÃa para el mercado peruano."},{to:"/conseguir-trabajo-chile",title:"Conseguir trabajo en Chile",desc:"Estrategia para Santiago y regiones."},{to:"/conseguir-trabajo-monterrey",title:"Conseguir trabajo en Monterrey",desc:"Mercado regiomontano."}
1179,{to:"/blog/como-conseguir-trabajo-rapido",title:"Cómo conseguir trabajo rápido",desc:"12 estrategias probadas."},{to:"/blog/como-optimizar-tu-cv-para-ats",title:"CV optimizado para ATS",desc:"Pasa los filtros automáticos."},{to:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",title:"Optimiza tu LinkedIn",desc:"Que los reclutadores te encuentren."},{to:"/blog/preguntas-entrevista-de-trabajo-respuestas",title:"100 preguntas de entrevista",desc:"Respuestas modelo con STAR."},{to:"/blog/por-que-no-me-llaman-entrevistas",title:"¿Por qué no te llaman?",desc:"9 razones y cómo solucionarlas."}],Wje={"@context":"https://schema.org","@type":"WebPage",name:"Cómo buscar trabajo en 2026 - Emplicity",description:"Estrategia paso a paso para buscar trabajo en 2026 en MX, CO, PE y CL.",url:"https://emplicity.ai/buscar-trabajo",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}},Vje={"@context":"https://schema.org","@type":"FAQPage",mainEntity:YH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))};function Hje(){const e=Xt();return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Cómo buscar trabajo en 2026: estrategia paso a paso para conseguir empleo | Emplicity",description:"Aprende cómo buscar trabajo en 2026 con una estrategia paso a paso: optimiza tu CV, LinkedIn, postula bien, prepárate para entrevistas y consigue empleo más rápido en MX, CO, PE y CL.",canonicalPath:"/buscar-trabajo"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Wje)}}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(Vje)}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-transparent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(po,{className:"w-4 h-4"})," Estrategia probada en LATAM"]}),a.jsx("h1",{className:"font-display text-4xl md:text-6xl font-black mb-6 leading-tight",children:"Cómo buscar trabajo en 2026: la estrategia paso a paso para conseguir empleo"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8",children:"Una guÃa clara y accionable para encontrar trabajo más rápido en México, Colombia, Perú y Chile. Combinamos IA con un Career Coach humano que te acompaña hasta que firmes contrato."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[a.jsxs(Ce,{size:"lg",onClick:()=>e("/apply"),className:"bg-gradient-to-r from-primary to-secondary font-bold shadow-lg",children:["Aplicar al programa ",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]}),a.jsx(Ce,{size:"lg",variant:"outline",asChild:!0,children:a.jsx(je,{to:"/career-coach",children:"Conocer al Career Coach"})})]}),a.jsx("p",{className:"mt-4 text-sm text-muted-foreground",children:"0 pago inicial. Solo pagas al firmar contrato."})]})})]}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-4",children:"9 pasos para buscar trabajo de forma efectiva"}),a.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"Sigue este sistema en orden. Cada paso multiplica el resultado del siguiente."}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:zje.map((t,n)=>a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6 hover:shadow-lg transition-shadow",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 text-primary flex items-center justify-center",children:a.jsx(t.icon,{className:"w-5 h-5"})}),a.jsxs("span",{className:"text-xs font-bold text-primary",children:["PASO ",n+1]})]}),a.jsx("h3",{className:"font-display text-lg font-bold mb-2",children:t.title}),a.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.desc})]},t.title))})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-6",children:"Los errores más comunes al buscar trabajo"}),a.jsxs("ul",{className:"space-y-3 text-muted-foreground",children:[a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"}
1179)," Enviar el mismo CV genérico a todas las vacantes."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"})," No optimizar LinkedIn ni mantenerlo activo."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"})," Postular solo a vacantes con más de 30 dÃas publicadas."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"})," Depender de un solo canal (solo LinkedIn o solo OCC)."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"})," No practicar entrevistas antes de tenerlas en vivo."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"})," No hacer seguimiento a los procesos abiertos."]}),a.jsxs("li",{className:"flex gap-3",children:[a.jsx(Zr,{className:"w-5 h-5 text-destructive shrink-0 mt-0.5"}),' Buscar trabajo solo cuando "tengas tiempo": la búsqueda exige rutina diaria.']})]}),a.jsxs("p",{className:"mt-6 text-muted-foreground",children:["Si te identificas con varios, revisa ",a.jsx(je,{to:"/blog/por-que-no-me-llaman-entrevistas",className:"text-primary hover:underline",children:"por qué no te llaman a entrevistas"})," y nuestra guÃa de ",a.jsx(je,{to:"/blog/como-conseguir-trabajo-rapido",className:"text-primary hover:underline",children:"cómo conseguir trabajo rápido"}),"."]})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-6",children:"¿Cuánto tiempo toma realmente conseguir empleo en LATAM?"}),a.jsx("p",{className:"text-muted-foreground mb-4",children:"El promedio de búsqueda sin estrategia en México, Colombia, Perú y Chile está entre 4 y 7 meses. Con un sistema completo (CV ATS + LinkedIn optimizado + pipeline activo + Career Coach), ese plazo baja a 2 a 3 meses."}),a.jsxs("p",{className:"text-muted-foreground",children:["En Emplicity, el promedio de colocación es de ",a.jsx("strong",{children:"2.5 meses"}),", con +320 personas ya colocadas en la región."]})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-10",children:"Buscar trabajo solo vs. con Career Coach + IA"}),a.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-8",children:[a.jsx("h3",{className:"font-display text-xl font-bold mb-4",children:"Buscar trabajo solo"}),a.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," 100% control del proceso."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(Zr,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"})," Promedio 4-7 meses de búsqueda."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(Zr,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"})," Sin feedback experto sobre tu CV."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(Zr,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"})," Sin práctica real de entrevistas."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(Zr,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"})," Estrategia por intuición."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(Zr,{className:"w-4 h-4 text-destructive shrink-0 mt-0.5"})," Sin accountability semanal."]})]})]}),a.jsxs("div",{className:"rounded-2xl border-2 border-primary bg-primary/5 p-8",children:[a.jsx("h3",{className:"font-display text-xl font-bold mb-4",children:"Con Career Coach + IA"}),a.jsxs("ul",{className:"space-y-3 text-sm text-muted-foreground",children:[a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," Promedio 2.5 meses de búsqueda."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," CV y LinkedIn optimizados por expertos."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," Simulaciones de entrevista con feedback."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," Estrategia personalizada por industria."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," Acompañamiento semanal hasta firmar."]}),a.jsxs("li",{className:"flex gap-2",children:[a.jsx(ea,{className:"w-4 h-4 text-primary shrink-0 mt-0.5"})," 0 pago inicial: solo pagas al firmar."]})]})]})]})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[a.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8 mb-8",children:[a.jsxs("div",{children:[a.jsx("div",{className:"flex items-center justify-center gap-1 text-primary mb-2",children:[...Array(5)].map((t,n)=>a.jsx(nl,{className:"w-5 h-5 fill-current"},n))}),a.jsx("p",{className:"font-display text-3xl font-bold",children:"4.7/5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Calificación promedio"})]}),a.jsx("div",{className:"hidden md:block w-px h-16 bg-border"}),a.jsxs("div",{children:[a.jsx("p",{className:"font-display text-3xl font-bold text-primary",children:"+320"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Personas colocad
1179as en LATAM"})]})]}),a.jsx("p",{className:"text-muted-foreground italic",children:'"Apliqué la estrategia, optimicé mi CV y LinkedIn, y en 7 semanas tenÃa dos ofertas." â Profesional colocado en CDMX.'})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-10",children:"Más recursos para tu búsqueda"}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-4",children:$je.map(t=>a.jsxs(je,{to:t.to,className:"group rounded-xl border border-border bg-card p-5 hover:border-primary/40 hover:shadow-md transition-all",children:[a.jsx("h3",{className:"font-display font-bold mb-1 group-hover:text-primary transition-colors",children:t.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc}),a.jsxs("span",{className:"inline-flex items-center gap-1 mt-3 text-sm text-primary font-semibold",children:["Ver más ",a.jsx(Gt,{className:"w-3.5 h-3.5"})]})]},t.to))})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-4",children:[a.jsx(lp,{className:"w-4 h-4"})," Preguntas frecuentes"]}),a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold",children:"Todo lo que necesitas saber para buscar trabajo"})]}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:YH.map((t,n)=>a.jsxs(Ss,{value:`item-${n}`,children:[a.jsx(Ds,{className:"text-left font-semibold",children:t.q}),a.jsx(As,{className:"text-muted-foreground",children:t.a})]},t.q))})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto rounded-3xl bg-gradient-to-br from-primary to-secondary p-10 md:p-14 text-center text-primary-foreground",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-4",children:"Empieza a buscar trabajo con un sistema, no con suerte"}),a.jsx("p",{className:"mb-8 opacity-90",children:"Career Coach + IA, sin pago inicial. Solo pagas el equivalente a 1 mes de salario al firmar contrato."}),a.jsxs(Ce,{size:"lg",onClick:()=>e("/apply"),className:"bg-white text-primary hover:bg-white/90 font-bold",children:["Aplicar al programa ",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]})]})})}),a.jsx(Ki,{})]})}const RR="mailto:[email protected]?subject=Solicitud%20de%20propuesta%20de%20outplacement%20para%20empresas&body=Hola%20equipo%20de%20Emplicity%2C%20me%20gustar%C3%ADa%20recibir%20una%20propuesta%20de%20outplacement%20para%20mi%20empresa.",OR="mailto:[email protected]?subject=Agendar%20demo%20de%20outplacement%20Emplicity&body=Hola%2C%20me%20gustar%C3%ADa%20agendar%20una%20demo%20del%20programa%20de%20outplacement%20de%20Emplicity.",Gje="mailto:[email protected]?subject=Quiero%20conocer%20m%C3%A1s%20sobre%20outplacement%20Emplicity",Xje=[{icon:V7,title:"Acompañamiento humano",desc:"Un Career Coach asignado por colaborador, no un curso pregrabado."},{icon:UE,title:"Recolocación más rápida",desc:"Promedio de 2.5 meses con CV ATS, LinkedIn y entrevistas listos."},{icon:FE,title:"Marca empleadora protegida",desc:"Una salida cuidada se convierte en exempleados embajadores."},{icon:I7,title:"Reportes para RRHH",desc:"Dashboard de avance, tasa de recolocación y NPS por colaborador."}],Kje=[{n:1,title:"Diagnóstico",desc:"Entendemos el contexto de la desvinculación, perfiles afectados, paÃses y objetivos del área de RRHH."},{n:2,title:"Asignación de Career Coach",desc:"Cada colaborador recibe un Career Coach 1 a 1 con experiencia en su industria y nivel."},{n:3,title:"Plan personalizado",desc:"Diseñamos un plan de búsqueda con CV ATS, LinkedIn, simulaciones de entrevista y estrategia por mercado."},{n:4,title:"Recolocación medida",desc:"Seguimiento semanal hasta que el colaborador firma contrato y reporte ejecutivo para RRHH."}],Yje=[{icon:Da,label:"Career Coach 1 a 1"},{icon:br,label:"Optimización de CV para ATS"},{icon:up,label:"Optimización de LinkedIn"},{icon:gu,label:"Simulaciones de entrevista con IA"},{icon:po,label:"Estrategia de búsqueda por industria"},{icon:JQ,label:"Networking guiado"},{icon:B7,label:"Negociación salarial"},{icon:IQ,label:"Dashboard de seguimiento para RRHH"}
1179],Qje=[{icon:FE,title:"Protege tu marca empleadora",desc:"Cuida la conversación pública y la experiencia de salida."},{icon:V7,title:"Responsabilidad social",desc:"Demuestra compromiso real con el desarrollo de tu gente."},{icon:iZ,title:"Reduce riesgo legal y reputacional",desc:"Una transición acompañada disminuye conflictos posteriores."},{icon:UE,title:"Acelera la recolocación",desc:"Menos tiempo de incertidumbre para tus exempleados."},{icon:ox,title:"Beneficio competitivo",desc:"Súmalo a tu paquete de beneficios y a procesos de M&A."},{icon:I7,title:"Mide resultados con métricas",desc:"Tasa de recolocación, tiempo promedio y satisfacción NPS."}],Zje=["Reestructuras organizacionales","Fusiones y adquisiciones (M&A)","Downsizing y ajustes de plantilla","Transiciones ejecutivas (C-level)","Salidas por bajo desempeño","Cierres de oficina o de unidad de negocio"],Jje=[{title:"Paquete individual",desc:"Ideal para salidas puntuales o transiciones ejecutivas. Programa completo 1 a 1 con Career Coach asignado."},{title:"Paquete por volumen",desc:"Para reestructuras y procesos masivos en MX, CO, PE y CL. Onboarding grupal y seguimiento individual."},{title:"Paquete a medida",desc:"Diseñamos el alcance, duración y entregables según el contexto y los objetivos de tu área de RRHH."}],QH=[{q:"¿Qué es outplacement?",a:"El outplacement es un servicio que la empresa contrata para acompañar a colaboradores que están saliendo de la organización, ayudándolos a reinsertarse en el mercado laboral más rápido a través de coaching, herramientas y estrategia de búsqueda."},{q:"¿Cuánto cuesta el outplacement?",a:"El costo depende del nivel del colaborador, la duración del programa y el volumen. Trabajamos con paquetes individuales, por volumen y a medida. Solicita una propuesta y te enviamos una cotización personalizada."},{q:"¿En qué paÃses opera Emplicity?",a:"Operamos en México, Colombia, Perú y Chile, con Career Coaches locales que conocen el mercado de cada paÃs."},{q:"¿Qué incluye el reporte para RRHH?",a:"Avance individual y agregado, tasa de recolocación, tiempo promedio de búsqueda, NPS de los colaboradores y resumen ejecutivo periódico para presentar a dirección."},{q:"¿Cuál es la duración promedio del programa?",a:"El programa estándar dura entre 3 y 6 meses por colaborador, alineado al promedio de recolocación en la región. Para perfiles ejecutivos puede extenderse según el caso."},{q:"¿Cuál es la diferencia entre outplacement individual y por volumen?",a:"El individual es para salidas puntuales o ejecutivos. El de volumen está pensado para reestructuras o procesos masivos, con onboarding grupal, condiciones especiales y seguimiento centralizado para RRHH."},{q:"¿Cómo se mide el éxito del programa?",a:"Medimos tasa de recolocación, tiempo promedio hasta firmar contrato, calidad de la oferta obtenida (rol y compensación) y satisfacción NPS de los colaboradores."},{q:"¿Cómo se inicia el programa?",a:"EscrÃbenos a [email protected] o solicita una propuesta. Agendamos una sesión de diagnóstico, alineamos alcance y arrancamos en pocos dÃas."}],e_e={"@context":"https://schema.org","@type":"WebPage",name:"Outplacement y Recolocación Laboral para Empresas en LATAM | Emplicity",description:"Programa de outplacement y recolocación laboral para empresas en México, Colombia, Perú y Chile.",url:"https://emplicity.ai/para-empresas",publisher:{"@type":"Organization",name:"Emplicity",url:"https://emplicity.ai"}},t_e={"@context":"https://schema.org","@type":"FAQPage",mainEntity:QH.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))};function n_e(){return j.useEffect(()=>{window.scrollTo(0,0)},[]),a.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[a.jsx(mr,{title:"Outplacement y Recolocación Laboral para Empresas en LATAM | Emplicity",description:"Programa de outplacement y recolocación laboral para empresas en México, Colombia, Perú y Chile. Acompañamos a tus colaboradores con Career Coach + IA para que consigan empleo más rápido tras una desvinculación. Solicita propuesta hoy.",canonicalPath:"/para-empresas",ogImage:"https://emplicity.ai/og/para-empresas.svg"}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e_e)}}),a.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t_e)}}),a.jsx(Rr,{}),a.jsxs("section",{className:"relative py-16 md:py-24 overflow-hidden",children:[a.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/5 via-trans
1179parent to-secondary/5"}),a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsxs("div",{className:"max-w-4xl mx-auto text-center",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-6",children:[a.jsx(tl,{className:"w-4 h-4"})," Para empresas en LATAM"]}),a.jsx("h1",{className:"font-display text-3xl md:text-5xl lg:text-6xl font-black mb-6 leading-tight",children:"Outplacement y recolocación laboral para empresas: acompaña a tus colaboradores hacia su próximo empleo"}),a.jsx("p",{className:"text-lg md:text-xl text-muted-foreground mb-8 max-w-3xl mx-auto",children:"Programa de outplacement con Career Coach 1 a 1 más herramientas de IA para que tus colaboradores consigan empleo más rápido en México, Colombia, Perú y Chile, cuidando tu marca empleadora."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[a.jsx(Ce,{size:"lg",asChild:!0,className:"bg-gradient-to-r from-primary to-secondary font-bold shadow-lg",children:a.jsxs("a",{href:RR,children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"})," Solicitar propuesta"]})}),a.jsx(Ce,{size:"lg",variant:"outline",asChild:!0,children:a.jsxs("a",{href:OR,children:[a.jsx(RQ,{className:"w-4 h-4 mr-2"})," Agendar demo"]})})]}),a.jsx("p",{className:"mt-4 text-sm text-muted-foreground",children:"México · Colombia · Perú · Chile"})]})})]}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"max-w-5xl mx-auto",children:a.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-start",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-4",children:"Qué es outplacement"}),a.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"El outplacement es un servicio que la empresa contrata para acompañar a colaboradores en transición laboral, ayudándolos a reinsertarse en el mercado de manera más rápida y digna. En Emplicity combinamos un Career Coach humano con herramientas de IA para que cada persona reciba un plan de búsqueda real, no un curso genérico."})]}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:Xje.map(e=>a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-5",children:[a.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 text-primary flex items-center justify-center mb-3",children:a.jsx(e.icon,{className:"w-5 h-5"})}),a.jsx("h3",{className:"font-display font-bold mb-1",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},e.title))})]})})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-12",children:"Cómo funciona Emplicity para empresas"}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:Kje.map(e=>a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6 relative",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-gradient-to-br from-primary to-secondary text-primary-foreground font-bold flex items-center justify-center mb-4",children:e.n}),a.jsx("h3",{className:"font-display text-lg font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},e.n))})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-4",children:"Servicios incluidos para tus colaboradores"}),a.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"Cada colaborador accede a un programa completo de empleabilidad con coach asignado y plataforma propia."}),a.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:Yje.map(e=>a.jsxs("div",{className:"rounded-xl border border-border bg-card p-5 flex items-start gap-3",children:[a.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 text-primary flex items-center justify-center shrink-0",children:a.jsx(e.icon,{className:"w-5 h-5"})}),a.jsx("span",{className:"font-semibold text-sm leading-tight pt-1.5",children:e.label})]},e.label))})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-6xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-12",children:"Beneficios para tu empresa"}),a.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:Qje.map(e=>a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6 hover:shadow-lg transition-shadow",children:[a.jsx("div",{className:"w-10 h-10 rounded-xl bg-primary/10 text-primary flex items-center justify-center mb-3",children:a.jsx(e.icon,{className:"w-5 h-5"})}),a.jsx("h3",{className:"font-display text-lg font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},e.title))})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-10",children:"Casos de uso"}),a.jsx("div",{className:"grid sm:grid-cols-2 gap-3",children:Zje.map(e=>a.jsxs("div",{className:"flex items-center gap-3 rounded-xl border border-border bg-card p-4",children:[a.jsx(el,{className:"w-5 h-5 text-primary shrink-0"}),a.jsx("span",{className:"font-medium text-sm",children:e})]},e))})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-5xl mx-auto",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-4",children:"Modelos comerciales"}),a.jsx("p",{className:"text-center text-muted-foreground mb-12 max-w-2xl mx-auto",children:"Adaptamos el alcance al tamaño y contexto de tu empresa. Solicita una propuesta para recibir condiciones especÃficas."}),a.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:Jje.map(e=>a.jsxs("div",{className:"rounded-2xl border border-border bg-card p-6",children:[a.jsx("h3",{className:"font-display text-lg font-bold mb-2",children:e.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:e.desc})]},e.title))}),a.jsx("div",{className:"text-center mt-10",children:a.jsx(Ce,{asChild:!0,size:"lg",className:"bg-gradient-to-r from-primary to-secondary font-bold",children:a.jsxs("a",{href:RR,children:["Solicitar propuesta personalizada ",a.jsx(Gt,{className:"w-4 h-4 ml-2"})]})})})]})})}),a.jsx("section",{className:"py-16 md:py-20 bg-muted/30",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto",children:[a.jsxs("div",{className:"text-center mb-10",children:[a.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-primary/10 text-primary text-sm font-semibold mb-4",children:[a.jsx(lp,{className:"w-4 h-4"})," Preguntas frecuentes"]}),a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold",children:"Preguntas frecuentes de RRHH sobre outplacement"})]}),a.jsx(ho,{type:"single",collapsible:!0,className:"w-full",children:QH.map((e,t)=>a.jsxs(Ss,{value:`item-${t}`,children:[a.jsx(Ds,{className:"text-left font-semibold",children:e.q}),a.jsx(As,{className:"text-muted-foreground",children:e.a})]},e.q))})]})})}),a.jsx("section",{className:"py-16 md:py-20",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-4xl mx-auto",children:[a.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8 mb-10",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-display text-3xl font-bold text-primary",children:"+320"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Profesionales recolocados"})]}),a.jsx("div",{className:"hidden md:block w-px h-16 bg-border"}),a.jsxs("div",{className:"text-center",children:[a.jsx("p",{className:"font-display text-3xl font-bold",children:"2.5 meses"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Tiempo promedio de recolocación"})]}),a.jsx("div",{className:"hidden md:block w-px h-16 bg-border"}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"flex items-center justify-center gap-1 text-primary mb-1",children:[...Array(5)].map((e,t)=>a.jsx(nl,{className:"w-4 h-4 fill-current"},t))}),a.jsx("p",{className:"font-display text-3xl font-bold",children:"4.7/5"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Satisfacción"})]})]}),a.jsxs("div",{className:"rounded-3xl bg-gradient-to-br from-primary to-secondary p-10 md:p-14 text-center text-primary-foreground",children:[a.jsx("h2",{className:"font-display text-3xl md:text-4xl font-bold mb-4",children:"Diseñemos juntos tu programa de outplacement"}),a.jsx("p",{className:"mb-8 opacity-90 max-w-2xl mx-auto",children:"Cuéntanos el contexto de tu empresa y te enviamos una propuesta a medida para MX, CO, PE y CL."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[a.jsx(Ce,{size:"lg",asChild:!0,className:"bg-white text-primary hover:bg-white/90 font-bold",children:a.jsxs("a",{href:Gje,children:[a.jsx(Tr,{className:"w-4 h-4 mr-2"})," EscrÃbenos a [email protected]"]})}),a.jsx(Ce,{size:"lg",variant:"outline",asChild:!0,className:"bg-transparent border-white text-white hover:bg-white/10",children:a.jsx("a",{href:OR,children:"Agendar demo"})})]}),a.jsxs("p",{className:"mt-6 text-sm opacity-80",children:["¿Buscas empleo a tÃtulo personal? Visita ",a.jsx(je,{to:"/career-coach",className:"underline",children:"Career Coach"})," o ",a.jsx(je,{to:"/buscar-trabajo",className:"underline",children:"cómo buscar trabajo"}),"."]})]})]})})}),a.jsx(Ki,{})]})}const r_e=new hte,a_e=()=>{const{user:e,loading:t,subscriptionActive:n,applyRejected:r,userUnsuccessful:i,canAccessMasterclassVideo:s,applyContactSupport:o}=Vr();return X1e(),K1e({debounceMs:5*60*1e3,trackOnMount:!0,trackOnFocus:!0,trackOnVisibilityChange:!0}),Y1e({checkInterval:5*60*1e3,maxInactiveTime:2*60*60*1e3}),t?a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsx(Uc,{})}):a.jsxs(cne,{children:[a.jsx(ut,{path:"/",element:e?a.jsx($s,{to:"/dashboard",replace:!0}):a.jsx(FT,{})}),a.jsx(ut,{path:"/landing",element:a.jsx(FT,{})}),a.jsx(ut,{path:"/masterclass",element:a.jsx(Wwe,{})}),a.jsx(ut,{path:"/masterclass/video",element:a.jsx(_5e,{})}),a.jsx(ut,{path:"/apply",element:a.jsx($s,{to:"/registro-en-pausa",replace:!0})}),a.jsx(ut,{path:"/apply/status",element:a.jsx(E5e,{})}),a.jsx(ut,{path:"/blog",element:a.jsx(D5e,{})}),a.jsx(ut,{path:"/blog/como-optimizar-tu-cv-para-ats",element:a.jsx(k5e,{})}),a.jsx(ut,{path:"/blog/por-que-no-me-llaman-entrevistas",element:a.jsx(P5e,{})}),a.jsx(ut,{path:"/blog/como-prepararte-para-una-entrevista-de-trabajo",element:a.jsx(R5e,{})}),a.jsx(ut,{path:"/blog/como-optimizar-linkedin-para-conseguir-trabajo",element:a.jsx(I5e,{})}),a.jsx(ut,{path:"/blog/como-negociar-tu-sueldo",element:a.jsx(F5e,{})}),a.jsx(ut,{path:"/blog/que-es-un-career-coach",element:a.jsx(q5e,{})}),a.jsx(ut,{path:"/blog/carta-de-presentacion-ejemplos",element:a.jsx(z5e,{})}),a.jsx(ut,{path:"/blog/como-hacer-cv-sin-experiencia",element:a.jsx(W5e,{})}),a.jsx(ut,{path:"/blog/como-conseguir-trabajo-rapido",element:a.jsx(G5e,{})}),a.jsx(ut,{path:"/blog/preguntas-entrevista-de-trabajo-respuestas",element:a.jsx(Y5e,{})}),a.jsx(ut,{path:"/blog/que-hacer-despues-de-un-despido",element:a.jsx(J5e,{})}),a.jsx(ut,{path:"/blog/outplacement-para-empresas-guia",element:a.jsx(nje,{})}),a.jsx(ut,{path:"/career-coach",element:a.jsx(lje,{})}),a.jsx(ut,{path:"/programa-empleabilidad",element:a.jsx(pje,{})}),a.jsx(ut,{path:"/cambio-de-carrera",element:a.jsx(Rje,{})}),a.jsx(ut,{path:"/conseguir-trabajo-mexico",element:a.jsx(mje,{})}),a.jsx(ut,{path:"/conseguir-trabajo-colombia",element:a.jsx(vje,{})}),a.jsx(ut,{path:"/conseguir-trabajo-peru",element:a.jsx(_je,{})}),a.jsx(ut,{path:"/conseguir-trabajo-chile",element:a.jsx(Sje,{})}),a.jsx(ut,{path:"/conseguir-trabajo-monterrey",element:a.jsx(Tje,{})}),a.jsx(ut,{path:"/primer-empleo",element:a.jsx(Uje,{})}),a.jsx(ut,{path:"/trabajo-remoto",element:a.jsx(Bje,{})}),a.jsx(ut,{path:"/buscar-trabajo",element:a.jsx(Hje,{})}),a.jsx(ut,{path:"/para-empresas",element:a.jsx(n_e,{})}),a.jsx(ut,{path:"/login",element:a.jsx(i0e,{user:e,children:a.jsx(BL,{})})}),a.jsx(ut,{path:"/registro-en-pausa",element:a.jsx(S5e,{})}),a.jsx(ut,{path:"/register",element:a.jsx($s,{to:"/registro-en-pausa",replace:!0})}),a.jsx(ut,{path:"/forgot-password",element:a.jsx(r0e,{})}),a.jsx(ut,{path:"/reset-password",element:a.jsx(a0e,{})}),a.jsx(ut,{path:"/terms-conditions",element:a.jsx(e2e,{})}),a.jsx(ut,{path:"/terms-and-conditions-aditional-services",element:a.jsx(s0e,{})}),a.jsx(ut,{path:"/usability",element:a.jsx(t2e,{})}),a.jsx(ut,{path:"/privacity",element:a.jsx(n2e,{})}),e&&a.jsx(ut,{path:"/payment",element:a.jsx(Pi,{user:e,children:a.jsx(n0e,{})})}),e&&r?a.jsxs(a.Fragment,{children:[a.jsx(ut,{path:"/application-rejected",element:a.jsx(Pi,{user:e,children:a.jsx(rje,{})})}),a.jsx(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx($s,{to:"/application-rejected",replace:!0})})})]}):e&&i?a.jsxs(a.Fragment,{children:[a.jsx(ut,{path:"/application-unsuccessful",element:a.jsx(Pi,{user:e,children:a.jsx(aje,{})})}),a.jsx(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx($s,{to:"/application-unsuccessful",replace:!0})})})]}):e&&o?a.jsxs(a.Fragment,{children:[a.jsx(ut,{path:"/application-contact-support",element:a.jsx(Pi,{user:e,children:a.jsx(sje,{})})}),a.jsx(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx($s,{to:"/application-contact-support",replace:!0})})})]}):e&&s?a.jsx(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx($s,{to:"/masterclass/video",replace:!0})})}):e&&!n?a.jsxs(a.Fragment,{children:[a.jsx(ut,{path:"/application-pending",element:a.jsx(Pi,{user:e,children:a.jsx(ije,{})})}),a.jsx(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx($s,{to:"/application-pending",replace:!0})})})]}):null,e&&n?a.jsxs(ut,{path:"/dashboard",element:a.jsx(Pi,{user:e,children:a.jsx(jce,{})}),children:[a.jsx(ut,{index:!0,element:a.jsx(JT,{})}),a.jsx(ut,{path:"overview",element:a.jsx(JT,{})}),a.jsx(ut,{path:"interviews",element:a.jsx(Wfe,{})}),a.jsx(ut,{path:"cv-boost",element:a.jsx(Qbe,{})}),a.jsx(ut,{path:"suggestions-jobs",element:a.jsx($s,{to:"/dashboard/job-tracker",replace:!0})}),a.jsx(ut,{path:"linkedin",element:a.jsx(vfe,{})}),a.jsx(ut,{path:"job-tracker",element:a.jsx(_ge,{})}),a.jsx(ut,{path:"learning",element:a.jsx(Cfe,{})}),a.jsx(ut,{path:"automated-messages",element:a.jsx(Pge,{})}),a.jsx(ut,{path:"services",element:a.jsx("div",{className:"space-y-8",children:a.jsx(Nge,{})})}),a.jsx(ut,{path:"profile",element:a.jsx(Pce,{})}),a.jsx(ut,{path:"membership",element:a.jsx(_ce,{})}),a.jsx(ut,{path:"payment",element:a.jsx(Zbe,{})}),a.jsx(ut,{path:"settings",element:a.jsx(Dge,{})})]}):null,e&&a.jsx(ut,{path:"/module/:id",element:a.jsx(Pi,{user:e,children:a.jsx(c0e,{})})}),e&&a.jsx(ut,{path:"/module/:moduleId/lesson/:lessonId",element:a.jsx(Pi,{user:e,children:a.jsx(G1e,{})})}),a.jsx(ut,{path:"*",element:a.jsx(BL,{})})]})},i_e=()=>{const{applyRejected:e,userUnsuccessful:t,applyContactSupport:n,canAccessMasterclassVideo:r}=Vr(),i=e||t||n||r,{shouldShowNPS:s,featuresUsed:o,handleNPSClose
1179:c}=Z1e({minFeaturesRequired:3,minDaysBetweenPrompts:7,enabled:!i});return a.jsx(J1e,{isOpen:s,onClose:c,featuresUsed:o})},s_e=()=>a.jsx(gte,{client:r_e,children:a.jsx(tce,{children:a.jsxs(G1,{children:[a.jsx(WZ,{}),a.jsx(vJ,{}),a.jsxs(gne,{children:[a.jsx(bne,{}),a.jsx(a_e,{}),a.jsx(i_e,{})]})]})})}),Wx=document.querySelector('link[rel="icon"]')??document.createElement("link");Wx.rel="icon";Wx.type="image/png";Wx.href=Kc;Wx.parentElement||document.head.appendChild(Wx);n7(document.getElementById("root")).render(a.jsx(l7,{children:a.jsx(s_e,{})}));export{mn as _,Dt as c,Ih as g};
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.