/** @license * * jsPDF - PDF Document creation from JavaScript * Version 2.5.2 Built on 2024-09-17T13:29:57.860Z * CommitID 00000000 * * Copyright (c) 2010-2021 James Hall , https://github.com/MrRio/jsPDF * 2015-2021 yWorks GmbH, http://www.yworks.com * 2015-2021 Lukas Holländer , https://github.com/HackbrettXXX * 2016-2018 Aras Abbasi * 2010 Aaron Spike, https://github.com/acspike * 2012 Willow Systems Corporation, https://github.com/willowsystems * 2012 Pablo Hess, https://github.com/pablohess * 2012 Florian Jenett, https://github.com/fjenett * 2013 Warren Weckesser, https://github.com/warrenweckesser * 2013 Youssef Beddad, https://github.com/lifof * 2013 Lee Driscoll, https://github.com/lsdriscoll * 2013 Stefan Slonevskiy, https://github.com/stefslon * 2013 Jeremy Morel, https://github.com/jmorel * 2013 Christoph Hartmann, https://github.com/chris-rock * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria * 2014 James Makes, https://github.com/dollaruw * 2014 Diego Casorran, https://github.com/diegocr * 2014 Steven Spungin, https://github.com/Flamenco * 2014 Kenneth Glassey, https://github.com/Gavvers * * 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. * * Contributor(s): * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango, * kim3er, mfo, alnorth, Flamenco */ /** * Copyright (c) 2014-2023 Denis Pushkarev * * 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(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,r){return t(r={exports:{}},r.exports),r.exports}var e,n,o=function(t){return t&&t.Math===Math&&t},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||function(){return this}()||t||Function("return this")(),a=function(t){try{return!!t()}catch(t){return!0}},u=!a((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),f=Function.prototype.call,s=c?f.bind(f):function(){return f.apply(f,arguments)},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y={f:p&&!l.call({1:2},1)?function(t){var r=p(this,t);return!!r&&r.enumerable}:l},h=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},d=Function.prototype,v=d.call,g=c&&d.bind.bind(v,v),b=c?g:function(t){return function(){return v.apply(t,arguments)}},w=b({}.toString),m=b("".slice),A=function(t){return m(w(t),8,-1)},T=Object,E=b("".split),O=a((function(){return!T("z").propertyIsEnumerable(0)}))?function(t){return"String"===A(t)?E(t,""):T(t)}:T,S=function(t){return null==t},j=TypeError,R=function(t){if(S(t))throw new j("Can't call method on "+t);return t},M=function(t){return O(R(t))},x="object"==typeof document&&document.all,I={all:x,IS_HTMLDDA:void 0===x&&void 0!==x},P=I.all,L=I.IS_HTMLDDA?function(t){return"function"==typeof t||t===P}:function(t){return"function"==typeof t},C=I.all,_=I.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:L(t)||t===C}:function(t){return"object"==typeof t?null!==t:L(t)},B=function(t){return L(t)?t:void 0},F=function(t,r){return arguments.length<2?B(i[t]):i[t]&&i[t][r]},U=b({}.isPrototypeOf),D="undefined"!=typeof navigator&&String(navigator.userAgent)||"",N=i.process,k=i.Deno,W=N&&N.versions||k&&k.version,V=W&&W.v8;V&&(n=(e=V.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!n&&D&&(!(e=D.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=D.match(/Chrome\/(\d+)/))&&(n=+e[1]);var Y=n,G=i.String,z=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol("symbol detection");return!G(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Y&&Y<41})),q=z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,H=Object,X=q?function(t){return"symbol"==typeof t}:function(t){var r=F("Symbol");return L(r)&&U(r.prototype,H(t))},K=String,J=function(t){try{return K(t)}catch(t){return"Object"}},$=TypeError,Q=function(t){if(L(t))return t;throw new $(J(t)+" is not a function")},Z=function(t,r){var e=t[r];return S(e)?void 0:Q(e)},tt=TypeError,rt=Object.defineProperty,et=function(t,r){try{rt(i,t,{value:r,configurable:!0,writable:!0})}catch(e){i[t]=r}return r},nt=i["__core-js_shared__"]||et("__core-js_shared__",{}),ot=r((function(t){(t.exports=function(t,r){return nt[t]||(nt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.33.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),it=Object,at=function(t){return it(R(t))},ut=b({}.hasOwnProperty),ct=Object.hasOwn||function(t,r){return ut(at(t),r)},ft=0,st=Math.random(),lt=b(1..toString),pt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+lt(++ft+st,36)},yt=i.Symbol,ht=ot("wks"),dt=q?yt.for||yt:yt&&yt.withoutSetter||pt,vt=function(t){return ct(ht,t)||(ht[t]=z&&ct(yt,t)?yt[t]:dt("Symbol."+t)),ht[t]},gt=TypeError,bt=vt("toPrimitive"),wt=function(t,r){if(!_(t)||X(t))return t;var e,n=Z(t,bt);if(n){if(void 0===r&&(r="default"),e=s(n,t,r),!_(e)||X(e))return e;throw new gt("Can't convert object to primitive value")}return void 0===r&&(r="number"),function(t,r){var e,n;if("string"===r&&L(e=t.toString)&&!_(n=s(e,t)))return n;if(L(e=t.valueOf)&&!_(n=s(e,t)))return n;if("string"!==r&&L(e=t.toString)&&!_(n=s(e,t)))return n;throw new tt("Can't convert object to primitive value")}(t,r)},mt=function(t){var r=wt(t,"string");return X(r)?r:r+""},At=i.document,Tt=_(At)&&_(At.createElement),Et=function(t){return Tt?At.createElement(t):{}},Ot=!u&&!a((function(){return 7!==Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a})),St=Object.getOwnPropertyDescriptor,jt={f:u?St:function(t,r){if(t=M(t),r=mt(r),Ot)try{return St(t,r)}catch(t){}if(ct(t,r))return h(!s(y.f,t,r),t[r])}},Rt=u&&a((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=String,xt=TypeError,It=function(t){if(_(t))return t;throw new xt(Mt(t)+" is not an object")},Pt=TypeError,Lt=Object.defineProperty,Ct=Object.getOwnPropertyDescriptor,_t={f:u?Rt?function(t,r,e){if(It(t),r=mt(r),It(e),"function"==typeof t&&"prototype"===r&&"value"in e&&"writable"in e&&!e.writable){var n=Ct(t,r);n&&n.writable&&(t[r]=e.value,e={configurable:"configurable"in e?e.configurable:n.configurable,enumerable:"enumerable"in e?e.enumerable:n.enumerable,writable:!1})}return Lt(t,r,e)}:Lt:function(t,r,e){if(It(t),r=mt(r),It(e),Ot)try{return Lt(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Pt("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},Bt=u?function(t,r,e){return _t.f(t,r,h(1,e))}:function(t,r,e){return t[r]=e,t},Ft=Function.prototype,Ut=u&&Object.getOwnPropertyDescriptor,Dt=ct(Ft,"name"),Nt={EXISTS:Dt,PROPER:Dt&&"something"===function(){}.name,CONFIGURABLE:Dt&&(!u||u&&Ut(Ft,"name").configurable)},kt=b(Function.toString);L(nt.inspectSource)||(nt.inspectSource=function(t){return kt(t)});var Wt,Vt,Yt,Gt=nt.inspectSource,zt=i.WeakMap,qt=L(zt)&&/native code/.test(String(zt)),Ht=ot("keys"),Xt=function(t){return Ht[t]||(Ht[t]=pt(t))},Kt={},Jt=i.TypeError,$t=i.WeakMap;if(qt||nt.state){var Qt=nt.state||(nt.state=new $t);Qt.get=Qt.get,Qt.has=Qt.has,Qt.set=Qt.set,Wt=function(t,r){if(Qt.has(t))throw new Jt("Object already initialized");return r.facade=t,Qt.set(t,r),r},Vt=function(t){return Qt.get(t)||{}},Yt=function(t){return Qt.has(t)}}else{var Zt=Xt("state");Kt[Zt]=!0,Wt=function(t,r){if(ct(t,Zt))throw new Jt("Object already initialized");return r.facade=t,Bt(t,Zt,r),r},Vt=function(t){return ct(t,Zt)?t[Zt]:{}},Yt=function(t){return ct(t,Zt)}}var tr,rr={set:Wt,get:Vt,has:Yt,enforce:function(t){return Yt(t)?Vt(t):Wt(t,{})},getterFor:function(t){return function(r){var e;if(!_(r)||(e=Vt(r)).type!==t)throw new Jt("Incompatible receiver, "+t+" required");return e}}},er=r((function(t){var r=Nt.CONFIGURABLE,e=rr.enforce,n=rr.get,o=String,i=Object.defineProperty,c=b("".slice),f=b("".replace),s=b([].join),l=u&&!a((function(){return 8!==i((function(){}),"length",{value:8}).length})),p=String(String).split("String"),y=t.exports=function(t,n,a){"Symbol("===c(o(n),0,7)&&(n="["+f(o(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(n="get "+n),a&&a.setter&&(n="set "+n),(!ct(t,"name")||r&&t.name!==n)&&(u?i(t,"name",{value:n,configurable:!0}):t.name=n),l&&a&&ct(a,"arity")&&t.length!==a.arity&&i(t,"length",{value:a.arity});try{a&&ct(a,"constructor")&&a.constructor?u&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var y=e(t);return ct(y,"source")||(y.source=s(p,"string"==typeof n?n:"")),t};Function.prototype.toString=y((function(){return L(this)&&n(this).source||Gt(this)}),"toString")})),nr=function(t,r,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:r;if(L(e)&&er(e,i,n),n.global)o?t[r]=e:et(r,e);else{try{n.unsafe?t[r]&&(o=!0):delete t[r]}catch(t){}o?t[r]=e:_t.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},or=Math.ceil,ir=Math.floor,ar=Math.trunc||function(t){var r=+t;return(r>0?ir:or)(r)},ur=function(t){var r=+t;return r!=r||0===r?0:ar(r)},cr=Math.max,fr=Math.min,sr=function(t,r){var e=ur(t);return e<0?cr(e+r,0):fr(e,r)},lr=Math.min,pr=function(t){return t>0?lr(ur(t),9007199254740991):0},yr=function(t){return pr(t.length)},hr=function(t){return function(r,e,n){var o,i=M(r),a=yr(i),u=sr(n,a);if(t&&e!=e){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},dr={includes:hr(!0),indexOf:hr(!1)},vr=dr.indexOf,gr=b([].push),br=function(t,r){var e,n=M(t),o=0,i=[];for(e in n)!ct(Kt,e)&&ct(n,e)&&gr(i,e);for(;r.length>o;)ct(n,e=r[o++])&&(~vr(i,e)||gr(i,e));return i},wr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mr=wr.concat("length","prototype"),Ar={f:Object.getOwnPropertyNames||function(t){return br(t,mr)}},Tr={f:Object.getOwnPropertySymbols},Er=b([].concat),Or=F("Reflect","ownKeys")||function(t){var r=Ar.f(It(t)),e=Tr.f;return e?Er(r,e(t)):r},Sr=function(t,r,e){for(var n=Or(r),o=_t.f,i=jt.f,a=0;aa;)_t.f(t,e=o[a++],n[e]);return t}},zr=F("document","documentElement"),qr=Xt("IE_PROTO"),Hr=function(){},Xr=function(t){return"