1762 lines
3.8 MiB
JavaScript
1762 lines
3.8 MiB
JavaScript
|
|
var e,t,n=Object.defineProperty,i=(e,t,i)=>(((e,t,i)=>{t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i})(e,"symbol"!=typeof t?t+"":t,i),i);import{r as a,c as r,b as s,R as l,f as o,e as d,g as c}from"./vendor-c65bce76.js";import{_ as u,a as p,b as A,U as h,B as f,S as m,c as v,I as g,d as y,m as x,e as b,f as w,M as j,P as C,g as S,h as N,F as I,T as F,i as B,j as P,A as k,D as T,k as E,E as D,l as L,R as U,n as _,o as O,C as M,p as R,q as Q,r as H,s as V,t as z,u as q,v as W,W as Y,w as K,x as G,y as $,z as X,G as J,H as Z,J as ee,K as te,L as ne,N as ie,O as ae,Q as re,Y as se,V as le,X as oe,Z as de,$ as ce,a0 as ue,a1 as pe,a2 as Ae,a3 as he,a4 as fe,a5 as me,a6 as ve,a7 as ge,a8 as ye,a9 as xe,aa as be,ab as we,ac as je}from"./ui-2d515953.js";import{C as Ce,h as Se,a as Ne}from"./utils-faf49605.js";import{A as Ie,I as Fe,n as Be,G as Pe,P as ke,m as Te,d as Ee,a as De}from"./editor-e98c3426.js";function Le(e,t){for(var n=0;n<t.length;n++){const i=t[n];if("string"!=typeof i&&!Array.isArray(i))for(const t in i)if("default"!==t&&!(t in e)){const n=Object.getOwnPropertyDescriptor(i,t);n&&Object.defineProperty(e,t,n.get?n:{enumerable:!0,get:()=>i[t]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var Ue={exports:{}},_e={},Oe=a,Me=Symbol.for("react.element"),Re=Symbol.for("react.fragment"),Qe=Object.prototype.hasOwnProperty,He=Oe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0};function ze(e,t,n){var i,a={},r=null,s=null;for(i in void 0!==n&&(r=""+n),void 0!==t.key&&(r=""+t.key),void 0!==t.ref&&(s=t.ref),t)Qe.call(t,i)&&!Ve.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===a[i]&&(a[i]=t[i]);return{$$typeof:Me,type:e,key:r,ref:s,props:a,_owner:He.current}}_e.Fragment=Re,_e.jsx=ze,_e.jsxs=ze,Ue.exports=_e;var qe,We,Ye=Ue.exports,Ke={},Ge=r;
|
|||
|
|
/**
|
|||
|
|
* @remix-run/router v1.23.0
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/
|
|||
|
|
function $e(){return $e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$e.apply(this,arguments)}Ke.createRoot=Ge.createRoot,Ke.hydrateRoot=Ge.hydrateRoot,(We=qe||(qe={})).Pop="POP",We.Push="PUSH",We.Replace="REPLACE";const Xe="popstate";function Je(e){return void 0===e&&(e={}),function(e,t,n,i){void 0===i&&(i={});let{window:a=document.defaultView,v5Compat:r=!1}=i,s=a.history,l=qe.Pop,o=null,d=c();null==d&&(d=0,s.replaceState($e({},s.state,{idx:d}),""));function c(){return(s.state||{idx:null}).idx}function u(){l=qe.Pop;let e=c(),t=null==e?null:e-d;d=e,o&&o({action:l,location:f.location,delta:t})}function p(e,t){l=qe.Push;let i=nt(f.location,e,t);n&&n(i,e),d=c()+1;let u=tt(i,d),p=f.createHref(i);try{s.pushState(u,"",p)}catch(A){if(A instanceof DOMException&&"DataCloneError"===A.name)throw A;a.location.assign(p)}r&&o&&o({action:l,location:f.location,delta:1})}function A(e,t){l=qe.Replace;let i=nt(f.location,e,t);n&&n(i,e),d=c();let a=tt(i,d),u=f.createHref(i);s.replaceState(a,"",u),r&&o&&o({action:l,location:f.location,delta:0})}function h(e){let t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"==typeof e?e:it(e);return n=n.replace(/ $/,"%20"),Ze(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}let f={get action(){return l},get location(){return e(a,s)},listen(e){if(o)throw new Error("A history only accepts one active listener");return a.addEventListener(Xe,u),o=e,()=>{a.removeEventListener(Xe,u),o=null}},createHref:e=>t(a,e),createURL:h,encodeLocation(e){let t=h(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:A,go:e=>s.go(e)};return f}((function(e,t){let{pathname:n,search:i,hash:a}=e.location;return nt("",{pathname:n,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:it(t)}),null,e)}function Ze(e,t){if(!1===e||null==e)throw new Error(t)}function et(e,t){if(!e)try{throw new Error(t)}catch(Ou){}}function tt(e,t){return{usr:e.state,key:e.key,idx:t}}function nt(e,t,n,i){return void 0===n&&(n=null),$e({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?at(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function it(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function at(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var rt,st;function lt(e,t,n){return void 0===n&&(n="/"),function(e,t,n,i){let a="string"==typeof t?at(t):t,r=bt(a.pathname||"/",n);if(null==r)return null;let s=ot(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(s);let l=null;for(let o=0;null==l&&o<s.length;++o){let e=xt(r);l=gt(s[o],e,i)}return l}(e,t,n,!1)}function ot(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i="");let a=(e,a,r)=>{let s={relativePath:void 0===r?e.path||"":r,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};s.relativePath.startsWith("/")&&(Ze(s.relativePath.startsWith(i),'Absolute route path "'+s.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(i.length));let l=St([i,s.relativePath]),o=n.concat(s);e.children&&e.children.length>0&&(Ze(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),ot(e.children,t,o,l)),(null!=e.path||e.index)&&t.push({path:l,score:vt(l,e.index),routesMeta:o})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includ
|
|||
|
|
/**
|
|||
|
|
* React Router v6.30.1
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/
|
|||
|
|
function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kt.apply(this,arguments)}new Set(Pt);const Tt=a.createContext(null),Et=a.createContext(null),Dt=a.createContext(null),Lt=a.createContext(null),Ut=a.createContext({outlet:null,matches:[],isDataRoute:!1}),_t=a.createContext(null);function Ot(){return null!=a.useContext(Lt)}function Mt(){return Ot()||Ze(!1),a.useContext(Lt).location}function Rt(e){a.useContext(Dt).static||a.useLayoutEffect(e)}function Qt(){let{isDataRoute:e}=a.useContext(Ut);return e?function(){let{router:e}=function(){let e=a.useContext(Tt);return e||Ze(!1),e}($t.UseNavigateStable),t=Jt(Xt.UseNavigateStable),n=a.useRef(!1);return Rt((()=>{n.current=!0})),a.useCallback((function(i,a){void 0===a&&(a={}),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,kt({fromRouteId:t},a)))}),[e,t])}():function(){Ot()||Ze(!1);let e=a.useContext(Tt),{basename:t,future:n,navigator:i}=a.useContext(Dt),{matches:r}=a.useContext(Ut),{pathname:s}=Mt(),l=JSON.stringify(jt(r,n.v7_relativeSplatPath)),o=a.useRef(!1);return Rt((()=>{o.current=!0})),a.useCallback((function(n,a){if(void 0===a&&(a={}),!o.current)return;if("number"==typeof n)return void i.go(n);let r=Ct(n,JSON.parse(l),s,"path"===a.relative);null==e&&"/"!==t&&(r.pathname="/"===r.pathname?t:St([t,r.pathname])),(a.replace?i.replace:i.push)(r,a.state,a)}),[t,i,l,s,e])}()}const Ht=a.createContext(null);function Vt(){let{matches:e}=a.useContext(Ut),t=e[e.length-1];return t?t.params:{}}function zt(e,t){let{relative:n}=void 0===t?{}:t,{future:i}=a.useContext(Dt),{matches:r}=a.useContext(Ut),{pathname:s}=Mt(),l=JSON.stringify(jt(r,i.v7_relativeSplatPath));return a.useMemo((()=>Ct(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function qt(e,t){return function(e,t,n,i){Ot()||Ze(!1);let{navigator:r}=a.useContext(Dt),{matches:s}=a.useContext(Ut),l=s[s.length-1],o=l?l.params:{};!l||l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let c,u=Mt();if(t){var p;let e="string"==typeof t?at(t):t;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||Ze(!1),c=e}else c=u;let A=c.pathname||"/",h=A;if("/"!==d){let e=d.replace(/^\//,"").split("/");h="/"+A.replace(/^\//,"").split("/").slice(e.length).join("/")}let f=lt(e,{pathname:h}),m=function(e,t,n,i){var r;void 0===t&&(t=[]);void 0===n&&(n=null);void 0===i&&(i=null);if(null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=i)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,o=null==(r=n)?void 0:r.errors;if(null!=o){let e=l.findIndex((e=>e.route.id&&void 0!==(null==o?void 0:o[e.route.id])));e>=0||Ze(!1),l=l.slice(0,Math.min(l.length,e+1))}let d=!1,c=-1;if(n&&i&&i.v7_partialHydration)for(let a=0;a<l.length;a++){let e=l[a];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(c=a),e.route.id){let{loaderData:t,errors:i}=n,a=e.route.loader&&void 0===t[e.route.id]&&(!i||void 0===i[e.route.id]);if(e.route.lazy||a){d=!0,l=c>=0?l.slice(0,c+1):[l[0]];break}}}return l.reduceRight(((e,i,r)=>{let s,u=!1,p=null,A=null;var h;n&&(s=o&&i.route.id?o[i.route.id]:void 0,p=i.route.errorElement||Yt,d&&(c<0&&0===r?(h="route-fallback",!1||Zt[h]||(Zt[h]=!0),u=!0,A=null):c===r&&(u=!0,A=i.route.hydrateFallbackElement||null)));let f=t.concat(l.slice(0,r+1)),m=()=>{let t;return t=s?p:u?A:i.route.Component?a.createElement(i.route.Component,null):i.route.element?i.route.element:e,a.createElement(Gt,{match:i,routeContext:{outlet:e,matches:f,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===r)?a.createElement(Kt,{location:n.location,revalidation:n.revalidation,component:p,error:s,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()}),null)}(f&&f.map((e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:St([d,r.encodeLocation?r.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:St([d,r.encodeLocation?r.encodeLocation(e.pathna
|
|||
|
|
/**
|
|||
|
|
* React Router DOM v6.30.1
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Remix Software Inc.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE.md file in the root directory of this source tree.
|
|||
|
|
*
|
|||
|
|
* @license MIT
|
|||
|
|
*/function sn(){return sn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sn.apply(this,arguments)}function ln(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let i=e[n];return t.concat(Array.isArray(i)?i.map((e=>[n,e])):[[n,i]])}),[]))}new Promise((()=>{}));const on=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(Ou){}const dn=s.startTransition;function cn(e){let{basename:t,children:n,future:i,window:r}=e,s=a.useRef();null==s.current&&(s.current=Je({window:r,v5Compat:!0}));let l=s.current,[o,d]=a.useState({action:l.action,location:l.location}),{v7_startTransition:c}=i||{},u=a.useCallback((e=>{c&&dn?dn((()=>d(e))):d(e)}),[d,c]);return a.useLayoutEffect((()=>l.listen(u)),[l,u]),a.useEffect((()=>{return null==(e=i)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t}),[i]),a.createElement(nn,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:l,future:i})}const un="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,pn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,An=a.forwardRef((function(e,t){let n,{onClick:i,relative:r,reloadDocument:s,replace:l,state:o,target:d,to:c,preventScrollReset:u,viewTransition:p}=e,A=function(e,t){if(null==e)return{};var n,i,a={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,on),{basename:h}=a.useContext(Dt),f=!1;if("string"==typeof c&&pn.test(c)&&(n=c,un))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=bt(t.pathname,h);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:f=!0}catch(Ou){}let m=function(e,t){let{relative:n}=void 0===t?{}:t;Ot()||Ze(!1);let{basename:i,navigator:r}=a.useContext(Dt),{hash:s,pathname:l,search:o}=zt(e,{relative:n}),d=l;return"/"!==i&&(d="/"===l?i:St([i,l])),r.createHref({pathname:d,search:o,hash:s})}(c,{relative:r}),v=function(e,t){let{target:n,replace:i,state:r,preventScrollReset:s,relative:l,viewTransition:o}=void 0===t?{}:t,d=Qt(),c=Mt(),u=zt(e,{relative:l});return a.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==i?i:it(c)===it(u);d(e,{replace:n,state:r,preventScrollReset:s,relative:l,viewTransition:o})}}),[c,d,u,i,r,n,e,s,l,o])}(c,{replace:l,state:o,target:d,preventScrollReset:u,relative:r,viewTransition:p});return a.createElement("a",sn({},A,{href:n||m,onClick:f||s?i:function(e){i&&i(e),e.defaultPrevented||v(e)},ref:t,target:d}))}));var hn,fn,mn,vn;function gn(e){let t=a.useRef(ln(e)),n=a.useRef(!1),i=Mt(),r=a.useMemo((()=>function(e,t){let n=ln(e);return t&&t.forEach(((e,i)=>{n.has(i)||t.getAll(i).forEach((e=>{n.append(i,e)}))})),n}(i.search,n.current?null:t.current)),[i.search]),s=Qt(),l=a.useCallback(((e,t)=>{const i=ln("function"==typeof e?e(r):e);n.current=!0,s("?"+i,t)}),[s,r]);return[r,l]}(fn=hn||(hn={})).UseScrollRestoration="useScrollRestoration",fn.UseSubmit="useSubmit",fn.UseSubmitFetcher="useSubmitFetcher",fn.UseFetcher="useFetcher",fn.useViewTransitionState="useViewTransitionState",(vn=mn||(mn={})).UseFetcher="useFetcher",vn.UseFetchers="useFetchers",vn.UseScrollRestoration="useScrollRestoration";var yn={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},xn=l.createContext&&l.createContext(yn),bn=globalThis&&globalThis.__assign||function(){return bn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},bn.apply(this,arguments)},wn=globalThis&&globalThis.__rest|
|
|||
|
|
/*!
|
|||
|
|
* cookie
|
|||
|
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/
|
|||
|
|
var tr=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(";"),r=i.decode||ir,s=0;s<a.length;s++){var l=a[s],o=l.indexOf("=");if(!(o<0)){var d=l.substring(0,o).trim();if(null==n[d]){var c=l.substring(o+1,l.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),n[d]=sr(c,r)}}}return n},nr=function(e,t,n){var i=n||{},a=i.encode||ar;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!rr.test(e))throw new TypeError("argument name is invalid");var r=a(t);if(r&&!rr.test(r))throw new TypeError("argument val is invalid");var s=e+"="+r;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+Math.floor(l)}if(i.domain){if(!rr.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain="+i.domain}if(i.path){if(!rr.test(i.path))throw new TypeError("option path is invalid");s+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");s+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(s+="; HttpOnly");i.secure&&(s+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},ir=decodeURIComponent,ar=encodeURIComponent,rr=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function sr(e,t){try{return t(e)}catch(Ou){return e}}function lr(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(Ou){}return e}var or=globalThis&&globalThis.__assign||function(){return or=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},or.apply(this,arguments)};const dr=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?tr(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=tr(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),lr(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var i in this.cookies)n[i]=lr(this.cookies[i],e);return n},e.prototype.set=function(e,t,n){var i;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=or(or({},this.cookies),((i={})[e]=t,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=nr(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=or(or({},t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=or({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=nr(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}();var cr={exports:{}};const ur={},pr=function(e,t,n){if(!t||0===t.length)return e();const i=document.getElementsByTagName("link");return Promise.all(t.map((e=>{if((e=function(e){return"/"+e}(e))in ur)return;ur[e]=!0;const t=e.endsWith(".css"),a=t?'[rel="stylesheet"]':"";if(!!n)for(let n=i.length-1;n>=0;n--){const a=i[n];if(a.href===e&&(!t||"stylesheet"===a.rel))return}else if(document.querySelector(`link[href="${e}"]${a}`))return;const r=document.createElement("l
|
|||
|
|
/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */function cs(e){let t=e.length;for(;--t>=0;)e[t]=0}const us=256,ps=286,As=30,hs=15,fs=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]),ms=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]),vs=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),gs=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),ys=new Array(576);cs(ys);const xs=new Array(60);cs(xs);const bs=new Array(512);cs(bs);const ws=new Array(256);cs(ws);const js=new Array(29);cs(js);const Cs=new Array(As);function Ss(e,t,n,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}let Ns,Is,Fs;function Bs(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}cs(Cs);const Ps=e=>e<256?bs[e]:bs[256+(e>>>7)],ks=(e,t)=>{e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},Ts=(e,t,n)=>{e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,ks(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},Es=(e,t,n)=>{Ts(e,n[2*t],n[2*t+1])},Ds=(e,t)=>{let n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},Ls=(e,t,n)=>{const i=new Array(16);let a,r,s=0;for(a=1;a<=hs;a++)s=s+n[a-1]<<1,i[a]=s;for(r=0;r<=t;r++){let t=e[2*r+1];0!==t&&(e[2*r]=Ds(i[t]++,t))}},Us=e=>{let t;for(t=0;t<ps;t++)e.dyn_ltree[2*t]=0;for(t=0;t<As;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},_s=e=>{e.bi_valid>8?ks(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Os=(e,t,n,i)=>{const a=2*t,r=2*n;return e[a]<e[r]||e[a]===e[r]&&i[t]<=i[n]},Ms=(e,t,n)=>{const i=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a<e.heap_len&&Os(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!Os(t,i,e.heap[a],e.depth));)e.heap[n]=e.heap[a],n=a,a<<=1;e.heap[n]=i},Rs=(e,t,n)=>{let i,a,r,s,l=0;if(0!==e.sym_next)do{i=255&e.pending_buf[e.sym_buf+l++],i+=(255&e.pending_buf[e.sym_buf+l++])<<8,a=e.pending_buf[e.sym_buf+l++],0===i?Es(e,a,t):(r=ws[a],Es(e,r+us+1,t),s=fs[r],0!==s&&(a-=js[r],Ts(e,a,s)),i--,r=Ps(i),Es(e,r,n),s=ms[r],0!==s&&(i-=Cs[r],Ts(e,i,s)))}while(l<e.sym_next);Es(e,256,t)},Qs=(e,t)=>{const n=t.dyn_tree,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,r=t.stat_desc.elems;let s,l,o,d=-1;for(e.heap_len=0,e.heap_max=573,s=0;s<r;s++)0!==n[2*s]?(e.heap[++e.heap_len]=d=s,e.depth[s]=0):n[2*s+1]=0;for(;e.heap_len<2;)o=e.heap[++e.heap_len]=d<2?++d:0,n[2*o]=1,e.depth[o]=0,e.opt_len--,a&&(e.static_len-=i[2*o+1]);for(t.max_code=d,s=e.heap_len>>1;s>=1;s--)Ms(e,n,s);o=r;do{s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ms(e,n,1),l=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=l,n[2*o]=n[2*s]+n[2*l],e.depth[o]=(e.depth[s]>=e.depth[l]?e.depth[s]:e.depth[l])+1,n[2*s+1]=n[2*l+1]=o,e.heap[1]=o++,Ms(e,n,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],((e,t)=>{const n=t.dyn_tree,i=t.max_code,a=t.stat_desc.static_tree,r=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,l=t.stat_desc.extra_base,o=t.stat_desc.max_length;let d,c,u,p,A,h,f=0;for(p=0;p<=hs;p++)e.bl_count[p]=0;for(n[2*e.heap[e.heap_max]+1]=0,d=e.heap_max+1;d<573;d++)c=e.heap[d],p=n[2*n[2*c+1]+1]+1,p>o&&(p=o,f++),n[2*c+1]=p,c>i||(e.bl_count[p]++,A=0,c>=l&&(A=s[c-l]),h=n[2*c],e.opt_len+=h*(p+A),r&&(e.static_len+=h*(a[2*c+1]+A)));if(0!==f){do{for(p=o-1;0===e.bl_count[p];)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[o]--,f-=2}while(f>0);for(p=o;0!==p;p--)for(c=e.bl_count[p];0!==c;)u=e.heap[--d],u>i||(n[2*u+1]!==p&&(e.opt_len+=(p-n[2*u+1])*n[2*u],n[2*u+1]=p),c--)}})(e,t),Ls(n,d,e.bl_count)},Hs=(e,t,n)=>{let i,a,r=-1,s=t[1],l=0,o=7,d=4;for(0===s&&(o=138,d=3),t[2*(n+1)+1]=65535,i=0;i<=n;i++)a=s,s=t[2*(i+1)+1],++l<o&&a===s||(l<d?e.bl_tree[2*a]+=l:0!==a?(a!==r&&e.bl_tree[2*a]++,e.bl_tree[32]++):l<=10?e.bl_tree[34]++:e.bl_tree[36]++,l=0,r=a,0===s?(o=138,d=3):a===s?(o=6,d=3):(o=7,d=4))},Vs=(e,t,n)=>{let i,a,r=-1,s=t[1],l=0,o=7,d=4;for(0===s&&(o=138,d=3),i=0;i<=n;i++)if(a=s,s=t[2*(i+1)+1],!(++l<o&&a===s)){if(l<d)do{Es(
|
|||
|
|
/**
|
|||
|
|
* A class to parse color values
|
|||
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|||
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|||
|
|
* @license Use it if you like it
|
|||
|
|
*/function Cc(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:"90ee90",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(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i<n.length;i++){var a=n[i].re,r=n[i].process,s=a.exec(e);s&&(t=r(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}var Sc=vc.atob.bind(vc),Nc=vc.btoa.bind(vc);
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Joseph Myers does not specify a particular license for his work.
|
|||
|
|
*
|
|||
|
|
* Author: Joseph Myers
|
|||
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|||
|
|
*
|
|||
|
|
* Modified by: Owen Leong
|
|||
|
|
*/function Ic(e,t){var n=e[0],i=e[1],a=e[2],r=e[3];n=Bc(n,i,a,r,t[0],7,-680876936),r=Bc(r,n,i,a,t[1],12,-389564586),a=Bc(a,r,n,i,t[2],17,606105819),i=Bc(i,a,r,n,t[3],22,-1044525330),n=Bc(n,i,a,r,t[4],7,-176418897),r=Bc(r,n,i,a,t[5],12,1200080426),a=Bc(a,r,n,i,t[6],17,-1473231341),i=Bc(i,a,r,n,t[7],22,-45705983),n=Bc(n,i,a,r,t[8],7,1770035416),r=Bc(r,n,i,a,t[9],12,-1958414417),a=Bc(a,r,n,i,t[10],17,-42063),i=Bc(i,a,r,n,t[11],22,-1990404162),n=Bc(n,i,a,r,t[12],7,1804603682),r=Bc(r,n,i,a,t[13],12,-40341101),a=Bc(a,r,n,i,t[14],17,-1502002290),n=Pc(n,i=Bc(i,a,r,n,t[15],22,1236535329),a,r,t[1],5,-165796510),r=Pc(r,n,i,a,t[6],9,-1069501632),a=Pc(a,r,n,i,t[11],14,643717713),i=Pc(i,a,r,n,t[0],20,-373897302),n=Pc(n,i,a,r,t[5],5,-701558691),r=Pc(r,n,i,a,t[10],9,38016083),a=Pc(a,r,n,i,t[15],14,-660478335),i=Pc(i,a,r,n,t[4],20,-405537848),n=Pc(n,i,a,r,t[9],5,568446438),r=Pc(r,n,i,a,t[14],9,-1019803690),a=Pc(a,r,n,i,t[3],14,-187363961),i=Pc(i,a,r,n,t[8],20,1163531501),n=Pc(n,i,a,r,t[13],5,-1444681467),r=Pc(r,n,i,a,t[2],9,-51403784),a=Pc(a,r,n,i,t[7],14,1735328473),n=kc(n,i=Pc(i,a,r,n,t[12],20,-1926607734),a,r,t[5],4,-378558),r=kc(r,n,i,a,t[8],11,-2022574463),a=kc(a,r,n,i,t[11],16,1839030562),i=kc(i,a,r,n,t[14],23,-35309556),n=kc(n,i,a,r,t[1],4,-1530992060),r=kc(r,n,i,a,t[4],11,1272893353),a=kc(a,r,n,i,t[7],16,-155497632),i=kc(i,a,r,n,t[10],23,-1094730640),n=kc(n,i,a,r,t[13],4,681279174),r=kc(r,n,i,a,t[0],11,-358537222),a=kc(a,r,n,i,t[3],16,-722521979),i=kc(i,a,r,n,t[6],23,76029189),n=kc(n,i,a,r,t[9],4,-640364487),r=kc(r,n,i,a,t[12],11,-421815835),a=kc(a,r,n,i,t[15],16,530742520),n=Tc(n,i=kc(i,a,r,n,t[2],23,-995338651),a,r,t[0],6,-198630844),r=Tc(r,n,i,a,t[7],10,1126891415),a=Tc(a,r,n,i,t[14],15,-1416354905),i=Tc(i,a,r,n,t[5],21,-57434055),n=Tc(n,i,a,r,t[12],6,1700485571),r=Tc(r,n,i,a,t[3],10,-1894986606),a=Tc(a,r,n,i,t[10],15,-1051523),i=Tc(i,a,r,n,t[1],21,-2054922799),n=Tc(n,i,a,r,t[8],6,1873313359),r=Tc(r,n,i,a,t[15],10,-30611744),a=Tc(a,r,n,i,t[6],15,-1560198380),i=Tc(i,a,r,n,t[13],21,1309151649),n=Tc(n,i,a,r,t[4],6,-145523070),r=Tc(r,n,i,a,t[11],10,-1120210379),a=Tc(a,r,n,i,t[2],15,718787259),i=Tc(i,a,r,n,t[9],21,-343485551),e[0]=Rc(n,e[0]),e[1]=Rc(i,e[1]),e[2]=Rc(a,e[2]),e[3]=Rc(r,e[3])}function Fc(e,t,n,i,a,r){return t=Rc(Rc(t,e),Rc(i,r)),Rc(t<<a|t>>>32-a,n)}function Bc(e,t,n,i,a,r,s){return Fc(t&n|~t&i,e,t,a,r,s)}function Pc(e,t,n,i,a,r,s){return Fc(t&i|n&~i,e,t,a,r,s)}function kc(e,t,n,i,a,r,s){return Fc(t^n^i,e,t,a,r,s)}function Tc(e,t,n,i,a,r,s){return Fc(n^(t|~i),e,t,a,r,s)}function Ec(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)Ic(i,Dc(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(Ic(i,a),t=0;t<16;t++)a[t]=0;return a[14]=8*n,Ic(i,a),i}function Dc(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 Lc="0123456789abcdef".split("");function Uc(e){for(var t="",n=0;n<4;n++)t+=Lc[e>>8*n+4&15]+Lc[e>>8*n&15];return t}function _c(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Oc(e){return Ec(e).map(_c).join("")}var Mc="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=Uc(e[t]);return e.join("")}(Ec("hello"));function Rc(e,t){if(Mc){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|||
|
|
* You may embed it freely in your application (commercial or not), with or
|
|||
|
|
* without modifications.
|
|||
|
|
*
|
|||
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/function Qc(e,t){var n,i,a,r;if(e!==n){for(var s=(a=e,r=1+(256/e.length|0),new Array(r+1).join(a)),l=[],o=0;o<256;o++)l[o]=o;var d=0;for(o=0;o<256;o++){var c=l[o];d=(d+c+s.charCodeAt(o))%256,l[o]=l[d],l[d]=c}n=e,i=l}else l=i;var u=t.length,p=0,A=0,h="";for(o=0;o<u;o++)A=(A+(c=l[p=(p+1)%256]))%256,l[p]=l[A],l[A]=c,s=l[(l[p]+l[A])%256],h+=String.fromCharCode(t.charCodeAt(o)^s);return h}
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
* Author: Owen Leong (@owenl131)
|
|||
|
|
* Date: 15 Oct 2020
|
|||
|
|
* References:
|
|||
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|||
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|||
|
|
* http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/var Hc={print:4,modify:8,copy:16,"annot-forms":32};function Vc(e,t,n,i){this.v=1,this.r=2;var a=192;e.forEach((function(e){if(void 0!==Hc.perm)throw new Error("Invalid permission: "+e);a+=Hc[e]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var r=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^a)),this.encryptionKey=Oc(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=Qc(this.encryptionKey,this.padding)}function zc(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i<n;i++){var a=e.charCodeAt(i);t+=a<33||35===a||37===a||40===a||41===a||47===a||60===a||62===a||91===a||93===a||123===a||125===a||a>126?"#"+("0"+a.toString(16)).slice(-2):e[i]}return t}function qc(e){if("object"!==p(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[n,!!i],a},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var r in t[n]){var s=t[n][r];try{s[0].apply(e,i)}catch(ese){vc.console&&yc.error("jsPDF PubSub Error",ese.message,ese)}s[1]&&a.push(r)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Wc(e){if(!(this instanceof Wc))return new Wc(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 Yc(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function Kc(e,t,n,i,a){if(!(this instanceof Kc))return new Kc(e,t,n,i,a);this.type="axial"===e?2:3,this.coords=t,this.colors=n,Yc.call(this,i,a)}function Gc(e,t,n,i,a){if(!(this instanceof Gc))return new Gc(e,t,n,i,a);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,Yc.call(this,i,a)}function $c(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],r=arguments[3],s=[],l=1,o=16,d="S",c=null;"object"===p(e=e||{})&&(n=e.orientation,i=e.unit||i,a=e.format||a,r=e.compress||e.compressPdf||r,null!==(c=e.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(o=e.floatPrecision),d=e.defaultPathOperation||"S"),s=e.filters||(!0===r?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var u=e.putOnlyUsedFonts||!1,A={},h={internal:{},__private__:{}};h.__private__.PubSub=qc;var f="1.3",m=h.__private__.getPdfVersion=function(){return f};h.__private__.setPdfVersion=function(e){f=e};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return v};var g=h.__private__.getPageFormat=function(e){return v[e]};a=a||"a4";var y="compat",x="advanced",b=y;func
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
_u=$c.API,Ou=function(e){if(void 0!==e&&""!=e)return!0},$c.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),_u.events.push(["putPage",function(e){for(var t,n,i,a=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),l=e.pageContext.annotations,o=!1,d=0;d<l.length&&!o;d++)switch((t=l[d]).type){case"link":(Ou(t.options.url)||Ou(t.options.pageNumber))&&(o=!0);break;case"reference":case"text":case"freetext":o=!0}if(0!=o){this.internal.write("/Annots [");for(var c=0;c<l.length;c++){t=l[c];var u=this.internal.pdfEscape,p=this.internal.getEncryptor(e.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var A=this.internal.newAdditionalObject(),h=this.internal.newAdditionalObject(),f=this.internal.getEncryptor(A.objId),m=t.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(t.bounds.x)+" "+r(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w)+" "+r(t.bounds.y)+"] ")+"/Contents ("+u(f(t.contents))+")",i+=" /Popup "+h.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+u(f(m))+") >>",A.content=i;var v=A.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(t.bounds.x+30)+" "+r(t.bounds.y+t.bounds.h)+" "+a(t.bounds.x+t.bounds.w+30)+" "+r(t.bounds.y)+"] ")+" /Parent "+v,t.open&&(i+=" /Open true"),i+=" >>",h.content=i,this.internal.write(A.objId,"0 R",h.objId,"0 R");break;case"freetext":n="/Rect ["+a(t.bounds.x)+" "+r(t.bounds.y)+" "+a(t.bounds.x+t.bounds.w)+" "+r(t.bounds.y+t.bounds.h)+"] ";var g=t.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+u(p(t.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+g+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(t.options.name){var y=this.annotations._nameMap[t.options.name];t.options.pageNumber=y.page,t.options.top=y.y}else t.options.top||(t.options.top=0);if(n="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",i="",t.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+u(p(t.options.url))+") >>";else if(t.options.pageNumber)switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,i+=" /FitV "+t.options.left+"]";break;default:var x=r(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),i+=" /XYZ "+t.options.left+" "+x+" "+t.options.zoom+"]"}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),_u.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},_u.link=function(e,t,n,i,a){var r=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;r.pageContext.annotations.push({finalBounds:{x:s(e),y:l(t),w:s(e+n),h:l(t+i)},options:a,type:"link"})},_u.textWithLink=function(e,t,n,i){var a,r,s=this.getTextWidth(e),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==i.maxWidth){r=i.maxWidth;var o=this.splitTextToSize(e,r).length;a=Math.ceil(l*o)}else r=s,a=l;return this.text(e,t,n,i),n+=.2*l,"center"===i.align&&(t-=s/2),"right"===i.align&&(t-=s),this.link(t,n-l,r,a,i),s},_u.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2017 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
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}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var r=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},s=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},l=e.__arabicParser__.isArabicEndLetter=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length<=2},o=e.__arabicParser__.isArabicAlfLetter=function(e){return s(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=1};var d=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return s(e)&&r(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,i=n,a="",r=0;for(t=0;t<e.length;t+=1)void 0!==i[e.charCodeAt(t)]?(r++,"number"==typeof(i=i[e.charCodeAt(t)])&&(a+=String.fromCharCode(i),i=n,r=0),t===e.length-1&&(i=n,a+=e.charAt(t-(r-1)),t-=r-1,r=0)):(i=n,a+=e.charAt(t-r),t-=r,r=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==i[e.charCodeAt(0)]};var p=e.__arabicParser__.getCorrectForm=function(e,t,n){return s(e)?!1===r(e)?-1:!d(e)||!s(t)&&!s(n)||!s(n)&&l(t)||l(e)&&!s(t)||l(e)&&o(t)||l(e)&&l(t)?0:c(e)&&s(t)&&!l(t)&&s(n)&&d(n)?3:l(e)||!s(n)?1:2:-1},A=function(e){var n=0,i=0,a=0,r="",l="",o="",d=(e=e||"").split("\\s+"),c=[];for(n=0;n<d.length;n+=1){for(c.push(""),i=0;i<d[n].length;i+=1)r=d[n][i],l=d[n][i-1],o=d[n][i+1],s(r)?(a=p(r,l,o),c[n]+=-1!==a?String.fromCharCode(t[r.charCodeAt(0)][a]):r):c[n]+=r;c[n]=u(c[n])}return c.join
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(e){i=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);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}])}($c.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(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(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new r,this.internal.__cell__.pages=1},r=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var i=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var r=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(e){s=e}}),this};r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},r.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),r=t.scaleFactor||this.internal.scaleFactor,s=0,l=0,o=0,d=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)s<(o=this.getStringUnitWidth(e[u],{font:a})*n)&&(s=o);return 0!==s&&(l=e.length),{w:s/=r,h:Math.max((l*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new r(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof r?arguments[0]:new r(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var a=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,l=this.internal.__cell__.margins||t,o=this.internal.__cell__.ta
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|||
|
|
All rights reserved.
|
|||
|
|
|
|||
|
|
Redistribution and use in source and binary forms, with or without
|
|||
|
|
modification, are permitted provided that the following conditions are
|
|||
|
|
met:
|
|||
|
|
|
|||
|
|
* Redistributions of source code must retain the above copyright notice,
|
|||
|
|
this list of conditions and the following disclaimer.
|
|||
|
|
|
|||
|
|
* Redistributions in binary form must reproduce the above copyright
|
|||
|
|
notice, this list of conditions and the following disclaimer in the
|
|||
|
|
documentation and/or other materials provided with the distribution.
|
|||
|
|
|
|||
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|||
|
|
contributors may be used to endorse or promote products derived from
|
|||
|
|
this software without specific prior written permission.
|
|||
|
|
|
|||
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|||
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|||
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|||
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|||
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|||
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|||
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|||
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|||
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|
*/}function wp(e){var t,n,i,a,r,s=Math.floor,l=new Array(64),o=new Array(64),d=new Array(64),c=new Array(64),u=new Array(65535),p=new Array(65535),A=new Array(64),h=new Array(64),f=[],m=0,v=7,g=new Array(64),y=new Array(64),x=new Array(64),b=new Array(256),w=new Array(2048),j=[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],C=[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],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[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],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],k=[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 T(e,t){for(var n=0,i=0,a=new Array,r=1;r<=16;r++){for(var s=1;s<=e[r];s++)a[t[i]]=[],a[t[i]][0]=n,a[t[i]][1]=r,i++,n++;n*=2}return a}function E(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(D(255),D(0)):D(m),v=7,m=0)}function D(e){f.push(e)}function L(e){D(e>>8&255),D(255&e)}function U(e,t,n,i,a){for(var r,s=a[0],l=a[240],o=function(e,t){var n,i,a,r,s,l,o,d,c,u,p=0;for(c=0;c<8;++c){n=e[p],i=e[p+1],a=e[p+2],r=e[p+3],s=e[p+4],l=e[p+5],o=e[p+6];var h=n+(d=e[p+7]),f=n-d,m=i+o,v=i-o,g=a+l,y=a-l,x=r+s,b=r-s,w=h+x,j=h-x,C=m+g,S=m-g;e[p]=w+C,e[p+4]=w-C;var N=.707106781*(S+j);e[p+2]=j+N,e[p+6]=j-N;var I=.382683433*((w=b+y)-(S=v+f)),F=.5411961*w+I,B=1.306562965*S+I,P=.707106781*(C=y+v),k=f+P,T=f-P;e[p+5]=T+F,e[p+3]=T-F,e[p+1]=k+B,e[p+7]=k-B,p+=8}for(p=0,c=0;c<8;++c){n=e[p],i=e[p+8],a=e[p+16],r=e[p+24],s=e[p+32],l=e[p+40],o=e[p+48];var E=n+(d=e[p+56]),D=n-d,L=i+o,U=i-o,_=a+l,O=a-l,M=r+s,R=r-s,Q=E+M,H=E-M,V=L+_,z=L-_;e[p]=Q+V,e[p+32]=Q-V;var q=.707106781*(z+H);e[p+16]=H+q,e[p+48]=H-q;var W=.382683433*((Q=R+O)-(z=U+D)),Y=.5411961*Q+W,K=1.306562965*z+W,G=.707106781*(V=O+U),$=D+G,X=D-G;e[p+40]=X+Y,e[p+24]=X-Y,e[p+8]=$+K,e[p+56]=$-K,p++}for(c=0;c<64;++c)u=e[c]*t[c],A[c]=u>0?u+.5|0:u-.5|0;return A}(e,t),d=0;d<64;++d)h[j[d]]=o[d];var c=h[0]-n;n=h[0],0==c?E(i[0]):(E(i[p[r=32767+c]]),E(u[r]));for(var f=63;f>0&&0==h[f];)f--;if(0==f)return E(s),n;for(var m,v=1;v<=f;){for(var g=v;0==h[v]&&v<=f;)++v;var y=v-g;if(y>=16){m=y>>4;for(var x=1;x<=m;++x)E(l);y&=15}r=32767+h[v],E(a[(y<<4)+p[r]]),E(u[r]),v++}return 63!=f&&E(s),n}function _(e){e=Math.min(Math.max(e,1),100),r!=e&&(function(e){for(var t=[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],n=0;n<64;n++){var i=s((t[n]*e+50)/100);i=Math.min(Math.max(i,1),255),l[j[n]]=i}for(var a=[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],r=0;r<64;r++){var u=s((a[r]*e+50)/100);u=Math.min(Math.max(u,1),255),o[j[r]]=u}for(var p=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.541
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2017 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/function jp(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,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Cp(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var i=0;4>i;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}function i(e,t,n,i,a){for(var r=0;r<a;r++)e[t+r]=n[i+r]}function a(e,t,n,i){for(var a=0;a<i;a++)e[t+a]=n}function r(e){return new Int32Array(e)}function s(e,t){for(var n=[],i=0;i<e;i++)n.push(new t);return n}function l(e,t){var n=[];return function e(n,i,a){for(var r=a[i],s=0;s<r&&(n.push(a.length>i+1?[]:new t),!(a.length<i+1));s++)e(n[s],i+1,a)}(n,0,e),n}var o=function(){var e=this;function o(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function d(e,n,i,a,r){t(!(a%i));do{e[n+(a-=i)]=r}while(0<a)}function c(e,n,i,a,s){if(t(2328>=s),512>=s)var l=r(512);else if(null==(l=r(s)))return 0;return function(e,n,i,a,s,l){var c,p,A=n,h=1<<i,f=r(16),m=r(16);for(t(0!=s),t(null!=a),t(null!=e),t(0<i),p=0;p<s;++p){if(15<a[p])return 0;++f[a[p]]}if(f[0]==s)return 0;for(m[1]=0,c=1;15>c;++c){if(f[c]>1<<c)return 0;m[c+1]=m[c]+f[c]}for(p=0;p<s;++p)c=a[p],0<a[p]&&(l[m[c]++]=p);if(1==m[15])return(a=new u).g=0,a.value=l[0],d(e,A,1,h,a),h;var v,g=-1,y=h-1,x=0,b=1,w=1,j=1<<i;for(p=0,c=1,s=2;c<=i;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c])(a=new u).g=c,a.value=l[p++],d(e,A+x,s,j,a),x=o(x,c)}for(c=i+1,s=2;15>=c;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c]){if(a=new u,(x&y)!=g){for(A+=j,v=1<<(g=c)-i;15>g&&!(0>=(v-=f[g]));)++g,v<<=1;h+=j=1<<(v=g-i),e[n+(g=x&y)].g=v+i,e[n+g].value=A-n-g}a.g=c-i,a.value=l[p++],d(e,A+(x>>i),s,j,a),x=o(x,c)}}return b!=2*m[15]-1?0:h}(e,n,i,a,s,l)}function u(){this.value=this.g=0}function p(){this.value=this.g=0}function A(){this.G=s(5,u),this.H=r(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(On,p)}function h(e,n,i,a){t(null!=e),t(null!=n),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=i,e.Jd=n,e.Yc=i+a,e.Zc=4<=a?i+a-4+1:i,N(e)}function f(e,t){for(var n=0;0<t--;)n|=F(e,128)<<t;return n}function m(e,t){var n=f(e,t);return I(e)?-n:n}function v(e,n,i,a){var r,s=0;for(t(null!=e),t(null!=n),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),r=0;r<a;++r)s+=n[i+r]<<8*r;e.Ra=s,e.bb=a,e.oa=n,e.pa=i}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Qn-8>>>0,++e.bb,e.u-=8;j(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Rn){var i=w(e)&Mn[n];return e.u+=n,g(e),i}return e.h=1,e.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Qn-1)>>>0}function j(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Qn}function C(e,t){e.u=t,e.h=j(e)}function S(e){e.u>=Hn&&(t(e.u>=Hn),g(e))}function N(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function I(e){return f(e,1)}function F(e,t){var n=e.Ca;0>e.b&&N(e);var i=e.b,a=n*t>>>8,r=(e.I>>>i>a)+0;for(r?(n-=a,e.I-=a+1<<i>>>0):n=a+1,i=n,a=0;256<=i;)a+=8,i>>=8;return i=7^a+Vn[i],e.b-=i,e.Ca=(n<<i)-1,r}function B(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function P(e,t){return e[t+0]|e[t+1]<<8}function k(e,t){return P(e,t)|e[t+2]<<16}function T(e,t){return P(e,t)|P(e,t+2)<<16}function E(e,n){var i=1<<n;return t(null!=e),t(0<n),e.X=r(i),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),i(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function U(e,n,i,a){t(null!=i),t(null!=a);var r=i[0],s=a[0];return 0==r&&(r=(e*s+n/2)/n),0==s&&(s=(n*r+e/2)/e),0>=r||0>=s?0:(i[0]=r,a[0]=s,1)}function _(e,t){return e+(1<<t)-1>>>t}function O(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16
|
|||
|
|
/** @license
|
|||
|
|
* Copyright (c) 2017 Dominik Homberger
|
|||
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|||
|
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|||
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
https://webpjs.appspot.com
|
|||
|
|
WebPRiffParser dominikhlbg@gmail.com
|
|||
|
|
*/
|
|||
|
|
function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){for(p(e,t+=4),t+=8;t<e.length;){var l=d(e,t),o=p(e,t+=4);t+=4;var A=o+(1&o);switch(l){case"VP8 ":case"VP8L":void 0===n.frames[i]&&(n.frames[i]={}),(m=n.frames[i]).src_off=a?s:t-8,m.src_size=r+o+8,i++,a&&(a=!1,r=0,s=0);break;case"VP8X":(m=n.header={}).feature_flags=e[t];var h=t+4;m.canvas_width=1+u(e,h),h+=3,m.canvas_height=1+u(e,h),h+=3;break;case"ALPH":a=!0,r=A+8,s=t-8;break;case"ANIM":(m=n.header).bgcolor=p(e,t),h=t+4,m.loop_count=c(e,h),h+=2;break;case"ANMF":var f,m;(m=n.frames[i]={}).offset_x=2*u(e,t),t+=3,m.offset_y=2*u(e,t),t+=3,m.width=1+u(e,t),t+=3,m.height=1+u(e,t),t+=3,m.duration=u(e,t),t+=3,f=e[t++],m.dispose=1&f,m.blend=f>>1&1}"ANMF"!=l&&(t+=A)}return n}}(v,0);g.response=v,g.rgbaoutput=!0,g.dataurl=!1;var y=g.header?g.header:null,x=g.frames?g.frames:null;if(y){y.loop_counter=y.loop_count,A=[y.canvas_height],h=[y.canvas_width];for(var b=0;b<x.length&&0!=x[b].blend;b++);}var w=x[0],j=m.WebPDecodeRGBA(v,w.src_off,w.src_size,h,A);w.rgba=j,w.imgwidth=h[0],w.imgheight=A[0];for(var C=0;C<h[0]*A[0]*4;C++)f[C]=j[C];return this.width=h,this.height=A,this.data=f,this}!function(e){var t,n,i,a,r,s,l,o,d,c=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new o,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.lineDashOffset=e.lineDashOffset||0,this.lineDash=e.lineDash||[],this.margin=e.margin||[0,0,0,0],this.prevPageLastElemOffset=e.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new u(this),t=this.internal.f2,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,r=this.internal.getVerticalCoordinate,s=this.internal.Point,l=this.internal.Rectangle,o=this.internal.Matrix,d=new c}]);var u=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var n=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var i=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return i},set:function(e){i=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var r=0;Object.defineProperty(this,"posY",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(e){var t;"number"==typeof e?t=[e,e,e,e]:((t=new Array(4))[0]=e[0],t[1]=e.length>=2?e[1]:t[0],t[2]=e.length>=3?e[2]:t[0],t[3]=e.length>=4?e[3]:t[1]),d.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(e){s=e}});var l=0;Object.defineProperty(this,"lastBreak",{get:function(){return l},set:function(e){l=e}});var o=[];Object.defineProperty(this,"pageBreaks",{get:function(){return o},set:function(e){o=e}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(e){e instanceof c&&(d=e)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(e){d.path=e}});var u=[];Object.defineProperty(this,"ctxStack",{get:function(){return u},set:function(e){u=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fill
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF filters PlugIn
|
|||
|
|
* Copyright (c) 2014 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(e){var t,n,i,a,r,s,l,o,d,c;for(n=[],i=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>i;i+=4)0!==(r=(e.charCodeAt(i)<<24)+(e.charCodeAt(i+1)<<16)+(e.charCodeAt(i+2)<<8)+e.charCodeAt(i+3))?(s=(r=((r=((r=((r=(r-(c=r%85))/85)-(d=r%85))/85)-(o=r%85))/85)-(l=r%85))/85)%85,n.push(s+33,l+33,o+33,d+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,i,a,r,s=String,l="length",o=255,d="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),i=[],a=0,r=(e+=t="uuuuu"[c](e[l]%5||5))[l];r>a;a+=5)n=52200625*(e[d](a)-33)+614125*(e[d](a+1)-33)+7225*(e[d](a+2)-33)+85*(e[d](a+3)-33)+(e[d](a+4)-33),i.push(o&n>>24,o&n>>16,o&n>>8,o&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(i,t[l]),s.fromCharCode.apply(s,i)},i=function(e){return e.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">"},a=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",i=0;i<e.length;i+=2)n+=String.fromCharCode("0x"+(e[i]+e[i+1]));return n},r=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=ns(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,s){var l=0,o=e||"",d=[];for("string"==typeof(s=s||[])&&(s=[s]),l=0;l<s.length;l+=1)switch(s[l]){case"ASCII85Decode":case"/ASCII85Decode":o=n(o),d.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":o=t(o),d.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":o=a(o),d.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":o=i(o),d.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":o=r(o),d.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[l]+'" is not implemented')}return{data:o,reverseChain:d.reverse().join(" ")}}}($c.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF fileloading PlugIn
|
|||
|
|
* Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var i=void 0;try{i=function(e,t,n){var i=new XMLHttpRequest,a=0,r=function(e){var t=e.length,n=[],i=String.fromCharCode;for(a=0;a<t;a+=1)n.push(i(255&e.charCodeAt(a)));return n.join("")};if(i.open("GET",e,!t),i.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(i.onload=function(){200===i.status?n(r(this.responseText)):n(void 0)}),i.send(null),t&&200===i.status)return r(i.responseText)}(e,t,n)}catch(a){}return i}(e,t,n)},e.loadImageFile=e.loadFile}($c.API),function(e){function t(){return(vc.html2canvas?Promise.resolve(vc.html2canvas):pr((()=>Promise.resolve().then((()=>T9))),void 0)).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function n(){return(vc.DOMPurify?Promise.resolve(vc.DOMPurify):pr((()=>import("./purify.es-5860e1d7.js")),[])).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=p(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var i in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[i]=t.style[i];return n},r=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i},s=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(Promise.resolve(),n);return(i=i.setProgress(1,e,1,[e])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(e,t){return e.__proto__=t||s.prototype,e},s.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"}},s.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(e){switch(e){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.")}},s.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 e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},t=r(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(do
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var r=i[a],s=n.exec(r);if(null!=s){var l=s[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(r)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,d=[];for(a=0;a<o;a++){var c=e.internal.newObject();d.push(c);var u=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<d.length;a++)e.internal.write("(page_"+(a+1)+")"+d[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var i={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(i),i},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<t.children.length;i++){var a=t.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),i>0&&this.line("/Prev "+this.makeRef(t.children[i-1])),i<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var r=this.count=this.count_r({count:0},a);if(r>0&&this.line("/Count "+r),a.options&&a.options.pageNumber){var s=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var l=0;l<t.children.length;l++)this.renderItems(t.children[l])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}($c.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,i,a,r,s){var l,o=this.decode.DCT_DECODE,d=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=r||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(l=function(e){for(var n,i=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,r={width:0,height:0,numcomponents:1},s=4;s<a;s+=2){if(s+=i,-1!==t.indexOf(e.charCodeAt(s+1))){n=256*e.charCodeAt(s+5)+e.charCodeAt(s+6),r={width:256*e.charCodeAt(s+7)+e.charCodeAt(s+8),height:n,numcomponents:e.charCodeAt(s+9)};break}i=256*e.charCodeAt(s+2)+e.charCodeAt(s+3)}return r}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:e,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:o,index:n,alias:i}}return d}}($c.API),$c.API.processPNG=function(e,t,n,i){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var a,r=new hc(e,{checkCrc:!0}).decode(),s=r.width,l=r.height,o=r.channels,d=r.palette,c=r.depth;a=d&&1===o?function(e){for(var t=e.width,n=e.height,i=e.data,a=e.palette,r=e.depth,s=!1,l=[],o=[],d=void 0,c=!1,u=0,p=0;p<a.length;p++){var h=A(a[p],4),f=h[0],m=h[1],v=h[2],g=h[3];l.push(f,m,v),null!=g&&(0===g?(u++,o.length<1&&o.push(p)):g<255&&(c=!0))}if(c||u>1){s=!0,o=void 0;var y=t*n;d=new Uint8Array(y);for(var x=new DataView(i.buffer),b=0;b<y;b++){var w=vp(x,b,r),j=A(a[w],4)[3];d[b]=j}}else 0===u&&(o=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:s?8:void 0,colorBytes:i,alphaBytes:d,needSMask:s,palette:l,mask:o}}(r):2===o||4===o?function(e){for(var t=e.data,n=e.width,i=e.height,a=e.channels,r=e.depth,s=2===a?"DeviceGray":"DeviceRGB",l=a-1,o=n*i,d=l,c=o*d,u=1*o,p=Math.ceil(c*r/8),A=Math.ceil(u*r/8),h=new Uint8Array(p),f=new Uint8Array(A),m=new DataView(t.buffer),v=new DataView(h.buffer),g=new DataView(f.buffer),y=!1,x=0;x<o;x++){for(var b=x*a,w=0;w<d;w++)gp(v,vp(m,b+w,r),x*d+w,r);var j=vp(m,b+d,r);j<(1<<r)-1&&(y=!0),gp(g,j,1*x,r)}return{colorSpace:s,colorsPerPixel:l,sMaskBitsPerComponent:y?r:void 0,colorBytes:h,alphaBytes:f,needSMask:y}}(r):function(e){var t=e.data,n=1===e.channels?"DeviceGray":"DeviceRGB";return{colorSpace:n,colorsPerPixel:"DeviceGray"===n?1:3,colorBytes:t instanceof Uint16Array?function(e){for(var t=e.length,n=new Uint8Array(2*t),i=new DataView(n.buffer,n.byteOffset,n.byteLength),a=0;a<t;a++)i.setUint16(2*a,e[a],!1);return n}(t):t,needSMask:!1}}(r);var u,p,h,f=a,m=f.colorSpace,v=f.colorsPerPixel,g=f.sMaskBitsPerComponent,y=f.colorBytes,x=f.alphaBytes,b=f.needSMask,w=f.palette,j=f.mask,C=null;return i!==$c.API.image_compression.NONE?(C=function(e){var t;switch(e){case $c.API.image_compression.FAST:t=11;break;case $c.API.image_compression.MEDIUM:t=13;break;case $c.API.image_compression.SLOW:t=14;break;default:t=12}return t}(i),u=this.decode.FLATE_DECODE,p="/Predictor ".concat(C," /Colors ").concat(v," /BitsPerComponent ").concat(c," /Columns ").concat(s),e=dp(y,Math.ceil(s*v*c/8),v,c,i),b&&(h=dp(x,Math.ceil(s*g/8),1,g,i))):(u=void 0,p=void 0,e=y,b&&(h=x)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:n,data:e,index:t,filter:u,decodeParameters:p,transparency:j,palette:w,sMask:h,predictor:C,width:s,height:l,bitsPerComponent:c,sMaskBitsPerComponent:g,colorSpace:m}}},function(e){e.processGIF89A=function(t,n,i,a){var r=new xp(t),s=r.width,l=r.height,o=[];r.decodeAndBlitFrameRGBA(0,o);var d={data:o,width:s,height:l},c=new wp(100).encode(d,100);return e.processJPEG.call(this,c,n,i,a)},e.processGIF87A=e.processGIF89A}($c.API),jp.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.data
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2018 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.processBMP=function(t,n,i,a){var r=new jp(t,!1),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new wp(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}($c.API),Cp.prototype.getData=function(){return this.data},
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2019 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.processWEBP=function(t,n,i,a){var r=new Cp(t),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new wp(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}($c.API),$c.API.processRGBA=function(e,t,n){for(var i=e.data,a=i.length,r=new Uint8Array(a/4*3),s=new Uint8Array(a/4),l=0,o=0,d=0;d<a;d+=4){var c=i[d],u=i[d+1],p=i[d+2],A=i[d+3];r[l++]=c,r[l++]=u,r[l++]=p,s[o++]=A}var h=this.__addimage__.arrayBufferToBinaryString(r);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},$c.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={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 (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n};e.API.events.push(["addFont",function(n){var i,a,r=void 0,s=n.font,l=n.instance;if(!s.isStandardFont){if(void 0===l)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if("string"!=typeof(r=!1===l.existsFileInVFS(s.postScriptName)?l.loadFile(s.postScriptName):l.getFileFromVFS(s.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");i=s,a=/^\x00\x01\x00\x00/.test(a=r)?t(a):t(Sc(a)),i.metadata=e.API.TTFFont.open(a),i.metadata.Unicode=i.metadata.Unicode||{encoding:{},kerning:{},widths:[]},i.metadata.glyIdsUsed=[0]}}])}($c),$c.API.addSvgAsImage=function(e,t,n,i,a,r,s,l){if(isNaN(t)||isNaN(n))throw yc.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw yc.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var o=document.createElement("canvas");o.width=i,o.height=a;var d=o.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,o.width,o.height);var c={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},u=this;return(vc.canvg?Promise.resolve(vc.canvg):pr((()=>import("./index.es-7ba97c1a.js")),["assets/index.es-7ba97c1a.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js"])).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e})).then((function(t){return t.fromString(d,e,c)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(c)})).then((function(){u.addImage(o.toDataURL("image/jpeg",1),t,n,i,a,s,l)}))},$c.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 i=1;i<=this.internal.getNumberOfPages();i++)for(var a=0;a<this.internal.pages[i].length;a++)this.internal.pages[i][a]=this.internal.pages[i][a].replace(t,n);return this},$c.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,a,r,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1
|
|||
|
|
/** ====================================================================
|
|||
|
|
* @license
|
|||
|
|
* jsPDF XMP metadata plugin
|
|||
|
|
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|||
|
|
* a copy of this software and associated documentation files (the
|
|||
|
|
* "Software"), to deal in the Software without restriction, including
|
|||
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|||
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|||
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|||
|
|
* the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be
|
|||
|
|
* included in all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|||
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|||
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|||
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
* ====================================================================
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){var e='<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>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),i=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),r=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+i.length+a.length+t.length+r.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+n+i+a+r),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(e,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}($c.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,i=t.metadata.Unicode.widths,a=["","0","00","000","0000"],r=[""],s=0,l=e.length;s<l;++s){if(n=t.metadata.characterToGlyph(e.charCodeAt(s)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(s),-1==i.indexOf(n)&&(i.push(n),i.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return r.join("");n=n.toString(16),r.push(a[4-n.length],n)}return r.join("")},i=function(e){var t,n,i,a,r,s,l;for(r="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",i=[],s=0,l=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;s<l;s++)t=n[s],i.length>=100&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar",i=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),i.push("<"+t+"><"+a+">"));return i.length&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar\n"),r+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var l=n.metadata.Unicode.widths,o=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),d="",c=0;c<o.length;c++)d+=String.fromCharCode(o[c]);var u=r();s({data:d,addLength1:!0,objectId:u}),a("endobj");var p=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:p}),a("endobj");var A=r();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+zc(n.fontName)),a("/FontFile2 "+u+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/Flags "+n.metadata.flags),a("/StemV "+n.metadata.stemV),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a(">>"),a("endobj");var h=r();a("<<"),a("/Type /Font"),a("/BaseFont /"+zc(n.fontName)),a("/FontDescriptor "+A+" 0 R"),a("/W "+e.API.PDFObject.convert(l)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+n.encoding+")"),a(">>"),a(">>"),a("endobj"),n.objectNumber=r(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+p+" 0 R"),a("/BaseFont /"+zc(n.fontName)),a("/Encoding /"+n.encoding),a("/DescendantFonts ["+h+" 0 R]"),a(">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var l=n.metadata.rawData,o="",
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF virtual FileSystem functionality
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}($c.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
|
|||
|
|
* MIT License
|
|||
|
|
*/
|
|||
|
|
function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,i,a,r,s,l,o,d=t,c=[[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]],u=[[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]],p={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},A={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],f=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)$/),m=!1,v=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,i=A[n];return void 0!==i?d[256*i+(255&t)]:252===n||253===n?"AL":f.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},x=function(e,t,s,l){var o,d,c,u,p=t[l];switch(p){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(p="AN");break;case"AL":m=!0,p="R";break;case"WS":case"BN":p="N";break;case"CS":l<1||l+1>=t.length||"EN"!==(o=s[l-1])&&"AN"!==o||"EN"!==(d=t[l+1])&&"AN"!==d?p="N":m&&(d="AN"),p=d===o?d:"N";break;case"ES":p="EN"===(o=l>0?s[l-1]:"B")&&l+1<t.length&&"EN"===t[l+1]?"EN":"N";break;case"ET":if(l>0&&"EN"===s[l-1]){p="EN";break}if(m){p="N";break}for(c=l+1,u=t.length;c<u&&"ET"===t[c];)c++;p=c<u&&"EN"===t[c]?"EN":"N";break;case"NSM":if(a&&!r){for(u=t.length,c=l+1;c<u&&"NSM"===t[c];)c++;if(c<u){var A=e[l],h=A>=1425&&A<=2303||64286===A;if(o=t[c],h&&("R"===o||"AL"===o)){p="R";break}}}p=l<1||"B"===(o=t[l-1])?"N":s[l-1];break;case"B":m=!1,n=!0,p=v;break;case"S":i=!0,p="N"}return p},b=function(e,t,n){var i=e.split("");return n&&w(i,n,{hiLevel:v}),i.reverse(),t&&t.reverse(),i.join("")},w=function(e,t,a){var r,s,l,o,d,A=-1,h=e.length,f=0,y=[],b=v?u:c,w=[];for(m=!1,n=!1,i=!1,s=0;s<h;s++)w[s]=g(e[s]);for(l=0;l<h;l++){if(d=f,y[l]=x(e,w,y,l),r=240&(f=b[d][p[y[l]]]),f&=15,t[l]=o=b[f][5],r>0)if(16===r){for(s=A;s<l;s++)t[s]=1;A=-1}else A=-1;if(b[f][6])-1===A&&(A=l);else if(A>-1){for(s=A;s<l;s++)t[s]=o;A=-1}"B"===w[l]&&(t[l]=0),a.hiLevel|=o}i&&function(e,t,n){for(var i=0;i<n;i++)if("S"===e[i]){t[i]=v;for(var a=i-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(w,t,h)},j=function(e,t,i,a,r){if(!(r.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(i&&i.reverse());for(var s,l,o,d,c=t.length,u=0;u<c;){if(a[u]>=e){for(o=u+1;o<c&&a[o]>=e;)o++;for(d=u,l=o-1;d<l;d++,l--)s=t[d],t[d]=t[l],t[l]=s,i&&(s=i[d],i[d]=i[l],i[l]=s);u=o}u++}}},C=function(e,t,n){var i=e.split(""),a={hiLevel:v};return n||(n=[]),w(i,n,a),function(e,t,n){if(0!==n.hiLevel&&o)for(var i,a=0;a<e.length;a++)1===t[a]&&(i=h.indexOf(e[a]))>=0&&(e[a]=h[i+1])}(i,n,a),j(2,i,t,n,a),j(1,i,t,n,a),i.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===r&&(r=y(e)),void 0===l&&(l=y(e))}(e,t),a||!s||l)if(a&&s&&r^l)v=r?1:0,e=b(e,t,n);else if(!a&&s&&l)v=r?1:0,e=C(e,t,n),e=b(e,t);else if(!a||r||s||l){if(a&&!s&&r^l)e=b(e,t),r?(v=0,e=C(e,t,n)):(v=1,e=C(e,t,n),e=b(e,t));else if(a&&r&&!s&&l)v=1,e=C(e,t,n),e=b(e,t);else if(!a&&!s&&r^l){var i=o;r?(v=1,e=C(e,t,n),v=0,o=!1,e=C(e,t,n),o=i):(v=0,e=C(e,t,n),e=b(e,t),v=1,o=!1,e=C(e,t,n),o=i,e=b(e,t))}}else v=0,e=C(e,t,n);else v=r?1:0,e=C(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,s=e.isOutputVisual,r=e.isInputRtl,l=e.isOutputRtl,o=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),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
|
|||
|
|
/*!
|
|||
|
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|||
|
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|||
|
|
* Released under MIT License
|
|||
|
|
*/function $p(){return Yp||(Yp=1,Gp.exports=function(){
|
|||
|
|
/*! *****************************************************************************
|
|||
|
|
Copyright (c) Microsoft Corporation.
|
|||
|
|
|
|||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|||
|
|
purpose with or without fee is hereby granted.
|
|||
|
|
|
|||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|||
|
|
***************************************************************************** */
|
|||
|
|
var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},n.apply(this,arguments)};function i(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{o(i.next(e))}catch(t){r(t)}}function l(e){try{o(i.throw(e))}catch(t){r(t)}}function o(e){e.done?n(e.value):a(e.value).then(s,l)}o((i=i.apply(e,t||[])).next())}))}function a(e,t){var n,i,a,r,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return o([e,t])}}function o(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(a=2&r[0]?i.return:r[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,r[1])).done)return a;switch(i=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!((a=(a=s.trys).length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){s.label=r[1];break}if(6===r[0]&&s.label<a[1]){s.label=a[1],a=r;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(r);break}a[2]&&s.ops.pop(),s.trys.pop();continue}r=t.call(e,s)}catch(l){r=[6,l],i=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}}for(var r=function(){function e(e,t,n,i){this.left=e,this.top=t,this.width=n,this.height=i}return e.prototype.add=function(t,n,i,a){return new e(this.left+t,this.top+n,this.width+i,this.height+a)},e.fromClientRect=function(t,n){return new e(n.left+t.windowBounds.left,n.top+t.windowBounds.top,n.width,n.height)},e.fromDOMRectList=function(t,n){var i=Array.from(n).find((function(e){return 0!==e.width}));return i?new e(i.left+t.windowBounds.left,i.top+t.windowBounds.top,i.width,i.height):e.EMPTY},e.EMPTY=new e(0,0,0,0),e}(),s=function(e,t){return r.fromClientRect(e,t.getBoundingClientRect())},l=function(e){var t=e.body,n=e.documentElement;if(!t||!n)throw new Error("Unable to get document size");var i=Math.max(Math.max(t.scrollWidth,n.scrollWidth),Math.max(t.offsetWidth,n.offsetWidth),Math.max(t.clientWidth,n.clientWidth)),a=Math.max(Math.max(t.scrollHeight,n.scrollHeight),Math.max(t.offsetHeight,n.offsetHeight),Math.max(t.clientHeight,n.clientHeight));return new r(0,0,i,a)},o=function(e){for(var t=[],n=0,i=e.length;n<i;){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){var r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&a)<<10)+(1023&r)+65536):(t.push(a),n--)}else t.push(a)}return t},d=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,e);var n=e.length;if(!n)return"";for(var i=[],a=-1,r="";++a<n;){var s=e[a];s<=65535?i.push(s):(s-=65536,i.push(55296+(s>>10),s%1024+56320)),(a+1===n||i.length>16384)&&(r+=String.fromCharCode.apply(String,i),i.length=0)}return r},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="undefined"==typeof Uint8Array?[]:new Uint8Array(256),p=0;p<c.length;p++)u[c.charCodeAt(p)]=p;for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<A.length;f++)h[A.charCodeAt(f)]=f;for(var m=function(e){var t,n,i,a,r,s=.75*e.length,l=e.length,o=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var d="undefined"!=typeof ArrayBuf
|
|||
|
|
/*!
|
|||
|
|
* html2pdf.js v0.10.3
|
|||
|
|
* Copyright (c) 2025 Erik Koopmans
|
|||
|
|
* Released under the MIT License.
|
|||
|
|
*/self,Kp=function(e,t){return function(){var n={"./src/plugin/hyperlinks.js":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./src/plugin/hyperlinks.js ***!
|
|||
|
|
\**********************************/function(e,t,n){n.r(t),n(
|
|||
|
|
/*! core-js/modules/web.dom-collections.for-each.js */
|
|||
|
|
"./node_modules/core-js/modules/web.dom-collections.for-each.js"),n(
|
|||
|
|
/*! core-js/modules/es.string.link.js */
|
|||
|
|
"./node_modules/core-js/modules/es.string.link.js");var i=n(
|
|||
|
|
/*! ../worker.js */
|
|||
|
|
"./src/worker.js"),a=n(
|
|||
|
|
/*! ../utils.js */
|
|||
|
|
"./src/utils.js"),r=[],s={toContainer:i.default.prototype.toContainer,toPdf:i.default.prototype.toPdf};i.default.prototype.toContainer=function(){return s.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,t=e.querySelectorAll("a"),n=(0,a.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);r=[],Array.prototype.forEach.call(t,(function(e){for(var t=e.getClientRects(),i=0;i<t.length;i++){var s=(0,a.unitConvert)(t[i],this.prop.pageSize.k);s.left-=n.left,s.top-=n.top;var l=Math.floor(s.top/this.prop.pageSize.inner.height)+1,o=this.opt.margin[0]+s.top%this.prop.pageSize.inner.height,d=this.opt.margin[1]+s.left;r.push({page:l,top:o,left:d,clientRect:s,link:e})}}),this)}}))},i.default.prototype.toPdf=function(){return s.toPdf.call(this).then((function(){if(this.opt.enableLinks){r.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js":
|
|||
|
|
/*!************************************!*\
|
|||
|
|
!*** ./src/plugin/jspdf-plugin.js ***!
|
|||
|
|
\************************************/function(e,t,n){n.r(t),n(
|
|||
|
|
/*! core-js/modules/es.symbol.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.js"),n(
|
|||
|
|
/*! core-js/modules/es.symbol.description.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.description.js"),n(
|
|||
|
|
/*! core-js/modules/es.object.to-string.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.to-string.js"),n(
|
|||
|
|
/*! core-js/modules/es.symbol.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/es.string.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.string.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/web.dom-collections.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/web.dom-collections.iterator.js");var i=n(
|
|||
|
|
/*! jspdf */
|
|||
|
|
"jspdf");function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i.jsPDF.getPageSize=function(e,t,n){if("object"===a(e)){var i=e;e=i.orientation,t=i.unit||t,n=i.format||n}t=t||"mm",n=n||"a4",e=(""+(e||"P")).toLowerCase();var r=(""+n).toLowerCase(),s={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(t){case"pt":var l=1;break;case"mm":l=72/25.4;break;case"cm":l=72/2.54;break;case"in":l=72;break;case"px":l=.75;break;case"pc":case"em":l=12;break;case"ex":l=6;break;default:throw"Invalid unit: "+t}if(s.hasOwnProperty(r))var o=s[r][1]/l,d=s[r][0]/l;else try{o=n[1],d=n[0]}catch(u){throw new Error("Invalid format: "+n)}if("p"===e||"portrait"===e){if(e="p",d>o){var c=d;d=o,o=c}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",o>d&&(c=d,d=o,o=c)}return{width:d,height:o,unit:t,k:l}},t.default=i.jsPDF},"./src/plugin/pagebreaks.js":
|
|||
|
|
/*!**********************************!*\
|
|||
|
|
!*** ./src/plugin/pagebreaks.js ***!
|
|||
|
|
\**********************************/function(e,t,n){n.r(t),n(
|
|||
|
|
/*! core-js/modules/es.array.concat.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.concat.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.slice.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.slice.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.join.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.join.js"),n(
|
|||
|
|
/*! core-js/modules/web.dom-collections.for-each.js */
|
|||
|
|
"./node_modules/core-js/modules/web.dom-collections.for-each.js"),n(
|
|||
|
|
/*! core-js/modules/es.object.keys.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.keys.js");var i=n(
|
|||
|
|
/*! ../worker.js */
|
|||
|
|
"./src/worker.js"),a=n(
|
|||
|
|
/*! ../utils.js */
|
|||
|
|
"./src/utils.js"),r={toContainer:i.default.prototype.toContainer};i.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},i.default.prototype.toContainer=function(){return r.toContainer.call(this).then((function(){var e=this.prop.container,t=this.prop.pageSize.inner.px.height,n=[].concat(this.opt.pagebreak.mode),i={avoidAll:-1!==n.indexOf("avoid-all"),css:-1!==n.indexOf("css"),legacy:-1!==n.indexOf("legacy")},r={},s=this;["before","after","avoid"].forEach((function(t){var n=i.avoidAll&&"avoid"===t;r[t]=n?[]:[].concat(s.opt.pagebreak[t]||[]),r[t].length>0&&(r[t]=Array.prototype.slice.call(e.querySelectorAll(r[t].join(", "))))}));var l=e.querySelectorAll(".html2pdf__page-break");l=Array.prototype.slice.call(l);var o=e.querySelectorAll("*");Array.prototype.forEach.call(o,(function(e){var n={before:!1,after:i.legacy&&-1!==l.indexOf(e),avoid:i.avoidAll};if(i.css){var s=window.getComputedStyle(e),o=["always","page","left","right"];n={before:n.before||-1!==o.indexOf(s.breakBefore||s.pageBreakBefore),after:n.after||-1!==o.indexOf(s.breakAfter||s.pageBreakAfter),avoid:n.avoid||-1!==["avoid","avoid-page"].indexOf(s.breakInside||s.pageBreakInside)}}Object.keys(n).forEach((function(t){n[t]=n[t]||-1!==r[t].indexOf(e)}));var d=e.getBoundingClientRect();if(n.avoid&&!n.before){var c=Math.floor(d.top/t),u=Math.floor(d.bottom/t),p=Math.abs(d.bottom-d.top)/t;u!==c&&p<=1&&(n.before=!0)}if(n.before){var A=(0,a.createElement)("div",{style:{display:"block",height:t-d.top%t+"px"}});e.parentNode.insertBefore(A,e)}n.after&&(A=(0,a.createElement)("div",{style:{display:"block",height:t-d.bottom%t+"px"}}),e.parentNode.insertBefore(A,e.nextSibling))}))}))}},"./src/utils.js":
|
|||
|
|
/*!**********************!*\
|
|||
|
|
!*** ./src/utils.js ***!
|
|||
|
|
\**********************/function(e,t,n){function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t),n.d(t,{objType:function(){return a},createElement:function(){return r},cloneNode:function(){return s},unitConvert:function(){return l},toPx:function(){return o}}),n(
|
|||
|
|
/*! core-js/modules/es.number.constructor.js */
|
|||
|
|
"./node_modules/core-js/modules/es.number.constructor.js"),n(
|
|||
|
|
/*! core-js/modules/es.symbol.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.js"),n(
|
|||
|
|
/*! core-js/modules/es.symbol.description.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.description.js"),n(
|
|||
|
|
/*! core-js/modules/es.object.to-string.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.to-string.js"),n(
|
|||
|
|
/*! core-js/modules/es.symbol.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.symbol.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/es.string.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/es.string.iterator.js"),n(
|
|||
|
|
/*! core-js/modules/web.dom-collections.iterator.js */
|
|||
|
|
"./node_modules/core-js/modules/web.dom-collections.iterator.js");var a=function(e){var t=i(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},r=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var i=n.getElementsByTagName("script"),a=i.length;a-- >0;null)i[a].parentNode.removeChild(i[a])}for(var r in t.style)n.style[r]=t.style[r];return n},s=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i},l=function(e,t){if("number"===a(e))return 72*e/96/t;var n={};for(var i in e)n[i]=72*e[i]/96/t;return n},o=function(e,t){return Math.floor(e*t/72*96)}},"./src/worker.js":
|
|||
|
|
/*!***********************!*\
|
|||
|
|
!*** ./src/worker.js ***!
|
|||
|
|
\***********************/function(e,t,n){n.r(t),n(
|
|||
|
|
/*! core-js/modules/es.object.assign.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.assign.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.map.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.map.js"),n(
|
|||
|
|
/*! core-js/modules/es.object.keys.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.keys.js"),n(
|
|||
|
|
/*! core-js/modules/es.array.concat.js */
|
|||
|
|
"./node_modules/core-js/modules/es.array.concat.js"),n(
|
|||
|
|
/*! core-js/modules/es.object.to-string.js */
|
|||
|
|
"./node_modules/core-js/modules/es.object.to-string.js"),n(
|
|||
|
|
/*! core-js/modules/es.regexp.to-string.js */
|
|||
|
|
"./node_modules/core-js/modules/es.regexp.to-string.js"),n(
|
|||
|
|
/*! core-js/modules/es.function.name.js */
|
|||
|
|
"./node_modules/core-js/modules/es.function.name.js"),n(
|
|||
|
|
/*! core-js/modules/web.dom-collections.for-each.js */
|
|||
|
|
"./node_modules/core-js/modules/web.dom-collections.for-each.js");var i=n(
|
|||
|
|
/*! jspdf */
|
|||
|
|
"jspdf"),a=n(
|
|||
|
|
/*! html2canvas */
|
|||
|
|
"html2canvas"),r=n(
|
|||
|
|
/*! ./utils.js */
|
|||
|
|
"./src/utils.js"),s=n(
|
|||
|
|
/*! es6-promise */
|
|||
|
|
"./node_modules/es6-promise/dist/es6-promise.js"),l=n.n(s)().Promise,o=function e(t){var n=Object.assign(e.convert(l.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(l.resolve(),n);return i=(i=i.setProgress(1,e,1,[e])).set(t)};(o.prototype=Object.create(l.prototype)).constructor=o,o.convert=function(e,t){return e.__proto__=t||o.prototype,e},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},o.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch((0,r.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:(0,r.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},o.prototype.to=function(e){switch(e){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 e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var n=(0,r.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,r.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,r.createElement)("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},o.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,a(this.prop.container,e)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},o.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e=this.prop.canvas,t=this.opt,n=e.height,a=Math.floor(e.width*this.prop.pageSize.inner.ratio),r=Math.ceil(n/a),s=this.prop.pageSize.inner.height,l=document.createElement("canvas"),o=l.getContext("2d");l.width=e.width,l.height=a,this.prop.pdf=this.prop.pdf||new i.jsPDF(t.jsPDF);for(var d=0;d<r;d++){d===r-1&&n%a!==0&&(l.height=n%a,s=l.height*this.prop.pageSize.inner.width/l.width);var c=l.width,u=l.height;o.fillStyle="white",o.fillRect(0,0,c,u),o.drawImage(e,0,d*a,c,u,0,0,c,u),d&&this.prop.pdf.addPage();var p=l.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(p,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,s)}}))},o.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},o.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},o.prototype.outputImg=f
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/a-function.js ***!
|
|||
|
|
\******************************************************/function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/a-possible-prototype.js ***!
|
|||
|
|
\****************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/add-to-unscopables.js ***!
|
|||
|
|
\**************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),a=n(
|
|||
|
|
/*! ../internals/object-create */
|
|||
|
|
"./node_modules/core-js/internals/object-create.js"),r=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js"),s=i("unscopables"),l=Array.prototype;null==l[s]&&r.f(l,s,{configurable:!0,value:a(null)}),e.exports=function(e){l[s][e]=!0}},"./node_modules/core-js/internals/an-object.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/an-object.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-for-each.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/array-iteration */
|
|||
|
|
"./node_modules/core-js/internals/array-iteration.js").forEach,a=n(
|
|||
|
|
/*! ../internals/array-method-is-strict */
|
|||
|
|
"./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=a?[].forEach:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-includes.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),a=n(
|
|||
|
|
/*! ../internals/to-length */
|
|||
|
|
"./node_modules/core-js/internals/to-length.js"),r=n(
|
|||
|
|
/*! ../internals/to-absolute-index */
|
|||
|
|
"./node_modules/core-js/internals/to-absolute-index.js"),s=function(e){return function(t,n,s){var l,o=i(t),d=a(o.length),c=r(s,d);if(e&&n!=n){for(;d>c;)if((l=o[c++])!=l)return!0}else for(;d>c;c++)if((e||c in o)&&o[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},"./node_modules/core-js/internals/array-iteration.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-iteration.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/function-bind-context */
|
|||
|
|
"./node_modules/core-js/internals/function-bind-context.js"),a=n(
|
|||
|
|
/*! ../internals/indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/indexed-object.js"),r=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),s=n(
|
|||
|
|
/*! ../internals/to-length */
|
|||
|
|
"./node_modules/core-js/internals/to-length.js"),l=n(
|
|||
|
|
/*! ../internals/array-species-create */
|
|||
|
|
"./node_modules/core-js/internals/array-species-create.js"),o=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,c=4==e,u=6==e,p=7==e,A=5==e||u;return function(h,f,m,v){for(var g,y,x=r(h),b=a(x),w=i(f,m,3),j=s(b.length),C=0,S=v||l,N=t?S(h,j):n||p?S(h,0):void 0;j>C;C++)if((A||C in b)&&(y=w(g=b[C],C,x),e))if(t)N[C]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return C;case 2:o.call(N,g)}else switch(e){case 4:return!1;case 7:o.call(N,g)}return u?-1:d||c?c:N}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":
|
|||
|
|
/*!****************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-method-has-species-support.js ***!
|
|||
|
|
\****************************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),a=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),r=n(
|
|||
|
|
/*! ../internals/engine-v8-version */
|
|||
|
|
"./node_modules/core-js/internals/engine-v8-version.js"),s=a("species");e.exports=function(e){return r>=51||!i((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-method-is-strict.js ***!
|
|||
|
|
\******************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js");e.exports=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-species-constructor.js ***!
|
|||
|
|
\*********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),a=n(
|
|||
|
|
/*! ../internals/is-array */
|
|||
|
|
"./node_modules/core-js/internals/is-array.js"),r=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)?i(t)&&null===(t=t[r])&&(t=void 0):t=void 0),void 0===t?Array:t}},"./node_modules/core-js/internals/array-species-create.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/array-species-create.js ***!
|
|||
|
|
\****************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/array-species-constructor */
|
|||
|
|
"./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,t){return new(i(e))(0===t?0:t)}},"./node_modules/core-js/internals/classof-raw.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/classof-raw.js ***!
|
|||
|
|
\*******************************************************/function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/classof.js ***!
|
|||
|
|
\***************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-string-tag-support */
|
|||
|
|
"./node_modules/core-js/internals/to-string-tag-support.js"),a=n(
|
|||
|
|
/*! ../internals/classof-raw */
|
|||
|
|
"./node_modules/core-js/internals/classof-raw.js"),r=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),s="Arguments"==a(function(){return arguments}());e.exports=i?a:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),r))?n:s?a(t):"Object"==(i=a(t))&&"function"==typeof t.callee?"Arguments":i}},"./node_modules/core-js/internals/copy-constructor-properties.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/copy-constructor-properties.js ***!
|
|||
|
|
\***********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),a=n(
|
|||
|
|
/*! ../internals/own-keys */
|
|||
|
|
"./node_modules/core-js/internals/own-keys.js"),r=n(
|
|||
|
|
/*! ../internals/object-get-own-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"),s=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,t){for(var n=a(t),l=s.f,o=r.f,d=0;d<n.length;d++){var c=n[d];i(e,c)||l(e,c,o(t,c))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":
|
|||
|
|
/*!********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/correct-prototype-getter.js ***!
|
|||
|
|
\********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js");e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/create-html.js ***!
|
|||
|
|
\*******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/require-object-coercible */
|
|||
|
|
"./node_modules/core-js/internals/require-object-coercible.js"),a=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),r=/"/g;e.exports=function(e,t,n,s){var l=a(i(e)),o="<"+t;return""!==n&&(o+=" "+n+'="'+a(s).replace(r,""")+'"'),o+">"+l+"</"+t+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":
|
|||
|
|
/*!***********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/create-iterator-constructor.js ***!
|
|||
|
|
\***********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/iterators-core */
|
|||
|
|
"./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,a=n(
|
|||
|
|
/*! ../internals/object-create */
|
|||
|
|
"./node_modules/core-js/internals/object-create.js"),r=n(
|
|||
|
|
/*! ../internals/create-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/create-property-descriptor.js"),s=n(
|
|||
|
|
/*! ../internals/set-to-string-tag */
|
|||
|
|
"./node_modules/core-js/internals/set-to-string-tag.js"),l=n(
|
|||
|
|
/*! ../internals/iterators */
|
|||
|
|
"./node_modules/core-js/internals/iterators.js"),o=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=a(i,{next:r(1,n)}),s(e,d,!1,!0),l[d]=o,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":
|
|||
|
|
/*!**************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/create-non-enumerable-property.js ***!
|
|||
|
|
\**************************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js"),r=n(
|
|||
|
|
/*! ../internals/create-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/create-property-descriptor.js");e.exports=i?function(e,t,n){return a.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/internals/create-property-descriptor.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/create-property-descriptor.js ***!
|
|||
|
|
\**********************************************************************/function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/internals/create-property.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/create-property.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-property-key */
|
|||
|
|
"./node_modules/core-js/internals/to-property-key.js"),a=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js"),r=n(
|
|||
|
|
/*! ../internals/create-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,t,n){var s=i(t);s in e?a.f(e,s,r(0,n)):e[s]=n}},"./node_modules/core-js/internals/define-iterator.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/define-iterator.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/create-iterator-constructor */
|
|||
|
|
"./node_modules/core-js/internals/create-iterator-constructor.js"),r=n(
|
|||
|
|
/*! ../internals/object-get-prototype-of */
|
|||
|
|
"./node_modules/core-js/internals/object-get-prototype-of.js"),s=n(
|
|||
|
|
/*! ../internals/object-set-prototype-of */
|
|||
|
|
"./node_modules/core-js/internals/object-set-prototype-of.js"),l=n(
|
|||
|
|
/*! ../internals/set-to-string-tag */
|
|||
|
|
"./node_modules/core-js/internals/set-to-string-tag.js"),o=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),d=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),c=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),u=n(
|
|||
|
|
/*! ../internals/is-pure */
|
|||
|
|
"./node_modules/core-js/internals/is-pure.js"),p=n(
|
|||
|
|
/*! ../internals/iterators */
|
|||
|
|
"./node_modules/core-js/internals/iterators.js"),A=n(
|
|||
|
|
/*! ../internals/iterators-core */
|
|||
|
|
"./node_modules/core-js/internals/iterators-core.js"),h=A.IteratorPrototype,f=A.BUGGY_SAFARI_ITERATORS,m=c("iterator"),v="keys",g="values",y="entries",x=function(){return this};e.exports=function(e,t,n,c,A,b,w){a(n,t,c);var j,C,S,N=function(e){if(e===A&&k)return k;if(!f&&e in B)return B[e];switch(e){case v:case g:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",F=!1,B=e.prototype,P=B[m]||B["@@iterator"]||A&&B[A],k=!f&&P||N(A),T="Array"==t&&B.entries||P;if(T&&(j=r(T.call(new e)),h!==Object.prototype&&j.next&&(u||r(j)===h||(s?s(j,h):"function"!=typeof j[m]&&o(j,m,x)),l(j,I,!0,!0),u&&(p[I]=x))),A==g&&P&&P.name!==g&&(F=!0,k=function(){return P.call(this)}),u&&!w||B[m]===k||o(B,m,k),p[t]=k,A)if(C={values:N(g),keys:b?k:N(v),entries:N(y)},w)for(S in C)(f||F||!(S in B))&&d(B,S,C[S]);else i({target:t,proto:!0,forced:f||F},C);return C}},"./node_modules/core-js/internals/define-well-known-symbol.js":
|
|||
|
|
/*!********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/define-well-known-symbol.js ***!
|
|||
|
|
\********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/path */
|
|||
|
|
"./node_modules/core-js/internals/path.js"),a=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),r=n(
|
|||
|
|
/*! ../internals/well-known-symbol-wrapped */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol-wrapped.js"),s=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var t=i.Symbol||(i.Symbol={});a(t,e)||s(t,e,{value:r.f(e)})}},"./node_modules/core-js/internals/descriptors.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/descriptors.js ***!
|
|||
|
|
\*******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js");e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/document-create-element.js ***!
|
|||
|
|
\*******************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),r=i.document,s=a(r)&&a(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/dom-iterables.js ***!
|
|||
|
|
\*********************************************************/function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/engine-user-agent.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/get-built-in */
|
|||
|
|
"./node_modules/core-js/internals/get-built-in.js");e.exports=i("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/engine-v8-version.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i,a,r=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),s=n(
|
|||
|
|
/*! ../internals/engine-user-agent */
|
|||
|
|
"./node_modules/core-js/internals/engine-user-agent.js"),l=r.process,o=r.Deno,d=l&&l.versions||o&&o.version,c=d&&d.v8;c?a=(i=c.split("."))[0]<4?1:i[0]+i[1]:s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(a=i[1]),e.exports=a&&+a},"./node_modules/core-js/internals/enum-bug-keys.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/enum-bug-keys.js ***!
|
|||
|
|
\*********************************************************/function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/export.js ***!
|
|||
|
|
\**************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/object-get-own-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,r=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),s=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),l=n(
|
|||
|
|
/*! ../internals/set-global */
|
|||
|
|
"./node_modules/core-js/internals/set-global.js"),o=n(
|
|||
|
|
/*! ../internals/copy-constructor-properties */
|
|||
|
|
"./node_modules/core-js/internals/copy-constructor-properties.js"),d=n(
|
|||
|
|
/*! ../internals/is-forced */
|
|||
|
|
"./node_modules/core-js/internals/is-forced.js");e.exports=function(e,t){var n,c,u,p,A,h=e.target,f=e.global,m=e.stat;if(n=f?i:m?i[h]||l(h,{}):(i[h]||{}).prototype)for(c in t){if(p=t[c],u=e.noTargetGet?(A=a(n,c))&&A.value:n[c],!d(f?c:h+(m?".":"#")+c,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;o(p,u)}(e.sham||u&&u.sham)&&r(p,"sham",!0),s(n,c,p,e)}}},"./node_modules/core-js/internals/fails.js":
|
|||
|
|
/*!*************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/fails.js ***!
|
|||
|
|
\*************************************************/function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/function-bind-context.js ***!
|
|||
|
|
\*****************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/a-function */
|
|||
|
|
"./node_modules/core-js/internals/a-function.js");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/get-built-in.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js");e.exports=function(e,t){return arguments.length<2?"function"==typeof(n=i[e])?n:void 0:i[e]&&i[e][t];var n}},"./node_modules/core-js/internals/global.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/global.js ***!
|
|||
|
|
\**************************************************/function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof d&&d)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/has.js ***!
|
|||
|
|
\***********************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(i(e),t)}},"./node_modules/core-js/internals/hidden-keys.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/hidden-keys.js ***!
|
|||
|
|
\*******************************************************/function(e){e.exports={}},"./node_modules/core-js/internals/html.js":
|
|||
|
|
/*!************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/html.js ***!
|
|||
|
|
\************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/get-built-in */
|
|||
|
|
"./node_modules/core-js/internals/get-built-in.js");e.exports=i("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/ie8-dom-define.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),r=n(
|
|||
|
|
/*! ../internals/document-create-element */
|
|||
|
|
"./node_modules/core-js/internals/document-create-element.js");e.exports=!i&&!a((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/indexed-object.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),a=n(
|
|||
|
|
/*! ../internals/classof-raw */
|
|||
|
|
"./node_modules/core-js/internals/classof-raw.js"),r="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?r.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/inherit-if-required.js ***!
|
|||
|
|
\***************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),a=n(
|
|||
|
|
/*! ../internals/object-set-prototype-of */
|
|||
|
|
"./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,t,n){var r,s;return a&&"function"==typeof(r=t.constructor)&&r!==n&&i(s=r.prototype)&&s!==n.prototype&&a(e,s),e}},"./node_modules/core-js/internals/inspect-source.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/inspect-source.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/shared-store */
|
|||
|
|
"./node_modules/core-js/internals/shared-store.js"),a=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return a.call(e)}),e.exports=i.inspectSource},"./node_modules/core-js/internals/internal-state.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/internal-state.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i,a,r,s=n(
|
|||
|
|
/*! ../internals/native-weak-map */
|
|||
|
|
"./node_modules/core-js/internals/native-weak-map.js"),l=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),o=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),d=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),c=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),u=n(
|
|||
|
|
/*! ../internals/shared-store */
|
|||
|
|
"./node_modules/core-js/internals/shared-store.js"),p=n(
|
|||
|
|
/*! ../internals/shared-key */
|
|||
|
|
"./node_modules/core-js/internals/shared-key.js"),A=n(
|
|||
|
|
/*! ../internals/hidden-keys */
|
|||
|
|
"./node_modules/core-js/internals/hidden-keys.js"),h="Object already initialized",f=l.WeakMap;if(s||u.state){var m=u.state||(u.state=new f),v=m.get,g=m.has,y=m.set;i=function(e,t){if(g.call(m,e))throw new TypeError(h);return t.facade=e,y.call(m,e,t),t},a=function(e){return v.call(m,e)||{}},r=function(e){return g.call(m,e)}}else{var x=p("state");A[x]=!0,i=function(e,t){if(c(e,x))throw new TypeError(h);return t.facade=e,d(e,x,t),t},a=function(e){return c(e,x)?e[x]:{}},r=function(e){return c(e,x)}}e.exports={set:i,get:a,has:r,enforce:function(e){return r(e)?a(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!o(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},"./node_modules/core-js/internals/is-array.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/is-array.js ***!
|
|||
|
|
\****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/classof-raw */
|
|||
|
|
"./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"./node_modules/core-js/internals/is-forced.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/is-forced.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),a=/#|\.prototype\./,r=function(e,t){var n=l[s(e)];return n==d||n!=o&&("function"==typeof t?i(t):!!t)},s=r.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=r.data={},o=r.NATIVE="N",d=r.POLYFILL="P";e.exports=r},"./node_modules/core-js/internals/is-object.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/is-object.js ***!
|
|||
|
|
\*****************************************************/function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/is-pure.js ***!
|
|||
|
|
\***************************************************/function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/is-symbol.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/get-built-in */
|
|||
|
|
"./node_modules/core-js/internals/get-built-in.js"),a=n(
|
|||
|
|
/*! ../internals/use-symbol-as-uid */
|
|||
|
|
"./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return"function"==typeof t&&Object(e)instanceof t}},"./node_modules/core-js/internals/iterators-core.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/iterators-core.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i,a,r,s=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),l=n(
|
|||
|
|
/*! ../internals/object-get-prototype-of */
|
|||
|
|
"./node_modules/core-js/internals/object-get-prototype-of.js"),o=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),d=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),c=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),u=n(
|
|||
|
|
/*! ../internals/is-pure */
|
|||
|
|
"./node_modules/core-js/internals/is-pure.js"),p=c("iterator"),A=!1;[].keys&&("next"in(r=[].keys())?(a=l(l(r)))!==Object.prototype&&(i=a):A=!0);var h=null==i||s((function(){var e={};return i[p].call(e)!==e}));h&&(i={}),u&&!h||d(i,p)||o(i,p,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:A}},"./node_modules/core-js/internals/iterators.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/iterators.js ***!
|
|||
|
|
\*****************************************************/function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/native-symbol.js ***!
|
|||
|
|
\*********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/engine-v8-version */
|
|||
|
|
"./node_modules/core-js/internals/engine-v8-version.js"),a=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"./node_modules/core-js/internals/native-weak-map.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/native-weak-map.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/inspect-source */
|
|||
|
|
"./node_modules/core-js/internals/inspect-source.js"),r=i.WeakMap;e.exports="function"==typeof r&&/native code/.test(a(r))},"./node_modules/core-js/internals/object-assign.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-assign.js ***!
|
|||
|
|
\*********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),r=n(
|
|||
|
|
/*! ../internals/object-keys */
|
|||
|
|
"./node_modules/core-js/internals/object-keys.js"),s=n(
|
|||
|
|
/*! ../internals/object-get-own-property-symbols */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=n(
|
|||
|
|
/*! ../internals/object-property-is-enumerable */
|
|||
|
|
"./node_modules/core-js/internals/object-property-is-enumerable.js"),o=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),d=n(
|
|||
|
|
/*! ../internals/indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/indexed-object.js"),c=Object.assign,u=Object.defineProperty;e.exports=!c||a((function(){if(i&&1!==c({b:1},c(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||r(c({},t)).join("")!=a}))?function(e,t){for(var n=o(e),a=arguments.length,c=1,u=s.f,p=l.f;a>c;)for(var A,h=d(arguments[c++]),f=u?r(h).concat(u(h)):r(h),m=f.length,v=0;m>v;)A=f[v++],i&&!p.call(h,A)||(n[A]=h[A]);return n}:c},"./node_modules/core-js/internals/object-create.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-create.js ***!
|
|||
|
|
\*********************************************************/function(e,t,n){var i,a=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),r=n(
|
|||
|
|
/*! ../internals/object-define-properties */
|
|||
|
|
"./node_modules/core-js/internals/object-define-properties.js"),s=n(
|
|||
|
|
/*! ../internals/enum-bug-keys */
|
|||
|
|
"./node_modules/core-js/internals/enum-bug-keys.js"),l=n(
|
|||
|
|
/*! ../internals/hidden-keys */
|
|||
|
|
"./node_modules/core-js/internals/hidden-keys.js"),o=n(
|
|||
|
|
/*! ../internals/html */
|
|||
|
|
"./node_modules/core-js/internals/html.js"),d=n(
|
|||
|
|
/*! ../internals/document-create-element */
|
|||
|
|
"./node_modules/core-js/internals/document-create-element.js"),c=n(
|
|||
|
|
/*! ../internals/shared-key */
|
|||
|
|
"./node_modules/core-js/internals/shared-key.js"),u="prototype",p="script",A=c("IE_PROTO"),h=function(){},f=function(e){return"<"+p+">"+e+"</"+p+">"},m=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}v=document.domain&&i?m(i):function(){var e,t=d("iframe"),n="java"+p+":";if(t.style)return t.style.display="none",o.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F}()||m(i);for(var e=s.length;e--;)delete v[u][s[e]];return v()};l[A]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[u]=a(e),n=new h,h[u]=null,n[A]=e):n=v(),void 0===t?n:r(n,t)}},"./node_modules/core-js/internals/object-define-properties.js":
|
|||
|
|
/*!********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-define-properties.js ***!
|
|||
|
|
\********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js"),r=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),s=n(
|
|||
|
|
/*! ../internals/object-keys */
|
|||
|
|
"./node_modules/core-js/internals/object-keys.js");e.exports=i?Object.defineProperties:function(e,t){r(e);for(var n,i=s(t),l=i.length,o=0;l>o;)a.f(e,n=i[o++],t[n]);return e}},"./node_modules/core-js/internals/object-define-property.js":
|
|||
|
|
/*!******************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-define-property.js ***!
|
|||
|
|
\******************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/ie8-dom-define */
|
|||
|
|
"./node_modules/core-js/internals/ie8-dom-define.js"),r=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),s=n(
|
|||
|
|
/*! ../internals/to-property-key */
|
|||
|
|
"./node_modules/core-js/internals/to-property-key.js"),l=Object.defineProperty;t.f=i?l:function(e,t,n){if(r(e),t=s(t),r(n),a)try{return l(e,t,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":
|
|||
|
|
/*!******************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-get-own-property-descriptor.js ***!
|
|||
|
|
\******************************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/object-property-is-enumerable */
|
|||
|
|
"./node_modules/core-js/internals/object-property-is-enumerable.js"),r=n(
|
|||
|
|
/*! ../internals/create-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/create-property-descriptor.js"),s=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),l=n(
|
|||
|
|
/*! ../internals/to-property-key */
|
|||
|
|
"./node_modules/core-js/internals/to-property-key.js"),o=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),d=n(
|
|||
|
|
/*! ../internals/ie8-dom-define */
|
|||
|
|
"./node_modules/core-js/internals/ie8-dom-define.js"),c=Object.getOwnPropertyDescriptor;t.f=i?c:function(e,t){if(e=s(e),t=l(t),d)try{return c(e,t)}catch(n){}if(o(e,t))return r(!a.f.call(e,t),e[t])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":
|
|||
|
|
/*!**********************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-get-own-property-names-external.js ***!
|
|||
|
|
\**********************************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),a=n(
|
|||
|
|
/*! ../internals/object-get-own-property-names */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-names.js").f,r={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==r.call(e)?function(e){try{return a(e)}catch(t){return s.slice()}}(e):a(i(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-get-own-property-names.js ***!
|
|||
|
|
\*************************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/object-keys-internal */
|
|||
|
|
"./node_modules/core-js/internals/object-keys-internal.js"),a=n(
|
|||
|
|
/*! ../internals/enum-bug-keys */
|
|||
|
|
"./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":
|
|||
|
|
/*!***************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-get-own-property-symbols.js ***!
|
|||
|
|
\***************************************************************************/function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-get-prototype-of.js ***!
|
|||
|
|
\*******************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),a=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),r=n(
|
|||
|
|
/*! ../internals/shared-key */
|
|||
|
|
"./node_modules/core-js/internals/shared-key.js"),s=n(
|
|||
|
|
/*! ../internals/correct-prototype-getter */
|
|||
|
|
"./node_modules/core-js/internals/correct-prototype-getter.js"),l=r("IE_PROTO"),o=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){return e=a(e),i(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"./node_modules/core-js/internals/object-keys-internal.js":
|
|||
|
|
/*!****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-keys-internal.js ***!
|
|||
|
|
\****************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),a=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),r=n(
|
|||
|
|
/*! ../internals/array-includes */
|
|||
|
|
"./node_modules/core-js/internals/array-includes.js").indexOf,s=n(
|
|||
|
|
/*! ../internals/hidden-keys */
|
|||
|
|
"./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,t){var n,l=a(e),o=0,d=[];for(n in l)!i(s,n)&&i(l,n)&&d.push(n);for(;t.length>o;)i(l,n=t[o++])&&(~r(d,n)||d.push(n));return d}},"./node_modules/core-js/internals/object-keys.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-keys.js ***!
|
|||
|
|
\*******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/object-keys-internal */
|
|||
|
|
"./node_modules/core-js/internals/object-keys-internal.js"),a=n(
|
|||
|
|
/*! ../internals/enum-bug-keys */
|
|||
|
|
"./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return i(e,a)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":
|
|||
|
|
/*!*************************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-property-is-enumerable.js ***!
|
|||
|
|
\*************************************************************************/function(e,t){var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},"./node_modules/core-js/internals/object-set-prototype-of.js":
|
|||
|
|
/*!*******************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-set-prototype-of.js ***!
|
|||
|
|
\*******************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),a=n(
|
|||
|
|
/*! ../internals/a-possible-prototype */
|
|||
|
|
"./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return i(n),a(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/object-to-string.js ***!
|
|||
|
|
\************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-string-tag-support */
|
|||
|
|
"./node_modules/core-js/internals/to-string-tag-support.js"),a=n(
|
|||
|
|
/*! ../internals/classof */
|
|||
|
|
"./node_modules/core-js/internals/classof.js");e.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/ordinary-to-primitive.js ***!
|
|||
|
|
\*****************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js");e.exports=function(e,t){var n,a;if("string"===t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if("string"!==t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/own-keys.js ***!
|
|||
|
|
\****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/get-built-in */
|
|||
|
|
"./node_modules/core-js/internals/get-built-in.js"),a=n(
|
|||
|
|
/*! ../internals/object-get-own-property-names */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-names.js"),r=n(
|
|||
|
|
/*! ../internals/object-get-own-property-symbols */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-symbols.js"),s=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js");e.exports=i("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=r.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/internals/path.js":
|
|||
|
|
/*!************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/path.js ***!
|
|||
|
|
\************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js");e.exports=i},"./node_modules/core-js/internals/redefine.js":
|
|||
|
|
/*!****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/redefine.js ***!
|
|||
|
|
\****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),r=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),s=n(
|
|||
|
|
/*! ../internals/set-global */
|
|||
|
|
"./node_modules/core-js/internals/set-global.js"),l=n(
|
|||
|
|
/*! ../internals/inspect-source */
|
|||
|
|
"./node_modules/core-js/internals/inspect-source.js"),o=n(
|
|||
|
|
/*! ../internals/internal-state */
|
|||
|
|
"./node_modules/core-js/internals/internal-state.js"),d=o.get,c=o.enforce,u=String(String).split("String");(e.exports=function(e,t,n,l){var o,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,A=!!l&&!!l.noTargetGet;"function"==typeof n&&("string"!=typeof t||r(n,"name")||a(n,"name",t),(o=c(n)).source||(o.source=u.join("string"==typeof t?t:""))),e!==i?(d?!A&&e[t]&&(p=!0):delete e[t],p?e[t]=n:a(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d(this).source||l(this)}))},"./node_modules/core-js/internals/regexp-flags.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/regexp-flags.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/internals/require-object-coercible.js":
|
|||
|
|
/*!********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/require-object-coercible.js ***!
|
|||
|
|
\********************************************************************/function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/set-global.js ***!
|
|||
|
|
\******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js");e.exports=function(e,t){try{Object.defineProperty(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},"./node_modules/core-js/internals/set-to-string-tag.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/set-to-string-tag.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js").f,a=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),r=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,r)&&i(e,r,{configurable:!0,value:t})}},"./node_modules/core-js/internals/shared-key.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/shared-key.js ***!
|
|||
|
|
\******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/shared */
|
|||
|
|
"./node_modules/core-js/internals/shared.js"),a=n(
|
|||
|
|
/*! ../internals/uid */
|
|||
|
|
"./node_modules/core-js/internals/uid.js"),r=i("keys");e.exports=function(e){return r[e]||(r[e]=a(e))}},"./node_modules/core-js/internals/shared-store.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/shared-store.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/set-global */
|
|||
|
|
"./node_modules/core-js/internals/set-global.js"),r="__core-js_shared__",s=i[r]||a(r,{});e.exports=s},"./node_modules/core-js/internals/shared.js":
|
|||
|
|
/*!**************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/shared.js ***!
|
|||
|
|
\**************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-pure */
|
|||
|
|
"./node_modules/core-js/internals/is-pure.js"),a=n(
|
|||
|
|
/*! ../internals/shared-store */
|
|||
|
|
"./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.16.0",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":
|
|||
|
|
/*!**************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/string-html-forced.js ***!
|
|||
|
|
\**************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js");e.exports=function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/string-multibyte.js ***!
|
|||
|
|
\************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-integer */
|
|||
|
|
"./node_modules/core-js/internals/to-integer.js"),a=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),r=n(
|
|||
|
|
/*! ../internals/require-object-coercible */
|
|||
|
|
"./node_modules/core-js/internals/require-object-coercible.js"),s=function(e){return function(t,n){var s,l,o=a(r(t)),d=i(n),c=o.length;return d<0||d>=c?e?"":void 0:(s=o.charCodeAt(d))<55296||s>56319||d+1===c||(l=o.charCodeAt(d+1))<56320||l>57343?e?o.charAt(d):s:e?o.slice(d,d+2):l-56320+(s-55296<<10)+65536}};e.exports={codeAt:s(!1),charAt:s(!0)}},"./node_modules/core-js/internals/string-trim.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/string-trim.js ***!
|
|||
|
|
\*******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/require-object-coercible */
|
|||
|
|
"./node_modules/core-js/internals/require-object-coercible.js"),a=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),r="["+n(
|
|||
|
|
/*! ../internals/whitespaces */
|
|||
|
|
"./node_modules/core-js/internals/whitespaces.js")+"]",s=RegExp("^"+r+r+"*"),l=RegExp(r+r+"*$"),o=function(e){return function(t){var n=a(i(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:o(1),end:o(2),trim:o(3)}},"./node_modules/core-js/internals/to-absolute-index.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-absolute-index.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-integer */
|
|||
|
|
"./node_modules/core-js/internals/to-integer.js"),a=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?a(n+t,0):r(n,t)}},"./node_modules/core-js/internals/to-indexed-object.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-indexed-object.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/indexed-object.js"),a=n(
|
|||
|
|
/*! ../internals/require-object-coercible */
|
|||
|
|
"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return i(a(e))}},"./node_modules/core-js/internals/to-integer.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-integer.js ***!
|
|||
|
|
\******************************************************/function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},"./node_modules/core-js/internals/to-length.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-length.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-integer */
|
|||
|
|
"./node_modules/core-js/internals/to-integer.js"),a=Math.min;e.exports=function(e){return e>0?a(i(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-object.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/require-object-coercible */
|
|||
|
|
"./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(i(e))}},"./node_modules/core-js/internals/to-primitive.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-primitive.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),a=n(
|
|||
|
|
/*! ../internals/is-symbol */
|
|||
|
|
"./node_modules/core-js/internals/is-symbol.js"),r=n(
|
|||
|
|
/*! ../internals/ordinary-to-primitive */
|
|||
|
|
"./node_modules/core-js/internals/ordinary-to-primitive.js"),s=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,l=e[s];if(void 0!==l){if(void 0===t&&(t="default"),n=l.call(e,t),!i(n)||a(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),r(e,t)}},"./node_modules/core-js/internals/to-property-key.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-property-key.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-primitive */
|
|||
|
|
"./node_modules/core-js/internals/to-primitive.js"),a=n(
|
|||
|
|
/*! ../internals/is-symbol */
|
|||
|
|
"./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var t=i(e,"string");return a(t)?t:String(t)}},"./node_modules/core-js/internals/to-string-tag-support.js":
|
|||
|
|
/*!*****************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-string-tag-support.js ***!
|
|||
|
|
\*****************************************************************/function(e,t,n){var i={};i[n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(i)},"./node_modules/core-js/internals/to-string.js":
|
|||
|
|
/*!*****************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/to-string.js ***!
|
|||
|
|
\*****************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/is-symbol */
|
|||
|
|
"./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(i(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js":
|
|||
|
|
/*!***********************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/uid.js ***!
|
|||
|
|
\***********************************************/function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/use-symbol-as-uid.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/native-symbol */
|
|||
|
|
"./node_modules/core-js/internals/native-symbol.js");e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":
|
|||
|
|
/*!*********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/well-known-symbol-wrapped.js ***!
|
|||
|
|
\*********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js");t.f=i},"./node_modules/core-js/internals/well-known-symbol.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/well-known-symbol.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/shared */
|
|||
|
|
"./node_modules/core-js/internals/shared.js"),r=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),s=n(
|
|||
|
|
/*! ../internals/uid */
|
|||
|
|
"./node_modules/core-js/internals/uid.js"),l=n(
|
|||
|
|
/*! ../internals/native-symbol */
|
|||
|
|
"./node_modules/core-js/internals/native-symbol.js"),o=n(
|
|||
|
|
/*! ../internals/use-symbol-as-uid */
|
|||
|
|
"./node_modules/core-js/internals/use-symbol-as-uid.js"),d=a("wks"),c=i.Symbol,u=o?c:c&&c.withoutSetter||s;e.exports=function(e){return r(d,e)&&(l||"string"==typeof d[e])||(l&&r(c,e)?d[e]=c[e]:d[e]=u("Symbol."+e)),d[e]}},"./node_modules/core-js/internals/whitespaces.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/internals/whitespaces.js ***!
|
|||
|
|
\*******************************************************/function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":
|
|||
|
|
/*!*********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.array.concat.js ***!
|
|||
|
|
\*********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),r=n(
|
|||
|
|
/*! ../internals/is-array */
|
|||
|
|
"./node_modules/core-js/internals/is-array.js"),s=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),l=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),o=n(
|
|||
|
|
/*! ../internals/to-length */
|
|||
|
|
"./node_modules/core-js/internals/to-length.js"),d=n(
|
|||
|
|
/*! ../internals/create-property */
|
|||
|
|
"./node_modules/core-js/internals/create-property.js"),c=n(
|
|||
|
|
/*! ../internals/array-species-create */
|
|||
|
|
"./node_modules/core-js/internals/array-species-create.js"),u=n(
|
|||
|
|
/*! ../internals/array-method-has-species-support */
|
|||
|
|
"./node_modules/core-js/internals/array-method-has-species-support.js"),p=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),A=n(
|
|||
|
|
/*! ../internals/engine-v8-version */
|
|||
|
|
"./node_modules/core-js/internals/engine-v8-version.js"),h=p("isConcatSpreadable"),f=9007199254740991,m="Maximum allowed index exceeded",v=A>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=u("concat"),y=function(e){if(!s(e))return!1;var t=e[h];return void 0!==t?!!t:r(e)};i({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,i,a,r,s=l(this),u=c(s,0),p=0;for(t=-1,i=arguments.length;t<i;t++)if(y(r=-1===t?s:arguments[t])){if(p+(a=o(r.length))>f)throw TypeError(m);for(n=0;n<a;n++,p++)n in r&&d(u,p,r[n])}else{if(p>=f)throw TypeError(m);d(u,p++,r)}return u.length=p,u}})},"./node_modules/core-js/modules/es.array.iterator.js":
|
|||
|
|
/*!***********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.array.iterator.js ***!
|
|||
|
|
\***********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),a=n(
|
|||
|
|
/*! ../internals/add-to-unscopables */
|
|||
|
|
"./node_modules/core-js/internals/add-to-unscopables.js"),r=n(
|
|||
|
|
/*! ../internals/iterators */
|
|||
|
|
"./node_modules/core-js/internals/iterators.js"),s=n(
|
|||
|
|
/*! ../internals/internal-state */
|
|||
|
|
"./node_modules/core-js/internals/internal-state.js"),l=n(
|
|||
|
|
/*! ../internals/define-iterator */
|
|||
|
|
"./node_modules/core-js/internals/define-iterator.js"),o="Array Iterator",d=s.set,c=s.getterFor(o);e.exports=l(Array,"Array",(function(e,t){d(this,{type:o,target:i(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),r.Arguments=r.Array,a("keys"),a("values"),a("entries")},"./node_modules/core-js/modules/es.array.join.js":
|
|||
|
|
/*!*******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.array.join.js ***!
|
|||
|
|
\*******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/indexed-object.js"),r=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),s=n(
|
|||
|
|
/*! ../internals/array-method-is-strict */
|
|||
|
|
"./node_modules/core-js/internals/array-method-is-strict.js"),l=[].join,o=a!=Object,d=s("join",",");i({target:"Array",proto:!0,forced:o||!d},{join:function(e){return l.call(r(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es.array.map.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.array.map.js ***!
|
|||
|
|
\******************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/array-iteration */
|
|||
|
|
"./node_modules/core-js/internals/array-iteration.js").map;i({target:"Array",proto:!0,forced:!n(
|
|||
|
|
/*! ../internals/array-method-has-species-support */
|
|||
|
|
"./node_modules/core-js/internals/array-method-has-species-support.js")("map")},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.array.slice.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),r=n(
|
|||
|
|
/*! ../internals/is-array */
|
|||
|
|
"./node_modules/core-js/internals/is-array.js"),s=n(
|
|||
|
|
/*! ../internals/to-absolute-index */
|
|||
|
|
"./node_modules/core-js/internals/to-absolute-index.js"),l=n(
|
|||
|
|
/*! ../internals/to-length */
|
|||
|
|
"./node_modules/core-js/internals/to-length.js"),o=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),d=n(
|
|||
|
|
/*! ../internals/create-property */
|
|||
|
|
"./node_modules/core-js/internals/create-property.js"),c=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),u=n(
|
|||
|
|
/*! ../internals/array-method-has-species-support */
|
|||
|
|
"./node_modules/core-js/internals/array-method-has-species-support.js")("slice"),p=c("species"),A=[].slice,h=Math.max;i({target:"Array",proto:!0,forced:!u},{slice:function(e,t){var n,i,c,u=o(this),f=l(u.length),m=s(e,f),v=s(void 0===t?f:t,f);if(r(u)&&("function"!=typeof(n=u.constructor)||n!==Array&&!r(n.prototype)?a(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return A.call(u,m,v);for(i=new(void 0===n?Array:n)(h(v-m,0)),c=0;m<v;m++,c++)m in u&&d(i,c,u[m]);return i.length=c,i}})},"./node_modules/core-js/modules/es.function.name.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.function.name.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js").f,r=Function.prototype,s=r.toString,l=/^\s*function ([^ (]*)/,o="name";i&&!(o in r)&&a(r,o,{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.number.constructor.js ***!
|
|||
|
|
\***************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),a=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),r=n(
|
|||
|
|
/*! ../internals/is-forced */
|
|||
|
|
"./node_modules/core-js/internals/is-forced.js"),s=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),l=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),o=n(
|
|||
|
|
/*! ../internals/classof-raw */
|
|||
|
|
"./node_modules/core-js/internals/classof-raw.js"),d=n(
|
|||
|
|
/*! ../internals/inherit-if-required */
|
|||
|
|
"./node_modules/core-js/internals/inherit-if-required.js"),c=n(
|
|||
|
|
/*! ../internals/is-symbol */
|
|||
|
|
"./node_modules/core-js/internals/is-symbol.js"),u=n(
|
|||
|
|
/*! ../internals/to-primitive */
|
|||
|
|
"./node_modules/core-js/internals/to-primitive.js"),p=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),A=n(
|
|||
|
|
/*! ../internals/object-create */
|
|||
|
|
"./node_modules/core-js/internals/object-create.js"),h=n(
|
|||
|
|
/*! ../internals/object-get-own-property-names */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-names.js").f,f=n(
|
|||
|
|
/*! ../internals/object-get-own-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,m=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js").f,v=n(
|
|||
|
|
/*! ../internals/string-trim */
|
|||
|
|
"./node_modules/core-js/internals/string-trim.js").trim,g="Number",y=a[g],x=y.prototype,b=o(A(x))==g,w=function(e){if(c(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,i,a,r,s,l,o,d=u(e,"number");if("string"==typeof d&&d.length>2)if(43===(t=(d=v(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+d}for(s=(r=d.slice(2)).length,l=0;l<s;l++)if((o=r.charCodeAt(l))<48||o>a)return NaN;return parseInt(r,i)}return+d};if(r(g,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var j,C=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof C&&(b?p((function(){x.valueOf.call(n)})):o(n)!=g)?d(new y(w(t)),n,C):w(t)},S=i?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),N=0;S.length>N;N++)l(y,j=S[N])&&!l(C,j)&&m(C,j,f(y,j));C.prototype=x,x.constructor=C,s(a,g,C)}},"./node_modules/core-js/modules/es.object.assign.js":
|
|||
|
|
/*!**********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.object.assign.js ***!
|
|||
|
|
\**********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/object-assign */
|
|||
|
|
"./node_modules/core-js/internals/object-assign.js");i({target:"Object",stat:!0,forced:Object.assign!==a},{assign:a})},"./node_modules/core-js/modules/es.object.keys.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.object.keys.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),r=n(
|
|||
|
|
/*! ../internals/object-keys */
|
|||
|
|
"./node_modules/core-js/internals/object-keys.js");i({target:"Object",stat:!0,forced:n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js")((function(){r(1)}))},{keys:function(e){return r(a(e))}})},"./node_modules/core-js/modules/es.object.to-string.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.object.to-string.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/to-string-tag-support */
|
|||
|
|
"./node_modules/core-js/internals/to-string-tag-support.js"),a=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),r=n(
|
|||
|
|
/*! ../internals/object-to-string */
|
|||
|
|
"./node_modules/core-js/internals/object-to-string.js");i||a(Object.prototype,"toString",r,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":
|
|||
|
|
/*!*************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.regexp.to-string.js ***!
|
|||
|
|
\*************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),a=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),r=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),s=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),l=n(
|
|||
|
|
/*! ../internals/regexp-flags */
|
|||
|
|
"./node_modules/core-js/internals/regexp-flags.js"),o="toString",d=RegExp.prototype,c=d[o],u=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),p=c.name!=o;(u||p)&&i(RegExp.prototype,o,(function(){var e=a(this),t=r(e.source),n=e.flags;return"/"+t+"/"+r(void 0===n&&e instanceof RegExp&&!("flags"in d)?l.call(e):n)}),{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.string.iterator.js ***!
|
|||
|
|
\************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/string-multibyte */
|
|||
|
|
"./node_modules/core-js/internals/string-multibyte.js").charAt,a=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),r=n(
|
|||
|
|
/*! ../internals/internal-state */
|
|||
|
|
"./node_modules/core-js/internals/internal-state.js"),s=n(
|
|||
|
|
/*! ../internals/define-iterator */
|
|||
|
|
"./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",o=r.set,d=r.getterFor(l);s(String,"String",(function(e){o(this,{type:l,string:a(e),index:0})}),(function(){var e,t=d(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=i(n,a),t.index+=e.length,{value:e,done:!1})}))},"./node_modules/core-js/modules/es.string.link.js":
|
|||
|
|
/*!********************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.string.link.js ***!
|
|||
|
|
\********************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/create-html */
|
|||
|
|
"./node_modules/core-js/internals/create-html.js");i({target:"String",proto:!0,forced:n(
|
|||
|
|
/*! ../internals/string-html-forced */
|
|||
|
|
"./node_modules/core-js/internals/string-html-forced.js")("link")},{link:function(e){return a(this,"a","href",e)}})},"./node_modules/core-js/modules/es.symbol.description.js":
|
|||
|
|
/*!***************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.symbol.description.js ***!
|
|||
|
|
\***************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),r=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),s=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),l=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),o=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js").f,d=n(
|
|||
|
|
/*! ../internals/copy-constructor-properties */
|
|||
|
|
"./node_modules/core-js/internals/copy-constructor-properties.js"),c=r.Symbol;if(a&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new c(e):void 0===e?c():c(e);return""===e&&(u[t]=!0),t};d(p,c);var A=p.prototype=c.prototype;A.constructor=p;var h=A.toString,f="Symbol(test)"==String(c("test")),m=/^Symbol\((.*)\)[^)]+$/;o(A,"description",{configurable:!0,get:function(){var e=l(this)?this.valueOf():this,t=h.call(e);if(s(u,e))return"";var n=f?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:p})}},"./node_modules/core-js/modules/es.symbol.iterator.js":
|
|||
|
|
/*!************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.symbol.iterator.js ***!
|
|||
|
|
\************************************************************/function(e,t,n){n(
|
|||
|
|
/*! ../internals/define-well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/define-well-known-symbol.js")("iterator")},"./node_modules/core-js/modules/es.symbol.js":
|
|||
|
|
/*!***************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/es.symbol.js ***!
|
|||
|
|
\***************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/export */
|
|||
|
|
"./node_modules/core-js/internals/export.js"),a=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),r=n(
|
|||
|
|
/*! ../internals/get-built-in */
|
|||
|
|
"./node_modules/core-js/internals/get-built-in.js"),s=n(
|
|||
|
|
/*! ../internals/is-pure */
|
|||
|
|
"./node_modules/core-js/internals/is-pure.js"),l=n(
|
|||
|
|
/*! ../internals/descriptors */
|
|||
|
|
"./node_modules/core-js/internals/descriptors.js"),o=n(
|
|||
|
|
/*! ../internals/native-symbol */
|
|||
|
|
"./node_modules/core-js/internals/native-symbol.js"),d=n(
|
|||
|
|
/*! ../internals/fails */
|
|||
|
|
"./node_modules/core-js/internals/fails.js"),c=n(
|
|||
|
|
/*! ../internals/has */
|
|||
|
|
"./node_modules/core-js/internals/has.js"),u=n(
|
|||
|
|
/*! ../internals/is-array */
|
|||
|
|
"./node_modules/core-js/internals/is-array.js"),p=n(
|
|||
|
|
/*! ../internals/is-object */
|
|||
|
|
"./node_modules/core-js/internals/is-object.js"),A=n(
|
|||
|
|
/*! ../internals/is-symbol */
|
|||
|
|
"./node_modules/core-js/internals/is-symbol.js"),h=n(
|
|||
|
|
/*! ../internals/an-object */
|
|||
|
|
"./node_modules/core-js/internals/an-object.js"),f=n(
|
|||
|
|
/*! ../internals/to-object */
|
|||
|
|
"./node_modules/core-js/internals/to-object.js"),m=n(
|
|||
|
|
/*! ../internals/to-indexed-object */
|
|||
|
|
"./node_modules/core-js/internals/to-indexed-object.js"),v=n(
|
|||
|
|
/*! ../internals/to-property-key */
|
|||
|
|
"./node_modules/core-js/internals/to-property-key.js"),g=n(
|
|||
|
|
/*! ../internals/to-string */
|
|||
|
|
"./node_modules/core-js/internals/to-string.js"),y=n(
|
|||
|
|
/*! ../internals/create-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/create-property-descriptor.js"),x=n(
|
|||
|
|
/*! ../internals/object-create */
|
|||
|
|
"./node_modules/core-js/internals/object-create.js"),b=n(
|
|||
|
|
/*! ../internals/object-keys */
|
|||
|
|
"./node_modules/core-js/internals/object-keys.js"),w=n(
|
|||
|
|
/*! ../internals/object-get-own-property-names */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-names.js"),j=n(
|
|||
|
|
/*! ../internals/object-get-own-property-names-external */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-names-external.js"),C=n(
|
|||
|
|
/*! ../internals/object-get-own-property-symbols */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-symbols.js"),S=n(
|
|||
|
|
/*! ../internals/object-get-own-property-descriptor */
|
|||
|
|
"./node_modules/core-js/internals/object-get-own-property-descriptor.js"),N=n(
|
|||
|
|
/*! ../internals/object-define-property */
|
|||
|
|
"./node_modules/core-js/internals/object-define-property.js"),I=n(
|
|||
|
|
/*! ../internals/object-property-is-enumerable */
|
|||
|
|
"./node_modules/core-js/internals/object-property-is-enumerable.js"),F=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),B=n(
|
|||
|
|
/*! ../internals/redefine */
|
|||
|
|
"./node_modules/core-js/internals/redefine.js"),P=n(
|
|||
|
|
/*! ../internals/shared */
|
|||
|
|
"./node_modules/core-js/internals/shared.js"),k=n(
|
|||
|
|
/*! ../internals/shared-key */
|
|||
|
|
"./node_modules/core-js/internals/shared-key.js"),T=n(
|
|||
|
|
/*! ../internals/hidden-keys */
|
|||
|
|
"./node_modules/core-js/internals/hidden-keys.js"),E=n(
|
|||
|
|
/*! ../internals/uid */
|
|||
|
|
"./node_modules/core-js/internals/uid.js"),D=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),L=n(
|
|||
|
|
/*! ../internals/well-known-symbol-wrapped */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol-wrapped.js"),U=n(
|
|||
|
|
/*! ../internals/define-well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/define-well-known-symbol.js"),_=n(
|
|||
|
|
/*! ../internals/set-to-string-tag */
|
|||
|
|
"./node_modules/core-js/internals/set-to-string-tag.js"),O=n(
|
|||
|
|
/*! ../internals/internal-state */
|
|||
|
|
"./node_modules/core-js/internals/internal-state.js"),M=n(
|
|||
|
|
/*! ../internals/array-iteration */
|
|||
|
|
"./node_modules/core-js/internals/array-iteration.js").forEach,R=k("hidden"),Q="Symbol",H="prototype",V=D("toPrimitive"),z=O.set,q=O.getterFor(Q),W=Object[H],Y=a.Symbol,K=r("JSON","stringify"),G=S.f,$=N.f,X=j.f,J=I.f,Z=P("symbols"),ee=P("op-symbols"),te=P("string-to-symbol-registry"),ne=P("symbol-to-string-registry"),ie=P("wks"),ae=a.QObject,re=!ae||!ae[H]||!ae[H].findChild,se=l&&d((function(){return 7!=x($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=G(W,t);i&&delete W[t],$(e,t,n),i&&e!==W&&$(W,t,i)}:$,le=function(e,t){var n=Z[e]=x(Y[H]);return z(n,{type:Q,tag:e,description:t}),l||(n.description=t),n},oe=function(e,t,n){e===W&&oe(ee,t,n),h(e);var i=v(t);return h(n),c(Z,i)?(n.enumerable?(c(e,R)&&e[R][i]&&(e[R][i]=!1),n=x(n,{enumerable:y(0,!1)})):(c(e,R)||$(e,R,y(1,{})),e[R][i]=!0),se(e,i,n)):$(e,i,n)},de=function(e,t){h(e);var n=m(t),i=b(n).concat(Ae(n));return M(i,(function(t){l&&!ce.call(n,t)||oe(e,t,n[t])})),e},ce=function(e){var t=v(e),n=J.call(this,t);return!(this===W&&c(Z,t)&&!c(ee,t))&&(!(n||!c(this,t)||!c(Z,t)||c(this,R)&&this[R][t])||n)},ue=function(e,t){var n=m(e),i=v(t);if(n!==W||!c(Z,i)||c(ee,i)){var a=G(n,i);return!a||!c(Z,i)||c(n,R)&&n[R][i]||(a.enumerable=!0),a}},pe=function(e){var t=X(m(e)),n=[];return M(t,(function(e){c(Z,e)||c(T,e)||n.push(e)})),n},Ae=function(e){var t=e===W,n=X(t?ee:m(e)),i=[];return M(n,(function(e){!c(Z,e)||t&&!c(W,e)||i.push(Z[e])})),i};o||(Y=function(){if(this instanceof Y)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=E(e),n=function(e){this===W&&n.call(ee,e),c(this,R)&&c(this[R],t)&&(this[R][t]=!1),se(this,t,y(1,e))};return l&&re&&se(W,t,{configurable:!0,set:n}),le(t,e)},B(Y[H],"toString",(function(){return q(this).tag})),B(Y,"withoutSetter",(function(e){return le(E(e),e)})),I.f=ce,N.f=oe,S.f=ue,w.f=j.f=pe,C.f=Ae,L.f=function(e){return le(D(e),e)},l&&($(Y[H],"description",{configurable:!0,get:function(){return q(this).description}}),s||B(W,"propertyIsEnumerable",ce,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!o,sham:!o},{Symbol:Y}),M(b(ie),(function(e){U(e)})),i({target:Q,stat:!0,forced:!o},{for:function(e){var t=g(e);if(c(te,t))return te[t];var n=Y(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!A(e))throw TypeError(e+" is not a symbol");if(c(ne,e))return ne[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),i({target:"Object",stat:!0,forced:!o,sham:!l},{create:function(e,t){return void 0===t?x(e):de(x(e),t)},defineProperty:oe,defineProperties:de,getOwnPropertyDescriptor:ue}),i({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:pe,getOwnPropertySymbols:Ae}),i({target:"Object",stat:!0,forced:d((function(){C.f(1)}))},{getOwnPropertySymbols:function(e){return C.f(f(e))}}),K&&i({target:"JSON",stat:!0,forced:!o||d((function(){var e=Y();return"[null]"!=K([e])||"{}"!=K({a:e})||"{}"!=K(Object(e))}))},{stringify:function(e,t,n){for(var i,a=[e],r=1;arguments.length>r;)a.push(arguments[r++]);if(i=t,(p(t)||void 0!==e)&&!A(e))return u(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!A(t))return t}),a[1]=t,K.apply(null,a)}}),Y[H][V]||F(Y[H],V,Y[H].valueOf),_(Y,Q),T[R]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/web.dom-collections.for-each.js ***!
|
|||
|
|
\**********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/dom-iterables */
|
|||
|
|
"./node_modules/core-js/internals/dom-iterables.js"),r=n(
|
|||
|
|
/*! ../internals/array-for-each */
|
|||
|
|
"./node_modules/core-js/internals/array-for-each.js"),s=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js");for(var l in a){var o=i[l],d=o&&o.prototype;if(d&&d.forEach!==r)try{s(d,"forEach",r)}catch(c){d.forEach=r}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":
|
|||
|
|
/*!**********************************************************************!*\
|
|||
|
|
!*** ./node_modules/core-js/modules/web.dom-collections.iterator.js ***!
|
|||
|
|
\**********************************************************************/function(e,t,n){var i=n(
|
|||
|
|
/*! ../internals/global */
|
|||
|
|
"./node_modules/core-js/internals/global.js"),a=n(
|
|||
|
|
/*! ../internals/dom-iterables */
|
|||
|
|
"./node_modules/core-js/internals/dom-iterables.js"),r=n(
|
|||
|
|
/*! ../modules/es.array.iterator */
|
|||
|
|
"./node_modules/core-js/modules/es.array.iterator.js"),s=n(
|
|||
|
|
/*! ../internals/create-non-enumerable-property */
|
|||
|
|
"./node_modules/core-js/internals/create-non-enumerable-property.js"),l=n(
|
|||
|
|
/*! ../internals/well-known-symbol */
|
|||
|
|
"./node_modules/core-js/internals/well-known-symbol.js"),o=l("iterator"),d=l("toStringTag"),c=r.values;for(var u in a){var p=i[u],A=p&&p.prototype;if(A){if(A[o]!==c)try{s(A,o,c)}catch(f){A[o]=c}if(A[d]||s(A,d,u),a[u])for(var h in r)if(A[h]!==r[h])try{s(A,h,r[h])}catch(f){A[h]=r[h]}}}},"./node_modules/es6-promise/dist/es6-promise.js":
|
|||
|
|
/*!******************************************************!*\
|
|||
|
|
!*** ./node_modules/es6-promise/dist/es6-promise.js ***!
|
|||
|
|
\******************************************************/function(e){
|
|||
|
|
/*!
|
|||
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|||
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|||
|
|
* @license Licensed under MIT license
|
|||
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|||
|
|
* @version v4.2.8+1e68dce6
|
|||
|
|
*/
|
|||
|
|
e.exports=function(){function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function t(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,a=void 0,r=void 0,s=function(e,t){x[i]=e,x[i+1]=t,2===(i+=2)&&(r?r(b):j())};function l(e){r=e}function o(e){s=e}var c="undefined"!=typeof window?window:void 0,u=c||{},p=u.MutationObserver||u.WebKitMutationObserver,A="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){return function(){return process.nextTick(b)}}function m(){return void 0!==a?function(){a(b)}:y()}function v(){var e=0,t=new p(b),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function g(){var e=new MessageChannel;return e.port1.onmessage=b,function(){return e.port2.postMessage(0)}}function y(){var e=setTimeout;return function(){return e(b,1)}}var x=new Array(1e3);function b(){for(var e=0;e<i;e+=2)(0,x[e])(x[e+1]),x[e]=void 0,x[e+1]=void 0;i=0}function w(){try{var e=Function("return this")().require("vertx");return a=e.runOnLoop||e.runOnContext,m()}catch(Ou){return y()}}var j=void 0;function C(e,t){var n=this,i=new this.constructor(I);void 0===i[N]&&Y(i);var a=n._state;if(a){var r=arguments[a-1];s((function(){return V(a,i,r,n._result)}))}else Q(n,i,e,t);return i}function S(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(I);return _(n,e),n}j=A?f():p?v():h?g():void 0===c?w():y();var N=Math.random().toString(36).substring(2);function I(){}var F=void 0,B=1,P=2;function k(){return new TypeError("You cannot resolve a promise with itself")}function T(){return new TypeError("A promises callback cannot return that same promise.")}function E(e,t,n,i){try{e.call(t,n,i)}catch(Ou){return Ou}}function D(e,t,n){s((function(e){var i=!1,a=E(n,t,(function(n){i||(i=!0,t!==n?_(e,n):M(e,n))}),(function(t){i||(i=!0,R(e,t))}),"Settle: "+(e._label||" unknown promise"));!i&&a&&(i=!0,R(e,a))}),e)}function L(e,t){t._state===B?M(e,t._result):t._state===P?R(e,t._result):Q(t,void 0,(function(t){return _(e,t)}),(function(t){return R(e,t)}))}function U(e,n,i){n.constructor===e.constructor&&i===C&&n.constructor.resolve===S?L(e,n):void 0===i?M(e,n):t(i)?D(e,n,i):M(e,n)}function _(t,n){if(t===n)R(t,k());else if(e(n)){var i=void 0;try{i=n.then}catch(a){return void R(t,a)}U(t,n,i)}else M(t,n)}function O(e){e._onerror&&e._onerror(e._result),H(e)}function M(e,t){e._state===F&&(e._result=t,e._state=B,0!==e._subscribers.length&&s(H,e))}function R(e,t){e._state===F&&(e._state=P,e._result=t,s(O,e))}function Q(e,t,n,i){var a=e._subscribers,r=a.length;e._onerror=null,a[r]=t,a[r+B]=n,a[r+P]=i,0===r&&e._state&&s(H,e)}function H(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,a=void 0,r=e._result,s=0;s<t.length;s+=3)i=t[s],a=t[s+n],i?V(n,i,a,r):a(r);e._subscribers.length=0}}function V(e,n,i,a){var r=t(i),s=void 0,l=void 0,o=!0;if(r){try{s=i(a)}catch(Ou){o=!1,l=Ou}if(n===s)return void R(n,T())}else s=a;n._state!==F||(r&&o?_(n,s):!1===o?R(n,l):e===B?M(n,s):e===P&&R(n,s))}function z(e,t){try{t((function(t){_(e,t)}),(function(t){R(e,t)}))}catch(Ou){R(e,Ou)}}var q=0;function W(){return q++}function Y(e){e[N]=q++,e._state=void 0,e._result=void 0,e._subscribers=[]}function K(){return new Error("Array Methods must be provided an Array")}var G=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(I),this.promise[N]||Y(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&M(this.promise,this._result))):R(this.promise,K())}return e.prototype._enumerate=function(e){for(var t=0;this._state===F&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===S){v
|
|||
|
|
/*!******************************!*\
|
|||
|
|
!*** external "html2canvas" ***!
|
|||
|
|
\******************************/function(e){e.exports=t},jspdf:
|
|||
|
|
/*!************************!*\
|
|||
|
|
!*** external "jspdf" ***!
|
|||
|
|
\************************/function(t){t.exports=e}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e].call(r.exports,r,r.exports,a),r.exports}a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){
|
|||
|
|
/*!**********************!*\
|
|||
|
|
!*** ./src/index.js ***!
|
|||
|
|
\**********************/
|
|||
|
|
a.r(r);var e=a(
|
|||
|
|
/*! ./worker.js */
|
|||
|
|
"./src/worker.js");a(
|
|||
|
|
/*! ./plugin/jspdf-plugin.js */
|
|||
|
|
"./src/plugin/jspdf-plugin.js"),a(
|
|||
|
|
/*! ./plugin/pagebreaks.js */
|
|||
|
|
"./src/plugin/pagebreaks.js"),a(
|
|||
|
|
/*! ./plugin/hyperlinks.js */
|
|||
|
|
"./src/plugin/hyperlinks.js");var t=function e(t,n){var i=new e.Worker(n);return t?i.from(t).save():i};t.Worker=e.default,r.default=t}(),r=r.default}()};const Xp=c(cr.exports=Kp(o(Wp),$p()));new dr;const Jp="3a939a2eed2cca4b64cd47f51b23b135b2b9b765273f695d47682ea803c8429d";function Zp(e){return Se(e,["YYYY-MM-DDTHH:mm:ss"]).format("DD-MM-YYYY HH:mm:ss")}function eA(e){return Se(e,["YYYY-MM-DDTHH:mm:ss.SSS","YYYY-MM-DDTHH:mm:ss"]).format("DD-MMM-YYYY hh:mm A")}function tA(e){if(!e)return"";const t=new Date(e);if(isNaN(t))return"";return`${t.getDate()}-${t.toLocaleString("en-US",{month:"short"})}-${t.getFullYear()}`}const nA=(e,t)=>{const n=Ce.AES.encrypt(JSON.stringify(t),Jp).toString();n&&sessionStorage.setItem(e,n)},iA=e=>{const t=sessionStorage.getItem(e);if(t){const e=Ce.AES.decrypt(t,Jp).toString(Ce.enc.Utf8);return JSON.parse(e)}},aA=e=>{if(!e)return null;{e=e.replace(/-/g,"+").replace(/_/g,"/");const t=Ce.AES.decrypt(e,"f2ef79b8b2d4fc1cc569726a5a753552257b4ff2872d6a71cf3119bce3f07c1b").toString(Ce.enc.Utf8);if(t)return JSON.parse(t)}},rA=()=>{sessionStorage.clear()};async function sA(e,t){var n=document.getElementById(e);if(n){var i=document.getElementById("ifmcontentstoprint").contentWindow;return i.document.open(),i.document.write(t),i.document.write(n.innerHTML),i.document.close(),i.focus(),i.print(),!0}}const lA=e=>{const t=/<[^>]*>/g.test(e),n=/\b(select|update|delete|insert|drop|truncate|exec|union|--|\*|;)\b/i.test(e);return t?Promise.reject(new Error("HTML tags are not allowed")):n?Promise.reject(new Error("SQL keywords like SELECT, DELETE are not allowed")):Promise.resolve()},oA="https://www.pozo.dev/pozo-common-api",dA=Ne.create({baseURL:oA}),cA=Ne.create({baseURL:"https://www.pozo.dev/pozo-retail-api"}),uA=Ne.create({baseURL:"https://www.pozo.dev/pozo-sms-email-template-api"}),pA=async e=>{const t=await new Promise((e=>{let t=sessionStorage.getItem("auth");if(t)e(t);else{const n=setInterval((()=>{t=sessionStorage.getItem("auth"),t&&(clearInterval(n),e(t))}),100)}}));t&&(e.headers.Authorization=`Bearer ${t}`);let n=sessionStorage.getItem("MobileNo"),i=sessionStorage.getItem("SessionId")?(e=>{if(!e)return null;{e=e.replace(/-/g,"+").replace(/_/g,"/");const t=Ce.AES.decrypt(e,Jp).toString(Ce.enc.Utf8);if(t)return JSON.parse(t)}})(n):"1000000001";return e.headers.Mobileno=null!=i&&null!=i?i:"1000000001",e};dA.interceptors.request.use(pA,(e=>Promise.reject(e))),uA.interceptors.request.use(pA,(e=>Promise.reject(e))),cA.interceptors.request.use(pA,(e=>Promise.reject(e)));const AA=async e=>(e.response&&401===e.response.status&&(!function(e){const t=document.createElement("div");t.innerText=e,t.style.cssText="\n position: fixed;\n top: 10%;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: #f03e3e;\n color: white;\n padding: 15px 30px;\n border-radius: 8px;\n font-family: Arial, sans-serif;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n z-index: 1000;\n opacity: 0;\n transition: opacity 0.3s ease;\n ",document.body.appendChild(t),setTimeout((()=>{t.style.opacity=1}),10),setTimeout((()=>{t.style.opacity=0,setTimeout((()=>t.remove()),300)}),2e3)}("Your session has expired. Please log in again to continue."),setTimeout((()=>{if(iA("UserId")){const e="N";fetch(`${oA}/Logout`,{method:"PUT",headers:{"Content-Type":"application/json",Authorization:sessionStorage.getItem("auth")?sessionStorage.getItem("auth"):"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9",Mobileno:iA("MobileNo")?iA("MobileNo"):"1000000001"},body:JSON.stringify({UserId:iA("UserId"),Generate:e,RequestMode:"DW"})}).then((e=>{if(!e.ok)throw new Error(`Error: ${e.status}`);return e.json()})).then((e=>{1===(null==e?void 0:e.statusCode)&&(rA(),window.location.href="/")})).catch((e=>{}))}}),2e3)),Promise.reject(e));dA.interceptors.response.use((e=>e),AA),uA.interceptors.response.use((e=>e),AA),cA.interceptors.response.use((e=>e),AA);const hA=cA,fA=dA,mA=uA,vA="https://www.pozo.dev/pozo-common-api",gA={selectedRole:"Admin"===iA("UserType")?"Branch Admin":"Sadmin",selectedStore:null,selectedAppName:null,selectedBr
|
|||
|
|
/**
|
|||
|
|
* @license React
|
|||
|
|
* react-dom-server.browser.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/function Px(){if(Nx)return Bx;Nx=1;var e=a;function t(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 n=null,i=0;function r(e,t){if(0!==t.length)if(512<t.length)0<i&&(e.enqueue(new Uint8Array(n.buffer,0,i)),n=new Uint8Array(512),i=0),e.enqueue(t);else{var a=n.length-i;a<t.length&&(0===a?e.enqueue(n):(n.set(t.subarray(0,a),i),e.enqueue(n),t=t.subarray(a)),n=new Uint8Array(512),i=0),n.set(t,i),i+=t.length}}function s(e,t){return r(e,t),!0}function l(e){n&&0<i&&(e.enqueue(new Uint8Array(n.buffer,0,i)),n=null,i=0)}var o=new TextEncoder;function d(e){return o.encode(e)}function c(e){return o.encode(e)}function u(e,t){"function"==typeof e.error?e.error(t):e.close()}var p=Object.prototype.hasOwnProperty,A=/^[: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]*$/,h={},f={};function m(e){return!!p.call(f,e)||!p.call(h,e)&&(A.test(e)?f[e]=!0:(h[e]=!0,!1))}function v(e,t,n,i,a,r,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=s}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new v(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){g[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEa
|
|||
|
|
/*!
|
|||
|
|
* Bowser - a browser detector
|
|||
|
|
* https://github.com/lancedikson/bowser
|
|||
|
|
* MIT License | (c) Dustin Diaz 2012-2015
|
|||
|
|
* MIT License | (c) Denis Demchenko 2015-2019
|
|||
|
|
*/class t_{static getParser(e,t=!1){if("string"!=typeof e)throw new Error("UserAgent should be a string");return new e_(e,t)}static parse(e){return new e_(e).getResult()}static get BROWSER_MAP(){return zU}static get ENGINE_MAP(){return YU}static get OS_MAP(){return WU}static get PLATFORMS_MAP(){return qU}}const n_=Ja("theme/getAllApplications",(async()=>Ne.get("https://www.pozo.dev/pozo-common-api/application?ActiveStatus=A"))),i_=Ja("theme/getColors",(async()=>fA.get("/color?ActiveStatus=A"))),a_=Ja("theme/getFonts",(async()=>fA.get("/font?ActiveStatus=A"))),r_=Ja("theme/getTemplate",(async e=>{if(null!=e&&null!=e)return fA.get(`/template?AppName=${e}`)})),s_=Ja("theme/postColorData",(async e=>await fA.post("/color",e))),l_=Ja("theme/postFontData",(async e=>await fA.post("/font",e))),o_=Ja("Component/component",(async()=>await fA.get("/component"))),d_=Ja("theme/postOverAllData",(async e=>await fA.post("/template",e))),c_=Ja("theme/putOverAllData",(async e=>await fA.put("/template",e))),u_=Ya({name:"theme",initialState:{allApplications:[],allColors:[],allFonts:[],CurrentColor:{darkColor:"#37943C",lightColor:"#b2eb9b"},CurrentText:{head:"Gilroy",para:"Poppins"},OverviewData:[],Overview1Img:"",Overview2Img:"",Overview2Video:null,FaqDetails:[],navList1:[],SelectedApplication:null,AppName:"",FeatureList:[],FooterDetails:[],templateData:[],colorId:null,fontId:null,PricingData:[],PageAppId:"",showCaseDetails:[],appViewDetails:[],testimonialDetails:[],CtaData:[]},reducers:{changeShowCaseDetails:(e,t)=>{e.showCaseDetails=null==t?void 0:t.payload},changeAppViewDetails:(e,t)=>{e.appViewDetails=null==t?void 0:t.payload},changeTestimonialDetails:(e,t)=>{e.testimonialDetails=null==t?void 0:t.payload},changeCurrentColor:(e,t)=>{const{color:n}=null==t?void 0:t.payload;e.CurrentColor=n},changeCurrentText:(e,t)=>{const{text:n}=null==t?void 0:t.payload;e.CurrentText=n},changeOverviewData:(e,t)=>{const{postData:n}=null==t?void 0:t.payload;e.OverviewData=n},changeOverview1Img:(e,t)=>{const{overview1Img:n}=null==t?void 0:t.payload;e.Overview1Img=n},changeOverview2Img:(e,t)=>{const{overview2Img:n}=null==t?void 0:t.payload;e.Overview2Img=n},changeOverview2Video:(e,t)=>{const{overview2Video:n}=null==t?void 0:t.payload;e.Overview2Video=n},changeFaqDetails:(e,t)=>{const n=null==t?void 0:t.payload;e.FaqDetails=n},changeNavList1:(e,t)=>{const n=null==t?void 0:t.payload;e.navList1=n},changeSelectedApplication:(e,t)=>{const n=null==t?void 0:t.payload;e.SelectedApplication=n},changeFeatureList:(e,t)=>{const{featureList:n}=null==t?void 0:t.payload;e.FeatureList=n},changeFooterDetails:(e,t)=>{e.FooterDetails=null==t?void 0:t.payload},changeCtaDetails:(e,t)=>{e.CtaData=null==t?void 0:t.payload},changePricingData:(e,t)=>{const{postData:n}=null==t?void 0:t.payload;e.PricingData=n},changePageAppId:(e,t)=>{e.PageAppId=null==t?void 0:t.payload},emptyTemplateData:(e,t)=>{e.SelectedApplication=null,e.AppName="",e.templateData=[]},emptyPostData:(e,t)=>{e.navList1=[],e.OverviewData=[],e.FeatureList=[],e.PricingData=[],e.FaqDetails=[],e.FooterDetails=[],e.CurrentColor={darkColor:"#37943C",lightColor:"#b2eb9b"},e.CurrentText={head:"Gilroy",para:"Poppins"},e.Overview1Img="",e.Overview2Img="",e.Overview2Video=null}},extraReducers:e=>{e.addCase(n_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allApplications=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(i_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allColors=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(a_.fulfilled,((e,t)=>{var n,i,a,r;1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)&&(e.allFonts=null==(r=null==(a=null==t?void 0:t.payload)?void 0:a.data)?void 0:r.data)})),e.addCase(r_.fulfilled,((e,t)=>{var n,i,a,r,s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P;if(1==(null==(i=null==(n=null==t?void 0:t.payload)?void 0:n.data)?void 0:i.statusCode)){le
|
|||
|
|
/**
|
|||
|
|
* A class to parse color values
|
|||
|
|
* @author Stoyan Stefanov <sstoo@gmail.com>
|
|||
|
|
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
|||
|
|
* @license Use it if you like it
|
|||
|
|
*/function w8(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:"90ee90",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(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i<n.length;i++){var a=n[i].re,r=n[i].process,s=a.exec(e);s&&(t=r(s),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}}
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Joseph Myers does not specify a particular license for his work.
|
|||
|
|
*
|
|||
|
|
* Author: Joseph Myers
|
|||
|
|
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
|||
|
|
*
|
|||
|
|
* Modified by: Owen Leong
|
|||
|
|
*/function j8(e,t){var n=e[0],i=e[1],a=e[2],r=e[3];n=S8(n,i,a,r,t[0],7,-680876936),r=S8(r,n,i,a,t[1],12,-389564586),a=S8(a,r,n,i,t[2],17,606105819),i=S8(i,a,r,n,t[3],22,-1044525330),n=S8(n,i,a,r,t[4],7,-176418897),r=S8(r,n,i,a,t[5],12,1200080426),a=S8(a,r,n,i,t[6],17,-1473231341),i=S8(i,a,r,n,t[7],22,-45705983),n=S8(n,i,a,r,t[8],7,1770035416),r=S8(r,n,i,a,t[9],12,-1958414417),a=S8(a,r,n,i,t[10],17,-42063),i=S8(i,a,r,n,t[11],22,-1990404162),n=S8(n,i,a,r,t[12],7,1804603682),r=S8(r,n,i,a,t[13],12,-40341101),a=S8(a,r,n,i,t[14],17,-1502002290),n=N8(n,i=S8(i,a,r,n,t[15],22,1236535329),a,r,t[1],5,-165796510),r=N8(r,n,i,a,t[6],9,-1069501632),a=N8(a,r,n,i,t[11],14,643717713),i=N8(i,a,r,n,t[0],20,-373897302),n=N8(n,i,a,r,t[5],5,-701558691),r=N8(r,n,i,a,t[10],9,38016083),a=N8(a,r,n,i,t[15],14,-660478335),i=N8(i,a,r,n,t[4],20,-405537848),n=N8(n,i,a,r,t[9],5,568446438),r=N8(r,n,i,a,t[14],9,-1019803690),a=N8(a,r,n,i,t[3],14,-187363961),i=N8(i,a,r,n,t[8],20,1163531501),n=N8(n,i,a,r,t[13],5,-1444681467),r=N8(r,n,i,a,t[2],9,-51403784),a=N8(a,r,n,i,t[7],14,1735328473),n=I8(n,i=N8(i,a,r,n,t[12],20,-1926607734),a,r,t[5],4,-378558),r=I8(r,n,i,a,t[8],11,-2022574463),a=I8(a,r,n,i,t[11],16,1839030562),i=I8(i,a,r,n,t[14],23,-35309556),n=I8(n,i,a,r,t[1],4,-1530992060),r=I8(r,n,i,a,t[4],11,1272893353),a=I8(a,r,n,i,t[7],16,-155497632),i=I8(i,a,r,n,t[10],23,-1094730640),n=I8(n,i,a,r,t[13],4,681279174),r=I8(r,n,i,a,t[0],11,-358537222),a=I8(a,r,n,i,t[3],16,-722521979),i=I8(i,a,r,n,t[6],23,76029189),n=I8(n,i,a,r,t[9],4,-640364487),r=I8(r,n,i,a,t[12],11,-421815835),a=I8(a,r,n,i,t[15],16,530742520),n=F8(n,i=I8(i,a,r,n,t[2],23,-995338651),a,r,t[0],6,-198630844),r=F8(r,n,i,a,t[7],10,1126891415),a=F8(a,r,n,i,t[14],15,-1416354905),i=F8(i,a,r,n,t[5],21,-57434055),n=F8(n,i,a,r,t[12],6,1700485571),r=F8(r,n,i,a,t[3],10,-1894986606),a=F8(a,r,n,i,t[10],15,-1051523),i=F8(i,a,r,n,t[1],21,-2054922799),n=F8(n,i,a,r,t[8],6,1873313359),r=F8(r,n,i,a,t[15],10,-30611744),a=F8(a,r,n,i,t[6],15,-1560198380),i=F8(i,a,r,n,t[13],21,1309151649),n=F8(n,i,a,r,t[4],6,-145523070),r=F8(r,n,i,a,t[11],10,-1120210379),a=F8(a,r,n,i,t[2],15,718787259),i=F8(i,a,r,n,t[9],21,-343485551),e[0]=U8(n,e[0]),e[1]=U8(i,e[1]),e[2]=U8(a,e[2]),e[3]=U8(r,e[3])}function C8(e,t,n,i,a,r){return t=U8(U8(t,e),U8(i,r)),U8(t<<a|t>>>32-a,n)}function S8(e,t,n,i,a,r,s){return C8(t&n|~t&i,e,t,a,r,s)}function N8(e,t,n,i,a,r,s){return C8(t&i|n&~i,e,t,a,r,s)}function I8(e,t,n,i,a,r,s){return C8(t^n^i,e,t,a,r,s)}function F8(e,t,n,i,a,r,s){return C8(n^(t|~i),e,t,a,r,s)}function B8(e){var t,n=e.length,i=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)j8(i,P8(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(j8(i,a),t=0;t<16;t++)a[t]=0;return a[14]=8*n,j8(i,a),i}function P8(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}y8=A8.atob.bind(A8),x8=A8.btoa.bind(A8);var k8="0123456789abcdef".split("");function T8(e){for(var t="",n=0;n<4;n++)t+=k8[e>>8*n+4&15]+k8[e>>8*n&15];return t}function E8(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function D8(e){return B8(e).map(E8).join("")}var L8="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=T8(e[t]);return e.join("")}(B8("hello"));function U8(e,t){if(L8){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295}
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* FPDF is released under a permissive license: there is no usage restriction.
|
|||
|
|
* You may embed it freely in your application (commercial or not), with or
|
|||
|
|
* without modifications.
|
|||
|
|
*
|
|||
|
|
* Reference: http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/function _8(e,t){var n,i,a,r;if(e!==n){for(var s=(a=e,r=1+(256/e.length|0),new Array(r+1).join(a)),l=[],o=0;o<256;o++)l[o]=o;var d=0;for(o=0;o<256;o++){var c=l[o];d=(d+c+s.charCodeAt(o))%256,l[o]=l[d],l[d]=c}n=e,i=l}else l=i;var u=t.length,p=0,A=0,h="";for(o=0;o<u;o++)A=(A+(c=l[p=(p+1)%256]))%256,l[p]=l[A],l[A]=c,s=l[(l[p]+l[A])%256],h+=String.fromCharCode(t.charCodeAt(o)^s);return h}
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
* Author: Owen Leong (@owenl131)
|
|||
|
|
* Date: 15 Oct 2020
|
|||
|
|
* References:
|
|||
|
|
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
|||
|
|
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
|||
|
|
* http://www.fpdf.org/en/script/script37.php
|
|||
|
|
*/var O8={print:4,modify:8,copy:16,"annot-forms":32};function M8(e,t,n,i){this.v=1,this.r=2;var a=192;e.forEach((function(e){if(void 0!==O8.perm)throw new Error("Invalid permission: "+e);a+=O8[e]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var r=(t+this.padding).substr(0,32),s=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(r,s),this.P=-(1+(255^a)),this.encryptionKey=D8(r+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=_8(this.encryptionKey,this.padding)}function R8(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,i=0;i<n;i++){var a=e.charCodeAt(i);t+=a<33||35===a||37===a||40===a||41===a||47===a||60===a||62===a||91===a||93===a||123===a||125===a||a>126?"#"+("0"+a.toString(16)).slice(-2):e[i]}return t}function Q8(e){if("object"!==p(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[n,!!i],a},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var i=Array.prototype.slice.call(arguments,1),a=[];for(var r in t[n]){var s=t[n][r];try{s[0].apply(e,i)}catch(l){A8.console&&f8.error("jsPDF PubSub Error",l.message,l)}s[1]&&a.push(r)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function H8(e){if(!(this instanceof H8))return new H8(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 V8(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function z8(e,t,n,i,a){if(!(this instanceof z8))return new z8(e,t,n,i,a);this.type="axial"===e?2:3,this.coords=t,this.colors=n,V8.call(this,i,a)}function q8(e,t,n,i,a){if(!(this instanceof q8))return new q8(e,t,n,i,a);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,V8.call(this,i,a)}function W8(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],r=arguments[3],s=[],l=1,o=16,d="S",c=null;"object"===p(e=e||{})&&(n=e.orientation,i=e.unit||i,a=e.format||a,r=e.compress||e.compressPdf||r,null!==(c=e.encryption||null)&&(c.userPassword=c.userPassword||"",c.ownerPassword=c.ownerPassword||"",c.userPermissions=c.userPermissions||[]),l="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(o=e.floatPrecision),d=e.defaultPathOperation||"S"),s=e.filters||(!0===r?["FlateEncode"]:s),i=i||"mm",n=(""+(n||"P")).toLowerCase();var u=e.putOnlyUsedFonts||!1,A={},h={internal:{},__private__:{}};h.__private__.PubSub=Q8;var f="1.3",m=h.__private__.getPdfVersion=function(){return f};h.__private__.setPdfVersion=function(e){f=e};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};h.__private__.getPageFormats=function(){return v};var g=h.__private__.getPageFormat=function(e){return v[e]};a=a||"a4";var y="compat",x="advanced",b=y;function w
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};W8.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var n,i,a,r=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString,l=this.internal.getPageInfoByObjId(e.objId),o=e.pageContext.annotations,d=!1,c=0;c<o.length&&!d;c++)switch((n=o[c]).type){case"link":(t(n.options.url)||t(n.options.pageNumber))&&(d=!0);break;case"reference":case"text":case"freetext":d=!0}if(0!=d){this.internal.write("/Annots [");for(var u=0;u<o.length;u++){n=o[u];var p=this.internal.pdfEscape,A=this.internal.getEncryptor(e.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var h=this.internal.newAdditionalObject(),f=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(h.objId),v=n.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+r(n.bounds.x)+" "+s(n.bounds.y+n.bounds.h)+" "+r(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y)+"] ")+"/Contents ("+p(m(n.contents))+")",a+=" /Popup "+f.objId+" 0 R",a+=" /P "+l.objId+" 0 R",a+=" /T ("+p(m(v))+") >>",h.content=a;var g=h.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+r(n.bounds.x+30)+" "+s(n.bounds.y+n.bounds.h)+" "+r(n.bounds.x+n.bounds.w+30)+" "+s(n.bounds.y)+"] ")+" /Parent "+g,n.open&&(a+=" /Open true"),a+=" >>",f.content=a,this.internal.write(h.objId,"0 R",f.objId,"0 R");break;case"freetext":i="/Rect ["+r(n.bounds.x)+" "+s(n.bounds.y)+" "+r(n.bounds.x+n.bounds.w)+" "+s(n.bounds.y+n.bounds.h)+"] ";var y=n.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(A(n.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(n.options.name){var x=this.annotations._nameMap[n.options.name];n.options.pageNumber=x.page,n.options.top=x.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",a="",n.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(A(n.options.url))+") >>";else if(n.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,a+=" /FitV "+n.options.left+"]";break;default:var b=s(n.options.top);n.options.left=n.options.left||0,void 0===n.options.zoom&&(n.options.zoom=0),a+=" /XYZ "+n.options.left+" "+b+" "+n.options.zoom+"]"}""!=a&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,n,i,a){var r=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;r.pageContext.annotations.push({finalBounds:{x:s(e),y:l(t),w:s(e+n),h:l(t+i)},options:a,type:"link"})},e.textWithLink=function(e,t,n,i){var a,r,s=this.getTextWidth(e),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==i.maxWidth){r=i.maxWidth;var o=this.splitTextToSize(e,r).length;a=Math.ceil(l*o)}else r=s,a=l;return this.text(e,t,n,i),n+=.2*l,"center"===i.align&&(t-=s/2),"right"===i.align&&(t-=s),this.link(t,n-l,r,a,i),s},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(W8.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2017 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
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}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var r=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},s=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},l=e.__arabicParser__.isArabicEndLetter=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length<=2},o=e.__arabicParser__.isArabicAlfLetter=function(e){return s(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=1};var d=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return s(e)&&r(e)&&t[e.charCodeAt(0)].length>=3};var c=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return s(e)&&r(e)&&4==t[e.charCodeAt(0)].length},u=e.__arabicParser__.resolveLigatures=function(e){var t=0,i=n,a="",r=0;for(t=0;t<e.length;t+=1)void 0!==i[e.charCodeAt(t)]?(r++,"number"==typeof(i=i[e.charCodeAt(t)])&&(a+=String.fromCharCode(i),i=n,r=0),t===e.length-1&&(i=n,a+=e.charAt(t-(r-1)),t-=r-1,r=0)):(i=n,a+=e.charAt(t-r),t-=r,r=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==i[e.charCodeAt(0)]};var p=e.__arabicParser__.getCorrectForm=function(e,t,n){return s(e)?!1===r(e)?-1:!d(e)||!s(t)&&!s(n)||!s(n)&&l(t)||l(e)&&!s(t)||l(e)&&o(t)||l(e)&&l(t)?0:c(e)&&s(t)&&!l(t)&&s(n)&&d(n)?3:l(e)||!s(n)?1:2:-1},A=function(e){var n=0,i=0,a=0,r="",l="",o="",d=(e=e||"").split("\\s+"),c=[];for(n=0;n<d.length;n+=1){for(c.push(""),i=0;i<d[n].length;i+=1)r=d[n][i],l=d[n][i-1],o=d[n][i+1],s(r)?(a=p(r,l,o),c[n]+=-1!==a?String.fromCharCode(t[r.charCodeAt(0)][a]):r):c[n]+=r;c[n]=u(c[n])}return c.join
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var i=[];Object.defineProperty(this,"childNodes",{get:function(){return i},set:function(e){i=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);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}])}(W8.API),function(e){var t={left:0,top:0,bottom:0,right:0},n=!1,i=function(){void 0===this.internal.__cell__&&(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(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new r,this.internal.__cell__.pages=1},r=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var n=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var i=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return i},set:function(e){i=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var r=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(e){s=e}}),this};r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},r.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return i.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){i.call(this);var n=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),r=t.scaleFactor||this.internal.scaleFactor,s=0,l=0,o=0,d=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}var c=t.maxWidth;c>0?"string"==typeof e?e=this.splitTextToSize(e,c):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,c))}),[])):e=Array.isArray(e)?e:[e];for(var u=0;u<e.length;u++)s<(o=this.getStringUnitWidth(e[u],{font:a})*n)&&(s=o);return 0!==s&&(l=e.length),{w:s/=r,h:Math.max((l*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},e.cellAddPage=function(){i.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new r(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var e;e=arguments[0]instanceof r?arguments[0]:new r(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),i.call(this);var a=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,l=this.internal.__cell__.margins||t,o=this.internal.__cell__.ta
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF filters PlugIn
|
|||
|
|
* Copyright (c) 2014 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(e){var t,n,i,a,r,s,l,o,d,c;for(n=[],i=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>i;i+=4)0!==(r=(e.charCodeAt(i)<<24)+(e.charCodeAt(i+1)<<16)+(e.charCodeAt(i+2)<<8)+e.charCodeAt(i+3))?(s=(r=((r=((r=((r=(r-(c=r%85))/85)-(d=r%85))/85)-(o=r%85))/85)-(l=r%85))/85)%85,n.push(s+33,l+33,o+33,d+33,c+33)):n.push(122);return function(e,t){for(var n=t;n>0;n--)e.pop()}(n,t.length),String.fromCharCode.apply(String,n)+"~>"},n=function(e){var t,n,i,a,r,s=String,l="length",o=255,d="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),i=[],a=0,r=(e+=t="uuuuu"[c](e[l]%5||5))[l];r>a;a+=5)n=52200625*(e[d](a)-33)+614125*(e[d](a+1)-33)+7225*(e[d](a+2)-33)+85*(e[d](a+3)-33)+(e[d](a+4)-33),i.push(o&n>>24,o&n>>16,o&n>>8,o&n);return function(e,t){for(var n=t;n>0;n--)e.pop()}(i,t[l]),s.fromCharCode.apply(s,i)},i=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",i=0;i<e.length;i+=2)n+=String.fromCharCode("0x"+(e[i]+e[i+1]));return n},a=function(e){for(var t=new Uint8Array(e.length),n=e.length;n--;)t[n]=e.charCodeAt(n);return(t=ns(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,r){var s=0,l=e||"",o=[];for("string"==typeof(r=r||[])&&(r=[r]),s=0;s<r.length;s+=1)switch(r[s]){case"ASCII85Decode":case"/ASCII85Decode":l=n(l),o.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=t(l),o.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=i(l),o.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=l.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",o.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=a(l),o.push("/FlateDecode");break;default:throw new Error('The filter: "'+r[s]+'" is not implemented')}return{data:l,reverseChain:o.reverse().join(" ")}}}(W8.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF fileloading PlugIn
|
|||
|
|
* Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.loadFile=function(e,t,n){return function(e,t,n){t=!1!==t,n="function"==typeof n?n:function(){};var i=void 0;try{i=function(e,t,n){var i=new XMLHttpRequest,a=0,r=function(e){var t=e.length,n=[],i=String.fromCharCode;for(a=0;a<t;a+=1)n.push(i(255&e.charCodeAt(a)));return n.join("")};if(i.open("GET",e,!t),i.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(i.onload=function(){200===i.status?n(r(this.responseText)):n(void 0)}),i.send(null),t&&200===i.status)return r(i.responseText)}(e,t,n)}catch(a){}return i}(e,t,n)},e.loadImageFile=e.loadFile}(W8.API),function(e){function t(){return(A8.html2canvas?Promise.resolve(A8.html2canvas):pr((()=>Promise.resolve().then((()=>T9))),void 0)).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function n(){return(A8.DOMPurify?Promise.resolve(A8.DOMPurify):pr((()=>import("./purify.es-0769f88c.js")),[])).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var i=function(e){var t=p(e);return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},a=function(e,t){var n=document.createElement(e);for(var i in t.className&&(n.className=t.className),t.innerHTML&&t.dompurify&&(n.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)n.style[i]=t.style[i];return n},r=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),i=e.convert(Promise.resolve(),n);return(i=i.setProgress(1,e,1,[e])).set(t)};(r.prototype=Object.create(Promise.prototype)).constructor=r,r.convert=function(e,t){return e.__proto__=t||r.prototype,e},r.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"}},r.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(i(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(n).then((function(t){return this.set({src:a("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},r.prototype.to=function(e){switch(e){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.")}},r.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 e={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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},t=function e(t,n){for(var i=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||i.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(i.value=t.value),i.addEventListener("load",(function(){i.scrollTop=t.scrollTop,i.scrollLeft=t.scrollLeft}),!0)),i}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(docume
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t;e.events.push(["postPutResources",function(){var e=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var r=i[a],s=n.exec(r);if(null!=s){var l=s[1];e.internal.newObjectDeferredBegin(l,!1)}e.internal.write(r)}if(this.outline.createNamedDestinations){var o=this.internal.pages.length,d=[];for(a=0;a<o;a++){var c=e.internal.newObject();d.push(c);var u=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<d.length;a++)e.internal.write("(page_"+(a+1)+")"+d[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var i={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(i),i},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,i=0;i<t.children.length;i++){var a=t.children[i];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),i>0&&this.line("/Prev "+this.makeRef(t.children[i-1])),i<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[i+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var r=this.count=this.count_r({count:0},a);if(r>0&&this.line("/Count "+r),a.options&&a.options.pageNumber){var s=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var l=0;l<t.children.length;l++)this.renderItems(t.children[l])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}])}(W8.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,n,i,a,r,s){var l,o=this.decode.DCT_DECODE,d=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=r||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(l=function(e){for(var n,i=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,r={width:0,height:0,numcomponents:1},s=4;s<a;s+=2){if(s+=i,-1!==t.indexOf(e.charCodeAt(s+1))){n=256*e.charCodeAt(s+5)+e.charCodeAt(s+6),r={width:256*e.charCodeAt(s+7)+e.charCodeAt(s+8),height:n,numcomponents:e.charCodeAt(s+9)};break}i=256*e.charCodeAt(s+2)+e.charCodeAt(s+3)}return r}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}d={data:e,width:l.width,height:l.height,colorSpace:s,bitsPerComponent:8,filter:o,index:n,alias:i}}return d}}(W8.API);var J7,Z7,e9,t9,n9,i9=function(){var e,t,n;function i(e){var t,n,i,a,r,s,l,o,d,c,u,p,A,h;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},s=null;;){switch(t=this.readUInt32(),d=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},r=this.readUInt16(),a=this.readUInt16()||100,s.delay=1e3*r/a,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===d&&(this.pos+=4,t-=4),e=(null!=s?s.data:void 0)||this.imgData,p=0;0<=t?p<t:p>t;0<=t?++p:--p)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(i=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>i)throw new Error("More transparent colors than palette size");if((c=i-this.transparency.indexed.length)>0)for(A=0;0<=c?A<c:A>c;0<=c?++A:--A)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":l=(u=this.read(t)).indexOf(0),o=String.fromCharCode.apply(String,u.slice(0,l)),this.text[o]=String.fromCharCode.apply(String,u.slice(l+1));break;case"IEND":return s&&this.animation.frames.push(s),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(h=this.colorType)||6===h,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),i=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function r(r,s,l,o){var d,c,u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B,P=Math.ceil((a.width-r)/l),k=Math.ceil((a.height-s)/o),T=a.width==P&&a.height
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
*
|
|||
|
|
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|||
|
|
* a copy of this software and associated documentation files (the
|
|||
|
|
* "Software"), to deal in the Software without restriction, including
|
|||
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|||
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|||
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|||
|
|
* the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be
|
|||
|
|
* included in all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|||
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|||
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|||
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
* ====================================================================
|
|||
|
|
*/
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
|||
|
|
*
|
|||
|
|
* https://github.com/deanm/omggif
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|||
|
|
* of this software and associated documentation files (the "Software"), to
|
|||
|
|
* deal in the Software without restriction, including without limitation the
|
|||
|
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|||
|
|
* sell copies of the Software, and to permit persons to whom the Software is
|
|||
|
|
* furnished to do so, subject to the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be included in
|
|||
|
|
* all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|||
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|||
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|||
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|||
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
|
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|||
|
|
* IN THE SOFTWARE.
|
|||
|
|
*
|
|||
|
|
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
|||
|
|
* including animation and compression. It does not rely on any specific
|
|||
|
|
* underlying system, so should run in the browser, Node, or Plask.
|
|||
|
|
*/function a9(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var n=e[t++]|e[t++]<<8,i=e[t++]|e[t++]<<8,a=e[t++],r=a>>7,s=1<<1+(7&a);e[t++],e[t++];var l=null,o=null;r&&(l=t,o=s,t+=3*s);var d=!0,c=[],u=0,p=null,A=0,h=null;for(this.width=n,this.height=i;d&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,h=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var f=e[t++];u=e[t++]|e[t++]<<8,p=e[t++],!(1&f)&&(p=null),A=f>>2&7,t++;break;case 254:for(;;){if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,g=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,x=e[t++],b=x>>6&1,w=1<<1+(7&x),j=l,C=o,S=!1;x>>7&&(S=!0,j=t,C=w,t+=3*w);var N=t;for(t++;;){var I;if(!((I=e[t++])>=0))throw Error("Invalid block size");if(0===I)break;t+=I}c.push({x:m,y:v,width:g,height:y,has_local_palette:S,palette_offset:j,palette_size:C,data_offset:N,data_length:t-N,transparent_index:p,interlaced:!!b,delay:u,disposal:A});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return c.length},this.loopCount=function(){return h},this.frameInfo=function(e){if(e<0||e>=c.length)throw new Error("Frame index out of range.");return c[e]},this.decodeAndBlitFrameBGRA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);r9(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=w,i[h++]=b,i[h++]=x,i[h++]=255}--u}},this.decodeAndBlitFrameRGBA=function(t,i){var a=this.frameInfo(t),r=a.width*a.height,s=new Uint8Array(r);r9(e,a.data_offset,s,r);var l=a.palette_offset,o=a.transparent_index;null===o&&(o=256);var d=a.width,c=n-d,u=d,p=4*(a.y*n+a.x),A=4*((a.y+a.height)*n+a.x),h=p,f=4*c;!0===a.interlaced&&(f+=4*n*7);for(var m=8,v=0,g=s.length;v<g;++v){var y=s[v];if(0===u&&(u=d,(h+=f)>=A&&(f=4*c+4*n*(m-1),h=p+(d+c)*(m<<1),m>>=1)),y===o)h+=4;else{var x=e[l+3*y],b=e[l+3*y+1],w=e[l+3*y+2];i[h++]=x,i[h++]=b,i[h++]=w,i[h++]=255}--u}}}function r9(e,t,n,i){for(var a=e[t++],r=1<<a,s=r+1,l=s+1,o=a+1,d=(1<<o)-1,c=0,u=0,p=0,A=e[t++],h=new Int32Array(4096),f=null;;){for(;c<16&&0!==A;)u|=e[t++]<<c,c+=8,1===A?A=e[t++]:--A;if(c<o)break;var m=u&d;if(u>>=o,c-=o,m!==r){if(m===s)break;for(var v=m<l?m:f,g=0,y=v;y>r;)y=h[y]>>8,++g;var x=y;if(p+g+(v!==m?1:0)>i)return void f8.log("Warning, gif stream longer than expected.");n[p++]=x;var b=p+=g;for(v!==m&&(n[p++]=x),y=v;g--;)y=h[y],n[--b]=255&y,y>>=8;null!==f&&l<4096&&(h[l++]=f<<8|x,l>=d+1&&o<12&&(++o,d=d<<1|1)),f=m}else l=s+1,d=(1<<(o=a+1))-1,f=null}return p!==i&&f8.log("Warning, gif stream shorter than expected."),n
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
Copyright (c) 2008, Adobe Systems Incorporated
|
|||
|
|
All rights reserved.
|
|||
|
|
|
|||
|
|
Redistribution and use in source and binary forms, with or without
|
|||
|
|
modification, are permitted provided that the following conditions are
|
|||
|
|
met:
|
|||
|
|
|
|||
|
|
* Redistributions of source code must retain the above copyright notice,
|
|||
|
|
this list of conditions and the following disclaimer.
|
|||
|
|
|
|||
|
|
* Redistributions in binary form must reproduce the above copyright
|
|||
|
|
notice, this list of conditions and the following disclaimer in the
|
|||
|
|
documentation and/or other materials provided with the distribution.
|
|||
|
|
|
|||
|
|
* Neither the name of Adobe Systems Incorporated nor the names of its
|
|||
|
|
contributors may be used to endorse or promote products derived from
|
|||
|
|
this software without specific prior written permission.
|
|||
|
|
|
|||
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|||
|
|
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|||
|
|
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|||
|
|
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|||
|
|
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|||
|
|
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|||
|
|
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|||
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|||
|
|
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|||
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
|
*/}function s9(e){var t,n,i,a,r,s=Math.floor,l=new Array(64),o=new Array(64),d=new Array(64),c=new Array(64),u=new Array(65535),p=new Array(65535),A=new Array(64),h=new Array(64),f=[],m=0,v=7,g=new Array(64),y=new Array(64),x=new Array(64),b=new Array(256),w=new Array(2048),j=[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],C=[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],N=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[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],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],P=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],k=[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 T(e,t){for(var n=0,i=0,a=new Array,r=1;r<=16;r++){for(var s=1;s<=e[r];s++)a[t[i]]=[],a[t[i]][0]=n,a[t[i]][1]=r,i++,n++;n*=2}return a}function E(e){for(var t=e[0],n=e[1]-1;n>=0;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(D(255),D(0)):D(m),v=7,m=0)}function D(e){f.push(e)}function L(e){D(e>>8&255),D(255&e)}function U(e,t,n,i,a){for(var r,s=a[0],l=a[240],o=function(e,t){var n,i,a,r,s,l,o,d,c,u,p=0;for(c=0;c<8;++c){n=e[p],i=e[p+1],a=e[p+2],r=e[p+3],s=e[p+4],l=e[p+5],o=e[p+6];var h=n+(d=e[p+7]),f=n-d,m=i+o,v=i-o,g=a+l,y=a-l,x=r+s,b=r-s,w=h+x,j=h-x,C=m+g,S=m-g;e[p]=w+C,e[p+4]=w-C;var N=.707106781*(S+j);e[p+2]=j+N,e[p+6]=j-N;var I=.382683433*((w=b+y)-(S=v+f)),F=.5411961*w+I,B=1.306562965*S+I,P=.707106781*(C=y+v),k=f+P,T=f-P;e[p+5]=T+F,e[p+3]=T-F,e[p+1]=k+B,e[p+7]=k-B,p+=8}for(p=0,c=0;c<8;++c){n=e[p],i=e[p+8],a=e[p+16],r=e[p+24],s=e[p+32],l=e[p+40],o=e[p+48];var E=n+(d=e[p+56]),D=n-d,L=i+o,U=i-o,_=a+l,O=a-l,M=r+s,R=r-s,Q=E+M,H=E-M,V=L+_,z=L-_;e[p]=Q+V,e[p+32]=Q-V;var q=.707106781*(z+H);e[p+16]=H+q,e[p+48]=H-q;var W=.382683433*((Q=R+O)-(z=U+D)),Y=.5411961*Q+W,K=1.306562965*z+W,G=.707106781*(V=O+U),$=D+G,X=D-G;e[p+40]=X+Y,e[p+24]=X-Y,e[p+8]=$+K,e[p+56]=$-K,p++}for(c=0;c<64;++c)u=e[c]*t[c],A[c]=u>0?u+.5|0:u-.5|0;return A}(e,t),d=0;d<64;++d)h[j[d]]=o[d];var c=h[0]-n;n=h[0],0==c?E(i[0]):(E(i[p[r=32767+c]]),E(u[r]));for(var f=63;f>0&&0==h[f];)f--;if(0==f)return E(s),n;for(var m,v=1;v<=f;){for(var g=v;0==h[v]&&v<=f;)++v;var y=v-g;if(y>=16){m=y>>4;for(var x=1;x<=m;++x)E(l);y&=15}r=32767+h[v],E(a[(y<<4)+p[r]]),E(u[r]),v++}return 63!=f&&E(s),n}function _(e){e=Math.min(Math.max(e,1),100),r!=e&&(function(e){for(var t=[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],n=0;n<64;n++){var i=s((t[n]*e+50)/100);i=Math.min(Math.max(i,1),255),l[j[n]]=i}for(var a=[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],r=0;r<64;r++){var u=s((a[r]*e+50)/100);u=Math.min(Math.max(u,1),255),o[j[r]]=u}for(var p=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.541
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2017 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/function l9(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,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function o9(e){function t(e){if(!e)throw Error("assert :P")}function n(e,t,n){for(var i=0;4>i;i++)if(e[t+i]!=n.charCodeAt(i))return!0;return!1}function i(e,t,n,i,a){for(var r=0;r<a;r++)e[t+r]=n[i+r]}function a(e,t,n,i){for(var a=0;a<i;a++)e[t+a]=n}function r(e){return new Int32Array(e)}function s(e,t){for(var n=[],i=0;i<e;i++)n.push(new t);return n}function l(e,t){var n=[];return function e(n,i,a){for(var r=a[i],s=0;s<r&&(n.push(a.length>i+1?[]:new t),!(a.length<i+1));s++)e(n[s],i+1,a)}(n,0,e),n}var o=function(){var e=this;function o(e,t){for(var n=1<<t-1>>>0;e&n;)n>>>=1;return n?(e&n-1)+n:e}function d(e,n,i,a,r){t(!(a%i));do{e[n+(a-=i)]=r}while(0<a)}function c(e,n,i,a,s){if(t(2328>=s),512>=s)var l=r(512);else if(null==(l=r(s)))return 0;return function(e,n,i,a,s,l){var c,p,A=n,h=1<<i,f=r(16),m=r(16);for(t(0!=s),t(null!=a),t(null!=e),t(0<i),p=0;p<s;++p){if(15<a[p])return 0;++f[a[p]]}if(f[0]==s)return 0;for(m[1]=0,c=1;15>c;++c){if(f[c]>1<<c)return 0;m[c+1]=m[c]+f[c]}for(p=0;p<s;++p)c=a[p],0<a[p]&&(l[m[c]++]=p);if(1==m[15])return(a=new u).g=0,a.value=l[0],d(e,A,1,h,a),h;var v,g=-1,y=h-1,x=0,b=1,w=1,j=1<<i;for(p=0,c=1,s=2;c<=i;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c])(a=new u).g=c,a.value=l[p++],d(e,A+x,s,j,a),x=o(x,c)}for(c=i+1,s=2;15>=c;++c,s<<=1){if(b+=w<<=1,0>(w-=f[c]))return 0;for(;0<f[c];--f[c]){if(a=new u,(x&y)!=g){for(A+=j,v=1<<(g=c)-i;15>g&&!(0>=(v-=f[g]));)++g,v<<=1;h+=j=1<<(v=g-i),e[n+(g=x&y)].g=v+i,e[n+g].value=A-n-g}a.g=c-i,a.value=l[p++],d(e,A+(x>>i),s,j,a),x=o(x,c)}}return b!=2*m[15]-1?0:h}(e,n,i,a,s,l)}function u(){this.value=this.g=0}function p(){this.value=this.g=0}function A(){this.G=s(5,u),this.H=r(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(On,p)}function h(e,n,i,a){t(null!=e),t(null!=n),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=n,e.pa=i,e.Jd=n,e.Yc=i+a,e.Zc=4<=a?i+a-4+1:i,N(e)}function f(e,t){for(var n=0;0<t--;)n|=F(e,128)<<t;return n}function m(e,t){var n=f(e,t);return I(e)?-n:n}function v(e,n,i,a){var r,s=0;for(t(null!=e),t(null!=n),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),r=0;r<a;++r)s+=n[i+r]<<8*r;e.Ra=s,e.bb=a,e.oa=n,e.pa=i}function g(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Qn-8>>>0,++e.bb,e.u-=8;j(e)&&(e.h=1,e.u=0)}function y(e,n){if(t(0<=n),!e.h&&n<=Rn){var i=w(e)&Mn[n];return e.u+=n,g(e),i}return e.h=1,e.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function b(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function w(e){return e.Ra>>>(e.u&Qn-1)>>>0}function j(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Qn}function C(e,t){e.u=t,e.h=j(e)}function S(e){e.u>=Hn&&(t(e.u>=Hn),g(e))}function N(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function I(e){return f(e,1)}function F(e,t){var n=e.Ca;0>e.b&&N(e);var i=e.b,a=n*t>>>8,r=(e.I>>>i>a)+0;for(r?(n-=a,e.I-=a+1<<i>>>0):n=a+1,i=n,a=0;256<=i;)a+=8,i>>=8;return i=7^a+Vn[i],e.b-=i,e.Ca=(n<<i)-1,r}function B(e,t,n){e[t+0]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n}function P(e,t){return e[t+0]|e[t+1]<<8}function k(e,t){return P(e,t)|e[t+2]<<16}function T(e,t){return P(e,t)|P(e,t+2)<<16}function E(e,n){var i=1<<n;return t(null!=e),t(0<n),e.X=r(i),null==e.X?0:(e.Mb=32-n,e.Xa=n,1)}function D(e,n){t(null!=e),t(null!=n),t(e.Xa==n.Xa),i(n.X,0,e.X,0,1<<n.Xa)}function L(){this.X=[],this.Xa=this.Mb=0}function U(e,n,i,a){t(null!=i),t(null!=a);var r=i[0],s=a[0];return 0==r&&(r=(e*s+n/2)/n),0==s&&(s=(n*r+e/2)/e),0>=r||0>=s?0:(i[0]=r,a[0]=s,1)}function _(e,t){return e+(1<<t)-1>>>t}function O(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16
|
|||
|
|
/** @license
|
|||
|
|
* Copyright (c) 2017 Dominik Homberger
|
|||
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|||
|
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|||
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
https://webpjs.appspot.com
|
|||
|
|
WebPRiffParser dominikhlbg@gmail.com
|
|||
|
|
*/
|
|||
|
|
function(e,t){for(var n=0;n<4;n++)if(e[t+n]!="RIFF".charCodeAt(n))return!0;return!1}(e,t)){var l,o;for(u(e,t+=4),t+=8;t<e.length;){var p=d(e,t),A=u(e,t+=4);t+=4;var h=A+(1&A);switch(p){case"VP8 ":case"VP8L":void 0===n.frames[i]&&(n.frames[i]={}),(v=n.frames[i]).src_off=a?s:t-8,v.src_size=r+A+8,i++,a&&(a=!1,r=0,s=0);break;case"VP8X":(v=n.header={}).feature_flags=e[t];var f=t+4;v.canvas_width=1+c(e,f),f+=3,v.canvas_height=1+c(e,f),f+=3;break;case"ALPH":a=!0,r=h+8,s=t-8;break;case"ANIM":(v=n.header).bgcolor=u(e,t),f=t+4,v.loop_count=(l=e)[(o=f)+0]|l[o+1]<<8,f+=2;break;case"ANMF":var m,v;(v=n.frames[i]={}).offset_x=2*c(e,t),t+=3,v.offset_y=2*c(e,t),t+=3,v.width=1+c(e,t),t+=3,v.height=1+c(e,t),t+=3,v.duration=c(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=p&&(t+=h)}return n}}(m,0);v.response=m,v.rgbaoutput=!0,v.dataurl=!1;var g=v.header?v.header:null,y=v.frames?v.frames:null;if(g){g.loop_counter=g.loop_count,p=[g.canvas_height],A=[g.canvas_width];for(var x=0;x<y.length&&0!=y[x].blend;x++);}var b=y[0],w=f.WebPDecodeRGBA(m,b.src_off,b.src_size,A,p);b.rgba=w,b.imgwidth=A[0],b.imgheight=p[0];for(var j=0;j<A[0]*p[0]*4;j++)h[j]=w[j];return this.width=A,this.height=p,this.data=h,this}!function(e){var t=function(t,i,o,d){var c=4,u=r;switch(d){case e.image_compression.FAST:c=1,u=a;break;case e.image_compression.MEDIUM:c=6,u=s;break;case e.image_compression.SLOW:c=9,u=l}var p=ns(t=n(t,i,o,u),{level:c});return e.__addimage__.arrayBufferToBinaryString(p)},n=function(e,t,n,i){for(var a,r,s,l=e.length/t,o=new Uint8Array(e.length+l),u=d(),p=0;p<l;p+=1){if(s=p*t,a=e.subarray(s,s+t),i)o.set(i(a,n,r),s+p);else{for(var A,h=u.length,f=[];A<h;A+=1)f[A]=u[A](a,n,r);var m=c(f.concat());o.set(f[m],s+p)}r=a}return o},i=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var n,i=[],a=e.length;i[0]=1;for(var r=0;r<a;r+=1)n=e[r-t]||0,i[r+1]=e[r]-n+256&255;return i},r=function(e,t,n){var i,a=[],r=e.length;a[0]=2;for(var s=0;s<r;s+=1)i=n&&n[s]||0,a[s+1]=e[s]-i+256&255;return a},s=function(e,t,n){var i,a,r=[],s=e.length;r[0]=3;for(var l=0;l<s;l+=1)i=e[l-t]||0,a=n&&n[l]||0,r[l+1]=e[l]+256-(i+a>>>1)&255;return r},l=function(e,t,n){var i,a,r,s,l=[],d=e.length;l[0]=4;for(var c=0;c<d;c+=1)i=e[c-t]||0,a=n&&n[c]||0,r=n&&n[c-t]||0,s=o(i,a,r),l[c+1]=e[c]-s+256&255;return l},o=function(e,t,n){if(e===t&&t===n)return e;var i=Math.abs(t-n),a=Math.abs(e-n),r=Math.abs(e+t-n-n);return i<=a&&i<=r?e:a<=r?t:n},d=function(){return[i,a,r,s,l]},c=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(n,i,a,r){var s,l,o,d,c,u,p,A,h,f,m,v,g,y,x,b=this.decode.FLATE_DECODE,w="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(o=new i9(n)).imgData,l=o.bits,s=o.colorSpace,c=o.colors,-1!==[4,6].indexOf(o.colorType)){if(8===o.bits){h=(A=32==o.pixelBitlength?new Uint32Array(o.decodePixels().buffer):16==o.pixelBitlength?new Uint16Array(o.decodePixels().buffer):new Uint8Array(o.decodePixels().buffer)).length,m=new Uint8Array(h*o.colors),f=new Uint8Array(h);var j,C=o.pixelBitlength-o.bits;for(y=0,x=0;y<h;y++){for(g=A[y],j=0;j<C;)m[x++]=g>>>j&255,j+=o.bits;f[y]=g>>>j&255}}if(16===o.bits){h=(A=new Uint32Array(o.decodePixels().buffer)).length,m=new Uint8Array(h*(32/o.pixelBitlength)*o.colors),f=new Uint8Array(h*(32/o.pixelBitlength)),v=o.colors>1,y=0,x=0;for(var S=0;y<h;)g=A[y++],m[x++]=g>>>0&255,v&&(m[x++]=g>>>16&255,g=A[y++],m[x++]=g>>>0&255),f[S++]=g>>>16&255;l=8}r!==e.image_compression.NONE?(n=t(m,o.width*o.colors,o.colors,r),p=t(f,o.width,1,r)):(n=m,p=f,b=void 0)}if(3===o.colorType&&(s=this.color_spaces.INDEXED,u=o.palette,o.transparency.indexed)){var N=o.transparency.indexed,I=0;for(y=0,h=N.length;y<h;++y)I+=N[y];if((I/=255)==h-1&&-1!==N.indexOf(0))d=[N.indexOf(0)];else if(I!==h){for(A=o.decodePixels(),f=new Uint8Array(A.length),y=0,h=A.length;y<h;y++)f[y]=N[A[y]];p=t(f,o.width,1)}}var F=function(t){var n;switch(t){case e.image_compression.FAST:n=11;break;case e.image_compression.MEDIUM:n=13
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2018 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.processBMP=function(t,n,i,a){var r=new l9(t,!1),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new s9(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}(W8.API),o9.prototype.getData=function(){return this.data},
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Copyright (c) 2019 Aras Abbasi
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){e.processWEBP=function(t,n,i,a){var r=new o9(t),s=r.width,l=r.height,o={data:r.getData(),width:s,height:l},d=new s9(100).encode(o,100);return e.processJPEG.call(this,d,n,i,a)}}(W8.API),W8.API.processRGBA=function(e,t,n){for(var i=e.data,a=i.length,r=new Uint8Array(a/4*3),s=new Uint8Array(a/4),l=0,o=0,d=0;d<a;d+=4){var c=i[d],u=i[d+1],p=i[d+2],A=i[d+3];r[l++]=c,r[l++]=u,r[l++]=p,s[o++]=A}var h=this.__addimage__.arrayBufferToBinaryString(r);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:h,index:t,alias:n,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},W8.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={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 (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(e){for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n};e.API.events.push(["addFont",function(n){var i,a,r=void 0,s=n.font,l=n.instance;if(!s.isStandardFont){if(void 0===l)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if("string"!=typeof(r=!1===l.existsFileInVFS(s.postScriptName)?l.loadFile(s.postScriptName):l.getFileFromVFS(s.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");i=s,a=/^\x00\x01\x00\x00/.test(a=r)?t(a):t(y8(a)),i.metadata=e.API.TTFFont.open(a),i.metadata.Unicode=i.metadata.Unicode||{encoding:{},kerning:{},widths:[]},i.metadata.glyIdsUsed=[0]}}])}(W8),W8.API.addSvgAsImage=function(e,t,n,i,a,r,s,l){if(isNaN(t)||isNaN(n))throw f8.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(a))throw f8.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var o=document.createElement("canvas");o.width=i,o.height=a;var d=o.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,o.width,o.height);var c={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},u=this;return(A8.canvg?Promise.resolve(A8.canvg):pr((()=>import("./index.es-7ba97c1a.js")),["assets/index.es-7ba97c1a.js","assets/vendor-c65bce76.js","assets/ui-2d515953.js"])).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e})).then((function(t){return t.fromString(d,e,c)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(c)})).then((function(){u.addImage(o.toDataURL("image/jpeg",1),t,n,i,a,s,l)}))},W8.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 i=1;i<=this.internal.getNumberOfPages();i++)for(var a=0;a<this.internal.pages[i].length;a++)this.internal.pages[i][a]=this.internal.pages[i][a].replace(t,n);return this},W8.API.viewerPreferences=function(e,t){var n;e=e||{},t=t||!1;var i,a,r,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1
|
|||
|
|
/** ====================================================================
|
|||
|
|
* @license
|
|||
|
|
* jsPDF XMP metadata plugin
|
|||
|
|
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
|
|||
|
|
*
|
|||
|
|
* Permission is hereby granted, free of charge, to any person obtaining
|
|||
|
|
* a copy of this software and associated documentation files (the
|
|||
|
|
* "Software"), to deal in the Software without restriction, including
|
|||
|
|
* without limitation the rights to use, copy, modify, merge, publish,
|
|||
|
|
* distribute, sublicense, and/or sell copies of the Software, and to
|
|||
|
|
* permit persons to whom the Software is furnished to do so, subject to
|
|||
|
|
* the following conditions:
|
|||
|
|
*
|
|||
|
|
* The above copyright notice and this permission notice shall be
|
|||
|
|
* included in all copies or substantial portions of the Software.
|
|||
|
|
*
|
|||
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|||
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|||
|
|
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|||
|
|
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|||
|
|
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
|
* ====================================================================
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){var e='<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>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),i=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),r=unescape(encodeURIComponent("</x:xmpmeta>")),s=n.length+i.length+a.length+t.length+r.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+n+i+a+r),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(e,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(W8.API),function(e){var t=e.API,n=t.pdfEscape16=function(e,t){for(var n,i=t.metadata.Unicode.widths,a=["","0","00","000","0000"],r=[""],s=0,l=e.length;s<l;++s){if(n=t.metadata.characterToGlyph(e.charCodeAt(s)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(s),-1==i.indexOf(n)&&(i.push(n),i.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return r.join("");n=n.toString(16),r.push(a[4-n.length],n)}return r.join("")},i=function(e){var t,n,i,a,r,s,l;for(r="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",i=[],s=0,l=(n=Object.keys(e).sort((function(e,t){return e-t}))).length;s<l;s++)t=n[s],i.length>=100&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar",i=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),i.push("<"+t+"><"+a+">"));return i.length&&(r+="\n"+i.length+" beginbfchar\n"+i.join("\n")+"\nendbfchar\n"),r+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"Identity-H"===n.encoding){for(var l=n.metadata.Unicode.widths,o=n.metadata.subset.encode(n.metadata.glyIdsUsed,1),d="",c=0;c<o.length;c++)d+=String.fromCharCode(o[c]);var u=r();s({data:d,addLength1:!0,objectId:u}),a("endobj");var p=r();s({data:i(n.metadata.toUnicode),addLength1:!0,objectId:p}),a("endobj");var A=r();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+R8(n.fontName)),a("/FontFile2 "+u+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(n.metadata.bbox)),a("/Flags "+n.metadata.flags),a("/StemV "+n.metadata.stemV),a("/ItalicAngle "+n.metadata.italicAngle),a("/Ascent "+n.metadata.ascender),a("/Descent "+n.metadata.decender),a("/CapHeight "+n.metadata.capHeight),a(">>"),a("endobj");var h=r();a("<<"),a("/Type /Font"),a("/BaseFont /"+R8(n.fontName)),a("/FontDescriptor "+A+" 0 R"),a("/W "+e.API.PDFObject.convert(l)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+n.encoding+")"),a(">>"),a(">>"),a("endobj"),n.objectNumber=r(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+p+" 0 R"),a("/BaseFont /"+R8(n.fontName)),a("/Encoding /"+n.encoding),a("/DescendantFonts ["+h+" 0 R]"),a(">>"),a("endobj"),n.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var n=t.font,a=t.out,r=t.newObject,s=t.putStream;if(n.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===n.encoding){for(var l=n.metadata.rawData,o="",
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* jsPDF virtual FileSystem functionality
|
|||
|
|
*
|
|||
|
|
* Licensed under the MIT License.
|
|||
|
|
* http://opensource.org/licenses/mit-license
|
|||
|
|
*/
|
|||
|
|
function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,n){return t.call(this),this.internal.vFS[e]=n,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(W8.API),
|
|||
|
|
/**
|
|||
|
|
* @license
|
|||
|
|
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
|
|||
|
|
* MIT License
|
|||
|
|
*/
|
|||
|
|
function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,i,a,r,s,l,o,d=t,c=[[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]],u=[[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]],p={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},A={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},h=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],f=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)$/),m=!1,v=0;this.__bidiEngine__={};var g=function(e){var t=e.charCodeAt(),n=t>>8,i=A[n];return void 0!==i?d[256*i+(255&t)]:252===n||253===n?"AL":f.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=g(e.charAt(n))))return!1;if("R"===t)return!0}return!1},x=function(e,t,s,l){var o,d,c,u,p=t[l];switch(p){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(p="AN");break;case"AL":m=!0,p="R";break;case"WS":case"BN":p="N";break;case"CS":l<1||l+1>=t.length||"EN"!==(o=s[l-1])&&"AN"!==o||"EN"!==(d=t[l+1])&&"AN"!==d?p="N":m&&(d="AN"),p=d===o?d:"N";break;case"ES":p="EN"===(o=l>0?s[l-1]:"B")&&l+1<t.length&&"EN"===t[l+1]?"EN":"N";break;case"ET":if(l>0&&"EN"===s[l-1]){p="EN";break}if(m){p="N";break}for(c=l+1,u=t.length;c<u&&"ET"===t[c];)c++;p=c<u&&"EN"===t[c]?"EN":"N";break;case"NSM":if(a&&!r){for(u=t.length,c=l+1;c<u&&"NSM"===t[c];)c++;if(c<u){var A=e[l],h=A>=1425&&A<=2303||64286===A;if(o=t[c],h&&("R"===o||"AL"===o)){p="R";break}}}p=l<1||"B"===(o=t[l-1])?"N":s[l-1];break;case"B":m=!1,n=!0,p=v;break;case"S":i=!0,p="N"}return p},b=function(e,t,n){var i=e.split("");return n&&w(i,n,{hiLevel:v}),i.reverse(),t&&t.reverse(),i.join("")},w=function(e,t,a){var r,s,l,o,d,A=-1,h=e.length,f=0,y=[],b=v?u:c,w=[];for(m=!1,n=!1,i=!1,s=0;s<h;s++)w[s]=g(e[s]);for(l=0;l<h;l++){if(d=f,y[l]=x(e,w,y,l),r=240&(f=b[d][p[y[l]]]),f&=15,t[l]=o=b[f][5],r>0)if(16===r){for(s=A;s<l;s++)t[s]=1;A=-1}else A=-1;if(b[f][6])-1===A&&(A=l);else if(A>-1){for(s=A;s<l;s++)t[s]=o;A=-1}"B"===w[l]&&(t[l]=0),a.hiLevel|=o}i&&function(e,t,n){for(var i=0;i<n;i++)if("S"===e[i]){t[i]=v;for(var a=i-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(w,t,h)},j=function(e,t,i,a,r){if(!(r.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(i&&i.reverse());for(var s,l,o,d,c=t.length,u=0;u<c;){if(a[u]>=e){for(o=u+1;o<c&&a[o]>=e;)o++;for(d=u,l=o-1;d<l;d++,l--)s=t[d],t[d]=t[l],t[l]=s,i&&(s=i[d],i[d]=i[l],i[l]=s);u=o}u++}}},C=function(e,t,n){var i=e.split(""),a={hiLevel:v};return n||(n=[]),w(i,n,a),function(e,t,n){if(0!==n.hiLevel&&o)for(var i,a=0;a<e.length;a++)1===t[a]&&(i=h.indexOf(e[a]))>=0&&(e[a]=h[i+1])}(i,n,a),j(2,i,t,n,a),j(1,i,t,n,a),i.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===r&&(r=y(e)),void 0===l&&(l=y(e))}(e,t),a||!s||l)if(a&&s&&r^l)v=r?1:0,e=b(e,t,n);else if(!a&&s&&l)v=r?1:0,e=C(e,t,n),e=b(e,t);else if(!a||r||s||l){if(a&&!s&&r^l)e=b(e,t),r?(v=0,e=C(e,t,n)):(v=1,e=C(e,t,n),e=b(e,t));else if(a&&r&&!s&&l)v=1,e=C(e,t,n),e=b(e,t);else if(!a&&!s&&r^l){var i=o;r?(v=1,e=C(e,t,n),v=0,o=!1,e=C(e,t,n),o=i):(v=0,e=C(e,t,n),e=b(e,t),v=1,o=!1,e=C(e,t,n),o=i,e=b(e,t))}}else v=0,e=C(e,t,n);else v=r?1:0,e=C(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,s=e.isOutputVisual,r=e.isInputRtl,l=e.isOutputRtl,o=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),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
|
|||
|
|
/*!
|
|||
|
|
* jQuery JavaScript Library v3.7.1
|
|||
|
|
* https://jquery.com/
|
|||
|
|
*
|
|||
|
|
* Copyright OpenJS Foundation and other contributors
|
|||
|
|
* Released under the MIT license
|
|||
|
|
* https://jquery.org/license
|
|||
|
|
*
|
|||
|
|
* Date: 2023-08-28T13:37Z
|
|||
|
|
*/!function(e){!function(t,n){e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}}("undefined"!=typeof window?window:d,(function(e,t){var n=[],i=Object.getPrototypeOf,a=n.slice,r=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,l=n.indexOf,o={},d=o.toString,c=o.hasOwnProperty,u=c.toString,p=u.call(Object),A={},h=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},f=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function g(e,t,n){var i,a,r=(n=n||m).createElement("script");if(r.text=e,t)for(i in v)(a=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,a);n.head.appendChild(r).parentNode.removeChild(r)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[d.call(e)]||"object":typeof e}var x="3.7.1",b=/HTML$/i,w=function(e,t){return new w.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!h(e)&&!f(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function C(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}w.fn=w.prototype={jquery:x,constructor:w,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,a,r,s=arguments[0]||{},l=1,o=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[l]||{},l++),"object"==typeof s||h(s)||(s={}),l===o&&(s=this,l--);l<o;l++)if(null!=(e=arguments[l]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(d&&i&&(w.isPlainObject(i)||(a=Array.isArray(i)))?(n=s[t],r=a&&!Array.isArray(n)?[]:a||w.isPlainObject(n)?n:{},a=!1,s[t]=w.extend(d,r,i)):void 0!==i&&(s[t]=i));return s},w.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=i(e))||"function"==typeof(n=c.call(t,"constructor")&&t.constructor)&&u.call(n)===p)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){g(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(j(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,a=e.nodeType;if(!a)for(;t=e[i++];)n+=w.text(t);return 1===a||11===a?e.textContent:9===a?e.documentElement.textContent:3===a||4===a?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!b.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,a=e.length;i<n;i++)e[a++]=t[i];return e.length=a,e},grep:function(e,t,n){for(var i=[],a=0,r=e.length,s=!n;a<r;a++)!t(e[a],a)!==s&&i.push(e[a]);return i},map:function(e,t,n){var i,a,s=0,l=[];if(j(e))for(i=e.length;s<i;s++)null!=(a=t(e[s],s,n))&&l.push(a);else for(s in e)null!=(a=t(e[s],s,n))&&l.push(a);return r(l)},guid:1,support:A}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error S
|
|||
|
|
/*
|
|||
|
|
object-assign
|
|||
|
|
(c) Sindre Sorhus
|
|||
|
|
@license MIT
|
|||
|
|
*/
|
|||
|
|
var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(a){return!1}}()?Object.assign:function(e,t){for(var n,l,o=s(e),d=1;d<arguments.length;d++){for(var c in n=Object(arguments[d]))a.call(n,c)&&(o[c]=n[c]);if(i){l=i(n);for(var u=0;u<l.length;u++)r.call(n,l[u])&&(o[l[u]]=n[l[u]])}}return o}},function(e,t,n){var i=function(e){return!(!(t=e)||"object"!=typeof t||function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||e.$$typeof===a}(e));var t},a="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function s(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function l(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]));var t}function o(e,t){try{return t in e}catch(n){return!1}}function d(e,t,n){var i={};return n.isMergeableObject(e)&&l(e).forEach((function(t){i[t]=r(e[t],n)})),l(t).forEach((function(a){var s,l;o(s=e,l=a)&&(!Object.hasOwnProperty.call(s,l)||!Object.propertyIsEnumerable.call(s,l))||(o(e,a)&&n.isMergeableObject(t[a])?i[a]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(a,n)(e[a],t[a],n):i[a]=r(t[a],n))})),i}function c(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||s,n.isMergeableObject=n.isMergeableObject||i,n.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(t);return a===Array.isArray(e)?a?n.arrayMerge(e,t,n):d(e,t,n):r(t,n)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var u=c;e.exports=u},function(e,t){var n="undefined"!=typeof Element,i="function"==typeof Map,a="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,s){if(t===s)return!0;if(t&&s&&"object"==typeof t&&"object"==typeof s){if(t.constructor!==s.constructor)return!1;var l,o,d,c;if(Array.isArray(t)){if((l=t.length)!=s.length)return!1;for(o=l;0!=o--;)if(!e(t[o],s[o]))return!1;return!0}if(i&&t instanceof Map&&s instanceof Map){if(t.size!==s.size)return!1;for(c=t.entries();!(o=c.next()).done;)if(!s.has(o.value[0]))return!1;for(c=t.entries();!(o=c.next()).done;)if(!e(o.value[1],s.get(o.value[0])))return!1;return!0}if(a&&t instanceof Set&&s instanceof Set){if(t.size!==s.size)return!1;for(c=t.entries();!(o=c.next()).done;)if(!s.has(o.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(s)){if((l=t.length)!=s.length)return!1;for(o=l;0!=o--;)if(t[o]!==s[o])return!1;return!0}if(t.constructor===RegExp)return t.source===s.source&&t.flags===s.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===s.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===s.toString();if((l=(d=Object.keys(t)).length)!==Object.keys(s).length)return!1;for(o=l;0!=o--;)if(!Object.prototype.hasOwnProperty.call(s,d[o]))return!1;if(n&&t instanceof Element)return!1;for(o=l;0!=o--;)if(("_owner"!==d[o]&&"__v"!==d[o]&&"__o"!==d[o]||!t.$$typeof)&&!e(t[d[o]],s[d[o]]))return!1;return!0}return t!=t&&s!=s}(e,t)}catch(s){if((s.message||"").match(/stack|recursion/i))return!1;throw s}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var i,a=(i=n(54))&&i.__esModule?i:{default:i},r=a.default.st
|
|||
|
|
/** @license React v16.14.0
|
|||
|
|
* react.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/
|
|||
|
|
var i=n(9),a="function"==typeof Symbol&&Symbol.for,r=a?Symbol.for("react.element"):60103,s=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,d=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,u=a?Symbol.for("react.context"):60110,p=a?Symbol.for("react.forward_ref"):60112,A=a?Symbol.for("react.suspense"):60113,h=a?Symbol.for("react.memo"):60115,f=a?Symbol.for("react.lazy"):60116,m="function"==typeof Symbol&&Symbol.iterator;function v(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 g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y={};function x(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}function b(){}function w(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||g}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=x.prototype;var j=w.prototype=new b;j.constructor=w,i(j,x.prototype),j.isPureReactComponent=!0;var C={current:null},S=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var i,a={},s=null,l=null;if(null!=t)for(i in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(s=""+t.key),t)S.call(t,i)&&!N.hasOwnProperty(i)&&(a[i]=t[i]);var o=arguments.length-2;if(1===o)a.children=n;else if(1<o){for(var d=Array(o),c=0;c<o;c++)d[c]=arguments[c+2];a.children=d}if(e&&e.defaultProps)for(i in o=e.defaultProps)void 0===a[i]&&(a[i]=o[i]);return{$$typeof:r,type:e,key:s,ref:l,props:a,_owner:C.current}}function F(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var B=/\/+/g,P=[];function k(e,t,n,i){if(P.length){var a=P.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=i,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:i,count:0}}function T(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function E(e,t,n){return null==e?0:function e(t,n,i,a){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var o=!1;if(null===t)o=!0;else switch(l){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case r:case s:o=!0}}if(o)return i(a,t,""===n?"."+D(t,0):n),1;if(o=0,n=""===n?".":n+":",Array.isArray(t))for(var d=0;d<t.length;d++){var c=n+D(l=t[d],d);o+=e(l,c,i,a)}else if("function"==typeof(c=null===t||"object"!=typeof t?null:"function"==typeof(c=m&&t[m]||t["@@iterator"])?c:null))for(t=c.call(t),d=0;!(l=t.next()).done;)o+=e(l=l.value,c=n+D(l,d++),i,a);else if("object"===l)throw i=""+t,Error(v(31,"[object Object]"===i?"object with keys {"+Object.keys(t).join(", ")+"}":i,""));return o}(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=e.key,i={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return i[e]}))):t.toString(36);var n,i}function L(e,t){e.func.call(e.context,t,e.count++)}function U(e,t,n){var i,a,s=e.result,l=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?_(e,s,n,(function(e){return e})):null!=e&&(F(e)&&(i=e,a=l+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(B,"$&/")+"/")+n,e={$$typeof:r,type:i.type,key:a,ref:i.ref,props:i.props,_owner:i._owner}),s.push(e))}function _(e,t,n,i,a){var r="";null!=n&&(r=(""+n).replace(B,"$&/")+"/"),E(e,U,t=k(t,r,i,a)),T(t)}var O={current:null};function M(){var e=O.current;if(null===e)throw Error(v(321));return e}var R={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:i};t.Children={map:function(e,t,n){if(null==e)return e;var i=[];return _(e,i,null,t,n),i},forEach:function(e,t
|
|||
|
|
/** @license React v16.14.0
|
|||
|
|
* react-dom.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/
|
|||
|
|
var i=n(0),a=n(9),r=n(34);function s(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."}if(!i)throw Error(s(227));function l(e,t,n,i,a,r,s,l,o){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(c){this.onError(c)}}var o=!1,d=null,c=!1,u=null,p={onError:function(e){o=!0,d=e}};function A(e,t,n,i,a,r,s,c,u){o=!1,d=null,l.apply(p,arguments)}var h=null,f=null,m=null;function v(e,t,n){var i=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,i,a,r,l,p,h){if(A.apply(this,arguments),o){if(!o)throw Error(s(198));var f=d;o=!1,d=null,c||(c=!0,u=f)}}(i,t,void 0,e),e.currentTarget=null}var g=null,y={};function x(){if(g)for(var e in y){var t=y[e],n=g.indexOf(e);if(!(-1<n))throw Error(s(96,e));if(!w[n]){if(!t.extractEvents)throw Error(s(97,e));for(var i in w[n]=t,n=t.eventTypes){var a=void 0,r=n[i],l=t,o=i;if(j.hasOwnProperty(o))throw Error(s(99,o));j[o]=r;var d=r.phasedRegistrationNames;if(d){for(a in d)d.hasOwnProperty(a)&&b(d[a],l,o);a=!0}else r.registrationName?(b(r.registrationName,l,o),a=!0):a=!1;if(!a)throw Error(s(98,i,e))}}}}function b(e,t,n){if(C[e])throw Error(s(100,e));C[e]=t,S[e]=t.eventTypes[n].dependencies}var w=[],j={},C={},S={};function N(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var i=e[t];if(!y.hasOwnProperty(t)||y[t]!==i){if(y[t])throw Error(s(102,t));y[t]=i,n=!0}}n&&x()}var I=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),F=null,B=null,P=null;function k(e){if(e=f(e)){if("function"!=typeof F)throw Error(s(280));var t=e.stateNode;t&&(t=h(t),F(e.stateNode,e.type,t))}}function T(e){B?P?P.push(e):P=[e]:B=e}function E(){if(B){var e=B,t=P;if(P=B=null,k(e),t)for(e=0;e<t.length;e++)k(t[e])}}function D(e,t){return e(t)}function L(e,t,n,i,a){return e(t,n,i,a)}function U(){}var _=D,O=!1,M=!1;function R(){null===B&&null===P||(U(),E())}function Q(e,t,n){if(M)return e(t,n);M=!0;try{return _(e,t,n)}finally{M=!1,R()}}var H=/^[: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]*$/,V=Object.prototype.hasOwnProperty,z={},q={};function W(e,t,n,i,a,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Y[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Y[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Y[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Y[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Y[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Y[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){Y[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){Y[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){Y[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var K=/[\-:]([a-z])/g;function G(e){return e[1].toUpperCase()}"accent-heigh
|
|||
|
|
/** @license React v0.19.1
|
|||
|
|
* scheduler.production.min.js
|
|||
|
|
*
|
|||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|||
|
|
*
|
|||
|
|
* This source code is licensed under the MIT license found in the
|
|||
|
|
* LICENSE file in the root directory of this source tree.
|
|||
|
|
*/
|
|||
|
|
var i,a,r,s,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var o=null,d=null,c=function(){if(null!==o)try{var e=t.unstable_now();o(!0,e),o=null}catch(n){throw setTimeout(c,0),n}},u=Date.now();t.unstable_now=function(){return Date.now()-u},i=function(e){null!==o?setTimeout(i,0,e):(o=e,setTimeout(c,0))},a=function(e,t){d=setTimeout(e,t)},r=function(){clearTimeout(d)},s=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,A=window.Date,h=window.setTimeout,f=window.clearTimeout;if("undefined"!=typeof console&&(window.cancelAnimationFrame,window.requestAnimationFrame),"object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var m=A.now();t.unstable_now=function(){return A.now()-m}}var v=!1,g=null,y=-1,x=5,b=0;s=function(){return t.unstable_now()>=b},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e||(x=0<e?Math.floor(1e3/e):5)};var w=new MessageChannel,j=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();b=e+x;try{g(!0,e)?j.postMessage(null):(v=!1,g=null)}catch(n){throw j.postMessage(null),n}}else v=!1},i=function(e){g=e,v||(v=!0,j.postMessage(null))},a=function(e,n){y=h((function(){e(t.unstable_now())}),n)},r=function(){f(y),y=-1}}function C(e,t){var n=e.length;e.push(t);e:for(;;){var i=n-1>>>1,a=e[i];if(!(void 0!==a&&0<I(a,t)))break e;e[i]=t,e[n]=a,n=i}}function S(e){return void 0===(e=e[0])?null:e}function N(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,a=e.length;i<a;){var r=2*(i+1)-1,s=e[r],l=r+1,o=e[l];if(void 0!==s&&0>I(s,n))void 0!==o&&0>I(o,s)?(e[i]=o,e[l]=n,i=l):(e[i]=s,e[r]=n,i=r);else{if(!(void 0!==o&&0>I(o,n)))break e;e[i]=o,e[l]=n,i=l}}}return t}return null}function I(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var F=[],B=[],P=1,k=null,T=3,E=!1,D=!1,L=!1;function U(e){for(var t=S(B);null!==t;){if(null===t.callback)N(B);else{if(!(t.startTime<=e))break;N(B),t.sortIndex=t.expirationTime,C(F,t)}t=S(B)}}function _(e){if(L=!1,U(e),!D)if(null!==S(F))D=!0,i(O);else{var t=S(B);null!==t&&a(_,t.startTime-e)}}function O(e,n){D=!1,L&&(L=!1,r()),E=!0;var i=T;try{for(U(n),k=S(F);null!==k&&(!(k.expirationTime>n)||e&&!s());){var l=k.callback;if(null!==l){k.callback=null,T=k.priorityLevel;var o=l(k.expirationTime<=n);n=t.unstable_now(),"function"==typeof o?k.callback=o:k===S(F)&&N(F),U(n)}else N(F);k=S(F)}if(null!==k)var d=!0;else{var c=S(B);null!==c&&a(_,c.startTime-n),d=!1}return d}finally{k=null,T=i,E=!1}}function M(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var R=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||E||(D=!0,i(O))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return S(F)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=R,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,n,s){var l=t.unstable_now();if("object"==typeof s&&null!==s){var o=s.delay;o="number"==typeof o&&0<o?l+o:l,s="number"==typeof s.timeout?s.timeout:M(e)}else s=M(e),o=l;return e={id:P++,callback:n,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>l?(e.sortIndex=o,C(B,e),null===S(F)&&e===S(B)&&(L?r():L=!0,a(_,o-l))):(e.sortIndex=s,C(F,e),D||E||(D=!0,i(O))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();U(e);var n=S(F);return n!==k&&null!==k&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<k.expirationTime||s()},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}
|
|||
|
|
/**
|
|||
|
|
* Video Tool for the Editor.js
|
|||
|
|
*
|
|||
|
|
* @author CodeX <team@codex.so>
|
|||
|
|
* @license MIT
|
|||
|
|
* @see {@link https://github.com/editor-js/video}
|
|||
|
|
*
|
|||
|
|
* To developers.
|
|||
|
|
* To simplify Tool structure, we split it to 4 parts:
|
|||
|
|
* 1) index.js — main Tool's interface, public API and methods for working with data
|
|||
|
|
* 2) uploader.js — module that has methods for sending files via AJAX: from device, by URL or File pasting
|
|||
|
|
* 3) ui.js — module for UI manipulations: render, showing preloader, etc
|
|||
|
|
* 4) tunes.js — working with Block Tunes: render buttons, handle clicks
|
|||
|
|
*
|
|||
|
|
* For debug purposes there is a testing server
|
|||
|
|
* that can save uploaded files and return a Response {@link UploadResponseFormat}
|
|||
|
|
*
|
|||
|
|
* $ node dev/server.js
|
|||
|
|
*
|
|||
|
|
* It will expose 8008 port, so you can pass http://localhost:8008 with the Tools config:
|
|||
|
|
*
|
|||
|
|
* video: {
|
|||
|
|
* class: VideoTool,
|
|||
|
|
* config: {
|
|||
|
|
* endpoints: {
|
|||
|
|
* byFile: 'http://localhost:8008/uploadFile',
|
|||
|
|
* byUrl: 'http://localhost:8008/fetchUrl',
|
|||
|
|
* }
|
|||
|
|
* },
|
|||
|
|
* },
|
|||
|
|
*/var _=function(){function e(t){var n=this,i=t.data,a=t.config,r=t.api,s=t.readOnly;o()(this,e),this.api=r,this.readOnly=s,this.config={endpoints:a.endpoints||"",additionalRequestData:a.additionalRequestData||{},additionalRequestHeaders:a.additionalRequestHeaders||{},field:a.field||"video",types:a.types||"video/*",captionPlaceholder:this.api.i18n.t(a.captionPlaceholder||"Caption"),buttonContent:a.buttonContent||"",uploader:a.uploader||void 0,actions:a.actions||[],player:{pip:a.player.pip||!1,controls:a.player.controls||!1,light:a.player.light||!1,playing:a.player.playing||!1}},this.uploader=new L({config:this.config,onUpload:function(e){return n.onUpload(e)},onError:function(e){return n.uploadingFailed(e)}}),this.ui=new x({api:r,config:this.config,onSelectFile:function(){n.uploader.uploadSelectedFile({onPreview:function(e){n.ui.showPreloader(e)}})},readOnly:s}),this.tunes=new F({api:r,actions:this.config.actions,onChange:function(e){return n.tuneToggled(e)}}),this._data={},this.data=i}var t;return c()(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:P.a,title:"Video"}}}]),c()(e,[{key:"render",value:function(){return this.ui.render(this.data)}},{key:"save",value:function(){var e=this.ui.nodes.caption;return this._data.caption=e.innerHTML,this.data}},{key:"renderSettings",value:function(){return this.tunes.render(this.data)}},{key:"appendCallback",value:function(){this.ui.nodes.fileButton.click()}},{key:"onPaste",value:(t=s()(a.a.mark((function e(t){var n,i,r,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.type,e.next="tag"===e.t0?3:"pattern"===e.t0?15:"file"===e.t0?18:21;break;case 3:if(n=t.detail.data,!/^blob:/.test(n.src)){e.next=13;break}return e.next=7,fetch(n.src);case 7:return i=e.sent,e.next=10,i.blob();case 10:return r=e.sent,this.uploadFile(r),e.abrupt("break",21);case 13:return this.uploadUrl(n.src),e.abrupt("break",21);case 15:return s=t.detail.data,this.uploadUrl(s),e.abrupt("break",21);case 18:return l=t.detail.file,this.uploadFile(l),e.abrupt("break",21);case 21:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"onUpload",value:function(e){e.success&&e.file?this.video=e.file:this.uploadingFailed("incorrect response: "+JSON.stringify(e))}},{key:"uploadingFailed",value:function(e){this.api.notifier.show({message:this.api.i18n.t("Couldn’t upload video. Please try another."),style:"error"}),this.ui.hidePreloader()}},{key:"tuneToggled",value:function(e){this.setTune(e,!this._data[e])}},{key:"setTune",value:function(e,t){var n=this;this._data[e]=t,this.ui.applyTune(e,t),"stretched"===e&&Promise.resolve().then((function(){var e=n.api.blocks.getCurrentBlockIndex();n.api.blocks.stretchBlock(e,t)})).catch((function(e){}))}},{key:"uploadFile",value:function(e){var t=this;this.uploader.uploadByFile(e,{onPreview:function(e){t.ui.showPreloader(e)}})}},{key:"uploadUrl",value:function(e){this.ui.showPreloader(e),this.uploader.uploadByUrl(e)}},{key:"data",set:function(e){var t=this;this.video=e.file,this._data.caption=e.caption||"",this.ui.fillCaption(this._data.caption),F.tunes.forEach((function(n){var i=n.name,a=void 0!==e[i]&&(!0===e[i]||"true"===e[i]);t.setTune(i,a)}))},get:function(){return this._data}},{key:"video",set:function(e){this._data.file=e||{},e&&e.url&&this.ui.fillVideo(e.url)}}],[{key:"pasteConfig",get:function(){return{tags:["video"],patterns:{video:/https?:\/\/\S+\.(mp4)$/i},files:{mimeTypes:["video/*"]}}}}]),e}()}]).default;const yte=c(gte.exports);class xte{constructor({data:e}={}){this.data=e||{},this.wrapper=null}static get toolbox(){return{title:"Callout",icon:'<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>'}}render(){const e=document.createElement("div");return e.innerHTML=`\n <div style="border-left:4px solid #f59e0b;background:#fff7ed;padding:10px;border-radius:6px">\n <div style="display:flex;gap:8px;align-items:center">\n
|
|||
|
|
/*!
|
|||
|
|
* GSAP 3.13.0
|
|||
|
|
* https://gsap.com
|
|||
|
|
*
|
|||
|
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|||
|
|
* Subject to the terms at https://gsap.com/standard-license
|
|||
|
|
* @author: Jack Doyle, jack@greensock.com
|
|||
|
|
*/var Ire,Fre,Bre,Pre,kre,Tre,Ere,Dre,Lre,Ure,_re,Ore,Mre,Rre,Qre,Hre,Vre,zre,qre,Wre,Yre,Kre,Gre,$re,Xre,Jre,Zre,ese,tse,nse,ise,ase,rse={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},sse={duration:.5,overwrite:!1,delay:0},lse=1e8,ose=1e-8,dse=2*Math.PI,cse=dse/4,use=0,pse=Math.sqrt,Ase=Math.cos,hse=Math.sin,fse=function(e){return"string"==typeof e},mse=function(e){return"function"==typeof e},vse=function(e){return"number"==typeof e},gse=function(e){return void 0===e},yse=function(e){return"object"==typeof e},xse=function(e){return!1!==e},bse=function(){return"undefined"!=typeof window},wse=function(e){return mse(e)||fse(e)},jse="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Cse=Array.isArray,Sse=/(?:-?\.?\d|\.)+/gi,Nse=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ise=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fse=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Bse=/[+-]=-?[.\d]+/,Pse=/[^,'"\[\]\s]+/gi,kse=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Tse={},Ese={},Dse=function(e){return(Ese=dle(e,Tse))&&dde},Lse=function(e,t){return!t&&void 0},Use=function(e,t){return e&&(Tse[e]=t)&&Ese&&(Ese[e]=t)||Tse},_se=function(){return 0},Ose={suppressEvents:!0,isStart:!0,kill:!1},Mse={suppressEvents:!0,kill:!1},Rse={suppressEvents:!0},Qse={},Hse=[],Vse={},zse={},qse={},Wse=30,Yse=[],Kse="",Gse=function(e){var t,n,i=e[0];if(yse(i)||mse(i)||(e=[e]),!(t=(i._gsap||{}).harness)){for(n=Yse.length;n--&&!Yse[n].targetTest(i););t=Yse[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new joe(e[n],t)))||e.splice(n,1);return e},$se=function(e){return e._gsap||Gse(Rle(e))[0]._gsap},Xse=function(e,t,n){return(n=e[t])&&mse(n)?e[t]():gse(n)&&e.getAttribute&&e.getAttribute(t)||n},Jse=function(e,t){return(e=e.split(",")).forEach(t)||e},Zse=function(e){return Math.round(1e5*e)/1e5||0},ele=function(e){return Math.round(1e7*e)/1e7||0},tle=function(e,t){var n=t.charAt(0),i=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+i:"-"===n?e-i:"*"===n?e*i:e/i},nle=function(e,t){for(var n=t.length,i=0;e.indexOf(t[i])<0&&++i<n;);return i<n},ile=function(){var e,t,n=Hse.length,i=Hse.slice(0);for(Vse={},Hse.length=0,e=0;e<n;e++)(t=i[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},ale=function(e){return!!(e._initted||e._startAt||e.add)},rle=function(e,t,n,i){Hse.length&&!Fre&&ile(),e.render(t,n,i||!!(Fre&&t<0&&ale(e))),Hse.length&&!Fre&&ile()},sle=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(Pse).length<2?t:fse(e)?e.trim():e},lle=function(e){return e},ole=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},dle=function(e,t){for(var n in t)e[n]=t[n];return e},cle=function e(t,n){for(var i in n)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(t[i]=yse(n[i])?e(t[i]||(t[i]={}),n[i]):n[i]);return t},ule=function(e,t){var n,i={};for(n in e)n in t||(i[n]=e[n]);return i},ple=function(e){var t,n=e.parent||Pre,i=e.keyframes?(t=Cse(e.keyframes),function(e,n){for(var i in n)i in e||"duration"===i&&t||"ease"===i||(e[i]=n[i])}):ole;if(xse(e.inherit))for(;n;)i(e,n.vars.defaults),n=n.parent||n._dp;return e},Ale=function(e,t,n,i,a){void 0===n&&(n="_first"),void 0===i&&(i="_last");var r,s=e[i];if(a)for(r=t[a];s&&s[a]>r;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[i]=t,t._prev=s,t.parent=t._dp=e,t},hle=function(e,t,n,i){void 0===n&&(n="_first"),void 0===i&&(i="_last");var a=t._prev,r=t._next;a?a._next=r:e[n]===t&&(e[n]=r),r?r._prev=a:e[i]===t&&(e[i]=a),t._next=t._prev=t.parent=null},fle=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},mle=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},vle=function(e,t,n,i){return e._startAt&&(Fre?e._startAt.revert(Mse):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,i))},gle=function e(t){return!t||t._ts&&e(t.parent)},yle=function(e){return e._repeat?xle(e._tTime,e=e.duration()+e._rDelay)*e:0},xle=function(e,t){var n=Math.floor(e=ele(e/t));return e&&n===e?n-1:n},ble=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._d
|
|||
|
|
/*!
|
|||
|
|
* CSSPlugin 3.13.0
|
|||
|
|
* https://gsap.com
|
|||
|
|
*
|
|||
|
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|||
|
|
* Subject to the terms at https://gsap.com/standard-license
|
|||
|
|
* @author: Jack Doyle, jack@greensock.com
|
|||
|
|
*/
|
|||
|
|
var cde,ude,pde,Ade,hde,fde,mde,vde,gde={},yde=180/Math.PI,xde=Math.PI/180,bde=Math.atan2,wde=/([A-Z])/g,jde=/(left|right|width|margin|padding|x)/i,Cde=/[\s,\(]\S/,Sde={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Nde=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Ide=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},Fde=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},Bde=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},Pde=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},kde=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},Tde=function(e,t,n){return e.style[t]=n},Ede=function(e,t,n){return e.style.setProperty(t,n)},Dde=function(e,t,n){return e._gsap[t]=n},Lde=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},Ude=function(e,t,n,i,a){var r=e._gsap;r.scaleX=r.scaleY=n,r.renderTransform(a,r)},_de=function(e,t,n,i,a){var r=e._gsap;r[t]=n,r.renderTransform(a,r)},Ode="transform",Mde=Ode+"Origin",Rde=function e(t,n){var i=this,a=this.target,r=a.style,s=a._gsap;if(t in gde&&r){if(this.tfm=this.tfm||{},"transform"===t)return Sde.transform.split(",").forEach((function(t){return e.call(i,t,n)}));if(~(t=Sde[t]||t).indexOf(",")?t.split(",").forEach((function(e){return i.tfm[e]=ace(a,e)})):this.tfm[t]=s.x?s[t]:ace(a,t),t===Mde&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(Ode)>=0)return;s.svg&&(this.svgo=a.getAttribute("data-svg-origin"),this.props.push(Mde,n,"")),t=Ode}(r||n)&&this.props.push(t,n,r[t])},Qde=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Hde=function(){var e,t,n=this.props,i=this.target,a=i.style,r=i._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?i[n[e]](n[e+2]):i[n[e]]=n[e+2]:n[e+2]?a[n[e]]=n[e+2]:a.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(wde,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)r[t]=this.tfm[t];r.svg&&(r.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(e=mde())&&e.isStart||a[Ode]||(Qde(a),r.zOrigin&&a[Mde]&&(a[Mde]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Vde=function(e,t){var n={target:e,props:[],revert:Hde,save:Rde};return e._gsap||dde.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach((function(e){return n.save(e)})),n},zde=function(e,t){var n=ude.createElementNS?ude.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):ude.createElement(e);return n&&n.style?n:ude.createElement(e)},qde=function e(t,n,i){var a=getComputedStyle(t);return a[n]||a.getPropertyValue(n.replace(wde,"-$1").toLowerCase())||a.getPropertyValue(n)||!i&&e(t,Yde(n)||n,1)||""},Wde="O,Moz,ms,Ms,Webkit".split(","),Yde=function(e,t,n){var i=(t||hde).style,a=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(Wde[a]+e in i););return a<0?null:(3===a?"ms":a>=0?Wde[a]:"")+e},Kde=function(){"undefined"!=typeof window&&window.document&&(cde=window,ude=cde.document,pde=ude.documentElement,hde=zde("div")||{style:{}},zde("div"),Ode=Yde(Ode),Mde=Ode+"Origin",hde.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vde=!!Yde("perspective"),mde=dde.core.reverting,Ade=1)},Gde=function(e){var t,n=e.ownerSVGElement,i=zde("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),a=e.cloneNode(!0);a.style.display="block",i.appendChild(a),pde.appendChild(i);try{t=a.getBBox()}catch(Ou){}return i.removeChild(a),pde.removeChild(i),t},$de=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Xde=function(e){var t,n;try{t=e.getBBox()}catch(i){t=Gde(e),n=1}return t&&(t.width||t.height)||n||(t=Gde(e)),!t||t.width||t.x||t.y?t:{x:+$de(e,["x","cx","x1"])||0,y:+$de(e,["y","cy","y1"])||0,width:0,height:0}},Jde=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Xde(e))},Zde=function(e,t){if(t){var n,i=e.style;t in gde&&t!==Mde&&(t=Ode),i.removeProperty?("ms"!==(n=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),i.removeProperty("--"===n?t:t.rep
|
|||
|
|
/*!
|
|||
|
|
* Observer 3.13.0
|
|||
|
|
* https://gsap.com
|
|||
|
|
*
|
|||
|
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|||
|
|
* Subject to the terms at https://gsap.com/standard-license
|
|||
|
|
* @author: Jack Doyle, jack@greensock.com
|
|||
|
|
*/
|
|||
|
|
var Ece,Dce,Lce,Uce,_ce,Oce,Mce,Rce,Qce,Hce,Vce,zce,qce,Wce=function(){return Ece||"undefined"!=typeof window&&(Ece=window.gsap)&&Ece.registerPlugin&&Ece},Yce=1,Kce=[],Gce=[],$ce=[],Xce=Date.now,Jce=function(e,t){return t},Zce=function(e,t){return~$ce.indexOf(e)&&$ce[$ce.indexOf(e)+1][t]},eue=function(e){return!!~Hce.indexOf(e)},tue=function(e,t,n,i,a){return e.addEventListener(t,n,{passive:!1!==i,capture:!!a})},nue=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},iue="scrollLeft",aue="scrollTop",rue=function(){return Vce&&Vce.isPressed||Gce.cache++},sue=function(e,t){var n=function n(i){if(i||0===i){Yce&&(Lce.history.scrollRestoration="manual");var a=Vce&&Vce.isPressed;i=n.v=Math.round(i)||(Vce&&Vce.iOS?1:0),e(i),n.cacheID=Gce.cache,a&&Jce("ss",i)}else(t||Gce.cache!==n.cacheID||Jce("ref"))&&(n.cacheID=Gce.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},lue={s:iue,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:sue((function(e){return arguments.length?Lce.scrollTo(e,oue.sc()):Lce.pageXOffset||Uce[iue]||_ce[iue]||Oce[iue]||0}))},oue={s:aue,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:lue,sc:sue((function(e){return arguments.length?Lce.scrollTo(lue.sc(),e):Lce.pageYOffset||Uce[aue]||_ce[aue]||Oce[aue]||0}))},due=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ece.utils.toArray)(e)[0]||("string"==typeof e&&!1!==Ece.config().nullTargetWarn?void 0:null)},cue=function(e,t){var n=t.s,i=t.sc;eue(e)&&(e=Uce.scrollingElement||_ce);var a=Gce.indexOf(e),r=i===oue.sc?1:2;!~a&&(a=Gce.push(e)-1),Gce[a+r]||tue(e,"scroll",rue);var s=Gce[a+r],l=s||(Gce[a+r]=sue(Zce(e,n),!0)||(eue(e)?i:sue((function(t){return arguments.length?e[n]=t:e[n]}))));return l.target=e,s||(l.smooth="smooth"===Ece.getProperty(e,"scrollBehavior")),l},uue=function(e,t,n){var i=e,a=e,r=Xce(),s=r,l=t||50,o=Math.max(500,3*l),d=function(e,t){var o=Xce();t||o-r>l?(a=i,i=e,s=r,r=o):n?i+=e:i=a+(e-a)/(o-s)*(r-s)};return{update:d,reset:function(){a=i=n?0:i,s=r=0},getVelocity:function(e){var t=s,l=a,c=Xce();return(e||0===e)&&e!==i&&d(e),r===s||c-s>o?0:(i+(n?l:-l))/((n?c:r)-t)*1e3}}},pue=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Aue=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},hue=function(){var e,t,n,i;(Qce=Ece.core.globals().ScrollTrigger)&&Qce.core&&(e=Qce.core,t=e.bridge||{},n=e._scrollers,i=e._proxies,n.push.apply(n,Gce),i.push.apply(i,$ce),Gce=n,$ce=i,Jce=function(e,n){return t[e](n)})},fue=function(e){return Ece=e||Wce(),!Dce&&Ece&&"undefined"!=typeof document&&document.body&&(Lce=window,Uce=document,_ce=Uce.documentElement,Oce=Uce.body,Hce=[Lce,Uce,_ce,Oce],Ece.utils.clamp,qce=Ece.core.context||function(){},Rce="onpointerenter"in Oce?"pointer":"mouse",Mce=mue.isTouch=Lce.matchMedia&&Lce.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Lce||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,zce=mue.eventTypes=("ontouchstart"in _ce?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _ce?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Yce=0}),500),hue(),Dce=1),Dce};lue.op=oue,Gce.cache=0;var mue=function(){function e(e){this.init(e)}var t,n,i;return e.prototype.init=function(e){Dce||fue(Ece),Qce||hue();var t=e.tolerance,n=e.dragMinimum,i=e.type,a=e.target,r=e.lineHeight,s=e.debounce,l=e.preventDefault,o=e.onStop,d=e.onStopDelay,c=e.ignore,u=e.wheelSpeed,p=e.event,A=e.onDragStart,h=e.onDragEnd,f=e.onDrag,m=e.onPress,v=e.onRelease,g=e.onRight,y=e.onLeft,x=e.onUp,b=e.onDown,w=e.onChangeX,j=e.onChangeY,C=e.onChange,S=e.onToggleX,N=e.onToggleY,I=e.onHover,F=e.onHoverEnd,B=e.onMove,P=e.ignoreCheck,k=e.isNormalizer,T=e.onGestureStart,E=e.onGestureEnd,D=e.onWheel,L=e.onEnable,U=e.onDisable,_=e.onClick,O=e.scrollSpeed,M=e.capture,R=e.allowClicks,Q=e.lockAxis,H=e.onLockAxis;this.target=a=due(a)||_ce,this.vars=e,c&&(c=Ece.utils.toArray(c)),t=t||1e-9,n=n||0,u=u||1,O=O||1,i=i|
|
|||
|
|
/*!
|
|||
|
|
* ScrollTrigger 3.13.0
|
|||
|
|
* https://gsap.com
|
|||
|
|
*
|
|||
|
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|||
|
|
* Subject to the terms at https://gsap.com/standard-license
|
|||
|
|
* @author: Jack Doyle, jack@greensock.com
|
|||
|
|
*/
|
|||
|
|
var vue,gue,yue,xue,bue,wue,jue,Cue,Sue,Nue,Iue,Fue,Bue,Pue,kue,Tue,Eue,Due,Lue,Uue,_ue,Oue,Mue,Rue,Que,Hue,Vue,zue,que,Wue,Yue,Kue,Gue,$ue,Xue,Jue,Zue,epe,tpe=1,npe=Date.now,ipe=npe(),ape=0,rpe=0,spe=function(e,t,n){var i=xpe(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return n["_"+t+"Clamp"]=i,i?e.substr(6,e.length-7):e},lpe=function(e,t){return!t||xpe(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},ope=function e(){return rpe&&requestAnimationFrame(e)},dpe=function(){return Pue=1},cpe=function(){return Pue=0},upe=function(e){return e},ppe=function(e){return Math.round(1e5*e)/1e5||0},Ape=function(){return"undefined"!=typeof window},hpe=function(){return vue||Ape()&&(vue=window.gsap)&&vue.registerPlugin&&vue},fpe=function(e){return!!~jue.indexOf(e)},mpe=function(e){return("Height"===e?Yue:yue["inner"+e])||bue["client"+e]||wue["client"+e]},vpe=function(e){return Zce(e,"getBoundingClientRect")||(fpe(e)?function(){return PAe.width=yue.innerWidth,PAe.height=Yue,PAe}:function(){return Vpe(e)})},gpe=function(e,t){var n=t.s,i=t.d2,a=t.d,r=t.a;return Math.max(0,(n="scroll"+i)&&(r=Zce(e,n))?r()-vpe(e)()[a]:fpe(e)?(bue[n]||wue[n])-mpe(i):e[n]-e["offset"+i])},ype=function(e,t){for(var n=0;n<Lue.length;n+=3)(!t||~t.indexOf(Lue[n+1]))&&e(Lue[n],Lue[n+1],Lue[n+2])},xpe=function(e){return"string"==typeof e},bpe=function(e){return"function"==typeof e},wpe=function(e){return"number"==typeof e},jpe=function(e){return"object"==typeof e},Cpe=function(e,t,n){return e&&e.progress(t?0:1)&&n&&e.pause()},Spe=function(e,t){if(e.enabled){var n=e._ctx?e._ctx.add((function(){return t(e)})):t(e);n&&n.totalTime&&(e.callbackAnimation=n)}},Npe=Math.abs,Ipe="left",Fpe="right",Bpe="bottom",Ppe="width",kpe="height",Tpe="Right",Epe="Left",Dpe="Top",Lpe="Bottom",Upe="padding",_pe="margin",Ope="Width",Mpe="Height",Rpe="px",Qpe=function(e){return yue.getComputedStyle(e)},Hpe=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Vpe=function(e,t){var n=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Qpe(e)[kue]&&vue.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=e.getBoundingClientRect();return n&&n.progress(0).kill(),i},zpe=function(e,t){var n=t.d2;return e["offset"+n]||e["client"+n]||0},qpe=function(e){var t,n=[],i=e.labels,a=e.duration();for(t in i)n.push(i[t]/a);return n},Wpe=function(e){var t=vue.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return n?function(e,i,a){var r;if(void 0===a&&(a=.001),!i)return t(e);if(i>0){for(e-=a,r=0;r<n.length;r++)if(n[r]>=e)return n[r];return n[r-1]}for(r=n.length,e+=a;r--;)if(n[r]<=e)return n[r];return n[0]}:function(n,i,a){void 0===a&&(a=.001);var r=t(n);return!i||Math.abs(r-n)<a||r-n<0==i<0?r:t(i<0?n-e:n+e)}},Ype=function(e,t,n,i){return n.split(",").forEach((function(n){return e(t,n,i)}))},Kpe=function(e,t,n,i,a){return e.addEventListener(t,n,{passive:!i,capture:!!a})},Gpe=function(e,t,n,i){return e.removeEventListener(t,n,!!i)},$pe=function(e,t,n){(n=n&&n.wheelHandler)&&(e(t,"wheel",n),e(t,"touchmove",n))},Xpe={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},Jpe={toggleActions:"play",anticipatePin:0},Zpe={top:0,left:0,center:.5,bottom:1,right:1},eAe=function(e,t){if(xpe(e)){var n=e.indexOf("="),i=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf("%")>n&&(i*=t/100),e=e.substr(0,n-1)),e=i+(e in Zpe?Zpe[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},tAe=function(e,t,n,i,a,r,s,l){var o=a.startColor,d=a.endColor,c=a.fontSize,u=a.indent,p=a.fontWeight,A=xue.createElement("div"),h=fpe(n)||"fixed"===Zce(n,"pinType"),f=-1!==e.indexOf("scroller"),m=h?wue:n,v=-1!==e.indexOf("start"),g=v?o:d,y="border-color:"+g+";font-size:"+c+";color:"+g+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((f||l)&&h?"fixed;":"absolute;"),(f||l||!h)&&(y+=(i===oue?Fpe:Bpe)+":"+(r+parseFloat(u))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidt
|
|||
|
|
/*!
|
|||
|
|
* SplitText 3.13.0
|
|||
|
|
* https://gsap.com
|
|||
|
|
*
|
|||
|
|
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
|||
|
|
* @author: Jack Doyle
|
|||
|
|
*/
|
|||
|
|
let JAe,ZAe,ehe,the="undefined"!=typeof Intl?new Intl.Segmenter:0,nhe=e=>"string"==typeof e?nhe(document.querySelectorAll(e)):"length"in e?Array.from(e):[e],ihe=e=>nhe(e).filter((e=>e instanceof HTMLElement)),ahe=[],rhe=function(){},she=/\s+/g,lhe=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),ohe={left:0,top:0,width:0,height:0},dhe=(e,t)=>{if(t){let n,i,a,r,s=new Set(e.join("").match(t)||ahe),l=e.length;if(s.size)for(;--l>-1;)for(a of(i=e[l],s))if(a.startsWith(i)&&a.length>i.length){for(n=0,r=i;a.startsWith(r+=e[l+ ++n])&&r.length<a.length;);if(n&&r.length===a.length){e[l]=a,e.splice(l+1,n);break}}}return e},che=e=>"inline"===window.getComputedStyle(e).display&&(e.style.display="inline-block"),uhe=(e,t,n)=>t.insertBefore("string"==typeof e?document.createTextNode(e):e,n),phe=(e,t,n)=>{let i=t[e+"sClass"]||"",{tag:a="div",aria:r="auto",propIndex:s=!1}=t,l="line"===e?"block":"inline-block",o=i.indexOf("++")>-1,d=t=>{let d=document.createElement(a),c=n.length+1;return i&&(d.className=i+(o?" "+i+c:"")),s&&d.style.setProperty("--"+e,c+""),"none"!==r&&d.setAttribute("aria-hidden","true"),"span"!==a&&(d.style.position="relative",d.style.display=l),d.textContent=t,n.push(d),d};return o&&(i=i.replace("++","")),d.collection=n,d},Ahe=(e,t,n,i,a,r,s,l,o,d)=>{var c;let u,p,A,h,f,m,v,g,y,x,b,w,j,C,S,N,I,F,B=Array.from(e.childNodes),P=0,{wordDelimiter:k,reduceWhiteSpace:T=!0,prepareText:E}=t,D=e.getBoundingClientRect(),L=D,U=!T&&"pre"===window.getComputedStyle(e).whiteSpace.substring(0,3),_=0,O=n.collection;for("object"==typeof k?(A=k.delimiter||k,p=k.replaceWith||""):p=""===k?"":k||" ",u=" "!==p;P<B.length;P++)if(h=B[P],3===h.nodeType){for(S=h.textContent||"",T?S=S.replace(she," "):U&&(S=S.replace(/\n/g,p+"\n")),E&&(S=E(S,e)),h.textContent=S,f=p||A?S.split(A||p):S.match(l)||ahe,I=f[f.length-1],g=u?" "===I.slice(-1):!I,I||f.pop(),L=D,v=u?" "===f[0].charAt(0):!f[0],v&&uhe(" ",e,h),f[0]||f.shift(),dhe(f,o),r&&d||(h.textContent=""),y=1;y<=f.length;y++)if(N=f[y-1],!T&&U&&"\n"===N.charAt(0)&&(null==(c=h.previousSibling)||c.remove(),uhe(document.createElement("br"),e,h),N=N.slice(1)),T||""!==N)if(" "===N)e.insertBefore(document.createTextNode(" "),h);else{if(u&&" "===N.charAt(0)&&uhe(" ",e,h),_&&1===y&&!v&&O.indexOf(_.parentNode)>-1?(m=O[O.length-1],m.appendChild(document.createTextNode(i?"":N))):(m=n(i?"":N),uhe(m,e,h),_&&1===y&&!v&&m.insertBefore(_,m.firstChild)),i)for(b=the?dhe([...the.segment(N)].map((e=>e.segment)),o):N.match(l)||ahe,F=0;F<b.length;F++)m.appendChild(" "===b[F]?document.createTextNode(" "):i(b[F]));if(r&&d){if(S=h.textContent=S.substring(N.length+1,S.length),x=m.getBoundingClientRect(),x.top>L.top&&x.left<=L.left){for(w=e.cloneNode(),j=e.childNodes[0];j&&j!==m;)C=j,j=j.nextSibling,w.appendChild(C);e.parentNode.insertBefore(w,e),a&&che(w)}L=x}(y<f.length||g)&&uhe(y>=f.length?" ":u&&" "===N.slice(-1)?" "+p:p,e,h)}else uhe(p,e,h);e.removeChild(h),_=0}else 1===h.nodeType&&(s&&s.indexOf(h)>-1?(O.indexOf(h.previousSibling)>-1&&O[O.length-1].appendChild(h),_=h):(Ahe(h,t,n,i,a,r,s,l,o,!0),_=0),a&&che(h))};const hhe=class e{constructor(e,t){this.isSplit=!1,ehe||fhe.register(window.gsap),this.elements=ihe(e),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=t,this._split=()=>this.isSplit&&this.split(this.vars);let n,i=[],a=()=>{let e,t=i.length;for(;t--;){e=i[t];let n=e.element.offsetWidth;if(n!==e.width)return e.width=n,void this._split()}};this._data={orig:i,obs:"undefined"!=typeof ResizeObserver&&new ResizeObserver((()=>{clearTimeout(n),n=setTimeout(a,200)}))},rhe(this),this.split(t)}split(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars||{};let t,{type:n="chars,words,lines",aria:i="auto",deepSlice:a=!0,smartWrap:r,onSplit:s,autoSplit:l=!1,specialChars:o,mask:d}=this.vars,c=n.indexOf("lines")>-1,u=n.indexOf("chars")>-1,p=n.indexOf("words")>-1,A=u&&!p&&!c,h=o&&("push"in o?new RegExp("(?:"+o.join("|")+")","gu"):o),f=h?new RegExp(h.source+"|"+lhe.source
|