1/** 2* @vue/shared v3.5.32 3* (c) 2018-present Yuxi (Evan) You and Vue contributors 4* @license MIT 5**/ 6// @__NO_SIDE_EFFECTS__ 7function _o(t) { 8 const e = /* @__PURE__ */ Object.create(null); 9 for (const r of t.split(",")) 10 e[r] = 1; 11 return (r) => r in e; 12} 13const Gt = {}.NODE_ENV !== "production" ? Object.freeze({}) : {}, Is = {}.NODE_ENV !== "production" ? Object.freeze([]) : [], Or = () => { 14}, m1 = () => !1, Hu = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter 15(t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), _u = (t) => t.startsWith("onUpdate:"), rr = Object.assign, kv = (t, e) => { 16 const r = t.indexOf(e); 17 r > -1 && t.splice(r, 1); 18}, eT = Object.prototype.hasOwnProperty, Ft = (t, e) => eT.call(t, e), Xe = Array.isArray, Da = (t) => zu(t) === "[object Map]", dd = (t) => zu(t) === "[object Set]", Ig = (t) => zu(t) === "[object Date]", it = (t) => typeof t == "function", nr = (t) => typeof t == "string", Qn = (t) => typeof t == "symbol", Dt = (t) => t !== null && typeof t == "object", Dv = (t) => (Dt(t) || it(t)) && it(t.then) && it(t.catch), y1 = Object.prototype.toString, zu = (t) => y1.call(t), Pv = (t) => zu(t).slice(8, -1), b1 = (t) => zu(t) === "[object Object]", hd = (t) => nr(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, tu = /* @__PURE__ */ _o( 19 // the leading comma is intentional so empty string "" is also included 20 ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" 21), tT = /* @__PURE__ */ _o( 22 "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo" 23), pd = (t) => { 24 const e = /* @__PURE__ */ Object.create(null); 25 return (r) => e[r] || (e[r] = t(r)); 26}, rT = /-\w/g, yr = pd( 27 (t) => t.replace(rT, (e) => e.slice(1).toUpperCase()) 28), nT = /\B([A-Z])/g, vi = pd( 29 (t) => t.replace(nT, "-$1").toLowerCase() 30), ja = pd((t) => t.charAt(0).toUpperCase() + t.slice(1)), wa = pd( 31 (t) => t ? `on${ja(t)}` : "" 32), Vi = (t, e) => !Object.is(t, e), _s = (t, ...e) => { 33 for (let r = 0; r < t.length; r++) 34 t[r](...e); 35}, Af = (t, e, r, n = !1) => { 36 Object.defineProperty(t, e, { 37 configurable: !0, 38 enumerable: !1, 39 writable: n, 40 value: r 41 }); 42}, E1 = (t) => { 43 const e = parseFloat(t); 44 return isNaN(e) ? t : e; 45}, Mg = (t) => { 46 const e = nr(t) ? Number(t) : NaN; 47 return isNaN(e) ? t : e; 48}; 49let Vg; 50const rl = () => Vg || (Vg = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}); 51function vd(t) { 52 if (Xe(t)) { 53 const e = {}; 54 for (let r = 0; r < t.length; r++) { 55 const n = t[r], i = nr(n) ? sT(n) : vd(n); 56 if (i) 57 for (const o in i) 58 e[o] = i[o]; 59 } 60 return e; 61 } else if (nr(t) || Dt(t)) 62 return t; 63} 64const iT = /;(?![^(]*\))/g, oT = /:([^]+)/, aT = /\/\*[^]*?\*\//g; 65function sT(t) { 66 const e = {}; 67 return t.replace(aT, "").split(iT).forEach((r) => { 68 if (r) { 69 const n = r.split(oT); 70 n.length > 1 && (e[n[0].trim()] = n[1].trim()); 71 } 72 }), e; 73} 74function wr(t) { 75 let e = ""; 76 if (nr(t)) 77 e = t; 78 else if (Xe(t)) 79 for (let r = 0; r < t.length; r++) { 80 const n = wr(t[r]); 81 n && (e += n + " "); 82 } 83 else if (Dt(t)) 84 for (const r in t) 85 t[r] && (e += r + " "); 86 return e.trim(); 87} 88const lT = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", uT = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", cT = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", fT = /* @__PURE__ */ _o(lT), dT = /* @__PURE__ */ _o(uT), hT = /* @__PURE__ */ _o(cT), pT = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", vT = /* @__PURE__ */ _o(pT); 89function x1(t) { 90 return !!t || t === ""; 91} 92function gT(t, e) { 93 if (t.length !== e.length) 94 return !1; 95 let r = !0; 96 for (let n = 0; r && n < t.length; n++) 97 r = Wu(t[n], e[n]); 98 return r; 99} 100function Wu(t, e) { 101 if (t === e) 102 return !0; 103 let r = Ig(t), n = Ig(e); 104 if (r || n) 105 return r && n ? t.getTime() === e.getTime() : !1; 106 if (r = Qn(t), n = Qn(e), r || n) 107 return t === e; 108 if (r = Xe(t), n = Xe(e), r || n) 109 return r && n ? gT(t, e) : !1; 110 if (r = Dt(t), n = Dt(e), r || n) { 111 if (!r || !n) 112 return !1; 113 const i = Object.keys(t).length, o = Object.keys(e).length; 114 if (i !== o) 115 return !1; 116 for (const a in t) { 117 const s = t.hasOwnProperty(a), u = e.hasOwnProperty(a); 118 if (s && !u || !s && u || !Wu(t[a], e[a])) 119 return !1; 120 } 121 } 122 return String(t) === String(e); 123} 124function mT(t, e) { 125 return t.findIndex((r) => Wu(r, e)); 126} 127const w1 = (t) => !!(t && t.__v_isRef === !0), Sp = (t) => nr(t) ? t : t == null ? "" : Xe(t) || Dt(t) && (t.toString === y1 || !it(t.toString)) ? w1(t) ? Sp(t.value) : JSON.stringify(t, S1, 2) : String(t), S1 = (t, e) => w1(e) ? S1(t, e.value) : Da(e) ? { 128 [`Map(${e.size})`]: [...e.entries()].reduce( 129 (r, [n, i], o) => (r[Ch(n, o) + " =>"] = i, r), 130 {} 131 ) 132} : dd(e) ? { 133 [`Set(${e.size})`]: [...e.values()].map((r) => Ch(r)) 134} : Qn(e) ? Ch(e) : Dt(e) && !Xe(e) && !b1(e) ? String(e) : e, Ch = (t, e = "") => { 135 var r; 136 return ( 137 // Symbol.description in es2019+ so we need to cast here to pass 138 // the lib: es2016 check 139 Qn(t) ? `Symbol(${(r = t.description) != null ? r : e})` : t 140 ); 141}; 142/** 143* @vue/reactivity v3.5.32
144* (c) 2018-present Yuxi (Evan) You and Vue contributors 145* @license MIT 146**/ 147function Dn(t, ...e) { 148 console.warn(`[Vue warn] ${t}`, ...e); 149} 150let zr; 151class _1 { 152 // TODO isolatedDeclarations "__v_skip" 153 constructor(e = !1) { 154 this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.__v_skip = !0, this.parent = zr, !e && zr && (this.index = (zr.scopes || (zr.scopes = [])).push( 155 this 156 ) - 1); 157 } 158 get active() { 159 return this._active; 160 } 161 pause() { 162 if (this._active) { 163 this._isPaused = !0; 164 let e, r; 165 if (this.scopes) 166 for (e = 0, r = this.scopes.length; e < r; e++) 167 this.scopes[e].pause(); 168 for (e = 0, r = this.effects.length; e < r; e++) 169 this.effects[e].pause(); 170 } 171 } 172 /** 173 * Resumes the effect scope, including all child scopes and effects. 174 */ 175 resume() { 176 if (this._active && this._isPaused) { 177 this._isPaused = !1; 178 let e, r; 179 if (this.scopes) 180 for (e = 0, r = this.scopes.length; e < r; e++) 181 this.scopes[e].resume(); 182 for (e = 0, r = this.effects.length; e < r; e++) 183 this.effects[e].resume(); 184 } 185 } 186 run(e) { 187 if (this._active) { 188 const r = zr; 189 try { 190 return zr = this, e(); 191 } finally { 192 zr = r; 193 } 194 } else 195 ({}).NODE_ENV !== "production" && Dn("cannot run an inactive effect scope."); 196 } 197 /** 198 * This should only be called on non-detached scopes 199 * @internal 200 */ 201 on() { 202 ++this._on === 1 && (this.prevScope = zr, zr = this); 203 } 204 /** 205 * This should only be called on non-detached scopes 206 * @internal 207 */ 208 off() { 209 this._on > 0 && --this._on === 0 && (zr = this.prevScope, this.prevScope = void 0); 210 } 211 stop(e) { 212 if (this._active) { 213 this._active = !1; 214 let r, n; 215 for (r = 0, n = this.effects.length; r < n; r++) 216 this.effects[r].stop(); 217 for (this.effects.length = 0, r = 0, n = this.cleanups.length; r < n; r++) 218 this.cleanups[r](); 219 if (this.cleanups.length = 0, this.scopes) { 220 for (r = 0, n = this.scopes.length; r < n; r++) 221 this.scopes[r].stop(!0); 222 this.scopes.length = 0; 223 } 224 if (!this.detached && this.parent && !e) { 225 const i = this.parent.scopes.pop(); 226 i && i !== this && (this.parent.scopes[this.index] = i, i.index = this.index); 227 } 228 this.parent = void 0; 229 } 230 } 231} 232function T1(t) { 233 return new _1(t); 234} 235function C1() { 236 return zr; 237} 238function yT(t, e = !1) { 239 zr ? zr.cleanups.push(t) : {}.NODE_ENV !== "production" && !e && Dn( 240 "onScopeDispose() is called when there is no active effect scope to be associated with." 241 ); 242} 243let Kt; 244const Oh = /* @__PURE__ */ new WeakSet(); 245class O1 { 246 constructor(e) { 247 this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, zr && zr.active && zr.effects.push(this); 248 } 249 pause() { 250 this.flags |= 64; 251 } 252 resume() { 253 this.flags & 64 && (this.flags &= -65, Oh.has(this) && (Oh.delete(this), this.trigger())); 254 } 255 /** 256 * @internal 257 */ 258 notify() { 259 this.flags & 2 && !(this.flags & 32) || this.flags & 8 || N1(this); 260 } 261 run() { 262 if (!(this.flags & 1)) 263 return this.fn(); 264 this.flags |= 2, Lg(this), k1(this); 265 const e = Kt, r = gi; 266 Kt = this, gi = !0; 267 try { 268 return this.fn(); 269 } finally { 270 ({}).NODE_ENV !== "production" && Kt !== this && Dn( 271 "Active effect was not restored correctly - this is likely a Vue internal bug." 272 ), D1(this), Kt = e, gi = r, this.flags &= -3; 273 } 274 } 275 stop() { 276 if (this.flags & 1) { 277 for (let e = this.deps; e; e = e.nextDep) 278 Iv(e); 279 this.deps = this.depsTail = void 0, Lg(this), this.onStop && this.onStop(), this.flags &= -2; 280 } 281 } 282 trigger() { 283 this.flags & 64 ? Oh.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty(); 284 } 285 /** 286 * @internal 287 */ 288 runIfDirty() { 289 _p(this) && this.run(); 290 } 291 get dirty() { 292 return _p(this); 293 } 294} 295let A1 = 0, ru, nu; 296function N1(t, e = !1) { 297 if (t.flags |= 8, e) { 298 t.next = nu, nu = t; 299 return; 300 } 301 t.next = ru, ru = t; 302} 303function Fv() { 304 A1++; 305} 306function Rv() { 307 if (--A1 > 0) 308 return; 309 if (nu) { 310 let e = nu; 311 for (nu = void 0; e; ) { 312 const r = e.next; 313 e.next = void 0, e.flags &= -9, e = r; 314 } 315 } 316 let t; 317 for (; ru; ) { 318 let e = ru; 319 for (ru = void 0; e; ) { 320 const r = e.next; 321 if (e.next = void 0, e.flags &= -9, e.flags & 1) 322 try { 323 e.trigger(); 324 } catch (n) { 325 t || (t = n); 326 } 327 e = r; 328 } 329 } 330 if (t) 331 throw t; 332} 333function k1(t) { 334 for (let e = t.deps; e; e = e.nextDep)
335 e.version = -1, e.prevActiveLink = e.dep.activeLink, e.dep.activeLink = e; 336} 337function D1(t) { 338 let e, r = t.depsTail, n = r; 339 for (; n; ) { 340 const i = n.prevDep; 341 n.version === -1 ? (n === r && (r = i), Iv(n), bT(n)) : e = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = i; 342 } 343 t.deps = e, t.depsTail = r; 344} 345function _p(t) { 346 for (let e = t.deps; e; e = e.nextDep) 347 if (e.dep.version !== e.version || e.dep.computed && (P1(e.dep.computed) || e.dep.version !== e.version)) 348 return !0; 349 return !!t._dirty; 350} 351function P1(t) { 352 if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === Tu) || (t.globalVersion = Tu, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !_p(t)))) 353 return; 354 t.flags |= 2; 355 const e = t.dep, r = Kt, n = gi; 356 Kt = t, gi = !0; 357 try { 358 k1(t); 359 const i = t.fn(t._value); 360 (e.version === 0 || Vi(i, t._value)) && (t.flags |= 128, t._value = i, e.version++); 361 } catch (i) { 362 throw e.version++, i; 363 } finally { 364 Kt = r, gi = n, D1(t), t.flags &= -3; 365 } 366} 367function Iv(t, e = !1) { 368 const { dep: r, prevSub: n, nextSub: i } = t; 369 if (n && (n.nextSub = i, t.prevSub = void 0), i && (i.prevSub = n, t.nextSub = void 0), {}.NODE_ENV !== "production" && r.subsHead === t && (r.subsHead = i), r.subs === t && (r.subs = n, !n && r.computed)) { 370 r.computed.flags &= -5; 371 for (let o = r.computed.deps; o; o = o.nextDep) 372 Iv(o, !0); 373 } 374 !e && !--r.sc && r.map && r.map.delete(r.key); 375} 376function bT(t) { 377 const { prevDep: e, nextDep: r } = t; 378 e && (e.nextDep = r, t.prevDep = void 0), r && (r.prevDep = e, t.nextDep = void 0); 379} 380let gi = !0; 381const F1 = []; 382function yi() { 383 F1.push(gi), gi = !1; 384} 385function bi() { 386 const t = F1.pop(); 387 gi = t === void 0 ? !0 : t; 388} 389function Lg(t) { 390 const { cleanup: e } = t; 391 if (t.cleanup = void 0, e) { 392 const r = Kt; 393 Kt = void 0; 394 try { 395 e(); 396 } finally { 397 Kt = r; 398 } 399 } 400} 401let Tu = 0; 402class ET { 403 constructor(e, r) { 404 this.sub = e, this.dep = r, this.version = r.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; 405 } 406} 407class Mv { 408 // TODO isolatedDeclarations "__v_skip" 409 constructor(e) { 410 this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, {}.NODE_ENV !== "production" && (this.subsHead = void 0); 411 } 412 track(e) { 413 if (!Kt || !gi || Kt === this.computed) 414 return; 415 let r = this.activeLink; 416 if (r === void 0 || r.sub !== Kt) 417 r = this.activeLink = new ET(Kt, this), Kt.deps ? (r.prevDep = Kt.depsTail, Kt.depsTail.nextDep = r, Kt.depsTail = r) : Kt.deps = Kt.depsTail = r, R1(r); 418 else if (r.version === -1 && (r.version = this.version, r.nextDep)) { 419 const n = r.nextDep; 420 n.prevDep = r.prevDep, r.prevDep && (r.prevDep.nextDep = n), r.prevDep = Kt.depsTail, r.nextDep = void 0, Kt.depsTail.nextDep = r, Kt.depsTail = r, Kt.deps === r && (Kt.deps = n); 421 } 422 return {}.NODE_ENV !== "production" && Kt.onTrack && Kt.onTrack( 423 rr( 424 { 425 effect: Kt 426 }, 427 e 428 ) 429 ), r; 430 } 431 trigger(e) { 432 this.version++, Tu++, this.notify(e); 433 } 434 notify(e) { 435 Fv(); 436 try { 437 if ({}.NODE_ENV !== "production") 438 for (let r = this.subsHead; r; r = r.nextSub) 439 r.sub.onTrigger && !(r.sub.flags & 8) && r.sub.onTrigger( 440 rr( 441 { 442 effect: r.sub 443 }, 444 e 445 ) 446 ); 447 for (let r = this.subs; r; r = r.prevSub) 448 r.sub.notify() && r.sub.dep.notify(); 449 } finally { 450 Rv(); 451 } 452 } 453} 454function R1(t) { 455 if (t.dep.sc++, t.sub.flags & 4) { 456 const e = t.dep.computed; 457 if (e && !t.dep.subs) { 458 e.flags |= 20; 459 for (let n = e.deps; n; n = n.nextDep) 460 R1(n); 461 } 462 const r = t.dep.subs; 463 r !== t && (t.prevSub = r, r && (r.nextSub = t)), {}.NODE_ENV !== "production" && t.dep.subsHead === void 0 && (t.dep.subsHead = t), t.dep.subs = t; 464 } 465} 466const Nf = /* @__PURE__ */ new WeakMap(), Pa = /* @__PURE__ */ Symbol( 467 {}.NODE_ENV !== "production" ? "Object iterate" : "" 468), Tp = /* @__PURE__ */ Symbol( 469 {}.NODE_ENV !== "production" ? "Map keys iterate" : "" 470), Cu = /* @__PURE__ */ Symbol( 471 {}.NODE_ENV !== "production" ? "Array iterate" : "" 472); 473function Cr(t, e, r) { 474 if (gi && Kt) { 475 let n = Nf.get(t); 476 n || Nf.set(t, n = /* @__PURE__ */ new Map()); 477 let i = n.get(r); 478 i || (n.set(r, i = new Mv()), i.map = n, i.key = r), {}.NODE_ENV !== "production" ? i.track({ 479 target: t, 480 type: e, 481 key: r 482 }) : i.track(); 483 } 484} 485function Li(t, e, r, n, i, o) { 486 const a = Nf.get(t); 487 if (!a) { 488 Tu++; 489 return; 490 } 491 const s = (u) => { 492 u && ({}.NODE_ENV !== "production" ? u.trigger({ 493 target: t, 494 type: e, 495 key: r, 496 newValue: n, 497 oldValue: i, 498 oldTarget: o 499 }) : u.trigger()); 500 }; 501 if (Fv(), e === "clear") 502 a.forEach(s); 503 else { 504 const u = Xe(t), l = u && hd(r); 505 if (u && r === "length") { 506 const f = Number(n); 507 a.forEach((h, g) => { 508 (g === "length" || g === Cu || !Qn(g) && g >= f) && s(h); 509 }); 510 } else 511 switch ((r !== void 0 || a.has(void 0)) && s(a.get(r)), l && s(a.get(Cu)), e) { 512 case "add": 513 u ? l && s(a.get("length")) : (s(a.get(Pa)), Da(t) && s(a.get(Tp))); 514 break; 515 case "delete": 516 u || (s(a.get(Pa)), Da(t) && s(a.get(Tp))); 517 break; 518 case "set": 519 Da(t) && s(a.get(Pa)); 520 break; 521 } 522 } 523 Rv(); 524} 525function xT(t, e) { 526 const r = Nf.get(t); 527 return r && r.get(e); 528} 529function fs(t) { 530 const e = /* @__PURE__ */ ft(t);
531 return e === t ? e : (Cr(e, "iterate", Cu), /* @__PURE__ */ Xr(t) ? e : e.map(xi)); 532} 533function gd(t) { 534 return Cr(t = /* @__PURE__ */ ft(t), "iterate", Cu), t; 535} 536function Ii(t, e) { 537 return /* @__PURE__ */ Ei(t) ? qs(/* @__PURE__ */ Xn(t) ? xi(e) : e) : xi(e); 538} 539const wT = { 540 __proto__: null, 541 [Symbol.iterator]() { 542 return Ah(this, Symbol.iterator, (t) => Ii(this, t)); 543 }, 544 concat(...t) { 545 return fs(this).concat( 546 ...t.map((e) => Xe(e) ? fs(e) : e) 547 ); 548 }, 549 entries() { 550 return Ah(this, "entries", (t) => (t[1] = Ii(this, t[1]), t)); 551 }, 552 every(t, e) { 553 return to(this, "every", t, e, void 0, arguments); 554 }, 555 filter(t, e) { 556 return to( 557 this, 558 "filter", 559 t, 560 e, 561 (r) => r.map((n) => Ii(this, n)), 562 arguments 563 ); 564 }, 565 find(t, e) { 566 return to( 567 this, 568 "find", 569 t, 570 e, 571 (r) => Ii(this, r), 572 arguments 573 ); 574 }, 575 findIndex(t, e) { 576 return to(this, "findIndex", t, e, void 0, arguments); 577 }, 578 findLast(t, e) { 579 return to( 580 this, 581 "findLast", 582 t, 583 e, 584 (r) => Ii(this, r), 585 arguments 586 ); 587 }, 588 findLastIndex(t, e) { 589 return to(this, "findLastIndex", t, e, void 0, arguments); 590 }, 591 // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement 592 forEach(t, e) { 593 return to(this, "forEach", t, e, void 0, arguments); 594 }, 595 includes(...t) { 596 return Nh(this, "includes", t); 597 }, 598 indexOf(...t) { 599 return Nh(this, "indexOf", t); 600 }, 601 join(t) { 602 return fs(this).join(t); 603 }, 604 // keys() iterator only reads `length`, no optimization required 605 lastIndexOf(...t) { 606 return Nh(this, "lastIndexOf", t); 607 }, 608 map(t, e) { 609 return to(this, "map", t, e, void 0, arguments); 610 }, 611 pop() { 612 return wl(this, "pop"); 613 }, 614 push(...t) { 615 return wl(this, "push", t); 616 }, 617 reduce(t, ...e) { 618 return jg(this, "reduce", t, e); 619 }, 620 reduceRight(t, ...e) { 621 return jg(this, "reduceRight", t, e); 622 }, 623 shift() { 624 return wl(this, "shift"); 625 }, 626 // slice could use ARRAY_ITERATE but also seems to beg for range tracking 627 some(t, e) { 628 return to(this, "some", t, e, void 0, arguments); 629 }, 630 splice(...t) { 631 return wl(this, "splice", t); 632 }, 633 toReversed() { 634 return fs(this).toReversed(); 635 }, 636 toSorted(t) { 637 return fs(this).toSorted(t); 638 }, 639 toSpliced(...t) { 640 return fs(this).toSpliced(...t); 641 }, 642 unshift(...t) { 643 return wl(this, "unshift", t); 644 }, 645 values() { 646 return Ah(this, "values", (t) => Ii(this, t)); 647 } 648}; 649function Ah(t, e, r) { 650 const n = gd(t), i = n[e](); 651 return n !== t && !/* @__PURE__ */ Xr(t) && (i._next = i.next, i.next = () => { 652 const o = i._next(); 653 return o.done || (o.value = r(o.value)), o; 654 }), i; 655} 656const ST = Array.prototype; 657function to(t, e, r, n, i, o) { 658 const a = gd(t), s = a !== t && !/* @__PURE__ */ Xr(t), u = a[e]; 659 if (u !== ST[e]) { 660 const h = u.apply(t, o); 661 return s ? xi(h) : h; 662 } 663 let l = r; 664 a !== t && (s ? l = function(h, g) { 665 return r.call(this, Ii(t, h), g, t); 666 } : r.length > 2 && (l = function(h, g) { 667 return r.call(this, h, g, t); 668 })); 669 const f = u.call(a, l, n); 670 return s && i ? i(f) : f; 671} 672function jg(t, e, r, n) { 673 const i = gd(t), o = i !== t && !/* @__PURE__ */ Xr(t); 674 let a = r, s = !1; 675 i !== t && (o ? (s = n.length === 0, a = function(l, f, h) { 676 return s && (s = !1, l = Ii(t, l)), r.call(this, l, Ii(t, f), h, t); 677 }) : r.length > 3 && (a = function(l, f, h) { 678 return r.call(this, l, f, h, t); 679 })); 680 const u = i[e](a, ...n); 681 return s ? Ii(t, u) : u; 682} 683function Nh(t, e, r) { 684 const n = /* @__PURE__ */ ft(t); 685 Cr(n, "iterate", Cu); 686 const i = n[e](...r); 687 return (i === -1 || i === !1) && /* @__PURE__ */ Ws(r[0]) ? (r[0] = /* @__PURE__ */ ft(r[0]), n[e](...r)) : i; 688} 689function wl(t, e, r = []) { 690 yi(), Fv(); 691 const n = (/* @__PURE__ */ ft(t))[e].apply(t, r); 692 return Rv(), bi(), n; 693} 694const _T = /* @__PURE__ */ _o("__proto__,__v_isRef,__isVue"), I1 = new Set( 695 /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Qn) 696); 697function TT(t) { 698 Qn(t) || (t = String(t)); 699 const e = /* @__PURE__ */ ft(this); 700 return Cr(e, "has", t), e.hasOwnProperty(t); 701} 702class M1 { 703 constructor(e = !1, r = !1) { 704 this._isReadonly = e, this._isShallow = r; 705 } 706 get(e, r, n) { 707 if (r === "__v_skip") 708 return e.__v_skip; 709 const i = this._isReadonly, o = this._isShallow; 710 if (r === "__v_isReactive") 711 return !i; 712 if (r === "__v_isReadonly") 713 return i; 714 if (r === "__v_isShallow") 715 return o; 716 if (r === "__v_raw") 717 return n === (i ? o ? H1 : U1 : o ? B1 : j1).get(e) || // receiver is not the reactive proxy, but has the same prototype 718 // this means the receiver is a user proxy of the reactive proxy 719 Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0; 720 const a = Xe(e); 721 if (!i) { 722 let u; 723 if (a && (u = wT[r])) 724 return u; 725 if (r === "hasOwnProperty") 726 return TT; 727 } 728 const s = Reflect.get( 729 e, 730 r, 731 // if this is a proxy wrapping a ref, return methods using the raw ref 732 // as receiver so that we don't have to call `toRaw` on the ref in all 733 // its class methods
734 /* @__PURE__ */ Rt(e) ? e : n 735 ); 736 if ((Qn(r) ? I1.has(r) : _T(r)) || (i || Cr(e, "get", r), o)) 737 return s; 738 if (/* @__PURE__ */ Rt(s)) { 739 const u = a && hd(r) ? s : s.value; 740 return i && Dt(u) ? /* @__PURE__ */ Op(u) : u; 741 } 742 return Dt(s) ? i ? /* @__PURE__ */ Op(s) : /* @__PURE__ */ wo(s) : s; 743 } 744} 745class V1 extends M1 { 746 constructor(e = !1) { 747 super(!1, e); 748 } 749 set(e, r, n, i) { 750 let o = e[r]; 751 const a = Xe(e) && hd(r); 752 if (!this._isShallow) { 753 const l = /* @__PURE__ */ Ei(o); 754 if (!/* @__PURE__ */ Xr(n) && !/* @__PURE__ */ Ei(n) && (o = /* @__PURE__ */ ft(o), n = /* @__PURE__ */ ft(n)), !a && /* @__PURE__ */ Rt(o) && !/* @__PURE__ */ Rt(n)) 755 return l ? ({}.NODE_ENV !== "production" && Dn( 756 `Set operation on key "${String(r)}" failed: target is readonly.`, 757 e[r] 758 ), !0) : (o.value = n, !0); 759 } 760 const s = a ? Number(r) < e.length : Ft(e, r), u = Reflect.set( 761 e, 762 r, 763 n, 764 /* @__PURE__ */ Rt(e) ? e : i 765 ); 766 return e === /* @__PURE__ */ ft(i) && (s ? Vi(n, o) && Li(e, "set", r, n, o) : Li(e, "add", r, n)), u; 767 } 768 deleteProperty(e, r) { 769 const n = Ft(e, r), i = e[r], o = Reflect.deleteProperty(e, r); 770 return o && n && Li(e, "delete", r, void 0, i), o; 771 } 772 has(e, r) { 773 const n = Reflect.has(e, r); 774 return (!Qn(r) || !I1.has(r)) && Cr(e, "has", r), n; 775 } 776 ownKeys(e) { 777 return Cr( 778 e, 779 "iterate", 780 Xe(e) ? "length" : Pa 781 ), Reflect.ownKeys(e); 782 } 783} 784class L1 extends M1 { 785 constructor(e = !1) { 786 super(!0, e); 787 } 788 set(e, r) { 789 return {}.NODE_ENV !== "production" && Dn( 790 `Set operation on key "${String(r)}" failed: target is readonly.`, 791 e 792 ), !0; 793 } 794 deleteProperty(e, r) { 795 return {}.NODE_ENV !== "production" && Dn( 796 `Delete operation on key "${String(r)}" failed: target is readonly.`, 797 e 798 ), !0; 799 } 800} 801const CT = /* @__PURE__ */ new V1(), OT = /* @__PURE__ */ new L1(), AT = /* @__PURE__ */ new V1(!0), NT = /* @__PURE__ */ new L1(!0), Cp = (t) => t, Oc = (t) => Reflect.getPrototypeOf(t); 802function kT(t, e, r) { 803 return function(...n) { 804 const i = this.__v_raw, o = /* @__PURE__ */ ft(i), a = Da(o), s = t === "entries" || t === Symbol.iterator && a, u = t === "keys" && a, l = i[t](...n), f = r ? Cp : e ? qs : xi; 805 return !e && Cr( 806 o, 807 "iterate", 808 u ? Tp : Pa 809 ), rr( 810 // inheriting all iterator properties 811 Object.create(l), 812 { 813 // iterator protocol 814 next() { 815 const { value: h, done: g } = l.next(); 816 return g ? { value: h, done: g } : { 817 value: s ? [f(h[0]), f(h[1])] : f(h), 818 done: g 819 }; 820 } 821 } 822 ); 823 }; 824} 825function Ac(t) { 826 return function(...e) { 827 if ({}.NODE_ENV !== "production") { 828 const r = e[0] ? `on key "${e[0]}" ` : ""; 829 Dn( 830 `${ja(t)} operation ${r}failed: target is readonly.`,
831 /* @__PURE__ */ ft(this) 832 ); 833 } 834 return t === "delete" ? !1 : t === "clear" ? void 0 : this; 835 }; 836} 837function DT(t, e) { 838 const r = { 839 get(i) { 840 const o = this.__v_raw, a = /* @__PURE__ */ ft(o), s = /* @__PURE__ */ ft(i); 841 t || (Vi(i, s) && Cr(a, "get", i), Cr(a, "get", s)); 842 const { has: u } = Oc(a), l = e ? Cp : t ? qs : xi; 843 if (u.call(a, i)) 844 return l(o.get(i)); 845 if (u.call(a, s)) 846 return l(o.get(s)); 847 o !== a && o.get(i); 848 }, 849 get size() { 850 const i = this.__v_raw; 851 return !t && Cr(/* @__PURE__ */ ft(i), "iterate", Pa), i.size; 852 }, 853 has(i) { 854 const o = this.__v_raw, a = /* @__PURE__ */ ft(o), s = /* @__PURE__ */ ft(i); 855 return t || (Vi(i, s) && Cr(a, "has", i), Cr(a, "has", s)), i === s ? o.has(i) : o.has(i) || o.has(s); 856 }, 857 forEach(i, o) { 858 const a = this, s = a.__v_raw, u = /* @__PURE__ */ ft(s), l = e ? Cp : t ? qs : xi; 859 return !t && Cr(u, "iterate", Pa), s.forEach((f, h) => i.call(o, l(f), l(h), a)); 860 } 861 }; 862 return rr( 863 r, 864 t ? { 865 add: Ac("add"), 866 set: Ac("set"), 867 delete: Ac("delete"), 868 clear: Ac("clear") 869 } : { 870 add(i) { 871 const o = /* @__PURE__ */ ft(this), a = Oc(o), s = /* @__PURE__ */ ft(i), u = !e && !/* @__PURE__ */ Xr(i) && !/* @__PURE__ */ Ei(i) ? s : i; 872 return a.has.call(o, u) || Vi(i, u) && a.has.call(o, i) || Vi(s, u) && a.has.call(o, s) || (o.add(u), Li(o, "add", u, u)), this; 873 }, 874 set(i, o) { 875 !e && !/* @__PURE__ */ Xr(o) && !/* @__PURE__ */ Ei(o) && (o = /* @__PURE__ */ ft(o)); 876 const a = /* @__PURE__ */ ft(this), { has: s, get: u } = Oc(a); 877 let l = s.call(a, i); 878 l ? {}.NODE_ENV !== "production" && Bg(a, s, i) : (i = /* @__PURE__ */ ft(i), l = s.call(a, i)); 879 const f = u.call(a, i); 880 return a.set(i, o), l ? Vi(o, f) && Li(a, "set", i, o, f) : Li(a, "add", i, o), this; 881 }, 882 delete(i) { 883 const o = /* @__PURE__ */ ft(this), { has: a, get: s } = Oc(o); 884 let u = a.call(o, i); 885 u ? {}.NODE_ENV !== "production" && Bg(o, a, i) : (i = /* @__PURE__ */ ft(i), u = a.call(o, i)); 886 const l = s ? s.call(o, i) : void 0, f = o.delete(i); 887 return u && Li(o, "delete", i, void 0, l), f; 888 }, 889 clear() { 890 const i = /* @__PURE__ */ ft(this), o = i.size !== 0, a = {}.NODE_ENV !== "production" ? Da(i) ? new Map(i) : new Set(i) : void 0, s = i.clear(); 891 return o && Li( 892 i, 893 "clear", 894 void 0, 895 void 0, 896 a 897 ), s; 898 } 899 } 900 ), [ 901 "keys", 902 "values", 903 "entries", 904 Symbol.iterator 905 ].forEach((i) => { 906 r[i] = kT(i, t, e); 907 }), r; 908} 909function md(t, e) { 910 const r = DT(t, e); 911 return (n, i, o) => i === "__v_isReactive" ? !t : i === "__v_isReadonly" ? t : i === "__v_raw" ? n : Reflect.get( 912 Ft(r, i) && i in n ? r : n, 913 i, 914 o 915 ); 916} 917const PT = { 918 get: /* @__PURE__ */ md(!1, !1) 919}, FT = { 920 get: /* @__PURE__ */ md(!1, !0) 921}, RT = { 922 get: /* @__PURE__ */ md(!0, !1) 923}, IT = { 924 get: /* @__PURE__ */ md(!0, !0) 925}; 926function Bg(t, e, r) { 927 const n = /* @__PURE__ */ ft(r); 928 if (n !== r && e.call(t, n)) { 929 const i = Pv(t); 930 Dn( 931 `Reactive ${i} contains both the raw and reactive versions of the same object${i === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.` 932 ); 933 } 934} 935const j1 = /* @__PURE__ */ new WeakMap(), B1 = /* @__PURE__ */ new WeakMap(), U1 = /* @__PURE__ */ new WeakMap(), H1 = /* @__PURE__ */ new WeakMap(); 936function MT(t) { 937 switch (t) { 938 case "Object": 939 case "Array": 940 return 1; 941 case "Map": 942 case "Set": 943 case "WeakMap": 944 case "WeakSet": 945 return 2; 946 default: 947 return 0; 948 } 949} 950function VT(t) { 951 return t.__v_skip || !Object.isExtensible(t) ? 0 : MT(Pv(t)); 952} 953// @__NO_SIDE_EFFECTS__ 954function wo(t) { 955 return /* @__PURE__ */ Ei(t) ? t : yd( 956 t, 957 !1, 958 CT, 959 PT, 960 j1 961 ); 962} 963// @__NO_SIDE_EFFECTS__ 964function LT(t) { 965 return yd( 966 t, 967 !1, 968 AT, 969 FT, 970 B1 971 ); 972} 973// @__NO_SIDE_EFFECTS__ 974function Op(t) { 975 return yd( 976 t, 977 !0, 978 OT, 979 RT, 980 U1 981 ); 982} 983// @__NO_SIDE_EFFECTS__ 984function Hi(t) { 985 return yd( 986 t, 987 !0, 988 NT, 989 IT, 990 H1 991 ); 992} 993function yd(t, e, r, n, i) { 994 if (!Dt(t)) 995 return {}.NODE_ENV !== "production" && Dn( 996 `value cannot be made ${e ? "readonly" : "reactive"}: ${String( 997 t 998 )}` 999 ), t; 1000 if (t.__v_raw && !(e && t.__v_isReactive)) 1001 return t;
1002 const o = VT(t); 1003 if (o === 0) 1004 return t; 1005 const a = i.get(t); 1006 if (a) 1007 return a; 1008 const s = new Proxy( 1009 t, 1010 o === 2 ? n : r 1011 ); 1012 return i.set(t, s), s; 1013} 1014// @__NO_SIDE_EFFECTS__ 1015function Xn(t) { 1016 return /* @__PURE__ */ Ei(t) ? /* @__PURE__ */ Xn(t.__v_raw) : !!(t && t.__v_isReactive); 1017} 1018// @__NO_SIDE_EFFECTS__ 1019function Ei(t) { 1020 return !!(t && t.__v_isReadonly); 1021} 1022// @__NO_SIDE_EFFECTS__ 1023function Xr(t) { 1024 return !!(t && t.__v_isShallow); 1025} 1026// @__NO_SIDE_EFFECTS__ 1027function Ws(t) { 1028 return t ? !!t.__v_raw : !1; 1029} 1030// @__NO_SIDE_EFFECTS__ 1031function ft(t) { 1032 const e = t && t.__v_raw; 1033 return e ? /* @__PURE__ */ ft(e) : t; 1034} 1035function Mi(t) { 1036 return !Ft(t, "__v_skip") && Object.isExtensible(t) && Af(t, "__v_skip", !0), t; 1037} 1038const xi = (t) => Dt(t) ? /* @__PURE__ */ wo(t) : t, qs = (t) => Dt(t) ? /* @__PURE__ */ Op(t) : t; 1039// @__NO_SIDE_EFFECTS__ 1040function Rt(t) { 1041 return t ? t.__v_isRef === !0 : !1; 1042} 1043// @__NO_SIDE_EFFECTS__ 1044function tr(t) { 1045 return z1(t, !1); 1046} 1047// @__NO_SIDE_EFFECTS__ 1048function jT(t) { 1049 return z1(t, !0); 1050} 1051function z1(t, e) { 1052 return /* @__PURE__ */ Rt(t) ? t : new BT(t, e); 1053} 1054class BT { 1055 constructor(e, r) { 1056 this.dep = new Mv(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = r ? e : /* @__PURE__ */ ft(e), this._value = r ? e : xi(e), this.__v_isShallow = r; 1057 } 1058 get value() { 1059 return {}.NODE_ENV !== "production" ? this.dep.track({ 1060 target: this, 1061 type: "get", 1062 key: "value" 1063 }) : this.dep.track(), this._value; 1064 } 1065 set value(e) {
1066 const r = this._rawValue, n = this.__v_isShallow || /* @__PURE__ */ Xr(e) || /* @__PURE__ */ Ei(e); 1067 e = n ? e : /* @__PURE__ */ ft(e), Vi(e, r) && (this._rawValue = e, this._value = n ? e : xi(e), {}.NODE_ENV !== "production" ? this.dep.trigger({ 1068 target: this, 1069 type: "set", 1070 key: "value", 1071 newValue: e, 1072 oldValue: r 1073 }) : this.dep.trigger()); 1074 } 1075} 1076function ke(t) { 1077 return /* @__PURE__ */ Rt(t) ? t.value : t; 1078} 1079const UT = { 1080 get: (t, e, r) => e === "__v_raw" ? t : ke(Reflect.get(t, e, r)), 1081 set: (t, e, r, n) => { 1082 const i = t[e]; 1083 return /* @__PURE__ */ Rt(i) && !/* @__PURE__ */ Rt(r) ? (i.value = r, !0) : Reflect.set(t, e, r, n); 1084 } 1085}; 1086function W1(t) { 1087 return /* @__PURE__ */ Xn(t) ? t : new Proxy(t, UT); 1088} 1089// @__NO_SIDE_EFFECTS__ 1090function Ug(t) { 1091 ({}).NODE_ENV !== "production" && !/* @__PURE__ */ Ws(t) && Dn("toRefs() expects a reactive object but received a plain one."); 1092 const e = Xe(t) ? new Array(t.length) : {}; 1093 for (const r in t) 1094 e[r] = q1(t, r); 1095 return e; 1096} 1097class HT { 1098 constructor(e, r, n) { 1099 this._object = e, this._defaultValue = n, this.__v_isRef = !0, this._value = void 0, this._key = Qn(r) ? r : String(r), this._raw = /* @__PURE__ */ ft(e); 1100 let i = !0, o = e; 1101 if (!Xe(e) || Qn(this._key) || !hd(this._key)) 1102 do 1103 i = !/* @__PURE__ */ Ws(o) || /* @__PURE__ */ Xr(o); 1104 while (i && (o = o.__v_raw)); 1105 this._shallow = i; 1106 } 1107 get value() { 1108 let e = this._object[this._key]; 1109 return this._shallow && (e = ke(e)), this._value = e === void 0 ? this._defaultValue : e; 1110 } 1111 set value(e) {
1112 if (this._shallow && /* @__PURE__ */ Rt(this._raw[this._key])) { 1113 const r = this._object[this._key]; 1114 if (/* @__PURE__ */ Rt(r)) { 1115 r.value = e; 1116 return; 1117 } 1118 } 1119 this._object[this._key] = e; 1120 } 1121 get dep() { 1122 return xT(this._raw, this._key); 1123 } 1124} 1125class zT { 1126 constructor(e) { 1127 this._getter = e, this.__v_isRef = !0, this.__v_isReadonly = !0, this._value = void 0; 1128 } 1129 get value() { 1130 return this._value = this._getter(); 1131 } 1132} 1133// @__NO_SIDE_EFFECTS__ 1134function wn(t, e, r) { 1135 return /* @__PURE__ */ Rt(t) ? t : it(t) ? new zT(t) : Dt(t) && arguments.length > 1 ? q1(t, e, r) : /* @__PURE__ */ tr(t); 1136} 1137function q1(t, e, r) { 1138 return new HT(t, e, r); 1139} 1140class WT { 1141 constructor(e, r, n) { 1142 this.fn = e, this.setter = r, this._value = void 0, this.dep = new Mv(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Tu - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !r, this.isSSR = n; 1143 } 1144 /** 1145 * @internal 1146 */ 1147 notify() { 1148 if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion 1149 Kt !== this) 1150 return N1(this, !0), !0; 1151 } 1152 get value() { 1153 const e = {}.NODE_ENV !== "production" ? this.dep.track({ 1154 target: this, 1155 type: "get", 1156 key: "value" 1157 }) : this.dep.track(); 1158 return P1(this), e && (e.version = this.dep.version), this._value; 1159 } 1160 set value(e) { 1161 this.setter ? this.setter(e) : {}.NODE_ENV !== "production" && Dn("Write operation failed: computed value is readonly"); 1162 } 1163} 1164// @__NO_SIDE_EFFECTS__ 1165function qT(t, e, r = !1) { 1166 let n, i; 1167 it(t) ? n = t : (n = t.get, i = t.set); 1168 const o = new WT(n, i, r); 1169 return {}.NODE_ENV !== "production" && e && !r && (o.onTrack = e.onTrack, o.onTrigger = e.onTrigger), o; 1170} 1171const Nc = {}, kf = /* @__PURE__ */ new WeakMap(); 1172let Sa; 1173function KT(t, e = !1, r = Sa) { 1174 if (r) { 1175 let n = kf.get(r); 1176 n || kf.set(r, n = []), n.push(t); 1177 } else 1178 ({}).NODE_ENV !== "production" && !e && Dn( 1179 "onWatcherCleanup() was called when there was no active watcher to associate with." 1180 ); 1181} 1182function GT(t, e, r = Gt) { 1183 const { immediate: n, deep: i, once: o, scheduler: a, augmentJob: s, call: u } = r, l = (x) => { 1184 (r.onWarn || Dn)( 1185 "Invalid watch source: ", 1186 x, 1187 "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types." 1188 ); 1189 }, f = (x) => i ? x : /* @__PURE__ */ Xr(x) || i === !1 || i === 0 ? vo(x, 1) : vo(x); 1190 let h, g, d, m, b = !1, S = !1; 1191 if (/* @__PURE__ */ Rt(t) ? (g = () => t.value, b = /* @__PURE__ */ Xr(t)) : /* @__PURE__ */ Xn(t) ? (g = () => f(t), b = !0) : Xe(t) ? (S = !0, b = t.some((x) => /* @__PURE__ */ Xn(x) || /* @__PURE__ */ Xr(x)), g = () => t.map((x) => { 1192 if (/* @__PURE__ */ Rt(x)) 1193 return x.value; 1194 if (/* @__PURE__ */ Xn(x)) 1195 return f(x); 1196 if (it(x)) 1197 return u ? u(x, 2) : x(); 1198 ({}).NODE_ENV !== "production" && l(x); 1199 })) : it(t) ? e ? g = u ? () => u(t, 2) : t : g = () => { 1200 if (d) { 1201 yi(); 1202 try { 1203 d(); 1204 } finally { 1205 bi(); 1206 } 1207 } 1208 const x = Sa; 1209 Sa = h; 1210 try { 1211 return u ? u(t, 3, [m]) : t(m); 1212 } finally { 1213 Sa = x; 1214 } 1215 } : (g = Or, {}.NODE_ENV !== "production" && l(t)), e && i) { 1216 const x = g, p = i === !0 ? 1 / 0 : i; 1217 g = () => vo(x(), p); 1218 } 1219 const w = C1(), D = () => { 1220 h.stop(), w && w.active && kv(w.effects, h); 1221 }; 1222 if (o && e) { 1223 const x = e; 1224 e = (...p) => { 1225 x(...p), D(); 1226 }; 1227 } 1228 let T = S ? new Array(t.length).fill(Nc) : Nc; 1229 const _ = (x) => { 1230 if (!(!(h.flags & 1) || !h.dirty && !x)) 1231 if (e) { 1232 const p = h.run(); 1233 if (i || b || (S ? p.some((N, V) => Vi(N, T[V])) : Vi(p, T))) { 1234 d && d(); 1235 const N = Sa; 1236 Sa = h; 1237 try { 1238 const V = [ 1239 p, 1240 // pass undefined as the old value when it's changed for the first time 1241 T === Nc ? void 0 : S && T[0] === Nc ? [] : T, 1242 m 1243 ]; 1244 T = p, u ? u(e, 3, V) : ( 1245 // @ts-expect-error 1246 e(...V) 1247 ); 1248 } finally { 1249 Sa = N; 1250 } 1251 } 1252 } else 1253 h.run(); 1254 }; 1255 return s && s(_), h = new O1(g), h.scheduler = a ? () => a(_, !1) : _, m = (x) => KT(x, !1, h), d = h.onStop = () => { 1256 const x = kf.get(h); 1257 if (x) { 1258 if (u) 1259 u(x, 4); 1260 else 1261 for (const p of x) 1262 p(); 1263 kf.delete(h); 1264 } 1265 }, {}.NODE_ENV !== "production" && (h.onTrack = r.onTrack, h.onTrigger = r.onTrigger), e ? n ? _(!0) : T = h.run() : a ? a(_.bind(null, !0), !0) : h.run(), D.pause = h.pause.bind(h), D.resume = h.resume.bind(h), D.stop = D, D; 1266} 1267function vo(t, e = 1 / 0, r) {
1268 if (e <= 0 || !Dt(t) || t.__v_skip || (r = r || /* @__PURE__ */ new Map(), (r.get(t) || 0) >= e)) 1269 return t; 1270 if (r.set(t, e), e--, /* @__PURE__ */ Rt(t)) 1271 vo(t.value, e, r); 1272 else if (Xe(t)) 1273 for (let n = 0; n < t.length; n++) 1274 vo(t[n], e, r); 1275 else if (dd(t) || Da(t)) 1276 t.forEach((n) => { 1277 vo(n, e, r); 1278 }); 1279 else if (b1(t)) { 1280 for (const n in t) 1281 vo(t[n], e, r); 1282 for (const n of Object.getOwnPropertySymbols(t)) 1283 Object.prototype.propertyIsEnumerable.call(t, n) && vo(t[n], e, r); 1284 } 1285 return t; 1286} 1287/** 1288* @vue/runtime-core v3.5.32 1289* (c) 2018-present Yuxi (Evan) You and Vue contributors 1290* @license MIT 1291**/ 1292const Fa = []; 1293function ef(t) { 1294 Fa.push(t); 1295} 1296function tf() { 1297 Fa.pop(); 1298} 1299let kh = !1; 1300function De(t, ...e) { 1301 if (kh) 1302 return; 1303 kh = !0, yi(); 1304 const r = Fa.length ? Fa[Fa.length - 1].component : null, n = r && r.appContext.config.warnHandler, i = XT(); 1305 if (n) 1306 nl( 1307 n, 1308 r, 1309 11, 1310 [ 1311 // eslint-disable-next-line no-restricted-syntax 1312 t + e.map((o) => { 1313 var a, s; 1314 return (s = (a = o.toString) == null ? void 0 : a.call(o)) != null ? s : JSON.stringify(o); 1315 }).join(""), 1316 r && r.proxy, 1317 i.map( 1318 ({ vnode: o }) => `at <${Ju(r, o.type)}>` 1319 ).join(` 1320`), 1321 i 1322 ] 1323 ); 1324 else { 1325 const o = [`[Vue warn]: ${t}`, ...e]; 1326 i.length && o.push(` 1327`, ...YT(i)), console.warn(...o); 1328 } 1329 bi(), kh = !1; 1330} 1331function XT() { 1332 let t = Fa[Fa.length - 1]; 1333 if (!t) 1334 return []; 1335 const e = []; 1336 for (; t; ) { 1337 const r = e[0]; 1338 r && r.vnode === t ? r.recurseCount++ : e.push({ 1339 vnode: t, 1340 recurseCount: 0 1341 }); 1342 const n = t.component && t.component.parent; 1343 t = n && n.vnode; 1344 } 1345 return e; 1346} 1347function YT(t) { 1348 const e = []; 1349 return t.forEach((r, n) => { 1350 e.push(...n === 0 ? [] : [` 1351`], ...ZT(r)); 1352 }), e; 1353} 1354function ZT({ vnode: t, recurseCount: e }) { 1355 const r = e > 0 ? `... (${e} recursive calls)` : "", n = t.component ? t.component.parent == null : !1, i = ` at <${Ju( 1356 t.component, 1357 t.type, 1358 n 1359 )}`, o = ">" + r; 1360 return t.props ? [i, ...JT(t.props), o] : [i + o]; 1361} 1362function JT(t) { 1363 const e = [], r = Object.keys(t); 1364 return r.slice(0, 3).forEach((n) => { 1365 e.push(...K1(n, t[n])); 1366 }), r.length > 3 && e.push(" ..."), e; 1367} 1368function K1(t, e, r) { 1369 return nr(e) ? (e = JSON.stringify(e), r ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? r ? e : [`${t}=${e}`] : /* @__PURE__ */ Rt(e) ? (e = K1(t, /* @__PURE__ */ ft(e.value), !0), r ? e : [`${t}=Ref<`, e, ">"]) : it(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = /* @__PURE__ */ ft(e), r ? e : [`${t}=`, e]); 1370} 1371const Vv = { 1372 sp: "serverPrefetch hook", 1373 bc: "beforeCreate hook", 1374 c: "created hook", 1375 bm: "beforeMount hook", 1376 m: "mounted hook", 1377 bu: "beforeUpdate hook", 1378 u: "updated", 1379 bum: "beforeUnmount hook", 1380 um: "unmounted hook", 1381 a: "activated hook", 1382 da: "deactivated hook", 1383 ec: "errorCaptured hook", 1384 rtc: "renderTracked hook", 1385 rtg: "renderTriggered hook", 1386 0: "setup function", 1387 1: "render function", 1388 2: "watcher getter", 1389 3: "watcher callback", 1390 4: "watcher cleanup function", 1391 5: "native event handler", 1392 6: "component event handler", 1393 7: "vnode hook", 1394 8: "directive hook", 1395 9: "transition hook", 1396 10: "app errorHandler", 1397 11: "app warnHandler", 1398 12: "ref function", 1399 13: "async component loader", 1400 14: "scheduler flush", 1401 15: "component update", 1402 16: "app unmount cleanup function" 1403}; 1404function nl(t, e, r, n) { 1405 try { 1406 return n ? t(...n) : t(); 1407 } catch (i) { 1408 qu(i, e, r); 1409 } 1410} 1411function Ki(t, e, r, n) { 1412 if (it(t)) { 1413 const i = nl(t, e, r, n); 1414 return i && Dv(i) && i.catch((o) => { 1415 qu(o, e, r); 1416 }), i; 1417 } 1418 if (Xe(t)) { 1419 const i = []; 1420 for (let o = 0; o < t.length; o++) 1421 i.push(Ki(t[o], e, r, n)); 1422 return i; 1423 } else 1424 ({}).NODE_ENV !== "production" && De( 1425 `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}` 1426 ); 1427} 1428function qu(t, e, r, n = !0) { 1429 const i = e ? e.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: a } = e && e.appContext.config || Gt; 1430 if (e) { 1431 let s = e.parent; 1432 const u = e.proxy, l = {}.NODE_ENV !== "production" ? Vv[r] : `https://vuejs.org/error-reference/#runtime-${r}`; 1433 for (; s; ) { 1434 const f = s.ec; 1435 if (f) { 1436 for (let h = 0; h < f.length; h++) 1437 if (f[h](t, u, l) === !1) 1438 return; 1439 } 1440 s = s.parent; 1441 } 1442 if (o) { 1443 yi(), nl(o, null, 10, [ 1444 t, 1445 u, 1446 l 1447 ]), bi(); 1448 return; 1449 } 1450 } 1451 QT(t, r, i, n, a); 1452} 1453function QT(t, e, r, n = !0, i = !1) { 1454 if ({}.NODE_ENV !== "production") { 1455 const o = Vv[e]; 1456 if (r && ef(r), De(`Unhandled error${o ? ` during execution of ${o}` : ""}`), r && tf(), n) 1457 throw t; 1458 console.error(t); 1459 } else { 1460 if (i) 1461 throw t; 1462 console.error(t); 1463 } 1464} 1465const en = []; 1466let Fi = -1; 1467const Ms = []; 1468let Bo = null, Ts = 0; 1469const G1 = /* @__PURE__ */ Promise.resolve(); 1470let Df = null; 1471const $T = 100; 1472function zi(t) { 1473 const e = Df || G1; 1474 return t ? e.then(this ? t.bind(this) : t) : e; 1475} 1476function eC(t) { 1477 let e = Fi + 1, r = en.length; 1478 for (; e < r; ) { 1479 const n = e + r >>> 1, i = en[n], o = Ou(i); 1480 o < t || o === t && i.flags & 2 ? e = n + 1 : r = n; 1481 } 1482 return e; 1483} 1484function bd(t) { 1485 if (!(t.flags & 1)) { 1486 const e = Ou(t), r = en[en.length - 1]; 1487 !r || // fast path when the job id is larger than the tail 1488 !(t.flags & 2) && e >= Ou(r) ? en.push(t) : en.splice(eC(e), 0, t), t.flags |= 1, X1(); 1489 } 1490} 1491function X1() { 1492 Df || (Df = G1.then(J1)); 1493} 1494function Y1(t) { 1495 Xe(t) ? Ms.push(...t) : Bo && t.id === -1 ? Bo.splice(Ts + 1, 0, t) : t.flags & 1 || (Ms.push(t), t.flags |= 1), X1(); 1496} 1497function Hg(t, e, r = Fi + 1) { 1498 for ({}
1498.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()); r < en.length; r++) { 1499 const n = en[r]; 1500 if (n && n.flags & 2) { 1501 if (t && n.id !== t.uid || {}.NODE_ENV !== "production" && Lv(e, n)) 1502 continue; 1503 en.splice(r, 1), r--, n.flags & 4 && (n.flags &= -2), n(), n.flags & 4 || (n.flags &= -2); 1504 } 1505 } 1506} 1507function Z1(t) { 1508 if (Ms.length) { 1509 const e = [...new Set(Ms)].sort( 1510 (r, n) => Ou(r) - Ou(n) 1511 ); 1512 if (Ms.length = 0, Bo) { 1513 Bo.push(...e); 1514 return; 1515 } 1516 for (Bo = e, {}.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), Ts = 0; Ts < Bo.length; Ts++) { 1517 const r = Bo[Ts]; 1518 ({}).NODE_ENV !== "production" && Lv(t, r) || (r.flags & 4 && (r.flags &= -2), r.flags & 8 || r(), r.flags &= -2); 1519 } 1520 Bo = null, Ts = 0; 1521 } 1522} 1523const Ou = (t) => t.id == null ? t.flags & 2 ? -1 : 1 / 0 : t.id; 1524function J1(t) { 1525 ({}).NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); 1526 const e = {}.NODE_ENV !== "production" ? (r) => Lv(t, r) : Or; 1527 try { 1528 for (Fi = 0; Fi < en.length; Fi++) { 1529 const r = en[Fi]; 1530 if (r && !(r.flags & 8)) { 1531 if ({}.NODE_ENV !== "production" && e(r)) 1532 continue; 1533 r.flags & 4 && (r.flags &= -2), nl( 1534 r, 1535 r.i, 1536 r.i ? 15 : 14 1537 ), r.flags & 4 || (r.flags &= -2); 1538 } 1539 } 1540 } finally { 1541 for (; Fi < en.length; Fi++) { 1542 const r = en[Fi]; 1543 r && (r.flags &= -2); 1544 } 1545 Fi = -1, en.length = 0, Z1(t), Df = null, (en.length || Ms.length) && J1(t); 1546 } 1547} 1548function Lv(t, e) { 1549 const r = t.get(e) || 0; 1550 if (r > $T) { 1551 const n = e.i, i = n && Qv(n.type); 1552 return qu( 1553 `Maximum recursive updates exceeded${i ? ` in component <${i}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, 1554 null, 1555 10 1556 ), !0; 1557 } 1558 return t.set(e, r + 1), !1; 1559} 1560let Sn = !1; 1561const zg = (t) => { 1562 try { 1563 return Sn; 1564 } finally { 1565 Sn = t; 1566 } 1567}, rf = /* @__PURE__ */ new Map(); 1568({}).NODE_ENV !== "production" && (rl().__VUE_HMR_RUNTIME__ = { 1569 createRecord: Dh(Q1), 1570 rerender: Dh(nC), 1571 reload: Dh(iC) 1572}); 1573const Ba = /* @__PURE__ */ new Map(); 1574function tC(t) { 1575 const e = t.type.__hmrId; 1576 let r = Ba.get(e); 1577 r || (Q1(e, t.type), r = Ba.get(e)), r.instances.add(t); 1578} 1579function rC(t) { 1580 Ba.get(t.type.__hmrId).instances.delete(t); 1581} 1582function Q1(t, e) { 1583 return Ba.has(t) ? !1 : (Ba.set(t, { 1584 initialDef: Pf(e), 1585 instances: /* @__PURE__ */ new Set() 1586 }), !0); 1587} 1588function Pf(t) { 1589 return PE(t) ? t.__vccOpts : t; 1590} 1591function nC(t, e) { 1592 const r = Ba.get(t); 1593 r && (r.initialDef.render = e, [...r.instances].forEach((n) => { 1594 e && (n.render = e, Pf(n.type).render = e), n.renderCache = [], Sn = !0, n.job.flags & 8 || n.update(), Sn = !1; 1595 })); 1596} 1597function iC(t, e) { 1598 const r = Ba.get(t); 1599 if (!r) 1600 return; 1601 e = Pf(e), Wg(r.initialDef, e); 1602 const n = [...r.instances]; 1603 for (let i = 0; i < n.length; i++) { 1604 const o = n[i], a = Pf(o.type); 1605 let s = rf.get(a); 1606 s || (a !== r.initialDef && Wg(a, e), rf.set(a, s = /* @__PURE__ */ new Set())), s.add(o), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (s.add(o), o.ceReload(e.styles), s.delete(o)) : o.parent ? bd(() => { 1607 o.job.flags & 8 || (Sn = !0, o.parent.update(), Sn = !1, s.delete(o)); 1608 }) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn( 1609 "[HMR] Root or manually mounted instance modified. Full reload required." 1610 ), o.root.ce && o !== o.root && o.root.ce._removeChildStyle(a); 1611 } 1612 Y1(() => { 1613 rf.clear(); 1614 }); 1615} 1616function Wg(t, e) { 1617 rr(t, e); 1618 for (const r in t) 1619 r !== "__file" && !(r in e) && delete t[r]; 1620} 1621function Dh(t) { 1622 return (e, r) => { 1623 try { 1624 return t(e, r); 1625 } catch (n) { 1626 console.error(n), console.warn( 1627 "[HMR] Something went wrong during Vue component hot-reload. Full reload required." 1628 ); 1629 } 1630 }; 1631}
1632let ji, zl = [], Ap = !1; 1633function Ku(t, ...e) { 1634 ji ? ji.emit(t, ...e) : Ap || zl.push({ event: t, args: e }); 1635} 1636function $1(t, e) { 1637 var r, n; 1638 ji = t, ji ? (ji.enabled = !0, zl.forEach(({ event: i, args: o }) => ji.emit(i, ...o)), zl = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully 1639 window.HTMLElement && // also exclude jsdom 1640 // eslint-disable-next-line no-restricted-syntax 1641 !((n = (r = window.navigator) == null ? void 0 : r.userAgent) != null && n.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((o) => { 1642 $1(o, e); 1643 }), setTimeout(() => { 1644 ji || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Ap = !0, zl = []); 1645 }, 3e3)) : (Ap = !0, zl = []); 1646} 1647function oC(t, e) { 1648 Ku("app:init", t, e, { 1649 Fragment: En, 1650 Text: Yu, 1651 Comment: An, 1652 Static: of 1653 }); 1654} 1655function aC(t) { 1656 Ku("app:unmount", t); 1657} 1658const sC = /* @__PURE__ */ jv( 1659 "component:added" 1660 /* COMPONENT_ADDED */ 1661), eE = /* @__PURE__ */ jv( 1662 "component:updated" 1663 /* COMPONENT_UPDATED */ 1664), lC = /* @__PURE__ */ jv( 1665 "component:removed" 1666 /* COMPONENT_REMOVED */ 1667), uC = (t) => { 1668 ji && typeof ji.cleanupBuffer == "function" && // remove the component if it wasn't buffered 1669 !ji.cleanupBuffer(t) && lC(t); 1670}; 1671// @__NO_SIDE_EFFECTS__ 1672function jv(t) { 1673 return (e) => { 1674 Ku( 1675 t, 1676 e.appContext.app, 1677 e.uid, 1678 e.parent ? e.parent.uid : void 0, 1679 e 1680 ); 1681 }; 1682} 1683const cC = /* @__PURE__ */ tE( 1684 "perf:start" 1685 /* PERFORMANCE_START */ 1686), fC = /* @__PURE__ */ tE( 1687 "perf:end" 1688 /* PERFORMANCE_END */ 1689); 1690function tE(t) { 1691 return (e, r, n) => { 1692 Ku(t, e.appContext.app, e.uid, e, r, n); 1693 }; 1694} 1695function dC(t, e, r) { 1696 Ku( 1697 "component:emit", 1698 t.appContext.app, 1699 t, 1700 e, 1701 r 1702 ); 1703} 1704let qr = null, rE = null; 1705function Ff(t) { 1706 const e = qr; 1707 return qr = t, rE = t && t.type.__scopeId || null, e; 1708} 1709function io(t, e = qr, r) { 1710 if (!e || t._n) 1711 return t; 1712 const n = (...i) => { 1713 n._d && Lf(-1); 1714 const o = Ff(e); 1715 let a; 1716 try { 1717 a = t(...i); 1718 } finally { 1719 Ff(o), n._d && Lf(1); 1720 } 1721 return {}.NODE_ENV !== "production" && eE(e), a; 1722 }; 1723 return n._n = !0, n._c = !0, n._d = !0, n; 1724} 1725function nE(t) { 1726 tT(t) && De("Do not use built-in directive ids as custom directive id: " + t); 1727} 1728function Sl(t, e) { 1729 if (qr === null) 1730 return {}.NODE_ENV !== "production" && De("withDirectives can only be used inside render functions."), t; 1731 const r = Sd(qr), n = t.dirs || (t.dirs = []); 1732 for (let i = 0; i < e.length; i++) { 1733 let [o, a, s, u = Gt] = e[i]; 1734 o && (it(o) && (o = { 1735 mounted: o, 1736 updated: o 1737 }), o.deep && vo(a), n.push({ 1738 dir: o, 1739 instance: r, 1740 value: a, 1741 oldValue: void 0, 1742 arg: s, 1743 modifiers: u 1744 })); 1745 } 1746 return t; 1747} 1748function ga(t, e, r, n) { 1749 const i = t.dirs, o = e && e.dirs; 1750 for (let a = 0; a < i.length; a++) { 1751 const s = i[a]; 1752 o && (s.oldValue = o[a].value); 1753 let u = s.dir[n]; 1754 u && (yi(), Ki(u, r, 8, [ 1755 t.el, 1756 s, 1757 t, 1758 e 1759 ]), bi()); 1760 } 1761} 1762function Bv(t, e) { 1763 if ({}.NODE_ENV !== "production" && (!gr || gr.isMounted) && De("provide() can only be used inside setup()."), gr) { 1764 let r = gr.provides; 1765 const n = gr.parent && gr.parent.provides; 1766 n === r && (r = gr.provides = Object.create(n)), r[t] = e; 1767 } 1768} 1769function Ra(t, e, r = !1) { 1770 const n = Zi(); 1771 if (n || Vs) { 1772 let i = Vs ? Vs._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0; 1773 if (i && t in i) 1774 return i[t]; 1775 if (arguments.length > 1) 1776 return r && it(e) ? e.call(n && n.proxy) : e; 1777 ({}).NODE_ENV !== "production" && De(`injection "${String(t)}" not found.`); 1778 } else 1779 ({}).NODE_ENV !== "production" && De("inject() can only be used inside setup() or functional components."); 1780} 1781const hC = /* @__PURE__ */ Symbol.for("v-scx"), pC = () => { 1782 { 1783 const t = Ra(hC); 1784 return t || {}.NODE_ENV !== "production" && De( 1785 "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build." 1786 ), t; 1787 } 1788}; 1789function vC(t, e) { 1790 return Uv(t, null, e); 1791} 1792function Ir(t, e, r) { 1793 return {}.NODE_ENV !== "production" && !it(e) && De( 1794 "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature." 1795 ), Uv(t, e, r); 1796} 1797function Uv(t, e, r = Gt) { 1798 const { immediate: n, deep: i, flush: o, once: a } = r; 1799 ({}).NODE_ENV !== "production" && !e && (n !== void 0 && De( 1800 'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.' 1801 ), i !== void 0 && De( 1802 'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.' 1803 ), a !== void 0 && De( 1804 'watch() "once" option is only respected when using the watch(source, callback, options?) signature.' 1805 )); 1806 const s = rr({}, r); 1807 ({}).NODE_ENV !== "production" && (s.onWarn = De); 1808 const u = e && n || !e && o !== "post"; 1809 let l; 1810 if (Nu) { 1811 if (o === "sync") { 1812 const d = pC(); 1813 l = d.__watcherHandles || (d.__watcherHandles = []); 1814 } else if (!u) { 1815 const d = () => { 1816 }; 1817 return d.stop = Or, d.resume = Or, d.pause = Or, d; 1818 } 1819 } 1820 const f = gr; 1821 s.call = (d, m, b) => Ki(d, f, m, b); 1822 let h = !1; 1823 o === "post" ? s.scheduler = (d) => { 1824 cn(d, f && f.suspense); 1825 } : o !== "sync" && (h = !0, s.scheduler = (d, m) => { 1826 m ? d() : bd(d); 1827 }), s.augmentJob = (d) => { 1828 e && (d.flags |= 4), h && (d.flags |= 2, f && (d.id = f.uid, d.i = f)); 1829 }; 1830 const g = GT(t, e, s); 1831 return Nu && (l ? l.push(g) : u && g()), g; 1832} 1833function gC(t, e, r) { 1834 const n = this.proxy, i = nr(t) ? t.includes(".") ? iE(n, t) : () => n[t] : t.bind(n, n); 1835 let o; 1836 it(e) ? o = e : (o = e.handler, r = e); 1837 const a = Zu(this), s = Uv(i, o.bind(n), r); 1838 return a(), s; 1839} 1840function iE(t, e) { 1841 const r = e.split("."); 1842 return () => { 1843 let n = t; 1844 for (let i = 0; i < r.length && n; i++) 1845 n = n[r[i]]; 1846 return n; 1847 }; 1848} 1849const mC = /* @__PURE__ */ Symbol("_vte"), yC = (t) => t.__isTeleport, bC = /* @__PURE__ */ Symbol("_leaveCb"); 1850function Hv(t, e) { 1851 t.shapeFlag & 6 && t.component ? (t.transition = e, Hv(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e; 1852} 1853// @__NO_SIDE_EFFECTS__ 1854function Gu(t, e) { 1855 return it(t) ? ( 1856 // #8236: extend call and options.name access are considered side-effects 1857 // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1858 /* @__PURE__ */ (() => rr({ name: t.name }, e, { setup: t }))() 1859 ) : t; 1860} 1861function oE(t) { 1862 t.ids = [t.ids[0] + t.ids[2]++ + "-", 0, 0]; 1863} 1864const qg = /* @__PURE__ */ new WeakSet(); 1865function Kg(t, e) { 1866 let r; 1867 return !!((r = Object.getOwnPropertyDescriptor(t, e)) && !r.configurable); 1868} 1869const Rf = /* @__PURE__ */ new WeakMap(); 1870function iu(t, e, r, n, i = !1) { 1871 if (Xe(t)) { 1872 t.forEach( 1873 (b, S) => iu( 1874 b, 1875 e && (Xe(e) ? e[S] : e), 1876 r, 1877 n, 1878 i 1879 ) 1880 ); 1881 return; 1882 } 1883 if (ou(n) && !i) { 1884 n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && iu(t, e, r, n.component.subTree); 1885 return; 1886 } 1887 const o = n.shapeFlag & 4 ? Sd(n.component) : n.el, a = i ? null : o, { i: s, r: u } = t; 1888 if ({}.NODE_ENV !== "production" && !s) { 1889 De( 1890 "Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function." 1891 ); 1892 return; 1893 } 1894 const l = e && e.r, f = s.refs === Gt ? s.refs = {} : s.refs, h = s.setupState, g = /* @__PURE__ */ ft(h), d = h === Gt ? m1 : (b) => ({}).NODE_ENV !== "production" && (Ft(g, b) && !/* @__PURE__ */ Rt(g[b]) && De( 1895 `Template ref "${b}" used on a non-ref value. It will not work in the production build.` 1896 ), qg.has(g[b])) || Kg(f, b) ? !1 : Ft(g, b), m = (b, S) => !({}.NODE_ENV !== "production" && qg.has(b) || S && Kg(f, S)); 1897 if (l != null && l !== u) { 1898 if (Gg(e), nr(l)) 1899 f[l] = null, d(l) && (h[l] = null); 1900 else if (/* @__PURE__ */ Rt(l)) { 1901 const b = e; 1902 m(l, b.k) && (l.value = null), b.k && (f[b.k] = null); 1903 } 1904 } 1905 if (it(u)) 1906 nl(u, s, 12, [a, f]); 1907 else { 1908 const b = nr(u), S = /* @__PURE__ */ Rt(u); 1909 if (b || S) { 1910 const w = () => { 1911 if (t.f) { 1912 const D = b ? d(u) ? h[u] : f[u] : m(u) || !t.k ? u.value : f[t.k]; 1913 if (i) 1914 Xe(D) && kv(D, o); 1915 else if (Xe(D)) 1916 D.includes(o) || D.push(o); 1917 else if (b) 1918 f[u] = [o], d(u) && (h[u] = f[u]); 1919 else { 1920 const T = [o]; 1921 m(u, t.k) && (u.value = T), t.k && (f[t.k] = T); 1922 } 1923 } else 1924 b ? (f[u] = a, d(u) && (h[u] = a)) : S ? (m(u, t.k) && (u.value = a), t.k && (f[t.k] = a)) : {}.NODE_ENV !== "production" && De("Invalid template ref type:", u, `(${typeof u})`); 1925 }; 1926 if (a) { 1927 const D = () => { 1928 w(), Rf.delete(t); 1929 }; 1930 D.id = -1, Rf.set(t, D), cn(D, r); 1931 } else 1932 Gg(t), w(); 1933 } else 1934 ({}).NODE_ENV !== "production" && De("Invalid template ref type:", u, `(${typeof u})`); 1935 } 1936} 1937function Gg(t) { 1938 const e = Rf.get(t); 1939 e && (e.flags |= 8, Rf.delete(t)); 1940} 1941rl().requestIdleCallback; 1942rl().cancelIdleCallback; 1943const ou = (t) => !!t.type.__asyncLoader, zv = (t) => t.type.__isKeepAlive; 1944function EC(t, e) { 1945 aE(t, "a", e); 1946} 1947function xC(t, e) { 1948 aE(t, "da", e); 1949} 1950function aE(t, e, r = gr) { 1951 const n = t.__wdc || (t.__wdc = () => { 1952 let i = r; 1953 for (; i; ) { 1954 if (i.isDeactivated) 1955 return; 1956 i = i.parent; 1957 } 1958 return t(); 1959 }); 1960 if (Ed(e, n, r), r) { 1961 let i = r.parent; 1962 for (; i && i.parent; ) 1963 zv(i.parent.vnode) && wC(n, e, r, i), i = i.parent; 1964 } 1965} 1966function wC(t, e, r, n) { 1967 const i = Ed( 1968 e, 1969 t, 1970 n, 1971 !0 1972 /* prepend */ 1973 ); 1974 xd(() => { 1975 kv(n[e], i); 1976 }, r); 1977} 1978function Ed(t, e, r = gr, n = !1) { 1979 if (r) { 1980 const i = r[t] || (r[t] = []), o = e.__weh || (e.__weh = (...a) => { 1981 yi(); 1982 const s = Zu(r), u = Ki(e, r, t, a); 1983 return s(), bi(), u; 1984 }); 1985 return n ? i.unshift(o) : i.push(o), o; 1986 } else if ({}.NODE_ENV !== "production") { 1987 const i = wa(Vv[t].replace(/ hook$/, "")); 1988 De( 1989 `${i} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` 1990 ); 1991 } 1992} 1993const To = (t) => (e, r = gr) => { 1994 (!Nu || t === "sp") && Ed(t, (...n) => e(...n), r); 1995}, SC = To("bm"), Xu = To("m"), _C = To( 1996 "bu" 1997), TC = To("u"), Wv = To( 1998 "bum" 1999), xd = To("um"), CC = To( 2000 "sp" 2001), OC = To("rtg"), AC = To("rtc"); 2002function NC(t, e = gr) { 2003 Ed("ec", t, e); 2004} 2005const Np = "components", kC = "directives", sE = /* @__PURE__ */ Symbol.for("v-ndc"); 2006function qv(t) { 2007 return nr(t) ? lE(Np, t, !1) || t : t || sE; 2008} 2009function DC(t) { 2010 return lE(kC, t); 2011} 2012function lE(t, e, r = !0, n = !1) { 2013 const i = qr || gr; 2014 if (i) { 2015 const o = i.type; 2016 if (t === Np) { 2017 const s = Qv( 2018 o, 2019 !1 2020 );
2021 if (s && (s === e || s === yr(e) || s === ja(yr(e)))) 2022 return o; 2023 } 2024 const a = ( 2025 // local registration 2026 // check instance[type] first which is resolved for options API 2027 Xg(i[t] || o[t], e) || // global registration 2028 Xg(i.appContext[t], e) 2029 ); 2030 if (!a && n) 2031 return o; 2032 if ({}.NODE_ENV !== "production" && r && !a) { 2033 const s = t === Np ? ` 2034If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ""; 2035 De(`Failed to resolve ${t.slice(0, -1)}: ${e}${s}`); 2036 } 2037 return a; 2038 } else 2039 ({}).NODE_ENV !== "production" && De( 2040 `resolve${ja(t.slice(0, -1))} can only be used in render() or setup().` 2041 ); 2042} 2043function Xg(t, e) { 2044 return t && (t[e] || t[yr(e)] || t[ja(yr(e))]); 2045} 2046function Ph(t, e, r, n) { 2047 let i; 2048 const o = r && r[n], a = Xe(t); 2049 if (a || nr(t)) { 2050 const s = a && /* @__PURE__ */ Xn(t); 2051 let u = !1, l = !1; 2052 s && (u = !/* @__PURE__ */ Xr(t), l = /* @__PURE__ */ Ei(t), t = gd(t)), i = new Array(t.length); 2053 for (let f = 0, h = t.length; f < h; f++) 2054 i[f] = e( 2055 u ? l ? qs(xi(t[f])) : xi(t[f]) : t[f], 2056 f, 2057 void 0, 2058 o && o[f] 2059 ); 2060 } else if (typeof t == "number") 2061 if ({}.NODE_ENV !== "production" && (!Number.isInteger(t) || t < 0)) 2062 De( 2063 `The v-for range expects a positive integer value but got ${t}.` 2064 ), i = []; 2065 else { 2066 i = new Array(t); 2067 for (let s = 0; s < t; s++) 2068 i[s] = e(s + 1, s, void 0, o && o[s]); 2069 } 2070 else if (Dt(t)) 2071 if (t[Symbol.iterator]) 2072 i = Array.from( 2073 t, 2074 (s, u) => e(s, u, void 0, o && o[u]) 2075 ); 2076 else { 2077 const s = Object.keys(t); 2078 i = new Array(s.length); 2079 for (let u = 0, l = s.length; u < l; u++) { 2080 const f = s[u]; 2081 i[u] = e(t[f], f, u, o && o[u]); 2082 } 2083 } 2084 else 2085 i = []; 2086 return r && (r[n] = i), i; 2087} 2088const kp = (t) => t ? kE(t) ? Sd(t) : kp(t.parent) : null, Ia = ( 2089 // Move PURE marker to new line to workaround compiler discarding it 2090 // due to type annotation 2091 /* @__PURE__ */ rr(/* @__PURE__ */ Object.create(null), { 2092 $: (t) => t, 2093 $el: (t) => t.vnode.el, 2094 $data: (t) => t.data, 2095 $props: (t) => ({}
2095).NODE_ENV !== "production" ? /* @__PURE__ */ Hi(t.props) : t.props, 2096 $attrs: (t) => ({}).NODE_ENV !== "production" ? /* @__PURE__ */ Hi(t.attrs) : t.attrs, 2097 $slots: (t) => ({}).NODE_ENV !== "production" ? /* @__PURE__ */ Hi(t.slots) : t.slots, 2098 $refs: (t) => ({}).NODE_ENV !== "production" ? /* @__PURE__ */ Hi(t.refs) : t.refs, 2099 $parent: (t) => kp(t.parent), 2100 $root: (t) => kp(t.root), 2101 $host: (t) => t.ce, 2102 $emit: (t) => t.emit, 2103 $options: (t) => Gv(t), 2104 $forceUpdate: (t) => t.f || (t.f = () => { 2105 bd(t.update); 2106 }), 2107 $nextTick: (t) => t.n || (t.n = zi.bind(t.proxy)), 2108 $watch: (t) => gC.bind(t) 2109 }) 2110), Kv = (t) => t === "_" || t === "$", Fh = (t, e) => t !== Gt && !t.__isScriptSetup && Ft(t, e), uE = { 2111 get({ _: t }, e) { 2112 if (e === "__v_skip") 2113 return !0; 2114 const { ctx: r, setupState: n, data: i, props: o, accessCache: a, type: s, appContext: u } = t; 2115 if ({}.NODE_ENV !== "production" && e === "__isVue") 2116 return !0; 2117 if (e[0] !== "$") { 2118 const g = a[e]; 2119 if (g !== void 0) 2120 switch (g) { 2121 case 1: 2122 return n[e]; 2123 case 2: 2124 return i[e]; 2125 case 4: 2126 return r[e]; 2127 case 3: 2128 return o[e]; 2129 } 2130 else { 2131 if (Fh(n, e)) 2132 return a[e] = 1, n[e]; 2133 if (i !== Gt && Ft(i, e)) 2134 return a[e] = 2, i[e]; 2135 if (Ft(o, e)) 2136 return a[e] = 3, o[e]; 2137 if (r !== Gt && Ft(r, e)) 2138 return a[e] = 4, r[e]; 2139 Dp && (a[e] = 0); 2140 } 2141 } 2142 const l = Ia[e]; 2143 let f, h; 2144 if (l) 2145 return e === "$attrs" ? (Cr(t.attrs, "get", ""), {}.NODE_ENV !== "production" && Mf()) : {}.NODE_ENV !== "production" && e === "$slots" && Cr(t, "get", e), l(t); 2146 if ( 2147 // css module (injected by vue-loader) 2148 (f = s.__cssModules) && (f = f[e]) 2149 ) 2150 return f; 2151 if (r !== Gt && Ft(r, e)) 2152 return a[e] = 4, r[e]; 2153 if ( 2154 // global properties 2155 h = u.config.globalProperties, Ft(h, e) 2156 ) 2157 return h[e]; 2158 ({}).NODE_ENV !== "production" && qr && (!nr(e) || // #1091 avoid internal isRef/isVNode checks on component instance leading 2159 // to infinite warning loop 2160 e.indexOf("__v") !== 0) && (i !== Gt && Kv(e[0]) && Ft(i, e) ? De( 2161 `Property ${JSON.stringify( 2162 e 2163 )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` 2164 ) : t === qr && De( 2165 `Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.` 2166 )); 2167 }, 2168 set({ _: t }, e, r) { 2169 const { data: n, setupState: i, ctx: o } = t; 2170 return Fh(i, e) ? (i[e] = r, !0) : {}.NODE_ENV !== "production" && i.__isScriptSetup && Ft(i, e) ? (De(`Cannot mutate <script setup> binding "${e}" from Options API.`), !1) : n !== Gt && Ft(n, e) ? (n[e] = r, !0) : Ft(t.props, e) ? ({}.NODE_ENV !== "production" && De(`Attempting to mutate prop "${e}". Props are readonly.`), !1) : e[0] === "$" && e.slice(1) in t ? ({}.NODE_ENV !== "production" && De( 2171 `Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.` 2172 ), !1) : ({}.NODE_ENV !== "production" && e in t.appContext.config.globalProperties ? Object.defineProperty(o, e, { 2173 enumerable: !0, 2174 configurable: !0, 2175 value: r 2176 }) : o[e] = r, !0); 2177 }, 2178 has({ 2179 _: { data: t, setupState: e, accessCache: r, ctx: n, appContext: i, props: o, type: a } 2180 }, s) { 2181 let u; 2182 return !!(r[s] || t !== Gt && s[0] !== "$" && Ft(t, s) || Fh(e, s) || Ft(o, s) || Ft(n, s) || Ft(Ia, s) || Ft(i.config.globalProperties, s) || (u = a.__cssModules) && u[s]); 2183 }, 2184 defineProperty(t, e, r) { 2185 return r.get != null ? t._.accessCache[e] = 0 : Ft(r, "value") && this.set(t, e, r.value, null), Reflect.defineProperty(t, e, r); 2186 } 2187}; 2188({}).NODE_ENV !== "production" && (uE.ownKeys = (t) => (De( 2189 "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead." 2190), Reflect.ownKeys(t))); 2191function PC(t) { 2192 const e = {}; 2193 return Object.defineProperty(e, "_", { 2194 configurable: !0, 2195 enumerable: !1, 2196 get: () => t 2197 }
2197), Object.keys(Ia).forEach((r) => { 2198 Object.defineProperty(e, r, { 2199 configurable: !0, 2200 enumerable: !1, 2201 get: () => Ia[r](t), 2202 // intercepted by the proxy so no need for implementation, 2203 // but needed to prevent set errors 2204 set: Or 2205 }); 2206 }), e; 2207} 2208function FC(t) { 2209 const { 2210 ctx: e, 2211 propsOptions: [r] 2212 } = t; 2213 r && Object.keys(r).forEach((n) => { 2214 Object.defineProperty(e, n, { 2215 enumerable: !0, 2216 configurable: !0, 2217 get: () => t.props[n], 2218 set: Or 2219 }); 2220 }); 2221} 2222function RC(t) { 2223 const { ctx: e, setupState: r } = t; 2224 Object.keys(/* @__PURE__ */ ft(r)).forEach((n) => { 2225 if (!r.__isScriptSetup) { 2226 if (Kv(n[0])) { 2227 De( 2228 `setup() return property ${JSON.stringify( 2229 n 2230 )} should not start with "$" or "_" which are reserved prefixes for Vue internals.` 2231 ); 2232 return; 2233 } 2234 Object.defineProperty(e, n, { 2235 enumerable: !0, 2236 configurable: !0, 2237 get: () => r[n], 2238 set: Or 2239 }); 2240 } 2241 }); 2242} 2243function Yg(t) { 2244 return Xe(t) ? t.reduce( 2245 (e, r) => (e[r] = null, e), 2246 {} 2247 ) : t; 2248} 2249function IC() { 2250 const t = /* @__PURE__ */ Object.create(null); 2251 return (e, r) => { 2252 t[r] ? De(`${e} property "${r}" is already defined in ${t[r]}.`) : t[r] = e; 2253 }; 2254} 2255let Dp = !0; 2256function MC(t) { 2257 const e = Gv(t), r = t.proxy, n = t.ctx; 2258 Dp = !1, e.beforeCreate && Zg(e.beforeCreate, t, "bc"); 2259 const { 2260 // state 2261 data: i, 2262 computed: o, 2263 methods: a, 2264 watch: s, 2265 provide: u, 2266 inject: l, 2267 // lifecycle 2268 created: f, 2269 beforeMount: h, 2270 mounted: g, 2271 beforeUpdate: d, 2272 updated: m, 2273 activated: b, 2274 deactivated: S, 2275 beforeDestroy: w, 2276 beforeUnmount: D, 2277 destroyed: T, 2278 unmounted: _, 2279 render: x, 2280 renderTracked: p, 2281 renderTriggered: N, 2282 errorCaptured: V, 2283 serverPrefetch: P, 2284 // public API 2285 expose: M, 2286 inheritAttrs: U, 2287 // assets 2288 components: re, 2289 directives: Q, 2290 filters: ne 2291 } = e, ee = {}.NODE_ENV !== "production" ? IC() : null; 2292 if ({}.NODE_ENV !== "production") { 2293 const [Z] = t.propsOptions; 2294 if (Z) 2295 for (const G in Z) 2296 ee("Props", G); 2297 } 2298 if (l && VC(l, n, ee), a) 2299 for (const Z in a) { 2300 const G = a[Z]; 2301 it(G) ? ({}.NODE_ENV !== "production" ? Object.defineProperty(n, Z, { 2302 value: G.bind(r), 2303 configurable: !0, 2304 enumerable: !0, 2305 writable: !0 2306 }) : n[Z] = G.bind(r), {}.NODE_ENV !== "production" && ee("Methods", Z)) : {}.NODE_ENV !== "production" && De( 2307 `Method "${Z}" has type "${typeof G}" in the component definition. Did you reference the function correctly?` 2308 ); 2309 } 2310 if (i) { 2311 ({}).NODE_ENV !== "production" && !it(i) && De( 2312 "The data option must be a function. Plain object usage is no longer supported." 2313 ); 2314 const Z = i.call(r, r); 2315 if ({}.NODE_ENV !== "production" && Dv(Z) && De( 2316 "data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>." 2317 ), !Dt(Z)) 2318 ({}).NODE_ENV !== "production" && De("data() should return an object."); 2319 else if (t.data = /* @__PURE__ */ wo(Z), {}.NODE_ENV !== "production") 2320 for (const G in Z) 2321 ee("Data", G), Kv(G[0]) || Object.defineProperty(n, G, { 2322 configurable: !0, 2323 enumerable: !0, 2324 get: () => Z[G], 2325 set: Or 2326 }); 2327 } 2328 if (Dp = !0, o) 2329 for (const Z in o) { 2330 const G = o[Z], se = it(G) ? G.bind(r, r) : it(G.get) ? G.get.bind(r, r) : Or; 2331 ({}).NODE_ENV !== "production" && se === Or && De(`Computed property "${Z}" has no getter.`); 2332 const de = !it(G) && it(G.set) ? G.set.bind(r) : {}.NODE_ENV !== "production" ? () => { 2333 De( 2334 `Write operation failed: computed property "${Z}" is readonly.` 2335 ); 2336 } : Or, Re = Vt({ 2337 get: se, 2338 set: de 2339 }); 2340 Object.defineProperty(n, Z, { 2341 enumerable: !0, 2342 configurable: !0, 2343 get: () => Re.value, 2344 set: (ze) => Re.value = ze 2345 }), {}.NODE_ENV !== "production" && ee("Computed", Z); 2346 } 2347 if (s) 2348 for (const Z in s) 2349 cE(s[Z], n, r, Z); 2350 if (u) { 2351 const Z = it(u) ? u.call(r) : u;
2352 Reflect.ownKeys(Z).forEach((G) => { 2353 Bv(G, Z[G]); 2354 }); 2355 } 2356 f && Zg(f, t, "c"); 2357 function L(Z, G) { 2358 Xe(G) ? G.forEach((se) => Z(se.bind(r))) : G && Z(G.bind(r)); 2359 } 2360 if (L(SC, h), L(Xu, g), L(_C, d), L(TC, m), L(EC, b), L(xC, S), L(NC, V), L(AC, p), L(OC, N), L(Wv, D), L(xd, _), L(CC, P), Xe(M)) 2361 if (M.length) { 2362 const Z = t.exposed || (t.exposed = {}); 2363 M.forEach((G) => { 2364 Object.defineProperty(Z, G, { 2365 get: () => r[G], 2366 set: (se) => r[G] = se, 2367 enumerable: !0 2368 }); 2369 }); 2370 } else 2371 t.exposed || (t.exposed = {}); 2372 x && t.render === Or && (t.render = x), U != null && (t.inheritAttrs = U), re && (t.components = re), Q && (t.directives = Q), P && oE(t); 2373} 2374function VC(t, e, r = Or) { 2375 Xe(t) && (t = Pp(t)); 2376 for (const n in t) { 2377 const i = t[n]; 2378 let o; 2379 Dt(i) ? "default" in i ? o = Ra( 2380 i.from || n, 2381 i.default, 2382 !0 2383 ) : o = Ra(i.from || n) : o = Ra(i), /* @__PURE__ */ Rt(o) ? Object.defineProperty(e, n, { 2384 enumerable: !0, 2385 configurable: !0, 2386 get: () => o.value, 2387 set: (a) => o.value = a 2388 }) : e[n] = o, {}.NODE_ENV !== "production" && r("Inject", n); 2389 } 2390} 2391function Zg(t, e, r) { 2392 Ki( 2393 Xe(t) ? t.map((n) => n.bind(e.proxy)) : t.bind(e.proxy), 2394 e, 2395 r 2396 ); 2397} 2398function cE(t, e, r, n) { 2399 let i = n.includes(".") ? iE(r, n) : () => r[n]; 2400 if (nr(t)) { 2401 const o = e[t]; 2402 it(o) ? Ir(i, o) : {}.NODE_ENV !== "production" && De(`Invalid watch handler specified by key "${t}"`, o); 2403 } else if (it(t)) 2404 Ir(i, t.bind(r)); 2405 else if (Dt(t)) 2406 if (Xe(t)) 2407 t.forEach((o) => cE(o, e, r, n)); 2408 else { 2409 const o = it(t.handler) ? t.handler.bind(r) : e[t.handler]; 2410 it(o) ? Ir(i, o, t) : {}.NODE_ENV !== "production" && De(`Invalid watch handler specified by key "${t.handler}"`, o); 2411 } 2412 else 2413 ({}).NODE_ENV !== "production" && De(`Invalid watch option: "${n}"`, t); 2414} 2415function Gv(t) { 2416 const e = t.type, { mixins: r, extends: n } = e, { 2417 mixins: i, 2418 optionsCache: o, 2419 config: { optionMergeStrategies: a } 2420 } = t.appContext, s = o.get(e); 2421 let u; 2422 return s ? u = s : !i.length && !r && !n ? u = e : (u = {}, i.length && i.forEach( 2423 (l) => If(u, l, a, !0) 2424 ), If(u, e, a)), Dt(e) && o.set(e, u), u; 2425} 2426function If(t, e, r, n = !1) { 2427 const { mixins: i, extends: o } = e; 2428 o && If(t, o, r, !0), i && i.forEach( 2429 (a) => If(t, a, r, !0) 2430 ); 2431 for (const a in e) 2432 if (n && a === "expose") 2433 ({}).NODE_ENV !== "production" && De( 2434 '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.' 2435 ); 2436 else { 2437 const s = LC[a] || r && r[a]; 2438 t[a] = s ? s(t[a], e[a]) : e[a]; 2439 } 2440 return t; 2441} 2442const LC = { 2443 data: Jg, 2444 props: Qg, 2445 emits: Qg, 2446 // objects 2447 methods: Wl, 2448 computed: Wl, 2449 // lifecycle 2450 beforeCreate: $r, 2451 created: $r, 2452 beforeMount: $r, 2453 mounted: $r, 2454 beforeUpdate: $r, 2455 updated: $r, 2456 beforeDestroy: $r, 2457 beforeUnmount: $r, 2458 destroyed: $r, 2459 unmounted: $r, 2460 activated: $r, 2461 deactivated: $r, 2462 errorCaptured: $r, 2463 serverPrefetch: $r, 2464 // assets 2465 components: Wl, 2466 directives: Wl, 2467 // watch 2468 watch: BC, 2469 // provide / inject 2470 provide: Jg, 2471 inject: jC 2472}; 2473function Jg(t, e) { 2474 return e ? t ? function() { 2475 return rr( 2476 it(t) ? t.call(this, this) : t, 2477 it(e) ? e.call(this, this) : e 2478 ); 2479 } : e : t; 2480} 2481function jC(t, e) { 2482 return Wl(Pp(t), Pp(e)); 2483} 2484function Pp(t) { 2485 if (Xe(t)) { 2486 const e = {}; 2487 for (let r = 0; r < t.length; r++) 2488 e[t[r]] = t[r]; 2489 return e; 2490 } 2491 return t; 2492} 2493function $r(t, e) { 2494 return t ? [...new Set([].concat(t, e))] : e; 2495} 2496function Wl(t, e) { 2497 return t ? rr(/* @__PURE__ */ Object.create(null), t, e) : e; 2498} 2499function Qg(t, e) { 2500 return t ? Xe(t) && Xe(e) ? [.../* @__PURE__ */ new Set([...t, ...e])] : rr( 2501 /* @__PURE__ */ Object.create(null), 2502 Yg(t), 2503 Yg(e ?? {}) 2504 ) : e; 2505} 2506function BC(t, e) { 2507 if (!t) 2508 return e; 2509 if (!e) 2510 return t; 2511 const r = rr(/* @__PURE__ */ Object.create(null), t); 2512 for (const n in e) 2513 r[n] = $r(t[n], e[n]); 2514 return r; 2515} 2516function fE() { 2517 return { 2518 app: null, 2519 config: { 2520 isNativeTag: m1, 2521 performance: !1, 2522 globalProperties: {}, 2523 optionMergeStrategies: {}, 2524 errorHandler: void 0, 2525 warnHandler: void 0, 2526 compilerOptions: {} 2527 }, 2528 mixins: [], 2529 components: {}, 2530 directives: {}, 2531 provides: /* @__PURE__ */ Object.create(null), 2532 optionsCache: /* @__PURE__ */ new WeakMap(), 2533 propsCache: /* @__PURE__ */ new WeakMap(), 2534 emitsCache: /* @__PURE__ */ new WeakMap() 2535 }; 2536}
2537let UC = 0; 2538function HC(t, e) { 2539 return function(n, i = null) { 2540 it(n) || (n = rr({}, n)), i != null && !Dt(i) && ({}.NODE_ENV !== "production" && De("root props passed to app.mount() must be an object."), i = null); 2541 const o = fE(), a = /* @__PURE__ */ new WeakSet(), s = []; 2542 let u = !1; 2543 const l = o.app = { 2544 _uid: UC++, 2545 _component: n, 2546 _props: i, 2547 _container: null, 2548 _context: o, 2549 _instance: null, 2550 version: lm, 2551 get config() { 2552 return o.config; 2553 }, 2554 set config(f) { 2555 ({}).NODE_ENV !== "production" && De( 2556 "app.config cannot be replaced. Modify individual options instead." 2557 ); 2558 }, 2559 use(f, ...h) { 2560 return a.has(f) ? {}.NODE_ENV !== "production" && De("Plugin has already been applied to target app.") : f && it(f.install) ? (a.add(f), f.install(l, ...h)) : it(f) ? (a.add(f), f(l, ...h)) : {}.NODE_ENV !== "production" && De( 2561 'A plugin must either be a function or an object with an "install" function.' 2562 ), l; 2563 }, 2564 mixin(f) { 2565 return o.mixins.includes(f) ? {}.NODE_ENV !== "production" && De( 2566 "Mixin has already been applied to target app" + (f.name ? `: ${f.name}` : "") 2567 ) : o.mixins.push(f), l; 2568 }, 2569 component(f, h) { 2570 return {}.NODE_ENV !== "production" && Vp(f, o.config), h ? ({}.NODE_ENV !== "production" && o.components[f] && De(`Component "${f}" has already been registered in target app.`), o.components[f] = h, l) : o.components[f]; 2571 }, 2572 directive(f, h) { 2573 return {}.NODE_ENV !== "production" && nE(f), h ? ({}.NODE_ENV !== "production" && o.directives[f] && De(`Directive "${f}" has already been registered in target app.`), o.directives[f] = h, l) : o.directives[f]; 2574 }, 2575 mount(f, h, g) { 2576 if (u) 2577 ({}).NODE_ENV !== "production" && De( 2578 "App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`" 2579 ); 2580 else { 2581 ({}).NODE_ENV !== "production" && f.__vue_app__ && De( 2582 "There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first." 2583 ); 2584 const d = l._ceVNode || St(n, i); 2585 return d.appContext = o, g === !0 ? g = "svg" : g === !1 && (g = void 0), {}.NODE_ENV !== "production" && (o.reload = () => { 2586 const m = Qo(d); 2587 m.el = null, t(m, f, g); 2588 }), h && e ? e(d, f) : t(d, f, g), u = !0, l._container = f, f.__vue_app__ = l, {}.NODE_ENV !== "production" && (l._instance = d.component, oC(l, lm)), Sd(d.component); 2589 } 2590 }, 2591 onUnmount(f) { 2592 ({}).NODE_ENV !== "production" && typeof f != "function" && De( 2593 `Expected function as first argument to app.onUnmount(), but got ${typeof f}` 2594 ), s.push(f); 2595 }, 2596 unmount() { 2597 u ? (Ki( 2598 s, 2599 l._instance, 2600 16 2601 ), t(null, l._container), {}.NODE_ENV !== "production" && (l._instance = null, aC(l)), delete l._container.__vue_app__) : {}.NODE_ENV !== "production" && De("Cannot unmount an app that is not mounted."); 2602 }, 2603 provide(f, h) { 2604 return {}.NODE_ENV !== "production" && f in o.provides && (Ft(o.provides, f) ? De( 2605 `App already provides property with key "${String(f)}". It will be overwritten with the new value.` 2606 ) : De( 2607 `App already provides property with key "${String(f)}" inherited from its parent element. It will be overwritten with the new value.` 2608 )), o.provides[f] = h, l; 2609 }, 2610 runWithContext(f) { 2611 const h = Vs; 2612 Vs = l; 2613 try { 2614 return f(); 2615 } finally { 2616 Vs = h; 2617 } 2618 } 2619 }; 2620 return l; 2621 }; 2622} 2623let Vs = null; 2624const zC = (t, e) => e === "modelValue" || e === "model-value" ? t.modelModifiers : t[`${e}Modifiers`] || t[`${yr(e)}
2624Modifiers`] || t[`${vi(e)}Modifiers`]; 2625function WC(t, e, ...r) { 2626 if (t.isUnmounted) 2627 return; 2628 const n = t.vnode.props || Gt; 2629 if ({}.NODE_ENV !== "production") { 2630 const { 2631 emitsOptions: f, 2632 propsOptions: [h] 2633 } = t; 2634 if (f) 2635 if (!(e in f)) 2636 (!h || !(wa(yr(e)) in h)) && De( 2637 `Component emitted event "${e}" but it is neither declared in the emits option nor as an "${wa(yr(e))}" prop.` 2638 ); 2639 else { 2640 const g = f[e]; 2641 it(g) && (g(...r) || De( 2642 `Invalid event arguments: event validation failed for event "${e}".` 2643 )); 2644 } 2645 } 2646 let i = r; 2647 const o = e.startsWith("update:"), a = o && zC(n, e.slice(7)); 2648 if (a && (a.trim && (i = r.map((f) => nr(f) ? f.trim() : f)), a.number && (i = r.map(E1))), {}.NODE_ENV !== "production" && dC(t, e, i), {}.NODE_ENV !== "production") { 2649 const f = e.toLowerCase(); 2650 f !== e && n[wa(f)] && De( 2651 `Event "${f}" is emitted in component ${Ju( 2652 t, 2653 t.type 2654 )} but the handler is registered for "${e}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${vi( 2655 e 2656 )}" instead of "${e}".` 2657 ); 2658 } 2659 let s, u = n[s = wa(e)] || // also try camelCase event handler (#2249) 2660 n[s = wa(yr(e))]; 2661 !u && o && (u = n[s = wa(vi(e))]), u && Ki( 2662 u, 2663 t, 2664 6, 2665 i 2666 ); 2667 const l = n[s + "Once"]; 2668 if (l) { 2669 if (!t.emitted) 2670 t.emitted = {}; 2671 else if (t.emitted[s]) 2672 return; 2673 t.emitted[s] = !0, Ki( 2674 l, 2675 t, 2676 6, 2677 i 2678 ); 2679 } 2680} 2681const qC = /* @__PURE__ */ new WeakMap(); 2682function dE(t, e, r = !1) { 2683 const n = r ? qC : e.emitsCache, i = n.get(t); 2684 if (i !== void 0) 2685 return i; 2686 const o = t.emits; 2687 let a = {}, s = !1; 2688 if (!it(t)) { 2689 const u = (l) => { 2690 const f = dE(l, e, !0); 2691 f && (s = !0, rr(a, f)); 2692 }; 2693 !r && e.mixins.length && e.mixins.forEach(u), t.extends && u(t.extends), t.mixins && t.mixins.forEach(u); 2694 } 2695 return !o && !s ? (Dt(t) && n.set(t, null), null) : (Xe(o) ? o.forEach((u) => a[u] = null) : rr(a, o), Dt(t) && n.set(t, a), a); 2696} 2697function wd(t, e) { 2698 return !t || !Hu(e) ? !1 : (e = e.slice(2).replace(/Once$/, ""), Ft(t, e[0].toLowerCase() + e.slice(1)) || Ft(t, vi(e)) || Ft(t, e)); 2699} 2700let Fp = !1; 2701function Mf() { 2702 Fp = !0; 2703} 2704function Rh(t) { 2705 const { 2706 type: e, 2707 vnode: r, 2708 proxy: n, 2709 withProxy: i, 2710 propsOptions: [o], 2711 slots: a, 2712 attrs: s, 2713 emit: u, 2714 render: l, 2715 renderCache: f, 2716 props: h, 2717 data: g, 2718 setupState: d, 2719 ctx: m, 2720 inheritAttrs: b 2721 } = t, S = Ff(t); 2722 let w, D; 2723 ({}).NODE_ENV !== "production" && (Fp = !1); 2724 try { 2725 if (r.shapeFlag & 4) { 2726 const x = i || n, p = {}.NODE_ENV !== "production" && d.__isScriptSetup ? new Proxy(x, { 2727 get(N, V, P) { 2728 return De( 2729 `Property '${String( 2730 V 2731 )}' was accessed via 'this'. Avoid using 'this' in templates.` 2732 ), Reflect.get(N, V, P); 2733 } 2734 }) : x; 2735 w = di( 2736 l.call( 2737 p, 2738 x, 2739 f, 2740 {}
2740.NODE_ENV !== "production" ? /* @__PURE__ */ Hi(h) : h, 2741 d, 2742 g, 2743 m 2744 ) 2745 ), D = s; 2746 } else { 2747 const x = e; 2748 ({}).NODE_ENV !== "production" && s === h && Mf(), w = di( 2749 x.length > 1 ? x( 2750 {}.NODE_ENV !== "production" ? /* @__PURE__ */ Hi(h) : h, 2751 {}.NODE_ENV !== "production" ? { 2752 get attrs() { 2753 return Mf(), /* @__PURE__ */ Hi(s); 2754 }, 2755 slots: a, 2756 emit: u 2757 } : { attrs: s, slots: a, emit: u } 2758 ) : x( 2759 {}.NODE_ENV !== "production" ? /* @__PURE__ */ Hi(h) : h, 2760 null 2761 ) 2762 ), D = e.props ? s : KC(s); 2763 } 2764 } catch (x) { 2765 au.length = 0, qu(x, t, 1), w = St(An); 2766 } 2767 let T = w, _; 2768 if ({}.NODE_ENV !== "production" && w.patchFlag > 0 && w.patchFlag & 2048 && ([T, _] = hE(w)), D && b !== !1) { 2769 const x = Object.keys(D), { shapeFlag: p } = T; 2770 if (x.length) { 2771 if (p & 7) 2772 o && x.some(_u) && (D = GC( 2773 D, 2774 o 2775 )), T = Qo(T, D, !1, !0); 2776 else if ({}.NODE_ENV !== "production" && !Fp && T.type !== An) { 2777 const N = Object.keys(s), V = [], P = []; 2778 for (let M = 0, U = N.length; M < U; M++) { 2779 const re = N[M]; 2780 Hu(re) ? _u(re) || V.push(re[2].toLowerCase() + re.slice(3)) : P.push(re); 2781 } 2782 P.length && De( 2783 `Extraneous non-props attributes (${P.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.` 2784 ), V.length && De( 2785 `Extraneous non-emits event listeners (${V.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.` 2786 ); 2787 } 2788 } 2789 } 2790 return r.dirs && ({}.NODE_ENV !== "production" && !$g(T) && De( 2791 "Runtime directive used on component with non-element root node. The directives will not function as intended." 2792 ), T = Qo(T, null, !1, !0), T.dirs = T.dirs ? T.dirs.concat(r.dirs) : r.dirs), r.transition && ({}.NODE_ENV !== "production" && !$g(T) && De( 2793 "Component inside <Transition> renders non-element root node that cannot be animated." 2794 ), Hv(T, r.transition)), {}.NODE_ENV !== "production" && _ ? _(T) : w = T, Ff(S), w; 2795} 2796const hE = (t) => { 2797 const e = t.children, r = t.dynamicChildren, n = Xv(e, !1); 2798 if (n) { 2799 if ({}.NODE_ENV !== "production" && n.patchFlag > 0 && n.patchFlag & 2048) 2800 return hE(n); 2801 } else 2802 return [t, void 0]; 2803 const i = e.indexOf(n), o = r ? r.indexOf(n) : -1, a = (s) => { 2804 e[i] = s, r && (o > -1 ? r[o] = s : s.patchFlag > 0 && (t.dynamicChildren = [...r, s])); 2805 }; 2806 return [di(n), a]; 2807}; 2808function Xv(t, e = !0) { 2809 let r; 2810 for (let n = 0; n < t.length; n++) { 2811 const i = t[n]; 2812 if (Ks(i)) { 2813 if (i.type !== An || i.children === "v-if") { 2814 if (r) 2815 return; 2816 if (r = i, {}.NODE_ENV !== "production" && e && r.patchFlag > 0 && r.patchFlag & 2048) 2817 return Xv(r.children); 2818 } 2819 } else 2820 return; 2821 } 2822 return r; 2823} 2824const KC = (t) => { 2825 let e; 2826 for (const r in t) 2827 (r === "class" || r === "style" || Hu(r)) && ((e || (e = {}))[r] = t[r]); 2828 return e; 2829}, GC = (t, e) => { 2830 const r = {}; 2831 for (const n in t) 2832 (!_u(n) || !(n.slice(9) in e)) && (r[n] = t[n]); 2833 return r; 2834}, $g = (t) => t.shapeFlag & 7 || t.type === An; 2835function XC(t, e, r) { 2836 const { props: n, children: i, component: o } = t, { props: a, children: s, patchFlag: u } = e, l = o.emitsOptions; 2837 if ({}.NODE_ENV !== "production" && (i || s) && Sn || e.dirs || e.transition) 2838 return !0; 2839 if (r && u >= 0) { 2840 if (u & 1024) 2841 return !0; 2842 if (u & 16) 2843 return n ? em(n, a, l) : !!a; 2844 if (u & 8) { 2845 const f = e.dynamicProps; 2846 for (let h = 0; h < f.length; h++) { 2847 const g = f[h]; 2848 if (pE(a, n, g) && !wd(l, g)) 2849 return !0; 2850 } 2851 } 2852 } else 2853 return (i || s) && (!s || !s.$stable) ? !0 : n === a ? !1 : n ? a ? em(n, a, l) : !0 : !!a; 2854 return !1; 2855} 2856function em(t, e, r) { 2857 const n = Object.keys(e); 2858 if (n.length !== Object.keys(t).length) 2859 return !0; 2860 for (let i = 0; i < n.length; i++) { 2861 const o = n[i]; 2862 if (pE(e, t, o) && !wd(r, o)) 2863 return !0; 2864 } 2865 return !1; 2866} 2867function pE(t, e, r) { 2868 const n = t[r], i = e[r]; 2869 return r === "style" && Dt(n) && Dt(i) ? !Wu(n, i) : n !== i; 2870} 2871function YC({ vnode: t, parent: e, suspense: r }, n) { 2872 for (; e; ) { 2873 const i = e.subTree; 2874 if (i.suspense && i.suspense.activeBranch === t && (i.suspense.vnode.el = i.el = n, t = i), i === t) 2875 (t = e.vnode).el = n, e = e.parent; 2876 else 2877 break; 2878 } 2879 r && r.activeBranch === t && (r.vnode.el = n); 2880} 2881const vE = {}, gE = () => Object.create(vE), mE = (t) => Object.getPrototypeOf(t) === vE; 2882function ZC(t, e, r, n = !1) { 2883 const i = {}, o = gE(); 2884 t.propsDefaults = /* @__PURE__ */ Object.create(null), yE(t, e, i, o); 2885 for (const a in t.propsOptions[0])
2886 a in i || (i[a] = void 0); 2887 ({}).NODE_ENV !== "production" && EE(e || {}, i, t), r ? t.props = n ? i : /* @__PURE__ */ LT(i) : t.type.props ? t.props = i : t.props = o, t.attrs = o; 2888} 2889function JC(t) { 2890 for (; t; ) { 2891 if (t.type.__hmrId) 2892 return !0; 2893 t = t.parent; 2894 } 2895} 2896function QC(t, e, r, n) { 2897 const { 2898 props: i, 2899 attrs: o, 2900 vnode: { patchFlag: a } 2901 } = t, s = /* @__PURE__ */ ft(i), [u] = t.propsOptions; 2902 let l = !1; 2903 if ( 2904 // always force full diff in dev 2905 // - #1942 if hmr is enabled with sfc component 2906 // - vite#872 non-sfc component used by sfc component 2907 !({}.NODE_ENV !== "production" && JC(t)) && (n || a > 0) && !(a & 16) 2908 ) { 2909 if (a & 8) { 2910 const f = t.vnode.dynamicProps; 2911 for (let h = 0; h < f.length; h++) { 2912 let g = f[h]; 2913 if (wd(t.emitsOptions, g)) 2914 continue; 2915 const d = e[g]; 2916 if (u) 2917 if (Ft(o, g)) 2918 d !== o[g] && (o[g] = d, l = !0); 2919 else { 2920 const m = yr(g); 2921 i[m] = Rp( 2922 u, 2923 s, 2924 m, 2925 d, 2926 t, 2927 !1 2928 ); 2929 } 2930 else 2931 d !== o[g] && (o[g] = d, l = !0); 2932 } 2933 } 2934 } else { 2935 yE(t, e, i, o) && (l = !0); 2936 let f; 2937 for (const h in s) 2938 (!e || // for camelCase 2939 !Ft(e, h) && // it's possible the original props was passed in as kebab-case 2940 // and converted to camelCase (#955) 2941 ((f = vi(h)) === h || !Ft(e, f))) && (u ? r && // for camelCase 2942 (r[h] !== void 0 || // for kebab-case 2943 r[f] !== void 0) && (i[h] = Rp( 2944 u, 2945 s, 2946 h, 2947 void 0, 2948 t, 2949 !0 2950 )) : delete i[h]); 2951 if (o !== s) 2952 for (const h in o) 2953 (!e || !Ft(e, h)) && (delete o[h], l = !0); 2954 } 2955 l && Li(t.attrs, "set", ""), {}.NODE_ENV !== "production" && EE(e || {}, i, t); 2956} 2957function yE(t, e, r, n) { 2958 const [i, o] = t.propsOptions; 2959 let a = !1, s; 2960 if (e) 2961 for (let u in e) { 2962 if (tu(u)) 2963 continue; 2964 const l = e[u]; 2965 let f; 2966 i && Ft(i, f = yr(u)) ? !o || !o.includes(f) ? r[f] = l : (s || (s = {}))[f] = l : wd(t.emitsOptions, u) || (!(u in n) || l !== n[u]) && (n[u] = l, a = !0); 2967 } 2968 if (o) { 2969 const u = /* @__PURE__ */ ft(r), l = s || Gt; 2970 for (let f = 0; f < o.length; f++) { 2971 const h = o[f]; 2972 r[h] = Rp( 2973 i, 2974 u, 2975 h, 2976 l[h], 2977 t, 2978 !Ft(l, h) 2979 ); 2980 } 2981 } 2982 return a; 2983} 2984function Rp(t, e, r, n, i, o) { 2985 const a = t[r]; 2986 if (a != null) { 2987 const s = Ft(a, "default"); 2988 if (s && n === void 0) { 2989 const u = a.default; 2990 if (a.type !== Function && !a.skipFactory && it(u)) { 2991 const { propsDefaults: l } = i; 2992 if (r in l) 2993 n = l[r]; 2994 else { 2995 const f = Zu(i); 2996 n = l[r] = u.call( 2997 null, 2998 e 2999 ), f(); 3000 } 3001 } else 3002 n = u; 3003 i.ce && i.ce._setProp(r, n); 3004 } 3005 a[ 3006 0 3007 /* shouldCast */ 3008 ] && (o && !s ? n = !1 : a[ 3009 1 3010 /* shouldCastTrue */ 3011 ] && (n === "" || n === vi(r)) && (n = !0)); 3012 } 3013 return n; 3014} 3015const $C = /* @__PURE__ */ new WeakMap(); 3016function bE(t, e, r = !1) { 3017 const n = r ? $C : e.propsCache, i = n.get(t); 3018 if (i) 3019 return i; 3020 const o = t.props, a = {}, s = []; 3021 let u = !1; 3022 if (!it(t)) { 3023 const f = (h) => { 3024 u = !0; 3025 const [g, d] = bE(h, e, !0); 3026 rr(a, g), d && s.push(...d); 3027 }; 3028 !r && e.mixins.length && e.mixins.forEach(f), t.extends && f(t.extends), t.mixins && t.mixins.forEach(f); 3029 } 3030 if (!o && !u) 3031 return Dt(t) && n.set(t, Is), Is; 3032 if (Xe(o)) 3033 for (let f = 0; f < o.length; f++) { 3034 ({}).NODE_ENV !== "production" && !nr(o[f]) && De("props must be strings when using array syntax.", o[f]); 3035 const h = yr(o[f]); 3036 tm(h) && (a[h] = Gt); 3037 } 3038 else if (o) { 3039 ({}).NODE_ENV !== "production" && !Dt(o) && De("invalid props options", o); 3040 for (const f in o) { 3041 const h = yr(f); 3042 if (tm(h)) { 3043 const g = o[f], d = a[h] = Xe(g) || it(g) ? { type: g } : rr({}, g), m = d.type; 3044 let b = !1, S = !0; 3045 if (Xe(m)) 3046 for (let w = 0; w < m.length; ++w) { 3047 const D = m[w], T = it(D) && D.name; 3048 if (T === "Boolean") { 3049 b = !0; 3050 break; 3051 } else 3052 T === "String" && (S = !1); 3053 } 3054 else 3055 b = it(m) && m.name === "Boolean"; 3056 d[ 3057 0 3058 /* shouldCast */ 3059 ] = b, d[ 3060 1 3061 /* shouldCastTrue */ 3062 ] = S, (b || Ft(d, "default")) && s.push(h); 3063 } 3064 } 3065 } 3066 const l = [a, s]; 3067 return Dt(t) && n.set(t, l), l; 3068} 3069function tm(t) { 3070 return t[0] !== "$" && !tu(t) ? !0 : ({}.NODE_ENV !== "production" && De(`Invalid prop name: "${t}" is a reserved property.`), !1); 3071} 3072function eO(t) { 3073 return t === null ? "null" : typeof t == "function" ? t.name || "" : typeof t == "object" && t.constructor && t.constructor.name || ""; 3074} 3075function EE(t, e, r) { 3076 const n = /* @__PURE__ */ ft(e), i = r.propsOptions[0], o = Object.keys(t).map((a) => yr(a)); 3077 for (const a in i) { 3078 let s = i[a]; 3079 s != null && tO( 3080 a, 3081 n[a], 3082 s, 3083 {}
3083.NODE_ENV !== "production" ? /* @__PURE__ */ Hi(n) : n, 3084 !o.includes(a) 3085 ); 3086 } 3087} 3088function tO(t, e, r, n, i) { 3089 const { type: o, required: a, validator: s, skipCheck: u } = r; 3090 if (a && i) { 3091 De('Missing required prop: "' + t + '"'); 3092 return; 3093 } 3094 if (!(e == null && !a)) { 3095 if (o != null && o !== !0 && !u) { 3096 let l = !1; 3097 const f = Xe(o) ? o : [o], h = []; 3098 for (let g = 0; g < f.length && !l; g++) { 3099 const { valid: d, expectedType: m } = nO(e, f[g]); 3100 h.push(m || ""), l = d; 3101 } 3102 if (!l) { 3103 De(iO(t, e, h)); 3104 return; 3105 } 3106 } 3107 s && !s(e, n) && De('Invalid prop: custom validator check failed for prop "' + t + '".'); 3108 } 3109} 3110const rO = /* @__PURE__ */ _o( 3111 "String,Number,Boolean,Function,Symbol,BigInt" 3112); 3113function nO(t, e) { 3114 let r; 3115 const n = eO(e); 3116 if (n === "null") 3117 r = t === null; 3118 else if (rO(n)) { 3119 const i = typeof t; 3120 r = i === n.toLowerCase(), !r && i === "object" && (r = t instanceof e); 3121 } else 3122 n === "Object" ? r = Dt(t) : n === "Array" ? r = Xe(t) : r = t instanceof e; 3123 return { 3124 valid: r, 3125 expectedType: n 3126 }; 3127} 3128function iO(t, e, r) { 3129 if (r.length === 0) 3130 return `Prop type [] for prop "${t}" won't match anything. Did you mean to use type Array instead?`; 3131 let n = `Invalid prop: type check failed for prop "${t}". Expected ${r.map(ja).join(" | ")}`; 3132 const i = r[0], o = Pv(e), a = rm(e, i), s = rm(e, o); 3133 return r.length === 1 && nm(i) && !oO(i, o) && (n += ` with value ${a}`), n += `, got ${o} `, nm(o) && (n += `with value ${s}.`), n; 3134} 3135function rm(t, e) { 3136 return e === "String" ? `"${t}"` : e === "Number" ? `${Number(t)}` : `${t}`; 3137} 3138function nm(t) { 3139 return ["string", "number", "boolean"].some((r) => t.toLowerCase() === r); 3140} 3141function oO(...t) { 3142 return t.some((e) => e.toLowerCase() === "boolean"); 3143} 3144const Yv = (t) => t === "_" || t === "_ctx" || t === "$stable", Zv = (t) => Xe(t) ? t.map(di) : [di(t)], aO = (t, e, r) => { 3145 if (e._n) 3146 return e; 3147 const n = io((...i) => ({}.NODE_ENV !== "production" && gr && !(r === null && qr) && !(r && r.root !== gr.root) && De( 3148 `Slot "${t}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.` 3149 ), Zv(e(...i))), r); 3150 return n._c = !1, n; 3151}, xE = (t, e, r) => { 3152 const n = t._ctx; 3153 for (const i in t) { 3154 if (Yv(i)) 3155 continue; 3156 const o = t[i]; 3157 if (it(o)) 3158 e[i] = aO(i, o, n); 3159 else if (o != null) { 3160 ({}).NODE_ENV !== "production" && De( 3161 `Non-function value encountered for slot "${i}". Prefer function slots for better performance.` 3162 ); 3163 const a = Zv(o); 3164 e[i] = () => a; 3165 } 3166 } 3167}, wE = (t, e) => { 3168 ({}).NODE_ENV !== "production" && !zv(t.vnode) && De( 3169 "Non-function value encountered for default slot. Prefer function slots for better performance." 3170 ); 3171 const r = Zv(e); 3172 t.slots.default = () => r; 3173}, Ip = (t, e, r) => { 3174 for (const n in e) 3175 (r || !Yv(n)) && (t[n] = e[n]); 3176}, sO = (t, e, r) => { 3177 const n = t.slots = gE(); 3178 if (t.vnode.shapeFlag & 32) { 3179 const i = e._; 3180 i ? (Ip(n, e, r), r && Af(n, "_", i, !0)) : xE(e, n); 3181 } else 3182 e && wE(t, e); 3183}, lO = (t, e, r) => { 3184 const { vnode: n, slots: i } = t; 3185 let o = !0, a = Gt; 3186 if (n.shapeFlag & 32) { 3187 const s = e._; 3188 s ? {}.NODE_ENV !== "production" && Sn ? (Ip(i, e, r), Li(t, "set", "$slots")) : r && s === 1 ? o = !1 : Ip(i, e, r) : (o = !e.$stable, xE(e, i)), a = e; 3189 } else 3190 e && (wE(t, e), a = { default: 1 }); 3191 if (o) 3192 for (const s in i) 3193 !Yv(s) && a[s] == null && delete i[s]; 3194}; 3195let _l, co; 3196function oo(t, e) { 3197 t.appContext.config.performance && Vf() && co.mark(`vue-${e}-${t.uid}`), {}.NODE_ENV !== "production" && cC(t, e, Vf() ? co.now() : Date.now()); 3198} 3199function ao(t, e) { 3200 if (t.appContext.config.performance && Vf()) { 3201 const r = `vue-${e}-${t.uid}`, n = r + ":end", i = `<${Ju(t, t.type)}> ${e}`; 3202 co.mark(n), co.measure(i, r, n), co.clearMeasures(i), co.clearMarks(r), co.clearMarks(n); 3203 } 3204 ({}
3204).NODE_ENV !== "production" && fC(t, e, Vf() ? co.now() : Date.now()); 3205} 3206function Vf() { 3207 return _l !== void 0 || (typeof window < "u" && window.performance ? (_l = !0, co = window.performance) : _l = !1), _l; 3208} 3209function uO() { 3210 const t = []; 3211 if (typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ != "boolean" && ({}.NODE_ENV !== "production" && t.push("__VUE_PROD_HYDRATION_MISMATCH_DETAILS__"), rl().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = !1), {}.NODE_ENV !== "production" && t.length) { 3212 const e = t.length > 1; 3213 console.warn( 3214 `Feature flag${e ? "s" : ""} ${t.join(", ")} ${e ? "are" : "is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle. 3215 3216For more details, see https://link.vuejs.org/feature-flags.` 3217 ); 3218 } 3219} 3220const cn = pO; 3221function cO(t) { 3222 return fO(t); 3223} 3224function fO(t, e) { 3225 uO(); 3226 const r = rl(); 3227 r.__VUE__ = !0, {}.NODE_ENV !== "production" && $1(r.__VUE_DEVTOOLS_GLOBAL_HOOK__, r); 3228 const { 3229 insert: n, 3230 remove: i, 3231 patchProp: o, 3232 createElement: a, 3233 createText: s, 3234 createComment: u, 3235 setText: l, 3236 setElementText: f, 3237 parentNode: h, 3238 nextSibling: g, 3239 setScopeId: d = Or, 3240 insertStaticContent: m 3241 } = t, b = (F, q, K, ce = null, ve = null, ge = null, Ce = void 0, Ee = null, W = {}.NODE_ENV !== "production" && Sn ? !1 : !!q.dynamicChildren) => { 3242 if (F === q) 3243 return; 3244 F && !Tl(F, q) && (ce = Pe(F), je(F, ve, ge, !0), F = null), q.patchFlag === -2 && (W = !1, q.dynamicChildren = null); 3245 const { type: j, ref: ie, shapeFlag: le } = q; 3246 switch (j) { 3247 case Yu: 3248 S(F, q, K, ce); 3249 break; 3250 case An: 3251 w(F, q, K, ce); 3252 break; 3253 case of: 3254 F == null ? D(q, K, ce, Ce) : {}.NODE_ENV !== "production" && T(F, q, K, Ce); 3255 break; 3256 case En: 3257 Q( 3258 F, 3259 q, 3260 K, 3261 ce, 3262 ve, 3263 ge, 3264 Ce, 3265 Ee, 3266 W 3267 ); 3268 break; 3269 default: 3270 le & 1 ? p( 3271 F, 3272 q, 3273 K, 3274 ce, 3275 ve, 3276 ge, 3277 Ce, 3278 Ee, 3279 W 3280 ) : le & 6 ? ne( 3281 F, 3282 q, 3283 K, 3284 ce, 3285 ve, 3286 ge, 3287 Ce, 3288 Ee, 3289 W 3290 ) : le & 64 || le & 128 ? j.process( 3291 F, 3292 q, 3293 K, 3294 ce, 3295 ve, 3296 ge, 3297 Ce, 3298 Ee, 3299 W, 3300 _t 3301 ) : {}.NODE_ENV !== "production" && De("Invalid VNode type:", j, `(${typeof j})`); 3302 } 3303 ie != null && ve ? iu(ie, F && F.ref, ge, q || F, !q) : ie == null && F && F.ref != null && iu(F.ref, null, ge, F, !0); 3304 }, S = (F, q, K, ce) => { 3305 if (F == null) 3306 n( 3307 q.el = s(q.children), 3308 K, 3309 ce 3310 ); 3311 else { 3312 const ve = q.el = F.el; 3313 q.children !== F.children && l(ve, q.children); 3314 } 3315 }, w = (F, q, K, ce) => { 3316 F == null ? n( 3317 q.el = u(q.children || ""), 3318 K, 3319 ce 3320 ) : q.el = F.el; 3321 }, D = (F, q, K, ce) => { 3322 [F.el, F.anchor] = m( 3323 F.children, 3324 q, 3325 K, 3326 ce, 3327 F.el, 3328 F.anchor 3329 ); 3330 }, T = (F, q, K, ce) => { 3331 if (q.children !== F.children) { 3332 const ve = g(F.anchor); 3333 x(F), [q.el, q.anchor] = m( 3334 q.children, 3335 K, 3336 ve, 3337 ce 3338 ); 3339 } else 3340 q.el = F.el, q.anchor = F.anchor; 3341 }, _ = ({ el: F, anchor: q }, K, ce) => { 3342 let ve; 3343 for (; F && F !== q; ) 3344 ve = g(F), n(F, K, ce), F = ve; 3345 n(q, K, ce); 3346 }, x = ({ el: F, anchor: q }) => { 3347 let K; 3348 for (; F && F !== q; ) 3349 K = g(F), i(F), F = K; 3350 i(q); 3351 }, p = (F, q, K, ce, ve, ge, Ce, Ee, W) => { 3352 if (q.type === "svg" ? Ce = "svg" : q.type === "math" && (Ce = "mathml"), F == null) 3353 N( 3354 q, 3355 K, 3356 ce, 3357 ve, 3358 ge, 3359 Ce, 3360 Ee, 3361 W 3362 ); 3363 else { 3364 const j = F.el && F.el._isVueCE ? F.el : null;
3365 try { 3366 j && j._beginPatch(), M( 3367 F, 3368 q, 3369 ve, 3370 ge, 3371 Ce, 3372 Ee, 3373 W 3374 ); 3375 } finally { 3376 j && j._endPatch(); 3377 } 3378 } 3379 }, N = (F, q, K, ce, ve, ge, Ce, Ee) => { 3380 let W, j; 3381 const { props: ie, shapeFlag: le, transition: _e, dirs: Oe } = F; 3382 if (W = F.el = a( 3383 F.type, 3384 ge, 3385 ie && ie.is, 3386 ie 3387 ), le & 8 ? f(W, F.children) : le & 16 && P( 3388 F.children, 3389 W, 3390 null, 3391 ce, 3392 ve, 3393 Ih(F, ge), 3394 Ce, 3395 Ee 3396 ), Oe && ga(F, null, ce, "created"), V(W, F, F.scopeId, Ce, ce), ie) { 3397 for (const Ue in ie) 3398 Ue !== "value" && !tu(Ue) && o(W, Ue, null, ie[Ue], ge, ce); 3399 "value" in ie && o(W, "value", null, ie.value, ge), (j = ie.onVnodeBeforeMount) && Oi(j, ce, F); 3400 } 3401 ({}).NODE_ENV !== "production" && (Af(W, "__vnode", F, !0), Af(W, "__vueParentComponent", ce, !0)), Oe && ga(F, null, ce, "beforeMount"); 3402 const Ie = dO(ve, _e); 3403 if (Ie && _e.beforeEnter(W), n(W, q, K), (j = ie && ie.onVnodeMounted) || Ie || Oe) { 3404 const Ue = {}.NODE_ENV !== "production" && Sn; 3405 cn(() => { 3406 let He; 3407 ({}).NODE_ENV !== "production" && (He = zg(Ue)); 3408 try { 3409 j && Oi(j, ce, F), Ie && _e.enter(W), Oe && ga(F, null, ce, "mounted"); 3410 } finally { 3411 ({}).NODE_ENV !== "production" && zg(He); 3412 } 3413 }, ve); 3414 } 3415 }, V = (F, q, K, ce, ve) => { 3416 if (K && d(F, K), ce) 3417 for (let ge = 0; ge < ce.length; ge++) 3418 d(F, ce[ge]); 3419 if (ve) { 3420 let ge = ve.subTree; 3421 if ({}.NODE_ENV !== "production" && ge.patchFlag > 0 && ge.patchFlag & 2048 && (ge = Xv(ge.children) || ge), q === ge || TE(ge.type) && (ge.ssContent === q || ge.ssFallback === q)) { 3422 const Ce = ve.vnode; 3423 V( 3424 F, 3425 Ce, 3426 Ce.scopeId, 3427 Ce.slotScopeIds, 3428 ve.parent 3429 ); 3430 } 3431 } 3432 }, P = (F, q, K, ce, ve, ge, Ce, Ee, W = 0) => { 3433 for (let j = W; j < F.length; j++) { 3434 const ie = F[j] = Ee ? fo(F[j]) : di(F[j]); 3435 b( 3436 null, 3437 ie, 3438 q, 3439 K, 3440 ce, 3441 ve, 3442 ge, 3443 Ce, 3444 Ee 3445 ); 3446 } 3447 }, M = (F, q, K, ce, ve, ge, Ce) => { 3448 const Ee = q.el = F.el; 3449 ({}).NODE_ENV !== "production" && (Ee.__vnode = q); 3450 let { patchFlag: W, dynamicChildren: j, dirs: ie } = q; 3451 W |= F.patchFlag & 16; 3452 const le = F.props || Gt, _e = q.props || Gt; 3453 let Oe; 3454 if (K && ma(K, !1), (Oe = _e.onVnodeBeforeUpdate) && Oi(Oe, K, q, F), ie && ga(q, F, K, "beforeUpdate"), K && ma(K, !0), {}.NODE_ENV !== "production" && Sn && (W = 0, Ce = !1, j = null), (le.innerHTML && _e.innerHTML == null || le.textContent && _e.textContent == null) && f(Ee, ""), j ? (U( 3455 F.dynamicChildren, 3456 j, 3457 Ee, 3458 K, 3459 ce, 3460 Ih(q, ve), 3461 ge 3462 ), {}.NODE_ENV !== "production" && nf(F, q)) : Ce || se( 3463 F, 3464 q, 3465 Ee, 3466 null, 3467 K, 3468 ce, 3469 Ih(q, ve), 3470 ge, 3471 !1 3472 ), W > 0) { 3473 if (W & 16) 3474 re(Ee, le, _e, K, ve); 3475 else if (W & 2 && le.class !== _e.class && o(Ee, "class", null, _e.class, ve), W & 4 && o(Ee, "style", le.style, _e.style, ve), W & 8) { 3476 const Ie = q.dynamicProps; 3477 for (let Ue = 0; Ue < Ie.length; Ue++) { 3478 const He = Ie[Ue], at = le[He], xt = _e[He]; 3479 (xt !== at || He === "value") && o(Ee, He, at, xt, ve, K); 3480 } 3481 } 3482 W & 1 && F.children !== q.children && f(Ee, q.children); 3483 } else 3484 !Ce && j == null && re(Ee, le, _e, K, ve); 3485 ((Oe = _e.onVnodeUpdated) || ie) && cn(() => { 3486 Oe && Oi(Oe, K, q, F), ie && ga(q, F, K, "updated"); 3487 }, ce); 3488 }, U = (F, q, K, ce, ve, ge, Ce) => { 3489 for (let Ee = 0; Ee < q.length; Ee++) { 3490 const W = F[Ee], j = q[Ee], ie = ( 3491 // oldVNode may be an errored async setup() component inside Suspense 3492 // which will not have a mounted element 3493 W.el && // - In the case of a Fragment, we need to provide the actual parent 3494 // of the Fragment itself so it can move its children. 3495 (W.type === En || // - In the case of different nodes, there is going to be a replacement 3496 // which also requires the correct parent container 3497 !Tl(W, j) || // - In the case of a component, it could contain anything. 3498 W.shapeFlag & 198) ? h(W.el) : ( 3499 // In other cases, the parent container is not actually used so we 3500 // just pass the block element here to avoid a DOM parentNode call. 3501 K 3502 ) 3503 ); 3504 b( 3505 W, 3506 j, 3507 ie, 3508 null, 3509 ce, 3510 ve, 3511 ge, 3512 Ce, 3513 !0 3514 ); 3515 } 3516 }, re = (F, q, K, ce, ve) => { 3517 if (q !== K) { 3518 if (q !== Gt) 3519 for (const ge in q) 3520 !tu(ge) && !(ge in K) && o( 3521 F, 3522 ge, 3523 q[ge], 3524 null, 3525 ve, 3526 ce 3527 ); 3528 for (const ge in K) { 3529 if (tu(ge)) 3530 continue; 3531 const Ce = K[ge], Ee = q[ge]; 3532 Ce !== Ee && ge !== "value" && o(F, ge, Ee, Ce, ve, ce); 3533 } 3534 "value" in K && o(F, "value", q.value, K.value, ve); 3535 } 3536 }, Q = (F, q, K, ce, ve, ge, Ce, Ee, W) => { 3537 const j = q.el = F ? F.el : s(""), ie = q.anchor = F ? F.anchor : s(""); 3538 let { patchFlag: le, dynamicChildren: _e, slotScopeIds: Oe } = q; 3539 ({}).NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives 3540 (Sn || le & 2048) && (le = 0, W = !1, _e = null), Oe && (Ee = Ee ? Ee.concat(Oe) : Oe), F == null ? (n(j, K, ce), n(ie, K, ce), P( 3541 // #10007 3542 // such fragment like `<></>` will be compiled into 3543 // a fragment which doesn't have a children. 3544 // In this case fallback to an empty array 3545 q.children || [], 3546 K, 3547 ie, 3548 ve, 3549 ge, 3550 Ce, 3551 Ee, 3552 W 3553 )) : le > 0 && le & 64 && _e && // #2715 the previous fragment could've been a BAILed one as a result 3554 // of renderSlot() with no valid children 3555 F.dynamicChildren && F.dynamicChildren.length === _e.length ? (U( 3556 F.dynamicChildren, 3557 _e, 3558 K, 3559 ve, 3560 ge, 3561 Ce, 3562 Ee 3563 ), {}.NODE_ENV !== "production" ? nf(F, q) : ( 3564 // #2080 if the stable fragment has a key, it's a <template v-for> that may 3565 // get moved around. Make sure all root level vnodes inherit el.
3566 // #2134 or if it's a component root, it may also get moved around 3567 // as the component is being moved. 3568 (q.key != null || ve && q === ve.subTree) && nf( 3569 F, 3570 q, 3571 !0 3572 /* shallow */ 3573 ) 3574 )) : se( 3575 F, 3576 q, 3577 K, 3578 ie, 3579 ve, 3580 ge, 3581 Ce, 3582 Ee, 3583 W 3584 ); 3585 }, ne = (F, q, K, ce, ve, ge, Ce, Ee, W) => { 3586 q.slotScopeIds = Ee, F == null ? q.shapeFlag & 512 ? ve.ctx.activate( 3587 q, 3588 K, 3589 ce, 3590 Ce, 3591 W 3592 ) : ee( 3593 q, 3594 K, 3595 ce, 3596 ve, 3597 ge, 3598 Ce, 3599 W 3600 ) : L(F, q, W); 3601 }, ee = (F, q, K, ce, ve, ge, Ce) => { 3602 const Ee = F.component = wO( 3603 F, 3604 ce, 3605 ve 3606 ); 3607 if ({}.NODE_ENV !== "production" && Ee.type.__hmrId && tC(Ee), {}.NODE_ENV !== "production" && (ef(F), oo(Ee, "mount")), zv(F) && (Ee.ctx.renderer = _t), {}.NODE_ENV !== "production" && oo(Ee, "init"), _O(Ee, !1, Ce), {}.NODE_ENV !== "production" && ao(Ee, "init"), {}.NODE_ENV !== "production" && Sn && (F.el = null), Ee.asyncDep) { 3608 if (ve && ve.registerDep(Ee, Z, Ce), !F.el) { 3609 const W = Ee.subTree = St(An); 3610 w(null, W, q, K), F.placeholder = W.el; 3611 } 3612 } else 3613 Z( 3614 Ee, 3615 F, 3616 q, 3617 K, 3618 ve, 3619 ge, 3620 Ce 3621 ); 3622 ({}).NODE_ENV !== "production" && (tf(), ao(Ee, "mount")); 3623 }, L = (F, q, K) => { 3624 const ce = q.component = F.component; 3625 if (XC(F, q, K)) 3626 if (ce.asyncDep && !ce.asyncResolved) { 3627 ({}).NODE_ENV !== "production" && ef(q), G(ce, q, K), {}.NODE_ENV !== "production" && tf(); 3628 return; 3629 } else 3630 ce.next = q, ce.update(); 3631 else 3632 q.el = F.el, ce.vnode = q; 3633 }, Z = (F, q, K, ce, ve, ge, Ce) => { 3634 const Ee = () => { 3635 if (F.isMounted) { 3636 let { next: le, bu: _e, u: Oe, parent: Ie, vnode: Ue } = F; 3637 { 3638 const Dr = SE(F); 3639 if (Dr) { 3640 le && (le.el = Ue.el, G(F, le, Ce)), Dr.asyncDep.then(() => { 3641 cn(() => { 3642 F.isUnmounted || j(); 3643 }, ve); 3644 }); 3645 return; 3646 } 3647 } 3648 let He = le, at; 3649 ({}).NODE_ENV !== "production" && ef(le || F.vnode), ma(F, !1), le ? (le.el = Ue.el, G(F, le, Ce)) : le = Ue, _e && _s(_e), (at = le.props && le.props.onVnodeBeforeUpdate) && Oi(at, Ie, le, Ue), ma(F, !0), {}.NODE_ENV !== "production" && oo(F, "render"); 3650 const xt = Rh(F); 3651 ({}).NODE_ENV !== "production" && ao(F, "render"); 3652 const $t = F.subTree; 3653 F.subTree = xt, {}.NODE_ENV !== "production" && oo(F, "patch"), b( 3654 $t, 3655 xt, 3656 // parent may have changed if it's in a teleport 3657 h($t.el), 3658 // anchor may have changed if it's in a fragment 3659 Pe($t), 3660 F, 3661 ve, 3662 ge 3663 ), {}.NODE_ENV !== "production" && ao(F, "patch"), le.el = xt.el, He === null && YC(F, xt.el), Oe && cn(Oe, ve), (at = le.props && le.props.onVnodeUpdated) && cn( 3664 () => Oi(at, Ie, le, Ue), 3665 ve 3666 ), {}.NODE_ENV !== "production" && eE(F), {}.NODE_ENV !== "production" && tf(); 3667 } else { 3668 let le; 3669 const { el: _e, props: Oe } = q, { bm: Ie, m: Ue, parent: He, root: at, type: xt } = F, $t = ou(q); 3670 if (ma(F, !1), Ie && _s(Ie), !$t && (le = Oe && Oe.onVnodeBeforeMount) && Oi(le, He, q), ma(F, !0), _e && Tt) { 3671 const Dr = () => { 3672 ({}).NODE_ENV !== "production" && oo(F, "render"), F.subTree = Rh(F), {}.NODE_ENV !== "production" && ao(F, "render"), {}.NODE_ENV !== "production" && oo(F, "hydrate"), Tt( 3673 _e, 3674 F.subTree, 3675 F, 3676 ve, 3677 null 3678 ), {}.NODE_ENV !== "production" && ao(F, "hydrate"); 3679 }; 3680 $t && xt.__asyncHydrate ? xt.__asyncHydrate( 3681 _e, 3682 F, 3683 Dr 3684 ) : Dr(); 3685 } else { 3686 at.ce && at.ce._hasShadowRoot() && at.ce._injectChildStyle( 3687 xt, 3688 F.parent ? F.parent.type : void 0 3689 ), {}.NODE_ENV !== "production" && oo(F, "render"); 3690 const Dr = F.subTree = Rh(F); 3691 ({}).NODE_ENV !== "production" && ao(F, "render"), {}.NODE_ENV !== "production" && oo(F, "patch"), b( 3692 null, 3693 Dr, 3694 K, 3695 ce, 3696 F, 3697 ve, 3698 ge 3699 ), {}.NODE_ENV !== "production" && ao(F, "patch"), q.el = Dr.el; 3700 } 3701 if (Ue && cn(Ue, ve), !$t && (le = Oe && Oe.onVnodeMounted)) { 3702 const Dr = q; 3703 cn( 3704 () => Oi(le, He, Dr), 3705 ve 3706 ); 3707 } 3708 (q.shapeFlag & 256 || He && ou(He.vnode) && He.vnode.shapeFlag & 256) && F.a && cn(
3708F.a, ve), F.isMounted = !0, {}.NODE_ENV !== "production" && sC(F), q = K = ce = null; 3709 } 3710 }; 3711 F.scope.on(); 3712 const W = F.effect = new O1(Ee); 3713 F.scope.off(); 3714 const j = F.update = W.run.bind(W), ie = F.job = W.runIfDirty.bind(W); 3715 ie.i = F, ie.id = F.uid, W.scheduler = () => bd(ie), ma(F, !0), {}.NODE_ENV !== "production" && (W.onTrack = F.rtc ? (le) => _s(F.rtc, le) : void 0, W.onTrigger = F.rtg ? (le) => _s(F.rtg, le) : void 0), j(); 3716 }, G = (F, q, K) => { 3717 q.component = F; 3718 const ce = F.vnode.props; 3719 F.vnode = q, F.next = null, QC(F, q.props, ce, K), lO(F, q.children, K), yi(), Hg(F), bi(); 3720 }, se = (F, q, K, ce, ve, ge, Ce, Ee, W = !1) => { 3721 const j = F && F.children, ie = F ? F.shapeFlag : 0, le = q.children, { patchFlag: _e, shapeFlag: Oe } = q; 3722 if (_e > 0) { 3723 if (_e & 128) { 3724 Re( 3725 j, 3726 le, 3727 K, 3728 ce, 3729 ve, 3730 ge, 3731 Ce, 3732 Ee, 3733 W 3734 ); 3735 return; 3736 } else if (_e & 256) { 3737 de( 3738 j, 3739 le, 3740 K, 3741 ce, 3742 ve, 3743 ge, 3744 Ce, 3745 Ee, 3746 W 3747 ); 3748 return; 3749 } 3750 } 3751 Oe & 8 ? (ie & 16 && Be(j, ve, ge), le !== j && f(K, le)) : ie & 16 ? Oe & 16 ? Re( 3752 j, 3753 le, 3754 K, 3755 ce, 3756 ve, 3757 ge, 3758 Ce, 3759 Ee, 3760 W 3761 ) : Be(j, ve, ge, !0) : (ie & 8 && f(K, ""), Oe & 16 && P( 3762 le, 3763 K, 3764 ce, 3765 ve, 3766 ge, 3767 Ce, 3768 Ee, 3769 W 3770 )); 3771 }, de = (F, q, K, ce, ve, ge, Ce, Ee, W) => { 3772 F = F || Is, q = q || Is; 3773 const j = F.length, ie = q.length, le = Math.min(j, ie); 3774 let _e; 3775 for (_e = 0; _e < le; _e++) { 3776 const Oe = q[_e] = W ? fo(q[_e]) : di(q[_e]); 3777 b( 3778 F[_e], 3779 Oe, 3780 K, 3781 null, 3782 ve, 3783 ge, 3784 Ce, 3785 Ee, 3786 W 3787 ); 3788 } 3789 j > ie ? Be( 3790 F, 3791 ve, 3792 ge, 3793 !0, 3794 !1, 3795 le 3796 ) : P( 3797 q, 3798 K, 3799 ce, 3800 ve, 3801 ge, 3802 Ce, 3803 Ee, 3804 W, 3805 le 3806 ); 3807 }, Re = (F, q, K, ce, ve, ge, Ce, Ee, W) => { 3808 let j = 0; 3809 const ie = q.length; 3810 let le = F.length - 1, _e = ie - 1; 3811 for (; j <= le && j <= _e; ) { 3812 const Oe = F[j], Ie = q[j] = W ? fo(q[j]) : di(q[j]); 3813 if (Tl(Oe, Ie)) 3814 b( 3815 Oe, 3816 Ie, 3817 K, 3818 null, 3819 ve, 3820 ge, 3821 Ce, 3822 Ee, 3823 W 3824 ); 3825 else 3826 break; 3827 j++; 3828 } 3829 for (; j <= le && j <= _e; ) { 3830 const Oe = F[le], Ie = q[_e] = W ? fo(q[_e]) : di(q[_e]); 3831 if (Tl(Oe, Ie)) 3832 b( 3833 Oe, 3834 Ie, 3835 K, 3836 null, 3837 ve, 3838 ge, 3839 Ce, 3840 Ee, 3841 W 3842 ); 3843 else 3844 break; 3845 le--, _e--; 3846 } 3847 if (j > le) { 3848 if (j <= _e) { 3849 const Oe = _e + 1, Ie = Oe < ie ? q[Oe].el : ce; 3850 for (; j <= _e; ) 3851 b( 3852 null, 3853 q[j] = W ? fo(q[j]) : di(q[j]), 3854 K, 3855 Ie, 3856 ve, 3857 ge, 3858 Ce, 3859 Ee, 3860 W 3861 ), j++; 3862 } 3863 } else if (j > _e) 3864 for (; j <= le; ) 3865 je(F[j], ve, ge, !0), j++; 3866 else { 3867 const Oe = j, Ie = j, Ue = /* @__PURE__ */ new Map(); 3868 for (j = Ie; j <= _e; j++) { 3869 const jt = q[j] = W ? fo(q[j]) : di(q[j]); 3870 jt.key != null && ({}.NODE_ENV !== "production" && Ue.has(jt.key) && De( 3871 "Duplicate keys found during update:", 3872 JSON.stringify(jt.key), 3873 "Make sure keys are unique." 3874 ), Ue.set(jt.key, j)); 3875 } 3876 let He, at = 0; 3877 const xt = _e - Ie + 1; 3878 let $t = !1, Dr = 0; 3879 const Ti = new Array(xt); 3880 for (j = 0; j < xt; j++) 3881 Ti[j] = 0; 3882 for (j = Oe; j <= le; j++) { 3883 const jt = F[j]; 3884 if (at >= xt) { 3885 je(jt, ve, ge, !0); 3886 continue; 3887 } 3888 let Mr; 3889 if (jt.key != null) 3890 Mr = Ue.get(jt.key); 3891 else 3892 for (He = Ie; He <= _e; He++) 3893 if (Ti[He - Ie] === 0 && Tl(jt, q[He])) { 3894 Mr = He; 3895 break; 3896 } 3897 Mr === void 0 ? je(jt, ve, ge, !0) : (Ti[Mr - Ie] = j + 1, Mr >= Dr ? Dr = Mr : $t = !0, b( 3898 jt, 3899 q[Mr], 3900 K, 3901 null, 3902 ve, 3903 ge, 3904 Ce, 3905 Ee, 3906 W 3907 ), at++); 3908 }
3909 const Pr = $t ? hO(Ti) : Is; 3910 for (He = Pr.length - 1, j = xt - 1; j >= 0; j--) { 3911 const jt = Ie + j, Mr = q[jt], us = q[jt + 1], No = jt + 1 < ie ? ( 3912 // #13559, #14173 fallback to el placeholder for unresolved async component 3913 us.el || _E(us) 3914 ) : ce; 3915 Ti[j] === 0 ? b( 3916 null, 3917 Mr, 3918 K, 3919 No, 3920 ve, 3921 ge, 3922 Ce, 3923 Ee, 3924 W 3925 ) : $t && (He < 0 || j !== Pr[He] ? ze(Mr, K, No, 2) : He--); 3926 } 3927 } 3928 }, ze = (F, q, K, ce, ve = null) => { 3929 const { el: ge, type: Ce, transition: Ee, children: W, shapeFlag: j } = F; 3930 if (j & 6) { 3931 ze(F.component.subTree, q, K, ce); 3932 return; 3933 } 3934 if (j & 128) { 3935 F.suspense.move(q, K, ce); 3936 return; 3937 } 3938 if (j & 64) { 3939 Ce.move(F, q, K, _t); 3940 return; 3941 } 3942 if (Ce === En) { 3943 n(ge, q, K); 3944 for (let le = 0; le < W.length; le++) 3945 ze(W[le], q, K, ce); 3946 n(F.anchor, q, K); 3947 return; 3948 } 3949 if (Ce === of) { 3950 _(F, q, K); 3951 return; 3952 } 3953 if (ce !== 2 && j & 1 && Ee) 3954 if (ce === 0) 3955 Ee.beforeEnter(ge), n(ge, q, K), cn(() => Ee.enter(ge), ve); 3956 else { 3957 const { leave: le, delayLeave: _e, afterLeave: Oe } = Ee, Ie = () => { 3958 F.ctx.isUnmounted ? i(ge) : n(ge, q, K); 3959 }, Ue = () => { 3960 ge._isLeaving && ge[bC]( 3961 !0 3962 /* cancelled */ 3963 ), le(ge, () => { 3964 Ie(), Oe && Oe(); 3965 }); 3966 }; 3967 _e ? _e(ge, Ie, Ue) : Ue(); 3968 } 3969 else 3970 n(ge, q, K); 3971 }, je = (F, q, K, ce = !1, ve = !1) => { 3972 const { 3973 type: ge, 3974 props: Ce, 3975 ref: Ee, 3976 children: W, 3977 dynamicChildren: j, 3978 shapeFlag: ie, 3979 patchFlag: le, 3980 dirs: _e, 3981 cacheIndex: Oe, 3982 memo: Ie 3983 } = F; 3984 if (le === -2 && (ve = !1), Ee != null && (yi(), iu(Ee, null, K, F, !0), bi()), Oe != null && (q.renderCache[Oe] = void 0), ie & 256) { 3985 q.ctx.deactivate(F); 3986 return; 3987 } 3988 const Ue = ie & 1 && _e, He = !ou(F); 3989 let at; 3990 if (He && (at = Ce && Ce.onVnodeBeforeUnmount) && Oi(at, q, F), ie & 6) 3991 Ve(F.component, K, ce); 3992 else { 3993 if (ie & 128) { 3994 F.suspense.unmount(K, ce); 3995 return; 3996 } 3997 Ue && ga(F, null, q, "beforeUnmount"), ie & 64 ? F.type.remove( 3998 F, 3999 q, 4000 K, 4001 _t, 4002 ce 4003 ) : j && // #5154 4004 // when v-once is used inside a block, setBlockTracking(-1) marks the 4005 // parent block with hasOnce: true 4006 // so that it doesn't take the fast path during unmount - otherwise 4007 // components nested in v-once are never unmounted. 4008 !j.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments 4009 (ge !== En || le > 0 && le & 64) ? Be( 4010 j, 4011 q, 4012 K, 4013 !1, 4014 !0 4015 ) : (ge === En && le & 384 || !ve && ie & 16) && Be(W, q, K), ce && Le(F); 4016 } 4017 const xt = Ie != null && Oe == null; 4018 (He && (at = Ce && Ce.onVnodeUnmounted) || Ue || xt) && cn(() => { 4019 at && Oi(at, q, F), Ue && ga(F, null, q, "unmounted"), xt && (F.el = null); 4020 }, K); 4021 }, Le = (F) => { 4022 const { type: q, el: K, anchor: ce, transition: ve } = F; 4023 if (q === En) { 4024 ({}).NODE_ENV !== "production" && F.patchFlag > 0 && F.patchFlag & 2048 && ve && !ve.persisted ? F.children.forEach((Ce) => { 4025 Ce.type === An ? i(Ce.el) : Le(Ce); 4026 }) : be(K, ce); 4027 return; 4028 } 4029 if (q === of) { 4030 x(F); 4031 return; 4032 } 4033 const ge = () => { 4034 i(K), ve && !ve.persisted && ve.afterLeave && ve.afterLeave(); 4035 }; 4036 if (F.shapeFlag & 1 && ve && !ve.persisted) { 4037 const { leave: Ce, delayLeave: Ee } = ve, W = () => Ce(K, ge); 4038 Ee ? Ee(F.el, ge, W) : W(); 4039 } else 4040 ge(); 4041 }, be = (F, q) => { 4042 let K; 4043 for (; F !== q; ) 4044 K = g(F), i(F), F = K; 4045 i(q); 4046 }, Ve = (F, q, K) => { 4047 ({}).NODE_ENV !== "production" && F.type.__hmrId && rC(F); 4048 const { bum: ce, scope: ve, job: ge, subTree: Ce, um: Ee, m: W, a: j } = F; 4049 im(W), im(j), ce && _s(ce), ve.stop(), ge && (ge.flags |= 8, je(Ce, F, q, K)), Ee && cn(Ee, q), cn(() => { 4050 F.isUnmounted = !0; 4051 }, q), {}.NODE_ENV !== "production" && uC(F); 4052 }, Be = (F, q, K, ce = !1, ve = !1, ge = 0) => { 4053 for (let Ce = ge; Ce < F.length; Ce++) 4054 je(F[Ce], q, K, ce, ve); 4055 }, Pe = (F) => { 4056 if (F.shapeFlag & 6) 4057 return Pe(F.component.subTree); 4058 if (F.shapeFlag & 128) 4059 return F.suspense.next(); 4060 const q = g(F.anchor || F.el), K = q && q[mC]; 4061 return K ? g(K) : q; 4062 }; 4063 let $e = !1; 4064 const rt = (F, q, K) => {
4065 let ce; 4066 F == null ? q._vnode && (je(q._vnode, null, null, !0), ce = q._vnode.component) : b( 4067 q._vnode || null, 4068 F, 4069 q, 4070 null, 4071 null, 4072 null, 4073 K 4074 ), q._vnode = F, $e || ($e = !0, Hg(ce), Z1(), $e = !1); 4075 }, _t = { 4076 p: b, 4077 um: je, 4078 m: ze, 4079 r: Le, 4080 mt: ee, 4081 mc: P, 4082 pc: se, 4083 pbc: U, 4084 n: Pe, 4085 o: t 4086 }; 4087 let ar, Tt; 4088 return e && ([ar, Tt] = e( 4089 _t 4090 )), { 4091 render: rt, 4092 hydrate: ar, 4093 createApp: HC(rt, ar) 4094 }; 4095} 4096function Ih({ type: t, props: e }, r) { 4097 return r === "svg" && t === "foreignObject" || r === "mathml" && t === "annotation-xml" && e && e.encoding && e.encoding.includes("html") ? void 0 : r; 4098} 4099function ma({ effect: t, job: e }, r) { 4100 r ? (t.flags |= 32, e.flags |= 4) : (t.flags &= -33, e.flags &= -5); 4101} 4102function dO(t, e) { 4103 return (!t || t && !t.pendingBranch) && e && !e.persisted; 4104} 4105function nf(t, e, r = !1) { 4106 const n = t.children, i = e.children; 4107 if (Xe(n) && Xe(i)) 4108 for (let o = 0; o < n.length; o++) { 4109 const a = n[o]; 4110 let s = i[o]; 4111 s.shapeFlag & 1 && !s.dynamicChildren && ((s.patchFlag <= 0 || s.patchFlag === 32) && (s = i[o] = fo(i[o]), s.el = a.el), !r && s.patchFlag !== -2 && nf(a, s)), s.type === Yu && (s.patchFlag === -1 && (s = i[o] = fo(s)), s.el = a.el), s.type === An && !s.el && (s.el = a.el), {}.NODE_ENV !== "production" && s.el && (s.el.__vnode = s); 4112 } 4113} 4114function hO(t) { 4115 const e = t.slice(), r = [0]; 4116 let n, i, o, a, s; 4117 const u = t.length; 4118 for (n = 0; n < u; n++) { 4119 const l = t[n]; 4120 if (l !== 0) { 4121 if (i = r[r.length - 1], t[i] < l) { 4122 e[n] = i, r.push(n); 4123 continue; 4124 } 4125 for (o = 0, a = r.length - 1; o < a; ) 4126 s = o + a >> 1, t[r[s]] < l ? o = s + 1 : a = s; 4127 l < t[r[o]] && (o > 0 && (e[n] = r[o - 1]), r[o] = n); 4128 } 4129 } 4130 for (o = r.length, a = r[o - 1]; o-- > 0; ) 4131 r[o] = a, a = e[a]; 4132 return r; 4133} 4134function SE(t) { 4135 const e = t.subTree.component; 4136 if (e) 4137 return e.asyncDep && !e.asyncResolved ? e : SE(e); 4138} 4139function im(t) { 4140 if (t) 4141 for (let e = 0; e < t.length; e++) 4142 t[e].flags |= 8; 4143} 4144function _E(t) { 4145 if (t.placeholder) 4146 return t.placeholder; 4147 const e = t.component; 4148 return e ? _E(e.subTree) : null; 4149} 4150const TE = (t) => t.__isSuspense; 4151function pO(t, e) { 4152 e && e.pendingBranch ? Xe(t) ? e.effects.push(...t) : e.effects.push(t) : Y1(t); 4153} 4154const En = /* @__PURE__ */ Symbol.for("v-fgt"), Yu = /* @__PURE__ */ Symbol.for("v-txt"), An = /* @__PURE__ */ Symbol.for("v-cmt"), of = /* @__PURE__ */ Symbol.for("v-stc"), au = []; 4155let _n = null; 4156function Qt(t = !1) { 4157 au.push(_n = t ? null : []); 4158} 4159function vO() { 4160 au.pop(), _n = au[au.length - 1] || null; 4161} 4162let Au = 1; 4163function Lf(t, e = !1) { 4164 Au += t, t < 0 && _n && e && (_n.hasOnce = !0); 4165} 4166function CE(t) { 4167 return t.dynamicChildren = Au > 0 ? _n || Is : null, vO(), Au > 0 && _n && _n.push(t), t; 4168} 4169function er(t, e, r, n, i, o) { 4170 return CE( 4171 he( 4172 t, 4173 e, 4174 r, 4175 n, 4176 i, 4177 o, 4178 !0 4179 ) 4180 ); 4181} 4182function gO(t, e, r, n, i) { 4183 return CE( 4184 St( 4185 t, 4186 e, 4187 r, 4188 n, 4189 i, 4190 !0 4191 ) 4192 ); 4193} 4194function Ks(t) { 4195 return t ? t.__v_isVNode === !0 : !1; 4196} 4197function Tl(t, e) { 4198 if ({}.NODE_ENV !== "production" && e.shapeFlag & 6 && t.component) { 4199 const r = rf.get(e.type); 4200 if (r && r.has(t.component)) 4201 return t.shapeFlag &= -257, e.shapeFlag &= -513, !1; 4202 } 4203 return t.type === e.type && t.key === e.key; 4204} 4205const mO = (...t) => AE( 4206 ...t 4207), OE = ({ key: t }) => t ?? null, af = ({ 4208 ref: t, 4209 ref_key: e, 4210 ref_for: r 4211}) => (typeof t == "number" && (t = "" + t), t != null ? nr(t) || /* @__P
4211URE__ */ Rt(t) || it(t) ? { i: qr, r: t, k: e, f: !!r } : t : null); 4212function he(t, e = null, r = null, n = 0, i = null, o = t === En ? 0 : 1, a = !1, s = !1) { 4213 const u = { 4214 __v_isVNode: !0, 4215 __v_skip: !0, 4216 type: t, 4217 props: e, 4218 key: e && OE(e), 4219 ref: e && af(e), 4220 scopeId: rE, 4221 slotScopeIds: null, 4222 children: r, 4223 component: null, 4224 suspense: null, 4225 ssContent: null, 4226 ssFallback: null, 4227 dirs: null, 4228 transition: null, 4229 el: null, 4230 anchor: null, 4231 target: null, 4232 targetStart: null, 4233 targetAnchor: null, 4234 staticCount: 0, 4235 shapeFlag: o, 4236 patchFlag: n, 4237 dynamicProps: i, 4238 dynamicChildren: null, 4239 appContext: null, 4240 ctx: qr 4241 }; 4242 return s ? (Jv(u, r), o & 128 && t.normalize(u)) : r && (u.shapeFlag |= nr(r) ? 8 : 16), {}.NODE_ENV !== "production" && u.key !== u.key && De("VNode created with invalid key (NaN). VNode type:", u.type), Au > 0 && // avoid a block node from tracking itself 4243 !a && // has current parent block 4244 _n && // presence of a patch flag indicates this node needs patching on updates. 4245 // component nodes also should always be patched, because even if the 4246 // component doesn't need to update, it needs to persist the instance on to 4247 // the next vnode so that it can be properly unmounted later. 4248 (u.patchFlag > 0 || o & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the 4249 // vnode should not be considered dynamic due to handler caching. 4250 u.patchFlag !== 32 && _n.push(u), u; 4251} 4252const St = {}.NODE_ENV !== "production" ? mO : AE; 4253function AE(t, e = null, r = null, n = 0, i = null, o = !1) { 4254 if ((!t || t === sE) && ({}.NODE_ENV !== "production" && !t && De(`Invalid vnode type when creating vnode: ${t}.`), t = An), Ks(t)) { 4255 const s = Qo( 4256 t, 4257 e, 4258 !0 4259 /* mergeRef: true */ 4260 ); 4261 return r && Jv(s, r), Au > 0 && !o && _n && (s.shapeFlag & 6 ? _n[_n.indexOf(t)] = s : _n.push(s)), s.patchFlag = -2, s; 4262 } 4263 if (PE(t) && (t = t.__vccOpts), e) { 4264 e = yO(e); 4265 let { class: s, style: u } = e; 4266 s && !nr(s) && (e.class = wr(s)), Dt(u) && (/* @__PURE__ */ Ws(u) && !Xe(u) && (u = rr({}, u)), e.style = vd(u)); 4267 } 4268 const a = nr(t) ? 1 : TE(t) ? 128 : yC(t) ? 64 : Dt(t) ? 4 : it(t) ? 2 : 0; 4269 return {}.NODE_ENV !== "production" && a & 4 && /* @__PURE__ */ Ws(t) && (t = /* @__PURE__ */ ft(t), De( 4270 "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.", 4271 ` 4272Component that was made reactive: `, 4273 t 4274 )), he( 4275 t, 4276 e, 4277 r, 4278 n, 4279 i, 4280 a, 4281 o, 4282 !0 4283 ); 4284} 4285function yO(t) { 4286 return t ? /* @__PURE__ */ Ws(t) || mE(t) ? rr({}, t) : t : null; 4287} 4288function Qo(t, e, r = !1, n = !1) { 4289 const { props: i, ref: o, patchFlag: a, children: s, transition: u } = t, l = e ? bO(i || {}, e) : i, f = { 4290 __v_isVNode: !0, 4291 __v_skip: !0, 4292 type: t.type, 4293 props: l, 4294 key: l && OE(l), 4295 ref: e && e.ref ? ( 4296 // #2078 in the case of <component :is="vnode" ref="extra"/> 4297 // if the vnode itself already has a ref, cloneVNode will need to merge 4298 // the refs so the single vnode can be set on multiple refs 4299 r && o ? Xe(o) ? o.concat(af(e)) : [o, af(e)] : af(e) 4300 ) : o, 4301 scopeId: t.scopeId, 4302 slotScopeIds: t.slotScopeIds, 4303 children: {}.NODE_ENV !== "production" && a === -1 && Xe(s) ? s.map(NE) : s, 4304 target: t.target, 4305 targetStart: t.targetStart, 4306 targetAnchor: t.targetAnchor, 4307 staticCount: t.staticCount, 4308 shapeFlag: t.shapeFlag, 4309 // if the vnode is cloned with extra props, we can no longer assume its 4310 // existing patch flag to be reliable and need to add the FULL_PROPS flag. 4311 // note: preserve flag for fragments since they use the flag for children 4312 // fast paths only. 4313 patchFlag: e && t.type !== En ? a === -1 ? 16 : a | 16 : a, 4314 dynamicProps: t.dynamicProps, 4315 dynamicChildren: t.dynamicChildren, 4316 appContext: t.appContext, 4317 dirs: t.dirs, 4318 transition: u, 4319 // These should technically only be non-null on mounted VNodes. However, 4320 // they *should* be copied for kept-alive vnodes. So we just always copy 4321 // them since them being non-null during a mount doesn't affect the logic as
4322 // they will simply be overwritten. 4323 component: t.component, 4324 suspense: t.suspense, 4325 ssContent: t.ssContent && Qo(t.ssContent), 4326 ssFallback: t.ssFallback && Qo(t.ssFallback), 4327 placeholder: t.placeholder, 4328 el: t.el, 4329 anchor: t.anchor, 4330 ctx: t.ctx, 4331 ce: t.ce 4332 }; 4333 return u && n && Hv( 4334 f, 4335 u.clone(f) 4336 ), f; 4337} 4338function NE(t) { 4339 const e = Qo(t); 4340 return Xe(t.children) && (e.children = t.children.map(NE)), e; 4341} 4342function Cs(t = " ", e = 0) { 4343 return St(Yu, null, t, e); 4344} 4345function Qr(t = "", e = !1) { 4346 return e ? (Qt(), gO(An, null, t)) : St(An, null, t); 4347} 4348function di(t) { 4349 return t == null || typeof t == "boolean" ? St(An) : Xe(t) ? St( 4350 En, 4351 null, 4352 // #3666, avoid reference pollution when reusing vnode 4353 t.slice() 4354 ) : Ks(t) ? fo(t) : St(Yu, null, String(t)); 4355} 4356function fo(t) { 4357 return t.el === null && t.patchFlag !== -1 || t.memo ? t : Qo(t); 4358} 4359function Jv(t, e) { 4360 let r = 0; 4361 const { shapeFlag: n } = t; 4362 if (e == null) 4363 e = null; 4364 else if (Xe(e)) 4365 r = 16; 4366 else if (typeof e == "object") 4367 if (n & 65) { 4368 const i = e.default; 4369 i && (i._c && (i._d = !1), Jv(t, i()), i._c && (i._d = !0)); 4370 return; 4371 } else { 4372 r = 32; 4373 const i = e._; 4374 !i && !mE(e) ? e._ctx = qr : i === 3 && qr && (qr.slots._ === 1 ? e._ = 1 : (e._ = 2, t.patchFlag |= 1024)); 4375 } 4376 else 4377 it(e) ? (e = { default: e, _ctx: qr }, r = 32) : (e = String(e), n & 64 ? (r = 16, e = [Cs(e)]) : r = 8); 4378 t.children = e, t.shapeFlag |= r; 4379} 4380function bO(...t) { 4381 const e = {}; 4382 for (let r = 0; r < t.length; r++) { 4383 const n = t[r]; 4384 for (const i in n) 4385 if (i === "class") 4386 e.class !== n.class && (e.class = wr([e.class, n.class])); 4387 else if (i === "style") 4388 e.style = vd([e.style, n.style]); 4389 else if (Hu(i)) { 4390 const o = e[i], a = n[i]; 4391 a && o !== a && !(Xe(o) && o.includes(a)) ? e[i] = o ? [].concat(o, a) : a : a == null && o == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain 4392 // the model listener. 4393 !_u(i) && (e[i] = a); 4394 } else 4395 i !== "" && (e[i] = n[i]); 4396 } 4397 return e; 4398} 4399function Oi(t, e, r, n = null) { 4400 Ki(t, e, 7, [ 4401 r, 4402 n 4403 ]); 4404} 4405const EO = fE(); 4406let xO = 0; 4407function wO(t, e, r) { 4408 const n = t.type, i = (e ? e.appContext : t.appContext) || EO, o = { 4409 uid: xO++, 4410 vnode: t, 4411 type: n, 4412 parent: e, 4413 appContext: i, 4414 root: null, 4415 // to be immediately set 4416 next: null, 4417 subTree: null, 4418 // will be set synchronously right after creation 4419 effect: null, 4420 update: null, 4421 // will be set synchronously right after creation 4422 job: null, 4423 scope: new _1( 4424 !0 4425 /* detached */ 4426 ), 4427 render: null, 4428 proxy: null, 4429 exposed: null, 4430 exposeProxy: null, 4431 withProxy: null, 4432 provides: e ? e.provides : Object.create(i.provides), 4433 ids: e ? e.ids : ["", 0, 0], 4434 accessCache: null, 4435 renderCache: [], 4436 // local resolved assets 4437 components: null, 4438 directives: null, 4439 // resolved props and emits options 4440 propsOptions: bE(n, i), 4441 emitsOptions: dE(n, i), 4442 // emit 4443 emit: null, 4444 // to be set immediately 4445 emitted: null, 4446 // props default value 4447 propsDefaults: Gt, 4448 // inheritAttrs 4449 inheritAttrs: n.inheritAttrs, 4450 // state 4451 ctx: Gt, 4452 data: Gt, 4453 props: Gt, 4454 attrs: Gt, 4455 slots: Gt, 4456 refs: Gt, 4457 setupState: Gt, 4458 setupContext: null, 4459 // suspense related 4460 suspense: r, 4461 suspenseId: r ? r.pendingId : 0, 4462 asyncDep: null, 4463 asyncResolved: !1, 4464 // lifecycle hooks 4465 // not using enums here because it results in computed properties 4466 isMounted: !1, 4467 isUnmounted: !1, 4468 isDeactivated: !1, 4469 bc: null, 4470 c: null, 4471 bm: null, 4472 m: null, 4473 bu: null, 4474 u: null, 4475 um: null, 4476 bum: null, 4477 da: null, 4478 a: null, 4479 rtg: null, 4480 rtc: null, 4481 ec: null, 4482 sp: null 4483 }; 4484 return {}.NODE_ENV !== "production" ? o.ctx = PC(o) : o.ctx = { _: o }, o.root = e ? e.root : o, o.emit = WC.bind(null, o), t.ce && t.ce(o), o; 4485} 4486let gr = null; 4487const Zi = () => gr || qr; 4488let jf, Mp; 4489{ 4490 const t = rl(), e = (r, n) => { 4491 let i; 4492 return (i = t[r]) || (i = t[r] = []), i.push(n), (o) => { 4493 i.length >
4493 1 ? i.forEach((a) => a(o)) : i[0](o); 4494 }; 4495 }; 4496 jf = e( 4497 "__VUE_INSTANCE_SETTERS__", 4498 (r) => gr = r 4499 ), Mp = e( 4500 "__VUE_SSR_SETTERS__", 4501 (r) => Nu = r 4502 ); 4503} 4504const Zu = (t) => { 4505 const e = gr; 4506 return jf(t), t.scope.on(), () => { 4507 t.scope.off(), jf(e); 4508 }; 4509}, om = () => { 4510 gr && gr.scope.off(), jf(null); 4511}, SO = /* @__PURE__ */ _o("slot,component"); 4512function Vp(t, { isNativeTag: e }) { 4513 (SO(t) || e(t)) && De( 4514 "Do not use built-in or reserved HTML elements as component id: " + t 4515 ); 4516} 4517function kE(t) { 4518 return t.vnode.shapeFlag & 4; 4519} 4520let Nu = !1; 4521function _O(t, e = !1, r = !1) { 4522 e && Mp(e); 4523 const { props: n, children: i } = t.vnode, o = kE(t); 4524 ZC(t, n, o, e), sO(t, i, r || e); 4525 const a = o ? TO(t, e) : void 0; 4526 return e && Mp(!1), a; 4527} 4528function TO(t, e) { 4529 const r = t.type; 4530 if ({}.NODE_ENV !== "production") { 4531 if (r.name && Vp(r.name, t.appContext.config), r.components) { 4532 const i = Object.keys(r.components); 4533 for (let o = 0; o < i.length; o++) 4534 Vp(i[o], t.appContext.config); 4535 } 4536 if (r.directives) { 4537 const i = Object.keys(r.directives); 4538 for (let o = 0; o < i.length; o++) 4539 nE(i[o]); 4540 } 4541 r.compilerOptions && CO() && De( 4542 '"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.' 4543 ); 4544 } 4545 t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy = new Proxy(t.ctx, uE), {}.NODE_ENV !== "production" && FC(t); 4546 const { setup: n } = r; 4547 if (n) { 4548 yi(); 4549 const i = t.setupContext = n.length > 1 ? AO(t) : null, o = Zu(t), a = nl( 4550 n, 4551 t, 4552 0, 4553 [ 4554 {}
4554.NODE_ENV !== "production" ? /* @__PURE__ */ Hi(t.props) : t.props, 4555 i 4556 ] 4557 ), s = Dv(a); 4558 if (bi(), o(), (s || t.sp) && !ou(t) && oE(t), s) { 4559 if (a.then(om, om), e) 4560 return a.then((u) => { 4561 am(t, u, e); 4562 }).catch((u) => { 4563 qu(u, t, 0); 4564 }); 4565 if (t.asyncDep = a, {}.NODE_ENV !== "production" && !t.suspense) { 4566 const u = Ju(t, r); 4567 De( 4568 `Component <${u}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.` 4569 ); 4570 } 4571 } else 4572 am(t, a, e); 4573 } else 4574 DE(t, e); 4575} 4576function am(t, e, r) { 4577 it(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : Dt(e) ? ({}.NODE_ENV !== "production" && Ks(e) && De( 4578 "setup() should not return VNodes directly - return a render function instead." 4579 ), {}.NODE_ENV !== "production" && (t.devtoolsRawSetupState = e), t.setupState = W1(e), {}.NODE_ENV !== "production" && RC(t)) : {}.NODE_ENV !== "production" && e !== void 0 && De( 4580 `setup() should return an object. Received: ${e === null ? "null" : typeof e}` 4581 ), DE(t, r); 4582} 4583let Lp; 4584const CO = () => !Lp; 4585function DE(t, e, r) { 4586 const n = t.type; 4587 if (!t.render) { 4588 if (!e && Lp && !n.render) { 4589 const i = n.template || Gv(t).template; 4590 if (i) { 4591 ({}).NODE_ENV !== "production" && oo(t, "compile"); 4592 const { isCustomElement: o, compilerOptions: a } = t.appContext.config, { delimiters: s, compilerOptions: u } = n, l = rr( 4593 rr( 4594 { 4595 isCustomElement: o, 4596 delimiters: s 4597 }, 4598 a 4599 ), 4600 u 4601 ); 4602 n.render = Lp(i, l), {}.NODE_ENV !== "production" && ao(t, "compile"); 4603 } 4604 } 4605 t.render = n.render || Or; 4606 } 4607 { 4608 const i = Zu(t); 4609 yi(); 4610 try { 4611 MC(t); 4612 } finally { 4613 bi(), i(); 4614 } 4615 } 4616 ({}).NODE_ENV !== "production" && !n.render && t.render === Or && !e && (n.template ? De( 4617 'Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".' 4618 ) : De("Component is missing template or render function: ", n)); 4619} 4620const sm = {}.NODE_ENV !== "production" ? { 4621 get(t, e) { 4622 return Mf(), Cr(t, "get", ""), t[e]; 4623 }, 4624 set() { 4625 return De("setupContext.attrs is readonly."), !1; 4626 }, 4627 deleteProperty() { 4628 return De("setupContext.attrs is readonly."), !1; 4629 } 4630} : { 4631 get(t, e) { 4632 return Cr(t, "get", ""), t[e]; 4633 } 4634}; 4635function OO(t) { 4636 return new Proxy(t.slots, { 4637 get(e, r) { 4638 return Cr(t, "get", "$slots"), e[r]; 4639 } 4640 }); 4641} 4642function AO(t) { 4643 const e = (r) => { 4644 if ({}.NODE_ENV !== "production" && (t.exposed && De("expose() should be called only once per setup()."), r != null)) { 4645 let n = typeof r; 4646 n === "object" && (Xe(r) ? n = "array" : /* @__PURE__ */ Rt(r) && (n = "ref")), n !== "object" && De( 4647 `expose() should be passed a plain object, received ${n}.` 4648 ); 4649 } 4650 t.exposed = r || {}; 4651 }; 4652 if ({}.NODE_ENV !== "production") { 4653 let r, n; 4654 return Object.freeze({ 4655 get attrs() { 4656 return r || (r = new Proxy(t.attrs, sm)); 4657 }, 4658 get slots() { 4659 return n || (n = OO(t)); 4660 },
4661 get emit() { 4662 return (i, ...o) => t.emit(i, ...o); 4663 }, 4664 expose: e 4665 }); 4666 } else 4667 return { 4668 attrs: new Proxy(t.attrs, sm), 4669 slots: t.slots, 4670 emit: t.emit, 4671 expose: e 4672 }; 4673} 4674function Sd(t) { 4675 return t.exposed ? t.exposeProxy || (t.exposeProxy = new Proxy(W1(Mi(t.exposed)), { 4676 get(e, r) { 4677 if (r in e) 4678 return e[r]; 4679 if (r in Ia) 4680 return Ia[r](t); 4681 }, 4682 has(e, r) { 4683 return r in e || r in Ia; 4684 } 4685 })) : t.proxy; 4686} 4687const NO = /(?:^|[-_])\w/g, kO = (t) => t.replace(NO, (e) => e.toUpperCase()).replace(/[-_]/g, ""); 4688function Qv(t, e = !0) { 4689 return it(t) ? t.displayName || t.name : t.name || e && t.__name; 4690} 4691function Ju(t, e, r = !1) { 4692 let n = Qv(e); 4693 if (!n && e.__file) { 4694 const i = e.__file.match(/([^/\\]+)\.\w+$/); 4695 i && (n = i[1]); 4696 } 4697 if (!n && t) { 4698 const i = (o) => { 4699 for (const a in o) 4700 if (o[a] === e) 4701 return a; 4702 }; 4703 n = i(t.components) || t.parent && i( 4704 t.parent.type.components 4705 ) || i(t.appContext.components); 4706 } 4707 return n ? kO(n) : r ? "App" : "Anonymous"; 4708} 4709function PE(t) { 4710 return it(t) && "__vccOpts" in t; 4711} 4712const Vt = (t, e) => { 4713 const r = /* @__PURE__ */ qT(t, e, Nu); 4714 if ({}.NODE_ENV !== "production") { 4715 const n = Zi(); 4716 n && n.appContext.config.warnRecursiveComputed && (r._warnRecursive = !0); 4717 } 4718 return r; 4719}; 4720function ku(t, e, r) { 4721 try { 4722 Lf(-1); 4723 const n = arguments.length; 4724 return n === 2 ? Dt(e) && !Xe(e) ? Ks(e) ? St(t, null, [e]) : St(t, e) : St(t, null, e) : (n > 3 ? r = Array.prototype.slice.call(arguments, 2) : n === 3 && Ks(r) && (r = [r]), St(t, e, r)); 4725 } finally { 4726 Lf(1); 4727 } 4728} 4729function DO() { 4730 if ({}.NODE_ENV === "production" || typeof window > "u") 4731 return; 4732 const t = { style: "color:#3ba776" }, e = { style: "color:#1677ff" }, r = { style: "color:#f5222d" }, n = { style: "color:#eb2f96" }, i = { 4733 __vue_custom_formatter: !0, 4734 header(h) { 4735 if (!Dt(h)) 4736 return null; 4737 if (h.__isVue) 4738 return ["div", t, "VueInstance"]; 4739 if (/* @__PURE__ */ Rt(h)) { 4740 yi(); 4741 const g = h.value; 4742 return bi(), [ 4743 "div", 4744 {}, 4745 ["span", t, f(h)], 4746 "<", 4747 s(g), 4748 ">" 4749 ]; 4750 } else { 4751 if (/* @__PURE__ */ Xn(h)) 4752 return [ 4753 "div", 4754 {}, 4755 ["span", t, /* @__PURE__ */ Xr(h) ? "ShallowReactive" : "Reactive"], 4756 "<", 4757 s(h), 4758 `>${/* @__PURE__ */ Ei(h) ? " (readonly)" : ""}` 4759 ]; 4760 if (/* @__PURE__ */ Ei(h)) 4761 return [ 4762 "div", 4763 {}, 4764 ["span", t, /* @__PURE__ */ Xr(h) ? "ShallowReadonly" : "Readonly"], 4765 "<", 4766 s(h), 4767 ">" 4768 ]; 4769 } 4770 return null; 4771 }, 4772 hasBody(h) { 4773 return h && h.__isVue; 4774 }, 4775 body(h) { 4776 if (h && h.__isVue) 4777 return [ 4778 "div", 4779 {}, 4780 ...o(h.$) 4781 ]; 4782 } 4783 }; 4784 function o(h) { 4785 const g = []; 4786 h.type.props && h.props && g.push(a("props", /* @__PURE__ */ ft(h.props))), h.setupState !== Gt && g.push(a("setup", h.setupState)), h.data !== Gt && g.push(a("data", /* @__PURE__ */ ft(h.data))); 4787 const d = u(h, "computed"); 4788 d && g.push(a("computed", d)); 4789 const m = u(h, "inject"); 4790 return m && g.push(a("injected", m)), g.push([ 4791 "div", 4792 {}, 4793 [ 4794 "span", 4795 { 4796 style: n.style + ";opacity:0.66" 4797 }, 4798 "$ (internal): " 4799 ], 4800 ["object", { object: h }] 4801 ]), g; 4802 } 4803 function a(h, g) { 4804 return g = rr({}, g), Object.keys(g).length ? [ 4805 "div", 4806 { style: "line-height:1.25em;margin-bottom:0.6em" }, 4807 [ 4808 "div", 4809 { 4810 style: "color:#476582" 4811 }, 4812 h 4813 ], 4814 [ 4815 "div", 4816 { 4817 style: "padding-left:1.25em" 4818 }, 4819 ...Object.keys(g).map((d) => [ 4820 "div", 4821 {}, 4822 ["span", n, d + ": "], 4823 s(g[d], !1) 4824 ]) 4825 ] 4826 ] : ["span", {}]; 4827 } 4828 function s(h, g = !0) { 4829 return typeof h == "number" ? ["span", e, h] : typeof h == "string" ? ["span", r, JSON.stringify(h)] : typeof h == "boolean" ? ["span", n, h] : Dt(h) ? ["object", { object: g ? /* @__P
4829URE__ */ ft(h) : h }] : ["span", r, String(h)]; 4830 } 4831 function u(h, g) { 4832 const d = h.type; 4833 if (it(d)) 4834 return; 4835 const m = {}; 4836 for (const b in h.ctx) 4837 l(d, b, g) && (m[b] = h.ctx[b]); 4838 return m; 4839 } 4840 function l(h, g, d) { 4841 const m = h[d]; 4842 if (Xe(m) && m.includes(g) || Dt(m) && g in m || h.extends && l(h.extends, g, d) || h.mixins && h.mixins.some((b) => l(b, g, d))) 4843 return !0; 4844 } 4845 function f(h) { 4846 return /* @__PURE__ */ Xr(h) ? "ShallowRef" : h.effect ? "ComputedRef" : "Ref"; 4847 } 4848 window.devtoolsFormatters ? window.devtoolsFormatters.push(i) : window.devtoolsFormatters = [i]; 4849} 4850const lm = "3.5.32", Nn = {}.NODE_ENV !== "production" ? De : Or; 4851/** 4852* @vue/runtime-dom v3.5.32 4853* (c) 2018-present Yuxi (Evan) You and Vue contributors 4854* @license MIT 4855**/ 4856let jp; 4857const um = typeof window < "u" && window.trustedTypes; 4858if (um) 4859 try { 4860 jp = /* @__PURE__ */ um.createPolicy("vue", { 4861 createHTML: (t) => t 4862 }); 4863 } catch (t) { 4864 ({}).NODE_ENV !== "production" && Nn(`Error creating trusted types policy: ${t}`); 4865 } 4866const FE = jp ? (t) => jp.createHTML(t) : (t) => t, PO = "http://www.w3.org/2000/svg", FO = "http://www.w3.org/1998/Math/MathML", so = typeof document < "u" ? document : null, cm = so && /* @__PURE__ */ so.createElement("template"), RO = { 4867 insert: (t, e, r) => { 4868 e.insertBefore(t, r || null); 4869 }, 4870 remove: (t) => { 4871 const e = t.parentNode; 4872 e && e.removeChild(t); 4873 }, 4874 createElement: (t, e, r, n) => { 4875 const i = e === "svg" ? so.createElementNS(PO, t) : e === "mathml" ? so.createElementNS(FO, t) : r ? so.createElement(t, { is: r }) : so.createElement(t); 4876 return t === "select" && n && n.multiple != null && i.setAttribute("multiple", n.multiple), i; 4877 }, 4878 createText: (t) => so.createTextNode(t), 4879 createComment: (t) => so.createComment(t), 4880 setText: (t, e) => { 4881 t.nodeValue = e; 4882 }, 4883 setElementText: (t, e) => { 4884 t.textContent = e; 4885 }, 4886 parentNode: (t) => t.parentNode, 4887 nextSibling: (t) => t.nextSibling, 4888 querySelector: (t) => so.querySelector(t), 4889 setScopeId(t, e) { 4890 t.setAttribute(e, ""); 4891 }, 4892 // __UNSAFE__ 4893 // Reason: innerHTML. 4894 // Static content here can only come from compiled templates. 4895 // As long as the user only uses trusted templates, this is safe. 4896 insertStaticContent(t, e, r, n, i, o) { 4897 const a = r ? r.previousSibling : e.lastChild; 4898 if (i && (i === o || i.nextSibling)) 4899 for (; e.insertBefore(i.cloneNode(!0), r), !(i === o || !(i = i.nextSibling)); ) 4900 ; 4901 else { 4902 cm.innerHTML = FE( 4903 n === "svg" ? `<svg>${t}</svg>` : n === "mathml" ? `<math>${t}</math>` : t 4904 ); 4905 const s = cm.content; 4906 if (n === "svg" || n === "mathml") { 4907 const u = s.firstChild; 4908 for (; u.firstChild; ) 4909 s.appendChild(u.firstChild); 4910 s.removeChild(u); 4911 } 4912 e.insertBefore(s, r); 4913 } 4914 return [ 4915 // first 4916 a ? a.nextSibling : e.firstChild, 4917 // last 4918 r ? r.previousSibling : e.lastChild 4919 ]; 4920 } 4921}, IO = /* @__PURE__ */ Symbol("_vtc"); 4922function MO(t, e, r) { 4923 const n = t[IO]; 4924 n && (e = (e ? [e, ...n] : [...n]).join(" ")), e == null ? t.removeAttribute("class") : r ? t.setAttribute("class", e) : t.className = e; 4925} 4926const Bf = /* @__PURE__ */ Symbol("_vod"), RE = /* @__PURE__ */ Symbol("_vsh"), Mh = { 4927 // used for prop mismatch check during hydration 4928 name: "show", 4929 beforeMount(t, { value: e }, { transition: r }) { 4930 t[Bf] = t.style.display === "none" ? "" : t.style.display, r && e ? r.beforeEnter(t) : Cl(t, e); 4931 }, 4932 mounted(t, { value: e }, { transition: r }) { 4933 r && e && r.enter(t); 4934 }, 4935 updated(t, { value: e, oldValue: r }, { transition: n }) { 4936 !e != !r && (n ? e ? (n.beforeEnter(t), Cl(t, !0), n.enter(t)) : n.leave(t, () => { 4937 Cl(t, !1); 4938 }) : Cl(t, e)); 4939 }, 4940 beforeUnmount(t, { value: e }) { 4941 Cl(t, e); 4942 } 4943}; 4944function Cl(t, e) { 4945 t.style.display = e ? t[Bf] : "none", t[RE] = !e; 4946} 4947const VO = /* @__PURE__ */ Symbol({}.NODE_ENV !== "production" ? "CSS_VAR_TEXT" : ""), LO = /(?:^|;)\s*display\s*:/; 4948function jO(t, e, r) { 4949 const n = t.style, i = nr(r); 4950 let o = !1; 4951 if (r && !i) { 4952 if (e) 4953 if (nr(e)) 4954 for (const a of e.split(";")) { 4955 const s = a.slice(0, a.indexOf(":")).trim(); 4956 r[s] == null && sf(n, s, ""); 4957 } 4958 else 4959 for (const a in e) 4960 r[a] == null && sf(n, a, ""); 4961 for (const a in r) 4962 a === "display" && (o = !0), sf(n, a, r[a]); 4963 } else if (i) { 4964 if (e !== r) { 4965 const a = n[VO]; 4966 a && (r += ";" + a), n.cssText = r, o = LO.test(r); 4967 } 4968 } else 4969 e && t.removeAttribute("style"); 4970 Bf in t && (t[Bf] = o ? n.display : "", t[RE] && (n.display = "none")); 4971} 4972const BO = /[^\\];\s*$/, fm = /\s*!important$/; 4973function sf(t, e, r) { 4974 if (Xe(r)) 4975 r.forEach((n) => sf(t, e, n)); 4976 else if (r == null && (r = ""), {}.NODE_ENV !== "production" && BO.test(r) && Nn( 4977 `Unexpected semicolon at the end of '${e}' style value: '${r}'` 4978 ), e.startsWith("--")) 4979 t.setProperty(e, r); 4980 else { 4981 const n = UO(t, e); 4982 fm.test(r) ? t.setProperty( 4983 vi(n), 4984 r.replace(fm, ""), 4985 "important" 4986 ) : t[n] = r; 4987 } 4988} 4989const dm = ["Webkit", "Moz", "ms"], Vh = {}; 4990function UO(t, e) { 4991 const r = Vh[e]; 4992 if (r) 4993 return r; 4994 let n = yr(e); 4995 if (n !== "filter" && n in t) 4996 return Vh[e] = n; 4997 n = ja(n); 4998 for (let i = 0; i < dm.length; i++) { 4999 const o = dm[i] + n; 5000 if (o in t) 5001 return Vh[e] = o; 5002 } 5003 return e; 5004} 5005const hm = "http://www.w3.org/1999/xlink"; 5006function pm(t, e, r, n, i, o = vT(e)) { 5007 n && e.startsWith("xlink:") ? r == null ? t.removeAttributeNS(hm, e.slice(6, e.length)) : t.setAttributeNS(hm, e, r) : r == null || o && !x1(r) ? t.removeAttribute(e) : t.setAttribute( 5008 e, 5009 o ? "" : Qn(r) ? String(r) : r 5010 ); 5011} 5012function vm(t, e, r, n, i) { 5013 if (e === "innerHTML" || e === "textContent") { 5014 r != null && (t[e] = e === "innerHTML" ? FE(r) : r); 5015 return; 5016 } 5017 const o = t.tagName; 5018 if (e === "value" && o !== "PROGRESS" && // custom elements may use _value internally 5019 !o.includes("-")) { 5020 const s = o === "OPTION" ? t.getAttribute("value") || "" : t.value, u = r == null ? ( 5021 // #11647: value should be set as empty string for null and undefined, 5022 // but <input type="checkbox"> should be set as 'on'. 5023 t.type === "checkbox" ? "on" : "" 5024 ) : String(r); 5025 (s !== u || !("_value" in t)) && (t.value = u), r == null && t.removeAttribute(e), t._value = r; 5026 return; 5027 } 5028 let a = !1; 5029 if (r === "" || r == null) { 5030 const s = typeof t[e]; 5031 s === "boolean" ? r = x1(r) : r == null && s === "string" ? (r = "", a = !0) : s === "number" && (r = 0, a = !0); 5032 } 5033 try { 5034 t[e] = r; 5035 } catch (s) { 5036 ({}).NODE_ENV !== "production" && !a && Nn( 5037 `Failed setting prop "${e}" on <${o.toLowerCase()}>: value ${r}
5037 is invalid.`, 5038 s 5039 ); 5040 } 5041 a && t.removeAttribute(i || e); 5042} 5043function IE(t, e, r, n) { 5044 t.addEventListener(e, r, n); 5045} 5046function HO(t, e, r, n) { 5047 t.removeEventListener(e, r, n); 5048} 5049const gm = /* @__PURE__ */ Symbol("_vei"); 5050function zO(t, e, r, n, i = null) { 5051 const o = t[gm] || (t[gm] = {}), a = o[e]; 5052 if (n && a) 5053 a.value = {}.NODE_ENV !== "production" ? ym(n, e) : n; 5054 else { 5055 const [s, u] = WO(e); 5056 if (n) { 5057 const l = o[e] = GO( 5058 {}.NODE_ENV !== "production" ? ym(n, e) : n, 5059 i 5060 ); 5061 IE(t, s, l, u); 5062 } else 5063 a && (HO(t, s, a, u), o[e] = void 0); 5064 } 5065} 5066const mm = /(?:Once|Passive|Capture)$/; 5067function WO(t) { 5068 let e; 5069 if (mm.test(t)) { 5070 e = {}; 5071 let n; 5072 for (; n = t.match(mm); ) 5073 t = t.slice(0, t.length - n[0].length), e[n[0].toLowerCase()] = !0; 5074 } 5075 return [t[2] === ":" ? t.slice(3) : vi(t.slice(2)), e]; 5076} 5077let Lh = 0; 5078const qO = /* @__PURE__ */ Promise.resolve(), KO = () => Lh || (qO.then(() => Lh = 0), Lh = Date.now()); 5079function GO(t, e) { 5080 const r = (n) => { 5081 if (!n._vts) 5082 n._vts = Date.now(); 5083 else if (n._vts <= r.attached) 5084 return; 5085 Ki( 5086 XO(n, r.value), 5087 e, 5088 5, 5089 [n] 5090 ); 5091 }; 5092 return r.value = t, r.attached = KO(), r; 5093} 5094function ym(t, e) { 5095 return it(t) || Xe(t) ? t : (Nn( 5096 `Wrong type passed as event handler to ${e} - did you forget @ or : in front of your prop? 5097Expected function or array of functions, received type ${typeof t}.` 5098 ), Or); 5099} 5100function XO(t, e) { 5101 if (Xe(e)) { 5102 const r = t.stopImmediatePropagation; 5103 return t.stopImmediatePropagation = () => { 5104 r.call(t), t._stopped = !0; 5105 }, e.map( 5106 (n) => (i) => !i._stopped && n && n(i) 5107 ); 5108 } else 5109 return e; 5110} 5111const bm = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // lowercase letter 5112t.charCodeAt(2) > 96 && t.charCodeAt(2) < 123, YO = (t, e, r, n, i, o) => { 5113 const a = i === "svg"; 5114 e === "class" ? MO(t, n, a) : e === "style" ? jO(t, r, n) : Hu(e) ? _u(e) || zO(t, e, r, n, o) : (e[0] === "." ? (e = e.slice(1), !0) : e[0] === "^" ? (e = e.slice(1), !1) : ZO(t, e, n, a)) ? (vm(t, e, n), !t.tagName.includes("-") && (e === "value" || e === "checked" || e === "selected") && pm(t, e, n, a, o, e !== "value")) : /* #11081 force set props for possible async custom element */ t._isVueCE && // #12408 check if it's declared prop or it's async custom element 5115 (JO(t, e) || // @ts-expect-error _def is private 5116 t._def.__asyncLoader && (/[A-Z]/.test(e) || !nr(n))) ? vm(t, yr(e), n, o, e) : (e === "true-value" ? t._trueValue = n : e === "false-value" && (t._falseValue = n), pm(t, e, n, a)); 5117}; 5118function ZO(t, e, r, n) { 5119 if (n) 5120 return !!(e === "innerHTML" || e === "textContent" || e in t && bm(e) && it(r)); 5121 if (e === "spellcheck" || e === "draggable" || e === "translate" || e === "autocorrect" || e === "sandbox" && t.tagName === "IFRAME" || e === "form" || e === "list" && t.tagName === "INPUT" || e === "type" && t.tagName === "TEXTAREA") 5122 return !1; 5123 if (e === "width" || e === "height") { 5124 const i = t.tagName; 5125 if (i === "IMG" || i === "VIDEO" || i === "CANVAS" || i === "SOURCE") 5126 return !1; 5127 } 5128 return bm(e) && nr(r) ? !1 : e in t; 5129} 5130function JO(t, e) { 5131 const r = ( 5132 // @ts-expect-error _def is private 5133 t._def.props 5134 ); 5135 if (!r) 5136 return !1; 5137 const n = yr(e); 5138 return Array.isArray(r) ? r.some((i) => yr(i) === n) : Object.keys(r).some((i) => yr(i) === n); 5139} 5140const Em = (t) => { 5141 const e = t.props["onUpdate:modelValue"] || !1; 5142 return Xe(e) ? (r) => _s(e, r) : e; 5143}, jh = /* @__PURE__ */ Symbol("_assign"), QO = { 5144 // <select multiple> value need to be deep traversed 5145 deep: !0, 5146 created(t, { value: e, modifiers: { number: r } }, n) { 5147 const i = dd(e); 5148 IE(t, "change", () => { 5149 const o = Array.prototype.filter.call(t.options, (a) => a.selected).map( 5150 (a) => r ? E1(Uf(a)) : Uf(a) 5151 ); 5152 t[jh]( 5153 t.multiple ? i ? new Set(o) : o : o[0] 5154 ), t._assigning = !0, zi(() => { 5155 t._assigning = !1; 5156 }); 5157 }), t[jh] = Em(n); 5158 }, 5159 // set value in mounted & updated because <select> relies on its children 5160 // <option>s. 5161 mounted(t, { value: e }) { 5162 xm(t, e); 5163 }, 5164 beforeUpdate(t, e, r) { 5165 t[jh] = Em(r); 5166 }, 5167 updated(t, { value: e }) { 5168 t._assigning || xm(t, e); 5169 } 5170}; 5171function xm(t, e) { 5172 const r = t.multiple, n = Xe(e); 5173 if (r && !n && !dd(e)) { 5174 ({}).NODE_ENV !== "production" && Nn( 5175 `<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(e).slice(8, -1)}.` 5176 ); 5177 return; 5178 } 5179 for (let i = 0, o = t.options.length; i < o; i++) { 5180 const a = t.options[i], s = Uf(a); 5181 if (r) 5182 if (n) { 5183 const u = typeof s; 5184 u === "string" || u === "number" ? a.selected = e.some((l) => String(l) === String(s)) : a.selected = mT(e, s) > -1; 5185 } else 5186 a.selected = e.has(s); 5187 else if (Wu(Uf(a), e)) { 5188 t.selectedIndex !== i && (t.selectedIndex = i); 5189 return; 5190 } 5191 } 5192 !r && t.selectedIndex !== -1 && (t.selectedIndex = -1); 5193} 5194function Uf(t) { 5195 return "_value" in t ? t._value : t.value; 5196} 5197const $O = ["ctrl", "shift", "alt", "meta"], eA = { 5198 stop: (t) => t.stopPropagation(), 5199 prevent: (t) => t.preventDefault(), 5200 self: (t) => t.target !== t.currentTarget, 5201 ctrl: (t) => !t.ctrlKey, 5202 shift: (t) => !t.shiftKey, 5203 alt: (t) => !t.altKey, 5204 meta: (t) => !t.metaKey, 5205 left: (t) => "button" in t && t.button !== 0, 5206 middle: (t) => "button" in t && t.button !== 1, 5207 right: (t) => "button" in t && t.button !== 2, 5208 exact: (t, e) => $O.some((r) => t[`${r}Key`] && !e.includes(r)) 5209}, tA = (t, e) => { 5210 if (!t) 5211 return t;
5212 const r = t._withMods || (t._withMods = {}), n = e.join("."); 5213 return r[n] || (r[n] = (i, ...o) => { 5214 for (let a = 0; a < e.length; a++) { 5215 const s = eA[e[a]]; 5216 if (s && s(i, e)) 5217 return; 5218 } 5219 return t(i, ...o); 5220 }); 5221}, rA = /* @__PURE__ */ rr({ patchProp: YO }, RO); 5222let wm; 5223function ME() { 5224 return wm || (wm = cO(rA)); 5225} 5226const Sm = (...t) => { 5227 ME().render(...t); 5228}, nA = (...t) => { 5229 const e = ME().createApp(...t); 5230 ({}).NODE_ENV !== "production" && (oA(e), aA(e)); 5231 const { mount: r } = e; 5232 return e.mount = (n) => { 5233 const i = sA(n); 5234 if (!i) 5235 return; 5236 const o = e._component; 5237 !it(o) && !o.render && !o.template && (o.template = i.innerHTML), i.nodeType === 1 && (i.textContent = ""); 5238 const a = r(i, !1, iA(i)); 5239 return i instanceof Element && (i.removeAttribute("v-cloak"), i.setAttribute("data-v-app", "")), a; 5240 }, e; 5241}; 5242function iA(t) { 5243 if (t instanceof SVGElement) 5244 return "svg"; 5245 if (typeof MathMLElement == "function" && t instanceof MathMLElement) 5246 return "mathml"; 5247} 5248function oA(t) { 5249 Object.defineProperty(t.config, "isNativeTag", { 5250 value: (e) => fT(e) || dT(e) || hT(e), 5251 writable: !1 5252 }); 5253} 5254function aA(t) { 5255 { 5256 const e = t.config.isCustomElement; 5257 Object.defineProperty(t.config, "isCustomElement", { 5258 get() { 5259 return e; 5260 }, 5261 set() { 5262 Nn( 5263 "The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead." 5264 ); 5265 } 5266 }); 5267 const r = t.config.compilerOptions, n = 'The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc'; 5268 Object.defineProperty(t.config, "compilerOptions", { 5269 get() { 5270 return Nn(n), r; 5271 }, 5272 set() { 5273 Nn(n); 5274 } 5275 }); 5276 } 5277} 5278function sA(t) { 5279 if (nr(t)) { 5280 const e = document.querySelector(t); 5281 return {}.NODE_ENV !== "production" && !e && Nn( 5282 `Failed to mount app: mount target selector "${t}" returned null.` 5283 ), e; 5284 } 5285 return {}.NODE_ENV !== "production" && window.ShadowRoot && t instanceof window.ShadowRoot && t.mode === "closed" && Nn( 5286 'mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs' 5287 ), t; 5288} 5289/** 5290* vue v3.5.32 5291* (c) 2018-present Yuxi (Evan) You and Vue contributors 5292* @license MIT
5293**/ 5294function lA() { 5295 DO(); 5296} 5297({}).NODE_ENV !== "production" && lA(); 5298/*! (c) Andrea Giammarchi - ISC */ 5299const uA = (() => { 5300 const t = "DOMContentLoaded", e = /* @__PURE__ */ new WeakMap(), r = [], n = (a) => { 5301 do 5302 if (a.nextSibling) 5303 return !0; 5304 while (a = a.parentNode); 5305 return !1; 5306 }, i = () => { 5307 r.splice(0).forEach((a) => { 5308 e.get(a[0]) !== !0 && (e.set(a[0], !0), a[0][a[1]]()); 5309 }); 5310 }; 5311 document.addEventListener(t, i); 5312 class o extends HTMLElement { 5313 static withParsedCallback(s, u = "parsed") { 5314 const { prototype: l } = s, { connectedCallback: f } = l, h = u + "Callback", g = (m, b, S, w) => { 5315 b.disconnect(), S.removeEventListener(t, w), d(m); 5316 }, d = (m) => { 5317 r.length || requestAnimationFrame(i), r.push([m, h]); 5318 }; 5319 return Object.defineProperties( 5320 l, 5321 { 5322 connectedCallback: { 5323 configurable: !0, 5324 writable: !0, 5325 value() { 5326 if (f && f.apply(this, arguments), h in this && !e.has(this)) { 5327 const m = this, { ownerDocument: b } = m; 5328 if (e.set(m, !1), b.readyState === "complete" || n(m)) 5329 d(m); 5330 else { 5331 const S = () => g(m, w, b, S); 5332 b.addEventListener(t, S); 5333 const w = new MutationObserver(() => { 5334 n(m) && g(m, w, b, S); 5335 }); 5336 w.observe(m.parentNode, { childList: !0, subtree: !0 }); 5337 } 5338 } 5339 } 5340 }, 5341 [u]: { 5342 configurable: !0, 5343 get() { 5344 return e.get(this) === !0; 5345 } 5346 } 5347 } 5348 ), s; 5349 } 5350 } 5351 return o.withParsedCallback(o); 5352})(); 5353function cA(t, e, r) { 5354 const n = /* @__PURE__ */ Gu(t); 5355 class i extends $v { 5356 static def = n; 5357 constructor(a) { 5358 super(n, a, e, r); 5359 } 5360 } 5361 return i; 5362} 5363const fA = typeof HTMLElement < "u" ? uA : class { 5364}; 5365class $v extends fA { 5366 constructor(e, r = {}, n = {}, i) { 5367 super(), this._def = e, this._props = r, this._config = n, this._config = rr( 5368 { 5369 shadowRoot: !0 5370 }, 5371 this._config 5372 ), this._config.shadowRoot ? this.shadowRoot && i ? i(this._createVNode(), this._root) : (this.shadowRoot && Nn( 5373 "Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`." 5374 ), this.attachShadow({ mode: "open" })) : i && i(this._createVNode(), this._root); 5375 } 5376 /** 5377 * @internal 5378 */ 5379 _instance = null; 5380 _connected = !1; 5381 _resolved = !1; 5382 _numberProps = null; 5383 _styles; 5384 _slots; 5385 get _root() { 5386 return this._config.shadowRoot ? this.shadowRoot : this; 5387 } 5388 connectedCallback() { 5389 this._config.shadowRoot ? this._connect() : super.connectedCallback(); 5390 } 5391 // use of parsedCallback when shadowRoot is disabled 5392 // to wait for slots to be parsed 5393 // see https://stackoverflow.com/a/52884370 5394 parsedCallback() { 5395 this._config.shadowRoot || this._connect(); 5396 } 5397 _connect() { 5398 this._connected = !0, this._instance || this._resolveDef(); 5399 } 5400 disconnectedCallback() { 5401 this._connected = !1, zi(() => { 5402 this._connected || (Sm(null, this._root), this._instance = null); 5403 }); 5404 } 5405 /** 5406 * resolve inner component definition (handle possible async component) 5407 */ 5408 _resolveDef() { 5409 if (this._resolved) 5410 return; 5411 this._resolved = !0; 5412 for (let n = 0; n < this.attributes.length; n++) 5413 this._setAttr(this.attributes[n].name); 5414 new MutationObserver((n) => { 5415 for (const i of n) 5416 this._setAttr(i.attributeName); 5417 }).observe(this, { attributes: !0 }); 5418 const e = (n) => { 5419 const { props: i, styles: o } = n, a = !Xe(i), s = i ? a ? Object.keys(i) : i : []; 5420 let u; 5421 if (a && i) 5422 for (const l in this._props) { 5423 const f = i[l]; 5424 (f === Number || f && f.type === Number) && (this._props[l] = Mg(this._props[l]), (u || (u = /* @__PURE__ */ Object.create(null)))[l] = !0); 5425 } 5426 this._numberProps = u; 5427 for (const l of Object.keys(this)) 5428 l[0] !== "_" && this._setProp(l, this[l], !0, !1); 5429 for (const l of s.map(yr)) 5430 Object.defineProperty(this, l, { 5431 get() { 5432 return this._getProp(l); 5433 }, 5434 set(f) { 5435 this._setProp(l, f); 5436 } 5437 }); 5438 this._config.shadowRoot || (this._slots = Array.from(this.children).map((l) => l.cloneNode(!0)), this.replaceChildren()), this._applyStyles(o), this._update(); 5439 }, r = this._def.__asyncLoader; 5440 r ? r().then(e) : e(this._def); 5441 } 5442 _setAttr(e) { 5443 let r = this.getAttribute(e); 5444 this._numberProps && this._numberProps[e] && (r = Mg(r)), this._setProp(yr
5444(e), r, !1); 5445 } 5446 /** 5447 * @internal 5448 */ 5449 _getProp(e) { 5450 return this._props[e]; 5451 } 5452 /** 5453 * @internal 5454 */ 5455 _setProp(e, r, n = !0, i = !0) { 5456 r !== this._props[e] && (this._props[e] = r, i && this._instance && this._update(), n && (r === !0 ? this.setAttribute(vi(e), "") : typeof r == "string" || typeof r == "number" ? this.setAttribute(vi(e), r + "") : r || this.removeAttribute(vi(e)))); 5457 } 5458 _update() { 5459 Sm(this._createVNode(), this._root); 5460 } 5461 _createVNode() { 5462 let e = null; 5463 this._config.shadowRoot || (e = () => { 5464 const n = (i) => { 5465 const o = {}; 5466 for (let a = 0, s = i.length; a < s; a++) { 5467 const u = i[a]; 5468 o[u.nodeName] = u.nodeValue; 5469 } 5470 return o; 5471 }; 5472 return this._slots.map((i) => { 5473 const o = i.attributes ? n(i.attributes) : {}; 5474 return o.innerHTML = i.innerHTML, St(i.tagName, o, null); 5475 }); 5476 }); 5477 const r = St(this._def, rr({}, this._props), e); 5478 return this._instance || (r.ce = (n) => { 5479 this._instance = n, this._config.shadowRoot && (n.isCE = !0), n.emit = (o, ...a) => { 5480 this.dispatchEvent( 5481 new CustomEvent(o, { 5482 detail: a 5483 }) 5484 ); 5485 }; 5486 let i = this; 5487 for (; i = i && (i.parentNode || i.host); ) 5488 if (i instanceof $v) { 5489 n.parent = i._instance; 5490 break; 5491 } 5492 }), r; 5493 } 5494 _applyStyles(e) { 5495 e && e.forEach((r) => { 5496 const n = document.createElement("style"); 5497 n.textContent = r, this._root.appendChild(n); 5498 }); 5499 } 5500} 5501var VE = !1; 5502function kc(t, e, r) { 5503 return Array.isArray(t) ? (t.length = Math.max(t.length, e), t.splice(e, 1, r), r) : (t[e] = r, r); 5504} 5505function Bh(t, e) { 5506 if (Array.isArray(t)) { 5507 t.splice(e, 1); 5508 return; 5509 } 5510 delete t[e]; 5511} 5512function dA() { 5513 return LE().__VUE_DEVTOOLS_GLOBAL_HOOK__; 5514} 5515function LE() { 5516 return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {}; 5517} 5518const hA = typeof Proxy == "function", pA = "devtools-plugin:setup", vA = "plugin:settings:set"; 5519let ds, Bp; 5520function gA() { 5521 var t; 5522 return ds !== void 0 || (typeof window < "u" && window.performance ? (ds = !0, Bp = window.performance) : typeof globalThis < "u" && (!((t = globalThis.perf_hooks) === null || t === void 0) && t.performance) ? (ds = !0, Bp = globalThis.perf_hooks.performance) : ds = !1), ds; 5523} 5524function mA() { 5525 return gA() ? Bp.now() : Date.now(); 5526} 5527class yA { 5528 constructor(e, r) { 5529 this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = r; 5530 const n = {}; 5531 if (e.settings) 5532 for (const a in e.settings) { 5533 const s = e.settings[a]; 5534 n[a] = s.defaultValue; 5535 } 5536 const i = `__vue-devtools-plugin-settings__${e.id}`; 5537 let o = Object.assign({}, n); 5538 try { 5539 const a = localStorage.getItem(i), s = JSON.parse(a); 5540 Object.assign(o, s); 5541 } catch { 5542 } 5543 this.fallbacks = { 5544 getSettings() { 5545 return o; 5546 }, 5547 setSettings(a) { 5548 try { 5549 localStorage.setItem(i, JSON.stringify(a)); 5550 } catch { 5551 } 5552 o = a; 5553 }, 5554 now() { 5555 return mA(); 5556 } 5557 }, r && r.on(vA, (a, s) => { 5558 a === this.plugin.id && this.fallbacks.setSettings(s); 5559 }), this.proxiedOn = new Proxy({}, { 5560 get: (a, s) => this.target ? this.target.on[s] : (...u) => { 5561 this.onQueue.push({ 5562 method: s, 5563 args: u 5564 }); 5565 } 5566 }), this.proxiedTarget = new Proxy({}, { 5567 get: (a, s) => this.target ? this.target[s] : s === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(s) ? (...u) => (this.targetQueue.push({ 5568 method: s, 5569 args: u, 5570 resolve: () => { 5571 } 5572 }), this.fallbacks[s](...u)) : (...u) => new Promise((l) => { 5573 this.targetQueue.push({ 5574 method: s, 5575 args: u, 5576 resolve: l 5577 }); 5578 }) 5579 }); 5580 } 5581 async setRealTarget(e) { 5582 this.target = e; 5583 for (const r of this.onQueue) 5584 this.target.on[r.method](...r.args); 5585 for (const r of this.targetQueue) 5586 r.resolve(await this.target[r.method](...r.args)); 5587 } 5588} 5589function e0(t, e) { 5590 const r = t, n = LE(), i = dA(), o = hA && r.enableEarlyProxy; 5591 if (i && (n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o)) 5592 i.emit(pA, t, e); 5593 else { 5594 const a = o ? new yA(r, i) : null; 5595 (n.__VUE_DEVTOOLS_PLUGINS__ = n.__VUE_DEVTOOLS_PLUGINS__ || []).push({ 5596 pluginDescriptor: r, 5597 setupFn: e, 5598 proxy: a 5599 }), a && e(a.proxiedTarget); 5600 } 5601} 5602/*! 5603 * pinia v2.0.36 5604 * (c) 2023 Eduardo San Martin Morote 5605 * @license MIT 5606 */ 5607let ql; 5608const Du = (t) => ql = t, jE = {}.NODE_ENV !== "production" ? Symbol("pinia") : ( 5609 /* istanbul ignore next */ 5610 Symbol() 5611); 5612function Ua(t) { 5613 return t && typeof t == "object" && Object.prototype.toString.call(t) === "[object Object]" && typeof t.toJSON != "function"; 5614} 5615var Wi; 5616(function(t) { 5617 t.direct = "direct", t.patchObject = "patch object", t.patchFunction = "patch function"; 5618})(Wi || (Wi = {})); 5619const _d = typeof window < "u", su = ({}.NODE_ENV !== "production" || !1) && {}.NODE_ENV !== "test" && _d, _m = /* @__PURE__ */ (() => typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null })(); 5620function bA(t, { autoBom: e = !1 } = {}) { 5621 return e && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type) ? new Blob([String.fromCharCode(65279), t], { type: t.type }) : t; 5622} 5623function t0(t, e, r) { 5624 const n = new XMLHttpRequest(); 5625 n.open("GET", t), n.responseType = "blob", n.onload = function() { 5626 HE(n.response, e, r); 5627 }, n.onerror = function() { 5628 console.error("could not download file"); 5629 }, n.send(); 5630} 5631function BE(t) { 5632 const e = new XMLHttpRequest(); 5633 e.open("HEAD", t, !1); 5634 try { 5635 e.send(); 5636 } catch { 5637 } 5638 return e.status >= 200 && e.status <= 299; 5639} 5640function lf(t) { 5641 try { 5642 t.dispatchEvent(new MouseEvent("click")); 5643 } catch { 5644 const r = document.createEvent("MouseEvents"); 5645 r.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), t.dis
5645patchEvent(r); 5646 } 5647} 5648const uf = typeof navigator == "object" ? navigator : { userAgent: "" }, UE = /* @__PURE__ */ (() => /Macintosh/.test(uf.userAgent) && /AppleWebKit/.test(uf.userAgent) && !/Safari/.test(uf.userAgent))(), HE = _d ? ( 5649 // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program 5650 typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !UE ? EA : ( 5651 // Use msSaveOrOpenBlob as a second approach 5652 "msSaveOrOpenBlob" in uf ? xA : ( 5653 // Fallback to using FileReader and a popup 5654 wA 5655 ) 5656 ) 5657) : () => { 5658}; 5659function EA(t, e = "download", r) { 5660 const n = document.createElement("a"); 5661 n.download = e, n.rel = "noopener", typeof t == "string" ? (n.href = t, n.origin !== location.origin ? BE(n.href) ? t0(t, e, r) : (n.target = "_blank", lf(n)) : lf(n)) : (n.href = URL.createObjectURL(t), setTimeout(function() { 5662 URL.revokeObjectURL(n.href); 5663 }, 4e4), setTimeout(function() { 5664 lf(n); 5665 }, 0)); 5666} 5667function xA(t, e = "download", r) { 5668 if (typeof t == "string") 5669 if (BE(t)) 5670 t0(t, e, r); 5671 else { 5672 const n = document.createElement("a"); 5673 n.href = t, n.target = "_blank", setTimeout(function() { 5674 lf(n); 5675 }); 5676 } 5677 else 5678 navigator.msSaveOrOpenBlob(bA(t, r), e); 5679} 5680function wA(t, e, r, n) { 5681 if (n = n || open("", "_blank"), n && (n.document.title = n.document.body.innerText = "downloading..."), typeof t == "string") 5682 return t0(t, e, r); 5683 const i = t.type === "application/octet-stream", o = /constructor/i.test(String(_m.HTMLElement)) || "safari" in _m, a = /CriOS\/[\d]+/.test(navigator.userAgent); 5684 if ((a || i && o || UE) && typeof FileReader < "u") { 5685 const s = new FileReader(); 5686 s.onloadend = function() { 5687 let u = s.result; 5688 if (typeof u != "string") 5689 throw n = null, new Error("Wrong reader.result type"); 5690 u = a ? u : u.replace(/^data:[^;]*;/, "data:attachment/file;"), n ? n.location.href = u : location.assign(u), n = null; 5691 }, s.readAsDataURL(t); 5692 } else { 5693 const s = URL.createObjectURL(t); 5694 n ? n.location.assign(s) : location.href = s, n = null, setTimeout(function() { 5695 URL.revokeObjectURL(s); 5696 }, 4e4); 5697 } 5698} 5699function Fr(t, e) { 5700 const r = "ð " + t; 5701 typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(r, e) : e === "error" ? console.error(r) : e === "warn" ? console.warn(r) : console.log(r); 5702} 5703function r0(t) { 5704 return "_a" in t && "install" in t; 5705} 5706function zE() { 5707 if (!("clipboard" in navigator)) 5708 return Fr("Your browser doesn't support the Clipboard API", "error"), !0; 5709} 5710function WE(t) { 5711 return t instanceof Error && t.message.toLowerCase().includes("document is not focused") ? (Fr('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1; 5712} 5713async function SA(t) { 5714 if (!zE()) 5715 try { 5716 await navigator.clipboard.writeText(JSON.stringify(t.state.value)), Fr("Global state copied to clipboard."); 5717 } catch (e) { 5718 if (WE(e)) 5719 return; 5720 Fr("Failed to serialize the state. Check the console for more details.", "error"), console.error(e); 5721 } 5722} 5723async function _A(t) { 5724 if (!zE()) 5725 try { 5726 t.state.value = JSON.parse(await navigator.clipboard.readText()), Fr("Global state pasted from clipboard."); 5727 } catch (e) { 5728 if (WE(e)) 5729 return; 5730 Fr("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(e); 5731 } 5732} 5733async function TA(t) { 5734 try { 5735 HE(new Blob([JSON.stringify(t.state.value)], { 5736 type: "text/plain;charset=utf-8" 5737 }), "pinia-state.json"); 5738 } catch (e) { 5739 Fr("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e); 5740 } 5741} 5742let ro; 5743function CA() { 5744 ro || (ro = document.createElement("input"), ro.type = "file", ro.accept = ".json"); 5745 function t() { 5746 return new Promise((e, r) => { 5747 ro.onchange = async () => { 5748 const n = ro.files; 5749 if (!n) 5750 return e(null); 5751 const i = n.item(0); 5752 return e(i ? { text: await i.text(), file: i } : null); 5753 }, ro.oncancel = () => e(null), ro.onerror = r, ro.click(); 5754 }); 5755 } 5756 return t; 5757} 5758async function OA(t) { 5759 try { 5760 const r = await (await CA())(); 5761 if (!r) 5762 return; 5763 const { text: n, file: i } = r; 5764 t.state.value = JSON.parse(n), Fr(`Global state imported from "${i.name}".`); 5765 } catch (e) { 5766 Fr("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(e); 5767 } 5768} 5769function ci(t) { 5770 return { 5771 _custom: { 5772 display: t 5773 } 5774 }; 5775} 5776const qE = "ð Pinia (root)", Up = "_root"; 5777function AA(t) { 5778 return r0(t) ? { 5779 id: Up, 5780 label: qE 5781 } : {
5782 id: t.$id, 5783 label: t.$id 5784 }; 5785} 5786function NA(t) { 5787 if (r0(t)) { 5788 const r = Array.from(t._s.keys()), n = t._s; 5789 return { 5790 state: r.map((o) => ({ 5791 editable: !0, 5792 key: o, 5793 value: t.state.value[o] 5794 })), 5795 getters: r.filter((o) => n.get(o)._getters).map((o) => { 5796 const a = n.get(o); 5797 return { 5798 editable: !1, 5799 key: o, 5800 value: a._getters.reduce((s, u) => (s[u] = a[u], s), {}) 5801 }; 5802 }) 5803 }; 5804 } 5805 const e = { 5806 state: Object.keys(t.$state).map((r) => ({ 5807 editable: !0, 5808 key: r, 5809 value: t.$state[r] 5810 })) 5811 }; 5812 return t._getters && t._getters.length && (e.getters = t._getters.map((r) => ({ 5813 editable: !1, 5814 key: r, 5815 value: t[r] 5816 }))), t._customProperties.size && (e.customProperties = Array.from(t._customProperties).map((r) => ({ 5817 editable: !0, 5818 key: r, 5819 value: t[r] 5820 }))), e; 5821} 5822function kA(t) { 5823 return t ? Array.isArray(t) ? t.reduce((e, r) => (e.keys.push(r.key), e.operations.push(r.type), e.oldValue[r.key] = r.oldValue, e.newValue[r.key] = r.newValue, e), { 5824 oldValue: {}, 5825 keys: [], 5826 operations: [], 5827 newValue: {} 5828 }) : { 5829 operation: ci(t.type), 5830 key: ci(t.key), 5831 oldValue: t.oldValue, 5832 newValue: t.newValue 5833 } : {}; 5834} 5835function DA(t) { 5836 switch (t) { 5837 case Wi.direct: 5838 return "mutation"; 5839 case Wi.patchFunction: 5840 return "$patch"; 5841 case Wi.patchObject: 5842 return "$patch"; 5843 default: 5844 return "unknown"; 5845 } 5846} 5847let As = !0; 5848const cf = [], _a = "pinia:mutations", Wr = "pinia", { assign: PA } = Object, Hf = (t) => "ð " + t; 5849function FA(t, e) { 5850 e0({ 5851 id: "dev.esm.pinia", 5852 label: "Pinia ð", 5853 logo: "https://pinia.vuejs.org/logo.svg", 5854 packageName: "pinia", 5855 homepage: "https://pinia.vuejs.org", 5856 componentStateTypes: cf, 5857 app: t 5858 }, (r) => { 5859 typeof r.now != "function" && Fr("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), r.addTimelineLayer({ 5860 id: _a, 5861 label: "Pinia ð", 5862 color: 15064968 5863 }), r.addInspector({ 5864 id: Wr, 5865 label: "Pinia ð", 5866 icon: "storage", 5867 treeFilterPlaceholder: "Search stores", 5868 actions: [ 5869 { 5870 icon: "content_copy", 5871 action: () => { 5872 SA(e); 5873 }, 5874 tooltip: "Serialize and copy the state" 5875 }, 5876 { 5877 icon: "content_paste", 5878 action: async () => { 5879 await _A(e), r.sendInspectorTree(Wr), r.sendInspectorState(Wr); 5880 }, 5881 tooltip: "Replace the state with the content of your clipboard" 5882 }, 5883 { 5884 icon: "save", 5885 action: () => { 5886 TA(e); 5887 }, 5888 tooltip: "Save the state as a JSON file" 5889 }, 5890 { 5891 icon: "folder_open", 5892 action: async () => { 5893 await OA(e), r.sendInspectorTree(Wr), r.sendInspectorState(Wr); 5894 }, 5895 tooltip: "Import the state from a JSON file" 5896 } 5897 ], 5898 nodeActions: [ 5899 { 5900 icon: "restore", 5901 tooltip: "Reset the state (option store only)", 5902 action: (n) => { 5903 const i = e._s.get(n); 5904 i ? i._isOptionsAPI ? (i.$reset(), Fr(`Store "${n}" reset.`)) : Fr(`Cannot reset "${n}" store because it's a setup store.`, "warn") : Fr(`Cannot reset "${n}" store because it wasn't found.`, "warn"); 5905 } 5906 } 5907 ] 5908 }), r.on.inspectComponent((n, i) => { 5909 const o = n.componentInstance && n.componentInstance.proxy; 5910 if (o && o._pStores) { 5911 const a = n.componentInstance.proxy._pStores; 5912 Object.values(a).forEach((s) => { 5913 n.instanceData.state.push({ 5914 type: Hf(s.$id), 5915 key: "state", 5916 editable: !0, 5917 value: s._isOptionsAPI ? { 5918 _custom: { 5919 value: /* @__PURE__ */ ft(s.$state), 5920 actions: [ 5921 { 5922 icon: "restore", 5923 tooltip: "Reset the state of this store", 5924 action: () => s.$reset() 5925 } 5926 ] 5927 } 5928 } : ( 5929 // NOTE: workaround to unwrap transferred refs 5930 Object.keys(s.$state).reduce((u, l) => (u[l] = s.$state[l], u), {}) 5931 ) 5932 }), s._getters && s._getters.length && n.instanceData.state.push({ 5933 type: Hf(s.$id), 5934 key: "getters", 5935 editable: !1, 5936 value: s._getters.reduce((u, l) => { 5937 try { 5938 u[l] = s[l]; 5939 } catch (f) { 5940 u[l] = f; 5941 } 5942 return u; 5943 }, {}) 5944 }); 5945 }); 5946 } 5947 }), r.on.getInspectorTree((n) => { 5948 if (n.app === t && n.inspectorId === Wr) { 5949 let i = [e];
5950 i = i.concat(Array.from(e._s.values())), n.rootNodes = (n.filter ? i.filter((o) => "$id" in o ? o.$id.toLowerCase().includes(n.filter.toLowerCase()) : qE.toLowerCase().includes(n.filter.toLowerCase())) : i).map(AA); 5951 } 5952 }), r.on.getInspectorState((n) => { 5953 if (n.app === t && n.inspectorId === Wr) { 5954 const i = n.nodeId === Up ? e : e._s.get(n.nodeId); 5955 if (!i) 5956 return; 5957 i && (n.state = NA(i)); 5958 } 5959 }), r.on.editInspectorState((n, i) => { 5960 if (n.app === t && n.inspectorId === Wr) { 5961 const o = n.nodeId === Up ? e : e._s.get(n.nodeId); 5962 if (!o) 5963 return Fr(`store "${n.nodeId}" not found`, "error"); 5964 const { path: a } = n; 5965 r0(o) ? a.unshift("state") : (a.length !== 1 || !o._customProperties.has(a[0]) || a[0] in o.$state) && a.unshift("$state"), As = !1, n.set(o, a, n.state.value), As = !0; 5966 } 5967 }), r.on.editComponentState((n) => { 5968 if (n.type.startsWith("ð")) { 5969 const i = n.type.replace(/^ð\s*/, ""), o = e._s.get(i); 5970 if (!o) 5971 return Fr(`store "${i}" not found`, "error"); 5972 const { path: a } = n; 5973 if (a[0] !== "state") 5974 return Fr(`Invalid path for store "${i}": 5975${a} 5976Only state can be modified.`); 5977 a[0] = "$state", As = !1, n.set(o, a, n.state.value), As = !0; 5978 } 5979 }); 5980 }); 5981} 5982function RA(t, e) { 5983 cf.includes(Hf(e.$id)) || cf.push(Hf(e.$id)), e0({ 5984 id: "dev.esm.pinia", 5985 label: "Pinia ð", 5986 logo: "https://pinia.vuejs.org/logo.svg", 5987 packageName: "pinia", 5988 homepage: "https://pinia.vuejs.org", 5989 componentStateTypes: cf, 5990 app: t, 5991 settings: { 5992 logStoreChanges: { 5993 label: "Notify about new/deleted stores", 5994 type: "boolean", 5995 defaultValue: !0 5996 } 5997 // useEmojis: { 5998 // label: 'Use emojis in messages â¡ï¸', 5999 // type: 'boolean', 6000 // defaultValue: true, 6001 // }, 6002 } 6003 }, (r) => { 6004 const n = typeof r.now == "function" ? r.now.bind(r) : Date.now; 6005 e.$onAction(({ after: a, onError: s, name: u, args: l }) => { 6006 const f = KE++; 6007 r.addTimelineEvent({ 6008 layerId: _a, 6009 event: { 6010 time: n(), 6011 title: "ð« " + u, 6012 subtitle: "start", 6013 data: { 6014 store: ci(e.$id), 6015 action: ci(u), 6016 args: l 6017 }, 6018 groupId: f 6019 } 6020 }), a((h) => { 6021 Ca = void 0, r.addTimelineEvent({ 6022 layerId: _a, 6023 event: { 6024 time: n(), 6025 title: "ð¬ " + u, 6026 subtitle: "end", 6027 data: { 6028 store: ci(e.$id), 6029 action: ci(u), 6030 args: l, 6031 result: h 6032 }, 6033 groupId: f 6034 } 6035 }); 6036 }), s((h) => { 6037 Ca = void 0, r.addTimelineEvent({ 6038 layerId: _a, 6039 event: { 6040 time: n(), 6041 logType: "error", 6042 title: "ð¥ " + u, 6043 subtitle: "end", 6044 data: { 6045 store: ci(e.$id), 6046 action: ci(u), 6047 args: l, 6048 error: h 6049 }, 6050 groupId: f 6051 } 6052 }); 6053 }); 6054 }, !0), e._customProperties.forEach((a) => { 6055 Ir(() => ke(e[a]), (s, u) => { 6056 r.notifyComponentUpdate(), r.sendInspectorState(Wr), As && r.addTimelineEvent({ 6057 layerId: _a, 6058 event: { 6059 time: n(), 6060 title: "Change", 6061 subtitle: a, 6062 data: { 6063 newValue: s, 6064 oldValue: u 6065 }, 6066 groupId: Ca 6067 } 6068 }); 6069 }, { deep: !0 }); 6070 }), e.$subscribe(({ events: a, type: s }, u) => { 6071 if (r.notifyComponentUpdate(), r.sendInspectorState(Wr), !As) 6072 return; 6073 const l = { 6074 time: n(), 6075 title: DA(s), 6076 data: PA({ store: ci(e.$id) }, kA(a)), 6077 groupId: Ca 6078 }; 6079 Ca = void 0, s === Wi.patchFunction ? l.subtitle = "⤵ï¸" : s === Wi.patchObject ? l.subtitle = "ð§©" : a && !Array.isArray(a) && (l.subtitle = a.type), a && (l.data["rawEvent(s)"] = { 6080 _custom: { 6081 display: "DebuggerEvent", 6082 type: "object", 6083 tooltip: "raw DebuggerEvent[]", 6084 value: a 6085 } 6086 }), r.addTimelineEvent({ 6087 layerId: _a, 6088 event: l 6089 }); 6090 }, { detached: !0, flush: "sync" }); 6091 const i = e._hotUpdate; 6092 e._hotUpdate = Mi((a) => { 6093 i(a), r.addTimelineEvent({ 6094 layerId: _a, 6095 event: { 6096 time: n(), 6097 title: "ð¥ " + e.$id, 6098 subtitle: "HMR update", 6099 data: { 6100 store: ci(e.$id), 6101 info: ci("HMR update") 6102 } 6103 } 6104 }), r.notifyComponentUpdate(), r.sendInspectorTree(Wr), r.sendInspectorState(Wr); 6105 }); 6106 const { $dispose: o } = e; 6107 e.$dispose = () => {
6108 o(), r.notifyComponentUpdate(), r.sendInspectorTree(Wr), r.sendInspectorState(Wr), r.getSettings().logStoreChanges && Fr(`Disposed "${e.$id}" store ð`); 6109 }, r.notifyComponentUpdate(), r.sendInspectorTree(Wr), r.sendInspectorState(Wr), r.getSettings().logStoreChanges && Fr(`"${e.$id}" store installed ð`); 6110 }); 6111} 6112let KE = 0, Ca; 6113function Tm(t, e) { 6114 const r = e.reduce((n, i) => (n[i] = (/* @__PURE__ */ ft(t))[i], n), {}); 6115 for (const n in r) 6116 t[n] = function() { 6117 const i = KE, o = new Proxy(t, { 6118 get(...a) { 6119 return Ca = i, Reflect.get(...a); 6120 }, 6121 set(...a) { 6122 return Ca = i, Reflect.set(...a); 6123 } 6124 }); 6125 return r[n].apply(o, arguments); 6126 }; 6127} 6128function IA({ app: t, store: e, options: r }) { 6129 if (!e.$id.startsWith("__hot:")) { 6130 if (r.state && (e._isOptionsAPI = !0), typeof r.state == "function") { 6131 Tm( 6132 // @ts-expect-error: can cast the store... 6133 e, 6134 Object.keys(r.actions) 6135 ); 6136 const n = e._hotUpdate; 6137 (/* @__PURE__ */ ft(e))._hotUpdate = function(i) { 6138 n.apply(this, arguments), Tm(e, Object.keys(i._hmrPayload.actions)); 6139 }; 6140 } 6141 RA( 6142 t, 6143 // FIXME: is there a way to allow the assignment from Store<Id, S, G, A> to StoreGeneric? 6144 e 6145 ); 6146 } 6147} 6148function MA() { 6149 const t = T1(!0), e = t.run(() => /* @__PURE__ */ tr({})); 6150 let r = [], n = []; 6151 const i = Mi({ 6152 install(o) { 6153 Du(i), i._a = o, o.provide(jE, i), o.config.globalProperties.$pinia = i, su && FA(o, i), n.forEac
6153h((a) => r.push(a)), n = []; 6154 }, 6155 use(o) { 6156 return !this._a && !VE ? n.push(o) : r.push(o), this; 6157 }, 6158 _p: r, 6159 // it's actually undefined here 6160 // @ts-expect-error 6161 _a: null, 6162 _e: t, 6163 _s: /* @__PURE__ */ new Map(), 6164 state: e 6165 }); 6166 return su && typeof Proxy < "u" && i.use(IA), i; 6167} 6168function GE(t, e) { 6169 for (const r in e) { 6170 const n = e[r]; 6171 if (!(r in t)) 6172 continue; 6173 const i = t[r]; 6174 Ua(i) && Ua(n) && !/* @__PURE__ */ Rt(n) && !/* @__PURE__ */ Xn(n) ? t[r] = GE(i, n) : t[r] = n; 6175 } 6176 return t; 6177} 6178const XE = () => { 6179}; 6180function Cm(t, e, r, n = XE) { 6181 t.push(e); 6182 const i = () => { 6183 const o = t.indexOf(e); 6184 o > -1 && (t.splice(o, 1), n()); 6185 }; 6186 return !r && C1() && yT(i), i; 6187} 6188function hs(t, ...e) { 6189 t.slice().forEach((r) => { 6190 r(...e); 6191 }); 6192} 6193function Hp(t, e) { 6194 t instanceof Map && e instanceof Map && e.forEach((r, n) => t.set(n, r)), t instanceof Set && e instanceof Set && e.forEach(t.add, t); 6195 for (const r in e) { 6196 if (!e.hasOwnProperty(r)) 6197 continue; 6198 const n = e[r], i = t[r]; 6199 Ua(i) && Ua(n) && t.hasOwnProperty(r) && !/* @__PURE__ */ Rt(n) && !/* @__PURE__ */ Xn(n) ? t[r] = Hp(i, n) : t[r] = n; 6200 } 6201 return t; 6202} 6203const VA = {}.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : ( 6204 /* istanbul ignore next */ 6205 Symbol() 6206); 6207function LA(t) { 6208 return !Ua(t) || !t.hasOwnProperty(VA); 6209} 6210const { assign: Hn } = Object; 6211function Om(t) { 6212 return !!(/* @__PURE__ */ Rt(t) && t.effect); 6213} 6214function Am(t, e, r, n) { 6215 const { state: i, actions: o, getters: a } = e, s = r.state.value[t]; 6216 let u; 6217 function l() { 6218 !s && ({}.NODE_ENV === "production" || !n) && (r.state.value[t] = i ? i() : {}); 6219 const f = {}.NODE_ENV !== "production" && n ? ( 6220 // use ref() to unwrap refs inside state TODO: check if this is still necessary
6221 /* @__PURE__ */ Ug((/* @__PURE__ */ tr(i ? i() : {})).value) 6222 ) : /* @__PURE__ */ Ug(r.state.value[t]); 6223 return Hn(f, o, Object.keys(a || {}).reduce((h, g) => ({}.NODE_ENV !== "production" && g in f && console.warn(`[ð]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${t}".`), h[g] = Mi(Vt(() => { 6224 Du(r); 6225 const d = r._s.get(t); 6226 return a[g].call(d, d); 6227 })), h), {})); 6228 } 6229 return u = zp(t, l, e, r, n, !0), u; 6230} 6231function zp(t, e, r = {}, n, i, o) { 6232 let a; 6233 const s = Hn({ actions: {} }, r); 6234 if ({}.NODE_ENV !== "production" && !n._e.active) 6235 throw new Error("Pinia destroyed"); 6236 const u = { 6237 deep: !0 6238 // flush: 'post', 6239 }; 6240 ({}).NODE_ENV !== "production" && !VE && (u.onTrigger = (P) => { 6241 l ? d = P : l == !1 && !N._hotUpdating && (Array.isArray(d) ? d.push(P) : console.error("ð debuggerEvents should be an array. This is most likely an internal Pinia bug.")); 6242 }); 6243 let l, f, h = Mi([]), g = Mi([]), d; 6244 const m = n.state.value[t]; 6245 !o && !m && ({}.NODE_ENV === "production" || !i) && (n.state.value[t] = {}); 6246 const b = /* @__PURE__ */ tr({}); 6247 let S; 6248 function w(P) { 6249 let M; 6250 l = f = !1, {}.NODE_ENV !== "production" && (d = []), typeof P == "function" ? (P(n.state.value[t]), M = { 6251 type: Wi.patchFunction, 6252 storeId: t, 6253 events: d 6254 }) : (Hp(n.state.value[t], P), M = { 6255 type: Wi.patchObject, 6256 payload: P, 6257 storeId: t, 6258 events: d 6259 }); 6260 const U = S = Symbol(); 6261 zi().then(() => { 6262 S === U && (l = !0); 6263 }), f = !0, hs(h, M, n.state.value[t]); 6264 } 6265 const D = o ? function() { 6266 const { state: M } = r, U = M ? M() : {}; 6267 this.$patch((re) => { 6268 Hn(re, U); 6269 }); 6270 } : ( 6271 /* istanbul ignore next */ 6272 {}.NODE_ENV !== "production" ? () => { 6273 throw new Error(`ð: Store "${t}" is built using the setup syntax and does not implement $reset().`); 6274 } : XE 6275 ); 6276 function T() { 6277 a.stop(), h = [], g = [], n._s.delete(t); 6278 } 6279 function _(P, M) { 6280 return function() { 6281 Du(n); 6282 const U = Array.from(arguments), re = [], Q = []; 6283 function ne(Z) { 6284 re.push(Z); 6285 } 6286 function ee(Z) { 6287 Q.push(Z); 6288 } 6289 hs(g, { 6290 args: U, 6291 name: P, 6292 store: N, 6293 after: ne, 6294 onError: ee 6295 }); 6296 let L; 6297 try { 6298 L = M.apply(this && this.$id === t ? this : N, U); 6299 } catch (Z) { 6300 throw hs(Q, Z), Z; 6301 } 6302 return L instanceof Promise ? L.then((Z) => (hs(re, Z), Z)).catch((Z) => (hs(Q, Z), Promise.reject(Z))) : (hs(re, L), L); 6303 }; 6304 } 6305 const x = /* @__PURE__ */ Mi({ 6306 actions: {}, 6307 getters: {}, 6308 state: [], 6309 hotState: b 6310 }), p = { 6311 _p: n, 6312 // _s: scope, 6313 $id: t, 6314 $onAction: Cm.bind(null, g), 6315 $patch: w, 6316 $reset: D, 6317 $subscribe(P, M = {}) { 6318 const U = Cm(h, P, M.detached, () => re()), re = a.run(() => Ir(() => n.state.value[t], (Q) => { 6319 (M.flush === "sync" ? f : l) && P({ 6320 storeId: t, 6321 type: Wi.direct, 6322 events: d 6323 }, Q); 6324 }, Hn({}, u, M))); 6325 return U; 6326 }, 6327 $dispose: T 6328 }, N = /* @__PURE__ */ wo({}.NODE_ENV !== "production" || su ? Hn( 6329 { 6330 _hmrPayload: x, 6331 _customProperties: Mi(/* @__PURE__ */ new Set()) 6332 // devtools custom properties 6333 }, 6334 p 6335 // must be added later 6336 // setupStore 6337 ) : p); 6338 n._s.set(t, N); 6339 const V = n._e.run(() => (a = T1(), a.run(() => e()))); 6340 for (const P in V) { 6341 const M = V[P]; 6342 if (/* @__PURE__ */ Rt(M) && !Om(M) || /* @__PURE__ */ Xn(M)) 6343 ({}).NODE_ENV !== "production" && i ? kc(b.value, P, /* @__PURE__ */ wn(V, P)) : o || (m && LA(M) && (/* @__PURE__ */ Rt(M) ? M.value = m[P] : Hp(M, m[P])), n.state.value[t][P] = M), {}.NODE_ENV !== "production" && x.state.push(P); 6344 else if (typeof M == "function") { 6345 const U = {}.NODE_ENV !== "production" && i ? M : _(P, M); 6346 V[P] = U, {}.NODE_ENV !== "production" && (x.actions[P] = M), s.actions[P] = M; 6347 } else 6348 ({}).NODE_ENV !== "production" && Om(M) && (x.getters[P] = o ? ( 6349 // @ts-expect-error 6350 r.getters[P] 6351 ) : M, _d && (V._getters || // @ts-expect-error: same 6352 (V._getters = Mi([]))).push(P)); 6353 } 6354 if (Hn(N, V), Hn(/* @__PURE__ */ ft(N), V), Object.defineProperty(N, "$state", { 6355 get: () => ({}).NODE_ENV !== "production" && i ? b.value : n.state.value[t], 6356 set: (P) => { 6357 if ({}.NODE_ENV !== "production" && i) 6358 throw new Error("cannot set hotState"); 6359 w((M) => { 6360 Hn(M, P); 6361 }); 6362 } 6363 }), {}.NODE_ENV !== "production" && (N._hotUpdate = Mi((P) => { 6364 N._hotUpdating = !0, P._hmrPayload.state.forEach((M) => { 6365 if (M in N.$state) { 6366 const U = P.$state[M], re = N.$state[M]; 6367 typeof U == "object" && Ua(U) && Ua(re) ? GE(U, re) : P.$state[M] = re; 6368 }
6369 kc(N, M, /* @__PURE__ */ wn(P.$state, M)); 6370 }), Object.keys(N.$state).forEach((M) => { 6371 M in P.$state || Bh(N, M); 6372 }), l = !1, f = !1, n.state.value[t] = /* @__PURE__ */ wn(P._hmrPayload, "hotState"), f = !0, zi().then(() => { 6373 l = !0; 6374 }); 6375 for (const M in P._hmrPayload.actions) { 6376 const U = P[M]; 6377 kc(N, M, _(M, U)); 6378 } 6379 for (const M in P._hmrPayload.getters) { 6380 const U = P._hmrPayload.getters[M], re = o ? ( 6381 // special handling of options api 6382 Vt(() => (Du(n), U.call(N, N))) 6383 ) : U; 6384 kc(N, M, re); 6385 } 6386 Object.keys(N._hmrPayload.getters).forEach((M) => { 6387 M in P._hmrPayload.getters || Bh(N, M); 6388 }), Object.keys(N._hmrPayload.actions).forEach((M) => { 6389 M in P._hmrPayload.actions || Bh(N, M); 6390 }), N._hmrPayload = P._hmrPayload, N._getters = P._getters, N._hotUpdating = !1; 6391 })), su) { 6392 const P = { 6393 writable: !0, 6394 configurable: !0, 6395 // avoid warning on devtools trying to display this property 6396 enumerable: !1 6397 }; 6398 ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((M) => { 6399 Object.defineProperty(N, M, Hn({ value: N[M] }, P)); 6400 }); 6401 } 6402 return n._p.forEach((P) => { 6403 if (su) { 6404 const M = a.run(() => P({ 6405 store: N, 6406 app: n._a, 6407 pinia: n, 6408 options: s 6409 })); 6410 Object.keys(M || {}).forEach((U) => N._customProperties.add(U)), Hn(N, M); 6411 } else 6412 Hn(N, a.run(() => P({ 6413 store: N, 6414 app: n._a, 6415 pinia: n, 6416 options: s 6417 }))); 6418 }), {}.NODE_ENV !== "production" && N.$state && typeof N.$state == "object" && typeof N.$state.constructor == "function" && !N.$state.constructor.toString().includes("[native code]") && console.warn(`[ð]: The "state" must be a plain object. It cannot be 6419 state: () => new MyClass() 6420Found in store "${N.$id}".`), m && o && r.hydrate && r.hydrate(N.$state, m), l = !0, f = !0, N; 6421} 6422function Td(t, e, r) { 6423 let n, i; 6424 const o = typeof e == "function"; 6425 if (typeof t == "string") 6426 n = t, i = o ? r : e; 6427 else if (i = t, n = t.id, {}.NODE_ENV !== "production" && typeof n != "string") 6428 throw new Error('[ð]: "defineStore()" must be passed a store id as its first argument.'); 6429 function a(s, u) { 6430 const l = Zi(); 6431 if (s = // in test mode, ignore the argument provided as we can always retrieve a 6432 // pinia instance with getActivePinia() 6433 ({}.NODE_ENV === "test" && ql && ql._testing ? null : s) || l && Ra(jE, null), s && Du(s), {}.NODE_ENV !== "production" && !ql) 6434 throw new Error(`[ð]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia? 6435 const pinia = createPinia() 6436 app.use(pinia) 6437This will fail in production.`); 6438 s = ql, s._s.has(n) || (o ? zp(n, e, i, s) : Am(n, i, s), {}.NODE_ENV !== "production" && (a._pinia = s)); 6439 const f = s._s.get(n); 6440 if ({}.NODE_ENV !== "production" && u) { 6441 const h = "__hot:" + n, g = o ? zp(h, e, i, s, !0) : Am(h, Hn({}, i), s, !0); 6442 u._hotUpdate(g), delete s.state.value[h], s._s.delete(h); 6443 } 6444 if ({}.NODE_ENV !== "production" && _d && l && l.proxy && // avoid adding stores that are just built for hot module replacement 6445 !u) { 6446 const h = l.proxy, g = "_pStores" in h ? h._pStores : h._pStores = {}; 6447 g[n] = f; 6448 } 6449 return f; 6450 } 6451 return a.$id = n, a; 6452} 6453function Kl(t) { 6454 { 6455 t = /* @__PURE__ */ ft(t); 6456 const e = {}; 6457 for (const r in t) { 6458 const n = t[r]; 6459 (/* @__PURE__ */ Rt(n) || /* @__PURE__ */ Xn(n)) && (e[r] = // ---
6460 /* @__PURE__ */ wn(t, r)); 6461 } 6462 return e; 6463 } 6464} 6465function Nm(t) { 6466 var e, r, n; 6467 return t.type.indexOf("mouse") !== -1 ? t.clientX : (n = (r = (e = t.touches) === null || e === void 0 ? void 0 : e[0]) === null || r === void 0 ? void 0 : r.clientX) !== null && n !== void 0 ? n : 0; 6468} 6469function km(t) { 6470 var e, r, n; 6471 return t.type.indexOf("mouse") !== -1 ? t.clientY : (n = (r = (e = t.touches) === null || e === void 0 ? void 0 : e[0]) === null || r === void 0 ? void 0 : r.clientY) !== null && n !== void 0 ? n : 0; 6472} 6473const jA = { 6474 install(t, e) { 6475 var r = Object.assign({}, { 6476 // CORE 6477 touchClass: "", 6478 namespace: "touch", 6479 // CLICK/TAP 6480 disableClick: !1, 6481 tapTolerance: 10, 6482 // px 6483 touchHoldTolerance: 400, 6484 // ms 6485 longTapTimeInterval: 400, 6486 // ms 6487 rollOverFrequency: 100, 6488 // ms 6489 // DRAG 6490 dragFrequency: 10, 6491 // ms 6492 dragOutside: !1, 6493 // SWIPE 6494 swipeTolerance: 100, 6495 // px 6496 swipeConeSize: 0.75, 6497 // number between 0 to 1 6498 // ZOOM 6499 zoomFrequency: 10, 6500 // ms 6501 zoomDistance: 10, 6502 // px 6503 zoomInOutDistance: 100 6504 // px 6505 // NOTE: When adding props here, update `index.d.ts` as well!! 6506 }, e); 6507 function n(T) { 6508 var _ = this.$$touchObj, x = T.type.indexOf("touch") >= 0, p = T.type.indexOf("mouse") >= 0, N = this; 6509 x && (_.lastTouchStartTime = T.timeStamp), !(p && _.lastTouchStartTime && T.timeStamp - _.lastTouchStartTime < 350) && (_.touchStarted || (d(this), _.touchStarted = !0, _.touchMoved = !1, _.swipeOutBounded = !1, _.isZooming = !1, _.startX = Nm(T), _.startY = km(T), _.currentX = 0, _.currentY = 0, _.touchStartTime = T.timeStamp, _.hasSwipe = h(_, "swipe") || h(_, "swipe.left") || h(_, "swipe.right") || h(_, "swipe.top") || h(_, "swipe.bottom"), _.hasZoom = h(_, "zoom") || h(_, "zoom.in") || h(_, "zoom.out"), h(_, "hold") && (_.touchHoldTimer = setTimeout(function() { 6510 _.touchHoldTimer = null, g(T, N, "hold"); 6511 }, _.options.touchHoldTolerance)), g(T, this, "press"))); 6512 } 6513 function i(T) { 6514 var _ = this.$$touchObj; 6515 if (_.touchStarted == !0) 6516 o(T, _, !1); 6517 else if (h(_, "rollover") && T.clientX != null) { 6518 var x = T; 6519 const p = _.element.getBoundingClientRect(); 6520 x.clientX >= p.left && x.clientX <= p.right && x.clientY >= p.top && x.clientY <= p.bottom && o(T, _, !0); 6521 } 6522 } 6523 function o(T, _ = null, x = !1) { 6524 _ == null && (_ = this.$$touchObj); 6525 var p = Nm(T), N = km(T), V = _.currentX != p || _.currentY != N; 6526 if (_.currentX = p, _.currentY = N, !x) 6527 if (_.touchMoved) { 6528 if (_.hasSwipe && !_.swipeOutBounded) { 6529 var M = _.options.swipeTolerance; 6530 Math.abs(_.startX - _.currentX) / Math.abs(_.startY - _.currentY) > _.options.swipeConeSize && Math.abs(_.startY - _.currentY) / Math.abs(_.startX - _.currentX) > _.options.swipeConeSize && (_.swipeOutBounded = Math.abs(_.startY - _.currentY) < M && Math.abs(_.startX - _.currentX) < M); 6531 } 6532 } else { 6533 var P = _.options.tapTolerance; 6534 _.touchMoved = Math.abs(_.startX - _.currentX) > P || Math.abs(_.startY - _.currentY) > P, _.touchMoved && (b(_), g(T, _.element, "drag.once")); 6535 } 6536 if (V && h(_, "rollover")) { 6537 var U = T.timeStamp; 6538 (_.touchRollTime == null || U > _.touchRollTime + _.options.rollOverFrequency) && (_.touchRollTime = U, g(T, _.element, "rollover")); 6539 } 6540 if (!x) { 6541 if (_.touchStarted && _.touchMoved && V && h(_, "drag")) { 6542 var U = T.timeStamp; 6543 (_.touchDragTime == null || U > _.touchDragTime + _.options.dragFrequency) && (_.touchDragTime = U, g(T, _.element, "drag")); 6544 } 6545 if (_.touchStarted && _.hasZoom) { 6546 var U = T.timeStamp; 6547 (_.touchZoomTime == null || U > _.touchZoomTime + _.options.zoomFrequency) && (_.touchZoomTime = U, a(_, T)); 6548 } 6549 } 6550 } 6551 function a(T, _) { 6552 const x = _.changedTouches || []; 6553 if (x.length !== 2) { 6554 T.isZooming = !1; 6555 return; 6556 } 6557 const p = Math.sqrt( 6558 Math.pow(x[0].clientX - x[1].clientX, 2) + // horizontal distance 6559 Math.pow(x[0].clientY - x[1].clientY, 2) 6560 // vertical distance 6561 ); 6562 if (!T.isZooming) { 6563 T.isZooming = !0, T.initialZoomDistance = p; 6564 return; 6565 } 6566 const N = p / T.initialZoomDistance; 6567 h(T, "zoom") && Math.abs(N - 1) > T.options.zoomDistance / T.initialZoomDistance && g(_, T.element, "zoom", N), (h(T, "zoom.in") || h(T, "zoom.out")) && Math.abs(p - T.initialZoomDistance) > T.options.zoomInOutDistance && (p > T.initialZoomDistance ? g(_, T.element, "zoom.in") : g(_, T.element, "zoom.out")), T.isZooming = !1; 6568 } 6569 function s() { 6570 var T = this.$$touchObj; 6571 T.touchStarted == !0 && (b(T), m(this), T.touchStarted = T.touchMoved = !1, T.startX = T.startY = 0); 6572 } 6573 function u(T) { 6574 var _ = this.$$touchObj; 6575 if (_.touchStarted == !0) { 6576 var x = T.type.indexOf("touch") >
6576= 0, p = T.type.indexOf("mouse") >= 0; 6577 x && (_.lastTouchEndTime = T.timeStamp); 6578 var N = x && !_.touchHoldTimer; 6579 if (b(_), _.touchStarted = !1, m(this), p && _.lastTouchEndTime && T.timeStamp - _.lastTouchEndTime < 350) 6580 return; 6581 if (g(T, this, "release"), _.touchMoved) { 6582 if (_.hasSwipe && !_.swipeOutBounded) { 6583 var V = _.options.swipeTolerance, P, M = Math.abs(_.startY - _.currentY), U = Math.abs(_.startX - _.currentX); 6584 (M > V || U > V) && (U > V ? P = _.startX > _.currentX ? "left" : "right" : P = _.startY > _.currentY ? "top" : "bottom", h(_, "swipe." + P) ? g(T, this, "swipe." + P, P) : g(T, this, "swipe", P)); 6585 } 6586 } else if (h(_, "longtap") && T.timeStamp - _.touchStartTime > _.options.longTapTimeInterval) 6587 T.cancelable && T.preventDefault(), g(T, this, "longtap"); 6588 else if (h(_, "hold") && N) { 6589 T.cancelable && T.preventDefault(); 6590 return; 6591 } else 6592 g(T, this, "tap"); 6593 } 6594 } 6595 function l() { 6596 d(this); 6597 } 6598 function f() { 6599 m(this); 6600 } 6601 function h(T, _) { 6602 var x = T.callbacks[_]; 6603 return x != null && x.length > 0; 6604 } 6605 function g(T, _, x, p) { 6606 var N = _.$$touchObj, V = N.callbacks[x]; 6607 if (V == null || V.length === 0) 6608 return null; 6609 for (var P = 0; P < V.length; P++) { 6610 var M = V[P]; 6611 M.modifiers.stop && T.stopPropagation(), M.modifiers.prevent && T.preventDefault(), !(M.modifiers.self && T.target !== T.currentTarget) && typeof M.value == "function" && (p ? M.value(p, T) : M.value(T)); 6612 } 6613 } 6614 function d(T) { 6615 var _ = T.$$touchObj.options.touchClass; 6616 _ && T.classList.add(_); 6617 } 6618 function m(T) { 6619 var _ = T.$$touchObj.options.touchClass; 6620 _ && T.classList.remove(_); 6621 } 6622 function b(T) { 6623 T && T.touchHoldTimer && (clearTimeout(T.touchHoldTimer), T.touchHoldTimer = null); 6624 } 6625 function S(T, _) { 6626 var x = T.$$touchObj || { 6627 element: T,
6628 // an object contains all callbacks registered, 6629 // key is event name, value is an array 6630 callbacks: {}, 6631 // prevent bind twice, set to true when event bound 6632 hasBindTouchEvents: !1, 6633 // default options, would be override by v-touch-options 6634 options: r, 6635 events: {} 6636 }; 6637 return _ && (x.options = Object.assign({}, x.options, _)), T.$$touchObj = x, T.$$touchObj; 6638 } 6639 function w(T) { 6640 for (const _ in T) 6641 if (T.hasOwnProperty(_)) { 6642 const [x, p, N] = T[_]; 6643 N == !0 ? x.addEventListener(_, p, { passive: !0 }) : x.addEventListener(_, p); 6644 } 6645 } 6646 function D(T) { 6647 for (const _ in T) 6648 if (T.hasOwnProperty(_)) { 6649 const [x, p] = T[_]; 6650 x.removeEventListener(_, p); 6651 } 6652 } 6653 t.directive(r.namespace, { 6654 beforeMount: function(T, _) { 6655 var x = S(T), p = _.arg || "tap"; 6656 switch (p) { 6657 case "swipe": 6658 var N = _.modifiers; 6659 if (N.left || N.right || N.top || N.bottom) { 6660 for (var V in _.modifiers) 6661 if (["left", "right", "top", "bottom"].indexOf(V) >= 0) { 6662 var P = "swipe." + V; 6663 x.callbacks[P] = x.callbacks[P] || [], x.callbacks[P].push(_); 6664 } 6665 } else 6666 x.callbacks.swipe = x.callbacks.swipe || [], x.callbacks.swipe.push(_); 6667 break; 6668 case "press": 6669 case "drag": 6670 default: 6671 x.callbacks[p] = x.callbacks[p] || [], x.callbacks[p].push(_); 6672 } 6673 x.hasBindTouchEvents || (x.options.dragOutside ? (x.events.touchstart = [T, n, !0], x.events.touchmove = [window, i.bind(T), !0], x.events.touchcancel = [window, s.bind(T)], x.events.touchend = [window, u.bind(T)]) : (x.events.touchstart = [T, n, !0], x.events.touchmove = [T, i, !0], x.events.touchcancel = [T, s], x.events.touchend = [T, u]), x.options.disableClick || (x.options.dragOutside ? (x.events.mousedown = [T, n], x.events.mousemove = [window, i.bind(T)], x.events.mouseup = [window, u.bind(T)], x.events.mouseenter = [T, l], x.events.mouseleave = [T, f]) : (x.events.mousedown = [T, n], x.events.mousemove = [T, o], x.events.mouseup = [T, u], x.events.mouseenter = [T, l], x.events.mouseleave = [T, f])), w(x.events), x.hasBindTouchEvents = !0); 6674 }, 6675 unmounted: function(T) { 6676 var _ = T.$$touchObj; 6677 b(_), _ && _.events && (D(_.events), _.events = {}), delete T.$$touchObj; 6678 } 6679 }), t.directive(`${r.namespace}-class`, { 6680 beforeMount: function(T, _) { 6681 S(T, { 6682 touchClass: _.value 6683 }); 6684 } 6685 }), t.directive(`${r.namespace}-options`, { 6686 beforeMount: function(T, _) { 6687 S(T, _.value); 6688 } 6689 }); 6690 } 6691}; 6692var Qu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}; 6693function Qa(t) { 6694 return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t; 6695} 6696var Uh = { exports: {} }; 6697/*! 6698 * jQuery JavaScript Library v3.6.4 6699 * https://jquery.com/ 6700 * 6701 * Includes Sizzle.js 6702 * https://sizzlejs.com/ 6703 * 6704 * Copyright OpenJS Foundation and other contributors 6705 * Released under the MIT license 6706 * https://jquery.org/license 6707 * 6708 * Date: 2023-03-08T15:28Z 6709 */ 6710var Dm; 6711function YE() { 6712 return Dm || (Dm = 1, function(t) { 6713 (function(e, r) { 6714 t.exports = e.document ? r(e, !0) : function(n) { 6715 if (!n.document) 6716 throw new Error("jQuery requires a window with a document"); 6717 return r(n); 6718 }; 6719 })(typeof window < "u" ? window : Qu, function(e, r) { 6720 var n = [], i = Object.getPrototypeOf, o = n.slice, a = n.flat ? function(c) { 6721 return n.flat.call(c); 6722 } : function(c) { 6723 return n.concat.apply([], c); 6724 }, s = n.push, u = n.indexOf, l = {}, f = l.toString, h = l.hasOwnProperty, g = h.toString, d = g.call(Object), m = {}, b = function(v) { 6725 return typeof v == "function" && typeof v.nodeType != "number" && typeof v.item != "function"; 6726 }, S = function(v) { 6727 return v != null && v === v.window; 6728 }, w = e.document, D = { 6729 type: !0, 6730 src: !0, 6731 nonce: !0, 6732 noModule: !0 6733 }; 6734 function T(c, v, y) { 6735 y = y || w; 6736 var E, C, O = y.createElement("script"); 6737 if (O.text = c, v) 6738 for (E in D) 6739 C = v[E] || v.getAttribute && v.getAttribute(E), C && O.setAttribute(E, C); 6740 y.head.appendChild(O).parentNode.removeChild(O); 6741 } 6742 function _(c) { 6743 return c == null ? c + "" : typeof c == "object" || typeof c == "function" ? l[f.call(c)] || "object" : typeof c; 6744 } 6745 var x = "3.6.4", p = function(c, v) { 6746 return new p.fn.init(c, v); 6747 }; 6748 p.fn = p.prototype = { 6749 // The current version of jQuery being used 6750 jquery: x, 6751 constructor: p, 6752 // The default length of a jQuery object is 0 6753 length: 0, 6754 toArray: function() { 6755 return o.call(this); 6756 }, 6757 // Get the Nth element in the matched element set OR 6758 // Get the whole matched element set as a clean array 6759 get: function(c) { 6760 return c == null ? o.call(this) : c < 0 ? this[c + this.length] : this[c]; 6761 }, 6762 // Take an array of elements and push it onto the stack 6763 // (returning the new matched element set) 6764 pushStack: function(c) { 6765 var v = p.merge(this.constructor(), c); 6766 return v.prevObject = this, v; 6767 }, 6768 // Execute a callback for every element in the matched set. 6769 each: function(c) { 6770 return p.each(this, c); 6771 }, 6772 map: function(c) { 6773 return this.pushStack(p.map(this, function(v, y) { 6774 return c.call(v, y, v); 6775 })); 6776 }, 6777 slice: function() { 6778 return this.pushStack(o.apply(this, arguments)); 6779 }, 6780 first: function() { 6781 return this.eq(0); 6782 }, 6783 last: function() { 6784 return this.eq(-1); 6785 }, 6786 even: function() { 6787 return this.pushStack(p.grep(this, function(c, v) { 6788 return (v + 1) % 2; 6789 })); 6790 }, 6791 odd: function() { 6792 return this.pushStack(p.grep(this, function(c, v) { 6793 return v % 2; 6794 })); 6795 }, 6796 eq: function(c) { 6797 var v = this.length, y = +c + (c < 0 ? v : 0); 6798 return this.pushStack(y >= 0 && y < v ? [this[y]] : []); 6799 }, 6800 end: function() { 6801 return this.prevObject || this.constructor(); 6802 }, 6803 // For internal use only. 6804 // Behaves like an Array's method, not like a jQuery method. 6805 push: s, 6806 sort: n.sort, 6807 splice: n.splice 6808 }, p.extend = p.fn.extend = function() { 6809 var c, v, y, E, C, O, A = arguments[0] || {}, z = 1, B = arguments.length, $ = !1; 6810 for (typeof A == "boolean" && ($ = A, A = arguments[z] || {}, z++), typeof A != "object" && !b(A) && (A = {}), z === B && (A = this, z--); z < B; z++) 6811 if ((c = arguments[z]) != null) 6812 for (v in c) 6813 E = c[v], !(v === "__proto__" || A === E) && ($ && E && (p.isPlainObject(E) || (C = Array.isArray(E))) ? (y = A[v], C && !Array.isArray(y) ? O = [] : !C && !p.isPlainObject(y) ? O = {} : O = y, C = !1, A[v] = p.extend($, O, E)) : E !== void 0 && (A[v] = E)); 6814 return A; 6815 }, p.extend({ 6816 // Unique for each copy of jQuery on the page 6817 expando: "jQuery" + (x + Math.random()).replace(/\D/g, ""), 6818 // Assume jQuery is ready without the ready module 6819 isReady: !0, 6820 error: function(c) { 6821 throw new Error(c); 6822 }, 6823 noop: function() { 6824 }, 6825 isPlainObject: function(c) { 6826 var v, y; 6827 return !c || f.call(c) !== "[object Object]" ? !1 : (v = i(c), v ? (y = h.call(v, "constructor") && v.constructor, typeof y == "function" && g.call(y) === d) : !0); 6828 }, 6829 isEmptyObject: function(c) { 6830 var v; 6831 for (v in c) 6832 return !1; 6833 return !0; 6834 }, 6835 // Evaluates a script in a provided context; falls back to the global one 6836 // if not specified. 6837 globalEval: function(c, v, y) { 6838 T(c, { nonce: v && v.nonce }, y); 6839 }, 6840 each: function(c, v) { 6841 var y, E = 0; 6842 if (N(c)) 6843 for (y = c.length; E < y && v.call(c[E], E, c[E]) !== !1; E++) 6844 ; 6845 else 6846 for (E in c) 6847 if (v.call(c[E], E, c[E]) === !1) 6848 break; 6849 return c; 6850 }, 6851 // results is for internal usage only 6852 makeArray: function(c, v) { 6853 var y = v || [];
6854 return c != null && (N(Object(c)) ? p.merge( 6855 y, 6856 typeof c == "string" ? [c] : c 6857 ) : s.call(y, c)), y; 6858 }, 6859 inArray: function(c, v, y) { 6860 return v == null ? -1 : u.call(v, c, y); 6861 }, 6862 // Support: Android <=4.0 only, PhantomJS 1 only 6863 // push.apply(_, arraylike) throws on ancient WebKit 6864 merge: function(c, v) { 6865 for (var y = +v.length, E = 0, C = c.length; E < y; E++) 6866 c[C++] = v[E]; 6867 return c.length = C, c; 6868 }, 6869 grep: function(c, v, y) { 6870 for (var E, C = [], O = 0, A = c.length, z = !y; O < A; O++) 6871 E = !v(c[O], O), E !== z && C.push(c[O]); 6872 return C; 6873 }, 6874 // arg is for internal usage only 6875 map: function(c, v, y) { 6876 var E, C, O = 0, A = []; 6877 if (N(c)) 6878 for (E = c.length; O < E; O++) 6879 C = v(c[O], O, y), C != null && A.push(C); 6880 else 6881 for (O in c) 6882 C = v(c[O], O, y), C != null && A.push(C); 6883 return a(A); 6884 }, 6885 // A global GUID counter for objects 6886 guid: 1, 6887 // jQuery.support is not used in Core but other projects attach their 6888 // properties to it so it needs to exist. 6889 support: m 6890 }), typeof Symbol == "function" && (p.fn[Symbol.iterator] = n[Symbol.iterator]), p.each( 6891 "Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), 6892 function(c, v) { 6893 l["[object " + v + "]"] = v.toLowerCase(); 6894 } 6895 ); 6896 function N(c) { 6897 var v = !!c && "length" in c && c.length, y = _(c); 6898 return b(c) || S(c) ? !1 : y === "array" || v === 0 || typeof v == "number" && v > 0 && v - 1 in c; 6899 } 6900 var V = ( 6901 /*! 6902 * Sizzle CSS Selector Engine v2.3.10 6903 * https://sizzlejs.com/ 6904 * 6905 * Copyright JS Foundation and other contributors 6906 * Released under the MIT license 6907 * https://js.foundation/ 6908 * 6909 * Date: 2023-02-14 6910 */ 6911 function(c) { 6912 var v, y, E, C, O, A, z, B, $, ue, xe, ae, fe, Ge, gt, We, Er, pr, gn, Xt = "sizzle" + 1 * /* @__PURE__ */ new Date(), vt = c.document, ln = 0, Mt = 0, sr = Sc(), yl = Sc(), Ec = Sc(), mn = Sc(), fa = function(k, H) { 6913 return k === H && (xe = !0), 0; 6914 }, da = {}.hasOwnProperty, un = [], Do = un.pop, jn = un.push, Po = un.push, Cg = un.slice, ha = function(k, H) { 6915 for (var X = 0, pe = k.length; X < pe; X++) 6916 if (k[X] === H) 6917 return X; 6918 return -1; 6919 }, yh = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", qt = "[\\x20\\t\\r\\n\\f]", pa = "(?:\\\\[\\da-fA-F]{1,6}" + qt + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", Og = "\\[" + qt + "*(" + pa + ")(?:" + qt + // Operator (capture 2) 6920 "*([*^$|!~]?=)" + qt + // "Attribute values must be CSS identifiers [capture 5] 6921 // or strings [capture 3 or capture 4]" 6922 `*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + pa + "))|)" + qt + "*\\]", bh = ":(" + pa + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + Og + ")*)|.*)\\)|)", B_ = new RegExp(qt + "+", "g"), xc = new RegExp("^" + qt + "+|((?:^|[^\\\\])(?:\\\\.)*)" + qt + "+$", "g"), U_ = new RegExp("^" + qt + "*," + qt + "*"), Ag = new RegExp("^" + qt + "*([>+~]|" + qt + ")" + qt + "*"), H_ = new RegExp(qt + "|>"), z_ = new RegExp(bh), W_ = new RegExp("^" + pa + "$"), wc = { 6923 ID: new RegExp("^#(" + pa + ")"), 6924 CLASS: new RegExp("^\\.(" + pa + ")"), 6925 TAG: new RegExp("^(" + pa + "|[*])"), 6926 ATTR: new RegExp("^" + Og), 6927 PSEUDO: new RegExp("^" + bh), 6928 CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + qt + "*(even|odd|(([+-]|)(\\d*)n|)" + qt + "*(?:([+-]|)" + qt + "*(\\d+)|))" + qt + "*\\)|)", "i"), 6929 bool: new RegExp("^(?:" + yh + ")$", "i"), 6930 // For use in libraries implementing .is() 6931 // We use this for POS matching in `select` 6932 needsContext: new RegExp("^" + qt + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + qt + "*((?:-\\d)?\\d*)" + qt + "*\\)|)(?=[^-]|$)", "i") 6933 }, q_ = /HTML$/i, K_ = /^(?:input|select|textarea|button)$/i, G_ = /^h\d$/i, bl = /^[^{]+\{\s*\[native \w/, X_ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Eh = /[+~]/, $i = new RegExp("\\\\[\\da-fA-F]{1,6}" + qt + "?|\\\\([^\\r\\n\\f])", "g"), eo = function(k, H) { 6934 var X = "0x" + k.slice(1) - 65536; 6935 return H || // Replace a hexadecimal escape sequence with the encoded Unicode code point
6936 // Support: IE <=11+ 6937 // For values outside the Basic Multilingual Plane (BMP), manually construct a 6938 // surrogate pair 6939 (X < 0 ? String.fromCharCode(X + 65536) : String.fromCharCode(X >> 10 | 55296, X & 1023 | 56320)); 6940 }, Ng = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, kg = function(k, H) { 6941 return H ? k === "\0" ? "�" : k.slice(0, -1) + "\\" + k.charCodeAt(k.length - 1).toString(16) + " " : "\\" + k; 6942 }, Dg = function() { 6943 ae(); 6944 }, Y_ = Tc( 6945 function(k) { 6946 return k.disabled === !0 && k.nodeName.toLowerCase() === "fieldset"; 6947 }, 6948 { dir: "parentNode", next: "legend" } 6949 ); 6950 try { 6951 Po.apply( 6952 un = Cg.call(vt.childNodes), 6953 vt.childNodes 6954 ), un[vt.childNodes.length].nodeType; 6955 } catch { 6956 Po = { 6957 apply: un.length ? ( 6958 // Leverage slice if possible 6959 function(H, X) { 6960 jn.apply(H, Cg.call(X)); 6961 } 6962 ) : ( 6963 // Support: IE<9 6964 // Otherwise append directly 6965 function(H, X) { 6966 for (var pe = H.length, J = 0; H[pe++] = X[J++]; ) 6967 ; 6968 H.length = pe - 1; 6969 } 6970 ) 6971 }; 6972 } 6973 function Zt(k, H, X, pe) { 6974 var J, me, we, Fe, Me, et, Qe, nt = H && H.ownerDocument, wt = H ? H.nodeType : 9; 6975 if (X = X || [], typeof k != "string" || !k || wt !== 1 && wt !== 9 && wt !== 11) 6976 return X; 6977 if (!pe && (ae(H), H = H || fe, gt)) { 6978 if (wt !== 11 && (Me = X_.exec(k))) 6979 if (J = Me[1]) { 6980 if (wt === 9) 6981 if (we = H.getElementById(J)) { 6982 if (we.id === J) 6983 return X.push(we), X; 6984 } else 6985 return X; 6986 else if (nt && (we = nt.getElementById(J)) && gn(H, we) && we.id === J) 6987 return X.push(we), X; 6988 } else { 6989 if (Me[2]) 6990 return Po.apply(X, H.getElementsByTagName(k)), X; 6991 if ((J = Me[3]) && y.getElementsByClassName && H.getElementsByClassName) 6992 return Po.apply(X, H.getElementsByClassName(J)), X; 6993 } 6994 if (y.qsa && !mn[k + " "] && (!We || !We.test(k)) && // Support: IE 8 only 6995 // Exclude object elements 6996 (wt !== 1 || H.nodeName.toLowerCase() !== "object")) { 6997 if (Qe = k, nt = H, wt === 1 && (H_.test(k) || Ag.test(k))) { 6998 for (nt = Eh.test(k) && wh(H.parentNode) || H, (nt !== H || !y.scope) && ((Fe = H.getAttribute("id")) ? Fe = Fe.replace(Ng, kg) : H.setAttribute("id", Fe = Xt)), et = A(k), me = et.length; me--; ) 6999 et[me] = (Fe ? "#" + Fe : ":scope") + " " + _c(et[me]); 7000 Qe = et.join(","); 7001 } 7002 try { 7003 return Po.apply( 7004 X, 7005 nt.querySelectorAll(Qe) 7006 ), X; 7007 } catch { 7008 mn(k, !0); 7009 } finally { 7010 Fe === Xt && H.removeAttribute("id"); 7011 } 7012 } 7013 } 7014 return B(k.replace(xc, "$1"), H, X, pe); 7015 } 7016 function Sc() { 7017 var k = []; 7018 function H(X, pe) { 7019 return k.push(X + " ") > E.cacheLength && delete H[k.shift()], H[X + " "] = pe; 7020 } 7021 return H; 7022 } 7023 function si(k) { 7024 return k[Xt] = !0, k; 7025 } 7026 function Bn(k) { 7027 var H = fe.createElement("fieldset"); 7028 try { 7029 return !!k(H); 7030 } catch { 7031 return !1; 7032 } finally { 7033 H.parentNode && H.parentNode.removeChild(H), H = null; 7034 } 7035 } 7036 function xh(k, H) { 7037 for (var X = k.split("|"), pe = X.length; pe--; ) 7038 E.attrHandle[X[pe]] = H; 7039 } 7040 function Pg(k, H) { 7041 var X = H && k, pe = X && k.nodeType === 1 && H.nodeType === 1 && k.sourceIndex - H.sourceIndex; 7042 if (pe) 7043 return pe; 7044 if (X) { 7045 for (; X = X.nextSibling; ) 7046 if (X === H) 7047 return -1; 7048 } 7049 return k ? 1 : -1; 7050 } 7051 function Z_(k) { 7052 return function(H) { 7053 var X = H.nodeName.toLowerCase(); 7054 return X === "input" && H.type === k; 7055 }; 7056 } 7057 function J_(k) { 7058 return function(H) { 7059 var X = H.nodeName.toLowerCase(); 7060 return (X === "input" || X === "button") && H.type === k; 7061 }; 7062 } 7063 function Fg(k) { 7064 return function(H) { 7065 return "form" in H ? H.parentNode && H.disabled === !1 ? "label" in H ? "label" in H.parentNode ? H.parentNode.disabled === k : H.disabled === k : H.isDisabled === k || // Where there is no isDisabled, check manually 7066 /* jshint -W018 */ 7067 H.isDisabled !== !k && Y_(H) === k : H.disabled === k : "label" in H ? H.disabled === k : !1; 7068 }; 7069 } 7070 function va(k) { 7071 return si(function(H) { 7072 return H = +H, si(function(X, pe) { 7073 for (var J, me = k([], X.length, H), we = me.length; we--; ) 7074 X[J = me[we]] && (X[J] = !(pe[J] = X[J])); 7075 }); 7076 }); 7077 } 7078 function wh(k) { 7079 return k && typeof k.getElementsByTagName < "u" && k; 7080 } 7081 y = Zt.support = {}, O = Zt.isXML = function(k) { 7082 var H = k && k.namespaceURI, X = k && (k.ownerDocument || k).documentElement; 7083 return !q_.test(H || X && X.nodeName || "HTML"); 7084 }, ae = Zt.setDocument = function(k) { 7085 var H, X, pe = k ? k.ownerDocument || k : vt; 7086 return pe == fe || pe.nodeType !== 9 || !pe.documentElement || (fe = pe, Ge = fe.documentElement, gt = !O(fe), vt != fe && (X = fe.defaultView) && X.top !== X && (X.addEventListener ? X.addEventListener("unload", Dg, !1) : X.attachEvent && X.attachEvent("onunload", Dg)), y.scope = Bn(function(J) { 7087 return Ge.appendChild(J).appendChild(fe.createElement("div")), typeof J.querySelectorAll < "u" && !J.querySelectorAll(":scope fieldset div").length; 7088 }), y.cssHas = Bn(function() { 7089 try { 7090 return fe.querySelector(":has(*,:jqfake)"), !1; 7091 } catch { 7092 return !0; 7093 } 7094 }), y.attributes = Bn(function(J) { 7095 return J.className = "i", !J.getAttribute("className"); 7096 }), y.getElementsByTagName = Bn(function(J) { 7097 return J.appendChild(fe.createComment("")), !J.getElementsByTagName("*").length; 7098 }), y.getElementsByClassName = bl.test(fe.getElementsByClassName), y.getById = Bn(function(J) { 7099 return Ge.appendChild(J).id = Xt, !fe.getElementsByName || !fe.getElementsByName(Xt).length; 7100 }), y.getById ? (E.filter.ID = function(J) { 7101 var me = J.replace($i, eo); 7102 return function(we) { 7103 return we.getAttribute("id") === me; 7104 }; 7105 }, E.find.ID = function(J, me) { 7106 if (typeof me.getElementById < "u" && gt) { 7107 var we = me.getElementById(J); 7108 return we ? [we] : []; 7109 } 7110 }) : (E.filter.ID = function(J) { 7111 var me = J.replace($i, eo); 7112 return function(we) { 7113 var Fe = typeof we.getAttributeNode < "u" && we.getAttributeNode("id"); 7114 return Fe && Fe.value === me; 7115 }; 7116 }, E.find.ID = function(J, me) { 7117 if (typeof me.getElementById < "u" && gt) { 7118 var we, Fe, Me, et = me.getElementById(J); 7119 if (et) { 7120 if (we = et.getAttributeNode("id"), we && we.value === J) 7121 return [et]; 7122 for (Me = me.getElementsByName(J), Fe = 0; et = Me[Fe++]; ) 7123 if (we = et.getAttributeNode("id"), we && we.value === J) 7124 return [et]; 7125 } 7126 return []; 7127 } 7128 }), E.find.TAG = y.getElementsByTagName ? function(J, me) { 7129 if (typeof me.getElementsByTagName < "u") 7130 return me.getElementsByTagName(J); 7131 if (y.qsa) 7132 return me.querySelectorAll(J); 7133 } : function(J, me) { 7134 var we, Fe = [], Me = 0, et = me.getElementsByTagName(J); 7135 if (J === "*") { 7136 for (; we = et[Me++]; ) 7137 we.nodeType === 1 && Fe.push(we); 7138 return Fe; 7139 } 7140 return et; 7141 }, E.find.CLASS = y.getElementsByClassName && function(J, me) { 7142 if (typeof me.getElementsByClassName < "u" && gt) 7143 return me.getElementsByClassName(J); 7144 }, Er = [], We = [], (y.qsa = bl.test(fe.querySelectorAll)) && (Bn(function(J) { 7145 var me; 7146 Ge.appendChild(J).innerHTML = "<a id='" + Xt + "'></a><select id='" + Xt + "-\r\\' msallowcapture=''><option selected=''></option></select>", J.querySelectorAll("[msallowcapture^='']").length && We.push("[*^$]=" + qt + `*(?:''|"")`), J.querySelectorAll("[selected]").length || We.push("\\[" + qt + "*(?:value|" + yh + ")"), J.querySelectorAll("[id~=" + Xt + "-]").length || We.push("~="), me = fe.createElement("input"), me.setAttribute("name", ""), J.appendChild(me), J.querySelectorAll("[name='']").length || We.push("\\[" + qt + "*name" + qt + "*="
7146+ qt + `*(?:''|"")`), J.querySelectorAll(":checked").length || We.push(":checked"), J.querySelectorAll("a#" + Xt + "+*").length || We.push(".#.+[+~]"), J.querySelectorAll("\\\f"), We.push("[\\r\\n\\f]"); 7147 }), Bn(function(J) { 7148 J.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>"; 7149 var me = fe.createElement("input"); 7150 me.setAttribute("type", "hidden"), J.appendChild(me).setAttribute("name", "D"), J.querySelectorAll("[name=d]").length && We.push("name" + qt + "*[*^$|!~]?="), J.querySelectorAll(":enabled").length !== 2 && We.push(":enabled", ":disabled"), Ge.appendChild(J).disabled = !0, J.querySelectorAll(":disabled").length !== 2 && We.push(":enabled", ":disabled"), J.querySelectorAll("*,:x"), We.push(",.*:"); 7151 })), (y.matchesSelector = bl.test(pr = Ge.matches || Ge.webkitMatchesSelector || Ge.mozMatchesSelector || Ge.oMatchesSelector || Ge.msMatchesSelector)) && Bn(function(J) { 7152 y.disconnectedMatch = pr.call(J, "*"), pr.call(J, "[s!='']:x"), Er.push("!=", bh); 7153 }), y.cssHas || We.push(":has"), We = We.length && new RegExp(We.join("|")), Er = Er.length && new RegExp(Er.join("|")), H = bl.test(Ge.compareDocumentPosition), gn = H || bl.test(Ge.contains) ? function(J, me) { 7154 var we = J.nodeType === 9 && J.documentElement || J, Fe = me && me.parentNode; 7155 return J === Fe || !!(Fe && Fe.nodeType === 1 && (we.contains ? we.contains(Fe) : J.compareDocumentPosition && J.compareDocumentPosition(Fe) & 16)); 7156 } : function(J, me) { 7157 if (me) { 7158 for (; me = me.parentNode; ) 7159 if (me === J) 7160 return !0; 7161 } 7162 return !1; 7163 }, fa = H ? function(J, me) { 7164 if (J === me) 7165 return xe = !0, 0; 7166 var we = !J.compareDocumentPosition - !me.compareDocumentPosition; 7167 return we || (we = (J.ownerDocument || J) == (me.ownerDocument || me) ? J.compareDocumentPosition(me) : ( 7168 // Otherwise we know they are disconnected 7169 1 7170 ), we & 1 || !y.sortDetached && me.compareDocumentPosition(J) === we ? J == fe || J.ownerDocument == vt && gn(vt, J) ? -1 : me == fe || me.ownerDocument == vt && gn(vt, me) ? 1 : ue ? ha(ue, J) - ha(ue, me) : 0 : we & 4 ? -1 : 1); 7171 } : function(J, me) { 7172 if (J === me) 7173 return xe = !0, 0; 7174 var we, Fe = 0, Me = J.parentNode, et = me.parentNode, Qe = [J], nt = [me]; 7175 if (!Me || !et) 7176 return J == fe ? -1 : me == fe ? 1 : ( 7177 /* eslint-enable eqeqeq */ 7178 Me ? -1 : et ? 1 : ue ? ha(ue, J) - ha(ue, me) : 0 7179 ); 7180 if (Me === et) 7181 return Pg(J, me); 7182 for (we = J; we = we.parentNode; ) 7183 Qe.unshift(we); 7184 for (we = me; we = we.parentNode; ) 7185 nt.unshift(we); 7186 for (; Qe[Fe] === nt[Fe]; ) 7187 Fe++; 7188 return Fe ? ( 7189 // Do a sibling check if the nodes have a common ancestor 7190 Pg(Qe[Fe], nt[Fe]) 7191 ) : ( 7192 // Otherwise nodes in our document sort first 7193 // Support: IE 11+, Edge 17 - 18+ 7194 // IE/Edge sometimes throw a "Permission denied" error when strict-comparing 7195 // two documents; shallow comparisons work. 7196 /* eslint-disable eqeqeq */ 7197 Qe[Fe] == vt ? -1 : nt[Fe] == vt ? 1 : ( 7198 /* eslint-enable eqeqeq */ 7199 0 7200 ) 7201 ); 7202 }), fe; 7203 }, Zt.matches = function(k, H) { 7204 return Zt(k, null, null, H); 7205 }, Zt.matchesSelector = function(k, H) { 7206 if (ae(k), y.matchesSelector && gt && !mn[H + " "] && (!Er || !Er.test(H)) && (!We || !We.test(H))) 7207 try { 7208 var X = pr.call(k, H); 7209 if (X || y.disconnectedMatch || // As well, disconnected nodes are said to be in a document 7210 // fragment in IE 9
7211 k.document && k.document.nodeType !== 11) 7212 return X; 7213 } catch { 7214 mn(H, !0); 7215 } 7216 return Zt(H, fe, null, [k]).length > 0; 7217 }, Zt.contains = function(k, H) { 7218 return (k.ownerDocument || k) != fe && ae(k), gn(k, H); 7219 }, Zt.attr = function(k, H) { 7220 (k.ownerDocument || k) != fe && ae(k); 7221 var X = E.attrHandle[H.toLowerCase()], pe = X && da.call(E.attrHandle, H.toLowerCase()) ? X(k, H, !gt) : void 0; 7222 return pe !== void 0 ? pe : y.attributes || !gt ? k.getAttribute(H) : (pe = k.getAttributeNode(H)) && pe.specified ? pe.value : null; 7223 }, Zt.escape = function(k) { 7224 return (k + "").replace(Ng, kg); 7225 }, Zt.error = function(k) { 7226 throw new Error("Syntax error, unrecognized expression: " + k); 7227 }, Zt.uniqueSort = function(k) { 7228 var H, X = [], pe = 0, J = 0; 7229 if (xe = !y.detectDuplicates, ue = !y.sortStable && k.slice(0), k.sort(fa), xe) { 7230 for (; H = k[J++]; ) 7231 H === k[J] && (pe = X.push(J)); 7232 for (; pe--; ) 7233 k.splice(X[pe], 1); 7234 } 7235 return ue = null, k; 7236 }, C = Zt.getText = function(k) { 7237 var H, X = "", pe = 0, J = k.nodeType; 7238 if (J) { 7239 if (J === 1 || J === 9 || J === 11) { 7240 if (typeof k.textContent == "string") 7241 return k.textContent; 7242 for (k = k.firstChild; k; k = k.nextSibling) 7243 X += C(k); 7244 } else if (J === 3 || J === 4) 7245 return k.nodeValue; 7246 } else 7247 for (; H = k[pe++]; ) 7248 X += C(H); 7249 return X; 7250 }, E = Zt.selectors = { 7251 // Can be adjusted by the user 7252 cacheLength: 50, 7253 createPseudo: si, 7254 match: wc, 7255 attrHandle: {}, 7256 find: {}, 7257 relative: { 7258 ">": { dir: "parentNode", first: !0 },
7259 " ": { dir: "parentNode" }, 7260 "+": { dir: "previousSibling", first: !0 }, 7261 "~": { dir: "previousSibling" } 7262 }, 7263 preFilter: { 7264 ATTR: function(k) { 7265 return k[1] = k[1].replace($i, eo), k[3] = (k[3] || k[4] || k[5] || "").replace($i, eo), k[2] === "~=" && (k[3] = " " + k[3] + " "), k.slice(0, 4); 7266 }, 7267 CHILD: function(k) { 7268 return k[1] = k[1].toLowerCase(), k[1].slice(0, 3) === "nth" ? (k[3] || Zt.error(k[0]), k[4] = +(k[4] ? k[5] + (k[6] || 1) : 2 * (k[3] === "even" || k[3] === "odd")), k[5] = +(k[7] + k[8] || k[3] === "odd")) : k[3] && Zt.error(k[0]), k; 7269 }, 7270 PSEUDO: function(k) { 7271 var H, X = !k[6] && k[2]; 7272 return wc.CHILD.test(k[0]) ? null : (k[3] ? k[2] = k[4] || k[5] || "" : X && z_.test(X) && // Get excess from tokenize (recursively) 7273 (H = A(X, !0)) && // advance to the next closing parenthesis 7274 (H = X.indexOf(")", X.length - H) - X.length) && (k[0] = k[0].slice(0, H), k[2] = X.slice(0, H)), k.slice(0, 3)); 7275 } 7276 }, 7277 filter: { 7278 TAG: function(k) { 7279 var H = k.replace($i, eo).toLowerCase(); 7280 return k === "*" ? function() { 7281 return !0; 7282 } : function(X) { 7283 return X.nodeName && X.nodeName.toLowerCase() === H; 7284 }; 7285 }, 7286 CLASS: function(k) { 7287 var H = sr[k + " "]; 7288 return H || (H = new RegExp("(^|" + qt + ")" + k + "(" + qt + "|$)")) && sr( 7289 k, 7290 function(X) { 7291 return H.test( 7292 typeof X.className == "string" && X.className || typeof X.getAttribute < "u" && X.getAttribute("class") || "" 7293 ); 7294 } 7295 ); 7296 }, 7297 ATTR: function(k, H, X) { 7298 return function(pe) { 7299 var J = Zt.attr(pe, k); 7300 return J == null ? H === "!=" : H ? (J += "", H === "=" ? J === X : H === "!=" ? J !== X : H === "^=" ? X && J.indexOf(X) === 0 : H === "*=" ? X && J.indexOf(X) > -1 : H === "$=" ? X && J.slice(-X.length) === X : H === "~=" ? (" " + J.replace(B_, " ") + " ").indexOf(X) > -1 : H === "|=" ? J === X || J.slice(0, X.length + 1) === X + "-" : !1) : !0; 7301 }; 7302 }, 7303 CHILD: function(k, H, X, pe, J) { 7304 var me = k.slice(0, 3) !== "nth", we = k.slice(-4) !== "last", Fe = H === "of-type"; 7305 return pe === 1 && J === 0 ? ( 7306 // Shortcut for :nth-*(n) 7307 function(Me) { 7308 return !!Me.parentNode; 7309 } 7310 ) : function(Me, et, Qe) { 7311 var nt, wt, Jt, tt, xr, Hr, yn = me !== we ? "nextSibling" : "previousSibling", ir = Me.parentNode, El = Fe && Me.nodeName.toLowerCase(), xl = !Qe && !Fe, bn = !1; 7312 if (ir) { 7313 if (me) { 7314 for (; yn; ) { 7315 for (tt = Me; tt = tt[yn]; ) 7316 if (Fe ? tt.nodeName.toLowerCase() === El : tt.nodeType === 1) 7317 return !1; 7318 Hr = yn = k === "only" && !Hr && "nextSibling"; 7319 } 7320 return !0; 7321 } 7322 if (Hr = [we ? ir.firstChild : ir.lastChild], we && xl) { 7323 for (tt = ir, Jt = tt[Xt] || (tt[Xt] = {}), wt = Jt[tt.uniqueID] || (Jt[tt.uniqueID] = {}), nt = wt[k] || [], xr = nt[0] === ln && nt[1], bn = xr && nt[2], tt = xr && ir.childNodes[xr]; tt = ++xr && tt && tt[yn] || // Fallback to seeking `elem` from the start 7324 (bn = xr = 0) || Hr.pop(); ) 7325 if (tt.nodeType === 1 && ++bn && tt === Me) { 7326 wt[k] = [ln, xr, bn]; 7327 break; 7328 } 7329 } else if (xl && (tt = Me, Jt = tt[Xt] || (tt[Xt] = {}), wt = Jt[tt.uniqueID] || (Jt[tt.uniqueID] = {}), nt = wt[k] || [], xr = nt[0] === ln && nt[1], bn = xr), bn === !1) 7330 for (; (tt = ++xr && tt && tt[yn] || (bn = xr = 0) || Hr.pop()) && !((Fe ? tt.nodeName.toLowerCase() === El : tt.nodeType === 1) && ++bn && (xl && (Jt = tt[Xt] || (tt[Xt] = {}), wt = Jt[tt.uniqueID] || (Jt[tt.uniqueID] = {}), wt[k] = [ln, bn]), tt === Me)); ) 7331 ; 7332 return bn -= J, bn === pe || bn % pe === 0 && bn / pe >= 0; 7333 } 7334 }; 7335 }, 7336 PSEUDO: function(k, H) { 7337 var X, pe = E.pseudos[k] || E.setFilters[k.toLowerCase()] || Zt.error("unsupported pseudo: " + k); 7338 return pe[Xt] ? pe(H) : pe.length > 1 ? (X = [k, k, "", H], E.setFilters.hasOwnProperty(k.toLowerCase()) ? si(function(J, me) { 7339 for (var we, Fe = pe(J, H), Me = Fe.length; Me--; ) 7340 we = ha(J, Fe[Me]), J[we] = !(me[we] = Fe[Me]); 7341 }) : function(J) { 7342 return pe(J, 0, X); 7343 }) : pe; 7344 } 7345 }, 7346 pseudos: { 7347 // Potentially complex pseudos 7348 not: si(function(k) { 7349 var H = [], X = [], pe = z(k.replace(xc, "$1")); 7350 return pe[Xt] ? si(function(J, me, we, Fe) { 7351 for (var Me, et = pe(J, null, Fe, []), Qe = J.length; Qe--; ) 7352 (Me = et[Qe]) && (J[Qe] = !(me[Qe] = Me)); 7353 }) : function(J, me, we) { 7354 return H[0] = J, pe(H, null, we, X), H[0] = null, !X.pop(); 7355 }; 7356 }), 7357 has: si(function(k) { 7358 return function(H) { 7359 return Zt(k, H).length > 0; 7360 }; 7361 }), 7362 contains: si(function(k) { 7363 return k = k.replace($i, eo), function(H) { 7364 return (H.textContent || C(H)).indexOf(k) > -1; 7365 }; 7366 }), 7367 // "Whether an element is represented by a :lang() selector 7368 // is based solely on the element's language value 7369 // being equal to the identifier C, 7370 // or beginning with the identifier C immediately followed by "-". 7371 // The matching of C against the element's language value is performed case-insensitively. 7372 // The identifier C does not have to be a valid language name." 7373 // http://www.w3.org/TR/selectors/#lang-pseudo 7374 lang: si(function(k) { 7375 return W_.test(k || "") || Zt.error("unsupported lang: " + k), k = k.replace($i, eo).toLowerCase(), function(H) { 7376 var X; 7377 do 7378 if (X = gt ? H.lang : H.getAttribute("xml:lang") || H.getAttribute("lang")) 7379 return X = X.toLowerCase(), X === k || X.indexOf(k + "-") === 0; 7380 while ((H = H.parentNode) && H.nodeType === 1); 7381 return !1; 7382 }; 7383 }), 7384 // Miscellaneous 7385 target: function(k) { 7386 var H = c.location && c.location.hash; 7387 return H && H.slice(1) === k.id; 7388 }, 7389 root: function(k) { 7390 return k === Ge; 7391 }, 7392 focus: function(k) { 7393 return k === fe.activeElement && (!fe.hasFocus || fe.hasFocus()) && !!(k.type || k.href || ~k.tabIndex); 7394 }, 7395 // Boolean properties 7396 enabled: Fg(!1), 7397 disabled: Fg(!0), 7398 checked: function(k) { 7399 var H = k.nodeName.toLowerCase(); 7400 return H === "input" && !!k.checked || H === "option" && !!k.selected; 7401 }, 7402 selected: function(k) { 7403 return k.parentNode && k.parentNode.selectedIndex, k.selected === !0; 7404 }, 7405 // Contents 7406 empty: function(k) { 7407 for (k = k.firstChild; k; k = k.nextSibling) 7408 if (k.nodeType < 6) 7409 return !1; 7410 return !0; 7411 }, 7412 parent: function(k) { 7413 return !E.pseudos.empty(k); 7414 }, 7415 // Element/input types 7416 header: function(k) { 7417 return G_.test(k.nodeName); 7418 }, 7419 input: function(k) { 7420 return K_.test(k.nodeName); 7421 }, 7422 button: function(k) { 7423 var H = k.nodeName.toLowerCase(); 7424 return H === "input" && k.type === "button" || H === "button"; 7425 }, 7426 text: function(k) { 7427 var H; 7428 return k.nodeName.toLowerCase() === "input" && k.type === "text" && // Supp
7428ort: IE <10 only 7429 // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" 7430 ((H = k.getAttribute("type")) == null || H.toLowerCase() === "text"); 7431 }, 7432 // Position-in-collection 7433 first: va(function() { 7434 return [0]; 7435 }), 7436 last: va(function(k, H) { 7437 return [H - 1]; 7438 }), 7439 eq: va(function(k, H, X) { 7440 return [X < 0 ? X + H : X]; 7441 }), 7442 even: va(function(k, H) { 7443 for (var X = 0; X < H; X += 2) 7444 k.push(X); 7445 return k; 7446 }), 7447 odd: va(function(k, H) { 7448 for (var X = 1; X < H; X += 2) 7449 k.push(X); 7450 return k; 7451 }), 7452 lt: va(function(k, H, X) { 7453 for (var pe = X < 0 ? X + H : X > H ? H : X; --pe >= 0; ) 7454 k.push(pe); 7455 return k; 7456 }), 7457 gt: va(function(k, H, X) { 7458 for (var pe = X < 0 ? X + H : X; ++pe < H; ) 7459 k.push(pe); 7460 return k; 7461 }) 7462 } 7463 }, E.pseudos.nth = E.pseudos.eq; 7464 for (v in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 }) 7465 E.pseudos[v] = Z_(v); 7466 for (v in { submit: !0, reset: !0 }) 7467 E.pseudos[v] = J_(v); 7468 function Rg() { 7469 } 7470 Rg.prototype = E.filters = E.pseudos, E.setFilters = new Rg(), A = Zt.tokenize = function(k, H) { 7471 var X, pe, J, me, we, Fe, Me, et = yl[k + " "]; 7472 if (et) 7473 return H ? 0 : et.slice(0); 7474 for (we = k, Fe = [], Me = E.preFilter; we; ) { 7475 (!X || (pe = U_.exec(we))) && (pe && (we = we.slice(pe[0].length) || we), Fe.push(J = [])), X = !1, (pe = Ag.exec(we)) && (X = pe.shift(), J.push({ 7476 value: X, 7477 // Cast descendant combinators to space 7478 type: pe[0].replace(xc, " ") 7479 }), we = we.slice(X.length)); 7480 for (me in E.filter) 7481 (pe = wc[me].exec(we)) && (!Me[me] || (pe = Me[me](pe))) && (X = pe.shift(), J.push({ 7482 value: X, 7483 type: me, 7484 matches: pe 7485 }), we = we.slice(X.length)); 7486 if (!X) 7487 break; 7488 } 7489 return H ? we.length : we ? Zt.error(k) : ( 7490 // Cache the tokens 7491 yl(k, Fe).slice(0) 7492 ); 7493 }; 7494 function _c(k) { 7495 for (var H = 0, X = k.length, pe = ""; H < X; H++) 7496 pe += k[H].value; 7497 return pe; 7498 } 7499 function Tc(k, H, X) { 7500 var pe = H.dir, J = H.next, me = J || pe, we = X && me === "parentNode", Fe = Mt++; 7501 return H.first ? ( 7502 // Check against closest ancestor/preceding element 7503 function(Me, et, Qe) { 7504 for (; Me = Me[pe]; ) 7505 if (Me.nodeType === 1 || we) 7506 return k(Me, et, Qe); 7507 return !1; 7508 } 7509 ) : ( 7510 // Check against all ancestor/preceding elements 7511 function(Me, et, Qe) { 7512 var nt, wt, Jt, tt = [ln, Fe]; 7513 if (Qe) { 7514 for (; Me = Me[pe]; ) 7515 if ((Me.nodeType === 1 || we) && k(Me, et, Qe)) 7516 return !0; 7517 } else 7518 for (; Me = Me[pe]; ) 7519 if (Me.nodeType === 1 || we) 7520 if (Jt = Me[Xt] || (Me[Xt] = {}), wt = Jt[Me.uniqueID] || (Jt[Me.uniqueID] = {}), J && J === Me.nodeName.toLowerCase()) 7521 Me = Me[pe] || Me; 7522 else { 7523 if ((nt = wt[me]) && nt[0] === ln && nt[1] === Fe) 7524 return tt[2] = nt[2]; 7525 if (wt[me] = tt, tt[2] = k(Me, et, Qe)) 7526 return !0; 7527 } 7528 return !1; 7529 } 7530 ); 7531 } 7532 function Sh(k) { 7533 return k.length > 1 ? function(H, X, pe) { 7534 for (var J = k.length; J--; ) 7535 if (!k[J](H, X, pe)) 7536 return !1; 7537 return !0; 7538 } : k[0]; 7539 } 7540 function Q_(k, H, X) { 7541 for (var pe = 0, J = H.length; pe < J; pe++) 7542 Zt(k, H[pe], X); 7543 return X; 7544 } 7545 function Cc(k, H, X, pe, J) { 7546 for (var me, we = [], Fe = 0, Me = k.length, et = H != null; Fe < Me; Fe++) 7547 (me = k[Fe]) && (!X || X(me, pe, J)) && (we.push(me), et && H.push(Fe)); 7548 return we; 7549 } 7550 function _h(k, H, X, pe, J, me) { 7551 return pe && !pe[Xt] && (pe = _h(pe)), J && !J[Xt] && (J = _h(J, me)), si(function(we, Fe, Me, et) { 7552 var Qe, nt, wt, Jt = [], tt = [], xr = Fe.length, Hr = we || Q_( 7553 H || "*", 7554 Me.nodeType ? [Me] : Me, 7555 [] 7556 ), yn = k && (we || !H) ? Cc(Hr, Jt, k, Me, et) : Hr, ir = X ? ( 7557 // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, 7558 J || (we ? k : xr || pe) ? ( 7559 // ...intermediate processing is necessary 7560 [] 7561 ) : ( 7562 // ...otherwise use results directly 7563 Fe 7564 ) 7565 ) : yn; 7566 if (X && X(yn, ir, Me, et), pe) 7567 for (Qe = Cc(ir, tt), pe(Qe, [], Me, et), nt = Qe.length; nt--; ) 7568 (wt = Qe[nt]) && (ir[tt[nt]] = !(yn[tt[nt]] = wt)); 7569 if (we) { 7570 if (J || k) { 7571 if (J) { 7572 for (Qe = [], nt = ir.length; nt--; ) 7573 (wt = ir[nt]) && Qe.push(yn[nt] = wt); 7574 J(null, ir = [], Qe, et); 7575 } 7576 for (nt = ir.length; nt--; ) 7577 (wt = ir[nt]) && (Qe = J ? ha(we, wt) : Jt[nt]) > -1 && (we[Qe] = !(Fe[Qe] = wt)); 7578 } 7579 } else 7580 ir = Cc( 7581 ir === Fe ? ir.splice(xr, ir.length) : ir 7582 ), J ? J(null, Fe, ir, et) : Po.apply(Fe, ir); 7583 }); 7584 } 7585 function Th(k) { 7586 for (var H, X, pe, J = k.length, me = E.relative[k[0].type], we = me || E.relative[" "], Fe = me ? 1 : 0, Me = Tc(function(nt) { 7587 return nt === H; 7588 }, we, !0), et = Tc(function(nt) { 7589 return ha(H, nt) > -1; 7590 }, we, !0), Qe = [function(nt, wt, Jt) { 7591 var tt = !me && (Jt || wt !== $) || ((H = wt).nodeType ? Me(nt, wt, Jt) : et(nt, wt, Jt)); 7592 return H = null, tt; 7593 }]; Fe < J; Fe++) 7594 if (X = E.relative[k[Fe].type]) 7595 Qe = [Tc(Sh(Qe), X)]; 7596 else { 7597 if (X = E.filter[k[Fe].type].apply(null, k[Fe].matches), X[Xt]) { 7598 for (pe = ++Fe; pe < J && !E.relative[k[pe].type]; pe++) 7599 ; 7600 return _h( 7601 Fe > 1 && Sh(Qe), 7602 Fe > 1 && _c( 7603 // If the preceding token was a descendant combinator, insert an implicit any-element `*` 7604 k.slice(0, Fe - 1).concat({ value: k[Fe - 2].type === " " ? "*" : "" }) 7605 ).replace(xc, "$1"), 7606 X, 7607 Fe < pe && Th(k.slice(Fe, pe)), 7608 pe < J && Th(k = k.slice(pe)), 7609 pe < J && _c(k) 7610 ); 7611 } 7612 Qe.push(X); 7613 } 7614 return Sh(Qe); 7615 } 7616 function $_(k, H) { 7617 var X = H.length > 0, pe = k.length > 0, J = function(me, we, Fe, Me, et) { 7618 var Qe, nt, wt, Jt = 0, tt = "0", xr = me && [], Hr = [], yn = $, ir = me || pe && E.find.TAG("*", et), El = ln += yn == null ? 1 : Math.random() || 0.1, xl = ir.length; 7619 for (et && ($ = we == fe || we || et); tt !== xl && (Qe = ir[tt]) != null; tt++) { 7620 if (pe && Qe) { 7621 for (nt = 0, !we && Qe.ownerDocument != fe && (ae(Qe), Fe = !gt); wt = k[nt++]; ) 7622 if (wt(Qe, we || fe, Fe)) { 7623 Me.push(Qe); 7624 break; 7625 } 7626 et && (ln = El); 7627 } 7628 X && ((Qe = !wt && Qe) && Jt--, me && xr.push(Qe)); 7629 } 7630 if (Jt += tt, X && tt !== Jt) { 7631 for (nt = 0; wt = H[nt++]; ) 7632 wt(xr, Hr, we, Fe); 7633 if (me) { 7634 if (Jt > 0) 7635 for (; tt--; ) 7636 xr[tt] || Hr[tt] || (Hr[tt] = Do.call(Me)); 7637 Hr = Cc(Hr); 7638 } 7639 Po.apply(Me, Hr), et && !me && Hr.length > 0 && Jt + H.length > 1 && Zt.uniqueSort(Me); 7640 } 7641 return et && (ln = El, $ = yn), xr; 7642 }; 7643 return X ? si(J) : J; 7644 } 7645 return z = Zt.compile = function(k, H) { 7646 var X, pe = [], J = [], me = Ec[k + " "]; 7647 if (!me) { 7648 for (H || (H = A(k)), X = H.length; X--; ) 7649 me = Th(H[X]), me[Xt] ? pe.push(me) : J.push(me); 7650 me = Ec( 7651 k, 7652 $_(J, pe) 7653 ), me.selector = k; 7654 } 7655 return me; 7656 }, B = Zt.select = function(k, H, X, pe) { 7657 var J, me, we, Fe, Me, et = typeof k == "function" && k, Qe = !pe && A(k = et.selector || k); 7658 if (X = X || [], Qe.length === 1) { 7659 if (me = Qe[0] = Qe[0].slice(0), me.length > 2 && (we = me[0]).type === "ID" && H.nodeType === 9 && gt && E.relative[me[1].type]) { 7660 if (H = (E.find.ID(we.matches[0].replace($i, eo), H) || [])[0], H) 7661 et && (H = H.parentNode); 7662 else 7663 return X; 7664 k = k.slice(me.shift().value.length); 7665 } 7666 for (J = wc.needsContext.test(k) ? 0 : me.length; J-- && (we = me[J], !E.relative[Fe = we.type]); ) 7667 if ((Me = E.find[Fe]) && (pe = Me( 7668 we.matches[0].replace($i, eo), 7669 Eh.test(me[0].type) && wh(H.parentNode) || H 7670 ))) { 7671 if (me.splice(J, 1), k = pe.length && _c(me), !k) 7672 return Po.apply(X, pe), X; 7673 break; 7674 } 7675 } 7676 return (et || z(k, Qe))( 7677 pe, 7678 H, 7679 !gt, 7680 X, 7681 !H || Eh.test(k) && wh(H.parentNode) || H 7682 ), X; 7683 }, y.sortStable = Xt.split("").sort(fa).join("") === Xt, y.detectDuplicates = !!xe, ae(), y.sortDetached = Bn(function(k) { 7684 return k.compareDocumentPosition(fe.createElement("fieldset")) & 1; 7685 }), Bn(function(k) { 7686 return k.innerHTML = "<a href='#'></a>", k.firstChild.getAttribute("href") === "#"; 7687 }) || xh("type|href|height|width", function(k, H, X) { 7688 if (!X) 7689 return k.getAttribute(H, H.toLowerCase() === "type" ? 1 : 2); 7690 }), (!y.attributes || !Bn(function(k) { 7691 return k.innerHTML = "<input/>", k.firstChild.setAttribute("value", ""), k.firstChild.getAttribute("value") === ""; 7692 })) && xh("value", function(k, H, X) { 7693 if (!X && k.nodeName.toLowerCase() === "input") 7694 return k.defaultValue; 7695 }), Bn(function(k) { 7696 return k.getAttribute("disabled") == null; 7697 }) || xh(yh, function(k, H, X) { 7698 var pe; 7699 if (!X) 7700 return k[H] === !0 ? H.toLowerCase() : (pe = k.getAttributeNode(H)) && pe.specified ? pe.value : null; 7701 }), Zt; 7702 }(e) 7703 ); 7704 p.find = V, p.expr = V.selectors, p.expr[":"] = p.expr.pseudos, p.uniqueSort = p.unique = V.uniqueSort, p.text = V.getText, p.isXMLDoc = V.isXML, p.contains = V.contains, p.escapeSelector = V.escape; 7705 var P = function(c, v, y) { 7706 for (var E = [], C = y !== void 0; (c = c[v]) && c.nodeType !== 9; ) 7707 if (c.nodeType === 1) { 7708 if (C && p(c).is(y)) 7709 break; 7710 E.push(c); 7711 } 7712 return E; 7713 }, M = function(c, v) { 7714 for (var y = []; c; c = c.nextSibling) 7715 c.nodeType === 1 && c !== v && y.push(c); 7716 return y; 7717 }, U = p.expr.match.needsContext; 7718 function re(c, v) { 7719 return c.nodeName && c.nodeName.toLowerCase() === v.toLowerCase(); 7720 } 7721 var Q = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; 7722 function ne(c, v, y) { 7723 return b(v) ? p.grep(c, function(E, C) { 7724 return !!v.call(E, C, E) !== y; 7725 }
7725) : v.nodeType ? p.grep(c, function(E) { 7726 return E === v !== y; 7727 }) : typeof v != "string" ? p.grep(c, function(E) { 7728 return u.call(v, E) > -1 !== y; 7729 }) : p.filter(v, c, y); 7730 } 7731 p.filter = function(c, v, y) { 7732 var E = v[0]; 7733 return y && (c = ":not(" + c + ")"), v.length === 1 && E.nodeType === 1 ? p.find.matchesSelector(E, c) ? [E] : [] : p.find.matches(c, p.grep(v, function(C) { 7734 return C.nodeType === 1; 7735 })); 7736 }, p.fn.extend({ 7737 find: function(c) { 7738 var v, y, E = this.length, C = this; 7739 if (typeof c != "string") 7740 return this.pushStack(p(c).filter(function() { 7741 for (v = 0; v < E; v++) 7742 if (p.contains(C[v], this)) 7743 return !0; 7744 })); 7745 for (y = this.pushStack([]), v = 0; v < E; v++) 7746 p.find(c, C[v], y); 7747 return E > 1 ? p.uniqueSort(y) : y; 7748 }, 7749 filter: function(c) { 7750 return this.pushStack(ne(this, c || [], !1)); 7751 }, 7752 not: function(c) { 7753 return this.pushStack(ne(this, c || [], !0)); 7754 }, 7755 is: function(c) { 7756 return !!ne( 7757 this, 7758 // If this is a positional/relative selector, check membership in the returned set 7759 // so $("p:first").is("p:last") won't return true for a doc with two "p". 7760 typeof c == "string" && U.test(c) ? p(c) : c || [], 7761 !1 7762 ).length; 7763 } 7764 }); 7765 var ee, L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Z = p.fn.init = function(c, v, y) { 7766 var E, C; 7767 if (!c) 7768 return this; 7769 if (y = y || ee, typeof c == "string") 7770 if (c[0] === "<" && c[c.length - 1] === ">" && c.length >= 3 ? E = [null, c, null] : E = L.exec(c), E && (E[1] || !v)) 7771 if (E[1]) { 7772 if (v = v instanceof p ? v[0] : v, p.merge(this, p.parseHTML( 7773 E[1], 7774 v && v.nodeType ? v.ownerDocument || v : w, 7775 !0 7776 )), Q.test(E[1]) && p.isPlainObject(v)) 7777 for (E in v) 7778 b(this[E]) ? this[E](v[E]) : this.attr(E, v[E]); 7779 return this; 7780 } else 7781 return C = w.getElementById(E[2]), C && (this[0] = C, this.length = 1), this; 7782 else 7783 return !v || v.jquery ? (v || y).find(c) : this.constructor(v).find(c); 7784 else { 7785 if (c.nodeType) 7786 return this[0] = c, this.length = 1, this; 7787 if (b(c)) 7788 return y.ready !== void 0 ? y.ready(c) : ( 7789 // Execute immediately if ready is not present 7790 c(p) 7791 ); 7792 } 7793 return p.makeArray(c, this); 7794 }; 7795 Z.prototype = p.fn, ee = p(w); 7796 var G = /^(?:parents|prev(?:Until|All))/, se = { 7797 children: !0, 7798 contents: !0, 7799 next: !0, 7800 prev: !0 7801 }; 7802 p.fn.extend({ 7803 has: function(c) { 7804 var v = p(c, this), y = v.length; 7805 return this.filter(function() { 7806 for (var E = 0; E < y; E++) 7807 if (p.contains(this, v[E])) 7808 return !0; 7809 }); 7810 }, 7811 closest: function(c, v) { 7812 var y, E = 0, C = this.length, O = [], A = typeof c != "string" && p(c); 7813 if (!U.test(c)) { 7814 for (; E < C; E++) 7815 for (y = this[E]; y && y !== v; y = y.parentNode) 7816 if (y.nodeType < 11 && (A ? A.index(y) > -1 : ( 7817 // Don't pass non-elements to Sizzle 7818 y.nodeType === 1 && p.find.matchesSelector(y, c) 7819 ))) { 7820 O.push(y); 7821 break; 7822 } 7823 } 7824 return this.pushStack(O.length > 1 ? p.uniqueSort(O) : O); 7825 }, 7826 // Determine the position of an element within the set 7827 index: function(c) { 7828 return c ? typeof c == "string" ? u.call(p(c), this[0]) : u.call( 7829 this, 7830 // If it receives a jQuery object, the first element is used 7831 c.jquery ? c[0] : c 7832 ) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; 7833 }, 7834 add: function(c, v) { 7835 return this.pushStack( 7836 p.uniqueSort(
7837 p.merge(this.get(), p(c, v)) 7838 ) 7839 ); 7840 }, 7841 addBack: function(c) { 7842 return this.add( 7843 c == null ? this.prevObject : this.prevObject.filter(c) 7844 ); 7845 } 7846 }); 7847 function de(c, v) { 7848 for (; (c = c[v]) && c.nodeType !== 1; ) 7849 ; 7850 return c; 7851 } 7852 p.each({ 7853 parent: function(c) { 7854 var v = c.parentNode; 7855 return v && v.nodeType !== 11 ? v : null; 7856 }, 7857 parents: function(c) { 7858 return P(c, "parentNode"); 7859 }, 7860 parentsUntil: function(c, v, y) { 7861 return P(c, "parentNode", y); 7862 }, 7863 next: function(c) { 7864 return de(c, "nextSibling"); 7865 }, 7866 prev: function(c) { 7867 return de(c, "previousSibling"); 7868 }, 7869 nextAll: function(c) { 7870 return P(c, "nextSibling"); 7871 }, 7872 prevAll: function(c) { 7873 return P(c, "previousSibling"); 7874 }, 7875 nextUntil: function(c, v, y) { 7876 return P(c, "nextSibling", y); 7877 }, 7878 prevUntil: function(c, v, y) { 7879 return P(c, "previousSibling", y); 7880 }, 7881 siblings: function(c) { 7882 return M((c.parentNode || {}).firstChild, c); 7883 }, 7884 children: function(c) { 7885 return M(c.firstChild); 7886 }, 7887 contents: function(c) { 7888 return c.contentDocument != null && // Support: IE 11+ 7889 // <object> elements with no `data` attribute has an object 7890 // `contentDocument` with a `null` prototype. 7891 i(c.contentDocument) ? c.contentDocument : (re(c, "template") && (c = c.content || c), p.merge([], c.childNodes)); 7892 } 7893 }, function(c, v) { 7894 p.fn[c] = function(y, E) { 7895 var C = p.map(this, v, y); 7896 return c.slice(-5) !== "Until" && (E = y), E && typeof E == "string" && (C = p.filter(E, C)), this.length > 1 && (se[c] || p.uniqueSort(C), G.test(c) && C.reverse()), this.pushStack(C); 7897 }; 7898 }); 7899 var Re = /[^\x20\t\r\n\f]+/g; 7900 function ze(c) { 7901 var v = {}; 7902 return p.each(c.match(Re) || [], function(y, E) { 7903 v[E] = !0; 7904 }), v; 7905 } 7906 p.Callbacks = function(c) { 7907 c = typeof c == "string" ? ze(c) : p.extend({}, c); 7908 var v, y, E, C, O = [], A = [], z = -1, B = function() { 7909 for (C = C || c.once, E = v = !0; A.length; z = -1) 7910 for (y = A.shift(); ++z < O.length; ) 7911 O[z].apply(y[0], y[1]) === !1 && c.stopOnFalse && (z = O.length, y = !1); 7912 c.memory || (y = !1), v = !1, C && (y ? O = [] : O = ""); 7913 }, $ = { 7914 // Add a callback or a collection of callbacks to the list 7915 add: function() { 7916 return O && (y && !v && (z = O.length - 1, A.push(y)), function ue(xe) { 7917 p.each(xe, function(ae, fe) { 7918 b(fe) ? (!c.unique || !$.has(fe)) && O.push(fe) : fe && fe.length && _(fe) !== "string" && ue(fe); 7919 }); 7920 }(arguments), y && !v && B()), this; 7921 }, 7922 // Remove a callback from the list 7923 remove: function() { 7924 return p.each(arguments, function(ue, xe) { 7925 for (var ae; (ae = p.inArray(xe, O, ae)) > -1; ) 7926 O.splice(ae, 1), ae <= z && z--; 7927 }), this; 7928 }, 7929 // Check if a given callback is in the list. 7930 // If no argument is given, return whether or not list has callbacks attached. 7931 has: function(ue) { 7932 return ue ? p.inArray(ue, O) > -1 : O.length > 0; 7933 }, 7934 // Remove all callbacks from the list 7935 empty: function() { 7936 return O && (O = []), this; 7937 }, 7938 // Disable .fire and .add 7939 // Abort any current/pending executions 7940 // Clear all callbacks and values 7941 disable: function() { 7942 return C = A = [], O = y = "", this; 7943 }, 7944 disabled: function() { 7945 return !O; 7946 }, 7947 // Disable .fire 7948 // Also disable .add unless we have memory (since it would have no effect)
7949 // Abort any pending executions 7950 lock: function() { 7951 return C = A = [], !y && !v && (O = y = ""), this; 7952 }, 7953 locked: function() { 7954 return !!C; 7955 }, 7956 // Call all callbacks with the given context and arguments 7957 fireWith: function(ue, xe) { 7958 return C || (xe = xe || [], xe = [ue, xe.slice ? xe.slice() : xe], A.push(xe), v || B()), this; 7959 }, 7960 // Call all the callbacks with the given arguments 7961 fire: function() { 7962 return $.fireWith(this, arguments), this; 7963 }, 7964 // To know if the callbacks have already been called at least once 7965 fired: function() { 7966 return !!E; 7967 } 7968 }; 7969 return $; 7970 }; 7971 function je(c) { 7972 return c; 7973 } 7974 function Le(c) { 7975 throw c; 7976 } 7977 function be(c, v, y, E) { 7978 var C; 7979 try { 7980 c && b(C = c.promise) ? C.call(c).done(v).fail(y) : c && b(C = c.then) ? C.call(c, v, y) : v.apply(void 0, [c].slice(E)); 7981 } catch (O) { 7982 y.apply(void 0, [O]); 7983 } 7984 } 7985 p.extend({ 7986 Deferred: function(c) { 7987 var v = [ 7988 // action, add listener, callbacks, 7989 // ... .then handlers, argument index, [final state] 7990 [ 7991 "notify", 7992 "progress", 7993 p.Callbacks("memory"), 7994 p.Callbacks("memory"), 7995 2 7996 ], 7997 [ 7998 "resolve", 7999 "done", 8000 p.Callbacks("once memory"), 8001 p.Callbacks("once memory"), 8002 0, 8003 "resolved" 8004 ], 8005 [ 8006 "reject", 8007 "fail", 8008 p.Callbacks("once memory"), 8009 p.Callbacks("once memory"), 8010 1, 8011 "rejected" 8012 ] 8013 ], y = "pending", E = { 8014 state: function() { 8015 return y; 8016 }, 8017 always: function() { 8018 return C.done(arguments).fail(arguments), this; 8019 }, 8020 catch: function(O) { 8021 return E.then(null, O); 8022 }, 8023 // Keep pipe for back-compat 8024 pipe: function() { 8025 var O = arguments; 8026 return p.Deferred(function(A) { 8027 p.each(v, function(z, B) { 8028 var $ = b(O[B[4]]) && O[B[4]]; 8029 C[B[1]](function() { 8030 var ue = $ && $.apply(this, arguments); 8031 ue && b(ue.promise) ? ue.promise().progress(A.notify).done(A.resolve).fail(A.reject) : A[B[0] + "With"]( 8032 this, 8033 $ ? [ue] : arguments 8034 ); 8035 }); 8036 }), O = null; 8037 }).promise(); 8038 }, 8039 then: function(O, A, z) { 8040 var B = 0; 8041 function $(ue, xe, ae, fe) { 8042 return function() { 8043 var Ge = this, gt = arguments, We = function() { 8044 var pr, gn; 8045 if (!(ue < B)) { 8046 if (pr = ae.apply(Ge, gt), pr === xe.promise()) 8047 throw new TypeError("Thenable self-resolution"); 8048 gn = pr && // Support: Promises/A+ section 2.3.4 8049 // https://promisesaplus.com/#point-64 8050 // Only check objects and functions for thenability 8051 (typeof pr == "object" || typeof pr == "function") && pr.then, b(gn) ? fe ? gn.call( 8052 pr, 8053 $(B, xe, je, fe), 8054 $(B, xe, Le, fe) 8055 ) : (B++, gn.call( 8056 pr, 8057 $(B, xe, je, fe), 8058 $(B, xe, Le, fe), 8059 $( 8060 B, 8061 xe, 8062 je, 8063 xe.notifyWith 8064 ) 8065 )) : (ae !== je && (Ge = void 0, gt = [pr]), (fe || xe.resolveWith)(Ge, gt)); 8066 } 8067 }, Er = fe ? We : function() { 8068 try { 8069 We(); 8070 } catch (pr) { 8071 p.Deferred.exceptionHook && p.Deferred.exceptionHook( 8072 pr, 8073 Er.stackTrace 8074 ), ue + 1 >= B && (ae !== Le && (Ge = void 0, gt = [pr]), xe.rejectWith(Ge, gt)); 8075 } 8076 }; 8077 ue ? Er() : (p.Deferred.getStackHook && (Er.stackTrace = p.Deferred.getStackHook()), e.setTimeout(Er)); 8078 }; 8079 } 8080 return p.Deferred(function(ue) { 8081 v[0][3].add( 8082 $( 8083 0, 8084 ue, 8085 b(z) ? z : je, 8086 ue.notifyWith 8087 ) 8088 ), v[1][3].add( 8089 $( 8090 0, 8091 ue, 8092 b(O) ? O : je 8093 ) 8094 ), v[2][3].add( 8095 $( 8096 0, 8097 ue, 8098 b(A) ? A : Le 8099 ) 8100 ); 8101 }).promise(); 8102 }, 8103 // Get a promise for this deferred 8104 // If obj is provided, the promise aspect is added to the object 8105 promise: function(O) { 8106 return O != null ? p.extend(O, E) : E; 8107 } 8108 }, C = {}; 8109 return p.each(v, function(O, A) { 8110 var z = A[2], B = A[5]; 8111 E[A[1]] = z.add, B && z.add( 8112 function() { 8113 y = B; 8114 }, 8115 // rejected_callbacks.disable 8116 // fulfilled_callbacks.disable 8117 v[3 - O][2].disable, 8118 // rejected_handlers.disable 8119 // fulfilled_handlers.disable 8120 v[3 - O][3].disable, 8121 // progress_callbacks.lock 8122 v[0][2].lock, 8123 // progress_handlers.lock 8124 v[0][3].lock 8125 ), z.add(A[3].fire), C[A[0]] = function() { 8126 return C[A[0] + "With"](this === C ? void 0 : this, arguments), this; 8127 }
8127, C[A[0] + "With"] = z.fireWith; 8128 }), E.promise(C), c && c.call(C, C), C; 8129 }, 8130 // Deferred helper 8131 when: function(c) { 8132 var v = arguments.length, y = v, E = Array(y), C = o.call(arguments), O = p.Deferred(), A = function(z) { 8133 return function(B) { 8134 E[z] = this, C[z] = arguments.length > 1 ? o.call(arguments) : B, --v || O.resolveWith(E, C); 8135 }; 8136 }; 8137 if (v <= 1 && (be( 8138 c, 8139 O.done(A(y)).resolve, 8140 O.reject, 8141 !v 8142 ), O.state() === "pending" || b(C[y] && C[y].then))) 8143 return O.then(); 8144 for (; y--; ) 8145 be(C[y], A(y), O.reject); 8146 return O.promise(); 8147 } 8148 }); 8149 var Ve = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; 8150 p.Deferred.exceptionHook = function(c, v) { 8151 e.console && e.console.warn && c && Ve.test(c.name) && e.console.warn("jQuery.Deferred exception: " + c.message, c.stack, v); 8152 }, p.readyException = function(c) { 8153 e.setTimeout(function() { 8154 throw c; 8155 }); 8156 }; 8157 var Be = p.Deferred(); 8158 p.fn.ready = function(c) { 8159 return Be.then(c).catch(function(v) { 8160 p.readyException(v); 8161 }), this; 8162 }, p.extend({ 8163 // Is the DOM ready to be used? Set to true once it occurs. 8164 isReady: !1, 8165 // A counter to track how many items to wait for before 8166 // the ready event fires. See trac-6781 8167 readyWait: 1, 8168 // Handle when the DOM is ready 8169 ready: function(c) { 8170 (c === !0 ? --p.readyWait : p.isReady) || (p.isReady = !0, !(c !== !0 && --p.readyWait > 0) && Be.resolveWith(w, [p])); 8171 } 8172 }), p.ready.then = Be.then; 8173 function Pe() { 8174 w.removeEventListener("DOMContentLoaded", Pe), e.removeEventListener("load", Pe), p.ready(); 8175 } 8176 w.readyState === "complete" || w.readyState !== "loading" && !w.documentElement.doScroll ? e.setTimeout(p.ready) : (w.addEventListener("DOMContentLoaded", Pe), e.addEventListener("load", Pe)); 8177 var $e = function(c, v, y, E, C, O, A) { 8178 var z = 0, B = c.length, $ = y == null; 8179 if (_(y) === "object") { 8180 C = !0; 8181 for (z in y) 8182 $e(c, v, z, y[z], !0, O, A); 8183 } else if (E !== void 0 && (C = !0, b(E) || (A = !0), $ && (A ? (v.call(c, E), v = null) : ($ = v, v = function(ue, xe, ae) { 8184 return $.call(p(ue), ae); 8185 })), v)) 8186 for (; z < B; z++) 8187 v( 8188 c[z], 8189 y, 8190 A ? E : E.call(c[z], z, v(c[z], y)) 8191 ); 8192 return C ? c : $ ? v.call(c) : B ? v(c[0], y) : O; 8193 }, rt = /^-ms-/, _t = /-([a-z])/g; 8194 function ar(c, v) { 8195 return v.toUpperCase(); 8196 } 8197 function Tt(c) { 8198 return c.replace(rt, "ms-").replace(_t, ar); 8199 } 8200 var F = function(c) { 8201 return c.nodeType === 1 || c.nodeType === 9 || !+c.nodeType; 8202 }; 8203 function q() { 8204 this.expando = p.expando + q.uid++; 8205 } 8206 q.uid = 1, q.prototype = { 8207 cache: function(c) { 8208 var v = c[this.expando]; 8209 return v || (v = {}, F(c) && (c.nodeType ? c[this.expando] = v : Object.defineProperty(c, this.expando, { 8210 value: v, 8211 configurable: !0 8212 }))), v; 8213 }, 8214 set: function(c, v, y) { 8215 var E, C = this.cache(c); 8216 if (typeof v == "string") 8217 C[Tt(v)] = y; 8218 else 8219 for (E in v) 8220 C[Tt(E)] = v[E]; 8221 return C; 8222 }, 8223 get: function(c, v) { 8224 return v === void 0 ? this.cache(c) : ( 8225 // Always use camelCase key (gh-2257) 8226 c[this.expando] && c[this.expando][Tt(v)] 8227 ); 8228 }, 8229 access: function(c, v, y) { 8230 return v === void 0 || v && typeof v == "string" && y === void 0 ? this.get(c, v) : (this.set(c, v, y), y !== void 0 ? y : v); 8231 }, 8232 remove: function(c, v) { 8233 var y, E = c[this.expando]; 8234 if (E !== void 0) { 8235 if (v !== void 0) 8236 for (Array.isArray(v) ? v = v.map(Tt) : (v = Tt(v), v = v in E ? [v] : v.match(Re) || []), y = v.length; y--; ) 8237 delete E[v[y]]; 8238 (v === void 0 || p.isEmptyObject(E)) && (c.nodeType ? c[this.expando] = void 0 : delete c[this.expando]); 8239 } 8240 }, 8241 hasData: function(c) { 8242 var v = c[this.expando]; 8243 return v !== void 0 && !p.isEmptyObject(v); 8244 } 8245 }; 8246 var K = new q(), ce = new q(), ve = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, ge = /[A-Z]/g; 8247 function Ce(c) {
8248 return c === "true" ? !0 : c === "false" ? !1 : c === "null" ? null : c === +c + "" ? +c : ve.test(c) ? JSON.parse(c) : c; 8249 } 8250 function Ee(c, v, y) { 8251 var E; 8252 if (y === void 0 && c.nodeType === 1) 8253 if (E = "data-" + v.replace(ge, "-$&").toLowerCase(), y = c.getAttribute(E), typeof y == "string") { 8254 try { 8255 y = Ce(y); 8256 } catch { 8257 } 8258 ce.set(c, v, y); 8259 } else 8260 y = void 0; 8261 return y; 8262 } 8263 p.extend({ 8264 hasData: function(c) { 8265 return ce.hasData(c) || K.hasData(c); 8266 }, 8267 data: function(c, v, y) { 8268 return ce.access(c, v, y); 8269 }, 8270 removeData: function(c, v) { 8271 ce.remove(c, v); 8272 }, 8273 // TODO: Now that all calls to _data and _removeData have been replaced 8274 // with direct calls to dataPriv methods, these can be deprecated. 8275 _data: function(c, v, y) { 8276 return K.access(c, v, y); 8277 }, 8278 _removeData: function(c, v) { 8279 K.remove(c, v); 8280 } 8281 }), p.fn.extend({ 8282 data: function(c, v) { 8283 var y, E, C, O = this[0], A = O && O.attributes; 8284 if (c === void 0) { 8285 if (this.length && (C = ce.get(O), O.nodeType === 1 && !K.get(O, "hasDataAttrs"))) { 8286 for (y = A.length; y--; ) 8287 A[y] && (E = A[y].name, E.indexOf("data-") === 0 && (E = Tt(E.slice(5)), Ee(O, E, C[E]))); 8288 K.set(O, "hasDataAttrs", !0); 8289 } 8290 return C; 8291 } 8292 return typeof c == "object" ? this.each(function() { 8293 ce.set(this, c); 8294 }) : $e(this, function(z) { 8295 var B; 8296 if (O && z === void 0) 8297 return B = ce.get(O, c), B !== void 0 || (B = Ee(O, c), B !== void 0) ? B : void 0; 8298 this.each(function() { 8299 ce.set(this, c, z); 8300 }); 8301 }, null, v, arguments.length > 1, null, !0); 8302 }, 8303 removeData: function(c) { 8304 return this.each(function() { 8305 ce.remove(this, c); 8306 }); 8307 } 8308 }), p.extend({ 8309 queue: function(c, v, y) { 8310 var E; 8311 if (c) 8312 return v = (v || "fx") + "queue", E = K.get(c, v), y && (!E || Array.isArray(y) ? E = K.access(c, v, p.makeArray(y)) : E.push(y)), E || []; 8313 }, 8314 dequeue: function(c, v) { 8315 v = v || "fx"; 8316 var y = p.queue(c, v), E = y.length, C = y.shift(), O = p._queueHooks(c, v), A = function() { 8317 p.dequeue(c, v); 8318 }; 8319 C === "inprogress" && (C = y.shift(), E--), C && (v === "fx" && y.unshift("inprogress"), delete O.stop, C.call(c, A, O)), !E && O && O.empty.fire(); 8320 }, 8321 // Not public - generate a queueHooks object, or return the current one 8322 _queueHooks: function(c, v) { 8323 var y = v + "queueHooks"; 8324 return K.get(c, y) || K.access(c, y, { 8325 empty: p.Callbacks("once memory").add(function() { 8326 K.remove(c, [v + "queue", y]); 8327 }) 8328 }); 8329 } 8330 }), p.fn.extend({ 8331 queue: function(c, v) { 8332 var y = 2; 8333 return typeof c != "string" && (v = c, c = "fx", y--), arguments.length < y ? p.queue(this[0], c) : v === void 0 ? this : this.each(function() { 8334 var E = p.queue(this, c, v); 8335 p._queueHooks(this, c), c === "fx" && E[0] !== "inprogress" && p.dequeue(this, c); 8336 }); 8337 }, 8338 dequeue: function(c) { 8339 return this.each(function() { 8340 p.dequeue(this, c); 8341 }); 8342 }, 8343 clearQueue: function(c) { 8344 return this.queue(c || "fx", []); 8345 }, 8346 // Get a promise resolved when queues of a certain type 8347 // are emptied (fx is the type by default) 8348 promise: function(c, v) { 8349 var y, E = 1, C = p.Deferred(), O = this, A = this.length, z = function() { 8350 --E || C.resolveWith(O, [O]); 8351 }; 8352 for (typeof c != "string" && (v = c, c = void 0), c = c || "fx"; A--; ) 8353 y = K.get(O[A], c + "queueHooks"), y && y.empty && (E++, y.empty.add(z)); 8354 return z(), C.promise(v); 8355 } 8356 }); 8357 var W = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, j = new RegExp("^(?:([+-])=|)(" + W + ")([a-z
8357%]*)$", "i"), ie = ["Top", "Right", "Bottom", "Left"], le = w.documentElement, _e = function(c) { 8358 return p.contains(c.ownerDocument, c); 8359 }, Oe = { composed: !0 }; 8360 le.getRootNode && (_e = function(c) { 8361 return p.contains(c.ownerDocument, c) || c.getRootNode(Oe) === c.ownerDocument; 8362 }); 8363 var Ie = function(c, v) { 8364 return c = v || c, c.style.display === "none" || c.style.display === "" && // Otherwise, check computed style 8365 // Support: Firefox <=43 - 45 8366 // Disconnected elements can have computed display: none, so first confirm that elem is 8367 // in the document. 8368 _e(c) && p.css(c, "display") === "none"; 8369 }; 8370 function Ue(c, v, y, E) { 8371 var C, O, A = 20, z = E ? function() { 8372 return E.cur(); 8373 } : function() { 8374 return p.css(c, v, ""); 8375 }, B = z(), $ = y && y[3] || (p.cssNumber[v] ? "" : "px"), ue = c.nodeType && (p.cssNumber[v] || $ !== "px" && +B) && j.exec(p.css(c, v)); 8376 if (ue && ue[3] !== $) { 8377 for (B = B / 2, $ = $ || ue[3], ue = +B || 1; A--; ) 8378 p.style(c, v, ue + $), (1 - O) * (1 - (O = z() / B || 0.5)) <= 0 && (A = 0), ue = ue / O; 8379 ue = ue * 2, p.style(c, v, ue + $), y = y || []; 8380 } 8381 return y && (ue = +ue || +B || 0, C = y[1] ? ue + (y[1] + 1) * y[2] : +y[2], E && (E.unit = $, E.start = ue, E.end = C)), C; 8382 } 8383 var He = {}; 8384 function at(c) { 8385 var v, y = c.ownerDocument, E = c.nodeName, C = He[E]; 8386 return C || (v = y.body.appendChild(y.createElement(E)), C = p.css(v, "display"), v.parentNode.removeChild(v), C === "none" && (C = "block"), He[E] = C, C); 8387 } 8388 function xt(c, v) { 8389 for (var y, E, C = [], O = 0, A = c.length; O < A; O++) 8390 E = c[O], E.style && (y = E.style.display, v ? (y === "none" && (C[O] = K.get(E, "display") || null, C[O] || (E.style.display = "")), E.style.display === "" && Ie(E) && (C[O] = at(E))) : y !== "none" && (C[O] = "none", K.set(E, "display", y))); 8391 for (O = 0; O < A; O++) 8392 C[O] != null && (c[O].style.display = C[O]); 8393 return c; 8394 } 8395 p.fn.extend({ 8396 show: function() { 8397 return xt(this, !0); 8398 }, 8399 hide: function() { 8400 return xt(this); 8401 }, 8402 toggle: function(c) { 8403 return typeof c == "boolean" ? c ? this.show() : this.hide() : this.each(function() { 8404 Ie(this) ? p(this).show() : p(this).hide(); 8405 }); 8406 } 8407 }); 8408 var $t = /^(?:checkbox|radio)$/i, Dr = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, Ti = /^$|^module$|\/(?:java|ecma)script/i; 8409 (function() { 8410 var c = w.createDocumentFragment(), v = c.appendChild(w.createElement("div")), y = w.createElement("input"); 8411 y.setAttribute("type", "radio"), y.setAttribute("checked", "checked"), y.setAttribute("name", "t"), v.appendChild(y), m.checkClone = v.cloneNode(!0).cloneNode(!0).lastChild.checked, v.innerHTML = "<textarea>x</textarea>", m.noCloneChecked = !!v.cloneNode(!0).lastChild.defaultValue, v.innerHTML = "<option></option>", m.option = !!v.lastChild; 8412 })(); 8413 var Pr = { 8414 // XHTML parsers do not magically insert elements in the 8415 // same way that tag soup parsers do. So we cannot shorten 8416 // this by omitting <tbody> or other required elements. 8417 thead: [1, "<table>", "</table>"], 8418 col: [2, "<table><colgroup>", "</colgroup></table>"], 8419 tr: [2, "<table><tbody>", "</tbody></table>"], 8420 td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], 8421 _default: [0, "", ""] 8422 }; 8423 Pr.tbody = Pr.tfoot = Pr.colgroup = Pr.caption = Pr.thead, Pr.th = Pr.td, m.option || (Pr.optgroup = Pr.option = [1, "<select multiple='multiple'>", "</select>"]); 8424 function jt(c, v) { 8425 var y; 8426 return typeof c.getElementsByTagName < "u" ? y = c.getElementsByTagName(v || "*") : typeof c.querySelectorAll < "u" ? y = c.querySelectorAll(v || "*") : y = [], v === void 0 || v && re(c, v) ? p.merge
8426([c], y) : y; 8427 } 8428 function Mr(c, v) { 8429 for (var y = 0, E = c.length; y < E; y++) 8430 K.set( 8431 c[y], 8432 "globalEval", 8433 !v || K.get(v[y], "globalEval") 8434 ); 8435 } 8436 var us = /<|&#?\w+;/; 8437 function No(c, v, y, E, C) { 8438 for (var O, A, z, B, $, ue, xe = v.createDocumentFragment(), ae = [], fe = 0, Ge = c.length; fe < Ge; fe++) 8439 if (O = c[fe], O || O === 0) 8440 if (_(O) === "object") 8441 p.merge(ae, O.nodeType ? [O] : O); 8442 else if (!us.test(O)) 8443 ae.push(v.createTextNode(O)); 8444 else { 8445 for (A = A || xe.appendChild(v.createElement("div")), z = (Dr.exec(O) || ["", ""])[1].toLowerCase(), B = Pr[z] || Pr._default, A.innerHTML = B[1] + p.htmlPrefilter(O) + B[2], ue = B[0]; ue--; ) 8446 A = A.lastChild; 8447 p.merge(ae, A.childNodes), A = xe.firstChild, A.textContent = ""; 8448 } 8449 for (xe.textContent = "", fe = 0; O = ae[fe++]; ) { 8450 if (E && p.inArray(O, E) > -1) { 8451 C && C.push(O); 8452 continue; 8453 } 8454 if ($ = _e(O), A = jt(xe.appendChild(O), "script"), $ && Mr(A), y) 8455 for (ue = 0; O = A[ue++]; ) 8456 Ti.test(O.type || "") && y.push(O); 8457 } 8458 return xe; 8459 } 8460 var gc = /^([^.]*)(?:\.(.+)|)/; 8461 function ko() { 8462 return !0; 8463 } 8464 function Ci() { 8465 return !1; 8466 } 8467 function sh(c, v) { 8468 return c === oe() == (v === "focus"); 8469 } 8470 function oe() { 8471 try { 8472 return w.activeElement; 8473 } catch { 8474 } 8475 } 8476 function ye(c, v, y, E, C, O) { 8477 var A, z; 8478 if (typeof v == "object") { 8479 typeof y != "string" && (E = E || y, y = void 0); 8480 for (z in v) 8481 ye(c, z, y, E, v[z], O); 8482 return c; 8483 } 8484 if (E == null && C == null ? (C = y, E = y = void 0) : C == null && (typeof y == "string" ? (C = E, E = void 0) : (C = E, E = y, y = void 0)), C === !1) 8485 C = Ci; 8486 else if (!C) 8487 return c; 8488 return O === 1 && (A = C, C = function(B) { 8489 return p().off(B), A.apply(this, arguments); 8490 }, C.guid = A.guid || (A.guid = p.guid++)), c.each(function() { 8491 p.event.add(this, v, C, E, y); 8492 }); 8493 } 8494 p.event = { 8495 global: {}, 8496 add: function(c, v, y, E, C) { 8497 var O, A, z, B, $, ue, xe, ae, fe, Ge, gt, We = K.get(c); 8498 if (F(c)) 8499 for (y.handler && (O = y, y = O.handler, C = O.selector), C && p.find.matchesSelector(le, C), y.guid || (y.guid = p.guid++), (B = We.events) || (B = We.events = /* @__PURE__ */ Object.create(null)), (A = We.handle) || (A = We.handle = function(Er) { 8500 return typeof p < "u" && p.event.triggered !== Er.type ? p.event.dispatch.apply(c, arguments) : void 0; 8501 }), v = (v || "").match(Re) || [""], $ = v.length; $--; ) 8502 z = gc.exec(v[$]) || [], fe = gt = z[1], Ge = (z[2] || "").split(".").sort(), fe && (xe = p.event.special[fe] || {}, fe = (C ? xe.delegateType : xe.bindType) || fe, xe = p.event.special[fe] || {}, ue = p.extend({ 8503 type: fe, 8504 origType: gt, 8505 data: E, 8506 handler: y, 8507 guid: y.guid, 8508 selector: C, 8509 needsContext: C && p.expr.match.needsContext.test(C), 8510 namespace: Ge.join(".") 8511 }, O), (ae = B[fe]) || (ae = B[fe] = [], ae.delegateCount = 0, (!xe.setup || xe.setup.call(c, E, Ge, A) === !1) && c.addEventListener && c.addEventListener(fe, A)), xe.add && (xe.add.call(c, ue), ue.handler.guid || (ue.handler.guid = y.guid)), C ? ae.splice(ae.delegateCount++, 0, ue) : ae.push(ue), p.event.global[fe] = !0); 8512 }, 8513 // Detach an event or set of events from an element 8514 remove: function(c, v, y, E, C) { 8515 var O, A, z, B, $, ue, xe, ae, fe, Ge, gt, We = K.hasData(c) && K.get(c); 8516 if (!(!We || !(B = We.events))) { 8517 for (v = (v || "").match(Re) || [""], $ = v.length; $--; ) { 8518 if (z = gc.exec(v[$]) || [], fe = gt = z[1], Ge = (z[2] || "").split(".").sort(), !fe) { 8519 for (fe in B) 8520 p.event.remove(c, fe + v[$], y, E, !0); 8521 continue; 8522 } 8523 for (xe = p.event.special[fe] || {}, fe = (E ? xe.delegateType : xe.bindType) || fe, ae = B[fe] || [], z = z[2] && new RegExp("(^|\\.)" + Ge.join("\\.(?:.*\\.|)") + "(\\.|$)"), A = O = ae.length; O--; ) 8524 ue = ae[O], (C || gt === ue.origType) && (!y || y.guid === ue.guid) && (!z || z.test(ue.namespace)) && (!E || E === ue.selector || E === "**" && ue.selector) && (ae.splice(O, 1), ue.selector && ae.delegateCount--, xe.remove && xe.remove.call(c, ue)); 8525 A && !ae.length && ((!xe.teardown || xe.teardown.call(c, Ge, We.handle) === !1) && p.removeEvent(c, fe, We.handle), delete B[fe]); 8526 } 8527 p.isEmptyObject(B) && K.remove(c, "handle events"); 8528 } 8529 }, 8530 dispatch: function(c) { 8531 var v, y, E, C, O, A, z = new Array(arguments.length), B = p.event.fix(c), $ = (K.get(this, "events") || /* @__P
8531URE__ */ Object.create(null))[B.type] || [], ue = p.event.special[B.type] || {}; 8532 for (z[0] = B, v = 1; v < arguments.length; v++) 8533 z[v] = arguments[v]; 8534 if (B.delegateTarget = this, !(ue.preDispatch && ue.preDispatch.call(this, B) === !1)) { 8535 for (A = p.event.handlers.call(this, B, $), v = 0; (C = A[v++]) && !B.isPropagationStopped(); ) 8536 for (B.currentTarget = C.elem, y = 0; (O = C.handlers[y++]) && !B.isImmediatePropagationStopped(); ) 8537 (!B.rnamespace || O.namespace === !1 || B.rnamespace.test(O.namespace)) && (B.handleObj = O, B.data = O.data, E = ((p.event.special[O.origType] || {}).handle || O.handler).apply(C.elem, z), E !== void 0 && (B.result = E) === !1 && (B.preventDefault(), B.stopPropagation())); 8538 return ue.postDispatch && ue.postDispatch.call(this, B), B.result; 8539 } 8540 }, 8541 handlers: function(c, v) { 8542 var y, E, C, O, A, z = [], B = v.delegateCount, $ = c.target; 8543 if (B && // Support: IE <=9 8544 // Black-hole SVG <use> instance trees (trac-13180) 8545 $.nodeType && // Support: Firefox <=42 8546 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) 8547 // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click 8548 // Support: IE 11 only 8549 // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) 8550 !(c.type === "click" && c.button >= 1)) { 8551 for (; $ !== this; $ = $.parentNode || this) 8552 if ($.nodeType === 1 && !(c.type === "click" && $.disabled === !0)) { 8553 for (O = [], A = {}, y = 0; y < B; y++) 8554 E = v[y], C = E.selector + " ", A[C] === void 0 && (A[C] = E.needsContext ? p(C, this).index($) > -1 : p.find(C, this, null, [$]).length), A[C] && O.push(E); 8555 O.length && z.push({ elem: $, handlers: O }); 8556 } 8557 } 8558 return $ = this, B < v.length && z.push({ elem: $, handlers: v.slice(B) }), z; 8559 }, 8560 addProp: function(c, v) { 8561 Object.defineProperty(p.Event.prototype, c, { 8562 enumerable: !0, 8563 configurable: !0, 8564 get: b(v) ? function() { 8565 if (this.originalEvent) 8566 return v(this.originalEvent); 8567 } : function() { 8568 if (this.originalEvent) 8569 return this.originalEvent[c]; 8570 }, 8571 set: function(y) { 8572 Object.defineProperty(this, c, { 8573 enumerable: !0, 8574 configurable: !0, 8575 writable: !0, 8576 value: y 8577 }); 8578 } 8579 }); 8580 }, 8581 fix: function(c) { 8582 return c[p.expando] ? c : new p.Event(c); 8583 }, 8584 special: { 8585 load: { 8586 // Prevent triggered image.load events from bubbling to window.load 8587 noBubble: !0 8588 }, 8589 click: { 8590 // Utilize native event to ensure correct state for checkable inputs 8591 setup: function(c) { 8592 var v = this || c; 8593 return $t.test(v.type) && v.click && re(v, "input") && Je(v, "click", ko), !1; 8594 }, 8595 trigger: function(c) { 8596 var v = this || c; 8597 return $t.test(v.type) && v.click && re(v, "input") && Je(v, "click"), !0; 8598 }, 8599 // For cross-browser consistency, suppress native .click() on links 8600 // Also prevent it if we're currently inside a leveraged native-event stack 8601 _default: function(c) { 8602 var v = c.target; 8603 return $t.test(v.type) && v.click && re(v, "input") && K.get(v, "click") || re(v, "a"); 8604 } 8605 }, 8606 beforeunload: { 8607 postDispatch: function(c) { 8608 c.result !== void 0 && c.originalEvent && (c.originalEvent.returnValue = c.result); 8609 } 8610 } 8611 } 8612 }; 8613 function Je(c, v, y) { 8614 if (!y) { 8615 K.get(c, v) === void 0 && p.event.add(c, v, ko); 8616 return; 8617 } 8618 K.set(c, v, !1), p.event.add(c, v, { 8619 namespace: !1, 8620 handler: function(E) { 8621 var C, O, A = K.get(this, v); 8622 if (E.isTrigger & 1 && this[v]) { 8623 if (A.length) 8624 (p.event.special[v] || {}).delegateType && E.stopPropagation(); 8625 else if (A = o.call(arguments), K.set(this, v, A), C = y(this, v), this[v](), O = K.get(this, v), A !== O || C ? K.set(this, v, !1) : O = {}, A !== O) 8626 return E.stopImmediatePropagation(), E.preventDefault(), O && O.value; 8627 } else 8628 A.length && (K.set(this, v, { 8629 value: p.event.trigger(
8630 // Support: IE <=9 - 11+ 8631 // Extend with the prototype to reset the above stopImmediatePropagation() 8632 p.extend(A[0], p.Event.prototype), 8633 A.slice(1), 8634 this 8635 ) 8636 }), E.stopImmediatePropagation()); 8637 } 8638 }); 8639 } 8640 p.removeEvent = function(c, v, y) { 8641 c.removeEventListener && c.removeEventListener(v, y); 8642 }, p.Event = function(c, v) { 8643 if (!(this instanceof p.Event)) 8644 return new p.Event(c, v); 8645 c && c.type ? (this.originalEvent = c, this.type = c.type, this.isDefaultPrevented = c.defaultPrevented || c.defaultPrevented === void 0 && // Support: Android <=2.3 only 8646 c.returnValue === !1 ? ko : Ci, this.target = c.target && c.target.nodeType === 3 ? c.target.parentNode : c.target, this.currentTarget = c.currentTarget, this.relatedTarget = c.relatedTarget) : this.type = c, v && p.extend(this, v), this.timeStamp = c && c.timeStamp || Date.now(), this[p.expando] = !0; 8647 }, p.Event.prototype = { 8648 constructor: p.Event, 8649 isDefaultPrevented: Ci, 8650 isPropagationStopped: Ci, 8651 isImmediatePropagationStopped: Ci, 8652 isSimulated: !1, 8653 preventDefault: function() { 8654 var c = this.originalEvent; 8655 this.isDefaultPrevented = ko, c && !this.isSimulated && c.preventDefault(); 8656 }, 8657 stopPropagation: function() { 8658 var c = this.originalEvent; 8659 this.isPropagationStopped = ko, c && !this.isSimulated && c.stopPropagation(); 8660 }, 8661 stopImmediatePropagation: function() { 8662 var c = this.originalEvent; 8663 this.isImmediatePropagationStopped = ko, c && !this.isSimulated && c.stopImmediatePropagation(), this.stopPropagation(); 8664 } 8665 }, p.each({ 8666 altKey: !0, 8667 bubbles: !0, 8668 cancelable: !0, 8669 changedTouches: !0, 8670 ctrlKey: !0, 8671 detail: !0, 8672 eventPhase: !0, 8673 metaKey: !0, 8674 pageX: !0, 8675 pageY: !0, 8676 shiftKey: !0, 8677 view: !0, 8678 char: !0, 8679 code: !0, 8680 charCode: !0, 8681 key: !0, 8682 keyCode: !0, 8683 button: !0, 8684 buttons: !0, 8685 clientX: !0, 8686 clientY: !0, 8687 offsetX: !0, 8688 offsetY: !0, 8689 pointerId: !0, 8690 pointerType: !0, 8691 screenX: !0, 8692 screenY: !0, 8693 targetTouches: !0, 8694 toElement: !0, 8695 touches: !0, 8696 which: !0 8697 }, p.event.addProp), p.each({ focus: "focusin", blur: "focusout" }, function(c, v) { 8698 p.event.special[c] = { 8699 // Utilize native event if possible so blur/focus sequence is correct 8700 setup: function() { 8701 return Je(this, c, sh), !1; 8702 }, 8703 trigger: function() { 8704 return Je(this, c), !0; 8705 }, 8706 // Suppress native focus or blur if we're currently inside 8707 // a leveraged native-event stack 8708 _default: function(y) { 8709 return K.get(y.target, c); 8710 }, 8711 delegateType: v 8712 }; 8713 }), p.each({ 8714 mouseenter: "mouseover", 8715 mouseleave: "mouseout", 8716 pointerenter: "pointerover", 8717 pointerleave: "pointerout" 8718 }, function(c, v) { 8719 p.event.special[c] = { 8720 delegateType: v, 8721 bindType: v, 8722 handle: function(y) { 8723 var E, C = this, O = y.relatedTarget, A = y.handleObj; 8724 return (!O || O !== C && !p.contains(C, O)) && (y.type = A.origType, E = A.handler.apply(this, arguments), y.type = v), E; 8725 } 8726 }; 8727 }), p.fn.extend({ 8728 on: function(c, v, y, E) { 8729 return ye(this, c, v, y, E); 8730 }, 8731 one: function(c, v, y, E) { 8732 return ye(this, c, v, y, E, 1); 8733 }, 8734 off: function(c, v, y) { 8735 var E, C; 8736 if (c && c.preventDefault && c.handleObj) 8737 return E = c.handleObj, p(c.delegateTarget).off( 8738 E.namespace ? E.origType + "." + E.namespace : E.origType, 8739 E.selector, 8740 E.handler 8741 ), this; 8742 if (typeof c == "object") { 8743 for (C in c) 8744 this.off(C, v, c[C]); 8745 return this; 8746 } 8747 return (v === !1 || typeof v == "function") && (y = v, v = void 0), y === !1 && (y = Ci), this.each(function() { 8748 p.event.remove(this, c, y, v); 8749 }); 8750 } 8751 }); 8752 var Ye = /<script|<style|<link/i, cr = /checked\s*(?:[^=]|=\s*.checked.)/i, Ze = /^\s*<!\[CDATA\[|\]\]>\s*$/g; 8753 function fr(c, v) { 8754 return re(c, "table") && re(v.nodeType !== 11 ? v : v.firstChild, "tr") && p(c).children("tbody")[0] || c; 8755 } 8756 function Zr(c) { 8757 return c.type = (c.getAttribute("type") !== null) + "/" + c.type, c; 8758 } 8759 function It(c) { 8760 return (c.type || "").slice(0, 5) === "true/" ? c.type = c.type.slice(5) : c.removeAttribute("type"), c; 8761 } 8762 function dr(c, v) { 8763 var y, E, C, O, A, z, B; 8764 if (v.nodeType === 1) { 8765 if (K.hasData(c) && (O = K.get(c), B = O.events, B)) { 8766 K.remove(v, "handle events"); 8767 for (C in B) 8768 for (y = 0, E = B[C].length; y < E; y++) 8769 p.event.add(v, C, B[C][y]); 8770 } 8771 ce.hasData(c) && (A = ce.access(c), z = p.extend({}, A), ce.set(v, z)); 8772 } 8773 } 8774 function Jr(c, v) {
8775 var y = v.nodeName.toLowerCase(); 8776 y === "input" && $t.test(c.type) ? v.checked = c.checked : (y === "input" || y === "textarea") && (v.defaultValue = c.defaultValue); 8777 } 8778 function br(c, v, y, E) { 8779 v = a(v); 8780 var C, O, A, z, B, $, ue = 0, xe = c.length, ae = xe - 1, fe = v[0], Ge = b(fe); 8781 if (Ge || xe > 1 && typeof fe == "string" && !m.checkClone && cr.test(fe)) 8782 return c.each(function(gt) { 8783 var We = c.eq(gt); 8784 Ge && (v[0] = fe.call(this, gt, We.html())), br(We, v, y, E); 8785 }); 8786 if (xe && (C = No(v, c[0].ownerDocument, !1, c, E), O = C.firstChild, C.childNodes.length === 1 && (C = O), O || E)) { 8787 for (A = p.map(jt(C, "script"), Zr), z = A.length; ue < xe; ue++) 8788 B = C, ue !== ae && (B = p.clone(B, !0, !0), z && p.merge(A, jt(B, "script"))), y.call(c[ue], B, ue); 8789 if (z) 8790 for ($ = A[A.length - 1].ownerDocument, p.map(A, It), ue = 0; ue < z; ue++) 8791 B = A[ue], Ti.test(B.type || "") && !K.access(B, "globalEval") && p.contains($, B) && (B.src && (B.type || "").toLowerCase() !== "module" ? p._evalUrl && !B.noModule && p._evalUrl(B.src, { 8792 nonce: B.nonce || B.getAttribute("nonce") 8793 }, $) : T(B.textContent.replace(Ze, ""), B, $)); 8794 } 8795 return c; 8796 } 8797 function oi(c, v, y) { 8798 for (var E, C = v ? p.filter(v, c) : c, O = 0; (E = C[O]) != null; O++) 8799 !y && E.nodeType === 1 && p.cleanData(jt(E)), E.parentNode && (y && _e(E) && Mr(jt(E, "script")), E.parentNode.removeChild(E)); 8800 return c; 8801 } 8802 p.extend({ 8803 htmlPrefilter: function(c) { 8804 return c; 8805 }, 8806 clone: function(c, v, y) { 8807 var E, C, O, A, z = c.cloneNode(!0), B = _e(c); 8808 if (!m.noCloneChecked && (c.nodeType === 1 || c.nodeType === 11) && !p.isXMLDoc(c)) 8809 for (A = jt(z), O = jt(c), E = 0, C = O.length; E < C; E++) 8810 Jr(O[E], A[E]); 8811 if (v) 8812 if (y) 8813 for (O = O || jt(c), A = A || jt(z), E = 0, C = O.length; E < C; E++) 8814 dr(O[E], A[E]); 8815 else 8816 dr(c, z); 8817 return A = jt(z, "script"), A.length > 0 && Mr(A, !B && jt(c, "script")), z; 8818 }, 8819 cleanData: function(c) { 8820 for (var v, y, E, C = p.event.special, O = 0; (y = c[O]) !== void 0; O++) 8821 if (F(y)) { 8822 if (v = y[K.expando]) { 8823 if (v.events) 8824 for (E in v.events) 8825 C[E] ? p.event.remove(y, E) : p.removeEvent(y, E, v.handle); 8826 y[K.expando] = void 0; 8827 } 8828 y[ce.expando] && (y[ce.expando] = void 0); 8829 } 8830 } 8831 }), p.fn.extend({ 8832 detach: function(c) { 8833 return oi(this, c, !0); 8834 }, 8835 remove: function(c) { 8836 return oi(this, c); 8837 }, 8838 text: function(c) { 8839 return $e(this, function(v) { 8840 return v === void 0 ? p.text(this) : this.empty().each(function() { 8841 (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = v); 8842 }); 8843 }, null, c, arguments.length); 8844 }, 8845 append: function() { 8846 return br(this, arguments, function(c) { 8847 if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { 8848 var v = fr(this, c); 8849 v.appendChild(c); 8850 } 8851 }); 8852 }, 8853 prepend: function() { 8854 return br(this, arguments, function(c) { 8855 if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { 8856 var v = fr(this, c); 8857 v.insertBefore(c, v.firstChild); 8858 } 8859 }); 8860 }, 8861 before: function() { 8862 return br(this, arguments, function(c) { 8863 this.parentNode && this.parentNode.insertBefore(c, this); 8864 }); 8865 }, 8866 after: function() { 8867 return br(this, arguments, function(c) { 8868 this.parentNode && this.parentNode.insertBefore(c, this.nextSibling); 8869 }); 8870 }, 8871 empty: function() { 8872 for (var c, v = 0; (c = this[v]) != null; v++) 8873 c.nodeType === 1 && (p.cleanData(jt(c, !1)), c.textContent = ""); 8874 return this; 8875 }, 8876 clone: function(c, v) { 8877 return c = c ?? !1, v = v ?? c, this.map(function() { 8878 return p.clone(this, c, v); 8879 }); 8880 }, 8881 html: function(c) { 8882 return $e(this, function(v) { 8883 var y = this[0] || {}, E = 0, C = this.length; 8884 if (v === void 0 && y.nodeType === 1) 8885 return y.innerHTML; 8886 if (typeof v == "string" && !Ye.test(v) && !Pr[(Dr.exec(v) || ["", ""])[1].toLowerCase()]) { 8887 v = p.htmlPrefilter(v); 8888 try { 8889 for (; E < C; E++) 8890 y = this[E] || {}, y.nodeType === 1 && (p.cleanData(jt(y, !1)), y.innerHTML = v); 8891 y = 0; 8892 } catch { 8893 } 8894 } 8895 y && this.empty().append(v); 8896 }, null, c, arguments.length); 8897 }, 8898 replaceWith: function() { 8899 var c = []; 8900 return br(this, arguments, function(v) { 8901 var y = this.parentNode; 8902 p.inArray(this, c) < 0 && (p.cleanData(jt(this)), y && y.replaceChild(v, this)); 8903 }, c); 8904 } 8905 }), p.each({ 8906 appendTo: "append",
8907 prependTo: "prepend", 8908 insertBefore: "before", 8909 insertAfter: "after", 8910 replaceAll: "replaceWith" 8911 }, function(c, v) { 8912 p.fn[c] = function(y) { 8913 for (var E, C = [], O = p(y), A = O.length - 1, z = 0; z <= A; z++) 8914 E = z === A ? this : this.clone(!0), p(O[z])[v](E), s.apply(C, E.get()); 8915 return this.pushStack(C); 8916 }; 8917 }); 8918 var Vn = new RegExp("^(" + W + ")(?!px)[a-z%]+$", "i"), Ln = /^--/, mc = function(c) { 8919 var v = c.ownerDocument.defaultView; 8920 return (!v || !v.opener) && (v = e), v.getComputedStyle(c); 8921 }, og = function(c, v, y) { 8922 var E, C, O = {}; 8923 for (C in v) 8924 O[C] = c.style[C], c.style[C] = v[C]; 8925 E = y.call(c); 8926 for (C in v) 8927 c.style[C] = O[C]; 8928 return E; 8929 }, d_ = new RegExp(ie.join("|"), "i"), ag = "[\\x20\\t\\r\\n\\f]", h_ = new RegExp( 8930 "^" + ag + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ag + "+$", 8931 "g" 8932 ); 8933 (function() { 8934 function c() { 8935 if ($) { 8936 B.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", $.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", le.appendChild(B).appendChild($); 8937 var ue = e.getComputedStyle($); 8938 y = ue.top !== "1%", z = v(ue.marginLeft) === 12, $.style.right = "60%", O = v(ue.right) === 36, E = v(ue.width) === 36, $.style.position = "absolute", C = v($.offsetWidth / 3) === 12, le.removeChild(B), $ = null; 8939 } 8940 } 8941 function v(ue) { 8942 return Math.round(parseFloat(ue)); 8943 } 8944 var y, E, C, O, A, z, B = w.createElement("div"), $ = w.createElement("div"); 8945 $.style && ($.style.backgroundClip = "content-box", $.cloneNode(!0).style.backgroundClip = "", m.clearCloneStyle = $.style.backgroundClip === "content-box", p.extend(m, { 8946 boxSizingReliable: function() { 8947 return c(), E; 8948 }, 8949 pixelBoxStyles: function() { 8950 return c(), O; 8951 }, 8952 pixelPosition: function() { 8953 return c(), y; 8954 }, 8955 reliableMarginLeft: function() { 8956 return c(), z; 8957 }, 8958 scrollboxSize: function() { 8959 return c(), C; 8960 }, 8961 // Support: IE 9 - 11+, Edge 15 - 18+ 8962 // IE/Edge misreport `getComputedStyle` of table rows with width/height 8963 // set in CSS while `offset*` properties report correct values. 8964 // Behavior in IE 9 is more subtle than in newer versions & it passes 8965 // some versions of this test; make sure not to make it pass there! 8966 // 8967 // Support: Firefox 70+ 8968 // Only Firefox includes border widths 8969 // in computed dimensions. (gh-4529) 8970 reliableTrDimensions: function() { 8971 var ue, xe, ae, fe; 8972 return A == null && (ue = w.createElement("table"), xe = w.createElement("tr"), ae = w.createElement("div"), ue.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", xe.style.cssText = "border:1px solid", xe.style.height = "1px", ae.style.height = "9px", ae.style.display = "block", le.appendChild(ue).appendChild(xe).appendChild(ae), fe = e.getComputedStyle(xe), A = parseInt(fe.height, 10) + parseInt(fe.borderTopWidth, 10) + parseInt(fe.borderBottomWidth, 10) === xe.offsetHeight, le.removeChild(ue)), A; 8973 } 8974 })); 8975 })(); 8976 function pl(c, v, y) { 8977 var E, C, O, A, z = Ln.test(v), B = c.style; 8978 return y = y || mc(c), y && (A = y.getPropertyValue(v) || y[v], z && A && (A = A.replace(h_, "$1") || void 0), A === "" && !_e(c) && (A = p.style(c, v)), !m.pixelBoxStyles() && Vn.test(A) && d_.test(v) && (E = B.width, C = B.minWidth, O = B.maxWidth, B.minWidth = B.maxWidth = B.width = A, A = y.width, B.width = E, B.minWidth = C, B.maxWidth = O)), A !== void 0 ? ( 8979 // Support: IE <=9 - 11 only 8980 // IE returns zIndex value as an integer. 8981 A + "" 8982 ) : A; 8983 } 8984 function sg(c, v) { 8985 return { 8986 get: function() { 8987 if (c()) { 8988 delete this.get; 8989 return; 8990 } 8991 return (this.get = v).apply(this, arguments); 8992 } 8993 }; 8994 } 8995 var lg = ["Webkit", "Moz", "ms"], ug = w.createElement("div").style, cg = {}; 8996 function p_(c) { 8997 for (var v = c[0].toUpperCase() + c.slice(1), y = lg.length; y--; ) 8998 if (c = lg[y] + v, c in ug) 8999 return c; 9000 } 9001 function lh(c) { 9002 var v = p.cssProps[c] || cg[c]; 9003 return v || (c in ug ? c : cg[c] = p_(c) || c); 9004 } 9005 var v_ = /^(none|table(?!-c[ea]).+)/, g_ = { position: "absolute", visibility: "hidden", display: "block" }, fg = { 9006 letterSpacing: "0", 9007 fontWeight: "400" 9008 }; 9009 function dg(c, v, y) { 9010 var E = j.exec(v); 9011 return E ? ( 9012 // Guard against undefined "subtract", e.g., when used as in cssHooks 9013 Math.max(0, E[2] - (y || 0)) + (E[3] || "px") 9014 ) : v; 9015 } 9016 function uh(c, v, y, E, C, O) { 9017 var A = v === "width" ? 1 : 0, z = 0, B = 0; 9018 if (y === (E ? "border" : "content")) 9019 return 0; 9020 for (; A < 4; A += 2) 9021 y === "margin" && (B += p.css(c, y + ie[A], !0, C)), E ? (y === "content" && (B -= p.css(c, "padding" + ie[A], !0, C)), y !== "margin" && (B -= p.css(c, "border" + ie[A] + "Width", !0, C))) : (B += p.css(c, "padding" + ie[A], !0, C), y !== "padding" ? B += p.css(c, "border" + ie[A] + "Width", !0, C) : z += p.css(c, "border" + ie[A] + "Width", !0, C)); 9022 return !E && O >= 0 && (B += Math.max(0, Math.ceil( 9023 c["offset" + v[0].toUpperCase() + v.slice(1)] - O - B - z - 0.5 9024 // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter 9025 // Use an explicit zero to avoid NaN (gh-3964) 9026 )) || 0), B; 9027 } 9028 function hg(c, v, y) { 9029 var E = mc(c), C = !m.boxSizingReliable() || y, O = C && p.css(c, "boxSizing", !1, E) === "border-box", A = O, z = pl(c, v, E), B = "offset" + v[0].toUpperCase() + v.slice(1); 9030 if (Vn.test(z)) { 9031 if (!y) 9032 return z; 9033 z = "auto"; 9034 }
9035 return (!m.boxSizingReliable() && O || // Support: IE 10 - 11+, Edge 15 - 18+ 9036 // IE/Edge misreport `getComputedStyle` of table rows with width/height 9037 // set in CSS while `offset*` properties report correct values. 9038 // Interestingly, in some cases IE 9 doesn't suffer from this issue. 9039 !m.reliableTrDimensions() && re(c, "tr") || // Fall back to offsetWidth/offsetHeight when value is "auto" 9040 // This happens for inline elements with no explicit setting (gh-3571) 9041 z === "auto" || // Support: Android <=4.1 - 4.3 only 9042 // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) 9043 !parseFloat(z) && p.css(c, "display", !1, E) === "inline") && // Make sure the element is visible & connected 9044 c.getClientRects().length && (O = p.css(c, "boxSizing", !1, E) === "border-box", A = B in c, A && (z = c[B])), z = parseFloat(z) || 0, z + uh( 9045 c, 9046 v, 9047 y || (O ? "border" : "content"), 9048 A, 9049 E, 9050 // Provide the current computed size to request scroll gutter calculation (gh-3589) 9051 z 9052 ) + "px"; 9053 } 9054 p.extend({ 9055 // Add in style property hooks for overriding the default 9056 // behavior of getting and setting a style property 9057 cssHooks: { 9058 opacity: { 9059 get: function(c, v) { 9060 if (v) { 9061 var y = pl(c, "opacity"); 9062 return y === "" ? "1" : y; 9063 } 9064 } 9065 } 9066 }, 9067 // Don't automatically add "px" to these possibly-unitless properties 9068 cssNumber: { 9069 animationIterationCount: !0, 9070 columnCount: !0, 9071 fillOpacity: !0, 9072 flexGrow: !0, 9073 flexShrink: !0, 9074 fontWeight: !0, 9075 gridArea: !0, 9076 gridColumn: !0, 9077 gridColumnEnd: !0, 9078 gridColumnStart: !0, 9079 gridRow: !0, 9080 gridRowEnd: !0, 9081 gridRowStart: !0, 9082 lineHeight: !0, 9083 opacity: !0, 9084 order: !0, 9085 orphans: !0, 9086 widows: !0, 9087 zIndex: !0, 9088 zoom: !0 9089 }, 9090 // Add in properties whose names you wish to fix before 9091 // setting or getting the value 9092 cssProps: {}, 9093 // Get and set the style property on a DOM Node 9094 style: function(c, v, y, E) { 9095 if (!(!c || c.nodeType === 3 || c.nodeType === 8 || !c.style)) { 9096 var C, O, A, z = Tt(v), B = Ln.test(v), $ = c.style; 9097 if (B || (v = lh(z)), A = p.cssHooks[v] || p.cssHooks[z], y !== void 0) { 9098 if (O = typeof y, O === "string" && (C = j.exec(y)) && C[1] && (y = Ue(c, v, C), O = "number"), y == null || y !== y) 9099 return; 9100 O === "number" && !B && (y += C && C[3] || (p.cssNumber[z] ? "" : "px")), !m.clearCloneStyle && y === "" && v.indexOf("background") === 0 && ($[v] = "inherit"), (!A || !("set" in A) || (y = A.set(c, y, E)) !== void 0) && (B ? $.setProperty(v, y) : $[v] = y); 9101 } else 9102 return A && "get" in A && (C = A.get(c, !1, E)) !== void 0 ? C : $[v]; 9103 } 9104 }, 9105 css: function(c, v, y, E) { 9106 var C, O, A, z = Tt(v), B = Ln.test(v); 9107 return B || (v = lh(z)), A = p.cssHooks[v] || p.cssHooks[z], A && "get" in A && (C = A.get(c, !0, y)), C === void 0 && (C = pl(c, v, E)), C === "normal" && v in fg && (C = fg[v]), y === "" || y ? (O = parseFloat(C), y === !0 || isFinite(O) ? O || 0 : C) : C; 9108 } 9109 }), p.each(["height", "width"], function(c, v) { 9110 p.cssHooks[v] = { 9111 get: function(y, E, C) { 9112 if (E) 9113 return v_.test(p.css(y, "display")) && // Support: Safari 8+ 9114 // Table columns in Safari have non-zero offsetWidth & zero 9115 // getBoundingClientRect().width unless display is changed. 9116 // Support: IE <=11 only 9117 // Running getBoundingClientRect on a disconnected node 9118 // in IE throws an error. 9119 (!y.getClientRects().length || !y.getBoundingClientRect().width) ? og(y, g_, function() { 9120 return hg(y, v, C); 9121 }) : hg(y, v, C); 9122 }, 9123 set: function(y, E, C) { 9124 var O, A = mc(y), z = !m.scrollboxSize() && A.position === "absolute", B = z || C, $ = B && p.css(y, "boxSizing", !1, A) === "border-box", ue = C ? uh( 9125 y, 9126 v, 9127 C, 9128 $, 9129 A 9130 ) : 0; 9131 return $ && z && (ue -= Math.ceil( 9132 y["offset" + v[0].toUpperCase() + v.slice(1)] - parseFloat(A[v]) - uh(y, v, "border", !1, A) - 0.5 9133 )), ue && (O = j.exec(E)) && (O[3] || "px") !== "px" && (y.style[v] = E, E = p.css(y, v)), dg(y, E, ue); 9134 } 9135 }; 9136 }), p.cssHooks.marginLeft = sg( 9137 m.reliableMarginLeft, 9138 function(c, v) { 9139 if (v) 9140 return (parseFloat(pl(c, "marginLeft")) || c.getBoundingClientRect().left - og(c, { marginLeft: 0 }, function() { 9141 return c.getBoundingClientRect().left; 9142 })) + "px"; 9143 } 9144 ), p.each({ 9145 margin: "", 9146 padding: "", 9147 border: "Width" 9148 }, function(c, v) { 9149 p.cssHooks[c + v] = { 9150 expand: function(y) { 9151 for (var E = 0, C = {}, O = typeof y == "string" ? y.split(" ") : [y]; E < 4; E++) 9152 C[c + ie[E] + v] = O[E] || O[E - 2] || O[0]; 9153 return C; 9154 } 9155 }, c !== "margin" && (p.cssHooks[c + v].set = dg); 9156 }), p.fn.extend({ 9157 css: function(c, v) { 9158 return $e(this, function(y, E, C) { 9159 var O, A, z = {}, B = 0; 9160 if (Array.isArray(E)) { 9161 for (O = mc(y), A = E.length; B < A; B++) 9162 z[E[B]] = p.css(y, E[B], !1, O); 9163 return z; 9164 } 9165 return C !== void 0 ? p.style(y, E, C) : p.css(y, E); 9166 }, c, v, arguments.length > 1); 9167 } 9168 }); 9169 function sn(c, v, y, E, C) { 9170 return new sn.prototype.init(c, v, y, E, C); 9171 } 9172 p.Tween = sn, sn.prototype = { 9173 constructor: sn, 9174 init: function(c, v, y, E, C, O) { 9175 this.elem = c, this.prop = y, this.easing = C || p.easing._default, this.options = v, this.start = this.now = this.cur(), this.end = E, this.unit = O || (p.cssNumber[y] ? "" : "px"); 9176 }, 9177 cur: function() { 9178 var c = sn.propHooks[this.prop]; 9179 return c && c.get ? c.get(this) : sn.propHooks._default.get(this); 9180 }, 9181 run: function(c) { 9182 var v, y = sn.propHooks[this.prop]; 9183 return this.options.duration ? this.pos = v = p.easing[this.easing]( 9184 c, 9185 this.options.duration * c, 9186 0, 9187 1, 9188 this.options.duration
9189 ) : this.pos = v = c, this.now = (this.end - this.start) * v + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), y && y.set ? y.set(this) : sn.propHooks._default.set(this), this; 9190 } 9191 }, sn.prototype.init.prototype = sn.prototype, sn.propHooks = { 9192 _default: { 9193 get: function(c) { 9194 var v; 9195 return c.elem.nodeType !== 1 || c.elem[c.prop] != null && c.elem.style[c.prop] == null ? c.elem[c.prop] : (v = p.css(c.elem, c.prop, ""), !v || v === "auto" ? 0 : v); 9196 }, 9197 set: function(c) { 9198 p.fx.step[c.prop] ? p.fx.step[c.prop](c) : c.elem.nodeType === 1 && (p.cssHooks[c.prop] || c.elem.style[lh(c.prop)] != null) ? p.style(c.elem, c.prop, c.now + c.unit) : c.elem[c.prop] = c.now; 9199 } 9200 } 9201 }, sn.propHooks.scrollTop = sn.propHooks.scrollLeft = { 9202 set: function(c) { 9203 c.elem.nodeType && c.elem.parentNode && (c.elem[c.prop] = c.now); 9204 } 9205 }, p.easing = { 9206 linear: function(c) { 9207 return c; 9208 }, 9209 swing: function(c) { 9210 return 0.5 - Math.cos(c * Math.PI) / 2; 9211 }, 9212 _default: "swing" 9213 }, p.fx = sn.prototype.init, p.fx.step = {}; 9214 var cs, yc, m_ = /^(?:toggle|show|hide)$/, y_ = /queueHooks$/; 9215 function ch() { 9216 yc && (w.hidden === !1 && e.requestAnimationFrame ? e.requestAnimationFrame(ch) : e.setTimeout(ch, p.fx.interval), p.fx.tick()); 9217 } 9218 function pg() { 9219 return e.setTimeout(function() { 9220 cs = void 0; 9221 }), cs = Date.now(); 9222 } 9223 function bc(c, v) { 9224 var y, E = 0, C = { height: c }; 9225 for (v = v ? 1 : 0; E < 4; E += 2 - v) 9226 y = ie[E], C["margin" + y] = C["padding" + y] = c; 9227 return v && (C.opacity = C.width = c), C; 9228 } 9229 function vg(c, v, y) { 9230 for (var E, C = (ai.tweeners[v] || []).concat(ai.tweeners["*"]), O = 0, A = C.length; O < A; O++) 9231 if (E = C[O].call(y, v, c)) 9232 return E; 9233 } 9234 function b_(c, v, y) { 9235 var E, C, O, A, z, B, $, ue, xe = "width" in v || "height" in v, ae = this, fe = {}, Ge = c.style, gt = c.nodeType && Ie(c), We = K.get(c, "fxshow"); 9236 y.queue || (A = p._queueHooks(c, "fx"), A.unqueued == null && (A.unqueued = 0, z = A.empty.fire, A.empty.fire = function() { 9237 A.unqueued || z(); 9238 }), A.unqueued++, ae.always(function() { 9239 ae.always(function() { 9240 A.unqueued--, p.queue(c, "fx").length || A.empty.fire(); 9241 }); 9242 })); 9243 for (E in v) 9244 if (C = v[E], m_.test(C)) { 9245 if (delete v[E], O = O || C === "toggle", C === (gt ? "hide" : "show")) 9246 if (C === "show" && We && We[E] !== void 0) 9247 gt = !0; 9248 else 9249 continue; 9250 fe[E] = We && We[E] || p.style(c, E); 9251 } 9252 if (B = !p.isEmptyObject(v), !(!B && p.isEmptyObject(fe))) { 9253 xe && c.nodeType === 1 && (y.overflow = [Ge.overflow, Ge.overflowX, Ge.overflowY], $ = We && We.display, $ == null && ($ = K.get(c, "display")), ue = p.css(c, "display"), ue === "none" && ($ ? ue = $ : (xt([c], !0), $ = c.style.display || $, ue = p.css(c, "display"), xt([c]))), (ue === "inline" || ue === "inline-block" && $ != null) && p.css(c, "float") === "none" && (B || (ae.done(function() { 9254 Ge.display = $; 9255 }), $ == null && (ue = Ge.display, $ = ue === "none" ? "" : ue)), Ge.display = "inline-block")), y.overflow && (Ge.overflow = "hidden", ae.always(function() { 9256 Ge.overflow = y.overflow[0], Ge.overflowX = y.overflow[1], Ge.overflowY = y.overflow[2]; 9257 })), B = !1; 9258 for (E in fe) 9259 B || (We ? "hidden" in We && (gt = We.hidden) : We = K.access(c, "fxshow", { display: $ }), O && (We.hidden = !gt), gt && xt([c], !0), ae.done(function() { 9260 gt || xt([c]), K.remove(c, "fxshow"); 9261 for (E in fe) 9262 p.style(c, E, fe[E]); 9263 })), B = vg(gt ? We[E] : 0, E, ae), E in We || (We[E] = B.start, gt && (B.end = B.start, B.start = 0)); 9264 } 9265 } 9266 function E_(c, v) { 9267 var y, E, C, O, A; 9268 for (y in c) 9269 if (E = Tt(y), C = v[E], O = c[y], Array.isArray(O) && (C = O[1], O = c[y] = O[0]), y !== E && (c[E] = O, delete c[y]), A = p.cssHooks[E], A && "expand" in A) { 9270 O = A.expand(O), delete c[E]; 9271 for (y in O) 9272 y in c || (c[y] = O[y], v[y] = C); 9273 } else 9274 v[E] = C; 9275 } 9276 function ai(c, v, y) { 9277 var E, C, O = 0, A = ai.prefilters.length, z = p.Deferred().always(function() { 9278 delete B.elem; 9279 }), B = function() { 9280 if (C) 9281 return !1; 9282 for (var xe = cs || pg(), ae = Math.max(0, $.startTime + $.duration - xe), fe = ae / $.duration || 0, Ge = 1 - fe, gt = 0, We = $.tweens.length; gt < We; gt++) 9283 $.tweens[gt].run(Ge); 9284 return z.notifyWith(c, [$, Ge, ae]), Ge < 1 && We ? ae : (We || z.notifyWith(c, [$, 1, 0]), z.resolveWith(c, [$]), !1); 9285 }, $ = z.promise({ 9286 elem: c, 9287 props: p.extend({}, v), 9288 opts: p.extend(!0, { 9289 specialEasing: {}, 9290 easing: p.easing._default 9291 }, y), 9292 originalProperties: v, 9293 originalOptions: y, 9294 startTime: cs || pg(), 9295 duration: y.duration, 9296 tweens: [], 9297 createTween: function(xe, ae) { 9298 var fe = p.Tween( 9299 c, 9300 $.opts, 9301 xe, 9302 ae, 9303 $.opts.specialEasing[xe] || $.opts.easing 9304 ); 9305 return $.tweens.push(fe), fe; 9306 }, 9307 stop: function(xe) { 9308 var ae = 0, fe = xe ? $.tweens.length : 0; 9309 if (C) 9310 return this; 9311 for (C = !0; ae < fe; ae++) 9312 $.tweens[ae].run(1); 9313 return xe ? (z.notifyWith(c, [$, 1, 0]), z.resolveWith(c, [$, xe])) : z.rejectWith(c, [$, xe]), this; 9314 } 9315 }), ue = $.props; 9316 for (E_(ue, $.opts.specialEasing); O < A; O++) 9317 if (E = ai.prefilters[O].call($, c, ue, $.opts), E) 9318 return b(E.stop) && (p._queueHooks($.elem, $.opts.queue).stop = E.stop.bind(E)), E; 9319 return p.map(ue, vg, $), b($.opts.start) && $.opts.start.call(c, $), $.progress($.opts.progress).done($.opts.done, $.opts.c
9319omplete).fail($.opts.fail).always($.opts.always), p.fx.timer( 9320 p.extend(B, { 9321 elem: c, 9322 anim: $, 9323 queue: $.opts.queue 9324 }) 9325 ), $; 9326 } 9327 p.Animation = p.extend(ai, { 9328 tweeners: { 9329 "*": [function(c, v) { 9330 var y = this.createTween(c, v); 9331 return Ue(y.elem, c, j.exec(v), y), y; 9332 }] 9333 }, 9334 tweener: function(c, v) { 9335 b(c) ? (v = c, c = ["*"]) : c = c.match(Re); 9336 for (var y, E = 0, C = c.length; E < C; E++) 9337 y = c[E], ai.tweeners[y] = ai.tweeners[y] || [], ai.tweeners[y].unshift(v); 9338 }, 9339 prefilters: [b_], 9340 prefilter: function(c, v) { 9341 v ? ai.prefilters.unshift(c) : ai.prefilters.push(c); 9342 } 9343 }), p.speed = function(c, v, y) { 9344 var E = c && typeof c == "object" ? p.extend({}, c) : { 9345 complete: y || !y && v || b(c) && c, 9346 duration: c, 9347 easing: y && v || v && !b(v) && v 9348 }; 9349 return p.fx.off ? E.duration = 0 : typeof E.duration != "number" && (E.duration in p.fx.speeds ? E.duration = p.fx.speeds[E.duration] : E.duration = p.fx.speeds._default), (E.queue == null || E.queue === !0) && (E.queue = "fx"), E.old = E.complete, E.complete = function() { 9350 b(E.old) && E.old.call(this), E.queue && p.dequeue(this, E.queue); 9351 }, E; 9352 }, p.fn.extend({ 9353 fadeTo: function(c, v, y, E) { 9354 return this.filter(Ie).css("opacity", 0).show().end().animate({ opacity: v }, c, y, E); 9355 }, 9356 animate: function(c, v, y, E) { 9357 var C = p.isEmptyObject(c), O = p.speed(v, y, E), A = function() { 9358 var z = ai(this, p.extend({}, c), O); 9359 (C || K.get(this, "finish")) && z.stop(!0); 9360 }; 9361 return A.finish = A, C || O.queue === !1 ? this.each(A) : this.queue(O.queue, A); 9362 }, 9363 stop: function(c, v, y) { 9364 var E = function(C) { 9365 var O = C.stop; 9366 delete C.stop, O(y); 9367 }; 9368 return typeof c != "string" && (y = v, v = c, c = void 0), v && this.queue(c || "fx", []), this.each(function() { 9369 var C = !0, O = c != null && c + "queueHooks", A = p.timers, z = K.get(this); 9370 if (O) 9371 z[O] && z[O].stop && E(z[O]); 9372 else 9373 for (O in z) 9374 z[O] && z[O].stop && y_.test(O) && E(z[O]); 9375 for (O = A.length; O--; ) 9376 A[O].elem === this && (c == null || A[O].queue === c) && (A[O].anim.stop(y), C = !1, A.splice(O, 1)); 9377 (C || !y) && p.dequeue(this, c); 9378 }); 9379 }, 9380 finish: function(c) { 9381 return c !== !1 && (c = c || "fx"), this.each(function() { 9382 var v, y = K.get(this), E = y[c + "queue"], C = y[c + "queueHooks"], O = p.timers, A = E ? E.length : 0; 9383 for (y.finish = !0, p.queue(this, c, []), C && C.stop && C.stop.call(this, !0), v = O.length; v--; ) 9384 O[v].elem === this && O[v].queue === c && (O[v].anim.stop(!0), O.splice(v, 1)); 9385 for (v = 0; v < A; v++) 9386 E[v] && E[v].finish && E[v].finish.call(this); 9387 delete y.finish; 9388 }); 9389 } 9390 }), p.each(["toggle", "show", "hide"], function(c, v) { 9391 var y = p.fn[v]; 9392 p.fn[v] = function(E, C, O) { 9393 return E == null || typeof E == "boolean" ? y.apply(this, arguments) : this.animate(bc(v, !0), E, C, O); 9394 }; 9395 }), p.each({ 9396 slideDown: bc("show"), 9397 slideUp: bc("hide"), 9398 slideToggle: bc("toggle"), 9399 fadeIn: { opacity: "show" }, 9400 fadeOut: { opacity: "hide" }, 9401 fadeToggle: { opacity: "toggle" } 9402 }, function(c, v) { 9403 p.fn[c] = function(y, E, C) { 9404 return this.animate(v, y, E, C); 9405 }; 9406 }), p.timers = [], p.fx.tick = function() { 9407 var c, v = 0, y = p.timers; 9408 for (cs = Date.now(); v < y.length; v++) 9409 c = y[v], !c() && y[v] === c && y.splice(v--, 1); 9410 y.length || p.fx.stop(), cs = void 0; 9411 }, p.fx.timer = function(c) { 9412 p.timers.push(c), p.fx.start(); 9413 }, p.fx.interval = 13, p.fx.start = function() { 9414 yc || (yc = !0, ch()); 9415 }, p.fx.stop = function() { 9416 yc = null; 9417 }, p.fx.speeds = { 9418 slow: 600, 9419 fast: 200, 9420 // Default speed 9421 _default: 400 9422 }
9422, p.fn.delay = function(c, v) { 9423 return c = p.fx && p.fx.speeds[c] || c, v = v || "fx", this.queue(v, function(y, E) { 9424 var C = e.setTimeout(y, c); 9425 E.stop = function() { 9426 e.clearTimeout(C); 9427 }; 9428 }); 9429 }, function() { 9430 var c = w.createElement("input"), v = w.createElement("select"), y = v.appendChild(w.createElement("option")); 9431 c.type = "checkbox", m.checkOn = c.value !== "", m.optSelected = y.selected, c = w.createElement("input"), c.value = "t", c.type = "radio", m.radioValue = c.value === "t"; 9432 }(); 9433 var gg, vl = p.expr.attrHandle; 9434 p.fn.extend({ 9435 attr: function(c, v) { 9436 return $e(this, p.attr, c, v, arguments.length > 1); 9437 }, 9438 removeAttr: function(c) { 9439 return this.each(function() { 9440 p.removeAttr(this, c); 9441 }); 9442 } 9443 }), p.extend({ 9444 attr: function(c, v, y) { 9445 var E, C, O = c.nodeType; 9446 if (!(O === 3 || O === 8 || O === 2)) { 9447 if (typeof c.getAttribute > "u") 9448 return p.prop(c, v, y); 9449 if ((O !== 1 || !p.isXMLDoc(c)) && (C = p.attrHooks[v.toLowerCase()] || (p.expr.match.bool.test(v) ? gg : void 0)), y !== void 0) { 9450 if (y === null) { 9451 p.removeAttr(c, v); 9452 return; 9453 } 9454 return C && "set" in C && (E = C.set(c, y, v)) !== void 0 ? E : (c.setAttribute(v, y + ""), y); 9455 } 9456 return C && "get" in C && (E = C.get(c, v)) !== null ? E : (E = p.find.attr(c, v), E ?? void 0); 9457 } 9458 }, 9459 attrHooks: { 9460 type: { 9461 set: function(c, v) { 9462 if (!m.radioValue && v === "radio" && re(c, "input")) { 9463 var y = c.value; 9464 return c.setAttribute("type", v), y && (c.value = y), v; 9465 } 9466 } 9467 } 9468 }, 9469 removeAttr: function(c, v) { 9470 var y, E = 0, C = v && v.match(Re); 9471 if (C && c.nodeType === 1) 9472 for (; y = C[E++]; ) 9473 c.removeAttribute(y); 9474 } 9475 }), gg = { 9476 set: function(c, v, y) { 9477 return v === !1 ? p.removeAttr(c, y) : c.setAttribute(y, y), y; 9478 } 9479 }, p.each(p.expr.match.bool.source.match(/\w+/g), function(c, v) { 9480 var y = vl[v] || p.find.attr; 9481 vl[v] = function(E, C, O) { 9482 var A, z, B = C.toLowerCase(); 9483 return O || (z = vl[B], vl[B] = A, A = y(E, C, O) != null ? B : null, vl[B] = z), A; 9484 }; 9485 }); 9486 var x_ = /^(?:input|select|textarea|button)$/i, w_ = /^(?:a|area)$/i; 9487 p.fn.extend({ 9488 prop: function(c, v) { 9489 return $e(this, p.prop, c, v, arguments.length > 1); 9490 }, 9491 removeProp: function(c) { 9492 return this.each(function() { 9493 delete this[p.propFix[c] || c]; 9494 }); 9495 } 9496 }), p.extend({ 9497 prop: function(c, v, y) { 9498 var E, C, O = c.nodeType; 9499 if (!(O === 3 || O === 8 || O === 2)) 9500 return (O !== 1 || !p.isXMLDoc(c)) && (v = p.propFix[v] || v, C = p.propHooks[v]), y !== void 0 ? C && "set" in C && (E = C.set(c, y, v)) !== void 0 ? E : c[v] = y : C && "get" in C && (E = C.get(c, v)) !== null ? E : c[v]; 9501 }, 9502 propHooks: { 9503 tabIndex: { 9504 get: function(c) { 9505 var v = p.find.attr(c, "tabindex"); 9506 return v ? parseInt(v, 10) : x_.test(c.nodeName) || w_.test(c.nodeName) && c.href ? 0 : -1; 9507 } 9508 } 9509 }, 9510 propFix: { 9511 for: "htmlFor", 9512 class: "className" 9513 } 9514 }), m.optSelected || (p.propHooks.selected = { 9515 get: function(c) { 9516 var v = c.parentNode; 9517 return v && v.parentNode && v.parentNode.selectedIndex, null; 9518 }, 9519 set: function(c) { 9520 var v = c.parentNode; 9521 v && (v.selectedIndex, v.parentNode && v.parentNode.selectedIndex); 9522 } 9523 }), p.each([ 9524 "tabIndex", 9525 "readOnly", 9526 "maxLength", 9527 "cellSpacing", 9528 "cellPadding", 9529 "rowSpan", 9530 "colSpan", 9531 "useMap", 9532 "frameBorder", 9533 "contentEditable" 9534 ], function() { 9535 p.propFix[this.toLowerCase()] = this; 9536 }); 9537 function ua(c) { 9538 var v = c.match(Re) || []; 9539 return v.join(" "); 9540 } 9541 function ca(c) { 9542 return c.getAttribute && c.getAttribute("class") || ""; 9543 } 9544 function fh(c) { 9545 return Array.isArray(c) ? c : typeof c == "string" ? c.match(Re) || [] : []; 9546 } 9547 p.fn.extend({ 9548 addClass: function(c) { 9549 var v, y, E, C, O, A; 9550 return b(c) ? this.each(function(z) { 9551 p(this).addClass(c.call(this, z, ca(this))); 9552 }) : (v = fh(c), v.length ? this.each(function() { 9553 if (E = ca(this), y = this.nodeType === 1 && " " + ua(E) + " ", y) { 9554 for (O = 0; O < v.length; O++) 9555 C = v[O], y.indexOf(" " + C + " ") < 0 && (y += C + " "); 9556 A = ua(y), E !== A && this.setAttribute("class", A); 9557 } 9558 }) : this); 9559 }, 9560 removeClass: function(c) { 9561 var v, y, E, C, O, A; 9562 return b(c) ? this.each(function(z) { 9563 p(this).removeClass(c.call(this, z, ca(this))); 9564 }) : arguments.length ? (v = fh(c), v.length ? this.each(function() { 9565 if (E = ca(this), y = this.nodeType === 1 && " " + ua(E) + " ", y) { 9566 for (O = 0; O < v.length; O++) 9567 for (C = v[O]; y.indexOf(" " + C + " ") > -1; ) 9568 y = y.replace(" " + C + " ", " "); 9569 A = ua(y), E !== A && this.setAttribute("class", A); 9570 } 9571 }) : this) : this.attr("class", ""); 9572 }, 9573 toggleClass: function(c, v) { 9574 var y, E, C, O, A = typeof c, z = A === "string" || Array.isArray(c); 9575 return b(c) ? this.each(function(B) { 9576 p(this).toggleClass( 9577 c.call(this, B, ca(this), v), 9578 v 9579 ); 9580 }) : typeof v == "boolean" && z ? v ? this.addClass(c) : this.removeClass(c) : (y = fh(c), this.each(function() { 9581 if (z) 9582 for (O = p(this), C = 0; C < y.length; C++) 9583 E = y[C], O.hasClass(E) ? O.removeClass(E) : O.addClass(E); 9584 else 9585 (c === void 0 || A === "boolean") && (E = ca(this), E && K.set(this, "__className__", E), this.setAttribute && this.setAttribute( 9586 "class", 9587 E || c === !1 ? "" : K.get(this, "__className__") || "" 9588 )); 9589 })); 9590 }, 9591 hasClass: function(c) { 9592 var v, y, E = 0; 9593 for (v = " " + c + " "; y = this[E++]; ) 9594 if (y.nodeType === 1 && (" " + ua(ca(y)) + " ").indexOf(v) > -1) 9595 return !0; 9596 return !1; 9597 } 9598 }); 9599 var S_ = /\r/g; 9600 p.fn.extend({ 9601 val: function(c) { 9602 var v, y, E, C = this[0]; 9603 return arguments.length ? (E = b(c), this.each(function(O) { 9604 var A; 9605 this.nodeType === 1 && (E ? A = c.call(this, O, p(this).val()) : A = c, A == null ? A = "" : typeof A == "number" ? A += "" : Array.isArray(A) && (A = p.map(A, function(z) { 9606 return z == null ? "" : z + ""; 9607 })), v = p.valHooks[this.type] || p.valHooks[this.nodeName.toLowerCase()], (!v || !("set" in v) || v.set(this, A, "value") === void 0) && (this.value = A)); 9608 })) : C ? (v = p.valHooks[C.type] || p.valHooks[C.nodeName.toLowerCase()], v && "get" in v && (y = v.get(C, "value")) !== void 0 ? y : (y = C.value, typeof y == "string" ? y.replace(S_, "") : y ?? "")) : void 0; 9609 } 9610 }), p.extend({ 9611 valHooks: { 9612 option: { 9613 get: function(c) { 9614 var v = p.find.attr(c, "value");
9615 return v ?? // Support: IE <=10 - 11 only 9616 // option.text throws exceptions (trac-14686, trac-14858) 9617 // Strip and collapse whitespace 9618 // https://html.spec.whatwg.org/#strip-and-collapse-whitespace 9619 ua(p.text(c)); 9620 } 9621 }, 9622 select: { 9623 get: function(c) { 9624 var v, y, E, C = c.options, O = c.selectedIndex, A = c.type === "select-one", z = A ? null : [], B = A ? O + 1 : C.length; 9625 for (O < 0 ? E = B : E = A ? O : 0; E < B; E++) 9626 if (y = C[E], (y.selected || E === O) && // Don't return options that are disabled or in a disabled optgroup 9627 !y.disabled && (!y.parentNode.disabled || !re(y.parentNode, "optgroup"))) { 9628 if (v = p(y).val(), A) 9629 return v; 9630 z.push(v); 9631 } 9632 return z; 9633 }, 9634 set: function(c, v) { 9635 for (var y, E, C = c.options, O = p.makeArray(v), A = C.length; A--; ) 9636 E = C[A], (E.selected = p.inArray(p.valHooks.option.get(E), O) > -1) && (y = !0); 9637 return y || (c.selectedIndex = -1), O; 9638 } 9639 } 9640 } 9641 }), p.each(["radio", "checkbox"], function() { 9642 p.valHooks[this] = { 9643 set: function(c, v) { 9644 if (Array.isArray(v)) 9645 return c.checked = p.inArray(p(c).val(), v) > -1; 9646 } 9647 }, m.checkOn || (p.valHooks[this].get = function(c) { 9648 return c.getAttribute("value") === null ? "on" : c.value; 9649 }); 9650 }), m.focusin = "onfocusin" in e; 9651 var mg = /^(?:focusinfocus|focusoutblur)$/, yg = function(c) { 9652 c.stopPropagation(); 9653 }; 9654 p.extend(p.event, { 9655 trigger: function(c, v, y, E) { 9656 var C, O, A, z, B, $, ue, xe, ae = [y || w], fe = h.call(c, "type") ? c.type : c, Ge = h.call(c, "namespace") ? c.namespace.split(".") : []; 9657 if (O = xe = A = y = y || w, !(y.nodeType === 3 || y.nodeType === 8) && !mg.test(fe + p.event.triggered) && (fe.indexOf(".") > -1 && (Ge = fe.split("."), fe = Ge.shift(), Ge.sort()), B = fe.indexOf(":") < 0 && "on" + fe, c = c[p.expando] ? c : new p.Event(fe, typeof c == "object" && c), c.isTrigger = E ? 2 : 3, c.namespace = Ge.join("."), c.rnamespace = c.namespace ? new RegExp("(^|\\.)" + Ge.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, c.result = void 0, c.target || (c.target = y), v = v == null ? [c] : p.makeArray(v, [c]), ue = p.event.special[fe] || {}, !(!E && ue.trigger && ue.trigger.apply(y, v) === !1))) { 9658 if (!E && !ue.noBubble && !S(y)) { 9659 for (z = ue.delegateType || fe, mg.test(z + fe) || (O = O.parentNode); O; O = O.parentNode) 9660 ae.push(O), A = O; 9661 A === (y.ownerDocument || w) && ae.push(A.defaultView || A.parentWindow || e); 9662 } 9663 for (C = 0; (O = ae[C++]) && !c.isPropagationStopped(); ) 9664 xe = O, c.type = C >
9664 1 ? z : ue.bindType || fe, $ = (K.get(O, "events") || /* @__PURE__ */ Object.create(null))[c.type] && K.get(O, "handle"), $ && $.apply(O, v), $ = B && O[B], $ && $.apply && F(O) && (c.result = $.apply(O, v), c.result === !1 && c.preventDefault()); 9665 return c.type = fe, !E && !c.isDefaultPrevented() && (!ue._default || ue._default.apply(ae.pop(), v) === !1) && F(y) && B && b(y[fe]) && !S(y) && (A = y[B], A && (y[B] = null), p.event.triggered = fe, c.isPropagationStopped() && xe.addEventListener(fe, yg), y[fe](), c.isPropagationStopped() && xe.removeEventListener(fe, yg), p.event.triggered = void 0, A && (y[B] = A)), c.result; 9666 } 9667 }, 9668 // Piggyback on a donor event to simulate a different one 9669 // Used only for `focus(in | out)` events 9670 simulate: function(c, v, y) { 9671 var E = p.extend( 9672 new p.Event(), 9673 y, 9674 { 9675 type: c, 9676 isSimulated: !0 9677 } 9678 ); 9679 p.event.trigger(E, null, v); 9680 } 9681 }), p.fn.extend({ 9682 trigger: function(c, v) { 9683 return this.each(function() { 9684 p.event.trigger(c, v, this); 9685 }); 9686 }, 9687 triggerHandler: function(c, v) { 9688 var y = this[0]; 9689 if (y) 9690 return p.event.trigger(c, v, y, !0); 9691 } 9692 }), m.focusin || p.each({ focus: "focusin", blur: "focusout" }, function(c, v) { 9693 var y = function(E) { 9694 p.event.simulate(v, E.target, p.event.fix(E)); 9695 }; 9696 p.event.special[v] = { 9697 setup: function() { 9698 var E = this.ownerDocument || this.document || this, C = K.access(E, v); 9699 C || E.addEventListener(c, y, !0), K.access(E, v, (C || 0) + 1); 9700 }, 9701 teardown: function() { 9702 var E = this.ownerDocument || this.document || this, C = K.access(E, v) - 1; 9703 C ? K.access(E, v, C) : (E.removeEventListener(c, y, !0), K.remove(E, v)); 9704 } 9705 }; 9706 }); 9707 var gl = e.location, bg = { guid: Date.now() }, dh = /\?/; 9708 p.parseXML = function(c) { 9709 var v, y; 9710 if (!c || typeof c != "string") 9711 return null; 9712 try { 9713 v = new e.DOMParser().parseFromString(c, "text/xml"); 9714 } catch { 9715 } 9716 return y = v && v.getElementsByTagName("parsererror")[0], (!v || y) && p.error("Invalid XML: " + (y ? p.map(y.childNodes, function(E) { 9717 return E.textContent; 9718 }).join(` 9719`) : c)), v; 9720 }; 9721 var __ = /\[\]$/, Eg = /\r?\n/g, T_ = /^(?:submit|button|image|reset|file)$/i, C_ = /^(?:input|select|textarea|keygen)/i; 9722 function hh(c, v, y, E) { 9723 var C; 9724 if (Array.isArray(v)) 9725 p.each(v, function(O, A) { 9726 y || __.test(c) ? E(c, A) : hh( 9727 c + "[" + (typeof A == "object" && A != null ? O : "") + "]", 9728 A, 9729 y, 9730 E 9731 ); 9732 }); 9733 else if (!y && _(v) === "object") 9734 for (C in v) 9735 hh(c + "[" + C + "]", v[C], y, E); 9736 else 9737 E(c, v); 9738 } 9739 p.param = function(c, v) { 9740 var y, E = [], C = function(O, A) { 9741 var z = b(A) ? A() : A; 9742 E[E.length] = encodeURIComponent(O) + "=" + encodeURIComponent(z ?? ""); 9743 }; 9744 if (c == null) 9745 return ""; 9746 if (Array.isArray(c) || c.jquery && !p.isPlainObject(c)) 9747 p.each(c, function() { 9748 C(this.name, this.value); 9749 }); 9750 else 9751 for (y in c) 9752 hh(y, c[y], v, C); 9753 return E.join("&"); 9754 }, p.fn.extend({ 9755 serialize: function() { 9756 return p.param(this.serializeArray()); 9757 }, 9758 serializeArray: function() { 9759 return this.map(function() { 9760 var c = p.prop(this, "elements"); 9761 return c ? p.makeArray(c) : this; 9762 }).filter(function() { 9763 var c = this.type; 9764 return this.name && !p(this).is(":disabled") && C_.test(this.nodeName) && !T_.test(c) && (this.checked || !$t.test(c)); 9765 }).map(function(c, v) { 9766 var y = p(this).val(); 9767 return y == null ? null : Array.isArray(y) ? p.map(y, function(E) { 9768 return { name: v.name, value: E.replace(Eg, `\r 9769`) }; 9770 }) : { name: v.name, value: y.replace(Eg, `\r 9771`) }; 9772 }).get(); 9773 } 9774 }); 9775 var O_ = /%20/g, A_ = /#.*$/, N_ = /([?&])_=[^&]*/, k_ = /^(.*?):[ \t]*([^\r\n]*)$/mg, D_ = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, P_ = /^(?:GET|HEAD)$/, F_ = /^\/\//, xg = {}, ph = {}, wg = "*/".concat("*"), vh = w.createElement("a"); 9776 vh.href = gl.href; 9777 function Sg(c) { 9778 return function(v, y) { 9779 typeof v != "string" && (y = v, v = "*"); 9780 var E, C = 0, O = v.toLowerCase().match(Re) || []; 9781 if (b(y)) 9782 for (; E = O[C++]; ) 9783 E[0] === "+" ? (E = E.slice(1) || "*", (c[E] = c[E] || []).unshift(y)) : (c[E] = c[E] || []).push(y); 9784 }; 9785 } 9786 function _g(c, v, y, E) { 9787 var C = {}, O = c === ph; 9788 function A(z) { 9789 var B; 9790 return C[z] = !0, p.each(c[z] || [], function($, ue) { 9791 var xe = ue(v, y, E); 9792 if (typeof xe == "string" && !O && !C[xe]) 9793 return v.dataTypes.unshift(xe), A(xe), !1; 9794 if (O) 9795 return !(B = xe); 9796 }), B; 9797 } 9798 return A(v.dataTypes[0]) || !C["*"] && A("*"); 9799 } 9800 function gh(c, v) {
9801 var y, E, C = p.ajaxSettings.flatOptions || {}; 9802 for (y in v) 9803 v[y] !== void 0 && ((C[y] ? c : E || (E = {}))[y] = v[y]); 9804 return E && p.extend(!0, c, E), c; 9805 } 9806 function R_(c, v, y) { 9807 for (var E, C, O, A, z = c.contents, B = c.dataTypes; B[0] === "*"; ) 9808 B.shift(), E === void 0 && (E = c.mimeType || v.getResponseHeader("Content-Type")); 9809 if (E) { 9810 for (C in z) 9811 if (z[C] && z[C].test(E)) { 9812 B.unshift(C); 9813 break; 9814 } 9815 } 9816 if (B[0] in y) 9817 O = B[0]; 9818 else { 9819 for (C in y) { 9820 if (!B[0] || c.converters[C + " " + B[0]]) { 9821 O = C; 9822 break; 9823 } 9824 A || (A = C); 9825 } 9826 O = O || A; 9827 } 9828 if (O) 9829 return O !== B[0] && B.unshift(O), y[O]; 9830 } 9831 function I_(c, v, y, E) { 9832 var C, O, A, z, B, $ = {}, ue = c.dataTypes.slice(); 9833 if (ue[1]) 9834 for (A in c.converters)
9835 $[A.toLowerCase()] = c.converters[A]; 9836 for (O = ue.shift(); O; ) 9837 if (c.responseFields[O] && (y[c.responseFields[O]] = v), !B && E && c.dataFilter && (v = c.dataFilter(v, c.dataType)), B = O, O = ue.shift(), O) { 9838 if (O === "*") 9839 O = B; 9840 else if (B !== "*" && B !== O) { 9841 if (A = $[B + " " + O] || $["* " + O], !A) { 9842 for (C in $) 9843 if (z = C.split(" "), z[1] === O && (A = $[B + " " + z[0]] || $["* " + z[0]], A)) { 9844 A === !0 ? A = $[C] : $[C] !== !0 && (O = z[0], ue.unshift(z[1])); 9845 break; 9846 } 9847 } 9848 if (A !== !0) 9849 if (A && c.throws) 9850 v = A(v); 9851 else 9852 try { 9853 v = A(v); 9854 } catch (xe) { 9855 return { 9856 state: "parsererror", 9857 error: A ? xe : "No conversion from " + B + " to " + O 9858 }; 9859 } 9860 } 9861 } 9862 return { state: "success", data: v }; 9863 } 9864 p.extend({ 9865 // Counter for holding the number of active queries 9866 active: 0, 9867 // Last-Modified header cache for next request 9868 lastModified: {}, 9869 etag: {}, 9870 ajaxSettings: { 9871 url: gl.href, 9872 type: "GET", 9873 isLocal: D_.test(gl.protocol), 9874 global: !0, 9875 processData: !0, 9876 async: !0, 9877 contentType: "application/x-www-form-urlencoded; charset=UTF-8", 9878 /* 9879 timeout: 0, 9880 data: null, 9881 dataType: null, 9882 username: null, 9883 password: null, 9884 cache: null, 9885 throws: false, 9886 traditional: false, 9887 headers: {}, 9888 */ 9889 accepts: { 9890 "*": wg, 9891 text: "text/plain", 9892 html: "text/html", 9893 xml: "application/xml, text/xml", 9894 json: "application/json, text/javascript" 9895 }, 9896 contents: { 9897 xml: /\bxml\b/, 9898 html: /\bhtml/, 9899 json: /\bjson\b/ 9900 }, 9901 responseFields: { 9902 xml: "responseXML", 9903 text: "responseText", 9904 json: "responseJSON" 9905 }, 9906 // Data converters 9907 // Keys separate source (or catchall "*") and destination types with a single space 9908 converters: { 9909 // Convert anything to text 9910 "* text": String, 9911 // Text to html (true = no transformation) 9912 "text html": !0, 9913 // Evaluate text as a json expression 9914 "text json": JSON.parse, 9915 // Parse text as xml 9916 "text xml": p.parseXML 9917 }, 9918 // For options that shouldn't be deep extended: 9919 // you can add your own custom options here if 9920 // and when you create one that shouldn't be 9921 // deep extended (see ajaxExtend) 9922 flatOptions: { 9923 url: !0, 9924 context: !0 9925 } 9926 }, 9927 // Creates a full fledged settings object into target 9928 // with both ajaxSettings and settings fields. 9929 // If target is omitted, writes into ajaxSettings. 9930 ajaxSetup: function(c, v) { 9931 return v ? ( 9932 // Building a settings object 9933 gh(gh(c, p.ajaxSettings), v) 9934 ) : ( 9935 // Extending ajaxSettings 9936 gh(p.ajaxSettings, c) 9937 ); 9938 }, 9939 ajaxPrefilter: Sg(xg), 9940 ajaxTransport: Sg(ph), 9941 // Main method 9942 ajax: function(c, v) { 9943 typeof c == "object" && (v = c, c = void 0), v = v || {}; 9944 var y, E, C, O, A, z, B, $, ue, xe, ae = p.ajaxSetup({}, v), fe = ae.context || ae, Ge = ae.context && (fe.nodeType || fe.jquery) ? p(fe) : p.event, gt = p.Deferred(), We = p.Callbacks("once memory"), Er = ae.statusCode || {}, pr = {}, gn = {}, Xt = "canceled", vt = { 9945 readyState: 0, 9946 // Builds headers hashtable if needed 9947 getResponseHeader: function(Mt) { 9948 var sr; 9949 if (B) { 9950 if (!O) 9951 for (O = {}; sr = k_.exec(C); ) 9952 O[sr[1].toLowerCase() + " "] = (O[sr[1].toLowerCase() + " "] || []).concat(sr[2]); 9953 sr = O[Mt.toLowerCase() + " "]; 9954 } 9955 return sr == null ? null : sr.join(", "); 9956 }, 9957 // Raw string 9958 getAllResponseHeaders: function() { 9959 return B ? C : null; 9960 }, 9961 // Caches the header 9962 setRequestHeader: function(Mt, sr) {
9963 return B == null && (Mt = gn[Mt.toLowerCase()] = gn[Mt.toLowerCase()] || Mt, pr[Mt] = sr), this; 9964 }, 9965 // Overrides response content-type header 9966 overrideMimeType: function(Mt) { 9967 return B == null && (ae.mimeType = Mt), this; 9968 }, 9969 // Status-dependent callbacks 9970 statusCode: function(Mt) { 9971 var sr; 9972 if (Mt) 9973 if (B) 9974 vt.always(Mt[vt.status]); 9975 else 9976 for (sr in Mt) 9977 Er[sr] = [Er[sr], Mt[sr]]; 9978 return this; 9979 }, 9980 // Cancel the request 9981 abort: function(Mt) { 9982 var sr = Mt || Xt; 9983 return y && y.abort(sr), ln(0, sr), this; 9984 } 9985 }; 9986 if (gt.promise(vt), ae.url = ((c || ae.url || gl.href) + "").replace(F_, gl.protocol + "//"), ae.type = v.method || v.type || ae.method || ae.type, ae.dataTypes = (ae.dataType || "*").toLowerCase().match(Re) || [""], ae.crossDomain == null) { 9987 z = w.createElement("a"); 9988 try { 9989 z.href = ae.url, z.href = z.href, ae.crossDomain = vh.protocol + "//" + vh.host != z.protocol + "//" + z.host; 9990 } catch { 9991 ae.crossDomain = !0; 9992 } 9993 } 9994 if (ae.data && ae.processData && typeof ae.data != "string" && (ae.data = p.param(ae.data, ae.traditional)), _g(xg, ae, v, vt), B) 9995 return vt; 9996 $ = p.event && ae.global, $ && p.active++ === 0 && p.event.trigger("ajaxStart"), ae.type = ae.type.toUpperCase(), ae.hasContent = !P_.test(ae.type), E = ae.url.replace(A_, ""), ae.hasContent ? ae.data && ae.processData && (ae.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && (ae.data = ae.data.replace(O_, "+")) : (xe = ae.url.slice(E.length), ae.data && (ae.processData || typeof ae.data == "string") && (E += (dh.test(E) ? "&" : "?") + ae.data, delete ae.data), ae.cache === !1 && (E = E.replace(N_, "$1"), xe = (dh.test(E) ? "&" : "?") + "_=" + bg.guid++ + xe), ae.url = E + xe), ae.ifModified && (p.lastModified[E] && vt.setRequestHeader("If-Modified-Since", p.lastModified[E]), p.etag[E] && vt.setRequestHeader("If-None-Match", p.etag[E])), (ae.data && ae.hasContent && ae.contentType !== !1 || v.contentType) && vt.setRequestHeader("Content-Type", ae.contentType), vt.setRequestHeader( 9997 "Accept", 9998 ae.dataTypes[0] && ae.accepts[ae.dataTypes[0]] ? ae.accepts[ae.dataTypes[0]] + (ae.dataTypes[0] !== "*" ? ", " + wg + "; q=0.01" : "") : ae.accepts["*"] 9999 ); 10000 for (ue in ae.headers) 10001 vt.setRequestHeader(ue, ae.headers[ue]); 10002 if (ae.beforeSend && (ae.beforeSend.call(fe, vt, ae) === !1 || B)) 10003 return vt.abort(); 10004 if (Xt = "abort", We.add(ae.complete), vt.done(ae.success), vt.fail(ae.error), y = _g(ph, ae, v, vt), !y) 10005 ln(-1, "No Transport"); 10006 else { 10007 if (vt.readyState = 1, $ && Ge.trigger("ajaxSend", [vt, ae]), B) 10008 return vt; 10009 ae.async && ae.timeout > 0 && (A = e.setTimeout(function() { 10010 vt.abort("timeout"); 10011 }, ae.timeout)); 10012 try { 10013 B = !1, y.send(pr, ln); 10014 } catch (Mt) { 10015 if (B) 10016 throw Mt; 10017 ln(-1, Mt); 10018 } 10019 } 10020 function ln(Mt, sr, yl, Ec) { 10021 var mn, fa, da, un, Do, jn = sr; 10022 B || (B = !0, A && e.clearTimeout(A), y = void 0, C = Ec || "", vt.readyState = Mt > 0 ? 4 : 0, mn = Mt >= 200 && Mt < 300 || Mt === 304, yl && (un = R_(ae, vt, yl)), !mn && p.inArray("script", ae.dataTypes) > -1 && p.inArray("json", ae.dataTypes) < 0 && (ae.converters["text script"] = function() { 10023 }), un = I_(ae, un, vt, mn), mn ? (ae.ifModified && (Do = vt.getResponseHeader("Last-Modified"), Do && (p.lastModified[E] = Do), Do = vt.getResponseHeader("etag"), Do && (p.etag[E] = Do)), Mt === 204 || ae.type === "HEAD" ? jn = "nocontent" : Mt === 304 ? jn = "notmodified" : (jn = un.state, fa = un.data, da = un.error, mn = !da)) : (d
10023a = jn, (Mt || !jn) && (jn = "error", Mt < 0 && (Mt = 0))), vt.status = Mt, vt.statusText = (sr || jn) + "", mn ? gt.resolveWith(fe, [fa, jn, vt]) : gt.rejectWith(fe, [vt, jn, da]), vt.statusCode(Er), Er = void 0, $ && Ge.trigger( 10024 mn ? "ajaxSuccess" : "ajaxError", 10025 [vt, ae, mn ? fa : da] 10026 ), We.fireWith(fe, [vt, jn]), $ && (Ge.trigger("ajaxComplete", [vt, ae]), --p.active || p.event.trigger("ajaxStop"))); 10027 } 10028 return vt; 10029 }, 10030 getJSON: function(c, v, y) { 10031 return p.get(c, v, y, "json"); 10032 }, 10033 getScript: function(c, v) { 10034 return p.get(c, void 0, v, "script"); 10035 } 10036 }), p.each(["get", "post"], function(c, v) { 10037 p[v] = function(y, E, C, O) { 10038 return b(E) && (O = O || C, C = E, E = void 0), p.ajax(p.extend({ 10039 url: y, 10040 type: v, 10041 dataType: O, 10042 data: E, 10043 success: C 10044 }, p.isPlainObject(y) && y)); 10045 }; 10046 }), p.ajaxPrefilter(function(c) { 10047 var v; 10048 for (v in c.headers) 10049 v.toLowerCase() === "content-type" && (c.contentType = c.headers[v] || ""); 10050 }), p._evalUrl = function(c, v, y) { 10051 return p.ajax({ 10052 url: c, 10053 // Make this explicit, since user can override this through ajaxSetup (trac-11264) 10054 type: "GET", 10055 dataType: "script", 10056 cache: !0, 10057 async: !1, 10058 global: !1, 10059 // Only evaluate the response if it is successful (gh-4126) 10060 // dataFilter is not invoked for failure responses, so using it instead 10061 // of the default converter is kludgy but it works. 10062 converters: { 10063 "text script": function() { 10064 } 10065 }, 10066 dataFilter: function(E) { 10067 p.globalEval(E, v, y); 10068 } 10069 }); 10070 }, p.fn.extend({ 10071 wrapAll: function(c) { 10072 var v; 10073 return this[0] && (b(c) && (c = c.call(this[0])), v = p(c, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && v.insertBefore(this[0]), v.map(function() { 10074 for (var y = this; y.firstElementChild; ) 10075 y = y.firstElementChild; 10076 return y; 10077 }).append(this)), this; 10078 }, 10079 wrapInner: function(c) { 10080 return b(c) ? this.each(function(v) { 10081 p(this).wrapInner(c.call(this, v)); 10082 }) : this.each(function() { 10083 var v = p(this), y = v.contents(); 10084 y.length ? y.wrapAll(c) : v.append(c); 10085 }); 10086 }, 10087 wrap: function(c) { 10088 var v = b(c); 10089 return this.each(function(y) { 10090 p(this).wrapAll(v ? c.call(this, y) : c); 10091 }); 10092 }, 10093 unwrap: function(c) { 10094 return this.parent(c).not("body").each(function() { 10095 p(this).replaceWith(this.childNodes); 10096 }), this; 10097 } 10098 }), p.expr.pseudos.hidden = function(c) { 10099 return !p.expr.pseudos.visible(c); 10100 }, p.expr.pseudos.visible = function(c) { 10101 return !!(c.offsetWidth || c.offsetHeight || c.getClientRects().length); 10102 }, p.ajaxSettings.xhr = function() { 10103 try { 10104 return new e.XMLHttpRequest(); 10105 } catch { 10106 } 10107 }; 10108 var M_ = { 10109 // File protocol always yields status code 0, assume 200 10110 0: 200, 10111 // Support: IE <=9 only 10112 // trac-1450: sometimes IE returns 1223 when it should be 204 10113 1223: 204 10114 }, ml = p.ajaxSettings.xhr(); 10115 m.cors = !!ml && "withCredentials" in ml, m.ajax = ml = !!ml, p.ajaxTransport(function(c) { 10116 var v, y; 10117 if (m.cors || ml && !c.crossDomain) 10118 return { 10119 send: function(E, C) { 10120 var O, A = c.xhr(); 10121 if (A.open( 10122 c.type, 10123 c.url, 10124 c.async, 10125 c.username, 10126 c.password 10127 ), c.xhrFields) 10128 for (O in c.xhrFields) 10129 A[O] = c.xhrFields[O]; 10130 c.mimeType && A.overrideMimeType && A.overrideMimeType(c.mimeType), !c.crossDomain && !E["X-Requested-With"] && (E["X-Requested-With"] = "XMLHttpRequest"); 10131 for (O in E) 10132 A.setRequestHeader(O, E[O]); 10133 v = function(z) { 10134 return function() { 10135 v && (v = y = A.onload = A.onerror = A.onabort = A.ontimeout = A.onreadystatechange = null, z === "abort" ? A.abort() : z === "error" ? typeof A.status != "number" ? C(0, "error") : C( 10136 // File: protocol always yields status 0; see trac-8605, trac-14207 10137 A.status, 10138 A.statusText 10139 ) : C( 10140 M_[A.status] || A.status, 10141 A.statusText,
10142 // Support: IE <=9 only 10143 // IE9 has no XHR2 but throws on binary (trac-11426) 10144 // For XHR2 non-text, let the caller handle it (gh-2498) 10145 (A.responseType || "text") !== "text" || typeof A.responseText != "string" ? { binary: A.response } : { text: A.responseText }, 10146 A.getAllResponseHeaders() 10147 )); 10148 }; 10149 }, A.onload = v(), y = A.onerror = A.ontimeout = v("error"), A.onabort !== void 0 ? A.onabort = y : A.onreadystatechange = function() { 10150 A.readyState === 4 && e.setTimeout(function() { 10151 v && y(); 10152 }); 10153 }, v = v("abort"); 10154 try { 10155 A.send(c.hasContent && c.data || null); 10156 } catch (z) { 10157 if (v) 10158 throw z; 10159 } 10160 }, 10161 abort: function() { 10162 v && v(); 10163 } 10164 }; 10165 }), p.ajaxPrefilter(function(c) { 10166 c.crossDomain && (c.contents.script = !1); 10167 }), p.ajaxSetup({ 10168 accepts: { 10169 script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" 10170 }, 10171 contents: { 10172 script: /\b(?:java|ecma)script\b/ 10173 }, 10174 converters: { 10175 "text script": function(c) { 10176 return p.globalEval(c), c; 10177 } 10178 } 10179 }), p.ajaxPrefilter("script", function(c) { 10180 c.cache === void 0 && (c.cache = !1), c.crossDomain && (c.type = "GET"); 10181 }), p.ajaxTransport("script", function(c) { 10182 if (c.crossDomain || c.scriptAttrs) { 10183 var v, y; 10184 return { 10185 send: function(E, C) { 10186 v = p("<script>").attr(c.scriptAttrs || {}).prop({ charset: c.scriptCharset, src: c.url }).on("load error", y = function(O) { 10187 v.remove(), y = null, O && C(O.type === "error" ? 404 : 200, O.type); 10188 }), w.head.appendChild(v[0]); 10189 }, 10190 abort: function() { 10191 y && y(); 10192 } 10193 }; 10194 } 10195 }); 10196 var Tg = [], mh = /(=)\?(?=&|$)|\?\?/; 10197 p.ajaxSetup({ 10198 jsonp: "callback", 10199 jsonpCallback: function() { 10200 var c = Tg.pop() || p.expando + "_" + bg.guid++; 10201 return this[c] = !0, c; 10202 } 10203 }), p.ajaxPrefilter("json jsonp", function(c, v, y) { 10204 var E, C, O, A = c.jsonp !== !1 && (mh.test(c.url) ? "url" : typeof c.data == "string" && (c.contentType || "").indexOf("application/x-www-form-urlencoded") === 0 && mh.test(c.data) && "data"); 10205 if (A || c.dataTypes[0] === "jsonp") 10206 return E = c.jsonpCallback = b(c.jsonpCallback) ? c.jsonpCallback() : c.jsonpCallback, A ? c[A] = c[A].replace(mh, "$1" + E) : c.jsonp !== !1 && (c.url += (dh.test(c.url) ? "&" : "?") + c.jsonp + "=" + E), c.converters["script json"] = function() { 10207 return O || p.error(E + " was not called"), O[0]; 10208 }, c.dataTypes[0] = "json", C = e[E], e[E] = function() { 10209 O = arguments; 10210 }, y.always(function() { 10211 C === void 0 ? p(e).removeProp(E) : e[E] = C, c[E] && (c.jsonpCallback = v.jsonpCallback, Tg.push(E)), O && b(C) && C(O[0]), O = C = void 0; 10212 }), "script"; 10213 }), m.createHTMLDocument = function() { 10214 var c = w.implementation.createHTMLDocument("").body; 10215 return c.innerHTML = "<form></form><form></form>", c.childNodes.length === 2; 10216 }(), p.parseHTML = function(c, v, y) { 10217 if (typeof c != "string") 10218 return []; 10219 typeof v == "boolean" && (y = v, v = !1); 10220 var E, C, O; 10221 return v || (m.createHTMLDocument ? (v = w.implementation.createHTMLDocument(""), E = v.createElement("base"), E.href = w.location.href, v.head.appendChild(E)) : v = w), C = Q.exec(c), O = !y && [], C ? [v.createElement(C[1])] : (C = No([c], v, O), O && O.length && p(O).remove(), p.merge([], C.childNodes)); 10222 }, p.fn.load = function(c, v, y) { 10223 var E, C, O, A = this, z = c.indexOf(" "); 10224 return z > -1 && (E = ua(c.slice(z)), c = c.slice(0, z)), b(v) ? (y = v, v = void 0) : v && typeof v == "object" && (C = "POST"), A.length > 0 && p.ajax({ 10225 url: c, 10226 // If "type" variable is undefined, then "GET" method will be used. 10227 // Make value of this field explicit since 10228 // user can override it through ajaxSetup method 10229 type: C || "GET", 10230 dataType: "html", 10231 data: v 10232 }).done(function(B) { 10233 O = arguments, A.html(E ? ( 10234 // If a selector was specified, locate the right elements in a dummy div 10235 // Exclude scripts to avoid IE 'Permission Denied' errors 10236 p("<div>").append(p.parseHTML(B)).find(E) 10237 ) : ( 10238 // Otherwise use the full result 10239 B 10240 )); 10241 }).always(y && function(B, $) { 10242 A.each(function() { 10243 y.apply(this, O || [B.responseText, $, B]); 10244 }); 10245 }), this; 10246 }, p.expr.pseudos.animated = function(c) { 10247 return p.grep(p.timers, function(v) { 10248 return c === v.elem; 10249 }).length; 10250 }, p.offset = { 10251 setOffset: function(c, v, y) { 10252 var E, C, O, A, z, B, $, ue = p.css(c, "position"), xe = p(c), ae = {}; 10253 ue === "static" && (c.style.position = "relative"), z = xe.offset(), O = p.css(c, "top"), B = p.css(c, "left"), $ = (ue === "absolute" || ue === "fixed") && (O + B).indexOf("auto") > -1, $ ? (E = xe.position(), A = E.top, C = E.left) : (A = parseFloat(O) || 0, C = parseFloat(B) || 0), b(v) && (v = v.call(c, y, p.extend({}, z))), v.top != null && (ae.top = v.top - z.top + A), v.left != null && (ae.left = v.left - z.left + C), "using" in v ? v.using.call(c, ae) : xe.css(ae); 10254 } 10255 }, p.fn.extend({ 10256 // offset() relates an element's border box to the document origin 10257 offset: function(c) { 10258 if (arguments.length)
10259 return c === void 0 ? this : this.each(function(C) { 10260 p.offset.setOffset(this, c, C); 10261 }); 10262 var v, y, E = this[0]; 10263 if (E) 10264 return E.getClientRects().length ? (v = E.getBoundingClientRect(), y = E.ownerDocument.defaultView, { 10265 top: v.top + y.pageYOffset, 10266 left: v.left + y.pageXOffset 10267 }) : { top: 0, left: 0 }; 10268 }, 10269 // position() relates an element's margin box to its offset parent's padding box 10270 // This corresponds to the behavior of CSS absolute positioning 10271 position: function() { 10272 if (this[0]) { 10273 var c, v, y, E = this[0], C = { top: 0, left: 0 }; 10274 if (p.css(E, "position") === "fixed") 10275 v = E.getBoundingClientRect(); 10276 else { 10277 for (v = this.offset(), y = E.ownerDocument, c = E.offsetParent || y.documentElement; c && (c === y.body || c === y.documentElement) && p.css(c, "position") === "static"; ) 10278 c = c.parentNode; 10279 c && c !== E && c.nodeType === 1 && (C = p(c).offset(), C.top += p.css(c, "borderTopWidth", !0), C.left += p.css(c, "borderLeftWidth", !0)); 10280 } 10281 return { 10282 top: v.top - C.top - p.css(E, "marginTop", !0), 10283 left: v.left - C.left - p.css(E, "marginLeft", !0) 10284 }; 10285 } 10286 }, 10287 // This method will return documentElement in the following cases: 10288 // 1) For the element inside the iframe without offsetParent, this method will return 10289 // documentElement of the parent window 10290 // 2) For the hidden or detached element 10291 // 3) For body or html element, i.e. in case of the html node - it will return itself 10292 // 10293 // but those exceptions were never presented as a real life use-cases 10294 // and might be considered as more preferable results. 10295 // 10296 // This logic, however, is not guaranteed and can change at any point in the future 10297 offsetParent: function() { 10298 return this.map(function() { 10299 for (var c = this.offsetParent; c && p.css(c, "position") === "static"; ) 10300 c = c.offsetParent; 10301 return c || le; 10302 }); 10303 } 10304 }), p.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(c, v) { 10305 var y = v === "pageYOffset"; 10306 p.fn[c] = function(E) { 10307 return $e(this, function(C, O, A) { 10308 var z; 10309 if (S(C) ? z = C : C.nodeType === 9 && (z = C.defaultView), A === void 0) 10310 return z ? z[v] : C[O]; 10311 z ? z.scrollTo( 10312 y ? z.pageXOffset : A, 10313 y ? A : z.pageYOffset 10314 ) : C[O] = A; 10315 }, c, E, arguments.length); 10316 }; 10317 }), p.each(["top", "left"], function(c, v) { 10318 p.cssHooks[v] = sg( 10319 m.pixelPosition, 10320 function(y, E) { 10321 if (E) 10322 return E = pl(y, v), Vn.test(E) ? p(y).position()[v] + "px" : E; 10323 } 10324 ); 10325 }), p.each({ Height: "height", Width: "width" }, function(c, v) { 10326 p.each({ 10327 padding: "inner" + c, 10328 content: v, 10329 "": "outer" + c 10330 }, function(y, E) { 10331 p.fn[E] = function(C, O) { 10332 var A = arguments.length && (y || typeof C != "boolean"), z = y || (C === !0 || O === !0 ? "margin" : "border"); 10333 return $e(this, function(B, $, ue) { 10334 var xe; 10335 return S(B) ? E.indexOf("outer") === 0 ? B["inner" + c] : B.document.documentElement["client" + c] : B.nodeType === 9 ? (xe = B.documentElement, Math.max( 10336 B.body["scroll" + c], 10337 xe["scroll" + c], 10338 B.body["offset" + c], 10339 xe["offset" + c], 10340 xe["client" + c] 10341 )) : ue === void 0 ? ( 10342 // Get width or height on the element, requesting but not forcing parseFloat 10343 p.css(B, $, z) 10344 ) : ( 10345 // Set width or height on the element 10346 p.style(B, $, ue, z) 10347 ); 10348 }, v, A ? C : void 0, A); 10349 }; 10350 }); 10351 }), p.each([ 10352 "ajaxStart", 10353 "ajaxStop", 10354 "ajaxComplete", 10355 "ajaxError", 10356 "ajaxSuccess", 10357 "ajaxSend" 10358 ], function(c, v) { 10359 p.fn[v] = function(y) { 10360 return this.on(v, y); 10361 }; 10362 }), p.fn.extend({ 10363 bind: function(c, v, y) { 10364 return this.on(c, null, v, y); 10365 }, 10366 unbind: function(c, v) { 10367 return this.off(c, null, v); 10368 }, 10369 delegate: function(c, v, y, E) { 10370 return this.on(v, c, y, E); 10371 }, 10372 undelegate: function(c, v, y) { 10373 return arguments.length === 1 ? this.off(c, "**") : this.off(v, c || "**", y); 10374 }, 10375 hover: function(c, v) { 10376 return this.mouseenter(c).mouseleave(v || c); 10377 } 10378 }), p.each( 10379 "blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), 10380 function(c, v) { 10381 p.fn[v] = function(y, E) { 10382 return arguments.length > 0 ? this.on(v, null, y, E) : this.trigger(v); 10383 }; 10384 } 10385 ); 10386 var V_ = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g; 10387 p.proxy = function(c, v) { 10388 var y, E, C; 10389 if (typeof v == "string" && (y = c[v], v = c, c = y), !!b(c)) 10390 return E = o.call(arguments, 2), C = function() { 10391 return c.apply(v || this, E.concat(o.call(arguments))); 10392 }, C.guid = c.guid = c.guid || p.guid++, C; 10393 }, p.holdReady = function(c) { 10394 c ? p.readyWait++ : p.ready(!0); 10395 }, p.isArray = Array.isArray, p.parseJSON = JSON.parse, p.nodeName = re, p.isFunction = b, p.isWindow = S, p.camelCase = Tt, p.type = _, p.now = Date.now, p.isNumeric = function(c) { 10396 var v = p.type(c); 10397 return (v === "number" || v === "string") && // parseFloat NaNs numeric-cast false positives ("") 10398 // ...but misinterprets leading-number strings, particularly hex literals ("0x...") 10399 // subtraction forces infinities to NaN 10400 !isNaN(c - parseFloat(c)); 10401 }, p.trim = function(c) { 10402 return c == null ? "" : (c + "").replace(V_, "$1"); 10403 }; 10404 var L_ = e.jQuery, j_ = e.$; 10405 return p.noConflict = function(c) { 10406 return e.$ === p && (e.$ = j_), c && e.jQuery === p && (e.jQuery = L_), p; 10407 }, typeof r > "u" && (e.jQuery = e.$ = p), p; 10408 }); 10409 }(Uh)), Uh.exports; 10410} 10411var BA = YE(); 10412const Y = /* @__PURE__ */ Qa(BA); 10413var n0 = { exports: {} }; 10414/*! ======================================================= 10415 VERSION 11.0.2 10416========================================================= */ 10417n0.exports; 10418(function(t) { 10419 var e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) { 10420 return typeof n; 10421 } : function(n) { 10422 return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n; 10423 }; 10424 /*! ========================================================= 10425 * bootstrap-slider.js 10426 * 10427 * Maintainers: 10428 * Kyle Kemp 10429 * - Twitter: @seiyria 10430 * - Github: seiyria 10431 * Rohit Kalkur 10432 * - Twitter: @Rovolutionary 10433 * - Github: rovolution 10434 * 10435 * ========================================================= 10436 * 10437 * bootstrap-slider is released under the MIT License 10438 * Copyright (c) 2019 Kyle Kemp, Rohit Kalkur, and contributors 10439 * 10440 * Permission is hereby granted, free of charge, to any person 10441 * obtaining a copy of this software and associated documentation 10442 * files (the "Software"), to deal in the Software without 10443 * restriction, including without limitation the rights to use, 10444 * copy, modify, merge, publish, distribute, sublicense, and/or sell 10445 * copies of the Software, and to permit persons to whom the 10446 * Software is furnished to do so, subject to the following 10447 * conditions: 10448 * 10449 * The above copyright notice and this permission notice shall be 10450 * included in all copies or substantial portions of the Software. 10451 * 10452 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 10453 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 10454 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 10455 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 10456 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 10457 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 10458 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 10459 * OTHER DEALINGS IN THE SOFTWARE. 10460 * 10461 * ========================================================= */ 10462 var r = (typeof window > "u" ? "undefined" : e(window)) === "object"; 10463 (function(n) { 10464 if (e(t) === "object" && t.exports) { 10465 var i;
10466 try { 10467 i = YE(); 10468 } catch { 10469 i = null; 10470 } 10471 t.exports = n(i); 10472 } else 10473 window && (window.Slider = n(window.jQuery)); 10474 })(function(n) { 10475 var i = "slider", o = "bootstrapSlider"; 10476 r && !window.console && (window.console = {}), r && !window.console.log && (window.console.log = function() { 10477 }), r && !window.console.warn && (window.console.warn = function() { 10478 }); 10479 var a; 10480 return function(s) { 10481 var u = Array.prototype.slice; 10482 function l() { 10483 } 10484 function f(h) { 10485 if (!h) 10486 return; 10487 function g(b) { 10488 b.prototype.option || (b.prototype.option = function(S) { 10489 h.isPlainObject(S) && (this.options = h.extend(!0, this.options, S)); 10490 }); 10491 } 10492 var d = typeof console > "u" ? l : function(b) { 10493 console.error(b); 10494 }; 10495 function m(b, S) { 10496 h.fn[b] = function(w) { 10497 if (typeof w == "string") { 10498 for (var D = u.call(arguments, 1), T = 0, _ = this.length; T < _; T++) { 10499 var x = this[T], p = h.data(x, b); 10500 if (!p) { 10501 d("cannot call methods on " + b + " prior to initialization; attempted to call '" + w + "'"); 10502 continue; 10503 } 10504 if (!h.isFunction(p[w]) || w.charAt(0) === "_") { 10505 d("no such method '" + w + "' for " + b + " instance"); 10506 continue; 10507 } 10508 var N = p[w].apply(p, D); 10509 if (N !== void 0 && N !== p) 10510 return N; 10511 } 10512 return this; 10513 } else { 10514 var V = this.map(function() { 10515 var P = h.data(this, b); 10516 return P ? (P.option(w), P._init()) : (P = new S(this, w), h.data(this, b, P)), h(this); 10517 }); 10518 return V.length === 1 ? V[0] : V; 10519 } 10520 }; 10521 } 10522 return h.bridget = function(b, S) { 10523 g(S), m(b, S); 10524 }, h.bridget; 10525 } 10526 f(s); 10527 }(n), function(s) { 10528 var u = void 0, l = { 10529 formatInvalidInputErrorMsg: function(d) { 10530 return "Invalid input value '" + d + "' passed in"; 10531 }, 10532 callingContextNotSliderInstance: "Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method" 10533 }, f = { 10534 linear: { 10535 getValue: function(d, m) { 10536 return d < m.min ? m.min : d > m.max ? m.max : d; 10537 }, 10538 toValue: function(d) { 10539 var m = d / 100 * (this.options.max - this.options.min), b = !0; 10540 if (this.options.ticks_positions.length > 0) { 10541 for (var S, w, D, T = 0, _ = 1; _ < this.options.ticks_positions.length; _++) 10542 if (d <= this.options.ticks_positions[_]) { 10543 S = this.options.ticks[_ - 1], D = this.options.ticks_positions[_ - 1], w = this.options.ticks[_], T = this.options.ticks_positions[_]; 10544 break; 10545 } 10546 var x = (d - D) / (T - D); 10547 m = S + x * (w - S), b = !1; 10548 } 10549 var p = b ? this.options.min : 0, N = p + Math.round(m / this.options.step) * this.options.step; 10550 return f.linear.getValue(N, this.options); 10551 }, 10552 toPercentage: function(d) { 10553 if (this.options.max === this.options.min) 10554 return 0; 10555 if (this.options.ticks_positions.length > 0) { 10556 for (var m, b, S, w = 0, D = 0; D < this.options.ticks.length; D++) 10557 if (d <= this.options.ticks[D]) { 10558 m = D > 0 ? this.options.ticks[D - 1] : 0, S = D > 0 ? this.options.ticks_positions[D - 1] : 0, b = this.options.ticks[D], w = this.options.ticks_positions[D]; 10559 break; 10560 } 10561 if (D > 0) { 10562 var T = (d - m) / (b - m); 10563 return S + T * (w - S); 10564 } 10565 } 10566 return 100 * (d - this.options.min) / (this.options.max - this.options.min); 10567 } 10568 }, 10569 logarithmic: { 10570 /* Based on http://stackoverflow.com/questions/846221/logarithmic-slider */ 10571 toValue: function(d) { 10572 var m = 1 - this.options.min, b = Math.log(this.options.min + m), S = Math.log(this.options.max + m), w = Math.exp(b + (S - b) * d / 100) - m; 10573 return Math.round(w) === S ? S : (w = this.options.min + Math.round((w - this.options.min) / this.options.step) * this.options.step, f.linear.getValue(w, this.options)); 10574 }, 10575 toPercentage: function(d) { 10576 if (this.options.max === this.options.min) 10577 return 0; 10578 var m = 1 - this.options.min, b = Math.log(this.options.max + m), S = Math.log(this.options.min + m), w = Math.log(d + m); 10579 return 100 * (w - S) / (b - S); 10580 } 10581 } 10582 }; 10583 a = function(d, m) { 10584 return h.call(this, d, m), this; 10585 }; 10586 function h(g, d) { 10587 this._state = { 10588 value: null, 10589 enabled: null, 10590 offset: null, 10591 size: null, 10592 percentage: null, 10593 inDrag: !1, 10594 over: !1, 10595 tickIndex: null 10596 }, this.ticksCallbackMap = {}, this.handleCallbackMap = {}, typeof g == "string" ? this.element = document.querySelector(g) : g instanceof HTMLElement && (this.element = g), d = d || {}; 10597 for (var m = Object.keys(this.defaultOptions), b = d.hasOwnProperty("min"), S = d.hasOwnProperty("max"), w = 0; w < m.length; w++) { 10598 var D = m[w], T = d[D]; 10599 T = typeof T < "u" ? T : x(this.element, D), T = T !== null ? T : this.defaultOptions[D], this.options || (this.options = {}), this.options[D] = T; 10600 } 10601 if (this.ticksAreValid = Array.isArray(this.options.ticks) && this.options.ticks.length > 0, this.ticksAreValid || (this.options.lock_to_ticks = !1), this.options.rtl === "auto") { 10602 var _ = window.getComputedStyle(this.element); 10603 _ != null ? this.options.rtl = _.direction === "rtl" : this.options.rtl = this.element.style.direction === "rtl"; 10604 } 10605 this.options.orientation === "vertical" && (this.options.tooltip_position === "top" || this.options.tooltip_position === "bottom") ? this.options.rtl ? this.options.tooltip_position = "left" : this.options.tooltip_position = "right" : this.options.orientation === "horizontal" && (this.options.tooltip_position === "left" || this.options.tooltip_position === "right") && (this.options.tooltip_position = "top"); 10606 function x(K, ce) {
10607 var ve = "data-slider-" + ce.replace(/_/g, "-"), ge = K.getAttribute(ve); 10608 try { 10609 return JSON.parse(ge); 10610 } catch { 10611 return ge; 10612 } 10613 } 10614 var p = this.element.style.width, N = !1, V = this.element.parentNode, P, M, U, re, Q; 10615 if (this.sliderElem) 10616 N = !0; 10617 else { 10618 this.sliderElem = document.createElement("div"), this.sliderElem.className = "slider"; 10619 var ne = document.createElement("div"); 10620 ne.className = "slider-track", M = document.createElement("div"), M.className = "slider-track-low", P = document.createElement("div"), P.className = "slider-selection", U = document.createElement("div"), U.className = "slider-track-high", re = document.createElement("div"), re.className = "slider-handle min-slider-handle", re.setAttribute("role", "slider"), re.setAttribute("aria-valuemin", this.options.min), re.setAttribute("aria-valuemax", this.options.max), Q = document.createElement("div"), Q.className = "slider-handle max-slider-handle", Q.setAttribute("role", "slider"), Q.setAttribute("aria-valuemin", this.options.min), Q.setAttribute("aria-valuemax", this.options.max), ne.appendChild(M), ne.appendChild(P), ne.appendChild(U), this.rangeHighlightElements = []; 10621 var ee = this.options.rangeHighlights; 10622 if (Array.isArray(ee) && ee.length > 0) 10623 for (var L = 0; L < ee.length; L++) { 10624 var Z = document.createElement("div"), G = ee[L].class || ""; 10625 Z.className = "slider-rangeHighlight slider-selection " + G, this.rangeHighlightElements.push(Z), ne.appendChild(Z); 10626 } 10627 var se = Array.isArray(this.options.labelledby); 10628 if (se && this.options.labelledby[0] && re.setAttribute("aria-labelledby", this.options.labelledby[0]), se && this.options.labelledby[1] && Q.setAttribute("aria-labelledby", this.options.labelledby[1]), !se && this.options.labelledby && (re.setAttribute("aria-labelledby", this.options.labelledby), Q.setAttribute("aria-labelledby", this.options.labelledby)), this.ticks = [], Array.isArray(this.options.ticks) && this.options.ticks.length > 0) { 10629 for (this.ticksContainer = document.createElement("div"), this.ticksContainer.className = "slider-tick-container", w = 0; w < this.options.ticks.length; w++) { 10630 var de = document.createElement("div"); 10631 if (de.className = "slider-tick", this.options.ticks_tooltip) { 10632 var Re = this._addTickListener(), ze = Re.addMouseEnter(this, de, w), je = Re.addMouseLeave(this, de); 10633 this.ticksCallbackMap[w] = { 10634 mouseEnter: ze, 10635 mouseLeave: je 10636 }; 10637 } 10638 this.ticks.push(de), this.ticksContainer.appendChild(de); 10639 } 10640 P.className += " tick-slider-selection"; 10641 } 10642 if (this.tickLabels = [], Array.isArray(this.options.ticks_labels) && this.options.ticks_labels.length > 0) 10643 for (this.tickLabelContainer = document.createElement("div"), this.tickLabelContainer.className = "slider-tick-label-container", w = 0; w < this.options.ticks_labels.length; w++) { 10644 var Le = document.createElement("div"), be = this.options.ticks_positions.length === 0, Ve = this.options.reversed && be ? this.options.ticks_labels.length - (w + 1) : w; 10645 Le.className = "slider-tick-label", Le.innerHTML = this.options.ticks_labels[Ve], this.tickLabels.push(Le), this.tickLabelContainer.appendChild(Le); 10646 } 10647 var Be = function(ce) { 10648 var ve = document.createElement("div"); 10649 ve.className = "arrow"; 10650 var ge = document.createElement("div"); 10651 ge.className = "tooltip-inner", ce.appendChild(ve), ce.appendChild(ge); 10652 }, Pe = document.createElement("div"); 10653 Pe.className = "tooltip tooltip-main", Pe.setAttribute("role", "presentation"), Be(Pe); 10654 var $e = document.createElement("div"); 10655 $e.className = "tooltip tooltip-min", $e.setAttribute("role", "presentation"), Be($e); 10656 var rt = document.createElement("div"); 10657 rt.className = "tooltip tooltip-max", rt.setAttribute("role", "presentation"), Be(rt), this.sliderElem.appendChild(ne), this.sliderElem.appendChild(Pe), this.sliderElem.appendChild($e), this.sliderElem.appendChild(rt), this.tickLabelContainer && this.sliderElem.appendChild(this.tickLabelContainer), this.ticksContainer && this.sliderElem.appendChild(this.ticksContainer), this.sliderElem.appendChild(re), this.sliderElem.appendChild(Q), V.insertBefore(this.sliderElem, this.element), this.element.style.display = "none"; 10658 } 10659 if (s && (this.$element = s(this.element), this.$sliderElem = s(this.sliderElem)), this.eventToCallbackMap = {}, this.sliderElem.id = this.options.id, this.touchCapable = "ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch, this.touchX = 0, this.touchY = 0, this.tooltip = this.sliderElem.querySelector(".tooltip-main"), this.tooltipInner = this.tooltip.querySelector(".tooltip-inner"), this.tooltip_min = this.sliderElem.querySelector(".tooltip-min"), this.tooltipInner_min = this.tooltip_min.querySelector(".tooltip-inner"), this.tooltip_max = this.sliderElem.querySelector(".tooltip-max"), this.tooltipInner_max = this.tooltip_max.querySelector(".tooltip-inner"), f[this.options.scale] && (this.options.scale = f[this.options.scale]), N === !0 && (this._removeClass(this.sliderElem, "slider-horizontal"), this._removeClass(this.sliderElem, "slider-vertical"), this._removeClass(this.sliderElem, "slider-rtl"), this._removeClass(this.tooltip, "hide"), this._removeClass(this.tooltip_min, "hide"), this._removeClass(this.tooltip_max, "hide"), ["left", "right", "top", "width", "height"].forEach(function(K) { 10660 this._removeProperty(this.trackLow, K), this._removeProperty(this.trackSelection, K), this._removeProperty(this.trackHigh, K); 10661 }, this), [this.handle1, this.handle2].forEach(function(K) { 10662 this._removeProperty(K, "left"), this._removeProperty(K, "right"), this._removeProperty(K, "top"); 10663 }, this), [this.tooltip, this.tooltip_min, this.tooltip_max].forEac
10663h(function(K) { 10664 this._removeProperty(K, "bs-tooltip-left"), this._removeProperty(K, "bs-tooltip-right"), this._removeProperty(K, "bs-tooltip-top"), this._removeClass(K, "bs-tooltip-right"), this._removeClass(K, "bs-tooltip-left"), this._removeClass(K, "bs-tooltip-top"); 10665 }, this)), this.options.orientation === "vertical" ? (this._addClass(this.sliderElem, "slider-vertical"), this.stylePos = "top", this.mousePos = "pageY", this.sizePos = "offsetHeight") : (this._addClass(this.sliderElem, "slider-horizontal"), this.sliderElem.style.width = p, this.options.orientation = "horizontal", this.options.rtl ? this.stylePos = "right" : this.stylePos = "left", this.mousePos = "clientX", this.sizePos = "offsetWidth"), this.options.rtl && this._addClass(this.sliderElem, "slider-rtl"), this._setTooltipPosition(), Array.isArray(this.options.ticks) && this.options.ticks.length > 0 && (S || (this.options.max = Math.max.apply(Math, this.options.ticks)), b || (this.options.min = Math.min.apply(Math, this.options.ticks))), Array.isArray(this.options.value) ? (this.options.range = !0, this._state.value = this.options.value) : this.options.range ? this._state.value = [this.options.value, this.options.max] : this._state.value = this.options.value, this.trackLow = M || this.trackLow, this.trackSelection = P || this.trackSelection, this.trackHigh = U || this.trackHigh, this.options.selection === "none" ? (this._addClass(this.trackLow, "hide"), this._addClass(this.trackSelection, "hide"), this._addClass(this.trackHigh, "hide")) : (this.options.selection === "after" || this.options.selection === "before") && (this._removeClass(this.trackLow, "hide"), this._removeClass(this.trackSelection, "hide"), this._removeClass(this.trackHigh, "hide")), this.handle1 = re || this.handle1, this.handle2 = Q || this.handle2, N === !0) 10666 for (this._removeClass(this.handle1, "round triangle"), this._removeClass(this.handle2, "round triangle hide"), w = 0; w < this.ticks.length; w++) 10667 this._removeClass(this.ticks[w], "round triangle hide"); 10668 var _t = ["round", "triangle", "custom"], ar = _t.indexOf(this.options.handle) !== -1; 10669 if (ar) 10670 for (this._addClass(this.handle1, this.options.handle), this._addClass(this.handle2, this.options.handle), w = 0; w < this.ticks.length; w++) 10671 this._addClass(this.ticks[w], this.options.handle); 10672 if (this._state.offset = this._offset(this.sliderElem), this._state.size = this.sliderElem[this.sizePos], this.setValue(this._state.value), this.handle1Keydown = this._keydown.bind(this, 0), this.handle1.addEventListener("keydown", this.handle1Keydown, !1), this.handle2Keydown = this._keydown.bind(this, 1), this.handle2.addEventListener("keydown", this.handle2Keydown, !1), this.mousedown = this._mousedown.bind(this), this.touchstart = this._touchstart.bind(this), this.touchmove = this._touchmove.bind(this), this.touchCapable && (this.sliderElem.addEventListener("touchstart", this.touchstart, !1), this.sliderElem.addEventListener("touchmove", this.touchmove, !1)), this.sliderElem.addEventListener("mousedown", this.mousedown, !1), this.resize = this._resize.bind(this), window.addEventListener("resize", this.resize, !1), this.options.tooltip === "hide") 10673 this._addClass(this.tooltip, "hide"), this._addClass(this.tooltip_min, "hide"), this._addClass(this.tooltip_max, "hide"); 10674 else if (this.options.tooltip === "always") 10675 this._showTooltip(), this._alwaysShowTooltip = !0; 10676 else { 10677 if (this.showTooltip = this._showTooltip.bind(this), this.hideTooltip = this._hideTooltip.bind(this), this.options.ticks_tooltip) { 10678 var Tt = this._addTickListener(), F = Tt.addMouseEnter(this, this.handle1), q = Tt.addMouseLeave(this, this.handle1); 10679 this.handleCallbackMap.handle1 = { 10680 mouseEnter: F, 10681 mouseLeave: q 10682 }, F = Tt.addMouseEnter(this, this.handle2), q = Tt.addMouseLeave(this, this.handle2), this.handleCallbackMap.handle2 = { 10683 mouseEnter: F, 10684 mouseLeave: q 10685 }; 10686 } else 10687 this.sliderElem.addEventListener("mouseenter", this.showTooltip, !1), this.sliderElem.addEventListener("mouseleave", this.hideTooltip, !1), this.touchCapable && (this.sliderElem.addEventListener("touchstart", this.showTooltip, !1), this.sliderElem.addEventListener("touchmove", this.showTooltip, !1), this.sliderElem.addEventListener("touchend", this.hideTooltip, !1)); 10688 this.handle1.addEventListener("focus", this.showTooltip, !1), this.handle1.addEventListener("blur", this.hideTooltip, !1), this.handle2.addEventListener("focus", this.showTooltip, !1), this.handle2.addEventListener("blur", this.hideTooltip, !1), this.touchCapable && (this.handle1.addEventListener("touchstart", this.showTooltip, !1), this.handle1.addEventListener("touchmove", this.showTooltip, !1), this.handle1.addEventListener("touchend", this.hideTooltip, !1), this.handle2.addEventListener("touchstart", this.showTooltip, !1), this.handle2.addEventListener("touchmove", this.showTooltip, !1), this.handle2.addEventListener("touchend", this.hideTooltip, !1)); 10689 } 10690 this.options.enabled ? this.enable() : this.disable(); 10691 } 10692 a.prototype = { 10693 _init: function() { 10694 },
10695 // NOTE: Must exist to support bridget 10696 constructor: a, 10697 defaultOptions: { 10698 id: "", 10699 min: 0, 10700 max: 10, 10701 step: 1, 10702 precision: 0, 10703 orientation: "horizontal", 10704 value: 5, 10705 range: !1, 10706 selection: "before", 10707 tooltip: "show", 10708 tooltip_split: !1, 10709 lock_to_ticks: !1, 10710 handle: "round", 10711 reversed: !1, 10712 rtl: "auto", 10713 enabled: !0, 10714 formatter: function(d) { 10715 return Array.isArray(d) ? d[0] + " : " + d[1] : d; 10716 }, 10717 natural_arrow_keys: !1, 10718 ticks: [], 10719 ticks_positions: [], 10720 ticks_labels: [], 10721 ticks_snap_bounds: 0, 10722 ticks_tooltip: !1, 10723 scale: "linear", 10724 focus: !1, 10725 tooltip_position: null, 10726 labelledby: null, 10727 rangeHighlights: [] 10728 }, 10729 getElement: function() { 10730 return this.sliderElem; 10731 }, 10732 getValue: function() { 10733 return this.options.range ? this._state.value : this._state.value[0]; 10734 }, 10735 setValue: function(d, m, b) { 10736 d || (d = 0); 10737 var S = this.getValue(); 10738 this._state.value = this._validateInputValue(d); 10739 var w = this._applyPrecision.bind(this); 10740 this.options.range ? (this._state.value[0] = w(this._state.value[0]), this._state.value[1] = w(this._state.value[1]), this.ticksAreValid && this.options.lock_to_ticks && (this._state.value[0] = this.options.ticks[this._getClosestTickIndex(this._state.value[0])], this._state.value[1] = this.options.ticks[this._getClosestTickIndex(this._state.value[1])]), this._state.value[0] = Math.max(this.options.min, Math.min(this.options.max, this._state.value[0])), this._state.value[1] = Math.max(this.options.min, Math.min(this.options.max, this._state.value[1]))) : (this._state.value = w(this._state.value), this.ticksAreValid && this.options.lock_to_ticks && (this._state.value = this.options.ticks[this._getClosestTickIndex(this._state.value)]), this._state.value = [Math.max(this.options.min, Math.min(this.options.max, this._state.value))], this._addClass(this.handle2, "hide"), this.options.selection === "after" ? this._state.value[1] = this.options.max : this._state.value[1] = this.options.min), this._setTickIndex(), this.options.max > this.options.min ? this._state.percentage = [this._toPercentage(this._state.value[0]), this._toPercentage(this._state.value[1]), this.options.step * 100 / (this.options.max - this.options.min)] : this._state.percentage = [0, 0, 100], this._layout(); 10741 var D = this.options.range ? this._state.value : this._state.value[0]; 10742 this._setDataVal(D), m === !0 && this._trigger("slide", D); 10743 var T = !1; 10744 return Array.isArray(D) ? T = S[0] !== D[0] || S[1] !== D[1] : T = S !== D, T && b === !0 && this._trigger("change", { 10745 oldValue: S, 10746 newValue: D 10747 }), this; 10748 }, 10749 destroy: function() { 10750 this._removeSliderEventHandlers(), this.sliderElem.parentNode.removeChild(this.sliderElem), this.element.style.display = "", this._cleanUpEventCallbacksMap(), this.element.removeAttribute("data"), s && (this._unbindJQueryEventHandlers(), u === i && this.$element.removeData(u), this.$element.removeData(o)); 10751 }, 10752 disable: function() { 10753 return this._state.enabled = !1, this.handle1.removeAttribute("tabindex"), this.handle2.removeAttribute("tabindex"), this._addClass(this.sliderElem, "slider-disabled"), this._trigger("slideDisabled"), this; 10754 }, 10755 enable: function() { 10756 return this._state.enabled = !0, this.handle1.setAttribute("tabindex", 0), this.handle2.setAttribute("tabindex", 0), this._removeClass(this.sliderElem, "slider-disabled"), this._trigger("slideEnabled"), this; 10757 }, 10758 toggle: function() { 10759 return this._state.enabled ? this.disable() : this.enable(), this; 10760 }, 10761 isEnabled: function() { 10762 return this._state.enabled; 10763 }, 10764 on: function(d, m) { 10765 return this._bindNonQueryEventHandler(d, m), this; 10766 }, 10767 off: function(d, m) { 10768 s ? (this.$element.off(d, m), this.$sliderElem.off(d, m)) : this._unbindNonQueryEventHandler(d, m); 10769 }, 10770 getAttribute: function(d) { 10771 return d ? this.options[d] : this.options; 10772 }, 10773 setAttribute: function(d, m) { 10774 return this.options[d] = m, this; 10775 }, 10776 refresh: function(d) { 10777 var m = this.getValue(); 10778 return this._removeSliderEventHandlers(), h.call(this, this.element, this.options), d && d.useCurrentValue === !0 && this.setValue(m), s && (u === i ? (s.data(this.element, i, this), s.data(this.element, o, this)) : s.data(this.element, o, this)), this; 10779 }, 10780 relayout: function() { 10781 return this._resize(), this; 10782 }, 10783 /******************************+ 10784 HELPERS 10785 - Any method that is not part of the public interface. 10786 - Place it underneath this comment block and write its signature like so: 10787 _fnName : function() {...} 10788 ********************************/ 10789 _removeTooltipListener: function(d, m) { 10790 this.handle1.removeEventListener(d, m, !1), this.handle2.removeEventListener(d, m, !1); 10791 }, 10792 _removeSliderEventHandlers: function() { 10793 if (this.handle1.removeEventListener("keydown", this.handle1Keydown, !1), this.handle2.removeEventListener("keydown", this.handle2Keydown, !1), this.options.ticks_tooltip) { 10794 for (var d = this.ticksContainer.getElementsByClassName("slider-tick"), m = 0; m < d.length; m++) 10795 d[m].removeEventListener("mouseenter", this.ticksCallbackMap[m].mouseEnter, !1), d[m].removeEventListener("mouseleave", this.ticksCallbackMap[m].mouseLeave, !1); 10796 this.handleCallbackMap.handle1 && this.handleCallbackMap.handle2 && (this.handle1.removeEventListener("mouseenter", this.handleCallbackMap.handle1.mouseEnter, !1), this.handle2.removeEventListener("mouseenter", this.handleCallbackMap.handle2.mouseEnter, !1), this.handle1.removeEventListener("mouseleave", this.handleCallbackMap.handle1.mouseLeave, !1), this.handle2.removeEventListener("mouseleave", this.handleCallbackMap.handle2.mouseLeave, !1)); 10797 } 10798 this.handleCallbackMap = null, this.ticksCallbackMap = null, this.showTooltip && this._removeTooltipListener("focus", this.showTooltip), this.hideTooltip && this._removeTooltipListener("blur", this.hideTooltip), this.showTooltip && this.sliderElem.removeEventListener("mouseenter", this.showTooltip, !1), this.hideTooltip && this.sliderElem.removeEventListener("mouseleave", this.hideTooltip, !1), this.sliderElem.removeEventListener("mousedown", this.mousedown, !1), this.touchCapable && (this.showTooltip && (this.handle1.removeEventListener("touchstart", this.showTooltip, !1), this.handle1.removeEventListener("touchmove", this.showTooltip, !1), this.handle2.removeEventListener("touchstart", this.showTooltip, !1), this.handle2.removeEventListener("touchmove", this.showTooltip, !1)), this.hideTooltip && (this.handle1.removeEventListener("touchend", this.hideTooltip, !1), this.handle2.removeEventListener("touchend", this.hideTooltip, !1)), this.showTooltip && (this.sliderElem.removeEventListener("touchstart", this.showTooltip, !1), this.sliderElem.removeEventListener("touchmove", this.showTooltip, !1)), this.hideTooltip && this.sliderElem.removeEventListener("touchend", this.hideTooltip, !1), this.sliderElem.removeEventListener("touchstart", this.touchstart, !1), this.sliderElem.removeEventListener("touchmove", this.touchmove, !1)), window.removeEventListener("resize", this.resize, !1); 10799 }, 10800 _bindNonQueryEventHandler: function(d, m) { 10801 this.eventToCallbackMap[d] === void 0 && (this.eventToCallbackMap[d] = []), this.eventToCallbackMap[d].push(m); 10802 }, 10803 _unbindNonQueryEventHandler: function(d, m) { 10804 var b = this.eventToCallbackMap[d]; 10805 if (b !== void 0) { 10806 for (var S = 0; S < b.length; S++) 10807 if (b[S] === m) { 10808 b.splice(S, 1); 10809 break; 10810 } 10811 } 10812 }, 10813 _cleanUpEventCallbacksMap: function() { 10814 for (var d = Object.keys(this.eventToCallbackMap), m = 0; m < d.length; m++) { 10815 var b = d[m]; 10816 delete this.eventToCallbackMap[b]; 10817 } 10818 }, 10819 _showTooltip: function() { 10820 this.options.tooltip_split === !1 ? (this._addClass(this.tooltip, "show"), this.tooltip_min.style.display = "none", this.tooltip_max.style.display = "none") : (this._addClass(this.tooltip_min, "show"), this._addClass(this.tooltip_max, "show"), this.tooltip.style.display = "none"), this._state.over = !0; 10821 }, 10822 _hideTooltip: function() { 10823 this._state.inDrag === !1 && this._alwaysShowTooltip !== !0 && (this._removeClass(this.tooltip, "show"), this._removeClass(this.tooltip_min, "show"), this._removeClass(this.tooltip_max, "show")), this._state.over = !1; 10824 }, 10825 _setToolTipOnMouseOver: function(d) { 10826 var m = this, b = this.options.formatter(d ? d.value[0] : this._state.value[0]), S = d ? w(d, this.options.reversed) : w(this._state, this.options.reversed); 10827 this._setText(this.tooltipInner, b), this.tooltip.style[this.stylePos] = S[0] + "%"; 10828 function w(D, T) { 10829 return T ? [100 - D.percentage[0], m.options.range ? 100 - D.percentage[1] : D.percentage[1]] : [D.percentage[0], D.percentage[1]]; 10830 } 10831 }, 10832 _copyState: function() { 10833 return { 10834 value: [this._state.value[0], this._state.value[1]], 10835 enabled: this._state.enabled, 10836 offset: this._state.offset, 10837 size: this._state.size, 10838 percentage: [this._state.percentage[0], this._state.percentage[1], this._state.percentage[2]], 10839 inDrag: this._state.inDrag, 10840 over: this._state.over, 10841 // deleted or null'd keys 10842 dragged: this._state.dragged, 10843 keyCtrl: this._state.keyCtrl 10844 }; 10845 }, 10846 _addTickListener: function() { 10847 return { 10848 addMouseEnter: function(m, b, S) { 10849 var w = function() { 10850 var T = m._copyState(), _ = b === m.handle1 ? T.value[0] : T.value[1], x = void 0; 10851 S !== void 0 ? (_ = m.options.ticks[S], x = m.options.ticks_positions.length > 0 && m.options.ticks_positions[S] || m._toPercentage(m.options.ticks[S])) : x = m._toPercentage(_), T.value[0] = _, T.percentage[0] = x, m._setToolTipOnMouseOver(T), m._showTooltip(); 10852 }; 10853 return b.addEventListener("mouseenter", w, !1), w; 10854 }, 10855 addMouseLeave: function(m, b) { 10856 var S = function() { 10857 m._hideTooltip(); 10858 }; 10859 return b.addEventListener("mouseleave", S, !1), S; 10860 } 10861 }; 10862 }, 10863 _layout: function() { 10864 var d, m; 10865 if (this.options.reversed ? d = [100 - this._state.percentage[0], this.options.range ? 100 - this._state.percentage[1] : this._state.percentage[1]] : d = [this._state.percentage[0], this._state.percentage[1]], this.handle1.style[this.stylePos] = d[0] + "%", this.handle1.setAttribute("aria-valuenow", this._state.value[0]), m = this.options.formatter(this._state.value[0]), isNaN(m) ? this.handle1.setAttribute("aria-valuetext", m) : this.handle1.removeAttribute("aria-valuetext"), this.handle2.style[this.stylePos] = d[1] + "%", this.handle2.setAttribute("aria-valuenow", this._state.value[1]), m = this.options.formatter(this._state.value[1]), isNaN(m) ? this.handle2.setAttribute("aria-valuetext", m) : this.handle2.removeAttribute("aria-valuetext"), this.rangeHighlightElements.length > 0 && Array.isArray(this.options.rangeHighlights) && this.options.rangeHighlights.length > 0) 10866 for (var b = 0; b < this.options.rangeHighlights.length; b++) { 10867 var S = this._toPercentage(this.options.rangeHighlights[b].start), w = this._toPercentage(this.options.rangeHighlights[b].end); 10868 if (this.options.reversed) { 10869 var D = 100 - w; 10870 w = 100 - S, S = D; 10871 } 10872 var T = this._createHighlightRange(S, w); 10873 T ? this.options.orientation === "vertical" ? (this.rangeHighlightElements[b].style.top = T.start + "%", this.rangeHighlightElements[b].style.height = T.size + "%") : (this.options.rtl ? this.rangeHighlightElements[b].style.right = T.start + "%" : this.rangeHighlightElements[b].style.left = T.start + "%", this.rangeHighlightElements[b].style.width = T.size + "%") : this.rangeHighlightElements[b].style.display = "none"; 10874 } 10875 if (Array.isArray(this.options.ticks) && this.options.ticks.length > 0) { 10876 var _ = this.options.orientation === "vertical" ? "height" : "width", x; 10877 this.options.orientation === "vertical" ? x = "marginTop" : this.options.rtl ? x = "marginRight" : x = "marginLeft"; 10878 var p = this._state.size / (this.options.ticks.length - 1); 10879 if (this.tickLabelContainer) { 10880 var N = 0; 10881 if (this.options.ticks_positions.length === 0) 10882 this.options.orientation !== "vertical" && (this.tickLabelContainer.style[x] = -p / 2 + "px"), N = this.tickLabelContainer.offsetHeight; 10883 else 10884 for (V = 0; V < this.tickLabelContainer.childNodes.length; V++) 10885 this.tickLabelContainer.childNodes[V].offsetHeight > N && (N = this.tickLabelContainer.childNodes[V].offsetHeight); 10886 this.options.orientation === "horizontal" && (this.sliderElem.style.marginBottom = N + "px"); 10887 } 10888 for (var V = 0; V < this.options.ticks.length; V++) { 10889 var P = this.options.ticks_positions[V] || this._toPercentage(this.options.ticks[V]); 10890 this.options.reversed && (P = 100 - P), this.ticks[V].style[this.stylePos] = P + "%", this._removeClass(this.ticks[V], "in-selection"), this.options.range ? P >= d[0] && P <= d[1] && this._addClass(this.ticks[V], "in-selection") : this.options.selection === "after" && P >= d[0] ? this._addClass(this.ticks[V], "in-selection") : this.options.selection === "before" && P <= d[0] && this._addClass(this.ticks[V], "in-selection"), this.tickLabels[V] && (this.tickLabels[V].style[_] = p + "px", this.options.orientation !== "vertical" && this.options.ticks_positions[V] !== void 0 ? (this.tickLabels[V].style.position = "absolute", this.tickLabels[V].style[this.stylePos] = P + "%", this.tickLabels[V].style[x] = -p / 2 + "px") : this.options.orientation === "vertical" && (this.options.rtl ? this.tickLabels[V].style.marginRight = this.sliderElem.offsetWidth + "px" : this.tickLabels[V].style.marginLeft = this.sliderElem.offsetWidth + "px", this.tickLabelContainer.style[x] = this.sliderElem.offsetWidth / 2 * -1 + "px"), this._removeClass(this.tickLabels[V], "label-in-selection label-is-selection"), this.options.range ? P >= d[0] && P <= d[1] && (this._addClass(this.tickLabels[V], "label-in-selection"), (P === d[0] || d[1]) && this._addClass(this.tickLabels[V], "label-is-selection")) : (this.options.selection === "after" && P >= d[0] ? this._addClass(this.tickLabels[V], "label-in-selection") : this.options.selection === "before" && P <= d[0] && this._addClass(this.tickLabels[V], "label-in-selection"), P === d[0] && this._addClass(this.tickLabels[V], "label-is-selection"))); 10891 } 10892 } 10893 var M; 10894 if (this.options.range) { 10895 M = this.options.formatter(this._state.value), this._setText(this.tooltipInner, M), this.tooltip.style[this.stylePos] = (d[1] + d[0]) / 2 + "%"; 10896 var U = this.options.formatter(this._state.value[0]); 10897 this._setText(this.tooltipInner_min, U); 10898 var re = this.options.formatter(this._state.value[1]); 10899 this._setText(this.tooltipInner_max, re), this.tooltip_min.style[this.stylePos] = d[0] + "%", this.tooltip_max.style[this.stylePos] = d[1] + "%"; 10900 } else 10901 M = this.options.formatter(this._state.value[0]), this._setText(this.tooltipInner, M), this.tooltip.style[this.styleP
10901os] = d[0] + "%"; 10902 if (this.options.orientation === "vertical") 10903 this.trackLow.style.top = "0", this.trackLow.style.height = Math.min(d[0], d[1]) + "%", this.trackSelection.style.top = Math.min(d[0], d[1]) + "%", this.trackSelection.style.height = Math.abs(d[0] - d[1]) + "%", this.trackHigh.style.bottom = "0", this.trackHigh.style.height = 100 - Math.min(d[0], d[1]) - Math.abs(d[0] - d[1]) + "%"; 10904 else { 10905 this.stylePos === "right" ? this.trackLow.style.right = "0" : this.trackLow.style.left = "0", this.trackLow.style.width = Math.min(d[0], d[1]) + "%", this.stylePos === "right" ? this.trackSelection.style.right = Math.min(d[0], d[1]) + "%" : this.trackSelection.style.left = Math.min(d[0], d[1]) + "%", this.trackSelection.style.width = Math.abs(d[0] - d[1]) + "%", this.stylePos === "right" ? this.trackHigh.style.left = "0" : this.trackHigh.style.right = "0", this.trackHigh.style.width = 100 - Math.min(d[0], d[1]) - Math.abs(d[0] - d[1]) + "%"; 10906 var Q = this.tooltip_min.getBoundingClientRect(), ne = this.tooltip_max.getBoundingClientRect(); 10907 this.options.tooltip_position === "bottom" ? Q.right > ne.left ? (this._removeClass(this.tooltip_max, "bs-tooltip-bottom"), this._addClass(this.tooltip_max, "bs-tooltip-top"), this.tooltip_max.style.top = "", this.tooltip_max.style.bottom = "22px") : (this._removeClass(this.tooltip_max, "bs-tooltip-top"), this._addClass(this.tooltip_max, "bs-tooltip-bottom"), this.tooltip_max.style.top = this.tooltip_min.style.top, this.tooltip_max.style.bottom = "") : Q.right > ne.left ? (this._removeClass(this.tooltip_max, "bs-tooltip-top"), this._addClass(this.tooltip_max, "bs-tooltip-bottom"), this.tooltip_max.style.top = "18px") : (this._removeClass(this.tooltip_max, "bs-tooltip-bottom"), this._addClass(this.tooltip_max, "bs-tooltip-top"), this.tooltip_max.style.top = this.tooltip_min.style.top); 10908 } 10909 }, 10910 _createHighlightRange: function(d, m) { 10911 return this._isHighlightRange(d, m) ? d > m ? { start: m, size: d - m } : { start: d, size: m - d } : null; 10912 }, 10913 _isHighlightRange: function(d, m) { 10914 return 0 <= d && d <= 100 && 0 <= m && m <= 100; 10915 }, 10916 _resize: function(d) { 10917 this._state.offset = this._offset(this.sliderElem), this._state.size = this.sliderElem[this.sizePos], this._layout(); 10918 }, 10919 _removeProperty: function(d, m) { 10920 d.style.removeProperty ? d.style.removeProperty(m) : d.style.removeAttribute(m); 10921 }, 10922 _mousedown: function(d) { 10923 if (!this._state.enabled) 10924 return !1; 10925 d.preventDefault && d.preventDefault(), this._state.offset = this._offset(this.sliderElem), this._state.size = this.sliderElem[this.sizePos]; 10926 var m = this._getPercentage(d); 10927 if (this.options.range) { 10928 var b = Math.abs(this._state.percentage[0] - m), S = Math.abs(this._state.percentage[1] - m); 10929 this._state.dragged = b < S ? 0 : 1, this._adjustPercentageForRangeSliders(m); 10930 } else 10931 this._state.dragged = 0; 10932 this._state.percentage[this._state.dragged] = m, this.touchCapable && (document.removeEventListener("touchmove", this.mousemove, !1), document.removeEventListener("touchend", this.mouseup, !1)), this.mousemove && document.removeEventListener("mousemove", this.mousemove, !1), this.mouseup && document.removeEventListener("mouseup", this.mouseup, !1), this.mousemove = this._mousemove.bind(this), this.mouseup = this._mouseup.bind(this), this.touchCapable && (document.addEventListener("touchmove", this.mousemove, !1), document.addEventListener("touchend", this.mouseup, !1)), document.addEventListener("mousemove", this.mousemove, !1), document.addEventListener("mouseup", this.mouseup, !1), this._state.inDrag = !0; 10933 var w = this._calculateValue(); 10934 return this._trigger("slideStart", w), this.setValue(w, !1, !0), d.returnValue = !1, this.options.focus && this._triggerFocusOnHandle(this._state.dragged), !0; 10935 }, 10936 _touchstart: function(d) { 10937 this._mousedown(d); 10938 }, 10939 _triggerFocusOnHandle: function(d) { 10940 d === 0 && this.handle1.focus(), d === 1 && this.handle2.focu
10940s(); 10941 }, 10942 _keydown: function(d, m) { 10943 if (!this._state.enabled) 10944 return !1; 10945 var b; 10946 switch (m.keyCode) { 10947 case 37: 10948 case 40: 10949 b = -1; 10950 break; 10951 case 39: 10952 case 38: 10953 b = 1; 10954 break; 10955 } 10956 if (b) { 10957 if (this.options.natural_arrow_keys) { 10958 var S = this.options.orientation === "horizontal", w = this.options.orientation === "vertical", D = this.options.rtl, T = this.options.reversed; 10959 S ? D ? T || (b = -b) : T && (b = -b) : w && (T || (b = -b)); 10960 } 10961 var _; 10962 if (this.ticksAreValid && this.options.lock_to_ticks) { 10963 var x = void 0; 10964 x = this.options.ticks.indexOf(this._state.value[d]), x === -1 && (x = 0, window.console.warn("(lock_to_ticks) _keydown: index should not be -1")), x += b, x = Math.max(0, Math.min(this.options.ticks.length - 1, x)), _ = this.options.ticks[x]; 10965 } else 10966 _ = this._state.value[d] + b * this.options.step; 10967 var p = this._toPercentage(_); 10968 if (this._state.keyCtrl = d, this.options.range) { 10969 this._adjustPercentageForRangeSliders(p); 10970 var N = this._state.keyCtrl ? this._state.value[0] : _, V = this._state.keyCtrl ? _ : this._state.value[1]; 10971 _ = [Math.max(this.options.min, Math.min(this.options.max, N)), Math.max(this.options.min, Math.min(this.options.max, V))]; 10972 } else 10973 _ = Math.max(this.options.min, Math.min(this.options.max, _)); 10974 return this._trigger("slideStart", _), this.setValue(_, !0, !0), this._trigger("slideStop", _), this._pauseEvent(m), delete this._state.keyCtrl, !1; 10975 } 10976 }, 10977 _pauseEvent: function(d) { 10978 d.stopPropagation && d.stopPropagation(), d.preventDefault && d.preventDefault(), d.cancelBubble = !0, d.returnValue = !1; 10979 }, 10980 _mousemove: function(d) { 10981 if (!this._state.enabled) 10982 return !1; 10983 var m = this._getPercentage(d); 10984 this._adjustPercentageForRangeSliders(m), this._state.percentage[this._state.dragged] = m; 10985 var b = this._calculateValue(!0); 10986 return this.setValue(b, !0, !0), !1; 10987 }, 10988 _touchmove: function(d) { 10989 d.changedTouches !== void 0 && d.preventDefault && d.preventDefault(); 10990 }, 10991 _adjustPercentageForRangeSliders: function(d) { 10992 if (this.options.range) { 10993 var m = this._getNumDigitsAfterDecimalPlace(d); 10994 m = m ? m - 1 : 0; 10995 var b = this._applyToFixedAndParseFloat(d, m); 10996 this._state.dragged === 0 && this._applyToFixedAndParseFloat(this._state.percentage[1], m) < b ? (this._state.percentage[0] = this._state.percentage[1], this._state.dragged = 1) : this._state.dragged === 1 && this._applyToFixedAndParseFloat(this._state.percentage[0], m) > b ? (this._state.percentage[1] = this._state.percentage[0], this._state.dragged = 0) : this._state.keyCtrl === 0 && this._toPercentage(this._state.value[1]) < d ? (this._state.percentage[0] = this._state.percentage[1], this._state.keyCtrl = 1, this.handle2.focus()) : this._state.keyCtrl === 1 && this._toPercentage(this._state.value[0]) > d && (this._state.percentage[1] = this._state.percentage[0], this._state.keyCtrl = 0, this.handle1.focus()); 10997 } 10998 }, 10999 _mouseup: function(d) { 11000 if (!this._state.enabled) 11001 return !1; 11002 var m = this._getPercentage(d); 11003 this._adjustPercentageForRangeSliders(m), this._state.percentage[this._state.dragged] = m, this.touchCapable && (document.removeEventListener("touchmove", this.mousemove, !1), document.removeEventListener("touchend", this.mouseup, !1)), document.removeEventListener("mousemove", this.mousemove, !1), document.removeEventListener("mouseup", this.mouseup, !1), this._state.inDrag = !1, this._state.over === !1 && this._hideTooltip(); 11004 var b = this._calculateValue(!0);
11005 return this.setValue(b, !1, !0), this._trigger("slideStop", b), this._state.dragged = null, !1; 11006 }, 11007 _setValues: function(d, m) { 11008 var b = d === 0 ? 0 : 100; 11009 this._state.percentage[d] !== b && (m.data[d] = this._toValue(this._state.percentage[d]), m.data[d] = this._applyPrecision(m.data[d])); 11010 }, 11011 _calculateValue: function(d) { 11012 var m = {}; 11013 return this.options.range ? (m.data = [this.options.min, this.options.max], this._setValues(0, m), this._setValues(1, m), d && (m.data[0] = this._snapToClosestTick(m.data[0]), m.data[1] = this._snapToClosestTick(m.data[1]))) : (m.data = this._toValue(this._state.percentage[0]), m.data = parseFloat(m.data), m.data = this._applyPrecision(m.data), d && (m.data = this._snapToClosestTick(m.data))), m.data; 11014 }, 11015 _snapToClosestTick: function(d) { 11016 for (var m = [d, 1 / 0], b = 0; b < this.options.ticks.length; b++) { 11017 var S = Math.abs(this.options.ticks[b] - d); 11018 S <= m[1] && (m = [this.options.ticks[b], S]); 11019 } 11020 return m[1] <= this.options.ticks_snap_bounds ? m[0] : d; 11021 }, 11022 _applyPrecision: function(d) { 11023 var m = this.options.precision || this._getNumDigitsAfterDecimalPlace(this.options.step); 11024 return this._applyToFixedAndParseFloat(d, m); 11025 }, 11026 _getNumDigitsAfterDecimalPlace: function(d) { 11027 var m = ("" + d).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); 11028 return m ? Math.max(0, (m[1] ? m[1].length : 0) - (m[2] ? +m[2] : 0)) : 0; 11029 }, 11030 _applyToFixedAndParseFloat: function(d, m) { 11031 var b = d.toFixed(m); 11032 return parseFloat(b); 11033 }, 11034 /* 11035 Credits to Mike Samuel for the following method! 11036 Source: http://stackoverflow.com/questions/10454518/javascript-how-to-retrieve-the-number-of-decimals-of-a-string-number 11037 */ 11038 _getPercentage: function(d) { 11039 this.touchCapable && (d.type === "touchstart" || d.type === "touchmove" || d.type === "touchend") && (d = d.changedTouches[0]); 11040 var m = d[this.mousePos], b = this._state.offset[this.stylePos], S = m - b; 11041 this.stylePos === "right" && (S = -S); 11042 var w = S / this._state.size * 100; 11043 return w = Math.round(w / this._state.percentage[2]) * this._state.percentage[2], this.options.reversed && (w = 100 - w), Math.max(0, Math.min(100, w)); 11044 }, 11045 _validateInputValue: function(d) { 11046 if (isNaN(+d)) { 11047 if (Array.isArray(d)) 11048 return this._validateArray(d), d; 11049 throw new Error(l.formatInvalidInputErrorMsg(d)); 11050 } else 11051 return +d; 11052 }, 11053 _validateArray: function(d) { 11054 for (var m = 0; m < d.length; m++) { 11055 var b = d[m]; 11056 if (typeof b != "number") 11057 throw new Error(l.formatInvalidInputErrorMsg(b)); 11058 } 11059 }, 11060 _setDataVal: function(d) { 11061 this.element.setAttribute("data-value", d), this.element.setAttribute("value", d), this.element.value = d; 11062 }, 11063 _trigger: function(d, m) { 11064 m = m || m === 0 ? m : void 0; 11065 var b = this.eventToCallbackMap[d]; 11066 if (b && b.length) 11067 for (var S = 0; S < b.length; S++) { 11068 var w = b[S]; 11069 w(m); 11070 } 11071 s && this._triggerJQueryEvent(d, m); 11072 }, 11073 _triggerJQueryEvent: function(d, m) { 11074 var b = { 11075 type: d, 11076 value: m 11077 }; 11078 this.$element.trigger(b), this.$sliderElem.trigger(b); 11079 }, 11080 _unbindJQueryEventHandlers: function() { 11081 this.$element.off(), this.$sliderElem.off(); 11082 }, 11083 _setText: function(d, m) { 11084 typeof d.textContent < "u" ? d.textContent = m : typeof d.innerText < "u" && (d.innerText = m); 11085 }, 11086 _removeClass: function(d, m) { 11087 for (var b = m.split(" "), S = d.className, w = 0; w < b.length; w++) { 11088 var D = b[w], T = new RegExp("(?:\\s|^)" + D + "(?:\\s|$)"); 11089 S = S.replace(T, " "); 11090 } 11091 d.className = S.trim(); 11092 }, 11093 _addClass: function(d, m) {
11094 for (var b = m.split(" "), S = d.className, w = 0; w < b.length; w++) { 11095 var D = b[w], T = new RegExp("(?:\\s|^)" + D + "(?:\\s|$)"), _ = T.test(S); 11096 _ || (S += " " + D); 11097 } 11098 d.className = S.trim(); 11099 }, 11100 _offsetLeft: function(d) { 11101 return d.getBoundingClientRect().left; 11102 }, 11103 _offsetRight: function(d) { 11104 return d.getBoundingClientRect().right; 11105 }, 11106 _offsetTop: function(d) { 11107 for (var m = d.offsetTop; (d = d.offsetParent) && !isNaN(d.offsetTop); ) 11108 m += d.offsetTop, d.tagName !== "BODY" && (m -= d.scrollTop); 11109 return m; 11110 }, 11111 _offset: function(d) { 11112 return { 11113 left: this._offsetLeft(d), 11114 right: this._offsetRight(d), 11115 top: this._offsetTop(d) 11116 }; 11117 }, 11118 _css: function(d, m, b) { 11119 if (s) 11120 s.style(d, m, b); 11121 else { 11122 var S = m.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(w, D) { 11123 return D.toUpperCase(); 11124 }); 11125 d.style[S] = b; 11126 } 11127 }, 11128 _toValue: function(d) { 11129 return this.options.scale.toValue.apply(this, [d]); 11130 }, 11131 _toPercentage: function(d) { 11132 return this.options.scale.toPercentage.apply(this, [d]); 11133 }, 11134 _setTooltipPosition: function() { 11135 var d = [this.tooltip, this.tooltip_min, this.tooltip_max]; 11136 if (this.options.orientation === "vertical") { 11137 var m; 11138 this.options.tooltip_position ? m = this.options.tooltip_position : this.options.rtl ? m = "left" : m = "right"; 11139 var b = m === "left" ? "right" : "left"; 11140 d.forEach(function(S) { 11141 this._addClass(S, "bs-tooltip-" + m), S.style[b] = "100%"; 11142 }.bind(this)); 11143 } else 11144 this.options.tooltip_position === "bottom" ? d.forEach(function(S) { 11145 this._addClass(S, "bs-tooltip-bottom"), S.style.top = "22px"; 11146 }.bind(this)) : d.forEach(function(S) { 11147 this._addClass(S, "bs-tooltip-top"), S.style.top = -this.tooltip.outerHeight - 14 + "px"; 11148 }.bind(this)); 11149 }, 11150 _getClosestTickIndex: function(d) { 11151 for (var m = Math.abs(d - this.options.ticks[0]), b = 0, S = 0; S < this.options.ticks.length; ++S) { 11152 var w = Math.abs(d - this.options.ticks[S]); 11153 w < m && (m = w, b = S); 11154 } 11155 return b; 11156 }, 11157 /** 11158 * Attempts to find the index in `ticks[]` the slider values are set at. 11159 * The indexes can be -1 to indicate the slider value is not set at a value in `ticks[]`. 11160 */ 11161 _setTickIndex: function() { 11162 this.ticksAreValid && (this._state.tickIndex = [this.options.ticks.indexOf(this._state.value[0]), this.options.ticks.indexOf(this._state.value[1])]); 11163 } 11164 }, s && s.fn && (s.fn.slider ? (r && window.console.warn("bootstrap-slider.js - WARNING: $.fn.slider namespace is already bound. Use the $.fn.bootstrapSlider namespace instead."), u = o) : (s.bridget(i, a), u = i), s.bridget(o, a), s(function() { 11165 s("input[data-provide=slider]")[u](); 11166 })); 11167 }(n), a; 11168 }); 11169})(n0); 11170n0.exports; 11171const UA = () => { 11172 var t = !0, e = function() { 11173 t = !0; 11174 }, r = function() { 11175 t = !1; 11176 }, n = null, i = null, o = null, a = null; 11177 function s(_) { 11178 n = _, i = Y("#" + _), a = Y("<div></div>").hide().addClass("acResults").addClass(_).css({ 11179 position: "absolute" 11180 }), Y("body").append(a); 11181 var x = function() { 11182 g(); 11183 }; 11184 i.blur(function() { 11185 t && setTimeout(x, 200); 11186 }), i.keydown(function(p) { 11187 var N = p.keyCode; 11188 switch (N) { 11189 case 35: 11190 case 36: 11191 case 16: 11192 case 17: 11193 case 18: 11194 case 37: 11195 case 39: 11196 break; 11197 case 38: 11198 return p.preventDefault(), h() && S(), !1; 11199 case 40: 11200 return p.preventDefault(), h() && (r(), b(), e()), !1; 11201 case 9: 11202 h() && d(); 11203 break; 11204 case 13: 11205 if (h()) 11206 return p.preventDefault(), d(), !1; 11207 break; 11208 case 27: 11209 if (h()) 11210 return p.preventDefault(), g(), !1; 11211 break; 11212 } 11213 }); 11214 } 11215 function u(_, x) { 11216 o = x; 11217 var p = Y("<ul></ul>"), N = !1; 11218 if (_.forEach(function(P) { 11219 i.val() == P && (N = !0); 11220 }), !N) { 11221 _.forEach(function(P) { 11222 var M = l(P, i.val()); 11223 p.append(M); 11224 }), a.html(p).show(), f(); 11225 var V = i.outerWidth() - a.outerWidth() + a.width(); 11226 a.css("min-width", V); 11227 } 11228 } 11229 function l(_, x) { 11230 var p = Y("<li>" + _.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + x.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi, "\\$1") + ")(?![^<>]*>)(?![^&;]+;)", "gi"), "<strong>$1</strong>") + "</li>"); 11231 return p.data({ value: _ }).hover(function(N) { 11232 Y(this).addClass("acSelect"); 11233 }, function(N) { 11234 Y(this).removeClass("acSelect"); 11235 }).mousedown(r).mouseup(function() { 11236 o(_), i.val(_), g(), e(); 11237 }), p; 11238 } 11239 function f() { 11240 var _ = i.offset(), x = a.outerHeight(), p = Y(window).outerHeight(), N = _.top + i.outerHeight(), V = N + x, P = { top: N, left: _.left }; 11241 if (V > p) { 11242 var M = _.top - x; 11243 M >= 0 && (P.top = M); 11244 } 11245 a.css(P); 11246 } 11247 function h() { 11248 return i.is(":visible"); 11249 } 11250 function g() { 11251 Y("." + n).hide(), Y("." + n).empty(); 11252 } 11253 function d() { 11254 if (a != null) { 11255 var _ = Y("li.acSelect", a); 11256 _.length === 1 && m(_); 11257 } 11258 } 11259 function m(_) { 11260 i.val(_.data("value")), i.focus(), o(_.data("value")), g(); 11261 } 11262 function b(_) { 11263 w(1); 11264 } 11265 function S(_) { 11266 w(-1); 11267 } 11268 function w(_) { 11269 for (var x = 0; x < T().length; x++) 11270 if (Y(T()[x]).hasClass("acSelect")) { 11271 D(x + _, _ > 0); 11272 return; 11273 } 11274 D(0); 11275 } 11276 function D(_, x) { 11277 var p, N = T(); 11278 N.length && (N.removeClass("acSelect"), _ < 0 ? _ = 0 : _ >= N.length && (_ = N.length - 1), p = Y(N[_]), p && p.addClass("acSelect"), _ > 8 && x && a.scrollTop(a.scrollTop() + p.outerHeight()), x || a.scrollTop(a.scrollTop() - p.outerHeight())); 11279 } 11280 function T() { 11281 return Y(">ul>li", a); 11282 } 11283 return { initAutocomplete: s, populateAutocomplete: u, hideAutocomplete: g }; 11284}, HA = "https://onlineservice.eins.de/powercommerce/eins/auth", zA = "https://onlineservice.eins.de/powercommerce/eins/fo", qo = { 11285 auth: WA(), 11286 maintenance: qA(), 11287 delete: Dc("DELETE"), 11288 get: Dc("GET"), 11289 post: Dc("POST"), 11290 put: Dc("PUT"), 11291 encodeUrlParameter: Wp, 11292 getCachedJSON: KA 11293}; 11294function Dc(t) { 11295 return (e, r) => { 11296 const n = o0(), { authToken: i } = Kl(n), o = { 11297 method: t, 11298 headers: { Authorization: "Bearer " + i.value } 11299 };
11300 return r && (o.headers["Content-Type"] = "application/json", o.body = JSON.stringify(r)), fetch(e, o).then(i0); 11301 }; 11302} 11303function WA() { 11304 return () => { 11305 const t = { 11306 method: "POST", 11307 headers: { Authorization: "Basic " + btoa("poco-eins:standard") } 11308 }, e = new FormData(); 11309 return e.append("grant_type", "password"), e.append("username", "anonymous"), e.append("scope", "frontoffice"), e.append("locale", "de_DE"), t.body = e, fetch(HA + "/oauth2/token", t).then(i0); 11310 }; 11311} 11312function qA() { 11313 return () => fetch(zA + "/portal/spaMaintenanceStatus.json").then(i0); 11314} 11315function Wp(t) { 11316 let e = new URL("http://example.com"); 11317 return Object.keys(t).forEach((r) => e.searchParams.append(r, t[r])), e.search; 11318} 11319function i0(t) { 11320 return t.text().then((e) => { 11321 const r = e && JSON.parse(e); 11322 if (!t.ok) { 11323 const { user: n, logout: i } = o0(); 11324 [401, 403].includes(t.status) && n && i(); 11325 const o = r && r.message || t.statusText; 11326 return Promise.reject(o); 11327 } 11328 return r; 11329 }); 11330} 11331function KA(t, e, r) { 11332 const n = JA(), i = n.cache[t + Wp(e)]; 11333 i ? r(JSON.parse(i)) : Y.getJSON(t, e, function(o) { 11334 n.cache[t + Wp(e)] = JSON.stringify(o), r(o); 11335 }); 11336} 11337var ZE = { exports: {} }; 11338(function(t, e) { 11339 (function(r, n) { 11340 t.exports = n(); 11341 })(Qu, function() { 11342 var r = 1e3, n = 6e4, i = 36e5, o = "millisecond", a = "second", s = "minute", u = "hour", l = "day", f = "week", h = "month", g = "quarter", d = "year", m = "date", b = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(ne) { 11343 var ee = ["th", "st", "nd", "rd"], L = ne % 100; 11344 return "[" + ne + (ee[(L - 20) % 10] || ee[L] || ee[0]) + "]"; 11345 } }, T = function(ne, ee, L) { 11346 var Z = String(ne); 11347 return !Z || Z.length >= ee ? ne : "" + Array(ee + 1 - Z.length).join(L) + ne; 11348 }, _ = { s: T, z: function(ne) { 11349 var ee = -ne.utcOffset(), L = Math.abs(ee), Z = Math.floor(L / 60), G = L % 60; 11350 return (ee <= 0 ? "+" : "-") + T(Z, 2, "0") + ":" + T(G, 2, "0"); 11351 }, m: function ne(ee, L) { 11352 if (ee.date() < L.date()) 11353 return -ne(L, ee); 11354 var Z = 12 * (L.year() - ee.year()) + (L.month() - ee.month()), G = ee.clone().add(Z, h), se = L - G < 0, de = ee.clone().add(Z + (se ? -1 : 1), h); 11355 return +(-(Z + (L - G) / (se ? G - de : de - G)) || 0); 11356 }, a: function(ne) { 11357 return ne < 0 ? Math.ceil(ne) || 0 : Math.floor(ne); 11358 }, p: function(ne) { 11359 return { M: h, y: d, w: f, d: l, D: m, h: u, m: s, s: a, ms: o, Q: g }[ne] || String(ne || "").toLowerCase().replace(/s$/, ""); 11360 }, u: function(ne) { 11361 return ne === void 0; 11362 } }, x = "en", p = {}; 11363 p[x] = D; 11364 var N = "$isDayjsObject", V = function(ne) { 11365 return ne instanceof re || !(!ne || !ne[N]); 11366 }, P = function ne(ee, L, Z) { 11367 var G; 11368 if (!ee) 11369 return x; 11370 if (typeof ee == "string") { 11371 var se = ee.toLowerCase(); 11372 p[se] && (G = se), L && (p[se] = L, G = se); 11373 var de = ee.split("-"); 11374 if (!G && de.length > 1) 11375 return ne(de[0]); 11376 } else { 11377 var Re = ee.name; 11378 p[Re] = ee, G = Re; 11379 } 11380 return !Z && G && (x = G), G || !Z && x; 11381 }, M = function(ne, ee) { 11382 if (V(ne)) 11383 return ne.clone(); 11384 var L = typeof ee == "object" ? ee : {}; 11385 return L.date = ne, L.args = arguments, new re(L); 11386 }, U = _; 11387 U.l = P, U.i = V, U.w = function(ne, ee) { 11388 return M(ne, { locale: ee.$L, utc: ee.$u, x: ee.$x, $offset: ee.$offset }); 11389 }; 11390 var re = function() { 11391 function ne(L) { 11392 this.$L = P(L.locale, null, !0), this.parse(L), this.$x = this.$x || L.x || {}, this[N] = !0; 11393 } 11394 var ee = ne.prototype; 11395 return ee.parse = function(L) { 11396 this.$d = function(Z) { 11397 var G = Z.date, se = Z.utc; 11398 if (G === null) 11399 return /* @__PURE__ */ new Date(NaN); 11400 if (U.u(G)) 11401 return /* @__PURE__ */ new Date(); 11402 if (G instanceof Date) 11403 return new Date(G); 11404 if (typeof G == "string" && !/Z$/i.test(G)) { 11405 var de = G.match(S); 11406 if (de) { 11407 var Re = de[2] - 1 || 0, ze = (de[7] || "0").substring(0, 3); 11408 return se ? new Date(Date.UTC(de[1], Re, de[3] || 1, de[4] || 0, de[5] || 0, de[6] || 0, ze)) : new Date(de[1], Re, de[3] || 1, de[4] || 0, de[5] || 0, de[6] || 0, ze); 11409 } 11410 } 11411 return new Date(G); 11412 }(L), this.init(); 11413 }, ee.init = function() { 11414 var L = this.$d; 11415 this.$y = L.getFullYear(), this.$M = L.getMonth(), this.$D = L.getDate(), this.$W = L.getDay(), this.$H = L.getHours(), this.$m = L.getMinutes(), this.$s = L.getSeconds(), this.$ms = L.getMilliseconds(); 11416 }, ee.$utils = function() { 11417 return U; 11418 }, ee.isValid = function() { 11419 return this.$d.toString() !== b; 11420 }, ee.isSame = function(L, Z) { 11421 var G = M(L);
vendor: 7,201 bytes, lines 11422-11616
11422 return this.startOf(Z) <= G && G <= this.endOf(Z); 11423 }, ee.isAfter = function(L, Z) { 11424 return M(L) < this.startOf(Z); 11425 }, ee.isBefore = function(L, Z) { 11426 return this.endOf(Z) < M(L); 11427 }, ee.$g = function(L, Z, G) { 11428 return U.u(L) ? this[Z] : this.set(G, L); 11429 }, ee.unix = function() { 11430 return Math.floor(this.valueOf() / 1e3); 11431 }, ee.valueOf = function() { 11432 return this.$d.getTime(); 11433 }, ee.startOf = function(L, Z) { 11434 var G = this, se = !!U.u(Z) || Z, de = U.p(L), Re = function($e, rt) { 11435 var _t = U.w(G.$u ? Date.UTC(G.$y, rt, $e) : new Date(G.$y, rt, $e), G); 11436 return se ? _t : _t.endOf(l); 11437 }, ze = function($e, rt) { 11438 return U.w(G.toDate()[$e].apply(G.toDate("s"), (se ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), G); 11439 }, je = this.$W, Le = this.$M, be = this.$D, Ve = "set" + (this.$u ? "UTC" : ""); 11440 switch (de) { 11441 case d: 11442 return se ? Re(1, 0) : Re(31, 11); 11443 case h: 11444 return se ? Re(1, Le) : Re(0, Le + 1); 11445 case f: 11446 var Be = this.$locale().weekStart || 0, Pe = (je < Be ? je + 7 : je) - Be; 11447 return Re(se ? be - Pe : be + (6 - Pe), Le); 11448 case l: 11449 case m: 11450 return ze(Ve + "Hours", 0); 11451 case u: 11452 return ze(Ve + "Minutes", 1); 11453 case s: 11454 return ze(Ve + "Seconds", 2); 11455 case a: 11456 return ze(Ve + "Milliseconds", 3); 11457 default: 11458 return this.clone(); 11459 } 11460 }, ee.endOf = function(L) { 11461 return this.startOf(L, !1); 11462 }, ee.$set = function(L, Z) { 11463 var G, se = U.p(L), de = "set" + (this.$u ? "UTC" : ""), Re = (G = {}, G[l] = de + "Date", G[m] = de + "Date", G[h] = de + "Month", G[d] = de + "FullYear", G[u] = de + "Hours", G[s] = de + "Minutes", G[a] = de + "Seconds", G[o] = de + "Milliseconds", G)[se], ze = se === l ? this.$D + (Z - this.$W) : Z; 11464 if (se === h || se === d) { 11465 var je = this.clone().set(m, 1); 11466 je.$d[Re](ze), je.init(), this.$d = je.set(m, Math.min(this.$D, je.daysInMonth())).$d; 11467 } else 11468 Re && this.$d[Re](ze); 11469 return this.init(), this; 11470 }, ee.set = function(L, Z) { 11471 return this.clone().$set(L, Z); 11472 }, ee.get = function(L) { 11473 return this[U.p(L)](); 11474 }, ee.add = function(L, Z) { 11475 var G, se = this; 11476 L = Number(L); 11477 var de = U.p(Z), Re = function(Le) { 11478 var be = M(se); 11479 return U.w(be.date(be.date() + Math.round(Le * L)), se); 11480 }; 11481 if (de === h) 11482 return this.set(h, this.$M + L); 11483 if (de === d) 11484 return this.set(d, this.$y + L); 11485 if (de === l) 11486 return Re(1); 11487 if (de === f) 11488 return Re(7); 11489 var ze = (G = {}, G[s] = n, G[u] = i, G[a] = r, G)[de] || 1, je = this.$d.getTime() + L * ze; 11490 return U.w(je, this); 11491 }, ee.subtract = function(L, Z) { 11492 return this.add(-1 * L, Z); 11493 }, ee.format = function(L) { 11494 var Z = this, G = this.$locale(); 11495 if (!this.isValid()) 11496 return G.invalidDate || b; 11497 var se = L || "YYYY-MM-DDTHH:mm:ssZ", de = U.z(this), Re = this.$H, ze = this.$m, je = this.$M, Le = G.weekdays, be = G.months, Ve = G.meridiem, Be = function(rt, _t, ar, Tt) { 11498 return rt && (rt[_t] || rt(Z, se)) || ar[_t].slice(0, Tt); 11499 }, Pe = function(rt) { 11500 return U.s(Re % 12 || 12, rt, "0"); 11501 }, $e = Ve || function(rt, _t, ar) { 11502 var Tt = rt < 12 ? "AM" : "PM"; 11503 return ar ? Tt.toLowerCase() : Tt; 11504 }; 11505 return se.replace(w, function(rt, _t) { 11506 return _t || function(ar) { 11507 switch (ar) { 11508 case "YY": 11509 return String(Z.$y).slice(-2); 11510 case "YYYY": 11511 return U.s(Z.$y, 4, "0"); 11512 case "M": 11513 return je + 1; 11514 case "MM": 11515 return U.s(je + 1, 2, "0"); 11516 case "MMM": 11517 return Be(G.monthsShort, je, be, 3); 11518 case "MMMM": 11519 return Be(be, je); 11520 case "D": 11521 return Z.$D; 11522 case "DD": 11523 return U.s(Z.$D, 2, "0"); 11524 case "d": 11525 return String(Z.$W); 11526 case "dd": 11527 return Be(G.weekdaysMin, Z.$W, Le, 2); 11528 case "ddd": 11529 return Be(G.weekdaysShort, Z.$W, Le, 3); 11530 case "dddd": 11531 return Le[Z.$W]; 11532 case "H": 11533 return String(Re); 11534 case "HH": 11535 return U.s(Re, 2, "0"); 11536 case "h": 11537 return Pe(1); 11538 case "hh": 11539 return Pe(2); 11540 case "a": 11541 return $e(Re, ze, !0); 11542 case "A": 11543 return $e(Re, ze, !1); 11544 case "m": 11545 return String(ze); 11546 case "mm": 11547 return U.s(ze, 2, "0"); 11548 case "s": 11549 return String(Z.$s); 11550 case "ss": 11551 return U.s(Z.$s, 2, "0"); 11552 case "SSS": 11553 return U.s(Z.$ms, 3, "0"); 11554 case "Z": 11555 return de; 11556 } 11557 return null; 11558 }(rt) || de.replace(":", ""); 11559 }); 11560 }, ee.utcOffset = function() { 11561 return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); 11562 }, ee.diff = function(L, Z, G) { 11563 var se, de = this, Re = U.p(Z), ze = M(L), je = (ze.utcOffset() - this.utcOffset()) * n, Le = this - ze, be = function() { 11564 return U.m(de, ze); 11565 }; 11566 switch (Re) { 11567 case d: 11568 se = be() / 12; 11569 break; 11570 case h: 11571 se = be(); 11572 break; 11573 case g: 11574 se = be() / 3; 11575 break; 11576 case f: 11577 se = (Le - je) / 6048e5; 11578 break; 11579 case l: 11580 se = (Le - je) / 864e5; 11581 break; 11582 case u: 11583 se = Le / i; 11584 break; 11585 case s: 11586 se = Le / n; 11587 break; 11588 case a: 11589 se = Le / r; 11590 break; 11591 default: 11592 se = Le; 11593 } 11594 return G ? se : U.a(se); 11595 }, ee.daysInMonth = function() { 11596 return this.endOf(h).$D; 11597 }, ee.$locale = function() { 11598 return p[this.$L]; 11599 }, ee.locale = function(L, Z) { 11600 if (!L) 11601 return this.$L; 11602 var G = this.clone(), se = P(L, Z, !0); 11603 return se && (G.$L = se), G; 11604 }, ee.clone = function() { 11605 return U.w(this.$d, this); 11606 }, ee.toDate = function() { 11607 return new Date(this.valueOf()); 11608 }, ee.toJSON = function() { 11609 return this.isValid() ? this.toISOString() : null; 11610 }, ee.toISOString = function() { 11611 return this.$d.toISOString(); 11612 }, ee.toString = function() { 11613 return this.$d.toUTCString(); 11614 }, ne; 11615 }(), Q = re.prototype; 11616 return M.prototype = Q, [["$ms", o], ["$s", a], ["$m", s], ["$H", u], ["$W", l], ["$M", h], ["$y", d], ["$D", m]].forEac
11616h(function(ne) { 11617 Q[ne[1]] = function(ee) { 11618 return this.$g(ee, ne[0], ne[1]); 11619 }; 11620 }), M.extend = function(ne, ee) { 11621 return ne.$i || (ne(ee, re, M), ne.$i = !0), M; 11622 }, M.locale = P, M.isDayjs = V, M.unix = function(ne) { 11623 return M(1e3 * ne); 11624 }, M.en = p[x], M.Ls = p, M.p = {}, M; 11625 }); 11626})(ZE); 11627var GA = ZE.exports; 11628const qp = /* @__PURE__ */ Qa(GA); 11629var Hh = { exports: {} }; 11630/*! @preserve 11631 * numeral.js 11632 * version : 2.0.6 11633 * author : Adam Draper 11634 * license : MIT 11635 * http://adamwdraper.github.com/Numeral-js/ 11636 */ 11637var Pm; 11638function JE() { 11639 return Pm || (Pm = 1, function(t) { 11640 (function(e, r) { 11641 t.exports ? t.exports = r() : e.numeral = r(); 11642 })(Qu, function() { 11643 var e, r, n = "2.0.6", i = {}, o = {}, a = { 11644 currentLocale: "en", 11645 zeroFormat: null, 11646 nullFormat: null, 11647 defaultFormat: "0,0", 11648 scalePercentBy100: !0 11649 }, s = { 11650 currentLocale: a.currentLocale, 11651 zeroFormat: a.zeroFormat, 11652 nullFormat: a.nullFormat, 11653 defaultFormat: a.defaultFormat, 11654 scalePercentBy100: a.scalePercentBy100 11655 }; 11656 function u(l, f) { 11657 this._input = l, this._value = f; 11658 } 11659 return e = function(l) { 11660 var f, h, g, d; 11661 if (e.isNumeral(l)) 11662 f = l.value(); 11663 else if (l === 0 || typeof l > "u") 11664 f = 0; 11665 else if (l === null || r.isNaN(l)) 11666 f = null; 11667 else if (typeof l == "string") 11668 if (s.zeroFormat && l === s.zeroFormat) 11669 f = 0; 11670 else if (s.nullFormat && l === s.nullFormat || !l.replace(/[^0-9]+/g, "").length) 11671 f = null; 11672 else { 11673 for (h in i) 11674 if (d = typeof i[h].regexps.unformat == "function" ? i[h].regexps.unformat() : i[h].regexps.unformat, d && l.match(d)) { 11675 g = i[h].unformat; 11676 break; 11677 } 11678 g = g || e._.stringToNumber, f = g(l); 11679 } 11680 else 11681 f = Number(l) || null; 11682 return new u(l, f); 11683 }, e.version = n, e.isNumeral = function(l) { 11684 return l instanceof u; 11685 }, e._ = r = { 11686 // formats numbers separators, decimals places, signs, abbreviations 11687 numberToFormat: function(l, f, h) { 11688 var g = o[e.options.currentLocale], d = !1, m = !1, b = 0, S = "", w = 1e12, D = 1e9, T = 1e6, _ = 1e3, x = "", p = !1, N, V, P, M, U, re, Q; 11689 if (l = l || 0, V = Math.abs(l), e._.includes(f, "(") ? (d = !0, f = f.replace(/[\(|\)]/g, "")) : (e._.includes(f, "+") || e._.includes(f, "-")) && (U = e._.includes(f, "+") ? f.indexOf("+") : l < 0 ? f.indexOf("-") : -1, f = f.replace(/[\+|\-]/g, "")), e._.includes(f, "a") && (N = f.match(/a(k|m|b|t)?/), N = N ? N[1] : !1, e._.includes(f, " a") && (S = " "), f = f.replace(new RegExp(S + "a[kmbt]?"), ""), V >= w && !N || N === "t" ? (S += g.abbreviations.trillion, l = l / w) : V < w && V >= D && !N || N === "b" ? (S += g.abbreviations.billion, l = l / D) : V < D && V >= T && !N || N === "m" ? (S += g.abbreviations.million, l = l / T) : (V < T && V >= _ && !N || N === "k") && (S += g.abbreviations.thousand, l = l / _)), e._.includes(f, "[.]") && (m = !0, f = f.replace("[.]", ".")), P = l.toString().split(".")[0], M = f.split(".")[1], re = f.indexOf(","), b = (f.split(".")[0].split(",")[0].match(/0/g) || []).length, M ? (e._.includes(M, "[") ? (M = M.replace("]", ""), M = M.split("["), x = e._.toFixed(l, M[0].length + M[1].length, h, M[1].length)) : x = e._.toFixed(l, M.length, h), P = x.split(".")[0], e._.includes(x, ".") ? x = g.delimiters.decimal + x.split(".")[1] : x = "", m && Number(x.slice(1)) === 0 && (x = "")) : P = e._.toFixed(l, 0, h), S && !N && Number(P) >= 1e3 && S !== g.abbreviations.trillion) 11690 switch (P = String(Number(P) / 1e3), S) { 11691 case g.abbreviations.thousand: 11692 S = g.abbreviations.million; 11693 break; 11694 case g.abbreviations.million: 11695 S = g.abbreviations.billion; 11696 break; 11697 case g.abbreviations.billion: 11698 S = g.abbreviations.trillion; 11699 break; 11700 } 11701 if (e._.includes(P, "-") && (P = P.slice(1), p = !0), P.length < b) 11702 for (var ne = b - P.length; ne > 0; ne--) 11703 P = "0" + P; 11704 return re > -1 && (P = P.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1" + g.delimiters.thousands)), f.indexOf(".") === 0 && (P = ""), Q = P + x + (S || ""), d ? Q = (d && p ? "(" : "") + Q + (d && p ? ")" : "") : U >= 0 ? Q = U === 0 ? (p ? "-" : "+") + Q : Q + (p ? "-" : "+") : p && (Q = "-" + Q), Q; 11705 }, 11706 // unformats numbers separators, decimals places, signs, abbreviations
11707 stringToNumber: function(l) { 11708 var f = o[s.currentLocale], h = l, g = { 11709 thousand: 3, 11710 million: 6, 11711 billion: 9, 11712 trillion: 12 11713 }, d, m, b; 11714 if (s.zeroFormat && l === s.zeroFormat) 11715 m = 0; 11716 else if (s.nullFormat && l === s.nullFormat || !l.replace(/[^0-9]+/g, "").length) 11717 m = null; 11718 else { 11719 m = 1, f.delimiters.decimal !== "." && (l = l.replace(/\./g, "").replace(f.delimiters.decimal, ".")); 11720 for (d in g) 11721 if (b = new RegExp("[^a-zA-Z]" + f.abbreviations[d] + "(?:\\)|(\\" + f.currency.symbol + ")?(?:\\))?)?$"), h.match(b)) { 11722 m *= Math.pow(10, g[d]); 11723 break; 11724 } 11725 m *= (l.split("-").length + Math.min(l.split("(").length - 1, l.split(")").length - 1)) % 2 ? 1 : -1, l = l.replace(/[^0-9\.]+/g, ""), m *= Number(l); 11726 } 11727 return m; 11728 }, 11729 isNaN: function(l) { 11730 return typeof l == "number" && isNaN(l); 11731 }, 11732 includes: function(l, f) { 11733 return l.indexOf(f) !== -1; 11734 }, 11735 insert: function(l, f, h) { 11736 return l.slice(0, h) + f + l.slice(h); 11737 }, 11738 reduce: function(l, f) { 11739 if (this === null) 11740 throw new TypeError("Array.prototype.reduce called on null or undefined"); 11741 if (typeof f != "function") 11742 throw new TypeError(f + " is not a function"); 11743 var h = Object(l), g = h.length >>> 0, d = 0, m; 11744 if (arguments.length === 3) 11745 m = arguments[2]; 11746 else { 11747 for (; d < g && !(d in h); ) 11748 d++; 11749 if (d >= g) 11750 throw new TypeError("Reduce of empty array with no initial value"); 11751 m = h[d++]; 11752 } 11753 for (; d < g; d++) 11754 d in h && (m = f(m, h[d], d, h)); 11755 return m; 11756 }, 11757 /** 11758 * Computes the multiplier necessary to make x >= 1, 11759 * effectively eliminating miscalculations caused by 11760 * finite precision. 11761 */ 11762 multiplier: function(l) { 11763 var f = l.toString().split("."); 11764 return f.length < 2 ? 1 : Math.pow(10, f[1].length); 11765 }, 11766 /** 11767 * Given a variable number of arguments, returns the maximum 11768 * multiplier that must be used to normalize an operation involving 11769 * all of them. 11770 */ 11771 correctionFactor: function() { 11772 var l = Array.prototype.slice.call(arguments); 11773 return l.reduce(function(f, h) { 11774 var g = r.multiplier(h); 11775 return f > g ? f : g; 11776 }, 1); 11777 }, 11778 /** 11779 * Implementation of toFixed() that treats floats more like decimals 11780 * 11781 * Fixes binary rounding issues (eg. (0.615).toFixed(2) === '0.61') that present 11782 * problems for accounting- and finance-related software. 11783 */ 11784 toFixed: function(l, f, h, g) { 11785 var d = l.toString().split("."), m = f - (g || 0), b, S, w, D; 11786 return d.length === 2 ? b = Math.min(Math.max(d[1].length, m), f) : b = m, w = Math.pow(10, b), D = (h(l + "e+" + b) / w).toFixed(b), g > f - b && (S = new RegExp("\\.?0{1," + (g - (f - b)) + "}$"), D = D.replace(S, "")), D; 11787 } 11788 }, e.options = s, e.formats = i, e.locales = o, e.locale = function(l) { 11789 return l && (s.currentLocale = l.toLowerCase()), s.currentLocale; 11790 }, e.localeData = function(l) { 11791 if (!l) 11792 return o[s.currentLocale]; 11793 if (l = l.toLowerCase(), !o[l]) 11794 throw new Error("Unknown locale : " + l); 11795 return o[l]; 11796 }, e.reset = function() { 11797 for (var l in a) 11798 s[l] = a[l]; 11799 }, e.zeroFormat = function(l) { 11800 s.zeroFormat = typeof l == "string" ? l : null; 11801 }, e.nullFormat = function(l) { 11802 s.nullFormat = typeof l == "string" ? l : null; 11803 }, e.defaultFormat = function(l) { 11804 s.defaultFormat = typeof l == "string" ? l : "0.0"; 11805 }, e.register = function(l, f, h) { 11806 if (f = f.toLowerCase(), this[l + "s"][f]) 11807 throw new TypeError(f + " " + l + " already registered."); 11808 return this[l + "s"][f] = h, h; 11809 }, e.validate = function(l, f) { 11810 var h, g, d, m, b, S, w, D; 11811 if (typeof l != "string" && (l += "", console.warn && console.warn("Numeral.js: Value is not string. It has been co-erced to: ", l)), l = l.trim(), l.match(/^\d+$/)) 11812 return !0; 11813 if (l === "") 11814 return !1; 11815 try { 11816 w = e.localeData(f); 11817 } catch { 11818 w = e.localeData(e.locale()); 11819 } 11820 return d = w.currency.symbol, b = w.abbreviations, h = w.delimiters.decimal, w.delimiters.thousands === "." ? g = "\\." : g = w.delimiters.thousands, D = l.match(/^[^\d]+/), D !== null && (l = l.substr(1), D[0] !== d) || (D = l.match(/[^\d]+$/), D !== null && (l = l.slice(0, -1), D[0] !== b.thousand && D[0] !== b.million && D[0] !== b.billion && D[0] !== b.trillion)) ? !1 : (S = new RegExp(g + "{2}"), l.match(/[^\d.,]/g) ? !1 : (m = l.split(h), m.length > 2 ? !1 : m.length < 2 ? !!m[0].match(/^\d+.*\d$/) && !m[0].match(S) : m[0].length === 1 ? !!m[0].match(/^\d+$/) && !m[0].match(S) && !!m[1].match(/^\d+$/) : !!m[0].match(/^\d+.*\d$/) && !m[0].match(S) && !!m[1].match(/^\d+$/))); 11821 }, e.fn = u.prototype = { 11822 clone: function() { 11823 return e(this); 11824 }, 11825 format: function(l, f) { 11826 var h = this._value, g = l || s.defaultFormat, d, m, b; 11827 if (f = f || Math.round, h === 0 && s.zeroFormat !== null) 11828 m = s.zeroFormat; 11829 else if (h === null && s.nullFormat !== null) 11830 m = s.nullFormat; 11831 else { 11832 for (d in i) 11833 if (g.match(i[d].regexps.format)) { 11834 b = i[d].format; 11835 break; 11836 } 11837 b = b || e._.numberToFormat, m = b(h, g, f); 11838 } 11839 return m; 11840 }, 11841 value: function() { 11842 return this._value; 11843 }, 11844 input: function() { 11845 return this._input; 11846 }, 11847 set: function(l) { 11848 return this._value = Number(l), this; 11849 }, 11850 add: function(l) { 11851 var f = r.correctionFactor.call(null, this._value, l); 11852 function h(g, d, m, b) { 11853 return g + Math.round(f * d); 11854 } 11855 return this._value = r.reduce([this._value, l], h, 0) / f, this; 11856 }, 11857 subtract: function(l) { 11858 var f = r.correctionFactor.call(null, this._value, l); 11859 function h(g, d, m, b) { 11860 return g - Math.round(f * d); 11861 } 11862 return this._value = r.reduce([l], h, Math.round(this._value * f)) / f, this; 11863 }, 11864 multiply: function(l) { 11865 function f(h, g, d, m) { 11866 var b = r.correctionFactor(h, g); 11867 return Math.round(h * b) * Math.round(g * b) / Math.round(b * b); 11868 } 11869 return this._value = r.reduce([this._value, l], f, 1), this; 11870 }, 11871 divide: function(l) { 11872 function f(h, g, d, m) { 11873 var b = r.correctionFactor(h, g); 11874 return Math.round(h * b) / Math.round(g * b); 11875 } 11876 return this._value = r.reduce([this._value, l], f), this; 11877 }, 11878 difference: function(l) { 11879 return Math.abs(e(this._value).subtract(l).value()); 11880 } 11881 }, e.register("locale", "en", { 11882 delimiters: { 11883 thousands: ",",
11884 decimal: "." 11885 }, 11886 abbreviations: { 11887 thousand: "k", 11888 million: "m", 11889 billion: "b", 11890 trillion: "t" 11891 }, 11892 ordinal: function(l) { 11893 var f = l % 10; 11894 return ~~(l % 100 / 10) === 1 ? "th" : f === 1 ? "st" : f === 2 ? "nd" : f === 3 ? "rd" : "th"; 11895 }, 11896 currency: { 11897 symbol: "$" 11898 } 11899 }), function() { 11900 e.register("format", "bps", { 11901 regexps: { 11902 format: /(BPS)/, 11903 unformat: /(BPS)/ 11904 }, 11905 format: function(l, f, h) { 11906 var g = e._.includes(f, " BPS") ? " " : "", d; 11907 return l = l * 1e4, f = f.replace(/\s?BPS/, ""), d = e._.numberToFormat(l, f, h), e._.includes(d, ")") ? (d = d.split(""), d.splice(-1, 0, g + "BPS"), d = d.join("")) : d = d + g + "BPS", d; 11908 }, 11909 unformat: function(l) { 11910 return +(e._.stringToNumber(l) * 1e-4).toFixed(15); 11911 } 11912 }); 11913 }(), function() { 11914 var l = { 11915 base: 1e3, 11916 suffixes: ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] 11917 }, f = { 11918 base: 1024, 11919 suffixes: ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"] 11920 }, h = l.suffixes.concat(f.suffixes.filter(function(d) { 11921 return l.suffixes.indexOf(d) < 0; 11922 })), g = h.join("|"); 11923 g = "(" + g.replace("B", "B(?!PS)") + ")", e.register("format", "bytes", { 11924 regexps: { 11925 format: /([0\s]i?b)/, 11926 unformat: new RegExp(g) 11927 }, 11928 format: function(d, m, b) { 11929 var S, w = e._.includes(m, "ib") ? f : l, D = e._.includes(m, " b") || e._.includes(m, " ib") ? " " : "", T, _, x; 11930 for (m = m.replace(/\s?i?b/, ""), T = 0; T <= w.suffixes.length; T++) 11931 if (_ = Math.pow(w.base, T), x = Math.pow(w.base, T + 1), d === null || d === 0 || d >= _ && d < x) { 11932 D += w.suffixes[T], _ > 0 && (d = d / _); 11933 break; 11934 } 11935 return S = e._.numberToFormat(d, m, b), S + D; 11936 }, 11937 unformat: function(d) { 11938 var m = e._.stringToNumber(d), b, S; 11939 if (m) { 11940 for (b = l.suffixes.length - 1; b >= 0; b--) { 11941 if (e._.includes(d, l.suffixes[b])) { 11942 S = Math.pow(l.base, b); 11943 break; 11944 } 11945 if (e._.includes(d, f.suffixes[b])) { 11946 S = Math.pow(f.base, b); 11947 break; 11948 } 11949 } 11950 m *= S || 1; 11951 } 11952 return m; 11953 } 11954 }); 11955 }(), function() { 11956 e.register("format", "currency", { 11957 regexps: { 11958 format: /(\$)/ 11959 }, 11960 format: function(l, f, h) { 11961 var g = e.locales[e.options.currentLocale], d = { 11962 before: f.match(/^([\+|\-|\(|\s|\$]*)/)[0], 11963 after: f.match(/([\+|\-|\)|\s|\$]*)$/)[0] 11964 }, m, b, S; 11965 for (f = f.replace(/\s?\$\s?/, ""), m = e._.numberToFormat(l, f, h), l >= 0 ? (d.before = d.before.replace(/[\-\(]/, ""), d.after = d.after.replace(/[\-\)]/, "")) : l < 0 && !e._.includes(d.before, "-") && !e._.includes(d.before, "(") && (d.before = "-" + d.before), S = 0; S < d.before.length; S++) 11966 switch (b = d.before[S], b) { 11967 case "$": 11968 m = e._.insert(m, g.currency.symbol, S); 11969 break; 11970 case " ": 11971 m = e._.insert(m, " ", S + g.currency.symbol.length - 1); 11972 break; 11973 } 11974 for (S = d.after.length - 1; S >= 0; S--) 11975 switch (b = d.after[S], b) { 11976 case "$": 11977 m = S === d.after.length - 1 ? m + g.currency.symbol : e._.insert(m, g.currency.symbol, -(d.after.length - (1 + S))); 11978 break; 11979 case " ": 11980 m = S === d.after.length - 1 ? m + " " : e._.insert(m, " ", -(d.after.length - (1 + S) + g.currency.symbol.length - 1)); 11981 break; 11982 } 11983 return m; 11984 } 11985 }); 11986 }(), function() { 11987 e.register("format", "exponential", { 11988 regexps: { 11989 format: /(e\+|e-)/, 11990 unformat: /(e\+|e-)/ 11991 }, 11992 format: function(l, f, h) { 11993 var g, d = typeof l == "number" && !e._.isNaN(l) ? l.toExponential() : "0e+0", m = d.split("e"); 11994 return f = f.replace(/e[\+|\-]{1}0/, ""), g = e._.numberToFormat(Number(m[0]), f, h), g + "e" + m[1]; 11995 }, 11996 unformat: function(l) { 11997 var f = e._.includes(l, "e+") ? l.split("e+") : l.split("e-"), h = Number(f[0]), g = Number(f[1]); 11998 g = e._.includes(l, "e-") ? g *= -1 : g; 11999 function d(m, b, S, w) { 12000 var D = e._.correctionFactor(m, b), T = m * D * (b * D) / (D * D); 12001 return T; 12002 } 12003 return e._.reduce([h, Math.pow(10, g)], d, 1); 12004 } 12005 }); 12006 }(), function() { 12007 e.register("format", "ordinal", { 12008 regexps: { 12009 format: /(o)/ 12010 }, 12011 format: function(l, f, h) { 12012 var g = e.locales[e.options.currentLocale], d, m = e._.includes(f, " o") ? " " : ""; 12013 return f = f.replace(/\s?o/, ""), m += g.ordinal(l), d = e._.
12013numberToFormat(l, f, h), d + m; 12014 } 12015 }); 12016 }(), function() { 12017 e.register("format", "percentage", { 12018 regexps: { 12019 format: /(%)/, 12020 unformat: /(%)/ 12021 }, 12022 format: function(l, f, h) { 12023 var g = e._.includes(f, " %") ? " " : "", d; 12024 return e.options.scalePercentBy100 && (l = l * 100), f = f.replace(/\s?\%/, ""), d = e._.numberToFormat(l, f, h), e._.includes(d, ")") ? (d = d.split(""), d.splice(-1, 0, g + "%"), d = d.join("")) : d = d + g + "%", d; 12025 }, 12026 unformat: function(l) { 12027 var f = e._.stringToNumber(l); 12028 return e.options.scalePercentBy100 ? f * 0.01 : f; 12029 } 12030 }); 12031 }(), function() { 12032 e.register("format", "time", { 12033 regexps: { 12034 format: /(:)/, 12035 unformat: /(:)/ 12036 }, 12037 format: function(l, f, h) { 12038 var g = Math.floor(l / 60 / 60), d = Math.floor((l - g * 60 * 60) / 60), m = Math.round(l - g * 60 * 60 - d * 60); 12039 return g + ":" + (d < 10 ? "0" + d : d) + ":" + (m < 10 ? "0" + m : m); 12040 }, 12041 unformat: function(l) { 12042 var f = l.split(":"), h = 0; 12043 return f.length === 3 ? (h = h + Number(f[0]) * 60 * 60, h = h + Number(f[1]) * 60, h = h + Number(f[2])) : f.length === 2 && (h = h + Number(f[0]) * 60, h = h + Number(f[1])), Number(h); 12044 } 12045 }); 12046 }(), e; 12047 }); 12048 }(Hh)), Hh.exports; 12049} 12050var XA = JE(); 12051const _r = /* @__PURE__ */ Qa(XA); 12052function Ri(t, e) { 12053 let r = null; 12054 return t.productAttributes.forEach((n) => { 12055 n.name.value == e && (r = n.value); 12056 }), r; 12057} 12058function Vr(t) { 12059 return (t / 1).toFixed(2).replace(".", ",").toString().replace(/\B(?=(\d{3})+(?!\d))/g, "."); 12060} 12061function zh(t) { 12062 if (t != null) { 12063 let e = null, r = t.substring(1); 12064 return r.includes("14D") ? "2 Wochen" : (r.includes("D") ? e = "Tage" : r == "1W" ? e = "Woche" : r == "1M" ? e = "Monat" : r.includes("W") ? e = "Wochen" : e = "Monate", r.replace("W", "").replace("M", "").replace("D", "") + " " + e); 12065 } 12066 return null; 12067} 12068function Fm(t, e, r, n, i, o, a, s, u, l, f, h, g) { 12069 const d = "https://pcms.eins.de", m = "https://onlineservice.eins.de/powercommerce/eins/fo"; 12070 if (t.htmlDetails == null && t.htmlOverview == null) 12071 return; 12072 const b = e ? t.htmlDetails : t.htmlOverview; 12073 if (b == null) 12074 return; 12075 let S = b.replace('src="', 'src="' + d + "/"), w = Ri(t, "ONLINE_PRODUCT") != null && Ri(t, "ONLINE_PRODUCT") == "true", D = null, T = null, _ = null, x = null, p = null, N = "", V = "", P = "", M = "", U = null, re = null, Q = "", ne = ""; 12076 if (t.calculatedPrices.forEach((se) => { 12077 if (se.type.value == "ENERGY_PRICE" && (S = S.replace("${working_price_net}", se.price.formatted), S = S.replace("${working_price_gross}", se.grossPrice.formatted)), se.type.value == "ENERGY_PRICE_HT" && (N = se.price.formatted, V = se.grossPrice.formatted), se.type.value == "ENERGY_PRICE_LT" && (U = se.price.formatted, re = se.grossPrice.formatted), se.type.value == "PERIODICAL_ENERGY_PRICE" && (S = S.replace("${working_price_yearly_net}", Vr(se.price.value) + " â¬/Jahr"), S = S.replace( 12078 "${working_price_yearly_gross}", 12079 Vr(se.grossPrice.value) + " â¬/Jahr" 12080 )), se.type.value == "PERIODICAL_ENERGY_PRICE_HT" && (P = Vr(se.price.value) + " â¬/Jahr", M = Vr(se.grossPrice.value) + " â¬/Jahr"), se.type.value == "PERIODICAL_ENERGY_PRICE_LT" && (Q = Vr(se.price.value) + " â¬/Jahr", ne = Vr(se.grossPrice.value) + " â¬/Jahr"), se.type.value == "PERIODICAL_BASE_PRICE" && (S = S.replace("${base_price_yearly_net}", Vr(se.price.value) + " â¬/Jahr"), S = S.replace("${base_price_yearly_gross}", Vr(se.grossPrice.value) + " â¬/Jahr")), se.type.value == "PERIODICAL_TOTAL" && (S = S.replace("${price_yearly_net}", Vr(se.price.value) + " â¬/Jahr"), S = S.replace("${price_yearly_gross}", Vr(se.grossPrice.value) + " â¬/Jahr")), se.type.value == "TOTAL") { 12081 const de = se.grossPrice.value; 12082 S = S.replace( 12083 "${price_yearly_gross_including_bonuses}", 12084 Vr(de) + " â¬/Jahr" 12085 ); 12086 const Re = Math.round((de / 12 + Number.EPSILON) * 100) / 100; 12087 S = S.replace("${base_price_monthly}", Vr(Re) + " â¬/Monat"); 12088 } 12089 se.type.value == "WELCOME_BONUS" && se.grossPrice.value != 0 && (D = Vr(se.grossPrice.value) + " â¬", S = S.replace("${welcome_bonus}", D)), se.type.value == "IMMEDIATE_BONUS" && se.grossPrice.value != 0 && (T = Vr(se.grossPrice.value) + " â¬", S = S.replace("${online_bonus}", T)), se.type.value == "CHANGE_BONUS" && se.grossPrice.value != 0 && (_ = Vr(se.grossPrice.value) + " â¬", S = S.replace("${change_bonus}", _)), se.type.value == "WELCOME_PREMIUM" && se.grossPrice.value != 0 && (x = Vr(se.grossPrice.value) + " â¬", S = S.replace("${welcome_premium}", x)), se.type.value == "AMAZON_VOUCHER" && se.grossPrice.value != 0 && (p = Vr(se.grossPrice.value) + " â¬", S = S.replace("${amazon_voucher}", p)); 12090 }), S = S.replace("${working_price_epex_link}", new URL(m + "/portal/epexPrices").toString()), e) { 12091 const se = Ri(t, "INITIAL_CONTRACT_END_DATE") != null ? qp(Ri(t, "INITIAL_CONTRACT_END_DATE")).format("DD.MM.YYYY") : zh(t.contractTerm ?? null); 12092 se != null && (S = S.replace("${contract_term}", se)), t.termExtension != null ? S = S.replace("${contract_extension}", zh(t.termExtension) ?? "") : S = S.replace("${contract_extension}", "auf unbestimmte Zeit"), t.cancellationPeriod != null && (S = S.replace("${cancellation_period}", zh(t.cancellationPeriod) ?? "")), Ri(t, "PRICE_DATE") != null ? S = S.replace( 12093 "${price_date}", 12094 qp(Ri(t, "PRICE_DATE")).format("DD.MM.YYYY") 12095 ) : S = S.replace("Preisstand: ${price_date}", ""), S = S.replace("${price_mwst}", String(t.vatPercentage)); 12096 } 12097 const ee = Y.parseHTML(S) ?? [], L = Y(ee); 12098 if (L.find(".form-link").find("a").first().attr("id", t.id ?? ""), U != null && re != null) { 12099 const se = L.find(".arbeitspreis-netto").first().clone(); 12100 L.find(".arbeitspreis-netto .col-form-label").first().text("Arbeitspreis HT (netto)"), L.find(".arbeitspreis-netto").find(".arbeitspreis-wert-netto").first().text(N), L.find(".arbeitspreis-netto").find(".arbeitspreis-wert-jahr-netto").first().text(P), se.find(".label-arbeitspreis").first().text("Arbeitspreis NT (netto)"), se.find(".arbeitspreis-wert-netto").first().text(U), se.find(".arbeitspreis-wert-jahr-netto").first().text(Q), L.find(".arbeitspreis-netto").first().after(se.prop("outerHTML")); 12101 const de = L.find(".arbeitspreis-brutto").first().clone(); 12102 L.find(".arbeitspreis-brutto .col-form-label").first().text("Arbeitspreis HT"), L.find(".arbeitspreis-brutto").find(".arbeitspreis-wert-brutto").first().text(V), L.find(".arbeitspreis-brutto").find(".arbeitspreis-wert-jahr-brutto").first().text(M), de.find(".label-arbeitspreis").first().text("Arbeitspreis NT"), de.find(".arbeitspreis-wert-brutto").first().text(re), de.find(".arbeitspreis-wert-jahr-brutto").first().text(ne), L.find(".arbeitspreis-brutto").first().after(de.prop("outerHTML")); 12103 } 12104 D == null && T == null && _ == null && x == null ? (L.find(".bonusses").length > 0 && L.find(".bonusses").remove(), L.find(".total-brutto-including-bonuses").length > 0 && L.find(".total-brutto-including-bonuses").remove()) : ((x != null || _ != null) && (x != null && L.find(".welcomebonus").each(function() { 12105 L.find(".text-start").text("Neukundenprämie: "), L.find(".text-end").text(x ?? ""); 12106 }), _ != null && L.find(".onlinebonus").each(function() { 12107 L.find(".text-start").text(x == null ? "Wechselprämie: " : "oder Wechselprämie: "), L.find(".text-end").text(_ ?? ""); 12108 })), T && p && L.find(".onlinebonus").each(function() { 12109 const se = Y(this).clone(); 12110 Y(this).parent().append(se), se.find(".text-start").text("oder Amazon-Gutschein: "), se.find(".text-end").text(p ?? ""), L.find(".field .bonus strong").each(function() { 12111 Y(this).attr("style", "padding-bottom: 0px;"); 12112 }); 12113 })), D == null && x == null && L.find(".welcomebonus").remove(), _ == null && T == null && L.find(".onlinebonus").remove(), L.find(".nettoPrice").hide(), L.find(".downloads .row a").each(function() { 12114 Y(this).attr("href", d + "/" + Y(this).attr("href")), Y(this).attr("target", "_blank"); 12115 }); 12116 let Z = L.find(".infotext").html(); 12117 if (L.find(".infotext").remove(), Z != null ? L.find(".info-text").find(".col-12").html(Z) : L.find(".info-text").remove(), e && !w && !r && Ri(t, "ROLLING_PRICE_GUARANTEE") == "false" && t.tieredPrices.length > 1) { 12118 const se = L.find(".arbeitspreis-netto").clone(), de = L.find(".arbeitspreis-brutto").clone(), Re = L.find(".grundpreis-netto").clone(), ze = L.find(".grundpreis-brutto").clone(), je = t.tieredPrices.length; 12119 let Le = 0; 12120 const be = t.tieredPrices; 12121 be.sort((Ve, Be) => Ve.template.consumptionFrom.value < Be.template.consumptionFrom.value ? 1 : Ve.template.consumptionFrom.value > Be.template.consumptionFrom.value ? -1 : 0), be.forEach((Ve) => { 12122 const Be = Ve.template.consumptionTo.value, Pe = Ve.template.consumptionFrom.value; 12123 let $e = ""; 12124 Le++, Le == je ? $e = "Verbrauch bis " + _r(Be).format("0,000").replace(" ", ".") + " kWh/Jahr" : Le == 1 && je > 1 ? $e = "Verbrauch ab " + _r(Pe).format("0,000").replace(" ", ".") + " kWh/Jahr" : $e = "Verbrauch von " + _r(Pe).format("0,000").replace(" ", ".") + " kWh/Jahr bis " + _r(Be).format("0,000").replace(" ", ".") + " kWh/Jahr", L.find(".total-netto").after( 12125 "<hr class='form-row-end-hr'><div class='row form-row'><div class='col-12 font-bold col-form-label confirm-page-label'>" + $e + "</div></div><div class='netto" + Be + "'></div>" 12126 ), L.find(".total-brutto").after( 12127 "<hr class='form-row-end-hr'><div class='row form-row'><div class='col-12 font-bold col-form-label confirm-page-label'>" + $e + "</div></div>
12127<div class='brutto" + Be + "'></div>" 12128 ), Ve.prices.forEach((rt) => { 12129 rt.type.value == "ENERGY_PRICE_SUPPLY" && (se.find(".confirm-page-value").html(rt.price.formatted), L.find(".netto" + Be).before(se.prop("outerHTML")), de.find(".confirm-page-value").html(`<strong>${rt.grossPrice.formatted}</strong>`), L.find(".brutto" + Be).before(de.prop("outerHTML"))), rt.type.value == "PERIODICAL_BASE_PRICE_SUPPLY" && (Re.find(".confirm-page-value").html(_r(rt.price.value).format("0.00").replace(" ", ".") + " â¬/Jahr"), L.find(".netto" + Be).before(Re.prop("outerHTML")), ze.find(".confirm-page-value").html(`<strong>${_r(rt.grossPrice.value).format("0.00").replace(" ", ".")} â¬/Jahr</strong>`), L.find(".brutto" + Be).before(ze.prop("outerHTML"))); 12130 }); 12131 }); 12132 } 12133 L.find(".tariff-details-link a").attr("href", ""), L.find(".tariff-card-btn-row button.btn-primary").replaceWith( 12134 '<a type="button" class="btn btn-primary" target="_blank">' + L.find(".tariff-card-btn-row button.btn-primary").html() + "</a>" 12135 ); 12136 const G = new URL(m + "/portal/directContractCreation"); 12137 r ? G.searchParams.append("customerType", "HEATING_CURRENT") : G.searchParams.append("customerType", n), i && G.searchParams.append("carUsage", "true"), o && G.searchParams.append("dynamicProduct", "true"), G.searchParams.append("mediaType", a.toUpperCase()), G.searchParams.append("locationData", s), f != "" ? (G.searchParams.append("consumptionHT", l), G.searchParams.append("consumptionNT", f)) : G.searchParams.append("consumption", u), t.productKey !== void 0 && G.searchParams.append("productId", t.productKey), h != null && G.searchParams.append("systemOperatorCodeNo", h), g && G.searchParams.append("pso", "true"), L.find(".tariff-card-btn-row a.btn-primary").attr("href", G.href), e ? t.htmlDetails = `<div class="card tariff-card ${t.isRecommended ? "recommended-tariff" : ""}"> 12138 ${L.find(".tariff-card").html()} 12139 </div> 12140 <div class="card product-details-card"> 12141 ${L.find(".product-details-card").html()} 12142 </div>` : t.htmlOverview = L.find(".tariff-card").html(); 12143} 12144function Rm(t, e) { 12145 let r = 0; 12146 switch (t) { 12147 case 9: 12148 e >= 992 && (r = 6), e <= 991 && (r = 7), e <= 767 && (r = 8); 12149 break; 12150 case 8: 12151 e >= 992 && (r = 5), e <= 991 && (r = 6), e <= 767 && (r = 7); 12152 break; 12153 case 7: 12154 e >= 992 && (r = 4), e <= 991 && (r = 5), e <= 767 && (r = 6); 12155 break; 12156 case 6: 12157 e >= 992 && (r = 3), e <= 991 && (r = 4), e <= 767 && (r = 5); 12158 break; 12159 case 5: 12160 e >= 992 && (r = 2), e <= 991 && (r = 3), e <= 767 && (r = 4); 12161 break; 12162 case 4: 12163 e >= 992 && (r = 1), e <= 991 && (r = 2), e <= 767 && (r = 3); 12164 break; 12165 case 3: 12166 e <= 991 && (r = 1), e <= 767 && (r = 2); 12167 break; 12168 case 2: 12169 e <= 767 && (r = 1); 12170 break; 12171 } 12172 return r; 12173} 12174const o0 = Td({ 12175 id: "auth", 12176 state: () => ({ 12177 authToken: localStorage.getItem("authToken") 12178 }), 12179 actions: { 12180 async createToken() { 12181 const t = await qo.auth(); 12182 this.authToken = t.access_token, localStorage.setItem("authToken", t.access_token); 12183 } 12184 } 12185}), YA = Td({ 12186 id: "maintenance", 12187 state: () => ({ 12188 maintenanceChecked: !1, 12189 maintenanceMessage: null 12190 }), 12191 actions: { 12192 async checkMaintenance() { 12193 const t = await qo.maintenance(); 12194 this.maintenanceChecked = !0, this.maintenanceMessage = t.message; 12195 } 12196 } 12197}), Im = "https://onlineservice.eins.de/powercommerce/eins/rest", Mm = "https://pcms.eins.de", ZA = Td({ 12198 id: "tariffs", 12199 state: () => ({ 12200 tariffsResult: {}, 12201 tariffDetails: {} 12202 }), 12203 actions: { 12204 async getTariffs(t, e, r, n) { 12205 if (e) { 12206 this.tariffsResult = { loading: !0 }; 12207 var i = t.city; 12208 i.includes("(") && i.includes(")") && (t.district = i.substring(i.indexOf("(") + 1, i.lastIndexOf(")")), t.city = i.substring(0, i.indexOf(" ("))); 12209 let o = t.systemOperatorCodeNo + "|" + t.postalCode + "|" + t.city; 12210 t.district != null && (o += "|" + t.district); 12211 const a = { mediaType: t.mediaType, searchTerm: o }; 12212 qo.get(Im + "/api/v1/supplyAreas" + qo.encodeUrlParameter(a)).then((s) => { 12213 t.supplyAreaId = s[0].id, qo.get(Im + "/api/v1/tariffCalculations" + qo.encodeUrlParameter(t)).then((u) => { 12214 if (u.length > 0 && u[0].tariffs.length > 0) { 12215 if (n != null && n && r != null) { 12216 let l = null;
12217 u[0].tariffs.forEach((f) => { 12218 f.productKey == r && (l = f); 12219 }), l != null && (u[0].tariffs = [l]); 12220 } else 12221 u[0].tariffs.sort(function(l, f) { 12222 if (r != null) { 12223 if (l.productKey == r) 12224 return -1; 12225 if (f.productKey == r) 12226 return 1; 12227 } 12228 const h = Ri(l, "PRIORITY"), g = Ri(f, "PRIORITY"); 12229 if (h < g) 12230 return -1; 12231 if (h > g) 12232 return 1; 12233 let d = null, m = null; 12234 return l.calculatedPrices.forEach((b) => { 12235 b.type.value == "TOTAL" && (d = parseFloat(b.grossPrice.value)); 12236 }), f.calculatedPrices.forEach((b) => { 12237 b.type.value == "TOTAL" && (m = parseFloat(b.grossPrice.value)); 12238 }), d < m ? -1 : d > m ? 1 : 0; 12239 }); 12240 u[0].tariffs.forEach((l) => { 12241 Y.ajax({ 12242 async: !1, 12243 url: Mm + "/" + l.productKey, 12244 success: function(f) { 12245 l.htmlOverview = f.replace("$", "$").replace("{", "{").replace("}", "}"), l.isRecommended = Vm(l); 12246 } 12247 }); 12248 }), window.dataLayer = window.dataLayer || [], dataLayer.push({ event: t.mediaType == "POWER" ? "strom-produktauswahl" : "gas-produktauswahl" }), this.tariffsResult = u; 12249 } else 12250 this.tariffsResult = { empty: !0 }; 12251 }).catch((u) => this.tariffsResult = { error: u }); 12252 }).catch((s) => this.tariffsResult = { error: s }); 12253 } 12254 }, 12255 async getTariffDetails(t) { 12256 this.tariffDetails = {}, Y.ajax({ 12257 async: !1, 12258 url: Mm + "/" + t.productKey + "-DETAILS", 12259 success: (e) => { 12260 t.htmlDetails = e.replace("$", "$").replace("{", "{").replace("}", "}"), t.isRecommended = Vm(t), this.tariffDetails.tariff = t; 12261 } 12262 }); 12263 }, 12264 getTariff(t) { 12265 let e = null; 12266 return this.tariffsResult.length > 0 && this.tariffsResult[0].tariffs != null && this.tariffsResult[0].tariffs.length > 0 && this.tariffsResult[0].tariffs.forEach((r) => { 12267 r.id == t && (e = r); 12268 }), e; 12269 } 12270 } 12271}); 12272function Vm(t) { 12273 const e = "top-tariff-label"; 12274 return !!(t?.htmlOverview?.includes(e) || t?.htmlDetails?.includes(e)); 12275} 12276const JA = Td("jsonResponse", () => ({ cache: /* @__PURE__ */ wo({}) })); 12277/** 12278 * vee-validate v4.9.3 12279 * (c) 2023 Abdelrahman Awad 12280 * @license MIT 12281 */ 12282function Kr(t) { 12283 return typeof t == "function"; 12284} 12285function QE(t) { 12286 return t == null; 12287} 12288const Gi = (t) => t !== null && !!t && typeof t == "object" && !Array.isArray(t); 12289function $E(t) { 12290 return Number(t) >= 0; 12291} 12292function QA(t) { 12293 const e = parseFloat(t); 12294 return isNaN(e) ? t : e; 12295} 12296function ex(t, e) { 12297 return Object.keys(e).forEach((r) => { 12298 if (Gi(e[r])) { 12299 t[r] || (t[r] = {}), ex(t[r], e[r]); 12300 return; 12301 } 12302 t[r] = e[r]; 12303 }), t; 12304} 12305const $A = {}; 12306function eN(t) { 12307 return $A[t]; 12308} 12309const Cd = Symbol("vee-validate-form"), tN = Symbol("vee-validate-field-instance"), zf = Symbol("Default empty value"), rN = typeof window < "u"; 12310function Kp(t) { 12311 return Kr(t) && !!t.__locatorRef; 12312} 12313function Ha(t) { 12314 return !!t && Kr(t.parse) && t.__type === "VVTypedSchema"; 12315} 12316function Wf(t) { 12317 return !!t && Kr(t.validate); 12318} 12319function $u(t) { 12320 return t === "checkbox" || t === "radio"; 12321} 12322function nN(t) { 12323 return Gi(t) || Array.isArray(t); 12324} 12325function iN(t) { 12326 return Array.isArray(t) ? t.length === 0 : Gi(t) && Object.keys(t).length === 0; 12327} 12328function Od(t) { 12329 return /^\[.+\]$/i.test(t); 12330} 12331function oN(t) { 12332 return tx(t) && t.multiple; 12333} 12334function tx(t) { 12335 return t.tagName === "SELECT"; 12336} 12337function aN(t, e) { 12338 const r = ![!1, null, void 0, 0].includes(e.multiple) && !Number.isNaN(e.multiple); 12339 return t === "select" && "multiple" in e && r; 12340} 12341function sN(t, e) { 12342 return !aN(t, e) && e.type !== "file" && !$u(e.type); 12343} 12344function rx(t) { 12345 return a0(t) && t.target && "submit" in t.target; 12346} 12347function a0(t) { 12348 return t ? !!(typeof Event < "u" && Kr(Event) && t instanceof Event || t && t.srcElement) : !1; 12349} 12350function Lm(t, e) { 12351 return e in t && t[e] !== zf; 12352} 12353function Gr(t, e) { 12354 if (t === e) 12355 return !0; 12356 if (t && e && typeof t == "object" && typeof e == "object") { 12357 if (t.constructor !== e.constructor) 12358 return !1; 12359 var r, n, i; 12360 if (Array.isArray(t)) { 12361 if (r = t.length, r != e.length) 12362 return !1; 12363 for (n = r; n-- !== 0; ) 12364 if (!Gr(t[n], e[n])) 12365 return !1; 12366 return !0; 12367 } 12368 if (t instanceof Map && e instanceof Map) { 12369 if (t.size !== e.size) 12370 return !1; 12371 for (n of t.entries()) 12372 if (!e.has(n[0])) 12373 return !1; 12374 for (n of t.entries()) 12375 if (!Gr(n[1], e.get(n[0]))) 12376 return !1; 12377 return !0; 12378 } 12379 if (jm(t) && jm(e)) 12380 return !(t.size !== e.size || t.name !== e.name || t.lastModified !== e.lastModified || t.type !== e.type); 12381 if (t instanceof Set && e instanceof Set) { 12382 if (t.size !== e.size) 12383 return !1; 12384 for (n of t.entries()) 12385 if (!e.has(n[0])) 12386 return !1; 12387 return !0; 12388 } 12389 if (ArrayBuffer.isView(t) && ArrayBuffer.isView(e)) { 12390 if (r = t.length, r != e.length) 12391 return !1; 12392 for (n = r; n-- !== 0; ) 12393 if (t[n] !== e[n]) 12394 return !1; 12395 return !0; 12396 } 12397 if (t.constructor === RegExp) 12398 return t.source === e.source && t.flags === e.flags; 12399 if (t.valueOf !== Object.prototype.valueOf) 12400 return t.valueOf() === e.valueOf(); 12401 if (t.toString !== Object.prototype.toString) 12402 return t.toString() === e.toString(); 12403 if (i = Object.keys(t), r = i.length, r !== Object.keys(e).length) 12404 return !1; 12405 for (n = r; n-- !== 0; ) 12406 if (!Object.prototype.hasOwnProperty.call(e, i[n])) 12407 return !1; 12408 for (n = r; n-- !== 0; ) { 12409 var o = i[n]; 12410 if (!Gr(t[o], e[o])) 12411 return !1; 12412 } 12413 return !0; 12414 } 12415 return t !== t && e !== e; 12416} 12417function jm(t) { 12418 return rN ? t instanceof File : !1; 12419} 12420function Bm(t, e, r) { 12421 typeof r.value == "object" && (r.value = ur(r.value)), !r.enumerable || r.get || r.set || !r.configurable || !r.writable || e === "__proto__" ? Ob
12421ject.defineProperty(t, e, r) : t[e] = r.value; 12422} 12423function ur(t) { 12424 if (typeof t != "object") 12425 return t; 12426 var e = 0, r, n, i, o = Object.prototype.toString.call(t); 12427 if (o === "[object Object]" ? i = Object.create(t.__proto__ || null) : o === "[object Array]" ? i = Array(t.length) : o === "[object Set]" ? (i = /* @__PURE__ */ new Set(), t.forEach(function(a) { 12428 i.add(ur(a)); 12429 })) : o === "[object Map]" ? (i = /* @__PURE__ */ new Map(), t.forEach(function(a, s) { 12430 i.set(ur(s), ur(a)); 12431 })) : o === "[object Date]" ? i = /* @__PURE__ */ new Date(+t) : o === "[object RegExp]" ? i = new RegExp(t.source, t.flags) : o === "[object DataView]" ? i = new t.constructor(ur(t.buffer)) : o === "[object ArrayBuffer]" ? i = t.slice(0) : o.slice(-6) === "Array]" && (i = new t.constructor(t)), i) { 12432 for (n = Object.getOwnPropertySymbols(t); e < n.length; e++) 12433 Bm(i, n[e], Object.getOwnPropertyDescriptor(t, n[e])); 12434 for (e = 0, n = Object.getOwnPropertyNames(t); e < n.length; e++) 12435 Object.hasOwnProperty.call(i, r = n[e]) && i[r] === t[r] || Bm(i, r, Object.getOwnPropertyDescriptor(t, r)); 12436 } 12437 return i || t; 12438} 12439function s0(t) { 12440 return Od(t) ? t.replace(/\[|\]/gi, "") : t; 12441} 12442function hn(t, e, r) { 12443 return t ? Od(e) ? t[s0(e)] : (e || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((i, o) => nN(i) && o in i ? i[o] : r, t) : r; 12444} 12445function Uo(t, e, r) { 12446 if (Od(e)) { 12447 t[s0(e)] = r; 12448 return; 12449 } 12450 const n = e.split(/\.|\[(\d+)\]/).filter(Boolean); 12451 let i = t; 12452 for (let o = 0; o < n.length; o++) { 12453 if (o === n.length - 1) { 12454 i[n[o]] = r; 12455 return; 12456 } 12457 (!(n[o] in i) || QE(i[n[o]])) && (i[n[o]] = $E(n[o + 1]) ? [] : {}), i = i[n[o]]; 12458 } 12459} 12460function Wh(t, e) { 12461 if (Array.isArray(t) && $E(e)) { 12462 t.splice(Number(e), 1); 12463 return; 12464 } 12465 Gi(t) && delete t[e]; 12466} 12467function Um(t, e) { 12468 if (Od(e)) { 12469 delete t[s0(e)]; 12470 return; 12471 } 12472 const r = e.split(/\.|\[(\d+)\]/).filter(Boolean); 12473 let n = t; 12474 for (let o = 0; o < r.length; o++) { 12475 if (o === r.length - 1) { 12476 Wh(n, r[o]); 12477 break; 12478 } 12479 if (!(r[o] in n) || QE(n[r[o]])) 12480 break; 12481 n = n[r[o]]; 12482 } 12483 const i = r.map((o, a) => hn(t, r.slice(0, a).join("."))); 12484 for (let o = i.length - 1; o >= 0; o--) 12485 if (iN(i[o])) { 12486 if (o === 0) { 12487 Wh(t, r[0]); 12488 continue; 12489 } 12490 Wh(i[o - 1], r[o - 1]); 12491 } 12492} 12493function hi(t) { 12494 return Object.keys(t); 12495} 12496function nx(t, e = void 0) { 12497 const r = Zi(); 12498 return r?.provides[t] || Ra(t, e); 12499} 12500function Hm(t, e, r) { 12501 if (Array.isArray(t)) { 12502 const n = [...t], i = n.findIndex((o) => Gr(o, e)); 12503 return i >= 0 ? n.splice(i, 1) : n.push(e), n; 12504 } 12505 return Gr(t, e) ? r : e; 12506} 12507function lN(t, e) { 12508 let r, n; 12509 return function(...i) { 12510 const o = this; 12511 return r || (r = !0, setTimeout(() => r = !1, e), n = t.apply(o, i)), n; 12512 }; 12513} 12514function zm(t, e = 0) { 12515 let r = null, n = []; 12516 return function(...i) { 12517 return r && window.clearTimeout(r), r = window.setTimeout(() => { 12518 const o = t(...i); 12519 n.forEach((a) => a(o)), n = []; 12520 }, e), new Promise((o) => n.push(o)); 12521 }; 12522} 12523function uN(t, e) { 12524 return Gi(e) && e.number ? QA(t) : t; 12525} 12526function Gp(t, e) { 12527 let r; 12528 return async function(...i) { 12529 const o = t(...i); 12530 r = o; 12531 const a = await o; 12532 return o !== r || (r = void 0, e(a, i)), a; 12533 }; 12534} 12535function go(t) { 12536 return Kr(t) ? t() : ke(t); 12537} 12538function cN(t) { 12539 return Vt(() => go(t)); 12540} 12541function Xp(t) { 12542 return Array.isArray(t) ? t : t ? [t] : []; 12543} 12544function Ol(t, e) { 12545 const r = {}; 12546 for (const n in t) 12547 e.includes(n) || (r[n] = t[n]); 12548 return r; 12549} 12550const l0 = (t, e, r) => e.slots.default ? typeof t == "string" || !t ? e.slots.default(r()) : { 12551 default: () => { 12552 var n, i; 12553 return (i = (n = e.slots).default) === null || i === void 0 ? void 0 : i.call(n, r()); 12554 } 12555} : e.slots.default; 12556function qh(t) { 12557 if (ix(t)) 12558 return t._value; 12559} 12560function ix(t) { 12561 return "_value" in t; 12562} 12563function qf(t) { 12564 if (!a0(t)) 12565 return t; 12566 const e = t.target; 12567 if ($u(e.type) && ix(e)) 12568 return qh(e); 12569 if (e.type === "file" && e.files) { 12570 const r = Array.from(e.files); 12571 return e.multiple ? r : r[0]; 12572 } 12573 if (oN(e)) 12574 return Array.from(e.options).filter((r) => r.selected && !r.disabled).map(qh); 12575 if (tx(e)) { 12576 const r = Array.from(e.options).find((n) => n.selected); 12577 return r ? qh(r) : e.value; 12578 } 12579 return e.value; 12580} 12581function ox(t) { 12582 const e = {}; 12583 return Object.defineProperty(e, "_$$isNormalized", { 12584 value: !0, 12585 writable: !1, 12586 enumerable: !1, 12587 configurable: !1 12588 }), t ? Gi(t) && t._$$isNormalized ? t : Gi(t) ? Object.keys(t).reduce((r, n) => { 12589 const i = fN(t[n]); 12590 return t[n] !== !1 && (r[n] = Wm(i)), r; 12591 }, e) : typeof t != "string" ? e : t.split("|").reduce((r, n) => { 12592 const i = dN(n); 12593 return i.name && (r[i.name] = Wm(i.params)), r; 12594 }, e) : e; 12595} 12596function fN(t) { 12597 return t === !0 ? [] : Array.isArray(t) || Gi(t) ? t : [t]; 12598} 12599function Wm(t) { 12600 const e = (r) => typeof r == "string" && r[0] === "@" ? hN(r.slice(1)) : r; 12601 return Array.isArray(t) ? t.map(e) : t instanceof RegExp ? [t] : Object.keys(t).reduce((r, n) => (r[n] = e(t[n]), r), {}); 12602} 12603const dN = (t) => { 12604 let e = []; 12605 const r = t.split(":")[0]; 12606 return t.includes(":") && (e = t.split(":").slice(1).join(":").split(",")), { name: r, params: e }; 12607}; 12608function hN(t) { 12609 const e = (r) => hn(r, t) || r[t]; 12610 return e.__locatorRef = t, e; 12611} 12612function pN(t) { 12613 return Array.isArray(t) ? t.filter(Kp) : hi(t).filter((e) => Kp(t[e])).map((e) => t[e]); 12614} 12615const vN = { 12616 generateMessage: ({ field: t }) => `${t}
12616 is not valid.`, 12617 bails: !0, 12618 validateOnBlur: !0, 12619 validateOnChange: !0, 12620 validateOnInput: !1, 12621 validateOnModelUpdate: !0 12622}; 12623let Yp = Object.assign({}, vN); 12624const zo = () => Yp, gN = (t) => { 12625 Yp = Object.assign(Object.assign({}, Yp), t); 12626}, mN = gN; 12627async function ax(t, e, r = {}) { 12628 const n = r?.bails, i = { 12629 name: r?.name || "{field}", 12630 rules: e, 12631 label: r?.label, 12632 bails: n ?? !0, 12633 formData: r?.values || {} 12634 }, a = (await yN(i, t)).errors; 12635 return { 12636 errors: a, 12637 valid: !a.length 12638 }; 12639} 12640async function yN(t, e) { 12641 if (Ha(t.rules) || Wf(t.rules)) 12642 return EN(e, t.rules); 12643 if (Kr(t.rules) || Array.isArray(t.rules)) { 12644 const a = { 12645 field: t.label || t.name, 12646 name: t.name, 12647 label: t.label, 12648 form: t.formData, 12649 value: e 12650 }, s = Array.isArray(t.rules) ? t.rules : [t.rules], u = s.length, l = []; 12651 for (let f = 0; f < u; f++) { 12652 const h = s[f], g = await h(e, a); 12653 if (typeof g != "string" && g) 12654 continue; 12655 const m = typeof g == "string" ? g : lx(a); 12656 if (l.push(m), t.bails) 12657 return { 12658 errors: l 12659 }; 12660 } 12661 return { 12662 errors: l 12663 }; 12664 } 12665 const r = Object.assign(Object.assign({}, t), { rules: ox(t.rules) }), n = [], i = Object.keys(r.rules), o = i.length; 12666 for (let a = 0; a < o; a++) { 12667 const s = i[a], u = await xN(r, e, { 12668 name: s, 12669 params: r.rules[s] 12670 }); 12671 if (u.error && (n.push(u.error), t.bails)) 12672 return { 12673 errors: n 12674 }; 12675 } 12676 return { 12677 errors: n 12678 }; 12679} 12680function bN(t) { 12681 return !!t && t.name === "ValidationError"; 12682} 12683function sx(t) { 12684 return { 12685 __type: "VVTypedSchema", 12686 async parse(r) { 12687 var n; 12688 try { 12689 return { 12690 output: await t.validate(r, { abortEarly: !1 }), 12691 errors: [] 12692 }; 12693 } catch (i) { 12694 if (!bN(i)) 12695 throw i; 12696 if (!(!((n = i.inner) === null || n === void 0) && n.length) && i.errors.length) 12697 return { errors: [{ path: i.path, errors: i.errors }] }; 12698 const o = i.inner.reduce((a, s) => { 12699 const u = s.path || ""; 12700 return a[u] || (a[u] = { errors: [], path: u }), a[u].errors.push(...s.errors), a; 12701 }, {}); 12702 return { errors: Object.values(o) }; 12703 } 12704 } 12705 }; 12706} 12707async function EN(t, e) { 12708 const n = await (Ha(e) ? e : sx(e)).parse(t), i = []; 12709 for (const o of n.errors) 12710 o.errors.length && i.push(...o.errors); 12711 return { 12712 errors: i 12713 }; 12714} 12715async function xN(t, e, r) { 12716 const n = eN(r.name); 12717 if (!n) 12718 throw new Error(`No such validator '${r.name}' exists.`); 12719 const i = wN(r.params, t.formData), o = { 12720 field: t.label || t.name, 12721 name: t.name, 12722 label: t.label, 12723 value: e, 12724 form: t.formData, 12725 rule: Object.assign(Object.assign({}, r), { params: i }) 12726 }, a = await n(e, i, o); 12727 return typeof a == "string" ? { 12728 error: a 12729 } : { 12730 error: a ? void 0 : lx(o) 12731 }; 12732} 12733function lx(t) { 12734 const e = zo().generateMessage; 12735 return e ? e(t) : "Field is invalid"; 12736} 12737function wN(t, e) { 12738 const r = (n) => Kp(n) ? n(e) : n; 12739 return Array.isArray(t) ? t.map(r) : Object.keys(t).reduce((n, i) => (n[i] = r(t[i]), n), {}); 12740} 12741async function SN(t, e) { 12742 const n = await (Ha(t) ? t : sx(t)).parse(e), i = {}, o = {}; 12743 for (const a of n.errors) { 12744 const s = a.errors, u = (a.path || "").replace(/\["(\d+)"\]/g, (l, f) => `[${f}]`); 12745 i[u] = { valid: !s.length, errors: s }, s.length && (o[u] = s[0]); 12746 } 12747 return { 12748 valid: !n.errors.length, 12749 results: i, 12750 errors: o, 12751 values: n.value 12752 }; 12753} 12754async function _N(t, e, r) { 12755 const i = hi(t).map(async (l) => { 12756 var f, h, g; 12757 const d = (f = r?.names) === null || f === void 0 ? void 0 : f[l], m = await ax(hn(e, l), t[l], { 12758 name: d?.name || l, 12759 label: d?.label, 12760 values: e, 12761 bails: (g = (h = r?.bailsMap) === null || h === void 0 ? void 0 : h[l]) !== null && g !== void 0 ? g : !0 12762 }); 12763 return Object.assign(Object.assign({}, m), { path: l }); 12764 }); 12765 let o = !0; 12766 const a = await Promise.all(i), s = {}, u = {}; 12767 for (const l of a) 12768 s[l.path] = { 12769 valid: l.valid, 12770 errors: l.errors 12771 }, l.valid || (o = !1, u[l.path] = l.errors[0]); 12772 return { 12773 valid: o, 12774 results: s, 12775 errors: u 12776 }; 12777} 12778let qm = 0; 12779function TN(t, e) { 12780 const { value: r, initialValue: n, setInitialValue: i } = CN(t, e.modelValue, e.form); 12781 if (!e.form) { 12782 let g = function(d) { 12783 var m; 12784 "value" in d && (r.value = d.value), "errors" in d && l(d.errors), "touched" in d && (h.touched = (m = d.touched) !== null && m !== void 0 ? m : h.touched), "initialValue" in d && i(d.initialValue); 12785 }; 12786 const { errors: u, setErrors: l } = NN(), f = qm >= Number.MAX_SAFE_INTEGER ? 0 : ++qm, h = AN(r, n, u); 12787 return { 12788 id: f, 12789 path: t, 12790 value: r, 12791 initialValue: n, 12792 meta: h, 12793 flags: { pendingUnmount: { [f]: !1 } }, 12794 errors: u, 12795 setState: g 12796 }; 12797 } 12798 const o = e.form.createPathState(t, { 12799 bails: e.bails, 12800 label: e.label, 12801 type: e.type, 12802 validate: e.validate 12803 }), a = Vt(() => o.errors); 12804 function s(u) { 12805 var l, f, h; 12806 "value" in u && (r.value = u.value), "errors" in u && ((l = e.form) === null || l === void 0 || l.setFieldError(ke(t), u.errors)), "touched" in u && ((f = e.form) === null || f === void 0 || f.setFieldTouched(ke(t), (h = u.touched) !== null && h !== void 0 ? h : !1)), "initialValue" in u && i(u.initialValue); 12807 } 12808 return { 12809 id: Array.isArray(o.id) ? o.id[o.id.length - 1] : o.id, 12810 path: t, 12811 value: r, 12812 errors: a, 12813 meta: o, 12814 initialValue: n, 12815 flags: o.__flags, 12816 setState: s 12817 }; 12818} 12819function CN(t, e, r) { 12820 const n = /* @__PURE__ */ tr(ke(e)); 12821 function i() { 12822 return r ? hn(r.initialValues.value, ke(t), ke(n)) : ke(n); 12823 } 12824 function o(l) { 12825 if (!r) { 12826 n.value = l; 12827 return; 12828 } 12829 r.stageInitialValue(ke(t), l, !0); 12830 } 12831 const a = Vt(i); 12832 if (!r) 12833 return { 12834 value: /* @__PURE__ */ tr(i()), 12835 initialValue: a, 12836 setInitialValue: o 12837 }; 12838 const s = ON(e, r, a, t); 12839 return r.stageInitialValue(ke(t), s, !0), { 12840 value: Vt({ 12841 get() { 12842 return hn(r.values, ke(t)); 12843 }, 12844 set(l) { 12845 r.setFieldValue(ke(t), l); 12846 } 12847 }), 12848 initialValue: a, 12849 setInitialValue: o 12850 }; 12851} 12852function ON(t, e, r, n) { 12853 return /* @__PURE__ */ Rt(t) ? ke(t) : t !== void 0 ? t : hn(e.values, ke(n), ke(r)); 12854} 12855function AN(t, e, r) { 12856 const n = /* @__PURE__ */ wo({ 12857 touched: !1, 12858 pending: !1, 12859 valid: !0, 12860 validated: !!ke(r).length, 12861 initialValue: Vt(() => ke(e)), 12862 dirty: Vt(() => !Gr(ke(t), ke(e))) 12863 }); 12864 return Ir(r, (i) => { 12865 n.valid = !i.length; 12866 }, { 12867 immediate: !0, 12868 flush: "sync" 12869 }), n; 12870} 12871function NN() { 12872 const t = /* @__PURE__ */ tr([]); 12873 return { 12874 errors: t, 12875 setErrors: (e) => { 12876 t.value = Xp(e); 12877 } 12878 }; 12879} 12880function ux(t) { 12881 ({}).NODE_ENV !== "production" && e0({ 12882 id: "vee-validate-devtools-plugin", 12883 label: "VeeValidate Plugin", 12884 packageName: "vee-validate", 12885 homepage: "https://vee-validate.logaretm.com/v4", 12886 app: t, 12887 logo: "https://vee-validate.logaretm.com/v4/logo.png" 12888 }, PN); 12889} 12890const lu = {}, uu = {}; 12891let ho; 12892const Gs = lN(() => { 12893 setTimeout(async () => { 12894 await zi(), ho?.sendInspectorState(Ns), ho?.sendInspectorTree(Ns); 12895 }, 100); 12896}, 100); 12897function kN(t) { 12898 const e = Zi(); 12899 if (!ho) {
12900 const r = e?.appContext.app; 12901 if (!r) 12902 return; 12903 ux(r); 12904 } 12905 lu[t.formId] = Object.assign({}, t), lu[t.formId]._vm = e, xd(() => { 12906 delete lu[t.formId], Gs(); 12907 }), Gs(); 12908} 12909function DN(t) { 12910 const e = Zi(); 12911 if (!ho) { 12912 const r = e?.appContext.app; 12913 if (!r) 12914 return; 12915 ux(r); 12916 } 12917 uu[t.id] = Object.assign({}, t), uu[t.id]._vm = e, xd(() => { 12918 delete uu[t.id], Gs(); 12919 }), Gs(); 12920} 12921const Ns = "vee-validate-inspector", fn = { 12922 error: 12405579, 12923 success: 448379, 12924 unknown: 5522283, 12925 white: 16777215, 12926 black: 0, 12927 blue: 218007, 12928 purple: 12157168, 12929 orange: 16099682, 12930 gray: 12304330 12931}; 12932let vr = null; 12933function PN(t) { 12934 ho = t, t.addInspector({ 12935 id: Ns, 12936 icon: "rule", 12937 label: "vee-validate", 12938 noSelectionText: "Select a vee-validate node to inspect", 12939 actions: [ 12940 { 12941 icon: "done_outline", 12942 tooltip: "Validate selected item", 12943 action: async () => { 12944 if (!vr) { 12945 console.error("There is not a valid selected vee-validate node or component"); 12946 return; 12947 } 12948 if (vr.type === "field") { 12949 await vr.field.validate(); 12950 return; 12951 } 12952 if (vr.type === "form") { 12953 await vr.form.validate(); 12954 return; 12955 } 12956 vr.type === "pathState" && await vr.form.validateField(vr.state.path); 12957 } 12958 }, 12959 { 12960 icon: "delete_sweep", 12961 tooltip: "Clear validation state of the selected item", 12962 action: () => { 12963 if (!vr) { 12964 console.error("There is not a valid selected vee-validate node or component"); 12965 return; 12966 } 12967 if (vr.type === "field") { 12968 vr.field.resetField(); 12969 return; 12970 } 12971 vr.type === "form" && vr.form.resetForm(), vr.type === "pathState" && vr.form.resetField(vr.state.path); 12972 } 12973 } 12974 ] 12975 }), t.on.getInspectorTree((e) => { 12976 if (e.inspectorId !== Ns) 12977 return; 12978 const r = Object.values(lu), n = Object.values(uu); 12979 e.rootNodes = [ 12980 ...r.map(FN), 12981 ...n.map((i) => IN(i)) 12982 ]; 12983 }), t.on.getInspectorState((e, r) => { 12984 if (e.inspectorId !== Ns || r.currentTab !== `custom-inspector:${Ns}`) 12985 return; 12986 const { form: n, field: i, state: o, type: a } = MN(e.nodeId); 12987 if (n && a === "form") { 12988 e.state = VN(n), vr = { type: "form", form: n }; 12989 return; 12990 } 12991 if (o && a === "pathState" && n) { 12992 e.state = Km(o), vr = { type: "pathState", state: o, form: n }; 12993 return; 12994 } 12995 if (i && a === "field") { 12996 e.state = Km({ 12997 errors: i.errors.value, 12998 dirty: i.meta.dirty, 12999 valid: i.meta.valid, 13000 touched: i.meta.touched, 13001 value: i.value.value, 13002 initialValue: i.meta.initialValue 13003 }), vr = { field: i, type: "field" }; 13004 return; 13005 } 13006 vr = null; 13007 }); 13008} 13009function FN(t) { 13010 const { textColor: e, bgColor: r } = fx(t.meta.value.valid), n = {}; 13011 Object.values(t.getAllPathStates()).forEach((a) => { 13012 Uo(n, ke(a.path), RN(a, t)); 13013 }); 13014 function i(a, s = []) { 13015 const u = [...s].pop(); 13016 return "id" in a ? Object.assign(Object.assign({}, a), { label: u || a.label }) : Gi(a) ? { 13017 id: `${s.join(".")}`, 13018 label: u || "", 13019 children: Object.keys(a).map((l) => i(a[l], [...s, l])) 13020 } : Array.isArray(a) ? { 13021 id: `${s.join(".")}`, 13022 label: `${u}[]`, 13023 children: a.map((l, f) => i(l, [...s, String(f)])) 13024 } : { id: "", label: "", children: [] }; 13025 } 13026 const { children: o } = i(n); 13027 return { 13028 id: u0(t), 13029 label: "Form", 13030 children: o, 13031 tags: [ 13032 { 13033 label: "Form", 13034 textColor: e, 13035 backgroundColor: r 13036 }, 13037 { 13038 label: `${t.getAllPathStates().length} fields`, 13039 textColor: fn.white, 13040 backgroundColor: fn.unknown 13041 } 13042 ] 13043 }; 13044} 13045function RN(t, e) { 13046 return { 13047 id: u0(e, t), 13048 label: ke(t.path), 13049 tags: cx(t.multiple, t.fieldsCount, t.type, t.valid, e) 13050 }; 13051} 13052function IN(t, e) { 13053 return { 13054 id: u0(e, t), 13055 label: ke(t.name), 13056 tags: cx(!1, 1, t.type, t.meta.valid, e) 13057 }; 13058} 13059function cx(t, e, r, n, i) { 13060 const { textColor: o, bgColor: a } = fx(n); 13061 return [ 13062 t ? void 0 : { 13063 label: "Field", 13064 textColor: o, 13065 backgroundColor: a 13066 }, 13067 i ? void 0 : { 13068 label: "Standalone", 13069 textColor: fn.black, 13070 backgroundColor: fn.gray 13071 }, 13072 r === "checkbox" ? { 13073 label: "Checkbox", 13074 textColor: fn.white, 13075 backgroundColor: fn.blue 13076 } : void 0, 13077 r === "radio" ? { 13078 label: "Radio", 13079 textColor: fn.white, 13080 backgroundColor: fn.purple 13081 } : void 0, 13082 t ? { 13083 label: "Multiple", 13084 textColor: fn.black, 13085 backgroundColor: fn.orange 13086 } : void 0
13087 ].filter(Boolean); 13088} 13089function u0(t, e) { 13090 const r = e ? "path" in e ? "pathState" : "field" : "form", n = e ? "path" in e ? e?.path : ke(e?.name) : "", i = { f: t?.formId, ff: n, type: r }; 13091 return btoa(JSON.stringify(i)); 13092} 13093function MN(t) { 13094 try { 13095 const e = JSON.parse(atob(t)), r = lu[e.f]; 13096 if (!r && e.ff) { 13097 const i = uu[e.ff]; 13098 return i ? { 13099 type: e.type, 13100 field: i 13101 } : {}; 13102 } 13103 if (!r) 13104 return {}; 13105 const n = r.getPathState(e.ff); 13106 return { 13107 type: e.type, 13108 form: r, 13109 state: n 13110 }; 13111 } catch { 13112 } 13113 return {}; 13114} 13115function Km(t) { 13116 return { 13117 "Field state": [ 13118 { key: "errors", value: t.errors }, 13119 { 13120 key: "initialValue", 13121 value: t.initialValue 13122 }, 13123 { 13124 key: "currentValue", 13125 value: t.value 13126 }, 13127 { 13128 key: "touched", 13129 value: t.touched 13130 }, 13131 { 13132 key: "dirty", 13133 value: t.dirty 13134 }, 13135 { 13136 key: "valid", 13137 value: t.valid 13138 } 13139 ] 13140 }; 13141} 13142function VN(t) { 13143 const { errorBag: e, meta: r, values: n, isSubmitting: i, isValidating: o, submitCount: a } = t; 13144 return { 13145 "Form state": [ 13146 { 13147 key: "submitCount", 13148 value: a.value 13149 }, 13150 { 13151 key: "isSubmitting", 13152 value: i.value 13153 }, 13154 { 13155 key: "isValidating", 13156 value: o.value 13157 }, 13158 { 13159 key: "touched", 13160 value: r.value.touched 13161 }, 13162 { 13163 key: "dirty", 13164 value: r.value.dirty 13165 }, 13166 { 13167 key: "valid", 13168 value: r.value.valid 13169 }, 13170 { 13171 key: "initialValues", 13172 value: r.value.initialValues 13173 }, 13174 { 13175 key: "currentValues", 13176 value: n 13177 }, 13178 { 13179 key: "errors", 13180 value: hi(e.value).reduce((s, u) => { 13181 var l; 13182 const f = (l = e.value[u]) === null || l === void 0 ? void 0 : l[0]; 13183 return f && (s[u] = f), s; 13184 }, {}) 13185 } 13186 ] 13187 }; 13188} 13189function fx(t) { 13190 return { 13191 bgColor: t ? fn.success : fn.error, 13192 textColor: t ? fn.black : fn.white 13193 }; 13194} 13195function dx(t, e, r) { 13196 return $u(r?.type) ? jN(t, e, r) : hx(t, e, r); 13197} 13198function hx(t, e, r) { 13199 const { initialValue: n, validateOnMount: i, bails: o, type: a, checkedValue: s, label: u, validateOnValueUpdate: l, uncheckedValue: f, controlled: h, keepValueOnUnmount: g, modelPropName: d, syncVModel: m, form: b } = LN(r), S = h ? nx(Cd) : void 0, w = b || S, D = cN(t), T = Vt(() => { 13200 if (ke(w?.schema)) 13201 return; 13202 const Ve = ke(e); 13203 return Wf(Ve) || Ha(Ve) || Kr(Ve) || Array.isArray(Ve) ? Ve : ox(Ve); 13204 }), { id: _, value: x, initialValue: p, meta: N, setState: V, errors: P, flags: M } = TN(D, { 13205 modelValue: n, 13206 form: w, 13207 bails: o, 13208 label: u, 13209 type: a, 13210 validate: T.value ? L : void 0 13211 }), U = Vt(() => P.value[0]); 13212 m && BN({ value: x, prop: d, handleChange: Z }); 13213 const re = () => { 13214 N.touched = !0; 13215 }; 13216 async function Q(be) { 13217 var Ve, Be; 13218 return w?.validateSchema ? (Ve = (await w.validateSchema(be)).results[ke(D)]) !== null && Ve !== void 0 ? Ve : { valid: !0, errors: [] } : T.value ? ax(x.value, T.value, { 13219 name: ke(D), 13220 label: ke(u), 13221 values: (Be = w?.values) !== null && Be !== void 0 ? Be : {}, 13222 bails: o 13223 }) : { valid: !0, errors: [] }; 13224 } 13225 const ne = Gp(async () => (N.pending = !0, N.validated = !0, Q("validated-only")), (be) => { 13226 if (!M.pendingUnmount[je.id]) 13227 return V({ errors: be.errors }), N.pending = !1, N.valid = be.valid, be; 13228 }), ee = Gp(async () => Q("silent"), (be) => (N.valid = be.valid, be)); 13229 function L(be) { 13230 return be?.mode === "silent" ? ee() : ne(); 13231 } 13232 function Z(be, Ve = !0) { 13233 const Be = qf(be); 13234 de(Be, Ve); 13235 } 13236 Xu(() => { 13237 if (i) 13238 return ne(); 13239 (!w || !w.validateSchema) && ee(); 13240 }); 13241 function G(be) { 13242 N.touched = be; 13243 } 13244 function se(be) { 13245 var Ve; 13246 const Be = be && "value" in be ? be.value : p.value; 13247 V({ 13248 value: ur(Be), 13249 initialValue: ur(Be), 13250 touched: (Ve = be?.touched) !== null && Ve !== void 0 ? Ve : !1, 13251 errors: be?.errors || [] 13252 }), N.pending = !1, N.validated = !1, ee(); 13253 } 13254 function de(be, Ve = !0) {
13255 if (x.value = be, !Ve) { 13256 ee(); 13257 return; 13258 } 13259 (Ve ? ne : ee)(); 13260 } 13261 function Re(be) { 13262 V({ errors: Array.isArray(be) ? be : [be] }); 13263 } 13264 const ze = Vt({ 13265 get() { 13266 return x.value; 13267 }, 13268 set(be) { 13269 de(be, l); 13270 } 13271 }); 13272 ({}).NODE_ENV !== "production" && Ir(ze, (be, Ve) => { 13273 Gi(be) && be === Ve && Gr(be, Ve) && Nn("Detected a possible deep change on field `value` ref, for nested changes please either set the entire ref value or use `setValue` or `handleChange`."); 13274 }, { deep: !0 }); 13275 const je = { 13276 id: _, 13277 name: D, 13278 label: u, 13279 value: ze, 13280 meta: N, 13281 errors: P, 13282 errorMessage: U, 13283 type: a, 13284 checkedValue: s, 13285 uncheckedValue: f, 13286 bails: o, 13287 keepValueOnUnmount: g, 13288 resetField: se, 13289 handleReset: () => se(), 13290 validate: L, 13291 handleChange: Z, 13292 handleBlur: re, 13293 setState: V, 13294 setTouched: G, 13295 setErrors: Re, 13296 setValue: de 13297 }; 13298 if (Bv(tN, je), /* @__PURE__ */ Rt(e) && typeof ke(e) != "function" && Ir(e, (be, Ve) => { 13299 Gr(be, Ve) || (N.validated ? ne() : ee()); 13300 }, { 13301 deep: !0 13302 }), {}.NODE_ENV !== "production" && (je._vm = Zi(), Ir(() => Object.assign(Object.assign({ errors: P.value }, N), { value: x.value }), Gs, { 13303 deep: !0 13304 }), w || DN(je)), !w) 13305 return je; 13306 const Le = Vt(() => { 13307 const be = T.value; 13308 return !be || Kr(be) || Wf(be) || Ha(be) || Array.isArray(be) ? {} : Object.keys(be).reduce((Ve, Be) => { 13309 const Pe = pN(be[Be]).map(($e) => $e.__locatorRef).reduce(($e, rt) => { 13310 const _t = hn(w.values, rt) || w.values[rt]; 13311 return _t !== void 0 && ($e[rt] = _t), $e; 13312 }, {}); 13313 return Object.assign(Ve, Pe), Ve; 13314 }, {}); 13315 }); 13316 return Ir(Le, (be, Ve) => { 13317 if (!Object.keys(be).length) 13318 return; 13319 !Gr(be, Ve) && (N.validated ? ne() : ee()); 13320 }), Wv(() => { 13321 var be; 13322 const Ve = (be = ke(je.keepValueOnUnmount)) !== null && be !== void 0 ? be : ke(w.keepValuesOnUnmount), Be = go(D); 13323 if (Ve || !w || M.pendingUnmount[je.id]) { 13324 w?.removePathState(Be, _); 13325 return; 13326 } 13327 M.pendingUnmount[je.id] = !0; 13328 const Pe = w.getPathState(Be); 13329 if (Array.isArray(Pe?.id) && Pe?.multiple ? Pe?.id.includes(je.id) : Pe?.id === je.id) { 13330 if (Pe?.multiple && Array.isArray(Pe.value)) { 13331 const rt = Pe.value.findIndex((_t) => Gr(_t, ke(je.checkedValue))); 13332 if (rt > -1) { 13333 const _t = [...Pe.value]; 13334 _t.splice(rt, 1), w.setFieldValue(Be, _t); 13335 } 13336 Array.isArray(Pe.id) && Pe.id.splice(Pe.id.indexOf(je.id), 1); 13337 } else 13338 w.unsetPathValue(go(D)); 13339 w.removePathState(Be, _); 13340 } 13341 }), je; 13342} 13343function LN(t) { 13344 var e; 13345 const r = () => ({ 13346 initialValue: void 0, 13347 validateOnMount: !1, 13348 bails: !0, 13349 label: void 0, 13350 validateOnValueUpdate: !0, 13351 keepValueOnUnmount: void 0, 13352 modelPropName: "modelValue", 13353 syncVModel: !0, 13354 controlled: !0 13355 }), i = ((e = t?.syncVModel) !== null && e !== void 0 ? e : !0) && !("initialValue" in (t || {})) ? Zp(Zi(), t?.modelPropName || "modelValue") : t?.initialValue; 13356 if (!t) 13357 return Object.assign(Object.assign({}, r()), { initialValue: i }); 13358 const o = "valueProp" in t ? t.valueProp : t.checkedValue, a = "standalone" in t ? !t.standalone : t.controlled; 13359 return Object.assign(Object.assign(Object.assign({}, r()), t || {}), { initialValue: i, controlled: a ?? !0, checkedValue: o }); 13360} 13361function jN(t, e, r) { 13362 const n = r?.standalone ? void 0 : nx(Cd), i = r?.checkedValue, o = r?.uncheckedValue; 13363 function a(s) { 13364 const u = s.handleChange, l = Vt(() => { 13365 const h = ke(s.value), g = ke(i); 13366 return Array.isArray(h) ? h.findIndex((d) => Gr(d, g)) >= 0 : Gr(g, h); 13367 }); 13368 function f(h, g = !0) { 13369 var d; 13370 if (l.value === ((d = h?.target) === null || d === void 0 ? void 0 : d.checked)) { 13371 g && s.validate(); 13372 return; 13373 } 13374 const m = go(t), b = n?.getPathState(m), S = qf(h); 13375 let w; 13376 n && b?.multiple && b.type === "checkbox" ? w = Hm(hn(n.values, m) || [], S, void 0) : w = Hm(ke(s.value), ke(i), ke(o)), u(w, g); 13377 } 13378 return Object.assign(Object.assign({}, s), { 13379 checked: l, 13380 checkedValue: i, 13381 uncheckedValue: o, 13382 handleChange: f 13383 }); 13384 } 13385 return a(hx(t, e, r)); 13386} 13387function BN({ prop: t, value: e, handleChange: r }) { 13388 const n = Zi(); 13389 if (!n) { 13390 ({}).NODE_ENV !== "production" && console.warn("Failed to setup model events because `useField` was not called in setup."); 13391 return; 13392 } 13393 const i = t || "modelValue", o = `update:${i}`; 13394 i in n.props && (Ir(e, (a) => { 13395 Gr(a, Zp(n, i)) || n.emit(o, a); 13396 }), Ir(() => Zp(n, i), (a) => { 13397 if (a === zf && e.value === void 0) 13398 return; 13399 const s = a === zf ? void 0 : a; 13400 Gr(s, uN(e.value, n.props.modelModifiers)) || r(s); 13401 })); 13402} 13403function Zp(t, e) { 13404 if (t) 13405 return t.props[e]; 13406} 13407const UN = /* @__PURE__ */ Gu({ 13408 name: "Field", 13409 inheritAttrs: !1, 13410 props: { 13411 as: { 13412 type: [String, Object], 13413 default: void 0 13414 }, 13415 name: { 13416 type: String, 13417 required: !0 13418 }, 13419 rules: { 13420 type: [Object, String, Function], 13421 default: void 0 13422 }, 13423 validateOnMount: { 13424 type: Boolean, 13425 default: !1 13426 }, 13427 validateOnBlur: { 13428 type: Boolean, 13429 default: void 0 13430 }, 13431 validateOnChange: { 13432 type: Boolean, 13433 default: void 0 13434 }, 13435 validateOnInput: { 13436 type: Boolean, 13437 default: void 0 13438 }, 13439 validateOnModelUpdate: { 13440 type: Boolean, 13441 default: void 0 13442 }, 13443 bails: { 13444 type: Boolean, 13445 default: () => zo().bails 13446 }, 13447 label: { 13448 type: String, 13449 default: void 0 13450 }, 13451 uncheckedValue: { 13452 type: null, 13453 default: void 0 13454 }, 13455 modelValue: { 13456 type: null, 13457 default: zf 13458 }, 13459 modelModifiers: { 13460 type: null, 13461 default: () => ({}) 13462 }, 13463 "onUpdate:modelValue": { 13464 type: null, 13465 default: void 0 13466 }, 13467 standalone: { 13468 type: Boolean, 13469 default: !1 13470 }, 13471 keepValue: { 13472 type: Boolean, 13473 default: void 0 13474 } 13475 }, 13476 setup(t, e) { 13477 const r = /* @__PURE__ */ wn(t, "rules"), n = /* @__PURE__ */ wn(t, "name"), i = /* @__PURE__ */ wn(t, "label"), o = /* @__PURE__ */ wn(t, "uncheckedValue"), a = /* @__PURE__ */ wn(t, "keepValue"), { errors: s, value: u, errorMessage: l, validate: f, handleChange: h, handleBlur: g, setTouched: d, resetField: m, handleReset: b, meta: S, checked: w, setErrors: D } = dx(n, r, { 13478 validateOnMount: t.validateOnMount, 13479 bails: t.bails, 13480 standalone: t.standalone, 13481 type: e.attrs.type, 13482 initialValue: zN(t, e), 13483 // Only for checkboxes and radio buttons 13484 checkedValue: e.attrs.value, 13485 uncheckedValue: o, 13486 label: i, 13487 validateOnValueUpdate: !1, 13488 keepValueOnUnmount: a 13489 }), T = function(N, V = !0) { 13490 h(N, V), e.emit("update:modelValue", u.value); 13491 }, _ = Vt(() => {
13492 const { validateOnInput: p, validateOnChange: N, validateOnBlur: V, validateOnModelUpdate: P } = HN(t); 13493 function M(ee) { 13494 g(ee), Kr(e.attrs.onBlur) && e.attrs.onBlur(ee), V && f(); 13495 } 13496 function U(ee) { 13497 T(ee, p), Kr(e.attrs.onInput) && e.attrs.onInput(ee); 13498 } 13499 function re(ee) { 13500 T(ee, N), Kr(e.attrs.onChange) && e.attrs.onChange(ee); 13501 } 13502 const Q = { 13503 name: t.name, 13504 onBlur: M, 13505 onInput: U, 13506 onChange: re 13507 }; 13508 Q["onUpdate:modelValue"] = (ee) => T(ee, P), $u(e.attrs.type) && w && (Q.checked = w.value); 13509 const ne = Gm(t, e); 13510 return sN(ne, e.attrs) && (Q.value = u.value), Q; 13511 }); 13512 function x() { 13513 return { 13514 field: _.value, 13515 value: u.value, 13516 meta: S, 13517 errors: s.value, 13518 errorMessage: l.value, 13519 validate: f, 13520 resetField: m, 13521 handleChange: T, 13522 handleInput: (p) => T(p, !1), 13523 handleReset: b, 13524 handleBlur: g, 13525 setTouched: d, 13526 setErrors: D 13527 }; 13528 } 13529 return e.expose({ 13530 setErrors: D, 13531 setTouched: d, 13532 reset: m, 13533 validate: f, 13534 handleChange: h 13535 }), () => { 13536 const p = qv(Gm(t, e)), N = l0(p, e, x); 13537 return p ? ku(p, Object.assign(Object.assign({}, e.attrs), _.value), N) : N; 13538 }; 13539 } 13540}); 13541function Gm(t, e) { 13542 let r = t.as || ""; 13543 return !t.as && !e.slots.default && (r = "input"), r; 13544} 13545function HN(t) { 13546 var e, r, n, i; 13547 const { validateOnInput: o, validateOnChange: a, validateOnBlur: s, validateOnModelUpdate: u } = zo(); 13548 return { 13549 validateOnInput: (e = t.validateOnInput) !== null && e !== void 0 ? e : o, 13550 validateOnChange: (r = t.validateOnChange) !== null && r !== void 0 ? r : a, 13551 validateOnBlur: (n = t.validateOnBlur) !== null && n !== void 0 ? n : s, 13552 validateOnModelUpdate: (i = t.validateOnModelUpdate) !== null && i !== void 0 ? i : u 13553 }; 13554} 13555function zN(t, e) { 13556 return $u(e.attrs.type) ? Lm(t, "modelValue") ? t.modelValue : void 0 : Lm(t, "modelValue") ? t.modelValue : e.attrs.value; 13557} 13558const Al = UN; 13559let WN = 0; 13560const Nl = ["bails", "fieldsCount", "id", "multiple", "type", "validate"]; 13561function px(t) { 13562 const e = ke(t?.initialValues) || {}, r = ke(t?.validationSchema); 13563 return r && Ha(r) && Kr(r.cast) ? ur(r.cast(e) || {}) : ur(e); 13564} 13565function qN(t) { 13566 var e; 13567 const r = WN++; 13568 let n = 0; 13569 const i = /* @__PURE__ */ tr(!1), o = /* @__PURE__ */ tr(!1), a = /* @__PURE__ */ tr(0), s = [], u = /* @__PURE__ */ wo(px(t)), l = /* @__PURE__ */ tr([]), f = /* @__PURE__ */ tr({}); 13570 function h(W, j) { 13571 const ie = ne(W); 13572 if (!ie) { 13573 f.value[W] = Xp(j); 13574 return; 13575 } 13576 ie.errors = Xp(j); 13577 } 13578 function g(W) { 13579 hi(W).forEach((j) => { 13580 h(j, W[j]); 13581 }); 13582 } 13583 t?.initialErrors && g(t.initialErrors); 13584 const d = Vt(() => { 13585 const W = l.value.reduce((j, ie) => (ie.errors.length && (j[ie.path] = ie.errors), j), {}); 13586 return Object.assign(Object.assign({}, f.value), W); 13587 }), m = Vt(() => hi(d.value).reduce((W, j) => { 13588 const ie = d.value[j]; 13589 return ie?.length && (W[j] = ie[0]), W; 13590 }, {})), b = Vt(() => l.value.reduce((W, j) => (W[j.path] = { name: j.path || "", label: j.label || "" }, W), {})), S = Vt(() => l.value.reduce((W, j) => { 13591 var ie; 13592 return W[j.path] = (ie = j.bails) !== null && ie !== void 0 ? ie : !0, W; 13593 }, {})), w = Object.assign({}, t?.initialErrors || {}), D = (e = t?.keepValuesOnUnmount) !== null && e !== void 0 ? e : !1, { initialValues: T, originalInitialValues: _, setInitialValues: x } = GN(l, u, t), p = KN(l, u, _, m), N = Vt(() => l.value.reduce((W, j) => { 13594 const ie = hn(u, j.path); 13595 return Uo(W, j.path, ie), W; 13596 }, {})), V = t?.validationSchema; 13597 function P(W, j) { 13598 var ie, le; 13599 const _e = Vt(() => hn(T.value, go(W))), Oe = l.value.find((xt) => xt.path === ke(W)); 13600 if (Oe) { 13601 (j?.type === "checkbox" || j?.type === "radio") && (Oe.multiple = !0); 13602 const xt = n++; 13603 return Array.isArray(Oe.id) ? Oe.id.push(xt) : Oe.id = [Oe.id, xt], Oe.fieldsCount++, Oe.__flags.pendingUnmount[xt] = !1, Oe; 13604 } 13605 const Ie = Vt(() => hn(u, go(W))), Ue = go(W), He = n++, at = /* @__PURE__ */ wo({ 13606 id: He, 13607 path: W, 13608 touched: !1, 13609 pending: !1, 13610 valid: !0, 13611 validated: !!(!((ie = w[Ue]) === null || ie === void 0) && ie.length), 13612 initialValue: _e, 13613 errors: /* @__PURE__ */ jT([]), 13614 bails: (le = j?.bails) !== null && le !== void 0 ? le : !1, 13615 label: j?.label, 13616 type: j?.type || "default", 13617 value: Ie, 13618 multiple: !1, 13619 __flags: { 13620 pendingUnmount: { [He]: !1 } 13621 }, 13622 fieldsCount: 1, 13623 validate: j?.validate, 13624 dirty: Vt(() => !Gr(ke(Ie), ke(_e))) 13625 }); 13626 return l.value.push(at), m.value[Ue] && !w[Ue] && zi(() => { 13627 F(Ue); 13628 }
13628), /* @__PURE__ */ Rt(W) && Ir(W, (xt) => { 13629 const $t = ur(Ie.value); 13630 zi(() => { 13631 Uo(u, xt, $t); 13632 }); 13633 }), at; 13634 } 13635 const M = zm(ve, 5), U = zm(ve, 5), re = Gp(async (W) => await W === "silent" ? M() : U(), (W, [j]) => { 13636 const ie = hi(Le.errorBag.value); 13637 return [ 13638 .../* @__PURE__ */ new Set([...hi(W.results), ...l.value.map((_e) => _e.path), ...ie]) 13639 ].sort().reduce((_e, Oe) => { 13640 const Ie = Oe, Ue = ne(Ie) || ee(Ie), He = (W.results[Ie] || { errors: [] }).errors, at = { 13641 errors: He, 13642 valid: !He.length 13643 }; 13644 return _e.results[Ie] = at, at.valid || (_e.errors[Ie] = at.errors[0]), Ue && f.value[Ie] && delete f.value[Ie], Ue ? (Ue.valid = at.valid, j === "silent" || j === "validated-only" && !Ue.validated || h(Ue, at.errors), _e) : (h(Ie, He), _e); 13645 }, { valid: W.valid, results: {}, errors: {} }); 13646 }); 13647 function Q(W) { 13648 l.value.forEach(W); 13649 } 13650 function ne(W) { 13651 return typeof W == "string" ? l.value.find((ie) => ie.path === W) : W; 13652 } 13653 function ee(W) { 13654 return l.value.filter((ie) => W.startsWith(ie.path)).reduce((ie, le) => ie ? le.path.length > ie.path.length ? le : ie : le, void 0); 13655 } 13656 let L = [], Z; 13657 function G(W) { 13658 return L.push(W), Z || (Z = zi(() => { 13659 [...L].sort().reverse().forEach((ie) => { 13660 Um(u, ie); 13661 }), L = [], Z = null; 13662 })), Z; 13663 } 13664 function se(W) { 13665 return function(ie, le) { 13666 return function(Oe) { 13667 return Oe instanceof Event && (Oe.preventDefault(), Oe.stopPropagation()), Q((Ie) => Ie.touched = !0), i.value = !0, a.value++, Tt().then((Ie) => { 13668 const Ue = ur(u); 13669 if (Ie.valid && typeof ie == "function") { 13670 const He = ur(N.value); 13671 let at = W ? He : Ue; 13672 return Ie.values && (at = Ie.values), ie(at, { 13673 evt: Oe, 13674 controlledValues: He, 13675 setErrors: g, 13676 setFieldError: h, 13677 setTouched: rt, 13678 setFieldTouched: $e, 13679 setValues: Ve, 13680 setFieldValue: be, 13681 resetForm: ar, 13682 resetField: _t 13683 }); 13684 } 13685 !Ie.valid && typeof le == "function" && le({ 13686 values: Ue, 13687 evt: Oe, 13688 errors: Ie.errors, 13689 results: Ie.results 13690 }); 13691 }).then((Ie) => (i.value = !1, Ie), (Ie) => { 13692 throw i.value = !1, Ie; 13693 }); 13694 }; 13695 }; 13696 } 13697 const Re = se(!1); 13698 Re.withControlled = se(!0); 13699 function ze(W, j) { 13700 const ie = l.value.findIndex((_e) => _e.path === W), le = l.value[ie]; 13701 if (!(ie === -1 || !le)) { 13702 if (le.multiple && le.fieldsCount && le.fieldsCount--, Array.isArray(le.id)) { 13703 const _e = le.id.indexOf(j); 13704 _e >= 0 && le.id.splice(_e, 1), delete le.__flags.pendingUnmount[j]; 13705 } 13706 (!le.multiple || le.fieldsCount <= 0) && (l.value.splice(ie, 1), q(W)); 13707 } 13708 } 13709 function je(W) { 13710 return Q((j) => { 13711 j.path.startsWith(W) && hi(j.__flags.pendingUnmount).forEach((ie) => { 13712 j.__flags.pendingUnmount[ie] = !0; 13713 }); 13714 }); 13715 } 13716 const Le = { 13717 formId: r, 13718 values: u, 13719 controlledValues: N, 13720 errorBag: d, 13721 errors: m, 13722 schema: V, 13723 submitCount: a, 13724 meta: p, 13725 isSubmitting: i, 13726 isValidating: o, 13727 fieldArrays: s, 13728 keepValuesOnUnmount: D, 13729 validateSchema: ke(V) ? re : void 0, 13730 validate: Tt, 13731 setFieldError: h, 13732 validateField: F, 13733 setFieldValue: be, 13734 setValues: Ve, 13735 setErrors: g, 13736 setFieldTouched: $e, 13737 setTouched: rt, 13738 resetForm: ar, 13739 resetField: _t, 13740 handleSubmit: Re, 13741 stageInitialValue: K, 13742 unsetInitialValue: q, 13743 setFieldInitialValue: ce, 13744 useFieldModel: Pe, 13745 createPathState: P, 13746 getPathState: ne, 13747 unsetPathValue: G, 13748 removePathState: ze, 13749 initialValues: T, 13750 getAllPathStates: () => l.value, 13751 markForUnmount: je 13752 }; 13753 function be(W, j) { 13754 const ie = ur(j), le = typeof W == "string" ? W : W.path; 13755 ne(le) || P(le), Uo(u, le, ie); 13756 } 13757 function Ve(W) { 13758 ex(u, W), s.forEach((j) => j && j.reset()); 13759 } 13760 function Be(W) { 13761 const j = ne(ke(W)) || P(W); 13762 return Vt({ 13763 get() { 13764 return j.value; 13765 }, 13766 set(ie) { 13767 const le = ke(W);
13768 be(le, ie), j.validated = !0, j.pending = !0, F(le).then(() => { 13769 j.pending = !1; 13770 }); 13771 } 13772 }); 13773 } 13774 function Pe(W) { 13775 return Array.isArray(W) ? W.map(Be) : Be(W); 13776 } 13777 function $e(W, j) { 13778 const ie = ne(W); 13779 ie && (ie.touched = j); 13780 } 13781 function rt(W) { 13782 hi(W).forEach((j) => { 13783 $e(j, !!W[j]); 13784 }); 13785 } 13786 function _t(W, j) { 13787 var ie; 13788 const le = j && "value" in j ? j.value : hn(T.value, W); 13789 ce(W, ur(le)), be(W, le), $e(W, (ie = j?.touched) !== null && ie !== void 0 ? ie : !1), h(W, j?.errors || []); 13790 } 13791 function ar(W) { 13792 const j = W?.values ? W.values : _.value; 13793 x(j), Ve(j), Q((ie) => { 13794 var le; 13795 ie.validated = !1, ie.touched = ((le = W?.touched) === null || le === void 0 ? void 0 : le[ie.path]) || !1, be(ie.path, hn(j, ie.path)), h(ie.path, void 0); 13796 }), g(W?.errors || {}), a.value = W?.submitCount || 0, zi(() => { 13797 Tt({ mode: "silent" }); 13798 }); 13799 } 13800 async function Tt(W) { 13801 const j = W?.mode || "force"; 13802 if (j === "force" && Q((Oe) => Oe.validated = !0), Le.validateSchema) 13803 return Le.validateSchema(j); 13804 o.value = !0; 13805 const ie = await Promise.all(l.value.map((Oe) => Oe.validate ? Oe.validate(W).then((Ie) => ({ 13806 key: Oe.path, 13807 valid: Ie.valid, 13808 errors: Ie.errors 13809 })) : Promise.resolve({ 13810 key: Oe.path, 13811 valid: !0, 13812 errors: [] 13813 }))); 13814 o.value = !1; 13815 const le = {}, _e = {}; 13816 for (const Oe of ie) 13817 le[Oe.key] = { 13818 valid: Oe.valid, 13819 errors: Oe.errors 13820 }, Oe.errors.length && (_e[Oe.key] = Oe.errors[0]); 13821 return { 13822 valid: ie.every((Oe) => Oe.valid), 13823 results: le, 13824 errors: _e 13825 }; 13826 } 13827 async function F(W) { 13828 const j = ne(W); 13829 if (j && (j.validated = !0), V) { 13830 const { results: ie } = await re("validated-only"); 13831 return ie[W] || { errors: [], valid: !0 }; 13832 } 13833 return j?.validate ? j.validate() : (j || Nn(`field with path ${W} was not found`), Promise.resolve({ errors: [], valid: !0 })); 13834 } 13835 function q(W) { 13836 Um(T.value, W); 13837 } 13838 function K(W, j, ie = !1) { 13839 ce(W, j), Uo(u, W, j), ie && !t?.initialValues && Uo(_.value, W, ur(j)); 13840 } 13841 function ce(W, j) { 13842 Uo(T.value, W, ur(j)); 13843 } 13844 async function ve() { 13845 const W = ke(V); 13846 if (!W) 13847 return { valid: !0, results: {}, errors: {} }; 13848 o.value = !0; 13849 const j = Wf(W) || Ha(W) ? await SN(W, u) : await _N(W, u, { 13850 names: b.value, 13851 bailsMap: S.value 13852 }); 13853 return o.value = !1, j; 13854 } 13855 const ge = Re((W, { evt: j }) => { 13856 rx(j) && j.target.submit(); 13857 }); 13858 Xu(() => { 13859 if (t?.initialErrors && g(t.initialErrors), t?.initialTouched && rt(t.initialTouched), t?.validateOnMount) { 13860 Tt(); 13861 return; 13862 } 13863 Le.validateSchema && Le.validateSchema("silent"); 13864 }), /* @__PURE__ */ Rt(V) && Ir(V, () => { 13865 var W; 13866 (W = Le.validateSchema) === null || W === void 0 || W.call(Le, "validated-only"); 13867 }), Bv(Cd, Le), {}.NODE_ENV !== "production" && (kN(Le), Ir(() => Object.assign(Object.assign({ errors: d.value }, p.value), { values: u, isSubmitting: i.value, isValidating: o.value, submitCount: a.value }), Gs, { 13868 deep: !0 13869 })); 13870 function Ce(W, j) { 13871 const ie = ne(go(W)) || P(W), le = () => Kr(j) ? j(Ol(ie, Nl)) : j || {}; 13872 function _e() { 13873 var Ue; 13874 ie.touched = !0, ((Ue = le().validateOnBlur) !== null && Ue !== void 0 ? Ue : zo().validateOnBlur) && F(ie.path); 13875 } 13876 function Oe(Ue) { 13877 var He; 13878 be(ie.path, Ue), ((He = le().validateOnModelUpdate) !== null && He !== void 0 ? He : zo().validateOnModelUpdate) && F(ie.path); 13879 } 13880 return Vt(() => { 13881 const Ue = { 13882 modelValue: ie.value, 13883 "onUpdate:modelValue": Oe, 13884 onBlur: _e 13885 }; 13886 return Kr(j) ? Object.assign(Object.assign({}, Ue), j(ie).props || {}) : j?.mapProps ? Object.assign(Object.assign({}, Ue), j.mapProps(Ol(ie, Nl))) : Ue; 13887 }); 13888 } 13889 function Ee(W, j) { 13890 const ie = ne(go(W)) || P(W), le = () => Kr(j) ? j(Ol(ie, Nl)) : j || {}; 13891 function _e() { 13892 var He; 13893 ie.touched = !0, ((He = le().validateOnBlur) !== null && He !== void 0 ? He : zo().validateOnBlur) && F(ie.path); 13894 } 13895 function Oe(He) { 13896 var at; 13897 const xt = qf(He);
13898 be(ie.path, xt), ((at = le().validateOnInput) !== null && at !== void 0 ? at : zo().validateOnInput) && F(ie.path); 13899 } 13900 function Ie(He) { 13901 var at; 13902 const xt = qf(He); 13903 be(ie.path, xt), ((at = le().validateOnChange) !== null && at !== void 0 ? at : zo().validateOnChange) && F(ie.path); 13904 } 13905 return Vt(() => { 13906 const He = { 13907 value: ie.value, 13908 onChange: Ie, 13909 onInput: Oe, 13910 onBlur: _e 13911 }; 13912 return Kr(j) ? Object.assign(Object.assign({}, He), j(Ol(ie, Nl)).attrs || {}) : j?.mapAttrs ? Object.assign(Object.assign({}, He), j.mapAttrs(Ol(ie, Nl))) : He; 13913 }); 13914 } 13915 return Object.assign(Object.assign({}, Le), { 13916 handleReset: () => ar(), 13917 submitForm: ge, 13918 defineComponentBinds: Ce, 13919 defineInputBinds: Ee 13920 }); 13921} 13922function KN(t, e, r, n) { 13923 const i = { 13924 touched: "some", 13925 pending: "some", 13926 valid: "every" 13927 }, o = Vt(() => !Gr(e, ke(r))); 13928 function a() { 13929 const u = t.value; 13930 return hi(i).reduce((l, f) => { 13931 const h = i[f]; 13932 return l[f] = u[h]((g) => g[f]), l; 13933 }, {}); 13934 } 13935 const s = /* @__PURE__ */ wo(a()); 13936 return vC(() => { 13937 const u = a(); 13938 s.touched = u.touched, s.valid = u.valid, s.pending = u.pending; 13939 }), Vt(() => Object.assign(Object.assign({ initialValues: ke(r) }, s), { valid: s.valid && !hi(n.value).length, dirty: o.value })); 13940} 13941function GN(t, e, r) { 13942 const n = px(r), i = r?.initialValues, o = /* @__PURE__ */ tr(n), a = /* @__PURE__ */ tr(ur(n)); 13943 function s(u, l = !1) { 13944 o.value = ur(u), a.value = ur(u), l && t.value.forEach((f) => { 13945 if (f.touched) 13946 return; 13947 const g = hn(o.value, f.path); 13948 Uo(e, f.path, ur(g)); 13949 }); 13950 } 13951 return /* @__PURE__ */ Rt(i) && Ir(i, (u) => { 13952 s(u, !0); 13953 }, { 13954 deep: !0 13955 }), { 13956 initialValues: o, 13957 originalInitialValues: a, 13958 setInitialValues: s 13959 }; 13960} 13961const XN = /* @__PURE__ */ Gu({ 13962 name: "Form", 13963 inheritAttrs: !1, 13964 props: { 13965 as: { 13966 type: String, 13967 default: "form" 13968 }, 13969 validationSchema: { 13970 type: Object, 13971 default: void 0 13972 }, 13973 initialValues: { 13974 type: Object, 13975 default: void 0 13976 }, 13977 initialErrors: { 13978 type: Object, 13979 default: void 0 13980 }, 13981 initialTouched: { 13982 type: Object, 13983 default: void 0 13984 }, 13985 validateOnMount: { 13986 type: Boolean, 13987 default: !1 13988 }, 13989 onSubmit: { 13990 type: Function, 13991 default: void 0 13992 }, 13993 onInvalidSubmit: { 13994 type: Function, 13995 default: void 0 13996 }, 13997 keepValues: { 13998 type: Boolean, 13999 default: !1 14000 } 14001 }, 14002 setup(t, e) { 14003 const r = /* @__PURE__ */ wn(t, "initialValues"), n = /* @__PURE__ */ wn(t, "validationSchema"), i = /* @__PURE__ */ wn(t, "keepValues"), { errors: o, errorBag: a, values: s, meta: u, isSubmitting: l, isValidating: f, submitCount: h, controlledValues: g, validate: d, validateField: m, handleReset: b, resetForm: S, handleSubmit: w, setErrors: D, setFieldError: T, setFieldValue: _, setValues: x, setFieldTouched: p, setTouched: N, resetField: V } = qN({ 14004 validationSchema: n.value ? n : void 0, 14005 initialValues: r, 14006 initialErrors: t.initialErrors, 14007 initialTouched: t.initialTouched, 14008 validateOnMount: t.validateOnMount, 14009 keepValuesOnUnmount: i 14010 }), P = w((Z, { evt: G }) => { 14011 rx(G) && G.target.submit(); 14012 }, t.onInvalidSubmit), M = t.onSubmit ? w(t.onSubmit, t.onInvalidSubmit) : P; 14013 function U(Z) { 14014 a0(Z) && Z.preventDefault(), b(), typeof e.attrs.onReset == "function" && e.attrs.onReset(); 14015 } 14016 function re(Z, G) { 14017 return w(typeof Z == "function" && !G ? Z : G, t.onInvalidSubmit)(Z); 14018 } 14019 function Q() { 14020 return ur(s); 14021 } 14022 function ne() { 14023 return ur(u.value); 14024 } 14025 function ee() { 14026 return ur(o.value); 14027 } 14028 function L() { 14029 return { 14030 meta: u.value, 14031 errors: o.value, 14032 errorBag: a.value, 14033 values: s, 14034 isSubmitting: l.value, 14035 isValidating: f.value, 14036 submitCount: h.value, 14037 controlledValues: g.value, 14038 validate: d, 14039 validateField: m, 14040 handleSubmit: re, 14041 handleReset: b, 14042 submitForm: P, 14043 setErrors: D, 14044 setFieldError: T, 14045 setFieldValue: _, 14046 setValues: x, 14047 setFieldTouched: p, 14048 setTouched: N, 14049 resetForm: S, 14050 resetField: V, 14051 getValues: Q, 14052 getMeta: ne, 14053 getErrors: ee 14054 }; 14055 } 14056 return e.expose({ 14057 setFieldError: T, 14058 setErrors: D, 14059 setFieldValue: _, 14060 setValues: x, 14061 setFieldTouched: p, 14062 setTouched: N, 14063 resetForm: S, 14064 validate: d, 14065 validateField: m, 14066 resetField: V, 14067 getValues: Q, 14068 getMeta: ne, 14069 getErrors: ee 14070 }), function() { 14071 const G = t.as === "form" ? t.as : qv(t.as), se = l0(G, e, L); 14072 if (!t.as) 14073 return se; 14074 const de = t.as === "form" ? { 14075 // Disables native validation as vee-validate will handle it. 14076 novalidate: !0 14077 } : {}; 14078 return ku(G, Object.assign(Object.assign(Object.assign({}, de), e.attrs), { onSubmit: M, onReset: U }), se); 14079 }; 14080 } 14081}), YN = XN, ZN = /* @__PURE__ */ Gu({ 14082 name: "ErrorMessage", 14083 props: { 14084 as: { 14085 type: String, 14086 default: void 0 14087 }, 14088 name: { 14089 type: String, 14090 required: !0 14091 } 14092 }, 14093 setup(t, e) { 14094 const r = Ra(Cd, void 0), n = Vt(() => r?.errors.value[t.name]); 14095 function i() { 14096 return { 14097 message: n.value 14098 }; 14099 } 14100 return () => { 14101 if (!n.value) 14102 return; 14103 const o = t.as ? qv(t.as) : t.as, a = l0(o, e, i), s = Object.assign({ role: "alert" }, e.attrs); 14104 return !o && (Array.isArray(a) || !a) && a?.length ? a : (Array.isArray(a) || !a) && !a?.length ? ku(o || "span", s, n.value) : ku(o, s, a); 14105 }; 14106 } 14107}), ps = ZN; 14108var rn = "top", Pn = "bottom", Fn = "right", nn = "left", Ad = "auto", il = [rn, Pn, Fn, nn], za = "start", Xs = "end", vx = "clippingParents", c0 = "viewport", Os = "popper", gx
vendor: 36,211 bytes, lines 14108-15215
14108= "reference", Jp = /* @__PURE__ */ il.reduce(function(t, e) { 14109 return t.concat([e + "-" + za, e + "-" + Xs]); 14110}, []), f0 = /* @__PURE__ */ [].concat(il, [Ad]).reduce(function(t, e) { 14111 return t.concat([e, e + "-" + za, e + "-" + Xs]); 14112}, []), mx = "beforeRead", yx = "read", bx = "afterRead", Ex = "beforeMain", xx = "main", wx = "afterMain", Sx = "beforeWrite", _x = "write", Tx = "afterWrite", Cx = [mx, yx, bx, Ex, xx, wx, Sx, _x, Tx]; 14113function Xi(t) { 14114 return t ? (t.nodeName || "").toLowerCase() : null; 14115} 14116function Rn(t) { 14117 if (t == null) 14118 return window; 14119 if (t.toString() !== "[object Window]") { 14120 var e = t.ownerDocument; 14121 return e && e.defaultView || window; 14122 } 14123 return t; 14124} 14125function Wa(t) { 14126 var e = Rn(t).Element; 14127 return t instanceof e || t instanceof Element; 14128} 14129function Yn(t) { 14130 var e = Rn(t).HTMLElement; 14131 return t instanceof e || t instanceof HTMLElement; 14132} 14133function d0(t) { 14134 if (typeof ShadowRoot > "u") 14135 return !1; 14136 var e = Rn(t).ShadowRoot; 14137 return t instanceof e || t instanceof ShadowRoot; 14138} 14139function JN(t) { 14140 var e = t.state; 14141 Object.keys(e.elements).forEach(function(r) { 14142 var n = e.styles[r] || {}, i = e.attributes[r] || {}, o = e.elements[r]; 14143 !Yn(o) || !Xi(o) || (Object.assign(o.style, n), Object.keys(i).forEach(function(a) { 14144 var s = i[a]; 14145 s === !1 ? o.removeAttribute(a) : o.setAttribute(a, s === !0 ? "" : s); 14146 })); 14147 }); 14148} 14149function QN(t) { 14150 var e = t.state, r = { 14151 popper: { 14152 position: e.options.strategy, 14153 left: "0", 14154 top: "0", 14155 margin: "0" 14156 }, 14157 arrow: { 14158 position: "absolute" 14159 }, 14160 reference: {} 14161 }; 14162 return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() { 14163 Object.keys(e.elements).forEach(function(n) { 14164 var i = e.elements[n], o = e.attributes[n] || {}, a = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : r[n]), s = a.reduce(function(u, l) { 14165 return u[l] = "", u; 14166 }, {}); 14167 !Yn(i) || !Xi(i) || (Object.assign(i.style, s), Object.keys(o).forEach(function(u) { 14168 i.removeAttribute(u); 14169 })); 14170 }); 14171 }; 14172} 14173const h0 = { 14174 name: "applyStyles", 14175 enabled: !0, 14176 phase: "write", 14177 fn: JN, 14178 effect: QN, 14179 requires: ["computeStyles"] 14180}; 14181function qi(t) { 14182 return t.split("-")[0]; 14183} 14184var Ma = Math.max, Kf = Math.min, Ys = Math.round; 14185function Qp() { 14186 var t = navigator.userAgentData; 14187 return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) { 14188 return e.brand + "/" + e.version; 14189 }).join(" ") : navigator.userAgent; 14190} 14191function Ox() { 14192 return !/^((?!chrome|android).)*safari/i.test(Qp()); 14193} 14194function Zs(t, e, r) { 14195 e === void 0 && (e = !1), r === void 0 && (r = !1); 14196 var n = t.getBoundingClientRect(), i = 1, o = 1; 14197 e && Yn(t) && (i = t.offsetWidth > 0 && Ys(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && Ys(n.height) / t.offsetHeight || 1); 14198 var a = Wa(t) ? Rn(t) : window, s = a.visualViewport, u = !Ox() && r, l = (n.left + (u && s ? s.offsetLeft : 0)) / i, f = (n.top + (u && s ? s.offsetTop : 0)) / o, h = n.width / i, g = n.height / o; 14199 return { 14200 width: h, 14201 height: g, 14202 top: f, 14203 right: l + h, 14204 bottom: f + g, 14205 left: l, 14206 x: l, 14207 y: f 14208 }; 14209} 14210function p0(t) { 14211 var e = Zs(t), r = t.offsetWidth, n = t.offsetHeight; 14212 return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), { 14213 x: t.offsetLeft, 14214 y: t.offsetTop, 14215 width: r, 14216 height: n 14217 }; 14218} 14219function Ax(t, e) { 14220 var r = e.getRootNode && e.getRootNode(); 14221 if (t.contains(e)) 14222 return !0; 14223 if (r && d0(r)) { 14224 var n = e; 14225 do { 14226 if (n && t.isSameNode(n)) 14227 return !0; 14228 n = n.parentNode || n.host; 14229 } while (n); 14230 } 14231 return !1; 14232} 14233function So(t) { 14234 return Rn(t).getComputedStyle(t); 14235} 14236function $N(t) { 14237 return ["table", "td", "th"].indexOf(Xi(t)) >= 0; 14238} 14239function oa(t) { 14240 return ((Wa(t) ? t.ownerDocument : ( 14241 // $FlowFixMe[prop-missing] 14242 t.document 14243 )) || window.document).documentElement; 14244} 14245function Nd(t) { 14246 return Xi(t) === "html" ? t : ( 14247 // this is a quicker (but less type safe) way to save quite some bytes from the bundle 14248 // $FlowFixMe[incompatible-return] 14249 // $FlowFixMe[prop-missing] 14250 t.assignedSlot || // step into the shadow DOM of the parent of a slotted node 14251 t.parentNode || // DOM Element detected 14252 (d0(t) ? t.host : null) || // ShadowRoot detected 14253 // $FlowFixMe[incompatible-call]: HTMLElement is a Node 14254 oa(t) 14255 ); 14256} 14257function Xm(t) { 14258 return !Yn(t) || // https://github.com/popperjs/popper-core/issues/837 14259 So(t).position === "fixed" ? null : t.offsetParent; 14260} 14261function ek(t) { 14262 var e = /firefox/i.test(Qp()), r = /Trident/i.test(Qp()); 14263 if (r && Yn(t)) { 14264 var n = So(t); 14265 if (n.position === "fixed") 14266 return null; 14267 } 14268 var i = Nd(t); 14269 for (d0(i) && (i = i.host); Yn(i) && ["html", "body"].indexOf(Xi(i)) < 0; ) { 14270 var o = So(i); 14271 if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none") 14272 return i; 14273 i = i.parentNode; 14274 } 14275 return null; 14276} 14277function ec(t) { 14278 for (var e = Rn(t), r = Xm(t); r && $N(r) && So(r).position === "static"; ) 14279 r = Xm(r); 14280 return r && (Xi(r) === "html" || Xi(r) === "body" && So(r).position === "static") ? e : r || ek(t) || e; 14281} 14282function v0(t) { 14283 return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y"; 14284} 14285function cu(t, e, r) { 14286 return Ma(t, Kf(e, r)); 14287} 14288function tk(t, e, r) { 14289 var n = cu(t, e, r); 14290 return n > r ? r : n; 14291} 14292function Nx() { 14293 return { 14294 top: 0, 14295 right: 0, 14296 bottom: 0, 14297 left: 0 14298 }; 14299} 14300function kx(t) { 14301 return Object.assign({}, Nx(), t); 14302} 14303function Dx(t, e) { 14304 return e.reduce(function(r, n) { 14305 return r[n] = t, r; 14306 }, {}); 14307} 14308var rk = function(e, r) { 14309 return e = typeof e == "function" ? e(Object.assign({}, r.rects, { 14310 placement: r.placement 14311 })) : e, kx(typeof e != "number" ? e : Dx(e, il)); 14312}; 14313function nk(t) { 14314 var e, r = t.state, n = t.name, i = t.options, o = r.elements.arrow, a = r.modifiersData.popperOffsets, s = qi(r.placement), u = v0(s), l = [nn, Fn].indexOf(s) >= 0, f = l ? "height" : "width"; 14315 if (!(!o || !a)) { 14316 var h = rk(i.padding, r), g = p0(o), d = u === "y" ? rn : nn, m = u === "y" ? Pn : Fn, b = r.rects.reference[f] + r.rects.reference[u] - a[u] - r.rects.popper[f], S = a[u] - r.rects.reference[u], w = ec(o), D = w ? u === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, T = b / 2 - S / 2, _ = h[d], x = D - g[f] - h[m], p = D / 2 - g[f] / 2 + T, N = cu(_, p, x), V = u; 14317 r.modifiersData[n] = (e = {}, e[V] = N, e.centerOffset = N - p, e); 14318 } 14319} 14320function ik(t) { 14321 var e = t.state, r = t.options, n = r.element, i = n === void 0 ? "[data-popper-arrow]" : n; 14322 i != null && (typeof i == "string" && (i = e.elements.popper.querySelector(i), !i) || Ax(e.elements.popper, i) && (e.elements.arrow = i)); 14323} 14324const Px = { 14325 name: "arrow", 14326 enabled: !0, 14327 phase: "main", 14328 fn: nk, 14329 effect: ik, 14330 requires: ["popperOffsets"], 14331 requiresIfExists: ["preventOverflow"] 14332}; 14333function Js(t) { 14334 return t.split("-")[1]; 14335} 14336var ok = { 14337 top: "auto", 14338 right: "auto", 14339 bottom: "auto", 14340 left: "auto" 14341}; 14342function ak(t, e) { 14343 var r = t.x, n = t.y, i = e.devicePixelRatio || 1; 14344 return { 14345 x: Ys(r * i) / i || 0, 14346 y: Ys(n * i) / i || 0 14347 }; 14348} 14349function Ym(t) { 14350 var e, r = t.popper, n = t.popperRect, i = t.placement, o = t.variation, a = t.offsets, s = t.position, u = t.gpuAcceleration, l = t.adaptive, f = t.roundOffsets, h = t.isFixed, g = a.x, d = g === void 0 ? 0 : g, m = a.y, b = m === void 0 ? 0 : m, S = typeof f == "function" ? f({ 14351 x: d, 14352 y: b 14353 }) : { 14354 x: d, 14355 y: b 14356 }; 14357 d = S.x, b = S.y; 14358 var w = a.hasOwnProperty("x"), D = a.hasOwnProperty("y"), T = nn, _ = rn, x = window; 14359 if (l) { 14360 var p = ec(r), N = "clientHeight", V = "clientWidth"; 14361 if (p === Rn(r) && (p = oa(r), So(p).position !== "static" && s === "absolute" && (N = "scrollHeight", V = "scrollWidth")), p = p, i === rn || (i === nn || i === Fn) && o === Xs) { 14362 _ = Pn; 14363 var P = h && p === x && x.visualViewport ? x.visualViewport.height : ( 14364 // $FlowFixMe[prop-missing] 14365 p[N] 14366 ); 14367 b -= P - n.height, b *= u ? 1 : -1; 14368 } 14369 if (i === nn || (i === rn || i === Pn) && o === Xs) { 14370 T = Fn; 14371 var M = h && p === x && x.visualViewport ? x.visualViewport.width : ( 14372 // $FlowFixMe[prop-missing] 14373 p[V] 14374 ); 14375 d -= M - n.width, d *= u ? 1 : -1; 14376 } 14377 } 14378 var U = Object.assign({ 14379 position: s 14380 }, l && ok), re = f === !0 ? ak({ 14381 x: d, 14382 y: b 14383 }, Rn(r)) : { 14384 x: d, 14385 y: b 14386 }; 14387 if (d = re.x, b = re.y, u) { 14388 var Q; 14389 return Object.assign({}, U, (Q = {}, Q[_] = D ? "0" : "", Q[T] = w ? "0" : "", Q.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + b + "px)" : "translate3d(" + d + "px, " + b + "px, 0)", Q)); 14390 } 14391 return Object.assign({}, U, (e = {}, e[_] = D ? b + "px" : "", e[T] = w ? d + "px" : "", e.transform = "", e)); 14392} 14393function sk(t) { 14394 var e = t.state, r = t.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, o = r.adaptive, a = o === void 0 ? !0 : o, s = r.roundOffsets, u = s === void 0 ? !0 : s, l = { 14395 placement: qi(e.placement), 14396 variation: Js(e.placement), 14397 popper: e.elements.popper, 14398 popperRect: e.rects.popper, 14399 gpuAcceleration: i, 14400 isFixed: e.options.strategy === "fixed" 14401 }; 14402 e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Ym(Object.assign({}, l, { 14403 offsets: e.modifiersData.popperOffsets, 14404 position: e.options.strategy, 14405 adaptive: a, 14406 roundOffsets: u 14407 })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Ym(Object.assign({}, l, { 14408 offsets: e.modifiersData.arrow, 14409 position: "absolute", 14410 adaptive: !1, 14411 roundOffsets: u 14412 })))), e.attributes.popper = Object.assign({}, e.attributes.popper, { 14413 "data-popper-placement": e.placement 14414 }); 14415} 14416const g0 = { 14417 name: "computeStyles", 14418 enabled: !0, 14419 phase: "beforeWrite", 14420 fn: sk, 14421 data: {} 14422}; 14423var Pc = { 14424 passive: !0 14425}; 14426function lk(t) { 14427 var e = t.state, r = t.instance, n = t.options, i = n.scroll, o = i === void 0 ? !0 : i, a = n.resize, s = a === void 0 ? !0 : a, u = Rn(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper); 14428 return o && l.forEach(function(f) { 14429 f.addEventListener("scroll", r.update, Pc); 14430 }), s && u.addEventListener("resize", r.update, Pc), function() { 14431 o && l.forEach(function(f) { 14432 f.removeEventListener("scroll", r.update, Pc); 14433 }), s && u.removeEventListener("resize", r.update, Pc); 14434 }; 14435} 14436const m0 = { 14437 name: "eventListeners", 14438 enabled: !0, 14439 phase: "write", 14440 fn: function() { 14441 }, 14442 effect: lk, 14443 data: {} 14444}; 14445var uk = { 14446 left: "right", 14447 right: "left", 14448 bottom: "top", 14449 top: "bottom" 14450}; 14451function ff(t) { 14452 return t.replace(/left|right|bottom|top/g, function(e) { 14453 return uk[e]; 14454 }); 14455} 14456var ck = { 14457 start: "end", 14458 end: "start" 14459}; 14460function Zm(t) { 14461 return t.replace(/start|end/g, function(e) { 14462 return ck[e]; 14463 }); 14464} 14465function y0(t) { 14466 var e = Rn(t), r = e.pageXOffset, n = e.pageYOffset; 14467 return { 14468 scrollLeft: r, 14469 scrollTop: n 14470 }; 14471} 14472function b0(t) { 14473 return Zs(oa(t)).left + y0(t).scrollLeft; 14474} 14475function fk(t, e) { 14476 var r = Rn(t), n = oa(t), i = r.visualViewport, o = n.clientWidth, a = n.clientHeight, s = 0, u = 0; 14477 if (i) { 14478 o = i.width, a = i.height; 14479 var l = Ox(); 14480 (l || !l && e === "fixed") && (s = i.offsetLeft, u = i.offsetTop); 14481 } 14482 return { 14483 width: o, 14484 height: a, 14485 x: s + b0(t), 14486 y: u 14487 }; 14488} 14489function dk(t) { 14490 var e, r = oa(t), n = y0(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, o = Ma(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = Ma(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + b0(t), u = -n.scrollTop; 14491 return So(i || r).direction === "rtl" && (s += Ma(r.clientWidth, i ? i.clientWidth : 0) - o), { 14492 width: o, 14493 height: a, 14494 x: s, 14495 y: u 14496 }; 14497} 14498function E0(t) { 14499 var e = So(t), r = e.overflow, n = e.overflowX, i = e.overflowY; 14500 return /auto|scroll|overlay|hidden/.test(r + i + n); 14501} 14502function Fx(t) { 14503 return ["html", "body", "#document"].indexOf(Xi(t)) >= 0 ? t.ownerDocument.body : Yn(t) && E0(t) ? t : Fx(Nd(t)); 14504} 14505function fu(t, e) { 14506 var r; 14507 e === void 0 && (e = []); 14508 var n = Fx(t), i = n === ((r = t.ownerDocument) == null ? void 0 : r.body), o = Rn(n), a = i ? [o].concat(o.visualViewport || [], E0(n) ? n : []) : n, s = e.concat(a); 14509 return i ? s : ( 14510 // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here 14511 s.concat(fu(Nd(a))) 14512 ); 14513} 14514function $p(t) { 14515 return Object.assign({}, t, { 14516 left: t.x, 14517 top: t.y, 14518 right: t.x + t.width, 14519 bottom: t.y + t.height 14520 }); 14521} 14522function hk(t, e) { 14523 var r = Zs(t, !1, e === "fixed"); 14524 return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r; 14525} 14526function Jm(t, e, r) { 14527 return e === c0 ? $p(fk(t, r)) : Wa(e) ? hk(e, r) : $p(dk(oa(t))); 14528} 14529function pk(t) { 14530 var e = fu(Nd(t)), r = ["absolute", "fixed"].indexOf(So(t).position) >= 0, n = r && Yn(t) ? ec(t) : t; 14531 return Wa(n) ? e.filter(function(i) { 14532 return Wa(i) && Ax(i, n) && Xi(i) !== "body"; 14533 }) : []; 14534} 14535function vk(t, e, r, n) { 14536 var i = e === "clippingParents" ? pk(t) : [].concat(e), o = [].concat(i, [r]), a = o[0], s = o.reduce(function(u, l) { 14537 var f = Jm(t, l, n); 14538 return u.top = Ma(f.top, u.top), u.right = Kf(f.right, u.right), u.bottom = Kf(f.bottom, u.bottom), u.left = Ma(f.left, u.left), u; 14539 }, Jm(t, a, n)); 14540 return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s; 14541} 14542function Rx(t) { 14543 var e = t.reference, r = t.element, n = t.placement, i = n ? qi(n) : null, o = n ? Js(n) : null, a = e.x + e.width / 2 - r.width / 2, s = e.y + e.height / 2 - r.height / 2, u; 14544 switch (i) { 14545 case rn: 14546 u = { 14547 x: a, 14548 y: e.y - r.height 14549 }; 14550 break; 14551 case Pn: 14552 u = { 14553 x: a, 14554 y: e.y + e.height 14555 }; 14556 break; 14557 case Fn: 14558 u = { 14559 x: e.x + e.width, 14560 y: s 14561 }; 14562 break; 14563 case nn: 14564 u = { 14565 x: e.x - r.width, 14566 y: s 14567 }; 14568 break; 14569 default: 14570 u = { 14571 x: e.x, 14572 y: e.y 14573 }; 14574 } 14575 var l = i ? v0(i) : null; 14576 if (l != null) { 14577 var f = l === "y" ? "height" : "width"; 14578 switch (o) { 14579 case za: 14580 u[l] = u[l] - (e[f] / 2 - r[f] / 2); 14581 break; 14582 case Xs: 14583 u[l] = u[l] + (e[f] / 2 - r[f] / 2); 14584 break; 14585 } 14586 } 14587 return u; 14588} 14589function Qs(t, e) { 14590 e === void 0 && (e = {}); 14591 var r = e, n = r.placement, i = n === void 0 ? t.placement : n, o = r.strategy, a = o === void 0 ? t.strategy : o, s = r.boundary, u = s === void 0 ? vx : s, l = r.rootBoundary, f = l === void 0 ? c0 : l, h = r.elementContext, g = h === void 0 ? Os : h, d = r.altBoundary, m = d === void 0 ? !1 : d, b = r.padding, S = b === void 0 ? 0 : b, w = kx(typeof S != "number" ? S : Dx(S, il)), D = g === Os ? gx : Os, T = t.rects.popper, _ = t.elements[m ? D : g], x = vk(Wa(_) ? _ : _.contextElement || oa(t.elements.popper), u, f, a), p = Zs(t.elements.reference), N = Rx({ 14592 reference: p, 14593 element: T, 14594 strategy: "absolute", 14595 placement: i 14596 }), V = $p(Object.assign({}, T, N)), P = g === Os ? V : p, M = { 14597 top: x.top - P.top + w.top, 14598 bottom: P.bottom - x.bottom + w.bottom, 14599 left: x.left - P.left + w.left, 14600 right: P.right - x.right + w.right 14601 }, U = t.modifiersData.offset; 14602 if (g === Os && U) { 14603 var re = U[i]; 14604 Object.keys(M).forEach(function(Q) { 14605 var ne = [Fn, Pn].indexOf(Q) >= 0 ? 1 : -1, ee = [rn, Pn].indexOf(Q) >= 0 ? "y" : "x"; 14606 M[Q] += re[ee] * ne; 14607 }); 14608 } 14609 return M; 14610} 14611function gk(t, e) { 14612 e === void 0 && (e = {}); 14613 var r = e, n = r.placement, i = r.boundary, o = r.rootBoundary, a = r.padding, s = r.flipVariations, u = r.allowedAutoPlacements, l = u === void 0 ? f0 : u, f = Js(n), h = f ? s ? Jp : Jp.filter(function(m) { 14614 return Js(m) === f; 14615 }) : il, g = h.filter(function(m) { 14616 return l.indexOf(m) >= 0; 14617 }); 14618 g.length === 0 && (g = h); 14619 var d = g.reduce(function(m, b) { 14620 return m[b] = Qs(t, { 14621 placement: b, 14622 boundary: i, 14623 rootBoundary: o, 14624 padding: a 14625 })[qi(b)], m; 14626 }, {}); 14627 return Object.keys(d).sort(function(m, b) { 14628 return d[m] - d[b]; 14629 }); 14630} 14631function mk(t) { 14632 if (qi(t) === Ad) 14633 return []; 14634 var e = ff(t); 14635 return [Zm(t), e, Zm(e)]; 14636} 14637function yk(t) { 14638 var e = t.state, r = t.options, n = t.name; 14639 if (!e.modifiersData[n]._skip) { 14640 for (var i = r.mainAxis, o = i === void 0 ? !0 : i, a = r.altAxis, s = a === void 0 ? !0 : a, u = r.fallbackPlacements, l = r.padding, f = r.boundary, h = r.rootBoundary, g = r.altBoundary, d = r.flipVariations, m = d === void 0 ? !0 : d, b = r.allowedAutoPlacements, S = e.options.placement, w = qi(S), D = w === S, T = u || (D || !m ? [ff(S)] : mk(S)), _ = [S].concat(T).reduce(function(Le, be) { 14641 return Le.concat(qi(be) === Ad ? gk(e, { 14642 placement: be, 14643 boundary: f, 14644 rootBoundary: h, 14645 padding: l, 14646 flipVariations: m, 14647 allowedAutoPlacements: b 14648 }) : be); 14649 }, []), x = e.rects.reference, p = e.rects.popper, N = /* @__PURE__ */ new Map(), V = !0, P = _[0], M = 0; M < _.length; M++) { 14650 var U = _[M], re = qi(U), Q = Js(U) === za, ne = [rn, Pn].indexOf(re) >= 0, ee = ne ? "width" : "height", L = Qs(e, { 14651 placement: U, 14652 boundary: f, 14653 rootBoundary: h, 14654 altBoundary: g, 14655 padding: l 14656 }), Z = ne ? Q ? Fn : nn : Q ? Pn : rn; 14657 x[ee] > p[ee] && (Z = ff(Z)); 14658 var G = ff(Z), se = []; 14659 if (o && se.push(L[re] <= 0), s && se.push(L[Z] <= 0, L[G] <= 0), se.every(function(Le) { 14660 return Le; 14661 })) { 14662 P = U, V = !1; 14663 break; 14664 } 14665 N.set(U, se); 14666 } 14667 if (V) 14668 for (var de = m ? 3 : 1, Re = function(be) { 14669 var Ve = _.find(function(Be) { 14670 var Pe = N.get(Be); 14671 if (Pe) 14672 return Pe.slice(0, be).every(function($e) { 14673 return $e; 14674 }); 14675 }); 14676 if (Ve) 14677 return P = Ve, "break"; 14678 }, ze = de; ze > 0; ze--) { 14679 var je = Re(ze); 14680 if (je === "break") 14681 break; 14682 } 14683 e.placement !== P && (e.modifiersData[n]._skip = !0, e.placement = P, e.reset = !0); 14684 } 14685} 14686const Ix = { 14687 name: "flip", 14688 enabled: !0, 14689 phase: "main", 14690 fn: yk, 14691 requiresIfExists: ["offset"], 14692 data: { 14693 _skip: !1 14694 } 14695}; 14696function Qm(t, e, r) { 14697 return r === void 0 && (r = { 14698 x: 0, 14699 y: 0 14700 }), { 14701 top: t.top - e.height - r.y, 14702 right: t.right - e.width + r.x, 14703 bottom: t.bottom - e.height + r.y, 14704 left: t.left - e.width - r.x 14705 }; 14706} 14707function $m(t) { 14708 return [rn, Fn, Pn, nn].some(function(e) { 14709 return t[e] >= 0; 14710 }); 14711} 14712function bk(t) { 14713 var e = t.state, r = t.name, n = e.rects.reference, i = e.rects.popper, o = e.modifiersData.preventOverflow, a = Qs(e, { 14714 elementContext: "reference" 14715 }), s = Qs(e, { 14716 altBoundary: !0 14717 }), u = Qm(a, n), l = Qm(s, i, o), f = $m(u), h = $m(l); 14718 e.modifiersData[r] = { 14719 referenceClippingOffsets: u, 14720 popperEscapeOffsets: l, 14721 isReferenceHidden: f, 14722 hasPopperEscaped: h 14723 }, e.attributes.popper = Object.assign({}, e.attributes.popper, { 14724 "data-popper-reference-hidden": f, 14725 "data-popper-escaped": h 14726 }); 14727} 14728const Mx = { 14729 name: "hide", 14730 enabled: !0, 14731 phase: "main", 14732 requiresIfExists: ["preventOverflow"], 14733 fn: bk 14734}; 14735function Ek(t, e, r) { 14736 var n = qi(t), i = [nn, rn].indexOf(n) >= 0 ? -1 : 1, o = typeof r == "function" ? r(Object.assign({}, e, { 14737 placement: t 14738 })) : r, a = o[0], s = o[1]; 14739 return a = a || 0, s = (s || 0) * i, [nn, Fn].indexOf(n) >= 0 ? { 14740 x: s, 14741 y: a 14742 } : { 14743 x: a, 14744 y: s 14745 }; 14746} 14747function xk(t) { 14748 var e = t.state, r = t.options, n = t.name, i = r.offset, o = i === void 0 ? [0, 0] : i, a = f0.reduce(function(f, h) { 14749 return f[h] = Ek(h, e.rects, o), f; 14750 }, {}), s = a[e.placement], u = s.x, l = s.y; 14751 e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += u, e.modifiersData.popperOffsets.y += l), e.modifiersData[n] = a; 14752} 14753const Vx = { 14754 name: "offset", 14755 enabled: !0, 14756 phase: "main", 14757 requires: ["popperOffsets"], 14758 fn: xk 14759}; 14760function wk(t) { 14761 var e = t.state, r = t.name; 14762 e.modifiersData[r] = Rx({ 14763 reference: e.rects.reference, 14764 element: e.rects.popper, 14765 strategy: "absolute", 14766 placement: e.placement 14767 }); 14768} 14769const x0 = { 14770 name: "popperOffsets", 14771 enabled: !0, 14772 phase: "read", 14773 fn: wk, 14774 data: {} 14775}; 14776function Sk(t) { 14777 return t === "x" ? "y" : "x"; 14778} 14779function _k(t) { 14780 var e = t.state, r = t.options, n = t.name, i = r.mainAxis, o = i === void 0 ? !0 : i, a = r.altAxis, s = a === void 0 ? !1 : a, u = r.boundary, l = r.rootBoundary, f = r.altBoundary, h = r.padding, g = r.tether, d = g === void 0 ? !0 : g, m = r.tetherOffset, b = m === void 0 ? 0 : m, S = Qs(e, { 14781 boundary: u, 14782 rootBoundary: l, 14783 padding: h, 14784 altBoundary: f 14785 }), w = qi(e.placement), D = Js(e.placement), T = !D, _ = v0(w), x = Sk(_), p = e.modifiersData.popperOffsets, N = e.rects.reference, V = e.rects.popper, P = typeof b == "function" ? b(Object.assign({}, e.rects, { 14786 placement: e.placement 14787 })) : b, M = typeof P == "number" ? { 14788 mainAxis: P, 14789 altAxis: P 14790 } : Object.assign({ 14791 mainAxis: 0, 14792 altAxis: 0 14793 }, P), U = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, re = { 14794 x: 0, 14795 y: 0 14796 }; 14797 if (p) { 14798 if (o) { 14799 var Q, ne = _ === "y" ? rn : nn, ee = _ === "y" ? Pn : Fn, L = _ === "y" ? "height" : "width", Z = p[_], G = Z + S[ne], se = Z - S[ee], de = d ? -V[L] / 2 : 0, Re = D === za ? N[L] : V[L], ze = D === za ? -V[L] : -N[L], je = e.elements.arrow, Le = d && je ? p0(je) : { 14800 width: 0, 14801 height: 0 14802 }, be = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Nx(), Ve = be[ne], Be = be[ee], Pe = cu(0, N[L], Le[L]), $e = T ? N[L] / 2 - de - Pe - Ve - M.mainAxis : Re - Pe - Ve - M.mainAxis, rt = T ? -N[L] / 2 + de + Pe + Be + M.mainAxis : ze + Pe + Be + M.mainAxis, _t = e.elements.arrow && ec(e.elements.arrow), ar = _t ? _ === "y" ? _t.clientTop || 0 : _t.clientLeft || 0 : 0, Tt = (Q = U?.[_]) != null ? Q : 0, F = Z + $e - Tt - ar, q = Z + rt - Tt, K = cu(d ? Kf(G, F) : G, Z, d ? Ma(se, q) : se); 14803 p[_] = K, re[_] = K - Z; 14804 } 14805 if (s) { 14806 var ce, ve = _ === "x" ? rn : nn, ge = _ === "x" ? Pn : Fn, Ce = p[x], Ee = x === "y" ? "height" : "width", W = Ce + S[ve], j = Ce - S[ge], ie = [rn, nn].indexOf(w) !== -1, le = (ce = U?.[x]) != null ? ce : 0, _e = ie ? W : Ce - N[Ee] - V[Ee] - le + M.altAxis, Oe = ie ? Ce + N[Ee] + V[Ee] - le - M.altAxis : j, Ie = d && ie ? tk(_e, Ce, Oe) : cu(d ? _e : W, Ce, d ? Oe : j); 14807 p[x] = Ie, re[x] = Ie - Ce; 14808 } 14809 e.modifiersData[n] = re; 14810 } 14811} 14812const Lx = { 14813 name: "preventOverflow", 14814 enabled: !0, 14815 phase: "main", 14816 fn: _k, 14817 requiresIfExists: ["offset"] 14818}; 14819function Tk(t) { 14820 return { 14821 scrollLeft: t.scrollLeft, 14822 scrollTop: t.scrollTop 14823 }; 14824} 14825function Ck(t) { 14826 return t === Rn(t) || !Yn(t) ? y0(t) : Tk(t); 14827} 14828function Ok(t) { 14829 var e = t.getBoundingClientRect(), r = Ys(e.width) / t.offsetWidth || 1, n = Ys(e.height) / t.offsetHeight || 1; 14830 return r !== 1 || n !== 1; 14831} 14832function Ak(t, e, r) { 14833 r === void 0 && (r = !1); 14834 var n = Yn(e), i = Yn(e) && Ok(e), o = oa(e), a = Zs(t, i, r), s = { 14835 scrollLeft: 0, 14836 scrollTop: 0 14837 }, u = { 14838 x: 0, 14839 y: 0 14840 }; 14841 return (n || !n && !r) && ((Xi(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078 14842 E0(o)) && (s = Ck(e)), Yn(e) ? (u = Zs(e, !0), u.x += e.clientLeft, u.y += e.clientTop) : o && (u.x = b0(o))), { 14843 x: a.left + s.scrollLeft - u.x, 14844 y: a.top + s.scrollTop - u.y, 14845 width: a.width, 14846 height: a.height 14847 }; 14848} 14849function Nk(t) { 14850 var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = []; 14851 t.forEach(function(o) { 14852 e.set(o.name, o); 14853 }); 14854 function i(o) { 14855 r.add(o.name); 14856 var a = [].concat(o.requires || [], o.requiresIfExists || []); 14857 a.forEach(function(s) { 14858 if (!r.has(s)) { 14859 var u = e.get(s); 14860 u && i(u); 14861 } 14862 }), n.push(o); 14863 } 14864 return t.forEach(function(o) { 14865 r.has(o.name) || i(o); 14866 }), n; 14867} 14868function kk(t) { 14869 var e = Nk(t); 14870 return Cx.reduce(function(r, n) { 14871 return r.concat(e.filter(function(i) { 14872 return i.phase === n; 14873 })); 14874 }, []); 14875} 14876function Dk(t) { 14877 var e; 14878 return function() { 14879 return e || (e = new Promise(function(r) { 14880 Promise.resolve().then(function() { 14881 e = void 0, r(t()); 14882 }); 14883 })), e; 14884 }; 14885} 14886function Pk(t) { 14887 var e = t.reduce(function(r, n) { 14888 var i = r[n.name]; 14889 return r[n.name] = i ? Object.assign({}, i, n, { 14890 options: Object.assign({}, i.options, n.options), 14891 data: Object.assign({}, i.data, n.data) 14892 }) : n, r; 14893 }, {}); 14894 return Object.keys(e).map(function(r) { 14895 return e[r]; 14896 }); 14897} 14898var ey = { 14899 placement: "bottom", 14900 modifiers: [], 14901 strategy: "absolute" 14902}; 14903function ty() { 14904 for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++) 14905 e[r] = arguments[r]; 14906 return !e.some(function(n) { 14907 return !(n && typeof n.getBoundingClientRect == "function"); 14908 }); 14909} 14910function kd(t) { 14911 t === void 0 && (t = {}); 14912 var e = t, r = e.defaultModifiers, n = r === void 0 ? [] : r, i = e.defaultOptions, o = i === void 0 ? ey : i; 14913 return function(s, u, l) { 14914 l === void 0 && (l = o); 14915 var f = { 14916 placement: "bottom", 14917 orderedModifiers: [], 14918 options: Object.assign({}, ey, o), 14919 modifiersData: {}, 14920 elements: { 14921 reference: s, 14922 popper: u 14923 }, 14924 attributes: {}, 14925 styles: {} 14926 }, h = [], g = !1, d = { 14927 state: f, 14928 setOptions: function(w) { 14929 var D = typeof w == "function" ? w(f.options) : w; 14930 b(), f.options = Object.assign({}, o, f.options, D), f.scrollParents = { 14931 reference: Wa(s) ? fu(s) : s.contextElement ? fu(s.contextElement) : [], 14932 popper: fu(u) 14933 }; 14934 var T = kk(Pk([].concat(n, f.options.modifiers))); 14935 return f.orderedModifiers = T.filter(function(_) { 14936 return _.enabled; 14937 }), m(), d.update(); 14938 }, 14939 // Sync update â it will always be executed, even if not necessary. This 14940 // is useful for low frequency updates where sync behavior simplifies the 14941 // logic. 14942 // For high frequency updates (e.g. `resize` and `scroll` events), always 14943 // prefer the async Popper#update method 14944 forceUpdate: function() { 14945 if (!g) { 14946 var w = f.elements, D = w.reference, T = w.popper; 14947 if (ty(D, T)) { 14948 f.rects = { 14949 reference: Ak(D, ec(T), f.options.strategy === "fixed"), 14950 popper: p0(T) 14951 }, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(M) { 14952 return f.modifiersData[M.name] = Object.assign({}, M.data); 14953 }); 14954 for (var _ = 0; _ < f.orderedModifiers.length; _++) { 14955 if (f.reset === !0) { 14956 f.reset = !1, _ = -1; 14957 continue; 14958 } 14959 var x = f.orderedModifiers[_], p = x.fn, N = x.options, V = N === void 0 ? {} : N, P = x.name; 14960 typeof p == "function" && (f = p({ 14961 state: f, 14962 options: V, 14963 name: P, 14964 instance: d 14965 }) || f); 14966 } 14967 } 14968 } 14969 }, 14970 // Async and optimistically optimized update â it will not be executed if 14971 // not necessary (debounced to run at most once-per-tick) 14972 update: Dk(function() { 14973 return new Promise(function(S) { 14974 d.forceUpdate(), S(f); 14975 }); 14976 }), 14977 destroy: function() { 14978 b(), g = !0; 14979 } 14980 }; 14981 if (!ty(s, u)) 14982 return d; 14983 d.setOptions(l).then(function(S) { 14984 !g && l.onFirstUpdate && l.onFirstUpdate(S); 14985 }); 14986 function m() { 14987 f.orderedModifiers.forEach(function(S) { 14988 var w = S.name, D = S.options, T = D === void 0 ? {} : D, _ = S.effect; 14989 if (typeof _ == "function") { 14990 var x = _({ 14991 state: f, 14992 name: w, 14993 instance: d, 14994 options: T 14995 }), p = function() { 14996 }; 14997 h.push(x || p); 14998 } 14999 }); 15000 } 15001 function b() { 15002 h.forEach(function(S) { 15003 return S(); 15004 }), h = []; 15005 } 15006 return d; 15007 }; 15008} 15009var Fk = /* @__PURE__ */ kd(), Rk = [m0, x0, g0, h0], Ik = /* @__PURE__ */ kd({ 15010 defaultModifiers: Rk 15011}), Mk = [m0, x0, g0, h0, Vx, Ix, Lx, Px, Mx], w0 = /* @__PURE__ */ kd({ 15012 defaultModifiers: Mk 15013}); 15014const jx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ 15015 __proto__: null, 15016 afterMain: wx, 15017 afterRead: bx, 15018 afterWrite: Tx, 15019 applyStyles: h0, 15020 arrow: Px, 15021 auto: Ad, 15022 basePlacements: il, 15023 beforeMain: Ex, 15024 beforeRead: mx, 15025 beforeWrite: Sx, 15026 bottom: Pn, 15027 clippingParents: vx, 15028 computeStyles: g0, 15029 createPopper: w0, 15030 createPopperBase: Fk, 15031 createPopperLite: Ik, 15032 detectOverflow: Qs, 15033 end: Xs, 15034 eventListeners: m0, 15035 flip: Ix, 15036 hide: Mx, 15037 left: nn, 15038 main: xx, 15039 modifierPhases: Cx, 15040 offset: Vx, 15041 placements: f0, 15042 popper: Os, 15043 popperGenerator: kd, 15044 popperOffsets: x0, 15045 preventOverflow: Lx, 15046 read: yx, 15047 reference: gx, 15048 right: Fn, 15049 start: za, 15050 top: rn, 15051 variationPlacements: Jp, 15052 viewport: c0, 15053 write: _x 15054}, Symbol.toStringTag, { value: "Module" })); 15055/*! 15056 * Bootstrap v5.1.3 (https://getbootstrap.com/) 15057 * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 15058 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) 15059 */ 15060const Vk = 1e6, Lk = 1e3, ev = "transitionend", jk = (t) => t == null ? `${t}` : {}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(), Bk = (t) => { 15061 do 15062 t += Math.floor(Math.random() * Vk); 15063 while (document.getElementById(t)); 15064 return t; 15065}, Bx = (t) => { 15066 let e = t.getAttribute("data-bs-target"); 15067 if (!e || e === "#") { 15068 let r = t.getAttribute("href"); 15069 if (!r || !r.includes("#") && !r.startsWith(".")) 15070 return null; 15071 r.includes("#") && !r.startsWith("#") && (r = `#${r.split("#")[1]}`), e = r && r !== "#" ? r.trim() : null; 15072 } 15073 return e; 15074}, S0 = (t) => { 15075 const e = Bx(t); 15076 return e && document.querySelector(e) ? e : null; 15077}, $o = (t) => { 15078 const e = Bx(t); 15079 return e ? document.querySelector(e) : null; 15080}, Uk = (t) => { 15081 if (!t) 15082 return 0; 15083 let { 15084 transitionDuration: e, 15085 transitionDelay: r 15086 } = window.getComputedStyle(t); 15087 const n = Number.parseFloat(e), i = Number.parseFloat(r); 15088 return !n && !i ? 0 : (e = e.split(",")[0], r = r.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(r)) * Lk); 15089}, Ux = (t) => { 15090 t.dispatchEvent(new Event(ev)); 15091}, qa = (t) => !t || typeof t != "object" ? !1 : (typeof t.jquery < "u" && (t = t[0]), typeof t.nodeType < "u"), ea = (t) => qa(t) ? t.jquery ? t[0] : t : typeof t == "string" && t.length > 0 ? document.querySelector(t) : null, Ji = (t, e, r) => { 15092 Object.keys(r).forEach((n) => { 15093 const i = r[n], o = e[n], a = o && qa(o) ? "element" : jk(o); 15094 if (!new RegExp(i).test(a)) 15095 throw new TypeError(`${t.toUpperCase()}: Option "${n}" provided type "${a}" but expected type "${i}".`); 15096 }); 15097}, tc = (t) => !qa(t) || t.getClientRects().length === 0 ? !1 : getComputedStyle(t).getPropertyValue("visibility") === "visible", Va = (t) => !t || t.nodeType !== Node.ELEMENT_NODE || t.classList.contains("disabled") ? !0 : typeof t.disabled < "u" ? t.disabled : t.hasAttribute("disabled") && t.getAttribute("disabled") !== "false", Hx = (t) => { 15098 if (!document.documentElement.attachShadow) 15099 return null; 15100 if (typeof t.getRootNode == "function") { 15101 const e = t.getRootNode(); 15102 return e instanceof ShadowRoot ? e : null; 15103 } 15104 return t instanceof ShadowRoot ? t : t.parentNode ? Hx(t.parentNode) : null; 15105}, Gf = () => { 15106}, ol = (t) => { 15107 t.offsetHeight; 15108}, zx = () => { 15109 const { 15110 jQuery: t 15111 } = window; 15112 return t && !document.body.hasAttribute("data-bs-no-jquery") ? t : null; 15113}, Kh = [], Hk = (t) => { 15114 document.readyState === "loading" ? (Kh.length || document.addEventListener("DOMContentLoaded", () => { 15115 Kh.forEach((e) => e()); 15116 }), Kh.push(t)) : t(); 15117}, pn = () => document.documentElement.dir === "rtl", ri = (t) => { 15118 Hk(() => { 15119 const e = zx(); 15120 if (e) { 15121 const r = t.NAME, n = e.fn[r]; 15122 e.fn[r] = t.jQueryInterface, e.fn[r].Constructor = t, e.fn[r].noConflict = () => (e.fn[r] = n, t.jQueryInterface); 15123 } 15124 }); 15125}, Oa = (t) => { 15126 typeof t == "function" && t(); 15127}, Wx = (t, e, r = !0) => { 15128 if (!r) { 15129 Oa(t); 15130 return; 15131 } 15132 const n = 5, i = Uk(e) + n; 15133 let o = !1; 15134 const a = ({ 15135 target: s 15136 }) => { 15137 s === e && (o = !0, e.removeEventListener(ev, a), Oa(t)); 15138 }; 15139 e.addEventListener(ev, a), setTimeout(() => { 15140 o || Ux(e); 15141 }, i); 15142}, qx = (t, e, r, n) => { 15143 let i = t.indexOf(e); 15144 if (i === -1) 15145 return t[!r && n ? t.length - 1 : 0]; 15146 const o = t.length; 15147 return i += r ? 1 : -1, n && (i = (i + o) % o), t[Math.max(0, Math.min(i, o - 1))]; 15148}, zk = /[^.]*(?=\..*)\.|.*/, Wk = /\..*/, qk = /::\d+$/, Gh = {}; 15149let ry = 1; 15150const Kk = { 15151 mouseenter: "mouseover", 15152 mouseleave: "mouseout" 15153}, Gk = /^(mouseenter|mouseleave)/i, Kx = /* @__PURE__ */ new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]); 15154function Gx(t, e) { 15155 return e && `${e}::${ry++}` || t.uidEvent || ry++; 15156} 15157function Xx(t) { 15158 const e = Gx(t); 15159 return t.uidEvent = e, Gh[e] = Gh[e] || {}, Gh[e]; 15160} 15161function Xk(t, e) { 15162 return function r(n) { 15163 return n.delegateTarget = t, r.oneOff && Te.off(t, n.type, e), e.apply(t, [n]); 15164 }; 15165} 15166function Yk(t, e, r) { 15167 return function n(i) { 15168 const o = t.querySelectorAll(e); 15169 for (let { 15170 target: a 15171 } = i; a && a !== this; a = a.parentNode) 15172 for (let s = o.length; s--; ) 15173 if (o[s] === a) 15174 return i.delegateTarget = a, n.oneOff && Te.off(t, i.type, e, r), r.apply(a, [i]); 15175 return null; 15176 }; 15177} 15178function Yx(t, e, r = null) { 15179 const n = Object.keys(t); 15180 for (let i = 0, o = n.length; i < o; i++) { 15181 const a = t[n[i]]; 15182 if (a.originalHandler === e && a.delegationSelector === r) 15183 return a; 15184 } 15185 return null; 15186} 15187function Zx(t, e, r) { 15188 const n = typeof e == "string", i = n ? r : e; 15189 let o = Jx(t); 15190 return Kx.has(o) || (o = t), [n, i, o]; 15191} 15192function ny(t, e, r, n, i) { 15193 if (typeof e != "string" || !t) 15194 return; 15195 if (r || (r = n, n = null), Gk.test(e)) { 15196 const d = (m) => function(b) { 15197 if (!b.relatedTarget || b.relatedTarget !== b.delegateTarget && !b.delegateTarget.contains(b.relatedTarget)) 15198 return m.call(this, b); 15199 }; 15200 n ? n = d(n) : r = d(r); 15201 } 15202 const [o, a, s] = Zx(e, r, n), u = Xx(t), l = u[s] || (u[s] = {}), f = Yx(l, a, o ? r : null); 15203 if (f) { 15204 f.oneOff = f.oneOff && i; 15205 return; 15206 } 15207 const h = Gx(a, e.replace(zk, "")), g = o ? Yk(t, r, n) : Xk(t, r); 15208 g.delegationSelector = o ? r : null, g.originalHandler = a, g.oneOff = i, g.uidEvent = h, l[h] = g, t.addEventListener(s, g, o); 15209} 15210function tv(t, e, r, n, i) { 15211 const o = Yx(e[r], n, i); 15212 o && (t.removeEventListener(r, o, !!i), delete e[r][o.uidEvent]); 15213} 15214function Zk(t, e, r, n) { 15215 const i = e[r] || {};
15216 Object.keys(i).forEach((o) => { 15217 if (o.includes(n)) { 15218 const a = i[o]; 15219 tv(t, e, r, a.originalHandler, a.delegationSelector); 15220 } 15221 }); 15222} 15223function Jx(t) { 15224 return t = t.replace(Wk, ""), Kk[t] || t; 15225} 15226const Te = { 15227 on(t, e, r, n) { 15228 ny(t, e, r, n, !1); 15229 }, 15230 one(t, e, r, n) { 15231 ny(t, e, r, n, !0); 15232 }, 15233 off(t, e, r, n) { 15234 if (typeof e != "string" || !t) 15235 return; 15236 const [i, o, a] = Zx(e, r, n), s = a !== e, u = Xx(t), l = e.startsWith("."); 15237 if (typeof o < "u") { 15238 if (!u || !u[a]) 15239 return; 15240 tv(t, u, a, o, i ? r : null); 15241 return; 15242 } 15243 l && Object.keys(u).forEach((h) => { 15244 Zk(t, u, h, e.slice(1)); 15245 }); 15246 const f = u[a] || {}; 15247 Object.keys(f).forEach((h) => { 15248 const g = h.replace(qk, ""); 15249 if (!s || e.includes(g)) { 15250 const d = f[h]; 15251 tv(t, u, a, d.originalHandler, d.delegationSelector); 15252 } 15253 }); 15254 }, 15255 trigger(t, e, r) { 15256 if (typeof e != "string" || !t) 15257 return null; 15258 const n = zx(), i = Jx(e), o = e !== i, a = Kx.has(i); 15259 let s, u = !0, l = !0, f = !1, h = null; 15260 return o && n && (s = n.Event(e, r), n(t).trigger(s), u = !s.isPropagationStopped(), l = !s.isImmediatePropagationStopped(), f = s.isDefaultPrevented()), a ? (h = document.createEvent("HTMLEvents"), h.initEvent(i, u, !0)) : h = new CustomEvent(e, { 15261 bubbles: u, 15262 cancelable: !0 15263 }), typeof r < "u" && Object.keys(r).forEach((g) => { 15264 Object.defineProperty(h, g, { 15265 get() { 15266 return r[g]; 15267 } 15268 }); 15269 }), f && h.preventDefault(), l && t.dispatchEvent(h), h.defaultPrevented && typeof s < "u" && s.preventDefault(), h; 15270 } 15271}, Fo = /* @__PURE__ */ new Map(), du = { 15272 set(t, e, r) { 15273 Fo.has(t) || Fo.set(t, /* @__PURE__ */ new Map()); 15274 const n = Fo.get(t); 15275 if (!n.has(e) && n.size !== 0) { 15276 console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`); 15277 return; 15278 } 15279 n.set(e, r); 15280 }, 15281 get(t, e) { 15282 return Fo.has(t) && Fo.get(t).get(e) || null; 15283 }, 15284 remove(t, e) { 15285 if (!Fo.has(t)) 15286 return; 15287 const r = Fo.get(t); 15288 r.delete(e), r.size === 0 && Fo.delete(t); 15289 } 15290}, Jk = "5.1.3"; 15291class Si { 15292 constructor(e) { 15293 e = ea(e), e && (this._element = e, du.set(this._element, this.constructor.DATA_KEY, this)); 15294 } 15295 dispose() { 15296 du.remove(this._element, this.constructor.DATA_KEY), Te.off(this._element, this.constructor.EVENT_KEY), Object.getOwnPropertyNames(this).forEach((e) => { 15297 this[e] = null; 15298 }); 15299 } 15300 _queueCallback(e, r, n = !0) { 15301 Wx(e, r, n); 15302 } 15303 /** Static */ 15304 static getInstance(e) { 15305 return du.get(ea(e), this.DATA_KEY); 15306 } 15307 static getOrCreateInstance(e, r = {}) { 15308 return this.getInstance(e) || new this(e, typeof r == "object" ? r : null); 15309 } 15310 static get VERSION() { 15311 return Jk; 15312 } 15313 static get NAME() { 15314 throw new Error('You have to implement the static method "NAME", for each component!'); 15315 } 15316 static get DATA_KEY() { 15317 return `bs.${this.NAME}`; 15318 } 15319 static get EVENT_KEY() { 15320 return `.${this.DATA_KEY}`; 15321 } 15322} 15323const Dd = (t, e = "hide") => { 15324 const r = `click.dismiss${t.EVENT_KEY}`, n = t.NAME; 15325 Te.on(document, r, `[data-bs-dismiss="${n}"]`, function(i) { 15326 if (["A", "AREA"].includes(this.tagName) && i.preventDefault(), Va(this)) 15327 return; 15328 const o = $o(this) || this.closest(`.${n}`); 15329 t.getOrCreateInstance(o)[e](); 15330 }); 15331}, Qk = "alert", $k = "bs.alert", Qx = `.${$k}`, eD = `close${Qx}`, tD = `closed${Qx}`, rD = "fade", nD = "show"; 15332class Pd extends Si { 15333 // Getters 15334 static get NAME() { 15335 return Qk; 15336 } 15337 // Public 15338 close() { 15339 if (Te.trigger(this._element, eD).defaultPrevented) 15340 return; 15341 this._element.classList.remove(nD); 15342 const r = this._element.classList.contains(rD); 15343 this._queueCallback(() => this._destroyElement(), this._element, r); 15344 } 15345 // Private 15346 _destroyElement() { 15347 this._element.remove(), Te.trigger(this._element, tD), this.dispose(); 15348 } 15349 // Static 15350 static jQueryInterface(e) { 15351 return this.each(function() { 15352 const r = Pd.getOrCreateInstance(this); 15353 if (typeof e == "string") { 15354 if (r[e] === void 0 || e.startsWith("_") || e === "constructor")
vendor: 6,326 bytes, lines 15355-15541
15355 throw new TypeError(`No method named "${e}"`); 15356 r[e](this); 15357 } 15358 }); 15359 } 15360} 15361Dd(Pd, "close"); 15362ri(Pd); 15363const iD = "button", oD = "bs.button", aD = `.${oD}`, sD = ".data-api", lD = "active", iy = '[data-bs-toggle="button"]', uD = `click${aD}${sD}`; 15364class Fd extends Si { 15365 // Getters 15366 static get NAME() { 15367 return iD; 15368 } 15369 // Public 15370 toggle() { 15371 this._element.setAttribute("aria-pressed", this._element.classList.toggle(lD)); 15372 } 15373 // Static 15374 static jQueryInterface(e) { 15375 return this.each(function() { 15376 const r = Fd.getOrCreateInstance(this); 15377 e === "toggle" && r[e](); 15378 }); 15379 } 15380} 15381Te.on(document, uD, iy, (t) => { 15382 t.preventDefault(); 15383 const e = t.target.closest(iy); 15384 Fd.getOrCreateInstance(e).toggle(); 15385}); 15386ri(Fd); 15387function oy(t) { 15388 return t === "true" ? !0 : t === "false" ? !1 : t === Number(t).toString() ? Number(t) : t === "" || t === "null" ? null : t; 15389} 15390function Xh(t) { 15391 return t.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`); 15392} 15393const Lr = { 15394 setDataAttribute(t, e, r) { 15395 t.setAttribute(`data-bs-${Xh(e)}`, r); 15396 }, 15397 removeDataAttribute(t, e) { 15398 t.removeAttribute(`data-bs-${Xh(e)}`); 15399 }, 15400 getDataAttributes(t) { 15401 if (!t) 15402 return {}; 15403 const e = {}; 15404 return Object.keys(t.dataset).filter((r) => r.startsWith("bs")).forEach((r) => { 15405 let n = r.replace(/^bs/, ""); 15406 n = n.charAt(0).toLowerCase() + n.slice(1, n.length), e[n] = oy(t.dataset[r]); 15407 }), e; 15408 }, 15409 getDataAttribute(t, e) { 15410 return oy(t.getAttribute(`data-bs-${Xh(e)}`)); 15411 }, 15412 offset(t) { 15413 const e = t.getBoundingClientRect(); 15414 return { 15415 top: e.top + window.pageYOffset, 15416 left: e.left + window.pageXOffset 15417 }; 15418 }, 15419 position(t) { 15420 return { 15421 top: t.offsetTop, 15422 left: t.offsetLeft 15423 }; 15424 } 15425}, cD = 3, dt = { 15426 find(t, e = document.documentElement) { 15427 return [].concat(...Element.prototype.querySelectorAll.call(e, t)); 15428 }, 15429 findOne(t, e = document.documentElement) { 15430 return Element.prototype.querySelector.call(e, t); 15431 }, 15432 children(t, e) { 15433 return [].concat(...t.children).filter((r) => r.matches(e)); 15434 }, 15435 parents(t, e) { 15436 const r = []; 15437 let n = t.parentNode; 15438 for (; n && n.nodeType === Node.ELEMENT_NODE && n.nodeType !== cD; ) 15439 n.matches(e) && r.push(n), n = n.parentNode; 15440 return r; 15441 }, 15442 prev(t, e) { 15443 let r = t.previousElementSibling; 15444 for (; r; ) { 15445 if (r.matches(e)) 15446 return [r]; 15447 r = r.previousElementSibling; 15448 } 15449 return []; 15450 }, 15451 next(t, e) { 15452 let r = t.nextElementSibling; 15453 for (; r; ) { 15454 if (r.matches(e)) 15455 return [r]; 15456 r = r.nextElementSibling; 15457 } 15458 return []; 15459 }, 15460 focusableChildren(t) { 15461 const e = ["a", "button", "input", "textarea", "select", "details", "[tabindex]", '[contenteditable="true"]'].map((r) => `${r}:not([tabindex^="-"])`).join(", "); 15462 return this.find(e, t).filter((r) => !Va(r) && tc(r)); 15463 } 15464}, ay = "carousel", fD = "bs.carousel", Mn = `.${fD}`, $x = ".data-api", dD = "ArrowLeft", hD = "ArrowRight", pD = 500, vD = 40, sy = { 15465 interval: 5e3, 15466 keyboard: !0, 15467 slide: !1, 15468 pause: "hover", 15469 wrap: !0, 15470 touch: !0 15471}, gD = { 15472 interval: "(number|boolean)", 15473 keyboard: "boolean", 15474 slide: "(boolean|string)", 15475 pause: "(string|boolean)", 15476 wrap: "boolean", 15477 touch: "boolean" 15478}, ya = "next", ba = "prev", Ta = "left", Gl = "right", mD = { 15479 [dD]: Gl, 15480 [hD]: Ta 15481}, yD = `slide${Mn}`, ly = `slid${Mn}`, bD = `keydown${Mn}`, ED = `mouseenter${Mn}`, xD = `mouseleave${Mn}`, wD = `touchstart${Mn}`, SD = `touchmove${Mn}`, _D = `touchend${Mn}`, TD = `pointerdown${Mn}`, CD = `pointerup${Mn}`, OD = `dragstart${Mn}`, AD = `load${Mn}${$x}`, ND = `click${Mn}${$x}`, kD = "carousel", Ea = "active", DD = "slide", PD = "carousel-item-end", FD = "carousel-item-start", RD = "carousel-item-next", ID = "carousel-item-prev", MD = "pointer-event", VD = ".active", Fc = ".active.carousel-item", LD = ".carousel-item", jD = ".carousel-item img", BD = ".carousel-item-next, .carousel-item-prev", UD = ".carousel-indicators", HD = "[data-bs-target]", zD = "[data-bs-slide], [data-bs-slide-to]", WD = '[data-bs-ride="carousel"]', qD = "touch", KD = "pen"; 15482class mo extends Si { 15483 constructor(e, r) { 15484 super(e), this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this.touchStartX = 0, this.touchDeltaX = 0, this._config = this._getConfig(r), this._indicatorsElement = dt.findOne(UD, this._element), this._touchSupported = "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0, this._pointerEvent = !!window.PointerEvent, this._addEventListeners(); 15485 } 15486 // Getters 15487 static get Default() { 15488 return sy; 15489 } 15490 static get NAME() { 15491 return ay; 15492 } 15493 // Public 15494 next() { 15495 this._slide(ya); 15496 } 15497 nextWhenVisible() { 15498 !document.hidden && tc(this._element) && this.next(); 15499 } 15500 prev() { 15501 this._slide(ba); 15502 } 15503 pause(e) { 15504 e || (this._isPaused = !0), dt.findOne(BD, this._element) && (Ux(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null; 15505 } 15506 cycle(e) { 15507 e || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config && this._config.interval && !this._isPaused && (this._updateInterval(), this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval)); 15508 } 15509 to(e) { 15510 this._activeElement = dt.findOne(Fc, this._element); 15511 const r = this._getItemIndex(this._activeElement); 15512 if (e > this._items.length - 1 || e < 0) 15513 return; 15514 if (this._isSliding) { 15515 Te.one(this._element, ly, () => this.to(e)); 15516 return; 15517 } 15518 if (r === e) { 15519 this.pause(), this.cycle(); 15520 return; 15521 } 15522 const n = e > r ? ya : ba; 15523 this._slide(n, this._items[e]); 15524 } 15525 // Private 15526 _getConfig(e) { 15527 return e = { 15528 ...sy, 15529 ...Lr.getDataAttributes(this._element), 15530 ...typeof e == "object" ? e : {} 15531 }, Ji(ay, e, gD), e; 15532 } 15533 _handleSwipe() { 15534 const e = Math.abs(this.touchDeltaX); 15535 if (e <= vD) 15536 return; 15537 const r = e / this.touchDeltaX; 15538 this.touchDeltaX = 0, r && this._slide(r > 0 ? Gl : Ta); 15539 } 15540 _addEventListeners() { 15541 this._config.keyboard && Te.on(this._element, bD, (e) =>
15541 this._keydown(e)), this._config.pause === "hover" && (Te.on(this._element, ED, (e) => this.pause(e)), Te.on(this._element, xD, (e) => this.cycle(e))), this._config.touch && this._touchSupported && this._addTouchEventListeners(); 15542 } 15543 _addTouchEventListeners() { 15544 const e = (o) => this._pointerEvent && (o.pointerType === KD || o.pointerType === qD), r = (o) => { 15545 e(o) ? this.touchStartX = o.clientX : this._pointerEvent || (this.touchStartX = o.touches[0].clientX); 15546 }, n = (o) => { 15547 this.touchDeltaX = o.touches && o.touches.length > 1 ? 0 : o.touches[0].clientX - this.touchStartX; 15548 }, i = (o) => { 15549 e(o) && (this.touchDeltaX = o.clientX - this.touchStartX), this._handleSwipe(), this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout((a) => this.cycle(a), pD + this._config.interval)); 15550 }; 15551 dt.find(jD, this._element).forEach((o) => { 15552 Te.on(o, OD, (a) => a.preventDefault()); 15553 }), this._pointerEvent ? (Te.on(this._element, TD, (o) => r(o)), Te.on(this._element, CD, (o) => i(o)), this._element.classList.add(MD)) : (Te.on(this._element, wD, (o) => r(o)), Te.on(this._element, SD, (o) => n(o)), Te.on(this._element, _D, (o) => i(o))); 15554 } 15555 _keydown(e) { 15556 if (/input|textarea/i.test(e.target.tagName)) 15557 return; 15558 const r = mD[e.key]; 15559 r && (e.preventDefault(), this._slide(r)); 15560 } 15561 _getItemIndex(e) { 15562 return this._items = e && e.parentNode ? dt.find(LD, e.parentNode) : [], this._items.indexOf(e); 15563 } 15564 _getItemByOrder(e, r) { 15565 const n = e === ya; 15566 return qx(this._items, r, n, this._config.wrap); 15567 } 15568 _triggerSlideEvent(e, r) { 15569 const n = this._getItemIndex(e), i = this._getItemIndex(dt.findOne(Fc, this._element)); 15570 return Te.trigger(this._element, yD, { 15571 relatedTarget: e, 15572 direction: r, 15573 from: i, 15574 to: n 15575 }); 15576 } 15577 _setActiveIndicatorElement(e) { 15578 if (this._indicatorsElement) { 15579 const r = dt.findOne(VD, this._indicatorsElement); 15580 r.classList.remove(Ea), r.removeAttribute("aria-current"); 15581 const n = dt.find(HD, this._indicatorsElement); 15582 for (let i = 0; i < n.length; i++) 15583 if (Number.parseInt(n[i].getAttribute("data-bs-slide-to"), 10) === this._getItemIndex(e)) { 15584 n[i].classList.add(Ea), n[i].setAttribute("aria-current", "true"); 15585 break; 15586 } 15587 } 15588 } 15589 _updateInterval() { 15590 const e = this._activeElement || dt.findOne(Fc, this._element); 15591 if (!e) 15592 return; 15593 const r = Number.parseInt(e.getAttribute("data-bs-interval"), 10); 15594 r ? (this._config.defaultInterval = this._config.defaultInterval || this._config.interval, this._config.interval = r) : this._config.interval = this._config.defaultInterval || this._config.interval; 15595 } 15596 _slide(e, r) { 15597 const n = this._directionToOrder(e), i = dt.findOne(Fc, this._element), o = this._getItemIndex(i), a = r || this._getItemByOrder(n, i), s = this._getItemIndex(a), u = !!this._interval, l = n === ya, f = l ? FD : PD, h = l ? RD : ID, g = this._orderToDirection(n); 15598 if (a && a.classList.contains(Ea)) { 15599 this._isSliding = !1; 15600 return; 15601 } 15602 if (this._isSliding || this._triggerSlideEvent(a, g).defaultPrevented || !i || !a) 15603 return; 15604 this._isSliding = !0, u && this.pause(), this._setActiveIndicatorElement(a), this._activeElement = a; 15605 const m = () => { 15606 Te.trigger(this._element, ly, { 15607 relatedTarget: a, 15608 direction: g, 15609 from: o, 15610 to: s 15611 }); 15612 }; 15613 if (this._element.classList.contains(DD)) { 15614 a.classList.add(h), ol(a), i.classList.add(f), a.classList.add(f); 15615 const b = () => { 15616 a.classList.remove(f, h), a.classList.add(Ea), i.classList.remove(Ea, h, f), this._isSliding = !1, setTimeout(m, 0); 15617 }; 15618 this._queueCallback(b, i, !0); 15619 } else 15620 i.classList.remove(Ea), a.classList.add(Ea), this._isSliding = !1, m(); 15621 u && this.cycle(); 15622 } 15623 _directionToOrder(e) { 15624 return [Gl, Ta].includes(e) ? pn() ? e === Ta ? ba : ya : e === Ta ? ya : ba : e; 15625 } 15626 _orderToDirection(e) { 15627 return [ya, ba].includes(e) ? pn() ? e === ba ? Ta : Gl : e === ba ? Gl : Ta : e; 15628 } 15629 // Static 15630 static carouselInterface(e, r) { 15631 const n = mo.getOrCreateInstance(e, r); 15632 let { 15633 _config: i 15634 } = n; 15635 typeof r == "object" && (i = { 15636 ...i, 15637 ...r 15638 }); 15639 const o = typeof r == "string" ? r : i.slide; 15640 if (typeof r == "number") 15641 n.to(r); 15642 else if (typeof o == "string") { 15643 if (typeof n[o] > "u")
15644 throw new TypeError(`No method named "${o}"`); 15645 n[o](); 15646 } else 15647 i.interval && i.ride && (n.pause(), n.cycle()); 15648 } 15649 static jQueryInterface(e) { 15650 return this.each(function() { 15651 mo.carouselInterface(this, e); 15652 }); 15653 } 15654 static dataApiClickHandler(e) { 15655 const r = $o(this); 15656 if (!r || !r.classList.contains(kD)) 15657 return; 15658 const n = { 15659 ...Lr.getDataAttributes(r), 15660 ...Lr.getDataAttributes(this) 15661 }, i = this.getAttribute("data-bs-slide-to"); 15662 i && (n.interval = !1), mo.carouselInterface(r, n), i && mo.getInstance(r).to(i), e.preventDefault(); 15663 } 15664} 15665Te.on(document, ND, zD, mo.dataApiClickHandler); 15666Te.on(window, AD, () => { 15667 const t = dt.find(WD); 15668 for (let e = 0, r = t.length; e < r; e++) 15669 mo.carouselInterface(t[e], mo.getInstance(t[e])); 15670}); 15671ri(mo); 15672const uy = "collapse", ew = "bs.collapse", rc = `.${ew}`, GD = ".data-api", cy = { 15673 toggle: !0, 15674 parent: null 15675}, XD = { 15676 toggle: "boolean", 15677 parent: "(null|element)" 15678}, YD = `show${rc}`, ZD = `shown${rc}`, JD = `hide${rc}`, QD = `hidden${rc}`, $D = `click${rc}${GD}`, Yh = "show", ks = "collapse", Rc = "collapsing", fy = "collapsed", dy = `:scope .${ks} .${ks}`, eP = "collapse-horizontal", tP = "width", rP = "height", nP = ".collapse.show, .collapse.collapsing", rv = '[data-bs-toggle="collapse"]'; 15679class Ls extends Si { 15680 constructor(e, r) { 15681 super(e), this._isTransitioning = !1, this._config = this._getConfig(r), this._triggerArray = []; 15682 const n = dt.find(rv); 15683 for (let i = 0, o = n.length; i < o; i++) { 15684 const a = n[i], s = S0(a), u = dt.find(s).filter((l) => l === this._element); 15685 s !== null && u.length && (this._selector = s, this._triggerArray.push(a)); 15686 } 15687 this._initializeChildren(), this._config.parent || this._addAriaAndCollapsedClass(this._triggerArray, this._isShown()), this._config.toggle && this.toggle(); 15688 } 15689 // Getters 15690 static get Default() { 15691 return cy; 15692 } 15693 static get NAME() { 15694 return uy; 15695 } 15696 // Public 15697 toggle() { 15698 this._isShown() ? this.hide() : this.show(); 15699 } 15700 show() { 15701 if (this._isTransitioning || this._isShown()) 15702 return; 15703 let e = [], r; 15704 if (this._config.parent) { 15705 const l = dt.find(dy, this._config.parent); 15706 e = dt.find(nP, this._config.parent).filter((f) => !l.includes(f)); 15707 } 15708 const n = dt.findOne(this._selector); 15709 if (e.length) { 15710 const l = e.find((f) => n !== f); 15711 if (r = l ? Ls.getInstance(l) : null, r && r._isTransitioning) 15712 return; 15713 } 15714 if (Te.trigger(this._element, YD).defaultPrevented) 15715 return; 15716 e.forEach((l) => { 15717 n !== l && Ls.getOrCreateInstance(l, { 15718 toggle: !1 15719 }).hide(), r || du.set(l, ew, null); 15720 }); 15721 const o = this._getDimension(); 15722 this._element.classList.remove(ks), this._element.classList.add(Rc), this._element.style[o] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0; 15723 const a = () => { 15724 this._isTransitioning = !1, this._element.classList.remove(Rc), this._element.classList.add(ks, Yh), this._element.style[o] = "", Te.trigger(this._element, ZD); 15725 }, u = `scroll${o[0].toUpperCase() + o.slice(1)}`; 15726 this._queueCallback(a, this._element, !0), this._element.style[o] = `${this._element[u]}px`; 15727 } 15728 hide() { 15729 if (this._isTransitioning || !this._isShown() || Te.trigger(this._element, JD).defaultPrevented) 15730 return; 15731 const r = this._getDimension(); 15732 this._element.style[r] = `${this._element.getBoundingClientRect()[r]}px`, ol(this._element), this._element.classList.add(Rc), this._element.classList.remove(ks, Yh); 15733 const n = this._triggerArray.length; 15734 for (let o = 0; o < n; o++) { 15735 const a = this._triggerArray[o], s = $o(a); 15736 s && !this._isShown(s) && this._addAriaAndCollapsedClass([a], !1); 15737 } 15738 this._isTransitioning = !0; 15739 const i = () => { 15740 this._isTransitioning = !1, this._element.classList.remove(Rc), this._element.classList.add(ks), Te.trigger(this._element, QD); 15741 }; 15742 this._element.style[r] = "", this._queueCallback(i, this._element, !0); 15743 } 15744 _isShown(e = this._element) { 15745 return e.classList.contains(Yh); 15746 } 15747 // Private 15748 _getConfig(e) { 15749 return e = { 15750 ...cy, 15751 ...Lr.getDataAttributes(this._element), 15752 ...e 15753 }, e.toggle = !!e.toggle, e.parent = ea(e.parent), Ji(uy, e, XD), e; 15754 } 15755 _getDimension() { 15756 return this._element.classList.contains(eP) ? tP : rP; 15757 } 15758 _initializeChildren() { 15759 if (!this._config.parent) 15760 return; 15761 const e = dt.find(dy, this._config.parent); 15762 dt.find(rv, this._config.parent).filter((r) =>
15762 !e.includes(r)).forEach((r) => { 15763 const n = $o(r); 15764 n && this._addAriaAndCollapsedClass([r], this._isShown(n)); 15765 }); 15766 } 15767 _addAriaAndCollapsedClass(e, r) { 15768 e.length && e.forEach((n) => { 15769 r ? n.classList.remove(fy) : n.classList.add(fy), n.setAttribute("aria-expanded", r); 15770 }); 15771 } 15772 // Static 15773 static jQueryInterface(e) { 15774 return this.each(function() { 15775 const r = {}; 15776 typeof e == "string" && /show|hide/.test(e) && (r.toggle = !1); 15777 const n = Ls.getOrCreateInstance(this, r); 15778 if (typeof e == "string") { 15779 if (typeof n[e] > "u") 15780 throw new TypeError(`No method named "${e}"`); 15781 n[e](); 15782 } 15783 }); 15784 } 15785} 15786Te.on(document, $D, rv, function(t) { 15787 (t.target.tagName === "A" || t.delegateTarget && t.delegateTarget.tagName === "A") && t.preventDefault(); 15788 const e = S0(this); 15789 dt.find(e).forEach((n) => { 15790 Ls.getOrCreateInstance(n, { 15791 toggle: !1 15792 }).toggle(); 15793 }); 15794}); 15795ri(Ls); 15796const Zh = "dropdown", iP = "bs.dropdown", $a = `.${iP}`, _0 = ".data-api", df = "Escape", hy = "Space", py = "Tab", nv = "ArrowUp", hf = "ArrowDown", oP = 2, aP = new RegExp(`${nv}|${hf}|${df}`), sP = `hide${$a}`, lP = `hidden${$a}`, uP = `show${$a}`, cP = `shown${$a}`, tw = `click${$a}${_0}`, rw = `keydown${$a}${_0}`, fP = `keyup${$a}${_0}`, vs = "show", dP = "dropup", hP = "dropend", pP = "dropstart", vP = "navbar", hu = '[data-bs-toggle="dropdown"]', iv = ".dropdown-menu", gP = ".navbar-nav", mP = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", yP = pn() ? "top-end" : "top-start", bP = pn() ? "top-start" : "top-end", EP = pn() ? "bottom-end" : "bottom-start", xP = pn() ? "bottom-start" : "bottom-end", wP = pn() ? "left-start" : "right-start", SP = pn() ? "right-start" : "left-start", _P = { 15797 offset: [0, 2], 15798 boundary: "clippingParents", 15799 reference: "toggle", 15800 display: "dynamic", 15801 popperConfig: null, 15802 autoClose: !0 15803}, TP = { 15804 offset: "(array|string|function)", 15805 boundary: "(string|element)", 15806 reference: "(string|element|object)", 15807 display: "string", 15808 popperConfig: "(null|object|function)", 15809 autoClose: "(boolean|string)" 15810}; 15811class qn extends Si { 15812 constructor(e, r) { 15813 super(e), this._popper = null, this._config = this._getConfig(r), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(); 15814 } 15815 // Getters 15816 static get Default() { 15817 return _P; 15818 } 15819 static get DefaultType() { 15820 return TP; 15821 } 15822 static get NAME() { 15823 return Zh; 15824 } 15825 // Public 15826 toggle() { 15827 return this._isShown() ? this.hide() : this.show(); 15828 } 15829 show() { 15830 if (Va(this._element) || this._isShown(this._menu)) 15831 return; 15832 const e = { 15833 relatedTarget: this._element 15834 }; 15835 if (Te.trigger(this._element, uP, e).defaultPrevented) 15836 return; 15837 const n = qn.getParentFromElement(this._element); 15838 this._inNavbar ? Lr.setDataAttribute(this._menu, "popper", "none") : this._createPopper(n), "ontouchstart" in document.documentElement && !n.closest(gP) && [].concat(...document.body.children).forEach((i) => Te.on(i, "mouseover", Gf)), this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(v
15838s), this._element.classList.add(vs), Te.trigger(this._element, cP, e); 15839 } 15840 hide() { 15841 if (Va(this._element) || !this._isShown(this._menu)) 15842 return; 15843 const e = { 15844 relatedTarget: this._element 15845 }; 15846 this._completeHide(e); 15847 } 15848 dispose() { 15849 this._popper && this._popper.destroy(), super.dispose(); 15850 } 15851 update() { 15852 this._inNavbar = this._detectNavbar(), this._popper && this._popper.update(); 15853 } 15854 // Private 15855 _completeHide(e) { 15856 Te.trigger(this._element, sP, e).defaultPrevented || ("ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach((n) => Te.off(n, "mouseover", Gf)), this._popper && this._popper.destroy(), this._menu.classList.remove(vs), this._element.classList.remove(vs), this._element.setAttribute("aria-expanded", "false"), Lr.removeDataAttribute(this._menu, "popper"), Te.trigger(this._element, lP, e)); 15857 } 15858 _getConfig(e) { 15859 if (e = { 15860 ...this.constructor.Default, 15861 ...Lr.getDataAttributes(this._element), 15862 ...e 15863 }, Ji(Zh, e, this.constructor.DefaultType), typeof e.reference == "object" && !qa(e.reference) && typeof e.reference.getBoundingClientRect != "function") 15864 throw new TypeError(`${Zh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`); 15865 return e; 15866 } 15867 _createPopper(e) { 15868 if (typeof jx > "u") 15869 throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)"); 15870 let r = this._element; 15871 this._config.reference === "parent" ? r = e : qa(this._config.reference) ? r = ea(this._config.reference) : typeof this._config.reference == "object" && (r = this._config.reference); 15872 const n = this._getPopperConfig(), i = n.modifiers.find((o) => o.name === "applyStyles" && o.enabled === !1); 15873 this._popper = w0(r, this._menu, n), i && Lr.setDataAttribute(this._menu, "popper", "static"); 15874 } 15875 _isShown(e = this._element) { 15876 return e.classList.contains(vs); 15877 } 15878 _getMenuElement() { 15879 return dt.next(this._element, iv)[0]; 15880 } 15881 _getPlacement() { 15882 const e = this._element.parentNode; 15883 if (e.classList.contains(hP)) 15884 return wP; 15885 if (e.classList.contains(pP)) 15886 return SP; 15887 const r = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end"; 15888 return e.classList.contains(dP) ? r ? bP : yP : r ? xP : EP; 15889 } 15890 _detectNavbar() { 15891 return this._element.closest(`.${vP}`) !== null; 15892 } 15893 _getOffset() { 15894 const { 15895 offset: e 15896 } = this._config; 15897 return typeof e == "string" ? e.split(",").map((r) => Number.parseInt(r, 10)) : typeof e == "function" ? (r) => e(r, this._element) : e; 15898 } 15899 _getPopperConfig() { 15900 const e = { 15901 placement: this._getPlacement(), 15902 modifiers: [{ 15903 name: "preventOverflow", 15904 options: { 15905 boundary: this._config.boundary 15906 } 15907 }, { 15908 name: "offset", 15909 options: { 15910 offset: this._getOffset() 15911 } 15912 }] 15913 }; 15914 return this._config.display === "static" && (e.modifiers = [{ 15915 name: "applyStyles", 15916 enabled: !1 15917 }]), { 15918 ...e, 15919 ...typeof this._config.popperConfig == "function" ? this._config.popperConfig(e) : this._config.popperConfig 15920 }; 15921 } 15922 _selectMenuItem({ 15923 key: e, 15924 target: r 15925 }) { 15926 const n = dt.find(mP, this._menu).filter(tc); 15927 n.length && qx(n, r, e === hf, !n.includes(r)).focus(); 15928 } 15929 // Static 15930 static jQueryInterface(e) { 15931 return this.each(function() { 15932 const r = qn.getOrCreateInstance(this, e); 15933 if (typeof e == "string") { 15934 if (typeof r[e] > "u") 15935 throw new TypeError(`No method named "${e}"`); 15936 r[e](); 15937 } 15938 }); 15939 } 15940 static clearMenus(e) { 15941 if (e && (e.button === oP || e.type === "keyup" && e.key !== py)) 15942 return; 15943 const r = dt.find(hu); 15944 for (let n = 0, i = r.length; n < i; n++) { 15945 const o = qn.getInstance(r[n]); 15946 if (!o || o._config.autoClose === !1 || !o._isShown()) 15947 continue; 15948 const a = { 15949 relatedTarget: o._element 15950 }; 15951 if (e) { 15952 const s = e.composedPath(), u = s.includes(o._menu); 15953 if (s.includes(o._element) || o._config.autoClose === "inside" && !u || o._config.autoClose === "outside" && u || o._menu.contains(e.target) && (e.type === "keyup" && e.key === py || /input|select|option|textarea|form/i.test(e.target.tagName))) 15954 continue; 15955 e.type === "click" && (a.clickEvent = e); 15956 } 15957 o._completeHide(a); 15958 } 15959 } 15960 static getParentFromElement(e) { 15961 return $o(e) || e.parentNode; 15962 } 15963 static dataApiKeydownHandler(e) { 15964 if (/input|textarea/i.test(e.target.tagName) ? e.key === hy || e.key !== df && (e.key !== hf && e.key !== nv || e.target.closest(iv)) : !aP.test(e.key)) 15965 return; 15966 const r = this.classList.contains(vs); 15967 if (!r && e.key === df || (e.preventDefault(), e.stopPropagation(), Va(this))) 15968 return;
15969 const n = this.matches(hu) ? this : dt.prev(this, hu)[0], i = qn.getOrCreateInstance(n); 15970 if (e.key === df) { 15971 i.hide(); 15972 return; 15973 } 15974 if (e.key === nv || e.key === hf) { 15975 r || i.show(), i._selectMenuItem(e); 15976 return; 15977 } 15978 (!r || e.key === hy) && qn.clearMenus(); 15979 } 15980} 15981Te.on(document, rw, hu, qn.dataApiKeydownHandler); 15982Te.on(document, rw, iv, qn.dataApiKeydownHandler); 15983Te.on(document, tw, qn.clearMenus); 15984Te.on(document, fP, qn.clearMenus); 15985Te.on(document, tw, hu, function(t) { 15986 t.preventDefault(), qn.getOrCreateInstance(this).toggle(); 15987}); 15988ri(qn); 15989const vy = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", gy = ".sticky-top"; 15990class ov { 15991 constructor() { 15992 this._element = document.body; 15993 } 15994 getWidth() { 15995 const e = document.documentElement.clientWidth; 15996 return Math.abs(window.innerWidth - e); 15997 } 15998 hide() { 15999 const e = this.getWidth(); 16000 this._disableOverFlow(), this._setElementAttributes(this._element, "paddingRight", (r) => r + e), this._setElementAttributes(vy, "paddingRight", (r) => r + e), this._setElementAttributes(gy, "marginRight", (r) => r - e); 16001 } 16002 _disableOverFlow() { 16003 this._saveInitialAttribute(this._element, "overflow"), this._element.style.overflow = "hidden"; 16004 } 16005 _setElementAttributes(e, r, n) { 16006 const i = this.getWidth(), o = (a) => { 16007 if (a !== this._element && window.innerWidth > a.clientWidth + i) 16008 return; 16009 this._saveInitialAttribute(a, r); 16010 const s = window.getComputedStyle(a)[r]; 16011 a.style[r] = `${n(Number.parseFloat(s))}px`; 16012 }; 16013 this._applyManipulationCallback(e, o); 16014 } 16015 reset() { 16016 this._resetElementAttributes(this._element, "overflow"), this._resetElementAttributes(this._element, "paddingRight"), this._resetElementAttributes(vy, "paddingRight"), this._resetElementAttributes(gy, "marginRight"); 16017 } 16018 _saveInitialAttribute(e, r) { 16019 const n = e.style[r]; 16020 n && Lr.setDataAttribute(e, r, n); 16021 } 16022 _resetElementAttributes(e, r) { 16023 const n = (i) => { 16024 const o = Lr.getDataAttribute(i, r); 16025 typeof o > "u" ? i.style.removeProperty(r) : (Lr.removeDataAttribute(i, r), i.style[r] = o); 16026 }; 16027 this._applyManipulationCallback(e, n); 16028 } 16029 _applyManipulationCallback(e, r) { 16030 qa(e) ? r(e) : dt.find(e, this._element).forEach(r); 16031 } 16032 isOverflowing() { 16033 return this.getWidth() > 0; 16034 } 16035} 16036const CP = { 16037 className: "modal-backdrop", 16038 isVisible: !0, 16039 // if false, we use the backdrop helper without adding any element to the dom 16040 isAnimated: !1, 16041 rootElement: "body", 16042 // give the choice to place backdrop under different elements 16043 clickCallback: null 16044}, OP = { 16045 className: "string", 16046 isVisible: "boolean", 16047 isAnimated: "boolean", 16048 rootElement: "(element|string)", 16049 clickCallback: "(function|null)" 16050}, nw = "backdrop", AP = "fade", my = "show", yy = `mousedown.bs.${nw}`; 16051class iw { 16052 constructor(e) { 16053 this._config = this._getConfig(e), this._isAppended = !1, this._element = null; 16054 } 16055 show(e) { 16056 if (!this._config.isVisible) { 16057 Oa(e); 16058 return; 16059 } 16060 this._append(), this._config.isAnimated && ol(this._getElement()), this._getElement().classList.add(my), this._emulateAnimation(() => { 16061 Oa(e); 16062 }); 16063 } 16064 hide(e) { 16065 if (!this._config.isVisible) { 16066 Oa(e); 16067 return; 16068 } 16069 this._getElement().classList.remove(my), this._emulateAnimation(() => { 16070 this.dispose(), Oa(e); 16071 }); 16072 } 16073 // Private 16074 _getElement() { 16075 if (!this._element) { 16076 const e = document.createElement("div"); 16077 e.className = this._config.className, this._config.isAnimated && e.classList.add(AP), this._element = e; 16078 } 16079 return this._element; 16080 } 16081 _getConfig(e) { 16082 return e = { 16083 ...CP, 16084 ...typeof e == "object" ? e : {} 16085 }, e.rootElement = ea(e.rootElement), Ji(nw, e, OP), e; 16086 } 16087 _append() { 16088 this._isAppended || (this._config.rootElement.append(this._getElement()), Te.on(this._getElement(), yy, () => { 16089 Oa(this._config.clickCallback); 16090 }), this._isAppended = !0); 16091 } 16092 dispose() { 16093 this._isAppended && (Te.off(this._element, yy), this._element.remove(), this._isAppended = !1); 16094 } 16095 _emulateAnimation(e) { 16096 Wx(e, this._getElement(), this._config.isAnimated); 16097 } 16098} 16099const NP = { 16100 trapElement: null, 16101 // The element to trap focus inside of 16102 autofocus: !0 16103}, kP = { 16104 trapElement: "element", 16105 autofocus: "boolean" 16106}, DP = "focustrap", PP = "bs.focustrap", Xf = `.${PP}`, FP = `focusin${Xf}`, RP = `keydown.tab${Xf}`, IP = "Tab", MP = "forward", by = "backward"; 16107class ow { 16108 constructor(e) { 16109 this._config = this._getConfig(e), this._isActive = !1, this._lastTabNavDirection = null; 16110 } 16111 activate() { 16112 const { 16113 trapElement: e, 16114 autofocus: r 16115 } = this._config; 16116 this._isActive || (r && e.focus(), Te.off(document, Xf), Te.on(document, FP, (n) => this._handleFocusin(n)), Te.on(document, RP, (n) => this._handleKeydown(n)), this._isActive = !0); 16117 } 16118 deactivate() { 16119 this._isActive && (this._isActive = !1, Te.off(document, Xf)); 16120 } 16121 // Private 16122 _handleFocusin(e) { 16123 const { 16124 target: r 16125 } = e, { 16126 trapElement: n 16127 } = this._config; 16128 if (r === document || r === n || n.contains(r)) 16129 return; 16130 const i = dt.focusableChildren(n); 16131 i.length === 0 ? n.focus() : this._lastTabNavDirection === by ? i[i.length - 1].focus() : i[0].focus(); 16132 } 16133 _handleKeydown(e) { 16134 e.key === IP && (this._lastTabNavDirection = e.shiftKey ? by : MP); 16135 } 16136 _getConfig(e) { 16137 return e = { 16138 ...NP, 16139 ...typeof e == "object" ? e : {} 16140 }, Ji(DP, e, kP), e; 16141 } 16142} 16143const Ey = "modal", VP = "bs.modal", ni = `.${VP}`, LP = ".data-api", xy = "Escape", wy = { 16144 backdrop: !0, 16145 keyboard: !0, 16146 focus: !0 16147}, jP = { 16148 backdrop: "(boolean|string)", 16149 keyboard: "boolean", 16150 focus: "boolean" 16151}, BP = `hide${ni}`, UP = `hidePrevented${ni}`, aw = `hidden${ni}`, sw = `show${ni}`, HP = `shown${ni}`, Sy = `resize${ni}`, _y = `click.dismiss${ni}`, Ty = `keydown.dismiss${ni}
16151`, zP = `mouseup.dismiss${ni}`, Cy = `mousedown.dismiss${ni}`, WP = `click${ni}${LP}`, Oy = "modal-open", qP = "fade", Ay = "show", Jh = "modal-static", KP = ".modal.show", GP = ".modal-dialog", XP = ".modal-body", YP = '[data-bs-toggle="modal"]'; 16152class $s extends Si { 16153 constructor(e, r) { 16154 super(e), this._config = this._getConfig(r), this._dialog = dt.findOne(GP, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollBar = new ov(); 16155 } 16156 // Getters 16157 static get Default() { 16158 return wy; 16159 } 16160 static get NAME() { 16161 return Ey; 16162 } 16163 // Public 16164 toggle(e) { 16165 return this._isShown ? this.hide() : this.show(e); 16166 } 16167 show(e) { 16168 this._isShown || this._isTransitioning || Te.trigger(this._element, sw, { 16169 relatedTarget: e 16170 }).defaultPrevented || (this._isShown = !0, this._isAnimated() && (this._isTransitioning = !0), this._scrollBar.hide(), document.body.classList.add(Oy), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), Te.on(this._dialog, Cy, () => { 16171 Te.one(this._element, zP, (n) => { 16172 n.target === this._element && (this._ignoreBackdropClick = !0); 16173 }); 16174 }), this._showBackdrop(() => this._showElement(e))); 16175 } 16176 hide() { 16177 if (!this._isShown || this._isTransitioning || Te.trigger(this._element, BP).defaultPrevented) 16178 return; 16179 this._isShown = !1; 16180 const r = this._isAnimated(); 16181 r && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), this._focustrap.deactivate(), this._element.classList.remove(Ay), Te.off(this._element, _y), Te.off(this._dialog, Cy), this._queueCallback(() => this._hideModal(), this._element, r); 16182 } 16183 dispose() { 16184 [window, this._dialog].forEach((e) => Te.off(e, ni)), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose(); 16185 } 16186 handleUpdate() { 16187 this._adjustDialog(); 16188 } 16189 // Private 16190 _initializeBackDrop() { 16191 return new iw({ 16192 isVisible: !!this._config.backdrop, 16193 // 'static' option will be translated to true, and booleans will keep their value 16194 isAnimated: this._isAnimated() 16195 }); 16196 } 16197 _initializeFocusTrap() { 16198 return new ow({ 16199 trapElement: this._element 16200 }); 16201 } 16202 _getConfig(e) { 16203 return e = { 16204 ...wy, 16205 ...Lr.getDataAttributes(this._element), 16206 ...typeof e == "object" ? e : {} 16207 }, Ji(Ey, e, jP), e; 16208 } 16209 _showElement(e) { 16210 const r = this._isAnimated(), n = dt.findOne(XP, this._dialog); 16211 (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) && document.body.append(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0, n && (n.scrollTop = 0), r && ol(this._element), this._element.classList.add(Ay); 16212 const i = () => { 16213 this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, Te.trigger(this._element, HP, { 16214 relatedTarget: e 16215 }); 16216 }; 16217 this._queueCallback(i, this._dialog, r); 16218 } 16219 _setEscapeEvent() { 16220 this._isShown ? Te.on(this._element, Ty, (e) => { 16221 this._config.keyboard && e.key === xy ? (e.preventDefault(), this.hide()) : !this._config.keyboard && e.key === xy && this._triggerBackdropTransition(); 16222 }) : Te.off(this._element, Ty); 16223 } 16224 _setResizeEvent() { 16225 this._isShown ? Te.on(window, Sy, () => this._adjustDialog()) : Te.off(window, Sy); 16226 } 16227 _hideModal() { 16228 this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._isTransitioning = !1, this._backdrop.hide(() => { 16229 document.body.classList.remove(Oy), this._resetAdjustments(), this._scrollBar.reset(), Te.trigger(this._element, aw); 16230 }); 16231 } 16232 _showBackdrop(e) { 16233 Te.on(this._element, _y, (r) => { 16234 if (this._ignoreBackdropClick) { 16235 this._ignoreBackdropClick = !1; 16236 return; 16237 } 16238 r.target === r.currentTarget && (this._config.backdrop === !0 ? this.hide() : this._config.backdrop === "static" && this._triggerBackdropTransition()); 16239 }), this._backdrop.show(e); 16240 } 16241 _isAnimated() { 16242 return this._element.classList.contains(qP); 16243 } 16244 _triggerBackdropTransition() { 16245 if (Te.trigger(this._element, UP).defaultPrevented) 16246 return; 16247 const { 16248 classList: r, 16249 scrollHeight: n, 16250 style: i 16251 } = this._element, o = n > document.documentElement.clientHeight; 16252 !o && i.overflowY === "hidden" || r.contains(Jh) || (o || (i.overflowY = "hidden"), r.add(Jh), this._queueCallback(() => { 16253 r.remove(Jh), o || this._queueCallback(() => { 16254 i.overflowY = ""; 16255 }, this._dialog); 16256 }, this._dialog), this._element.focus()); 16257 } 16258 // ---------------------------------------------------------------------- 16259 // the following methods are used to handle overflowing modals 16260 // ----------------------------------------------------------------------
16261 _adjustDialog() { 16262 const e = this._element.scrollHeight > document.documentElement.clientHeight, r = this._scrollBar.getWidth(), n = r > 0; 16263 (!n && e && !pn() || n && !e && pn()) && (this._element.style.paddingLeft = `${r}px`), (n && !e && !pn() || !n && e && pn()) && (this._element.style.paddingRight = `${r}px`); 16264 } 16265 _resetAdjustments() { 16266 this._element.style.paddingLeft = "", this._element.style.paddingRight = ""; 16267 } 16268 // Static 16269 static jQueryInterface(e, r) { 16270 return this.each(function() { 16271 const n = $s.getOrCreateInstance(this, e); 16272 if (typeof e == "string") { 16273 if (typeof n[e] > "u") 16274 throw new TypeError(`No method named "${e}"`); 16275 n[e](r); 16276 } 16277 }); 16278 } 16279} 16280Te.on(document, WP, YP, function(t) { 16281 const e = $o(this); 16282 ["A", "AREA"].includes(this.tagName) && t.preventDefault(), Te.one(e, sw, (i) => { 16283 i.defaultPrevented || Te.one(e, aw, () => { 16284 tc(this) && this.focus(); 16285 }); 16286 }); 16287 const r = dt.findOne(KP); 16288 r && $s.getInstance(r).hide(), $s.getOrCreateInstance(e).toggle(this); 16289}); 16290Dd($s); 16291ri($s); 16292const Ny = "offcanvas", ZP = "bs.offcanvas", es = `.${ZP}`, lw = ".data-api", JP = `load${es}${lw}`, QP = "Escape", ky = { 16293 backdrop: !0, 16294 keyboard: !0, 16295 scroll: !1 16296}, $P = { 16297 backdrop: "boolean", 16298 keyboard: "boolean", 16299 scroll: "boolean" 16300}, Dy = "show", eF = "offcanvas-backdrop", uw = ".offcanvas.show", tF = `show${es}`, rF = `shown${es}`, nF = `hide${es}`, cw = `hidden${es}`, iF = `click${es}${lw}`, oF = `keydown.dismiss${es}`, aF = '[data-bs-toggle="offcanvas"]'; 16301class Ka extends Si { 16302 constructor(e, r) { 16303 super(e), this._config = this._getConfig(r), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners(); 16304 } 16305 // Getters 16306 static get NAME() { 16307 return Ny; 16308 } 16309 static get Default() { 16310 return ky; 16311 } 16312 // Public 16313 toggle(e) { 16314 return this._isShown ? this.hide() : this.show(e); 16315 } 16316 show(e) { 16317 if (this._isShown || Te.trigger(this._element, tF, { 16318 relatedTarget: e 16319 }).defaultPrevented) 16320 return; 16321 this._isShown = !0, this._element.style.visibility = "visible", this._backdrop.show(), this._config.scroll || new ov().hide(), this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(Dy); 16322 const n = () => { 16323 this._config.scroll || this._focustrap.activate(), Te.trigger(this._element, rF, { 16324 relatedTarget: e 16325 }); 16326 }; 16327 this._queueCallback(n, this._element, !0); 16328 } 16329 hide() { 16330 if (!this._isShown || Te.trigger(this._element, nF).defaultPrevented) 16331 return; 16332 this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.remove(Dy), this._backdrop.hide(); 16333 const r = () => { 16334 this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._element.removeAttribute("role"), this._element.style.visibility = "hidden", this._config.scroll || new ov().reset(), Te.trigger(this._element, cw); 16335 }; 16336 this._queueCallback(r, this._element, !0); 16337 } 16338 dispose() { 16339 this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose(); 16340 } 16341 // Private 16342 _getConfig(e) { 16343 return e = { 16344 ...ky, 16345 ...Lr.getDataAttributes(this._element), 16346 ...typeof e == "object" ? e : {} 16347 }, Ji(Ny, e, $P), e; 16348 } 16349 _initializeBackDrop() { 16350 return new iw({ 16351 className: eF, 16352 isVisible: this._config.backdrop, 16353 isAnimated: !0, 16354 rootElement: this._element.parentNode, 16355 clickCallback: () => this.hide() 16356 }); 16357 } 16358 _initializeFocusTrap() { 16359 return new ow({ 16360 trapElement: this._element 16361 }); 16362 } 16363 _addEventListeners() { 16364 Te.on(this._element, oF, (e) => { 16365 this._config.keyboard && e.key === QP && this.hide(); 16366 }); 16367 } 16368 // Static 16369 static jQueryInterface(e) { 16370 return this.each(function() { 16371 const r = Ka.getOrCreateInstance(this, e); 16372 if (typeof e == "string") { 16373 if (r[e] === void 0 || e.startsWith("_") || e === "constructor")
vendor: 20,028 bytes, lines 16374-16924
16374 throw new TypeError(`No method named "${e}"`); 16375 r[e](this); 16376 } 16377 }); 16378 } 16379} 16380Te.on(document, iF, aF, function(t) { 16381 const e = $o(this); 16382 if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), Va(this)) 16383 return; 16384 Te.one(e, cw, () => { 16385 tc(this) && this.focus(); 16386 }); 16387 const r = dt.findOne(uw); 16388 r && r !== e && Ka.getInstance(r).hide(), Ka.getOrCreateInstance(e).toggle(this); 16389}); 16390Te.on(window, JP, () => dt.find(uw).forEach((t) => Ka.getOrCreateInstance(t).show())); 16391Dd(Ka); 16392ri(Ka); 16393const sF = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), lF = /^aria-[\w-]*$/i, uF = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i, cF = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i, fF = (t, e) => { 16394 const r = t.nodeName.toLowerCase(); 16395 if (e.includes(r)) 16396 return sF.has(r) ? !!(uF.test(t.nodeValue) || cF.test(t.nodeValue)) : !0; 16397 const n = e.filter((i) => i instanceof RegExp); 16398 for (let i = 0, o = n.length; i < o; i++) 16399 if (n[i].test(r)) 16400 return !0; 16401 return !1; 16402}, dF = { 16403 // Global attributes allowed on any supplied element below. 16404 "*": ["class", "dir", "id", "lang", "role", lF], 16405 a: ["target", "href", "title", "rel"], 16406 area: [], 16407 b: [], 16408 br: [], 16409 col: [], 16410 code: [], 16411 div: [], 16412 em: [], 16413 hr: [], 16414 h1: [], 16415 h2: [], 16416 h3: [], 16417 h4: [], 16418 h5: [], 16419 h6: [], 16420 i: [], 16421 img: ["src", "srcset", "alt", "title", "width", "height"], 16422 li: [], 16423 ol: [], 16424 p: [], 16425 pre: [], 16426 s: [], 16427 small: [], 16428 span: [], 16429 sub: [], 16430 sup: [], 16431 strong: [], 16432 u: [], 16433 ul: [] 16434}; 16435function Py(t, e, r) { 16436 if (!t.length) 16437 return t; 16438 if (r && typeof r == "function") 16439 return r(t); 16440 const i = new window.DOMParser().parseFromString(t, "text/html"), o = [].concat(...i.body.querySelectorAll("*")); 16441 for (let a = 0, s = o.length; a < s; a++) { 16442 const u = o[a], l = u.nodeName.toLowerCase(); 16443 if (!Object.keys(e).includes(l)) { 16444 u.remove(); 16445 continue; 16446 } 16447 const f = [].concat(...u.attributes), h = [].concat(e["*"] || [], e[l] || []); 16448 f.forEach((g) => { 16449 fF(g, h) || u.removeAttribute(g.nodeName); 16450 }); 16451 } 16452 return i.body.innerHTML; 16453} 16454const Fy = "tooltip", hF = "bs.tooltip", Ai = `.${hF}`, pF = "bs-tooltip", vF = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), gF = { 16455 animation: "boolean", 16456 template: "string", 16457 title: "(string|element|function)", 16458 trigger: "string", 16459 delay: "(number|object)", 16460 html: "boolean", 16461 selector: "(string|boolean)", 16462 placement: "(string|function)", 16463 offset: "(array|string|function)", 16464 container: "(string|element|boolean)", 16465 fallbackPlacements: "array", 16466 boundary: "(string|element)", 16467 customClass: "(string|function)", 16468 sanitize: "boolean", 16469 sanitizeFn: "(null|function)", 16470 allowList: "object", 16471 popperConfig: "(null|object|function)" 16472}, mF = { 16473 AUTO: "auto", 16474 TOP: "top", 16475 RIGHT: pn() ? "left" : "right", 16476 BOTTOM: "bottom", 16477 LEFT: pn() ? "right" : "left" 16478}, yF = { 16479 animation: !0, 16480 template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>', 16481 trigger: "hover focus", 16482 title: "", 16483 delay: 0, 16484 html: !1, 16485 selector: !1, 16486 placement: "top", 16487 offset: [0, 0], 16488 container: !1, 16489 fallbackPlacements: ["top", "right", "bottom", "left"], 16490 boundary: "clippingParents", 16491 customClass: "", 16492 sanitize: !0, 16493 sanitizeFn: null, 16494 allowList: dF, 16495 popperConfig: null 16496}, bF = { 16497 HIDE: `hide${Ai}`, 16498 HIDDEN: `hidden${Ai}`, 16499 SHOW: `show${Ai}`, 16500 SHOWN: `shown${Ai}`, 16501 INSERTED: `inserted${Ai}`, 16502 CLICK: `click${Ai}`, 16503 FOCUSIN: `focusin${Ai}`, 16504 FOCUSOUT: `focusout${Ai}`, 16505 MOUSEENTER: `mouseenter${Ai}`, 16506 MOUSELEAVE: `mouseleave${Ai}` 16507}, Ic = "fade", EF = "modal", kl = "show", Dl = "show", Qh = "out", Ry = ".tooltip-inner", Iy = `.${EF}`, My = "hide.bs.modal", Pl = "hover", $h = "focus", xF = "click", wF = "manual"; 16508class al extends Si { 16509 constructor(e, r) { 16510 if (typeof jx > "u") 16511 throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)"); 16512 super(e), this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this._config = this._getConfig(r), this.tip = null, this._setListeners(); 16513 } 16514 // Getters 16515 static get Default() { 16516 return yF; 16517 } 16518 static get NAME() { 16519 return Fy; 16520 } 16521 static get Event() { 16522 return bF; 16523 } 16524 static get DefaultType() { 16525 return gF; 16526 } 16527 // Public 16528 enable() { 16529 this._isEnabled = !0; 16530 } 16531 disable() { 16532 this._isEnabled = !1; 16533 } 16534 toggleEnabled() { 16535 this._isEnabled = !this._isEnabled; 16536 } 16537 toggle(e) { 16538 if (this._isEnabled) 16539 if (e) { 16540 const r = this._initializeOnDelegatedTarget(e); 16541 r._activeTrigger.click = !r._activeTrigger.click, r._isWithActiveTrigger() ? r._enter(null, r) : r._leave(null, r); 16542 } else { 16543 if (this.getTipElement().classList.contains(kl)) { 16544 this._leave(null, this); 16545 return; 16546 } 16547 this._enter(null, this); 16548 } 16549 } 16550 dispose() { 16551 clearTimeout(this._timeout), Te.off(this._element.closest(Iy), My, this._hideModalHandler), this.tip && this.tip.remove(), this._disposePopper(), super.dispose(); 16552 } 16553 show() { 16554 if (this._element.style.display === "none") 16555 throw new Error("Please use show on visible elements"); 16556 if (!(this.isWithContent() && this._isEnabled)) 16557 return; 16558 const e = Te.trigger(this._element, this.constructor.Event.SHOW), r = Hx(this._element), n = r === null ? this._element.ownerDocument.documentElement.contains(this._element) : r.contains(this._element); 16559 if (e.defaultPrevented || !n) 16560 return; 16561 this.constructor.NAME === "tooltip" && this.tip && this.getTitle() !== this.tip.querySelector(Ry).innerHTML && (this._disposePopper(), this.tip.remove(), this.tip = null); 16562 const i = this.getTipElement(), o = Bk(this.constructor.NAME); 16563 i.setAttribute("id", o), this._element.setAttribute("aria-describedby", o), this._config.animation && i.classList.add(Ic); 16564 const a = typeof this._config.placement == "function" ? this._config.placement.call(this, i, this._element) : this._config.placement, s = this._getAttachment(a); 16565 this._addAttachmentClass(s); 16566 const { 16567 container: u 16568 } = this._config; 16569 du.set(i, this.constructor.DATA_KEY, this), this._element.ownerDocument.documentElement.contains(this.tip) || (u.append(i), Te.trigger(this._element, this.constructor.Event.INSERTED)), this._popper ? this._popper.update() : this._popper = w0(this._element, i, this._getPopperConfig(s)), i.classList.add(kl); 16570 const l = this._resolvePossibleFunction(this._config.customClass); 16571 l && i.classList.add(...l.split(" ")), "ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach((g) => { 16572 Te.on(g, "mouseover", Gf); 16573 }); 16574 const f = () => { 16575 const g = this._hoverState; 16576 this._hoverState = null, Te.trigger(this._element, this.constructor.Event.SHOWN), g === Qh && this._leave(null, this); 16577 }, h = this.tip.classList.contains(Ic); 16578 this._queueCallback(f, this.tip, h); 16579 } 16580 hide() { 16581 if (!this._popper) 16582 return; 16583 const e = this.getTipElement(), r = () => { 16584 this._isWithActiveTrigger() || (this._hoverState !== Dl && e.remove(), this._cleanTipClass(), this._element.removeAttribute("aria-describedby"), Te.trigger(this._element, this.constructor.Event.HIDDEN), this._disposePopper()); 16585 }; 16586 if (Te.trigger(this._element, this.constructor.Event.HIDE).defaultPrevented) 16587 return; 16588 e.classList.remove(kl), "ontouchstart" in document.documentElement && [].concat(...document.body.children).forEach((o) => Te.off(o, "mouseover", Gf)), this._activeTrigger[xF] = !1, this._activeTrigger[$h] = !1, this._activeTrigger[Pl] = !1; 16589 const i = this.tip.classList.contains(Ic); 16590 this._queueCallback(r, this.tip, i), this._hoverState = ""; 16591 } 16592 update() { 16593 this._popper !== null && this._popper.update(); 16594 } 16595 // Protected 16596 isWithContent() { 16597 return !!this.getTitle(); 16598 } 16599 getTipElement() { 16600 if (this.tip) 16601 return this.tip; 16602 const e = document.createElement("div"); 16603 e.innerHTML = this._config.template; 16604 const r = e.children[0]; 16605 return this.setContent(r), r.classList.remove(Ic, kl), this.tip = r, this.tip; 16606 } 16607 setContent(e) { 16608 this._sanitizeAndSetContent(e, this.getTitle(), Ry); 16609 } 16610 _sanitizeAndSetContent(e, r, n) { 16611 const i = dt.findOne(n, e); 16612 if (!r && i) { 16613 i.remove(); 16614 return; 16615 } 16616 this.setElementContent(i, r); 16617 } 16618 setElementContent(e, r) { 16619 if (e !== null) { 16620 if (qa(r)) { 16621 r = ea(r), this._config.html ? r.parentNode !== e && (e.innerHTML = "", e.append(r)) : e.textContent = r.textContent; 16622 return; 16623 } 16624 this._config.html ? (this._config.sanitize && (r = Py(r, this._config.allowList, this._config.sanitizeFn)), e.innerHTML = r) : e.textContent = r; 16625 } 16626 } 16627 getTitle() { 16628 const e = this._element.getAttribute("data-bs-original-title") || this._config.title; 16629 return this._resolvePossibleFunction(e); 16630 } 16631 updateAttachment(e) { 16632 return e === "right" ? "end" : e === "left" ? "start" : e; 16633 } 16634 // Private 16635 _initializeOnDelegatedTarget(e, r) { 16636 return r || this.constructor.getOrCreateInstance(e.delegateTarget, this._getDelegateConfig()); 16637 } 16638 _getOffset() { 16639 const { 16640 offset: e 16641 } = this._config; 16642 return typeof e == "string" ? e.split(",").map((r) => Number.parseInt(r, 10)) : typeof e == "function" ? (r) => e(r, this._element) : e; 16643 } 16644 _resolvePossibleFunction(e) { 16645 return typeof e == "function" ? e.call(this._element) : e; 16646 } 16647 _getPopperConfig(e) { 16648 const r = { 16649 placement: e, 16650 modifiers: [{ 16651 name: "flip", 16652 options: { 16653 fallbackPlacements: this._config.fallbackPlacements 16654 } 16655 }, { 16656 name: "offset", 16657 options: { 16658 offset: this._getOffset() 16659 } 16660 }, { 16661 name: "preventOverflow", 16662 options: { 16663 boundary: this._config.boundary 16664 } 16665 }, { 16666 name: "arrow", 16667 options: { 16668 element: `.${this.constructor.NAME}-arrow` 16669 } 16670 }, { 16671 name: "onChange", 16672 enabled: !0, 16673 phase: "afterWrite", 16674 fn: (n) => this._handlePopperPlacementChange(n) 16675 }], 16676 onFirstUpdate: (n) => { 16677 n.options.placement !== n.placement && this._handlePopperPlacementChange(n); 16678 } 16679 }; 16680 return { 16681 ...r, 16682 ...typeof this._config.popperConfig == "function" ? this._config.popperConfig(r) : this._config.popperConfig 16683 }; 16684 } 16685 _addAttachmentClass(e) { 16686 this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`); 16687 } 16688 _getAttachment(e) { 16689 return mF[e.toUpperCase()]; 16690 } 16691 _setListeners() { 16692 this._config.trigger.split(" ").forEach((r) => { 16693 if (r === "click") 16694 Te.on(this._element, this.constructor.Event.CLICK, this._config.selector, (n) => this.toggle(n)); 16695 else if (r !== wF) { 16696 const n = r === Pl ? this.constructor.Event.MOUSEENTER : this.constructor.Event.FOCUSIN, i = r === Pl ? this.constructor.Event.MOUSELEAVE : this.constructor.Event.FOCUSOUT; 16697 Te.on(this._element, n, this._config.selector, (o) => this._enter(o)), Te.on(this._element, i, this._config.selector, (o) => this._leave(o)); 16698 } 16699 }), this._hideModalHandler = () => { 16700 this._element && this.hide(); 16701 }, Te.on(this._element.closest(Iy), My, this._hideModalHandler), this._config.selector ? this._config = { 16702 ...this._config, 16703 trigger: "manual", 16704 selector: "" 16705 } : this._fixTitle(); 16706 } 16707 _fixTitle() { 16708 const e = this._element.getAttribute("title"), r = typeof this._element.getAttribute("data-bs-original-title"); 16709 (e || r !== "string") && (this._element.setAttribute("data-bs-original-title", e || ""), e && !this._element.getAttribute("aria-label") && !this._element.textContent && this._element.setAttribute("aria-label", e), this._element.setAttribute("title", "")); 16710 } 16711 _enter(e, r) { 16712 if (r = this._initializeOnDelegatedTarget(e, r), e && (r._activeTrigger[e.type === "focusin" ? $h : Pl] = !0), r.getTipElement().classList.contains(kl) || r._hoverState === Dl) { 16713 r._hoverState = Dl; 16714 return; 16715 } 16716 if (clearTimeout(r._timeout), r._hoverState = Dl, !r._config.delay || !r._config.delay.show) { 16717 r.show(); 16718 return; 16719 } 16720 r._timeout = setTimeout(() => { 16721 r._hoverState === Dl && r.show(); 16722 }, r._config.delay.show); 16723 } 16724 _leave(e, r) { 16725 if (r = this._initializeOnDelegatedTarget(e, r), e && (r._activeTrigger[e.type === "focusout" ? $h : Pl] = r._element.contains(e.relatedTarget)), !r._isWithActiveTrigger()) { 16726 if (clearTimeout(r._timeout), r._hoverState = Qh, !r._config.delay || !r._config.delay.hide) { 16727 r.hide(); 16728 return; 16729 } 16730 r._timeout = setTimeout(() => { 16731 r._hoverState === Qh && r.hide(); 16732 }, r._config.delay.hide); 16733 } 16734 } 16735 _isWithActiveTrigger() { 16736 for (const e in this._activeTrigger) 16737 if (this._activeTrigger[e]) 16738 return !0; 16739 return !1; 16740 } 16741 _getConfig(e) { 16742 const r = Lr.getDataAttributes(this._element); 16743 return Object.keys(r).forEach((n) => { 16744 vF.has(n) && delete r[n]; 16745 }), e = { 16746 ...this.constructor.Default, 16747 ...r, 16748 ...typeof e == "object" && e ? e : {} 16749 }, e.container = e.container === !1 ? document.body : ea(e.container), typeof e.delay == "number" && (e.delay = { 16750 show: e.delay, 16751 hide: e.delay 16752 }), typeof e.title == "number" && (e.title = e.title.toString()), typeof e.content == "number" && (e.content = e.content.toString()), Ji(Fy, e, this.constructor.DefaultType), e.sanitize && (e.template = Py(e.template, e.allowList, e.sanitizeFn)), e; 16753 } 16754 _getDelegateConfig() { 16755 const e = {}; 16756 for (const r in this._config) 16757 this.constructor.Default[r] !== this._config[r] && (e[r] = this._config[r]); 16758 return e; 16759 } 16760 _cleanTipClass() { 16761 const e = this.getTipElement(), r = new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`, "g"), n = e.getAttribute("class").match(r); 16762 n !== null && n.length > 0 && n.map((i) => i.trim()).forEach((i) => e.classList.remove(i)); 16763 } 16764 _getBasicClassPrefix() { 16765 return pF; 16766 } 16767 _handlePopperPlacementChange(e) { 16768 const { 16769 state: r 16770 } = e; 16771 r && (this.tip = r.elements.popper, this._cleanTipClass(), this._addAttachmentClass(this._getAttachment(r.placement))); 16772 } 16773 _disposePopper() { 16774 this._popper && (this._popper.destroy(), this._popper = null); 16775 } 16776 // Static 16777 static jQueryInterface(e) { 16778 return this.each(function() { 16779 const r = al.getOrCreateInstance(this, e); 16780 if (typeof e == "string") { 16781 if (typeof r[e] > "u") 16782 throw new TypeError(`No method named "${e}"`); 16783 r[e](); 16784 } 16785 }); 16786 } 16787} 16788ri(al); 16789const SF = "popover", _F = "bs.popover", Ni = `.${_F}`, TF = "bs-popover", CF = { 16790 ...al.Default, 16791 placement: "right", 16792 offset: [0, 8], 16793 trigger: "click", 16794 content: "", 16795 template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>' 16796}, OF = { 16797 ...al.DefaultType, 16798 content: "(string|element|function)" 16799}, AF = { 16800 HIDE: `hide${Ni}`, 16801 HIDDEN: `hidden${Ni}`, 16802 SHOW: `show${Ni}`, 16803 SHOWN: `shown${Ni}`, 16804 INSERTED: `inserted${Ni}`, 16805 CLICK: `click${Ni}`, 16806 FOCUSIN: `focusin${Ni}`, 16807 FOCUSOUT: `focusout${Ni}`, 16808 MOUSEENTER: `mouseenter${Ni}`, 16809 MOUSELEAVE: `mouseleave${Ni}` 16810}, NF = ".popover-header", kF = ".popover-body"; 16811class nc extends al { 16812 // Getters 16813 static get Default() { 16814 return CF; 16815 } 16816 static get NAME() { 16817 return SF; 16818 } 16819 static get Event() { 16820 return AF; 16821 } 16822 static get DefaultType() { 16823 return OF; 16824 } 16825 // Overrides 16826 isWithContent() { 16827 return this.getTitle() || this._getContent(); 16828 } 16829 setContent(e) { 16830 this._sanitizeAndSetContent(e, this.getTitle(), NF), this._sanitizeAndSetContent(e, this._getContent(), kF); 16831 } 16832 // Private 16833 _getContent() { 16834 return this._resolvePossibleFunction(this._config.content); 16835 } 16836 _getBasicClassPrefix() { 16837 return TF; 16838 } 16839 // Static 16840 static jQueryInterface(e) { 16841 return this.each(function() { 16842 const r = nc.getOrCreateInstance(this, e); 16843 if (typeof e == "string") { 16844 if (typeof r[e] > "u") 16845 throw new TypeError(`No method named "${e}"`); 16846 r[e](); 16847 } 16848 }); 16849 } 16850} 16851ri(nc); 16852const Vy = "scrollspy", DF = "bs.scrollspy", Rd = `.${DF}`, PF = ".data-api", Ly = { 16853 offset: 10, 16854 method: "auto", 16855 target: "" 16856}, FF = { 16857 offset: "number", 16858 method: "string", 16859 target: "(string|element)" 16860}, RF = `activate${Rd}`, IF = `scroll${Rd}`, MF = `load${Rd}${PF}`, fw = "dropdown-item", gs = "active", VF = '[data-bs-spy="scroll"]', LF = ".nav, .list-group", av = ".nav-link", jF = ".nav-item", dw = ".list-group-item", ep = `${av}, ${dw}, .${fw}`, BF = ".dropdown", UF = ".dropdown-toggle", HF = "offset", jy = "position"; 16861class Id extends Si { 16862 constructor(e, r) { 16863 super(e), this._scrollElement = this._element.tagName === "BODY" ? window : this._element, this._config = this._getConfig(r), this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, Te.on(this._scrollElement, IF, () => this._process()), this.refresh(), this._process(); 16864 } 16865 // Getters 16866 static get Default() { 16867 return Ly; 16868 } 16869 static get NAME() { 16870 return Vy; 16871 } 16872 // Public 16873 refresh() { 16874 const e = this._scrollElement === this._scrollElement.window ? HF : jy, r = this._config.method === "auto" ? e : this._config.method, n = r === jy ? this._getScrollTop() : 0; 16875 this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), dt.find(ep, this._config.target).map((o) => { 16876 const a = S0(o), s = a ? dt.findOne(a) : null; 16877 if (s) { 16878 const u = s.getBoundingClientRect(); 16879 if (u.width || u.height) 16880 return [Lr[r](s).top + n, a]; 16881 } 16882 return null; 16883 }).filter((o) => o).sort((o, a) => o[0] - a[0]).forEach((o) => { 16884 this._offsets.push(o[0]), this._targets.push(o[1]); 16885 }); 16886 } 16887 dispose() { 16888 Te.off(this._scrollElement, Rd), super.dispose(); 16889 } 16890 // Private 16891 _getConfig(e) { 16892 return e = { 16893 ...Ly, 16894 ...Lr.getDataAttributes(this._element), 16895 ...typeof e == "object" && e ? e : {} 16896 }, e.target = ea(e.target) || document.documentElement, Ji(Vy, e, FF), e; 16897 } 16898 _getScrollTop() { 16899 return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; 16900 } 16901 _getScrollHeight() { 16902 return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); 16903 } 16904 _getOffsetHeight() { 16905 return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; 16906 } 16907 _process() { 16908 const e = this._getScrollTop() + this._config.offset, r = this._getScrollHeight(), n = this._config.offset + r - this._getOffsetHeight(); 16909 if (this._scrollHeight !== r && this.refresh(), e >= n) { 16910 const i = this._targets[this._targets.length - 1]; 16911 this._activeTarget !== i && this._activate(i); 16912 return; 16913 } 16914 if (this._activeTarget && e < this._offsets[0] && this._offsets[0] > 0) { 16915 this._activeTarget = null, this._clear(); 16916 return; 16917 } 16918 for (let i = this._offsets.length; i--; ) 16919 this._activeTarget !== this._targets[i] && e >= this._offsets[i] && (typeof this._offsets[i + 1] > "u" || e < this._offsets[i + 1]) && this._activate(this._targets[i]); 16920 } 16921 _activate(e) { 16922 this._activeTarget = e, this._clear(); 16923 const r = ep.split(",").map((i) => `${i}[data-bs-target="${e}"],${i}[href="${e}"]`), n = dt.findOne(r.join(","), this._config.target); 16924 n.classList.add(gs), n.classList.contains(fw) ? dt.findOne(UF, n.closest(BF)).classList.add(gs) : dt.parents(n, LF).forEac
16924h((i) => { 16925 dt.prev(i, `${av}, ${dw}`).forEach((o) => o.classList.add(gs)), dt.prev(i, jF).forEach((o) => { 16926 dt.children(o, av).forEach((a) => a.classList.add(gs)); 16927 }); 16928 }), Te.trigger(this._scrollElement, RF, { 16929 relatedTarget: e 16930 }); 16931 } 16932 _clear() { 16933 dt.find(ep, this._config.target).filter((e) => e.classList.contains(gs)).forEach((e) => e.classList.remove(gs)); 16934 } 16935 // Static 16936 static jQueryInterface(e) { 16937 return this.each(function() { 16938 const r = Id.getOrCreateInstance(this, e); 16939 if (typeof e == "string") { 16940 if (typeof r[e] > "u") 16941 throw new TypeError(`No method named "${e}"`); 16942 r[e](); 16943 } 16944 }); 16945 } 16946} 16947Te.on(window, MF, () => { 16948 dt.find(VF).forEach((t) => new Id(t)); 16949}); 16950ri(Id); 16951const zF = "tab", WF = "bs.tab", ic = `.${WF}`, qF = ".data-api", KF = `hide${ic}`, GF = `hidden${ic}`, XF = `show${ic}`, YF = `shown${ic}`, ZF = `click${ic}${qF}`, JF = "dropdown-menu", Fl = "active", By = "fade", Uy = "show", QF = ".dropdown", $F = ".nav, .list-group", Hy = ".active", zy = ":scope > li > .active", e2 = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', t2 = ".dropdown-toggle", r2 = ":scope > .dropdown-menu .active"; 16952class Md extends Si { 16953 // Getters 16954 static get NAME() { 16955 return zF; 16956 } 16957 // Public 16958 show() { 16959 if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && this._element.classList.contains(Fl)) 16960 return; 16961 let e; 16962 const r = $o(this._element), n = this._element.closest($F); 16963 if (n) { 16964 const s = n.nodeName === "UL" || n.nodeName === "OL" ? zy : Hy; 16965 e = dt.find(s, n), e = e[e.length - 1]; 16966 } 16967 const i = e ? Te.trigger(e, KF, { 16968 relatedTarget: this._element 16969 }) : null; 16970 if (Te.trigger(this._element, XF, { 16971 relatedTarget: e 16972 }).defaultPrevented || i !== null && i.defaultPrevented) 16973 return; 16974 this._activate(this._element, n); 16975 const a = () => { 16976 Te.trigger(e, GF, { 16977 relatedTarget: this._element 16978 }), Te.trigger(this._element, YF, { 16979 relatedTarget: e 16980 }); 16981 }; 16982 r ? this._activate(r, r.parentNode, a) : a(); 16983 } 16984 // Private 16985 _activate(e, r, n) { 16986 const o = (r && (r.nodeName === "UL" || r.nodeName === "OL") ? dt.find(zy, r) : dt.children(r, Hy))[0], a = n && o && o.classList.contains(By), s = () => this._transitionComplete(e, o, n); 16987 o && a ? (o.classList.remove(Uy), this._queueCallback(s, e, !0)) : s(); 16988 } 16989 _transitionComplete(e, r, n) { 16990 if (r) { 16991 r.classList.remove(Fl); 16992 const o = dt.findOne(r2, r.parentNode); 16993 o && o.classList.remove(Fl), r.getAttribute("role") === "tab" && r.setAttribute("aria-selected", !1); 16994 } 16995 e.classList.add(Fl), e.getAttribute("role") === "tab" && e.setAttribute("aria-selected", !0), ol(e), e.classList.contains(By) && e.classList.add(Uy); 16996 let i = e.parentNode; 16997 if (i && i.nodeName === "LI" && (i = i.parentNode), i && i.classList.contains(JF)) { 16998 const o = e.closest(QF); 16999 o && dt.find(t2, o).forEach((a) => a.classList.add(Fl)), e.setAttribute("aria-expanded", !0); 17000 } 17001 n && n(); 17002 } 17003 // Static 17004 static jQueryInterface(e) { 17005 return this.each(function() { 17006 const r = Md.getOrCreateInstance(this); 17007 if (typeof e == "string") { 17008 if (typeof r[e] > "u") 17009 throw new TypeError(`No method named "${e}"`); 17010 r[e](); 17011 } 17012 }); 17013 } 17014} 17015Te.on(document, ZF, e2, function(t) { 17016 if (["A", "AREA"].includes(this.tagName) && t.preventDefault(), Va(this)) 17017 return; 17018 Md.getOrCreateInstance(this).show(); 17019}); 17020ri(Md); 17021const Wy = "toast", n2 = "bs.toast", aa = `.${n2}`, i2 = `mouseover${aa}`, o2 = `mouseout${aa}`, a2 = `focusin${aa}`, s2 = `focusout${aa}`, l2 = `hide${aa}`, u2 = `hidden${aa}`, c2 = `show${aa}`, f2 = `shown${aa}`, d2 = "fade", qy = "hide", Rl = "show", Mc = "showing", h2 = { 17022 animation: "boolean", 17023 autohide: "boolean", 17024 delay: "number" 17025}, Ky = { 17026 animation: !0, 17027 autohide: !0, 17028 delay: 5e3 17029}; 17030class Vd extends Si { 17031 constructor(e, r) { 17032 super(e), this._config = this._getConfig(r), this._timeout = null, this._hasMouseInteraction = !1, this._hasKeyboardInteraction = !1, this._setListeners(); 17033 } 17034 // Getters 17035 static get DefaultType() { 17036 return h2; 17037 } 17038 static get Default() { 17039 return Ky; 17040 } 17041 static get NAME() { 17042 return Wy; 17043 } 17044 // Public 17045 show() { 17046 if (Te.trigger(this._element, c2).defaultPrevented) 17047 return; 17048 this._clearTimeout(), this._config.animation && this._element.classList.add(d2); 17049 const r = () => { 17050 this._element.classList.remove(Mc), Te.trigger(this._element, f2), this._maybeScheduleHide(); 17051 }; 17052 this._element.classList.remove(qy), ol(this._element), this._element.classList.add(Rl), this._element.classList.add(Mc), this._queueCallback(r, this._element, this._config.animation); 17053 } 17054 hide() { 17055 if (!this._element.classList.contains(Rl) || Te.trigger(this._element, l2).defaultPrevented) 17056 return; 17057 const r = () => { 17058 this._element.classList.add(qy), this._element.classList.remove(Mc), this._element.classList.remove(Rl), Te.trigger(this._element, u2); 17059 }; 17060 this._element.classList.add(Mc), this._queueCallback(r, this._element, this._config.animation); 17061 } 17062 dispose() { 17063 this._clearTimeout(), this._element.classList.contains(Rl) && this._element.classList.remove(Rl), super.dispose(); 17064 } 17065 // Private 17066 _getConfig(e) { 17067 return e = { 17068 ...Ky, 17069 ...Lr.getDataAttributes(this._element), 17070 ...typeof e == "object" && e ? e : {} 17071 }, Ji(Wy, e, this.constructor.DefaultType), e; 17072 } 17073 _maybeScheduleHide() { 17074 this._config.autohide && (this._hasMouseInteraction || this._hasKeyboardInteraction || (this._timeout = setTimeout(() => { 17075 this.hide(); 17076 }, this._config.delay))); 17077 } 17078 _onInteraction(e, r) { 17079 switch (e.type) { 17080 case "mouseover": 17081 case "mouseout": 17082 this._hasMouseInteraction = r; 17083 break; 17084 case "focusin": 17085 case "focusout": 17086 this._hasKeyboardInteraction = r; 17087 break; 17088 } 17089 if (r) { 17090 this._clearTimeout(); 17091 return; 17092 } 17093 const n = e.relatedTarget; 17094 this._element === n || this._element.contains(n) || this._maybeScheduleHide(); 17095 } 17096 _setListeners() { 17097 Te.on(this._element, i2, (e) => this._onInteraction(e, !0)), Te.on(this._element, o2, (e) => this._onInteraction(e, !1)), Te.on(this._element, a2, (e) => this._onInteraction(e, !0)), Te.on(this._element, s2, (e) => this._onInteraction(e, !1)); 17098 } 17099 _clearTimeout() { 17100 clearTimeout(this._timeout), this._timeout = null; 17101 } 17102 // Static 17103 static jQueryInterface(e) { 17104 return this.each(function() { 17105 const r = Vd.getOrCreateInstance(this, e); 17106 if (typeof e == "string") { 17107 if (typeof r[e] > "u")
17108 throw new TypeError(`No method named "${e}"`); 17109 r[e](this); 17110 } 17111 }); 17112 } 17113} 17114Dd(Vd); 17115ri(Vd); 17116const p2 = ["data-bs-custom-class", "data-bs-content"], Ro = { 17117 __name: "popover", 17118 props: { 17119 container: String, 17120 message: String, 17121 clazz: String 17122 }, 17123 setup(t) { 17124 const e = t, r = /* @__PURE__ */ tr(null); 17125 let n = null; 17126 return Xu(() => { 17127 n && (n.dispose(), n = null), n = new nc(r.value, { html: !0, trigger: "click hover", container: e.container }); 17128 }), Wv(() => { 17129 n && (n.dispose(), n = null); 17130 }), (i, o) => (Qt(), er("span", { 17131 class: wr(t.clazz != null ? "input-group-text " + t.clazz : "input-group-text alert-danger"), 17132 "data-bs-custom-class": t.clazz != null ? t.clazz : "alert-danger", 17133 "data-bs-content": t.message, 17134 ref_key: "pop", 17135 ref: r 17136 }, [...o[0] || (o[0] = [ 17137 he("i", { class: "fa fa-exclamation-circle" }, null, -1) 17138 ])], 10, p2)); 17139 } 17140}; 17141function ts(t) { 17142 this._maxSize = t, this.clear(); 17143} 17144ts.prototype.clear = function() { 17145 this._size = 0, this._values = /* @__PURE__ */ Object.create(null); 17146}; 17147ts.prototype.get = function(t) { 17148 return this._values[t]; 17149}; 17150ts.prototype.set = function(t, e) { 17151 return this._size >= this._maxSize && this.clear(), t in this._values || this._size++, this._values[t] = e; 17152}; 17153var v2 = /[^.^\]^[]+|(?=\[\]|\.\.)/g, hw = /^\d+$/, g2 = /^\d/, m2 = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, y2 = /^\s*(['"]?)(.*?)(\1)\s*$/, T0 = 512, Gy = new ts(T0), Xy = new ts(T0), Yy = new ts(T0), La = { 17154 Cache: ts, 17155 split: sv, 17156 normalizePath: tp, 17157 setter: function(t) { 17158 var e = tp(t); 17159 return Xy.get(t) || Xy.set(t, function(n, i) { 17160 for (var o = 0, a = e.length, s = n; o < a - 1; ) { 17161 var u = e[o]; 17162 if (u === "__proto__" || u === "constructor" || u === "prototype") 17163 return n; 17164 s = s[e[o++]]; 17165 } 17166 s[e[o]] = i; 17167 }); 17168 }, 17169 getter: function(t, e) { 17170 var r = tp(t); 17171 return Yy.get(t) || Yy.set(t, function(i) { 17172 for (var o = 0, a = r.length; o < a; ) 17173 if (i != null || !e) 17174 i = i[r[o++]]; 17175 else 17176 return; 17177 return i; 17178 }); 17179 }, 17180 join: function(t) { 17181 return t.reduce(function(e, r) { 17182 return e + (C0(r) || hw.test(r) ? "[" + r + "]" : (e ? "." : "") + r); 17183 }, ""); 17184 }, 17185 forEach: function(t, e, r) { 17186 b2(Array.isArray(t) ? t : sv(t), e, r); 17187 } 17188}; 17189function tp(t) { 17190 return Gy.get(t) || Gy.set( 17191 t, 17192 sv(t).map(function(e) { 17193 return e.replace(y2, "$2"); 17194 }) 17195 ); 17196} 17197function sv(t) { 17198 return t.match(v2) || [""]; 17199} 17200function b2(t, e, r) { 17201 var n = t.length, i, o, a, s; 17202 for (o = 0; o < n; o++) 17203 i = t[o], i && (w2(i) && (i = '"' + i + '"'), s = C0(i), a = !s && /^\d+$/.test(i), e.call(r, i, s, a, o, t)); 17204} 17205function C0(t) { 17206 return typeof t == "string" && t && ["'", '"'].indexOf(t.charAt(0)) !== -1; 17207} 17208function E2(t) { 17209 return t.match(g2) && !t.match(hw); 17210} 17211function x2(t) { 17212 return m2.test(t); 17213} 17214function w2(t) { 17215 return !C0(t) && (E2(t) || x2(t)); 17216} 17217const S2 = /[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g, Ld = (t) => t.match(S2) || [], jd = (t) => t[0].toUpperCase() + t.slice(1), O0 = (t, e) => Ld(t).join(e).toLowerCase(), pw = (t) => Ld(t).reduce( 17218 (e, r) => `${e}${e ? r[0].toUpperCase() + r.slice(1).toLowerCase() : r.toLowerCase()}`, 17219 "" 17220), _2 = (t) => jd(pw(t)), T2 = (t) => O0(t, "_"), C2 = (t) => O0(t, "-"), O2 = (t) => jd(O0(t, " ")), A2 = (t) => Ld(t).map(jd).join(" "); 17221var rp = { 17222 words: Ld, 17223 upperFirst: jd, 17224 camelCase: pw, 17225 pascalCase: _2, 17226 snakeCase: T2, 17227 kebabCase: C2, 17228 sentenceCase: O2, 17229 titleCase: A2 17230}, A0 = { exports: {} }; 17231A0.exports = function(t) { 17232 return vw(N2(t), t); 17233}; 17234A0.exports.array = vw; 17235function vw(t, e) { 17236 var r = t.length, n = new Array(r), i = {}, o = r, a = k2(e), s = D2(t); 17237 for (e.forEach(function(l) { 17238 if (!s.has(l[0]) || !s.has(l[1])) 17239 throw new Error("Unknown node. There is an unknown node in the supplied edges."); 17240 }); o--; )
17241 i[o] || u(t[o], o, /* @__PURE__ */ new Set()); 17242 return n; 17243 function u(l, f, h) { 17244 if (h.has(l)) { 17245 var g; 17246 try { 17247 g = ", node was:" + JSON.stringify(l); 17248 } catch { 17249 g = ""; 17250 } 17251 throw new Error("Cyclic dependency" + g); 17252 } 17253 if (!s.has(l)) 17254 throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(l)); 17255 if (!i[f]) { 17256 i[f] = !0; 17257 var d = a.get(l) || /* @__PURE__ */ new Set(); 17258 if (d = Array.from(d), f = d.length) { 17259 h.add(l); 17260 do { 17261 var m = d[--f]; 17262 u(m, s.get(m), h); 17263 } while (f); 17264 h.delete(l); 17265 } 17266 n[--r] = l; 17267 } 17268 } 17269} 17270function N2(t) { 17271 for (var e = /* @__PURE__ */ new Set(), r = 0, n = t.length; r < n; r++) { 17272 var i = t[r]; 17273 e.add(i[0]), e.add(i[1]); 17274 } 17275 return Array.from(e); 17276} 17277function k2(t) { 17278 for (var e = /* @__PURE__ */ new Map(), r = 0, n = t.length; r < n; r++) { 17279 var i = t[r]; 17280 e.has(i[0]) || e.set(i[0], /* @__PURE__ */ new Set()), e.has(i[1]) || e.set(i[1], /* @__P
17280URE__ */ new Set()), e.get(i[0]).add(i[1]); 17281 } 17282 return e; 17283} 17284function D2(t) { 17285 for (var e = /* @__PURE__ */ new Map(), r = 0, n = t.length; r < n; r++) 17286 e.set(t[r], r); 17287 return e; 17288} 17289var P2 = A0.exports; 17290const F2 = /* @__PURE__ */ Qa(P2), R2 = Object.prototype.toString, I2 = Error.prototype.toString, M2 = RegExp.prototype.toString, V2 = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", L2 = /^Symbol\((.*)\)(.*)$/; 17291function j2(t) { 17292 return t != +t ? "NaN" : t === 0 && 1 / t < 0 ? "-0" : "" + t; 17293} 17294function Zy(t, e = !1) { 17295 if (t == null || t === !0 || t === !1) 17296 return "" + t; 17297 const r = typeof t; 17298 if (r === "number") 17299 return j2(t); 17300 if (r === "string") 17301 return e ? `"${t}"` : t; 17302 if (r === "function") 17303 return "[Function " + (t.name || "anonymous") + "]"; 17304 if (r === "symbol") 17305 return V2.call(t).replace(L2, "Symbol($1)"); 17306 const n = R2.call(t).slice(8, -1); 17307 return n === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : n === "Error" || t instanceof Error ? "[" + I2.call(t) + "]" : n === "RegExp" ? M2.call(t) : null; 17308} 17309function js(t, e) { 17310 let r = Zy(t, e); 17311 return r !== null ? r : JSON.stringify(t, function(n, i) { 17312 let o = Zy(this[n], e); 17313 return o !== null ? o : i; 17314 }, 2); 17315} 17316function gw(t) { 17317 return t == null ? [] : [].concat(t); 17318} 17319let B2 = /\$\{\s*(\w+)\s*\}/g; 17320class xn extends Error { 17321 static formatError(e, r) { 17322 const n = r.label || r.path || "this"; 17323 return n !== r.path && (r = Object.assign({}, r, { 17324 path: n 17325 })), typeof e == "string" ? e.replace(B2, (i, o) => js(r[o])) : typeof e == "function" ? e(r) : e; 17326 } 17327 static isError(e) { 17328 return e && e.name === "ValidationError"; 17329 } 17330 constructor(e, r, n, i) { 17331 super(), this.value = void 0, this.path = void 0, this.type = void 0, this.errors = void 0, this.params = void 0, this.inner = void 0, this.name = "ValidationError", this.value = r, this.path = n, this.type = i, this.errors = [], this.inner = [], gw(e).forEach((o) => { 17332 xn.isError(o) ? (this.errors.push(...o.errors), this.inner = this.inner.concat(o.inner.length ? o.inner : o)) : this.errors.push(o); 17333 }), this.message = this.errors.length > 1 ? `${this.errors.length} errors occurred` : this.errors[0], Error.captureStackTrace && Error.captureStackTrace(this, xn); 17334 } 17335} 17336let lo = { 17337 default: "${path} is invalid", 17338 required: "${path} is a required field", 17339 defined: "${path} must be defined", 17340 notNull: "${path} cannot be null", 17341 oneOf: "${path} must be one of the following values: ${values}", 17342 notOneOf: "${path} must not be one of the following values: ${values}", 17343 notType: ({ 17344 path: t, 17345 type: e, 17346 value: r, 17347 originalValue: n 17348 }) => { 17349 const i = n != null && n !== r ? ` (cast from the value \`${js(n, !0)}\`).` : "."; 17350 return e !== "mixed" ? `${t} must be a \`${e}\` type, but the final value was: \`${js(r, !0)}\`` + i : `${t} must match the configured type. The validated value was: \`${js(r, !0)}\`` + i; 17351 } 17352}, li = { 17353 length: "${path} must be exactly ${length} characters", 17354 min: "${path} must be at least ${min} characters", 17355 max: "${path} must be at most ${max} characters", 17356 matches: '${path} must match the following: "${regex}"', 17357 email: "${path} must be a valid email", 17358 url: "${path} must be a valid URL", 17359 uuid: "${path} must be a valid UUID", 17360 trim: "${path} must be a trimmed string", 17361 lowercase: "${path} must be a lowercase string", 17362 uppercase: "${path} must be a upper case string" 17363}, Vo = { 17364 min: "${path} must be greater than or equal to ${min}", 17365 max: "${path} must be less than or equal to ${max}", 17366 lessThan: "${path} must be less than ${less}", 17367 moreThan: "${path} must be greater than ${more}", 17368 positive: "${path} must be a positive number", 17369 negative: "${path} must be a negative number", 17370 integer: "${path} must be an integer" 17371}, lv = { 17372 min: "${path} field must be later than ${min}", 17373 max: "${path} field must be at earlier than ${max}" 17374}, U2 = { 17375 isValue: "${path} field must be ${value}" 17376}, uv = { 17377 noUnknown: "${path} field has unspecified keys: ${unknown}" 17378}, H2 = { 17379 min: "${path} field must have at least ${min} items", 17380 max: "${path} field must have less than or equal to ${max} items", 17381 length: "${path} must have ${length} items" 17382}; 17383Object.assign(/* @__PURE__ */ Object.create(null), { 17384 mixed: lo, 17385 string: li, 17386 number: Vo, 17387 date: lv, 17388 object: uv, 17389 array: H2, 17390 boolean: U2 17391}); 17392const N0 = (t) => t && t.__isYupSchema__; 17393class Yf { 17394 static fromOptions(e, r) { 17395 if (!r.then && !r.otherwise) 17396 throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions"); 17397 let { 17398 is: n, 17399 then: i, 17400 otherwise: o 17401 } = r, a = typeof n == "function" ? n : (...s) => s.every((u) => u === n); 17402 return new Yf(e, (s, u) => { 17403 var l; 17404 let f = a(...s) ? i : o; 17405 return (l = f?.(u)) != null ? l : u; 17406 }); 17407 } 17408 constructor(e, r) { 17409 this.fn = void 0, this.refs = e, this.refs = e, this.fn = r; 17410 } 17411 resolve(e, r) { 17412 let n = this.refs.map((o) => ( 17413 // TODO: ? operator here? 17414 o.getValue(r?.value, r?.parent, r?.context) 17415 )), i = this.fn(n, e, r); 17416 if (i === void 0 || // @ts-ignore this can be base 17417 i === e) 17418 return e; 17419 if (!N0(i)) 17420 throw new TypeError("conditions must return a schema object"); 17421 return i.resolve(r); 17422 } 17423} 17424const Vc = { 17425 context: "$", 17426 value: "." 17427}; 17428class rs { 17429 constructor(e, r = {}) { 17430 if (this.key = void 0, this.isContext = void 0, this.isValue = void 0, this.isSibling = void 0, this.path = void 0, this.getter = void 0, this.map = void 0, typeof e != "string") 17431 throw new TypeError("ref must be a string, got: " + e); 17432 if (this.key = e.trim(), e === "") 17433 throw new TypeError("ref must be a non-empty string"); 17434 this.isContext = this.key[0] === Vc.context, this.isValue = this.key[0] === Vc.value, this.isSibling = !this.isContext && !this.isValue; 17435 let n = this.isContext ? Vc.context : this.isValue ? Vc.value : ""; 17436 this.path = this.key.slice(n.length), this.getter = this.path && La.getter(this.path, !0), this.map = r.map; 17437 } 17438 getValue(e, r, n) { 17439 let i = this.isContext ? n : this.isValue ? e : r; 17440 return this.getter && (i = this.getter(i || {})), this.map && (i = this.map(i)), i; 17441 } 17442 /** 17443 * 17444 * @param {*} value 17445 * @param {Object} options 17446 * @param {Object=} options.context 17447 * @param {Object=} options.parent 17448 */ 17449 cast(e, r) { 17450 return this.getValue(e, r?.parent, r?.context); 17451 } 17452 resolve() { 17453 return this; 17454 } 17455 describe() { 17456 return { 17457 type: "ref", 17458 key: this.key 17459 }; 17460 } 17461 toString() { 17462 return `Ref(${this.key})`; 17463 } 17464 static isRef(e) { 17465 return e && e.__isYupRef; 17466 } 17467} 17468rs.prototype.__isYupRef = !0; 17469const yo = (t) => t == null; 17470function ms(t) { 17471 function e({ 17472 value: r, 17473 path: n = "", 17474 options: i, 17475 originalValue: o, 17476 schema: a 17477 }, s, u) { 17478 const { 17479 name: l, 17480 test: f, 17481 params: h, 17482 message: g, 17483 skipAbsent: d 17484 } = t; 17485 let { 17486 parent: m, 17487 context: b, 17488 abortEarly: S = a.spec.abortEarly 17489 } = i; 17490 function w(M) { 17491 return rs.isRef(M) ? M.getValue(r, m, b) : M; 17492 } 17493 function D(M = {}) { 17494 const U = Object.assign({ 17495 value: r, 17496 originalValue: o, 17497 label: a.spec.label, 17498 path: M.path || n, 17499 spec: a.spec 17500 }, h, M.params); 17501 for (const Q of Object.keys(U)) 17502 U[Q] = w(U[Q]); 17503 const re = new xn(xn.formatError(M.message || g, U), r, U.path, M.type || l); 17504 return re.params = U, re; 17505 } 17506 const T = S ? s : u; 17507 let _ = { 17508 path: n, 17509 parent: m, 17510 type: l, 17511 from: i.from, 17512 createError: D, 17513 resolve: w, 17514 options: i, 17515 originalValue: o, 17516 schema: a 17517 }; 17518 const x = (M) => { 17519 xn.isError(M) ? T(M) : M ? u(null) : T(D()); 17520 }, p = (M) => { 17521 xn.isError(M) ? T(M) : s(M); 17522 }, N = d && yo(r); 17523 if (!i.sync) {
17524 try { 17525 Promise.resolve(N ? !0 : f.call(_, r, _)).then(x, p); 17526 } catch (M) { 17527 p(M); 17528 } 17529 return; 17530 } 17531 let V; 17532 try { 17533 var P; 17534 if (V = N ? !0 : f.call(_, r, _), typeof ((P = V) == null ? void 0 : P.then) == "function") 17535 throw new Error(`Validation test of type: "${_.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`); 17536 } catch (M) { 17537 p(M); 17538 return; 17539 } 17540 x(V); 17541 } 17542 return e.OPTIONS = t, e; 17543} 17544function z2(t, e, r, n = r) { 17545 let i, o, a; 17546 return e ? (La.forEach(e, (s, u, l) => { 17547 let f = u ? s.slice(1, s.length - 1) : s; 17548 t = t.resolve({ 17549 context: n, 17550 parent: i, 17551 value: r 17552 }); 17553 let h = t.type === "tuple", g = l ? parseInt(f, 10) : 0; 17554 if (t.innerType || h) { 17555 if (h && !l) 17556 throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`); 17557 if (r && g >= r.length) 17558 throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${e}. because there is no value at that index. `); 17559 i = r, r = r && r[g], t = h ? t.spec.types[g] : t.innerType; 17560 } 17561 if (!l) { 17562 if (!t.fields || !t.fields[f]) 17563 throw new Error(`The schema does not contain the path: ${e}. (failed at: ${a} which is a type: "${t.type}")`); 17564 i = r, r = r && r[f], t = t.fields[f]; 17565 } 17566 o = f, a = u ? "[" + s + "]" : "." + s; 17567 }), { 17568 schema: t, 17569 parent: i, 17570 parentPath: o 17571 }) : { 17572 parent: i, 17573 parentPath: e, 17574 schema: t 17575 }; 17576} 17577class Zf extends Set { 17578 describe() { 17579 const e = []; 17580 for (const r of this.values()) 17581 e.push(rs.isRef(r) ? r.describe() : r); 17582 return e; 17583 } 17584 resolveAll(e) { 17585 let r = []; 17586 for (const n of this.values()) 17587 r.push(e(n)); 17588 return r; 17589 } 17590 clone() { 17591 return new Zf(this.values()); 17592 } 17593 merge(e, r) { 17594 const n = this.clone(); 17595 return e.forEach((i) => n.add(i)), r.forEach((i) => n.delete(i)), n; 17596 } 17597} 17598function Ds(t, e = /* @__PURE__ */ new Map()) { 17599 if (N0(t) || !t || typeof t != "object") 17600 return t; 17601 if (e.has(t)) 17602 return e.get(t); 17603 let r; 17604 if (t instanceof Date) 17605 r = new Date(t.getTime()), e.set(t, r); 17606 else if (t instanceof RegExp) 17607 r = new RegExp(t), e.set(t, r); 17608 else if (Array.isArray(t)) { 17609 r = new Array(t.length), e.set(t, r); 17610 for (let n = 0; n < t.length; n++) 17611 r[n] = Ds(t[n], e); 17612 } else if (t instanceof Map) { 17613 r = /* @__PURE__ */ new Map(), e.set(t, r); 17614 for (const [n, i] of t.entries()) 17615 r.set(n, Ds(i, e)); 17616 } else if (t instanceof Set) { 17617 r = /* @__PURE__ */ new Set(), e.set(t, r); 17618 for (const n of t) 17619 r.add(Ds(n, e)); 17620 } else if (t instanceof Object) { 17621 r = {}, e.set(t, r); 17622 for (const [n, i] of Object.entries(t)) 17623 r[n] = Ds(i, e); 17624 } else 17625 throw Error(`Unable to clone ${t}`); 17626 return r; 17627} 17628class wi { 17629 constructor(e) { 17630 this.type = void 0, this.deps = [], this.tests = void 0, this.transforms = void 0, this.conditions = [], this._mutate = void 0, this.internalTests = {}, this._whitelist = new Zf(), this._blacklist = new Zf(), this.exclusiveTests = /* @__PURE__ */ Object.create(null), this._typeCheck = void 0, this.spec = void 0, this.tests = [], this.transforms = [], this.withMutation(() => { 17631 this.typeError(lo.notType); 17632 }), this.type = e.type, this._typeCheck = e.check, this.spec = Object.assign({ 17633 strip: !1, 17634 strict: !1, 17635 abortEarly: !0, 17636 recursive: !0, 17637 nullable: !1, 17638 optional: !0, 17639 coerce: !0 17640 }, e?.spec), this.withMutation((r) => { 17641 r.nonNullable(); 17642 }); 17643 } 17644 // TODO: remove 17645 get _type() { 17646 return this.type; 17647 } 17648 clone(e) { 17649 if (this._mutate) 17650 return e && Object.assign(this.spec, e), this; 17651 const r = Object.create(Object.getPrototypeOf(this)); 17652 return r.type = this.type, r._typeCheck = this._typeCheck, r._whitelist = this._whitelist.clone(), r._blackl
17652ist = this._blacklist.clone(), r.internalTests = Object.assign({}, this.internalTests), r.exclusiveTests = Object.assign({}, this.exclusiveTests), r.deps = [...this.deps], r.conditions = [...this.conditions], r.tests = [...this.tests], r.transforms = [...this.transforms], r.spec = Ds(Object.assign({}, this.spec, e)), r; 17653 } 17654 label(e) { 17655 let r = this.clone(); 17656 return r.spec.label = e, r; 17657 } 17658 meta(...e) { 17659 if (e.length === 0) 17660 return this.spec.meta; 17661 let r = this.clone(); 17662 return r.spec.meta = Object.assign(r.spec.meta || {}, e[0]), r; 17663 } 17664 withMutation(e) { 17665 let r = this._mutate; 17666 this._mutate = !0; 17667 let n = e(this); 17668 return this._mutate = r, n; 17669 } 17670 concat(e) { 17671 if (!e || e === this) 17672 return this; 17673 if (e.type !== this.type && this.type !== "mixed") 17674 throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`); 17675 let r = this, n = e.clone(); 17676 const i = Object.assign({}, r.spec, n.spec); 17677 return n.spec = i, n.internalTests = Object.assign({}, r.internalTests, n.internalTests), n._whitelist = r._whitelist.merge(e._whitelist, e._blacklist), n._blacklist = r._blacklist.merge(e._blacklist, e._whitelist), n.tests = r.tests, n.exclusiveTests = r.exclusiveTests, n.withMutation((o) => { 17678 e.tests.forEach((a) => { 17679 o.test(a.OPTIONS); 17680 }); 17681 }), n.transforms = [...r.transforms, ...n.transforms], n; 17682 } 17683 isType(e) { 17684 return e == null ? !!(this.spec.nullable && e === null || this.spec.optional && e === void 0) : this._typeCheck(e); 17685 } 17686 resolve(e) { 17687 let r = this; 17688 if (r.conditions.length) { 17689 let n = r.conditions; 17690 r = r.clone(), r.conditions = [], r = n.reduce((i, o) => o.resolve(i, e), r), r = r.resolve(e); 17691 } 17692 return r; 17693 } 17694 resolveOptions(e) { 17695 var r, n, i; 17696 return Object.assign({}, e, { 17697 from: e.from || [], 17698 strict: (r = e.strict) != null ? r : this.spec.strict, 17699 abortEarly: (n = e.abortEarly) != null ? n : this.spec.abortEarly, 17700 recursive: (i = e.recursive) != null ? i : this.spec.recursive 17701 }); 17702 } 17703 /** 17704 * Run the configured transform pipeline over an input value. 17705 */ 17706 cast(e, r = {}) { 17707 let n = this.resolve(Object.assign({ 17708 value: e 17709 }, r)), i = r.assert === "ignore-optionality", o = n._cast(e, r); 17710 if (r.assert !== !1 && !n.isType(o)) { 17711 if (i && yo(o)) 17712 return o; 17713 let a = js(e), s = js(o); 17714 throw new TypeError(`The value of ${r.path || "field"} could not be cast to a value that satisfies the schema type: "${n.type}". 17715 17716attempted value: ${a} 17717` + (s !== a ? `result of cast: ${s}` : "")); 17718 } 17719 return o; 17720 } 17721 _cast(e, r) { 17722 let n = e === void 0 ? e : this.transforms.reduce((i, o) => o.call(this, i, e, this), e); 17723 return n === void 0 && (n = this.getDefault(r)), n; 17724 } 17725 _validate(e, r = {}, n, i) { 17726 let { 17727 path: o, 17728 originalValue: a = e, 17729 strict: s = this.spec.strict 17730 } = r, u = e; 17731 s || (u = this._cast(u, Object.assign({ 17732 assert: !1 17733 }, r))); 17734 let l = []; 17735 for (let f of Object.values(this.internalTests)) 17736 f && l.push(f); 17737 this.runTests({ 17738 path: o, 17739 value: u, 17740 originalValue: a, 17741 options: r, 17742 tests: l 17743 }, n, (f) => { 17744 if (f.length) 17745 return i(f, u); 17746 this.runTests({ 17747 path: o, 17748 value: u, 17749 originalValue: a, 17750 options: r, 17751 tests: this.tests 17752 }, n, i); 17753 }); 17754 } 17755 /** 17756 * Executes a set of validations, either schema, produced Tests or a nested 17757 * schema validate result. 17758 */ 17759 runTests(e, r, n) { 17760 let i = !1, { 17761 tests: o, 17762 value: a, 17763 originalValue: s, 17764 path: u, 17765 options: l 17766 } = e, f = (b) => { 17767 i || (i = !0, r(b, a)); 17768 }, h = (b) => { 17769 i || (i = !0, n(b, a)); 17770 }, g = o.length, d = []; 17771 if (!g) 17772 return h([]); 17773 let m = { 17774 value: a, 17775 originalValue: s, 17776 path: u, 17777 options: l, 17778 schema: this 17779 }; 17780 for (let b = 0; b < o.length; b++) { 17781 const S = o[b]; 17782 S(m, f, function(D) { 17783 D && (d = d.concat(D)), --g <= 0 && h(d); 17784 }); 17785 } 17786 } 17787 asNestedTest({ 17788 key: e, 17789 index: r, 17790 parent: n, 17791 parentPath: i, 17792 originalParent: o, 17793 options: a 17794 }) { 17795 const s = e ?? r; 17796 if (s == null)
17797 throw TypeError("Must include `key` or `index` for nested validations"); 17798 const u = typeof s == "number"; 17799 let l = n[s]; 17800 const f = Object.assign({}, a, { 17801 // Nested validations fields are always strict: 17802 // 1. parent isn't strict so the casting will also have cast inner values 17803 // 2. parent is strict in which case the nested values weren't cast either 17804 strict: !0, 17805 parent: n, 17806 value: l, 17807 originalValue: o[s], 17808 // FIXME: tests depend on `index` being passed around deeply, 17809 // we should not let the options.key/index bleed through 17810 key: void 0, 17811 // index: undefined, 17812 [u ? "index" : "key"]: s, 17813 path: u || s.includes(".") ? `${i || ""}[${l ? s : `"${s}"`}]` : (i ? `${i}.` : "") + e 17814 }); 17815 return (h, g, d) => this.resolve(f)._validate(l, f, g, d); 17816 } 17817 validate(e, r) { 17818 let n = this.resolve(Object.assign({}, r, { 17819 value: e 17820 })); 17821 return new Promise((i, o) => n._validate(e, r, (a, s) => { 17822 xn.isError(a) && (a.value = s), o(a); 17823 }, (a, s) => { 17824 a.length ? o(new xn(a, s)) : i(s); 17825 })); 17826 } 17827 validateSync(e, r) { 17828 let n = this.resolve(Object.assign({}, r, { 17829 value: e 17830 })), i; 17831 return n._validate(e, Object.assign({}, r, { 17832 sync: !0 17833 }), (o, a) => { 17834 throw xn.isError(o) && (o.value = a), o; 17835 }, (o, a) => { 17836 if (o.length) 17837 throw new xn(o, e); 17838 i = a; 17839 }), i; 17840 } 17841 isValid(e, r) { 17842 return this.validate(e, r).then(() => !0, (n) => { 17843 if (xn.isError(n)) 17844 return !1; 17845 throw n; 17846 }); 17847 } 17848 isValidSync(e, r) { 17849 try { 17850 return this.validateSync(e, r), !0; 17851 } catch (n) { 17852 if (xn.isError(n)) 17853 return !1; 17854 throw n; 17855 } 17856 } 17857 _getDefault(e) { 17858 let r = this.spec.default; 17859 return r == null ? r : typeof r == "function" ? r.call(this) : Ds(r); 17860 } 17861 getDefault(e) { 17862 return this.resolve(e || {})._getDefault(e); 17863 } 17864 default(e) { 17865 return arguments.length === 0 ? this._getDefault() : this.clone({ 17866 default: e 17867 }); 17868 } 17869 strict(e = !0) { 17870 return this.clone({ 17871 strict: e 17872 }); 17873 } 17874 nullability(e, r) { 17875 const n = this.clone({ 17876 nullable: e 17877 }); 17878 return n.internalTests.nullable = ms({ 17879 message: r, 17880 name: "nullable", 17881 test(i) { 17882 return i === null ? this.schema.spec.nullable : !0; 17883 } 17884 }), n; 17885 } 17886 optionality(e, r) { 17887 const n = this.clone({ 17888 optional: e 17889 }); 17890 return n.internalTests.optionality = ms({ 17891 message: r, 17892 name: "optionality", 17893 test(i) { 17894 return i === void 0 ? this.schema.spec.optional : !0; 17895 } 17896 }), n; 17897 } 17898 optional() { 17899 return this.optionality(!0); 17900 } 17901 defined(e = lo.defined) { 17902 return this.optionality(!1, e); 17903 } 17904 nullable() { 17905 return this.nullability(!0); 17906 } 17907 nonNullable(e = lo.notNull) { 17908 return this.nullability(!1, e); 17909 } 17910 required(e = lo.required) { 17911 return this.clone().withMutation((r) => r.nonNullable(e).defined(e)); 17912 } 17913 notRequired() { 17914 return this.clone().withMutation((e) => e.nullable().optional()); 17915 } 17916 transform(e) { 17917 let r = this.clone(); 17918 return r.transforms.push(e), r; 17919 } 17920 /** 17921 * Adds a test function to the schema's queue of tests. 17922 * tests can be exclusive or non-exclusive. 17923 * 17924 * - exclusive tests, will replace any existing tests of the same name. 17925 * - non-exclusive: can be stacked 17926 * 17927 * If a non-exclusive test is added to a schema with an exclusive test of the same name 17928 * the exclusive test is removed and further tests of the same name will be stacked. 17929 * 17930 * If an exclusive test is added to a schema with non-exclusive tests of the same name 17931 * the previous tests are removed and further tests of the same name will replace each other. 17932 */ 17933 test(...e) { 17934 let r; 17935 if (e.length === 1 ? typeof e[0] == "function" ? r = { 17936 test: e[0] 17937 } : r = e[0] : e.length === 2 ? r = { 17938 name: e[0], 17939 test: e[1] 17940 } : r = { 17941 name: e[0], 17942 message: e[1], 17943 test: e[2] 17944 }, r.message === void 0 && (r.message = lo.default), typeof r.test != "function") 17945 throw new TypeError("`test` is a required parameters"); 17946 let n = this.clone(), i = ms(r), o = r.exclusive || r.name && n.exclusiveTests[r.name] === !0; 17947 if (r.exclusive && !r.name) 17948 throw new TypeError("Exclusive tests must provide a unique `name` identifying the test"); 17949 return r.name && (n.exclusiveTests[r.name] = !!r.exclusive), n.tests = n.tests.filter((a) => !(a.OPTIONS.name === r.name && (o || a.OPTIONS.test === i.OPTIONS.test))), n.tests.push(i), n; 17950 } 17951 when(e, r) { 17952 !Array.isArray(e) && typeof e != "string" && (r = e, e = "."); 17953 let n = this.clone(), i = gw(e).map((o) => new rs(o));
17954 return i.forEach((o) => { 17955 o.isSibling && n.deps.push(o.key); 17956 }), n.conditions.push(typeof r == "function" ? new Yf(i, r) : Yf.fromOptions(i, r)), n; 17957 } 17958 typeError(e) { 17959 let r = this.clone(); 17960 return r.internalTests.typeError = ms({ 17961 message: e, 17962 name: "typeError", 17963 skipAbsent: !0, 17964 test(n) { 17965 return this.schema._typeCheck(n) ? !0 : this.createError({ 17966 params: { 17967 type: this.schema.type 17968 } 17969 }); 17970 } 17971 }), r; 17972 } 17973 oneOf(e, r = lo.oneOf) { 17974 let n = this.clone(); 17975 return e.forEach((i) => { 17976 n._whitelist.add(i), n._blacklist.delete(i); 17977 }), n.internalTests.whiteList = ms({ 17978 message: r, 17979 name: "oneOf", 17980 skipAbsent: !0, 17981 test(i) { 17982 let o = this.schema._whitelist, a = o.resolveAll(this.resolve); 17983 return a.includes(i) ? !0 : this.createError({ 17984 params: { 17985 values: Array.from(o).join(", "), 17986 resolved: a 17987 } 17988 }); 17989 } 17990 }), n; 17991 } 17992 notOneOf(e, r = lo.notOneOf) { 17993 let n = this.clone(); 17994 return e.forEach((i) => { 17995 n._blacklist.add(i), n._whitelist.delete(i); 17996 }), n.internalTests.blacklist = ms({ 17997 message: r, 17998 name: "notOneOf", 17999 test(i) { 18000 let o = this.schema._blacklist, a = o.resolveAll(this.resolve); 18001 return a.includes(i) ? this.createError({ 18002 params: { 18003 values: Array.from(o).join(", "), 18004 resolved: a 18005 } 18006 }) : !0; 18007 } 18008 }), n; 18009 } 18010 strip(e = !0) { 18011 let r = this.clone(); 18012 return r.spec.strip = e, r; 18013 } 18014 /** 18015 * Return a serialized description of the schema including validations, flags, types etc. 18016 * 18017 * @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc). 18018 */ 18019 describe(e) { 18020 const r = (e ? this.resolve(e) : this).clone(), { 18021 label: n, 18022 meta: i, 18023 optional: o, 18024 nullable: a 18025 } = r.spec; 18026 return { 18027 meta: i, 18028 label: n, 18029 optional: o, 18030 nullable: a, 18031 default: r.getDefault(e), 18032 type: r.type, 18033 oneOf: r._whitelist.describe(), 18034 notOneOf: r._blacklist.describe(), 18035 tests: r.tests.map((u) => ({ 18036 name: u.OPTIONS.name, 18037 params: u.OPTIONS.params 18038 })).filter((u, l, f) => f.findIndex((h) => h.name === u.name) === l) 18039 }; 18040 } 18041} 18042wi.prototype.__isYupSchema__ = !0; 18043for (const t of ["validate", "validateSync"]) 18044 wi.prototype[`${t}At`] = function(e, r, n = {}) { 18045 const { 18046 parent: i, 18047 parentPath: o, 18048 schema: a 18049 } = z2(this, e, r, n.context); 18050 return a[t](i && i[o], Object.assign({}, n, { 18051 parent: i, 18052 path: e 18053 })); 18054 }; 18055for (const t of ["equals", "is"]) 18056 wi.prototype[t] = wi.prototype.oneOf; 18057for (const t of ["not", "nope"]) 18058 wi.prototype[t] = wi.prototype.notOneOf; 18059let W2 = ( 18060 // eslint-disable-next-line 18061 /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/ 18062), q2 = ( 18063 // eslint-disable-next-line 18064 /^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i 18065), K2 = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i, G2 = (t) => yo(t) || t === t.trim(), X2 = {}.toString(); 18066function pf() { 18067 return new mw(); 18068} 18069class mw extends wi { 18070 constructor() { 18071 super({ 18072 type: "string", 18073 check(e) { 18074 return e instanceof String && (e = e.valueOf()), typeof e == "string"; 18075 } 18076 }), this.withMutation(() => { 18077 this.transform((e, r, n) => { 18078 if (!n.spec.coerce || n.isType(e) || Array.isArray(e)) 18079 return e; 18080 const i = e != null && e.toString ? e.toString() : e; 18081 return i === X2 ? e : i; 18082 }); 18083 }); 18084 } 18085 required(e) { 18086 return super.required(e).withMutation((r) => r.test({ 18087 message: e || lo.required, 18088 name: "required", 18089 skipAbsent: !0, 18090 test: (n) => !!n.length 18091 })); 18092 } 18093 notRequired() { 18094 return super.notRequired().withMutation((e) => (e.tests = e.tests.filter((r) => r.OPTIONS.name !== "required"), e)); 18095 } 18096 length(e, r = li.length) { 18097 return this.test({ 18098 message: r, 18099 name: "length", 18100 exclusive: !0, 18101 params: { 18102 length: e 18103 }, 18104 skipAbsent: !0, 18105 test(n) { 18106 return n.length === this.resolve(e); 18107 } 18108 }); 18109 } 18110 min(e, r = li.min) { 18111 return this.test({ 18112 message: r, 18113 name: "min", 18114 exclusive: !0, 18115 params: { 18116 min: e 18117 }, 18118 skipAbsent: !0, 18119 test(n) { 18120 return n.length >= this.resolve(e); 18121 } 18122 }); 18123 } 18124 max(e, r = li.max) { 18125 return this.test({ 18126 name: "max", 18127 exclusive: !0, 18128 message: r, 18129 params: { 18130 max: e 18131 }, 18132 skipAbsent: !0, 18133 test(n) { 18134 return n.length <= this.resolve(e); 18135 } 18136 }); 18137 } 18138 matches(e, r) { 18139 let n = !1, i, o; 18140 return r && (typeof r == "object" ? { 18141 excludeEmptyString: n = !1, 18142 message: i, 18143 name: o 18144 } = r : i = r), this.test({ 18145 name: o || "matches", 18146 message: i || li.matches, 18147 params: { 18148 regex: e 18149 }, 18150 skipAbsent: !0, 18151 test: (a) => a === "" && n || a.search(e) !== -1 18152 }); 18153 } 18154 email(e = li.email) { 18155 return this.matches(W2, { 18156 name: "email", 18157 message: e, 18158 excludeEmptyString: !0 18159 }); 18160 } 18161 url(e = li.url) { 18162 return this.matches(q2, { 18163 name: "url", 18164 message: e, 18165 excludeEmptyString: !0 18166 }); 18167 } 18168 uuid(e = li.uuid) { 18169 return this.matches(K2, { 18170 name: "uuid", 18171 message: e, 18172 excludeEmptyString: !1 18173 }); 18174 } 18175 //-- transforms -- 18176 ensure() { 18177 return this.default("").transform((e) => e === null ? "" : e); 18178 } 18179 trim(e = li.trim) { 18180 return this.transform((r) => r != null ? r.trim() : r).test({ 18181 message: e, 18182 name: "trim", 18183 test: G2 18184 }); 18185 } 18186 lowercase(e = li.lowercase) { 18187 return this.transform((r) => yo(r) ? r : r.toLowerCase()).test({ 18188 message: e, 18189 name: "string_case", 18190 exclusive: !0, 18191 skipAbsent: !0, 18192 test: (r) => yo(r) || r === r.toLowerCase() 18193 }); 18194 } 18195 uppercase(e = li.uppercase) { 18196 return this.transform((r) => yo(r) ? r : r.toUpperCase()).test({ 18197 message: e, 18198 name: "string_case", 18199 exclusive: !0, 18200 skipAbsent: !0, 18201 test: (r) => yo(r) || r === r.toUpperCase() 18202 }); 18203 } 18204} 18205pf.prototype = mw.prototype; 18206let Y2 = (t) => t != +t; 18207function vf() { 18208 return new yw(); 18209} 18210class yw extends wi { 18211 constructor() { 18212 super({ 18213 type: "number", 18214 check(e) { 18215 return e instanceof Number && (e = e.valueOf()), typeof e == "number" && !Y2(e); 18216 } 18217 }), this.withMutation(() => { 18218 this.transform((e, r, n) => { 18219 if (!n.spec.coerce) 18220 return e; 18221 let i = e; 18222 if (typeof i == "string") { 18223 if (i = i.replace(/\s/g, ""), i === "") 18224 return NaN; 18225 i = +i; 18226 } 18227 return n.isType(i) || i === null ? i : parseFloat(i); 18228 }); 18229 }); 18230 } 18231 min(e, r = Vo.min) { 18232 return this.test({ 18233 message: r, 18234 name: "min", 18235 exclusive: !0, 18236 params: { 18237 min: e 18238 }, 18239 skipAbsent: !0, 18240 test(n) { 18241 return n >= this.resolve(e); 18242 } 18243 }); 18244 } 18245 max(e, r = Vo.max) { 18246 return this.test({ 18247 message: r, 18248 name: "max", 18249 exclusive: !0, 18250 params: { 18251 max: e 18252 }, 18253 skipAbsent: !0, 18254 test(n) { 18255 return n <= this.resolve(e); 18256 } 18257 }); 18258 } 18259 lessThan(e, r = Vo.lessThan) { 18260 return this.test({ 18261 message: r, 18262 name: "max", 18263 exclusive: !0, 18264 params: { 18265 less: e 18266 }, 18267 skipAbsent: !0, 18268 test(n) { 18269 return n < this.resolve(e); 18270 } 18271 }); 18272 } 18273 moreThan(e, r = Vo.moreThan) { 18274 return this.test({ 18275 message: r, 18276 name: "min", 18277 exclusive: !0, 18278 params: { 18279 more: e 18280 }, 18281 skipAbsent: !0, 18282 test(n) { 18283 return n > this.resolve(e); 18284 } 18285 }); 18286 } 18287 positive(e = Vo.positive) { 18288 return this.moreThan(0, e); 18289 } 18290 negative(e = Vo.negative) { 18291 return this.lessThan(0, e); 18292 } 18293 integer(e = Vo.integer) { 18294 return this.test({ 18295 name: "integer", 18296 message: e, 18297 skipAbsent: !0, 18298 test: (r) => Number.isInteger(r) 18299 }); 18300 } 18301 truncate() { 18302 return this.transform((e) => yo(e) ? e : e | 0); 18303 } 18304 round(e) { 18305 var r; 18306 let n = ["ceil", "floor", "round", "trunc"]; 18307 if (e = ((r = e) == null ? void 0 : r.toLowerCase()) || "round", e === "trunc") 18308 return this.truncate(); 18309 if (n.indexOf(e.toLowerCase()) === -1)
18310 throw new TypeError("Only valid options for round() are: " + n.join(", ")); 18311 return this.transform((i) => yo(i) ? i : Math[e](i)); 18312 } 18313} 18314vf.prototype = yw.prototype; 18315var Z2 = /^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/; 18316function J2(t) { 18317 var e = [1, 4, 5, 6, 7, 10, 11], r = 0, n, i; 18318 if (i = Z2.exec(t)) { 18319 for (var o = 0, a; a = e[o]; ++o) 18320 i[a] = +i[a] || 0; 18321 i[2] = (+i[2] || 1) - 1, i[3] = +i[3] || 1, i[7] = i[7] ? String(i[7]).substr(0, 3) : 0, (i[8] === void 0 || i[8] === "") && (i[9] === void 0 || i[9] === "") ? n = +new Date(i[1], i[2], i[3], i[4], i[5], i[6], i[7]) : (i[8] !== "Z" && i[9] !== void 0 && (r = i[10] * 60 + i[11], i[9] === "+" && (r = 0 - r)), n = Date.UTC(i[1], i[2], i[3], i[4], i[5] + r, i[6], i[7])); 18322 } else 18323 n = Date.parse ? Date.parse(t) : NaN; 18324 return n; 18325} 18326let Q2 = /* @__PURE__ */ new Date(""), $2 = (t) => Object.prototype.toString.call(t) === "[object Date]"; 18327class Bd extends wi { 18328 constructor() { 18329 super({ 18330 type: "date", 18331 check(e) { 18332 return $2(e) && !isNaN(e.getTime()); 18333 } 18334 }), this.withMutation(() => { 18335 this.transform((e, r, n) => !n.spec.coerce || n.isType(e) || e === null ? e : (e = J2(e), isNaN(e) ? Bd.INVALID_DATE : new Date(e))); 18336 }); 18337 } 18338 prepareParam(e, r) { 18339 let n; 18340 if (rs.isRef(e)) 18341 n = e; 18342 else { 18343 let i = this.cast(e); 18344 if (!this._typeCheck(i)) 18345 throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`); 18346 n = i; 18347 } 18348 return n; 18349 } 18350 min(e, r = lv.min) { 18351 let n = this.prepareParam(e, "min"); 18352 return this.test({ 18353 message: r, 18354 name: "min", 18355 exclusive: !0, 18356 params: { 18357 min: e 18358 }, 18359 skipAbsent: !0, 18360 test(i) { 18361 return i >= this.resolve(n); 18362 } 18363 }); 18364 } 18365 max(e, r = lv.max) { 18366 let n = this.prepareParam(e, "max"); 18367 return this.test({ 18368 message: r, 18369 name: "max", 18370 exclusive: !0, 18371 params: { 18372 max: e 18373 }, 18374 skipAbsent: !0, 18375 test(i) { 18376 return i <= this.resolve(n); 18377 } 18378 }); 18379 } 18380} 18381Bd.INVALID_DATE = Q2; 18382Bd.prototype; 18383function eR(t, e = []) { 18384 let r = [], n = /* @__PURE__ */ new Set(), i = new Set(e.map(([a, s]) => `${a}-${s}`)); 18385 function o(a, s) { 18386 let u = La.split(a)[0]; 18387 n.add(u), i.has(`${s}-${u}`) || r.push([s, u]); 18388 } 18389 for (const a of Object.keys(t)) { 18390 let s = t[a]; 18391 n.add(a), rs.isRef(s) && s.isSibling ? o(s.path, a) : N0(s) && "deps" in s && s.deps.forEach((u) => o(u, a)); 18392 } 18393 return F2.array(Array.from(n), r).reverse(); 18394} 18395function Jy(t, e) { 18396 let r = 1 / 0; 18397 return t.some((n, i) => { 18398 var o; 18399 if ((o = e.path) != null && o.includes(n)) 18400 return r = i, !0; 18401 }), r; 18402} 18403function bw(t) { 18404 return (e, r) => Jy(t, e) - Jy(t, r); 18405} 18406const tR = (t, e, r) => { 18407 if (typeof t != "string") 18408 return t; 18409 let n = t; 18410 try { 18411 n = JSON.parse(t); 18412 } catch { 18413 } 18414 return r.isType(n) ? n : t; 18415}; 18416function gf(t) { 18417 if ("fields" in t) { 18418 const e = {}; 18419 for (const [r, n] of Object.entries(t.fields)) 18420 e[r] = gf(n); 18421 return t.setFields(e); 18422 } 18423 if (t.type === "array") { 18424 const e = t.optional(); 18425 return e.innerType && (e.innerType = gf(e.innerType)), e; 18426 } 18427 return t.type === "tuple" ? t.optional().clone({ 18428 types: t.spec.types.map(gf) 18429 }) : "optional" in t ? t.optional() : t; 18430} 18431const rR = (t, e) => { 18432 const r = [...La.normalizePath(e)]; 18433 if (r.length === 1) 18434 return r[0] in t; 18435 let n = r.pop(), i = La.getter(La.join(r), !0)(t); 18436 return !!(i && n in i); 18437}; 18438let Qy = (t) => Object.prototype.toString.call(t) === "[object Object]"; 18439function nR(t, e) { 18440 let r = Object.keys(t.fields); 18441 return Object.keys(e).filter((n) => r.indexOf(n) === -1); 18442} 18443const iR = bw([]); 18444function Ew(t) { 18445 return new xw(t); 18446} 18447class xw extends wi { 18448 constructor(e) { 18449 super({ 18450 type: "object", 18451 check(r) { 18452 return Qy(r) || typeof r == "function"; 18453 } 18454 }), this.fields = /* @__PURE__ */ Object.create(null), this._sortErrors = iR, this._nodes = [], this._excludedEdges = [], this.withMutation(() => { 18455 e && this.shape(e); 18456 }); 18457 } 18458 _cast(e, r = {}) { 18459 var n; 18460 let i = super._cast(e, r); 18461 if (i === void 0) 18462 return this.getDefault(r); 18463 if (!this._typeCheck(i)) 18464 return i; 18465 let o = this.fields, a = (n = r.stripUnknown) != null ? n : this.spec.noUnknown, s = [].concat(this._nodes, Object.keys(i).filter((h) => !this._nodes.includes(h))), u = {}, l = Object.assign({}, r, { 18466 parent: u, 18467 __validating: r.__validating || !1 18468 }), f = !1; 18469 for (const h of s) { 18470 let g = o[h], d = h in i; 18471 if (g) { 18472 let m, b = i[h]; 18473 l.path = (r.path ? `${r.path}.` : "") + h, g = g.resolve({ 18474 value: b, 18475 context: r.context, 18476 parent: u 18477 }); 18478 let S = g instanceof wi ? g.spec : void 0, w = S?.strict; 18479 if (S != null && S.strip) { 18480 f = f || h in i; 18481 continue; 18482 } 18483 m = !r.__validating || !w ? ( 18484 // TODO: use _cast, this is double resolving 18485 g.cast(i[h], l) 18486 ) : i[h], m !== void 0 && (u[h] = m); 18487 } else 18488 d && !a && (u[h] = i[h]); 18489 (d !== h in u || u[h] !== i[h]) && (f = !0); 18490 } 18491 return f ? u : i; 18492 } 18493 _validate(e, r = {}, n, i) { 18494 let { 18495 from: o = [], 18496 originalValue: a = e, 18497 recursive: s = this.spec.recursive 18498 } = r; 18499 r.from = [{ 18500 schema: this, 18501 value: a 18502 }
18502, ...o], r.__validating = !0, r.originalValue = a, super._validate(e, r, n, (u, l) => { 18503 if (!s || !Qy(l)) { 18504 i(u, l); 18505 return; 18506 } 18507 a = a || l; 18508 let f = []; 18509 for (let h of this._nodes) { 18510 let g = this.fields[h]; 18511 !g || rs.isRef(g) || f.push(g.asNestedTest({ 18512 options: r, 18513 key: h, 18514 parent: l, 18515 parentPath: r.path, 18516 originalParent: a 18517 })); 18518 } 18519 this.runTests({ 18520 tests: f, 18521 value: l, 18522 originalValue: a, 18523 options: r 18524 }, n, (h) => { 18525 i(h.sort(this._sortErrors).concat(u), l); 18526 }); 18527 }); 18528 } 18529 clone(e) { 18530 const r = super.clone(e); 18531 return r.fields = Object.assign({}, this.fields), r._nodes = this._nodes, r._excludedEdges = this._excludedEdges, r._sortErrors = this._sortErrors, r; 18532 } 18533 concat(e) { 18534 let r = super.concat(e), n = r.fields; 18535 for (let [i, o] of Object.entries(this.fields)) { 18536 const a = n[i]; 18537 n[i] = a === void 0 ? o : a; 18538 } 18539 return r.withMutation((i) => ( 18540 // XXX: excludes here is wrong 18541 i.setFields(n, [...this._excludedEdges, ...e._excludedEdges]) 18542 )); 18543 } 18544 _getDefault(e) { 18545 if ("default" in this.spec) 18546 return super._getDefault(e); 18547 if (!this._nodes.length) 18548 return; 18549 let r = {}; 18550 return this._nodes.forEach((n) => { 18551 var i; 18552 const o = this.fields[n]; 18553 let a = e; 18554 (i = a) != null && i.value && (a = Object.assign({}, a, { 18555 parent: a.value, 18556 value: a.value[n] 18557 })), r[n] = o && "getDefault" in o ? o.getDefault(a) : void 0; 18558 }), r; 18559 } 18560 setFields(e, r) { 18561 let n = this.clone(); 18562 return n.fields = e, n._nodes = eR(e, r), n._sortErrors = bw(Object.keys(e)), r && (n._excludedEdges = r), n; 18563 } 18564 shape(e, r = []) { 18565 return this.clone().withMutation((n) => { 18566 let i = n._excludedEdges; 18567 return r.length && (Array.isArray(r[0]) || (r = [r]), i = [...n._excludedEdges, ...r]), n.setFields(Object.assign(n.fields, e), i); 18568 }); 18569 } 18570 partial() { 18571 const e = {}; 18572 for (const [r, n] of Object.entries(this.fields)) 18573 e[r] = "optional" in n && n.optional instanceof Function ? n.optional() : n; 18574 return this.setFields(e); 18575 } 18576 deepPartial() { 18577 return gf(this); 18578 } 18579 pick(e) { 18580 const r = {}; 18581 for (const n of e) 18582 this.fields[n] && (r[n] = this.fields[n]); 18583 return this.setFields(r); 18584 } 18585 omit(e) { 18586 const r = Object.assign({}, this.fields); 18587 for (const n of e) 18588 delete r[n]; 18589 return this.setFields(r); 18590 } 18591 from(e, r, n) { 18592 let i = La.getter(e, !0); 18593 return this.transform((o) => { 18594 if (!o) 18595 return o; 18596 let a = o; 18597 return rR(o, e) && (a = Object.assign({}, o), n || delete a[e], a[r] = i(o)), a; 18598 }); 18599 } 18600 /** Parse an input JSON string to an object */ 18601 json() { 18602 return this.transform(tR); 18603 } 18604 noUnknown(e = !0, r = uv.noUnknown) { 18605 typeof e != "boolean" && (r = e, e = !0); 18606 let n = this.test({ 18607 name: "noUnknown", 18608 exclusive: !0, 18609 message: r, 18610 test(i) { 18611 if (i == null) 18612 return !0; 18613 const o = nR(this.schema, i); 18614 return !e || o.length === 0 || this.createError({ 18615 params: { 18616 unknown: o.join(", ") 18617 } 18618 }); 18619 } 18620 }); 18621 return n.spec.noUnknown = e, n; 18622 } 18623 unknown(e = !0, r = uv.noUnknown) { 18624 return this.noUnknown(!e, r); 18625 } 18626 transformKeys(e) { 18627 return this.transform((r) => { 18628 if (!r) 18629 return r; 18630 const n = {}; 18631 for (const i of Object.keys(r)) 18632 n[e(i)] = r[i]; 18633 return n; 18634 }); 18635 } 18636 camelCase() { 18637 return this.transformKeys(rp.camelCase); 18638 } 18639 snakeCase() { 18640 return this.transformKeys(rp.snakeCase); 18641 } 18642 constantCase() { 18643 return this.transformKeys((e) => rp.snakeCase(e).toUpperCase()); 18644 } 18645 describe(e) { 18646 let r = super.describe(e); 18647 r.fields = {}; 18648 for (const [i, o] of Object.entries(this.fields)) { 18649 var n; 18650 let a = e; 18651 (n = a) != null && n.value && (a = Object.assign({}, a, { 18652 parent: a.value, 18653 value: a.value[i] 18654 })), r.fields[i] = o.describe(a); 18655 } 18656 return r; 18657 } 18658} 18659Ew.prototype = xw.prototype; 18660var ww = { exports: {} }; 18661(function(t, e) { 18662 (function() { 18663 var r = { 18664 expires: "1d", 18665 path: "; path=/", 18666 domain: "", 18667 secure: "", 18668 sameSite: "; SameSite=Lax", 18669 partitioned: "" 18670 }, n = { 18671 // install of Vue 18672 install: function(i, o) { 18673 o && this.config(o.expires, o.path, o.domain, o.secure, o.sameSite, o.partitioned), i.prototype && (i.prototype.$cookies = this), i.config && i.config.globalProperties && (i.config.globalProperties.$cookies = this, i.provide("$cookies", this)), i.$cookies = this; 18674 }, 18675 config: function(i, o, a, s, u, l) { 18676 r.expires = i || "1d", r.path = o ? "; path=" + o : "; path=/", r.domain = a ? "; domain=" + a : "", r.secure = s ? "; Secure" : "", r.sameSite = u ? "; SameSite=" + u : ";
18676 SameSite=Lax", r.partitioned = l ? "; Partitioned" : ""; 18677 }, 18678 get: function(i) { 18679 var o = decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(i).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; 18680 if (o && (o.substring(0, 1) === "{" && o.substring(o.length - 1, o.length) === "}" || o.substring(0, 1) === "[" && o.substring(o.length - 1, o.length) === "]")) 18681 try { 18682 o = JSON.parse(o); 18683 } catch { 18684 return o; 18685 } 18686 return o; 18687 }, 18688 set: function(i, o, a, s, u, l, f, h) { 18689 if (i) { 18690 if (/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(i)) 18691 throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"] current key name: ' + i); 18692 } else 18693 throw new Error("Cookie name is not found in the first argument."); 18694 o && typeof o == "object" && (o = JSON.stringify(o)); 18695 var g = ""; 18696 if (a = a === void 0 ? r.expires : a, a && a !== 0) 18697 switch (a.constructor) { 18698 case Number: 18699 a === 1 / 0 || a === -1 ? g = "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : g = "; max-age=" + a; 18700 break; 18701 case String: 18702 if (/^(?:\d+(y|m|d|h|min|s))$/i.test(a)) { 18703 var d = a.replace(/^(\d+)(?:y|m|d|h|min|s)$/i, "$1"); 18704 switch (a.replace(/^(?:\d+)(y|m|d|h|min|s)$/i, "$1").toLowerCase()) { 18705 case "m": 18706 g = "; max-age=" + +d * 2592e3; 18707 break; 18708 case "d": 18709 g = "; max-age=" + +d * 86400; 18710 break; 18711 case "h": 18712 g = "; max-age=" + +d * 3600; 18713 break; 18714 case "min": 18715 g = "; max-age=" + +d * 60; 18716 break; 18717 case "s": 18718 g = "; max-age=" + d; 18719 break; 18720 case "y": 18721 g = "; max-age=" + +d * 31104e3; 18722 break; 18723 } 18724 } else 18725 g = "; expires=" + a; 18726 break; 18727 case Date: 18728 g = "; expires=" + a.toUTCString(); 18729 break; 18730 } 18731 return document.cookie = encodeURIComponent(i) + "=" + encodeURIComponent(o) + g + (u ? "; domain=" + u : r.domain) + (s ? "; path=" + s : r.path) + (l === void 0 ? r.secure : l ? "; Secure" : "") + (f === void 0 ? r.sameSite : f ? "; SameSite=" + f : "") + (h === void 0 ? r.partitioned : h ? "; Partitioned" : ""), this; 18732 }, 18733 remove: function(i, o, a) { 18734 return !i || !this.isKey(i) ? !1 : (document.cookie = encodeURIComponent(i) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (a ? "; domain=" + a : r.domain) + (o ? "; path=" + o : r.path) + "; SameSite=Lax", !0); 18735 }, 18736 isKey: function(i) { 18737 return new RegExp("(?:^|;\\s*)" + encodeURIComponent(i).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=").test(document.cookie); 18738 }, 18739 keys: function() { 18740 if (!document.cookie) 18741 return []; 18742 for (var i = document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g, "").split(/\s*(?:\=[^;]*)?;\s*/), o = 0; o < i.length; o++) 18743 i[o] = decodeURIComponent(i[o]); 18744 return i; 18745 } 18746 }; 18747 t.exports = n, typeof window < "u" && (window.$cookies = n); 18748 })(); 18749})(ww); 18750var oR = ww.exports; 18751const np = /* @__PURE__ */ Qa(oR); 18752/*! ***************************************************************************** 18753Copyright (c) Microsoft Corporation. 18754 18755Permission to use, copy, modify, and/or distribute this software for any 18756purpose with or without fee is hereby granted. 18757 18758THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 18759REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18760AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 18761INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 18762LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 18763OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 18764PERFORMANCE OF THIS SOFTWARE. 18765***************************************************************************** */ 18766var cv = function(t, e) { 18767 return cv = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) { 18768 r.__proto__ = n; 18769 } || function(r, n) { 18770 for (var i in n) 18771 n.hasOwnProperty(i) && (r[i] = n[i]); 18772 }, cv(t, e); 18773}; 18774function Ne(t, e) { 18775 cv(t, e); 18776 function r() { 18777 this.constructor = t; 18778 } 18779 t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); 18780} 18781var ht = function() { 18782 return ht = Object.assign || function(e) { 18783 for (var r, n = 1, i = arguments.length; n < i; n++) { 18784 r = arguments[n]; 18785 for (var o in r) 18786 Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]); 18787 } 18788 return e; 18789 }, ht.apply(this, arguments); 18790}; 18791function aR(t, e) { 18792 var r = {}; 18793 for (var n in t) 18794 Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]); 18795 if (t != null && typeof Object.getOwnPropertySymbols == "function") 18796 for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++) 18797 e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]); 18798 return r; 18799} 18800function yt(t, e, r, n) { 18801 function i(o) { 18802 return o instanceof r ? o : new r(function(a) { 18803 a(o); 18804 }); 18805 } 18806 return new (r || (r = Promise))(function(o, a) { 18807 function s(f) {
18808 try { 18809 l(n.next(f)); 18810 } catch (h) { 18811 a(h); 18812 } 18813 } 18814 function u(f) { 18815 try { 18816 l(n.throw(f)); 18817 } catch (h) { 18818 a(h); 18819 } 18820 } 18821 function l(f) { 18822 f.done ? o(f.value) : i(f.value).then(s, u); 18823 } 18824 l((n = n.apply(t, e || [])).next()); 18825 }); 18826} 18827function bt(t, e) { 18828 var r = { label: 0, sent: function() { 18829 if (o[0] & 1) 18830 throw o[1]; 18831 return o[1]; 18832 }, trys: [], ops: [] }, n, i, o, a; 18833 return a = { next: s(0), throw: s(1), return: s(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() { 18834 return this; 18835 }), a; 18836 function s(l) { 18837 return function(f) { 18838 return u([l, f]); 18839 }; 18840 } 18841 function u(l) { 18842 if (n) 18843 throw new TypeError("Generator is already executing."); 18844 for (; r; ) 18845 try { 18846 if (n = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) 18847 return o; 18848 switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) { 18849 case 0: 18850 case 1: 18851 o = l; 18852 break; 18853 case 4: 18854 return r.label++, { value: l[1], done: !1 }; 18855 case 5: 18856 r.label++, i = l[1], l = [0]; 18857 continue; 18858 case 7: 18859 l = r.ops.pop(), r.trys.pop(); 18860 continue; 18861 default: 18862 if (o = r.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) { 18863 r = 0; 18864 continue; 18865 } 18866 if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) { 18867 r.label = l[1]; 18868 break; 18869 } 18870 if (l[0] === 6 && r.label < o[1]) { 18871 r.label = o[1], o = l; 18872 break; 18873 } 18874 if (o && r.label < o[2]) { 18875 r.label = o[2], r.ops.push(l); 18876 break; 18877 } 18878 o[2] && r.ops.pop(), r.trys.pop(); 18879 continue; 18880 } 18881 l = e.call(t, r); 18882 } catch (f) { 18883 l = [6, f], i = 0; 18884 } finally { 18885 n = o = 0; 18886 } 18887 if (l[0] & 5) 18888 throw l[1]; 18889 return { value: l[0] ? l[1] : void 0, done: !0 }; 18890 } 18891} 18892function kt() { 18893 for (var t = 0, e = 0, r = arguments.length; e < r; e++) 18894 t += arguments[e].length; 18895 for (var n = Array(t), i = 0, e = 0; e < r; e++) 18896 for (var o = arguments[e], a = 0, s = o.length; a < s; a++, i++) 18897 n[i] = o[a]; 18898 return n; 18899} 18900var Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Xl = new Uint8Array(256); 18901for (var Lc = 0; Lc < Ps.length; Lc++) 18902 Xl[Ps.charCodeAt(Lc)] = Lc; 18903var sR = function(t) { 18904 for (var e = "", r = t.length, n = 0; n < r; n += 3) 18905 e += Ps[t[n] >> 2], e += Ps[(t[n] & 3) << 4 | t[n + 1] >> 4], e += Ps[(t[n + 1] & 15) << 2 | t[n + 2] >> 6], e += Ps[t[n + 2] & 63]; 18906 return r % 3 === 2 ? e = e.substring(0, e.length - 1) + "=" : r % 3 === 1 && (e = e.substring(0, e.length - 2) + "=="), e; 18907}, $y = function(t) { 18908 var e = t.length * 0.75, r = t.length, n, i = 0, o, a, s, u; 18909 t[t.length - 1] === "=" && (e--, t[t.length - 2] === "=" && e--); 18910 var l = new Uint8Array(e); 18911 for (n = 0; n < r; n += 4) 18912 o = Xl[t.charCodeAt(n)], a = Xl[t.charCodeAt(n + 1)], s = Xl[t.charCodeAt(n + 2)], u = Xl[t.charCodeAt(n + 3)], l[i++] = o << 2 | a >> 4, l[i++] = (a & 15) << 4 | s >> 2, l[i++] = (s & 3) << 6 | u & 63; 18913 return l; 18914}, lR = /^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i, uR = function(t) { 18915 var e = t.trim(), r = e.substring(0, 100), n = r.match(lR); 18916 if (!n) 18917 return $y(e); 18918 var i = n[0], o = e.substring(i.length); 18919 return $y(o); 18920}, ct = function(t) { 18921 return t.charCodeAt(0); 18922}, cR = function(t) { 18923 return t.codePointAt(0); 18924}, oc = function(t, e) { 18925 return pi(t.toString(16), e, "0").toUpperCase(); 18926}, Ud = function(t) { 18927 return oc(t, 2); 18928}, bo = function(t) { 18929 return String.fromCharCode(t); 18930}, fR = function(t) { 18931 return bo(parseInt(t, 16)); 18932}, pi = function(t, e, r) { 18933 for (var n = "", i = 0, o = e - t.length; i < o; i++) 18934 n += r; 18935 return n + t; 18936}, jr = function(t, e, r) { 18937 for (var n = t.length, i = 0; i < n; i++) 18938 e[r++] = t.charCodeAt(i); 18939 return n; 18940}, dR = function(t) { 18941 return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); 18942}, ac = function(t) { 18943 return t.replace(/\t|\u0085|\u2028|\u2029/g, " ").replace(/[\b\v]/g, ""); 18944}, hR = ["\\n", "\\f", "\\r", "\\u000B"], Sw = function(t) { 18945 return /^[\n\f\r\u000B]$/.test(t); 18946}, _w = function(t) { 18947 return t.split(/[\n\f\r\u000B]/); 18948}, Tw = function(t) { 18949 return t.replace(/[\n\f\r\u000B]/g, " "); 18950}, Cw = function(t, e) { 18951 var r = t.charCodeAt(e), n, i = e + 1, o = 1; 18952 return ( 18953 // Check if it's the start of a surrogate pair. 18954 r >= 55296 && r <= 56319 && // high surrogate 18955 t.length > i && (n = t.charCodeAt(i), n >= 56320 && n <= 57343 && (o = 2)), [t.slice(e, e + o), o] 18956 ); 18957}, pR = function(t) { 18958 for (var e = [], r = 0, n = t.length; r < n; ) { 18959 var i = Cw(t, r), o = i[0], a = i[1]; 18960 e.push(o), r += a; 18961 } 18962 return e; 18963}, vR = function(t) { 18964 for (var e = hR.join("|"), r = ["$"], n = 0, i = t.length; n < i; n++) { 18965 var o = t[n]; 18966 if (Sw(o)) 18967 throw new TypeError("`wordBreak` must not include " + e); 18968 r.push(o === "" ? "." : dR(o)); 18969 } 18970 var a = r.join("|"); 18971 return new RegExp("(" + e + ")|((.*?)(" + a + "))", "gm"); 18972}, gR = function(t, e, r, n) { 18973 for (var i = vR(e), o = ac(t).match(i), a = "", s = 0, u = [], l = function() { 18974 a !== "" && u.push(a), a = "", s = 0; 18975 }, f = 0, h = o.length; f < h; f++) { 18976 var g = o[f]; 18977 if (Sw(g)) 18978 l(); 18979 else { 18980 var d = n(g); 18981 s + d > r && l(), a += g, s += d; 18982 } 18983 } 18984 return l(), u; 18985}, mR = /^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/, Ow = function(t) { 18986 var e = t.match(mR); 18987 if (e) { 18988 var r = e[1], n = e[2], i = n === void 0 ? "01" : n, o = e[3], a = o === void 0 ? "01" : o, s = e[4], u = s === void 0 ? "00" : s, l = e[5], f = l === void 0 ? "00" : l, h = e[6], g = h === void 0 ? "00" : h, d = e[7], m = d === void 0 ? "Z" : d, b = e[8], S = b === void 0 ? "00" : b, w = e[9], D = w === void 0 ? "00" : w, T = m === "Z" ? "Z" : "" + m + S + ":" + D, _ = /* @__PURE__ */ new Date(r + "-" + i + "-" + a + "T" + u + ":" + f + ":" + g + T); 18989 return _; 18990 } 18991}
18991, k0 = function(t, e) { 18992 for (var r, n = 0, i; n < t.length; ) { 18993 var o = t.substring(n).match(e); 18994 if (!o) 18995 return { match: i, pos: n }; 18996 i = o, n += ((r = o.index) !== null && r !== void 0 ? r : 0) + o[0].length; 18997 } 18998 return { match: i, pos: n }; 18999}, Jf = function(t) { 19000 return t[t.length - 1]; 19001}, fv = function(t) { 19002 if (t instanceof Uint8Array) 19003 return t; 19004 for (var e = t.length, r = new Uint8Array(e), n = 0; n < e; n++) 19005 r[n] = t.charCodeAt(n); 19006 return r; 19007}, yR = function() { 19008 for (var t = [], e = 0; e < arguments.length; e++) 19009 t[e] = arguments[e]; 19010 for (var r = t.length, n = [], i = 0; i < r; i++) { 19011 var o = t[i]; 19012 n[i] = o instanceof Uint8Array ? o : fv(o); 19013 } 19014 for (var a = 0, i = 0; i < r; i++) 19015 a += t[i].length; 19016 for (var s = new Uint8Array(a), u = 0, l = 0; l < r; l++) 19017 for (var f = n[l], h = 0, g = f.length; h < g; h++) 19018 s[u++] = f[h]; 19019 return s; 19020}, bR = function(t) { 19021 for (var e = 0, r = 0, n = t.length; r < n; r++) 19022 e += t[r].length; 19023 for (var i = new Uint8Array(e), o = 0, r = 0, n = t.length; r < n; r++) { 19024 var a = t[r]; 19025 i.set(a, o), o += a.length; 19026 } 19027 return i; 19028}, Aw = function(t) { 19029 for (var e = "", r = 0, n = t.length; r < n; r++) 19030 e += bo(t[r]); 19031 return e; 19032}, ER = function(t, e) { 19033 return t.id - e.id; 19034}, xR = function(t, e) { 19035 for (var r = [], n = 0, i = t.length; n < i; n++) { 19036 var o = t[n], a = t[n - 1]; 19037 (n === 0 || e(o) !== e(a)) && r.push(o); 19038 } 19039 return r; 19040}, ys = function(t) { 19041 for (var e = t.length, r = 0, n = Math.floor(e / 2); r < n; r++) { 19042 var i = r, o = e - r - 1, a = t[r]; 19043 t[i] = t[o], t[o] = a; 19044 } 19045 return t; 19046}, wR = function(t) { 19047 for (var e = 0, r = 0, n = t.length; r < n; r++) 19048 e += t[r]; 19049 return e; 19050}, SR = function(t, e) { 19051 for (var r = new Array(e - t), n = 0, i = r.length; n < i; n++) 19052 r[n] = t + n; 19053 return r; 19054}, _R = function(t, e) { 19055 for (var r = new Array(e.length), n = 0, i = e.length; n < i; n++) 19056 r[n] = t[e[n]]; 19057 return r; 19058}, TR = function(t) { 19059 return t instanceof Uint8Array || t instanceof ArrayBuffer || typeof t == "string"; 19060}, Il = function(t) { 19061 if (typeof t == "string") 19062 return uR(t); 19063 if (t instanceof ArrayBuffer) 19064 return new Uint8Array(t); 19065 if (t instanceof Uint8Array) 19066 return t; 19067 throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`"); 19068}, el = function() { 19069 return new Promise(function(t) { 19070 setTimeout(function() { 19071 return t(); 19072 }, 0); 19073 }); 19074}, CR = function(t, e) { 19075 e === void 0 && (e = !0); 19076 var r = []; 19077 e && r.push(65279); 19078 for (var n = 0, i = t.length; n < i; ) { 19079 var o = t.codePointAt(n); 19080 if (o < 65536) 19081 r.push(o), n += 1; 19082 else if (o < 1114112) 19083 r.push(Nw(o), kw(o)), n += 2; 19084 else 19085 throw new Error("Invalid code point: 0x" + Ud(o)); 19086 } 19087 return new Uint16Array(r); 19088}, OR = function(t) { 19089 return t >= 0 && t <= 65535; 19090}, AR = function(t) { 19091 return t >= 65536 && t <= 1114111; 19092}, Nw = function(t) { 19093 return Math.floor((t - 65536) / 1024) + 55296; 19094}, kw = function(t) { 19095 return (t - 65536) % 1024 + 56320; 19096}, Yo; 19097(function(t) { 19098 t.BigEndian = "BigEndian", t.LittleEndian = "LittleEndian"; 19099})(Yo || (Yo = {})); 19100var Ml = "�".codePointAt(0), Dw = function(t, e) { 19101 if (e === void 0 && (e = !0), t.length <= 1) 19102 return String.fromCodePoint(Ml); 19103 for (var r = e ? kR(t) : Yo.BigEndian, n = e ? 2 : 0, i = []; t.length - n >= 2; ) { 19104 var o = tb(t[n++], t[n++], r); 19105 if (NR(o)) 19106 if (t.length - n < 2) 19107 i.push(Ml); 19108 else { 19109 var a = tb(t[n++], t[n++], r); 19110 eb(a) ? i.push(o, a) : i.push(Ml); 19111 } 19112 else 19113 eb(o) ? (n += 2, i.push(Ml)) : i.push(o); 19114 } 19115 return n < t.length && i.push(Ml), String.fromCodePoint.apply(String, i); 19116}, NR = function(t) { 19117 return t >= 55296 && t <= 56319; 19118}, eb = function(t) { 19119 return t >= 56320 && t <= 57343; 19120}, tb = function(t, e, r) { 19121 if (r === Yo.LittleEndian) 19122 return e << 8 | t; 19123 if (r === Yo.BigEndian) 19124 return t << 8 | e; 19125 throw new Error("Invalid byteOrder: " + r); 19126}, kR = function(t) { 19127 return Pw(t) ? Yo.BigEndian : Fw(t) ? Yo.LittleEndian : Yo.BigEndian; 19128}, Pw = function(t) { 19129 return t[0] === 254 && t[1] === 255; 19130}, Fw = function(t) { 19131 return t[0] === 255 && t[1] === 254; 19132}, Rw = function(t) { 19133 return Pw(t) || Fw(t); 19134}, DR = function(t) { 19135 var e = String(t); 19136 if (Math.abs(t) < 1) { 19137 var r = parseInt(t.toString().split("e-")[1]); 19138 if (r) { 19139 var n = t < 0; 19140 n && (t *= -1), t *= Math.pow(10, r - 1), e = "0." + new Array(r).join("0") + t.toString().substring(2), n && (e = "-" + e); 19141 } 19142 } else { 19143 var r = parseInt(t.toString().split("+")[1]); 19144 r > 20 && (r -= 20, t /= Math.pow(10, r), e = t.toString() + new Array(r + 1).join("0")); 19145 } 19146 return e; 19147}, mf = function(t) { 19148 return Math.ceil(t.toString(2).length / 8); 19149}, bs = function(t) { 19150 for (var e = new Uint8Array(mf(t)), r = 1; r <= e.length; r++) 19151 e[r - 1] = t >> (e.length - r) * 8; 19152 return e; 19153}, sc = function(t) { 19154 throw new Error(t); 19155}, Co = {}; 19156(function(t) { 19157 var e = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u"; 19158 function r(o, a) { 19159 return Object.prototype.hasOwnProperty.call(o, a); 19160 } 19161 t.assign = function(o) { 19162 for (var a = Array.prototype.slice.call(arguments, 1); a.length; ) { 19163 var s = a.shift(); 19164 if (s) { 19165 if (typeof s != "object") 19166 throw new TypeError(s + "must be non-object"); 19167 for (var u in s) 19168 r(s, u) && (o[u] = s[u]); 19169 } 19170 } 19171 return o; 19172 }, t.shrinkBuf = function(o, a) { 19173 return o.length === a ? o : o.subarray ? o.subarray(0, a) : (o.length = a, o); 19174 }; 19175 var n = { 19176 arraySet: function(o, a, s, u, l) { 19177 if (a.subarray && o.subarray) { 19178 o.set(a.subarray(s, s + u), l); 19179 return; 19180 } 19181 for (var f = 0; f < u; f++) 19182 o[l + f] = a[s + f]; 19183 }, 19184 // Join array of chunks to single array. 19185 flattenChunks: function(o) { 19186 var a, s, u, l, f, h; 19187 for (u = 0, a = 0, s = o.length; a < s; a++) 19188 u += o[a].length; 19189 for (h = new Uint8Array(u), l = 0, a = 0, s = o.length; a < s; a++) 19190 f = o[a], h.set(f, l), l += f.length; 19191 return h; 19192 } 19193 }, i = { 19194 arraySet: function(o, a, s, u, l) { 19195 for (var f = 0; f < u; f++) 19196 o[l + f] = a[s + f]; 19197 }, 19198 // Join array of chunks to single array. 19199 flattenChunks: function(o) { 19200 return [].concat.apply([], o); 19201 } 19202 }; 19203 t.setTyped = function(o) { 19204 o ? (t.Buf8 = Uint8Array, t.Buf16 = Uint16Array, t.Buf32 = Int32Array, t.assign(t, n)) : (t.Buf8 = Array, t.Buf16 = Array, t.Buf32 = Array, t.assign(t, i)); 19205 }, t.setTyped(e); 19206})(Co); 19207var lc = {}, Qi = {}, sl = {}, PR = Co, FR = 4, rb = 0, nb = 1, RR = 2; 19208function ll(t) { 19209 for (var e = t.length; --e >= 0; ) 19210 t[e] = 0; 19211} 19212var IR = 0, Iw = 1, MR = 2, VR = 3, LR = 258, D0 = 29, uc = 256, Pu = uc + 1 + D0, Bs = 30, P0 = 19, Mw = 2 * Pu + 1, Na = 15, ip = 16, jR = 7, F0 = 256, Vw = 16, Lw = 17, jw = 18, dv = ( 19213 /* extra bits for each length code */ 19214 [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] 19215), yf = ( 19216 /* extra bits for each distance code */ 19217 [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] 19218), BR = ( 19219 /* extra bits for each bit length code */ 19220 [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7] 19221), Bw = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], UR = 512, po = new Array((Pu + 2) * 2); 19222ll(po); 19223var pu = new Array(Bs * 2); 19224ll(pu); 19225var Fu = new Array(UR); 19226ll(Fu); 19227var Ru = new Array(LR - VR + 1); 19228ll(Ru); 19229var R0 = new Array(D0); 19230ll(R0); 19231var Qf = new Array(Bs); 19232ll(Qf); 19233function op(t, e, r, n, i) { 19234 this.static_tree = t, this.extra_bits = e, this.extra_base = r, this.elems = n, this.max_length = i, this.has_stree = t && t.length; 19235} 19236var Uw, Hw, zw; 19237function ap(t, e) { 19238 this.dyn_tree = t, this.max_code = 0, this.stat_desc = e; 19239} 19240function Ww(t) { 19241 return t < 256 ? Fu[t] : Fu[256 + (t >>> 7)]; 19242} 19243function Iu(t, e) { 19244 t.pending_buf[t.pending++] = e & 255, t.pending_buf[t.pending++] = e >>> 8 & 255; 19245} 19246function vn(t, e, r) { 19247 t.bi_valid >
vendor: 5,619 bytes, lines 19247-19394
19247 ip - r ? (t.bi_buf |= e << t.bi_valid & 65535, Iu(t, t.bi_buf), t.bi_buf = e >> ip - t.bi_valid, t.bi_valid += r - ip) : (t.bi_buf |= e << t.bi_valid & 65535, t.bi_valid += r); 19248} 19249function Bi(t, e, r) { 19250 vn( 19251 t, 19252 r[e * 2], 19253 r[e * 2 + 1] 19254 /*.Len*/ 19255 ); 19256} 19257function qw(t, e) { 19258 var r = 0; 19259 do 19260 r |= t & 1, t >>>= 1, r <<= 1; 19261 while (--e > 0); 19262 return r >>> 1; 19263} 19264function HR(t) { 19265 t.bi_valid === 16 ? (Iu(t, t.bi_buf), t.bi_buf = 0, t.bi_valid = 0) : t.bi_valid >= 8 && (t.pending_buf[t.pending++] = t.bi_buf & 255, t.bi_buf >>= 8, t.bi_valid -= 8); 19266} 19267function zR(t, e) { 19268 var r = e.dyn_tree, n = e.max_code, i = e.stat_desc.static_tree, o = e.stat_desc.has_stree, a = e.stat_desc.extra_bits, s = e.stat_desc.extra_base, u = e.stat_desc.max_length, l, f, h, g, d, m, b = 0; 19269 for (g = 0; g <= Na; g++) 19270 t.bl_count[g] = 0; 19271 for (r[t.heap[t.heap_max] * 2 + 1] = 0, l = t.heap_max + 1; l < Mw; l++) 19272 f = t.heap[l], g = r[r[f * 2 + 1] * 2 + 1] + 1, g > u && (g = u, b++), r[f * 2 + 1] = g, !(f > n) && (t.bl_count[g]++, d = 0, f >= s && (d = a[f - s]), m = r[f * 2], t.opt_len += m * (g + d), o && (t.static_len += m * (i[f * 2 + 1] + d))); 19273 if (b !== 0) { 19274 do { 19275 for (g = u - 1; t.bl_count[g] === 0; ) 19276 g--; 19277 t.bl_count[g]--, t.bl_count[g + 1] += 2, t.bl_count[u]--, b -= 2; 19278 } while (b > 0); 19279 for (g = u; g !== 0; g--) 19280 for (f = t.bl_count[g]; f !== 0; ) 19281 h = t.heap[--l], !(h > n) && (r[h * 2 + 1] !== g && (t.opt_len += (g - r[h * 2 + 1]) * r[h * 2], r[h * 2 + 1] = g), f--); 19282 } 19283} 19284function Kw(t, e, r) { 19285 var n = new Array(Na + 1), i = 0, o, a; 19286 for (o = 1; o <= Na; o++) 19287 n[o] = i = i + r[o - 1] << 1; 19288 for (a = 0; a <= e; a++) { 19289 var s = t[a * 2 + 1]; 19290 s !== 0 && (t[a * 2] = qw(n[s]++, s)); 19291 } 19292} 19293function WR() { 19294 var t, e, r, n, i, o = new Array(Na + 1); 19295 for (r = 0, n = 0; n < D0 - 1; n++) 19296 for (R0[n] = r, t = 0; t < 1 << dv[n]; t++) 19297 Ru[r++] = n; 19298 for (Ru[r - 1] = n, i = 0, n = 0; n < 16; n++) 19299 for (Qf[n] = i, t = 0; t < 1 << yf[n]; t++) 19300 Fu[i++] = n; 19301 for (i >>= 7; n < Bs; n++) 19302 for (Qf[n] = i << 7, t = 0; t < 1 << yf[n] - 7; t++) 19303 Fu[256 + i++] = n; 19304 for (e = 0; e <= Na; e++) 19305 o[e] = 0; 19306 for (t = 0; t <= 143; ) 19307 po[t * 2 + 1] = 8, t++, o[8]++; 19308 for (; t <= 255; ) 19309 po[t * 2 + 1] = 9, t++, o[9]++; 19310 for (; t <= 279; ) 19311 po[t * 2 + 1] = 7, t++, o[7]++; 19312 for (; t <= 287; ) 19313 po[t * 2 + 1] = 8, t++, o[8]++; 19314 for (Kw(po, Pu + 1, o), t = 0; t < Bs; t++) 19315 pu[t * 2 + 1] = 5, pu[t * 2] = qw(t, 5); 19316 Uw = new op(po, dv, uc + 1, Pu, Na), Hw = new op(pu, yf, 0, Bs, Na), zw = new op(new Array(0), BR, 0, P0, jR); 19317} 19318function Gw(t) { 19319 var e; 19320 for (e = 0; e < Pu; e++) 19321 t.dyn_ltree[e * 2] = 0; 19322 for (e = 0; e < Bs; e++) 19323 t.dyn_dtree[e * 2] = 0; 19324 for (e = 0; e < P0; e++) 19325 t.bl_tree[e * 2] = 0; 19326 t.dyn_ltree[F0 * 2] = 1, t.opt_len = t.static_len = 0, t.last_lit = t.matches = 0; 19327} 19328function Xw(t) { 19329 t.bi_valid > 8 ? Iu(t, t.bi_buf) : t.bi_valid > 0 && (t.pending_buf[t.pending++] = t.bi_buf), t.bi_buf = 0, t.bi_valid = 0; 19330} 19331function qR(t, e, r, n) { 19332 Xw(t), n && (Iu(t, r), Iu(t, ~r)), PR.arraySet(t.pending_buf, t.window, e, r, t.pending), t.pending += r; 19333} 19334function ib(t, e, r, n) { 19335 var i = e * 2, o = r * 2; 19336 return t[i] < t[o] || t[i] === t[o] && n[e] <= n[r]; 19337} 19338function sp(t, e, r) { 19339 for (var n = t.heap[r], i = r << 1; i <= t.heap_len && (i < t.heap_len && ib(e, t.heap[i + 1], t.heap[i], t.depth) && i++, !ib(e, n, t.heap[i], t.depth)); ) 19340 t.heap[r] = t.heap[i], r = i, i <<= 1; 19341 t.heap[r] = n; 19342} 19343function ob(t, e, r) { 19344 var n, i, o = 0, a, s; 19345 if (t.last_lit !== 0) 19346 do 19347 n = t.pending_buf[t.d_buf + o * 2] << 8 | t.pending_buf[t.d_buf + o * 2 + 1], i = t.pending_buf[t.l_buf + o], o++, n === 0 ? Bi(t, i, e) : (a = Ru[i], Bi(t, a + uc + 1, e), s = dv[a], s !== 0 && (i -= R0[a], vn(t, i, s)), n--, a = Ww(n), Bi(t, a, r), s = yf[a], s !== 0 && (n -= Qf[a], vn(t, n, s))); 19348 while (o < t.last_lit); 19349 Bi(t, F0, e); 19350} 19351function hv(t, e) { 19352 var r = e.dyn_tree, n = e.stat_desc.static_tree, i = e.stat_desc.has_stree, o = e.stat_desc.elems, a, s, u = -1, l; 19353 for (t.heap_len = 0, t.heap_max = Mw, a = 0; a < o; a++) 19354 r[a * 2] !== 0 ? (t.heap[++t.heap_len] = u = a, t.depth[a] = 0) : r[a * 2 + 1] = 0; 19355 for (; t.heap_len < 2; ) 19356 l = t.heap[++t.heap_len] = u < 2 ? ++u : 0, r[l * 2] = 1, t.depth[l] = 0, t.opt_len--, i && (t.static_len -= n[l * 2 + 1]); 19357 for (e.max_code = u, a = t.heap_len >> 1; a >= 1; a--) 19358 sp(t, r, a); 19359 l = o; 19360 do 19361 a = t.heap[ 19362 1 19363 /*SMALLEST*/ 19364 ], t.heap[ 19365 1 19366 /*SMALLEST*/ 19367 ] = t.heap[t.heap_len--], sp( 19368 t, 19369 r, 19370 1 19371 /*SMALLEST*/ 19372 ), s = t.heap[ 19373 1 19374 /*SMALLEST*/ 19375 ], t.heap[--t.heap_max] = a, t.heap[--t.heap_max] = s, r[l * 2] = r[a * 2] + r[s * 2], t.depth[l] = (t.depth[a] >= t.depth[s] ? t.depth[a] : t.depth[s]) + 1, r[a * 2 + 1] = r[s * 2 + 1] = l, t.heap[ 19376 1 19377 /*SMALLEST*/ 19378 ] = l++, sp( 19379 t, 19380 r, 19381 1 19382 /*SMALLEST*/ 19383 ); 19384 while (t.heap_len >= 2); 19385 t.heap[--t.heap_max] = t.heap[ 19386 1 19387 /*SMALLEST*/ 19388 ], zR(t, e), Kw(r, u, t.bl_count); 19389} 19390function ab(t, e, r) { 19391 var n, i = -1, o, a = e[0 * 2 + 1], s = 0, u = 7, l = 4; 19392 for (a === 0 && (u = 138, l = 3), e[(r + 1) * 2 + 1] = 65535, n = 0; n <= r; n++) 19393 o = a, a = e[(n + 1) * 2 + 1], !(++s < u && o === a) && (s < l ? t.bl_tree[o * 2] += s : o !== 0 ? (o !== i && t.bl_tree[o * 2]++, t.bl_tree[Vw * 2]++) : s <= 10 ? t.bl_tree[Lw * 2]++ : t.bl_tree[jw * 2]++, s = 0, i = o, a === 0 ? (u = 138, l = 3) : o === a ? (u = 6, l = 3) : (u = 7, l = 4)); 19394}
19395function sb(t, e, r) { 19396 var n, i = -1, o, a = e[0 * 2 + 1], s = 0, u = 7, l = 4; 19397 for (a === 0 && (u = 138, l = 3), n = 0; n <= r; n++) 19398 if (o = a, a = e[(n + 1) * 2 + 1], !(++s < u && o === a)) { 19399 if (s < l) 19400 do 19401 Bi(t, o, t.bl_tree); 19402 while (--s !== 0); 19403 else 19404 o !== 0 ? (o !== i && (Bi(t, o, t.bl_tree), s--), Bi(t, Vw, t.bl_tree), vn(t, s - 3, 2)) : s <= 10 ? (Bi(t, Lw, t.bl_tree), vn(t, s - 3, 3)) : (Bi(t, jw, t.bl_tree), vn(t, s - 11, 7)); 19405 s = 0, i = o, a === 0 ? (u = 138, l = 3) : o === a ? (u = 6, l = 3) : (u = 7, l = 4); 19406 } 19407} 19408function KR(t) { 19409 var e; 19410 for (ab(t, t.dyn_ltree, t.l_desc.max_code), ab(t, t.dyn_dtree, t.d_desc.max_code), hv(t, t.bl_desc), e = P0 - 1; e >= 3 && t.bl_tree[Bw[e] * 2 + 1] === 0; e--) 19411 ; 19412 return t.opt_len += 3 * (e + 1) + 5 + 5 + 4, e; 19413} 19414function GR(t, e, r, n) { 19415 var i; 19416 for (vn(t, e - 257, 5), vn(t, r - 1, 5), vn(t, n - 4, 4), i = 0; i < n; i++) 19417 vn(t, t.bl_tree[Bw[i] * 2 + 1], 3); 19418 sb(t, t.dyn_ltree, e - 1), sb(t, t.dyn_dtree, r - 1); 19419} 19420function XR(t) { 19421 var e = 4093624447, r; 19422 for (r = 0; r <= 31; r++, e >>>= 1) 19423 if (e & 1 && t.dyn_ltree[r * 2] !== 0) 19424 return rb; 19425 if (t.dyn_ltree[9 * 2] !== 0 || t.dyn_ltree[10 * 2] !== 0 || t.dyn_ltree[13 * 2] !== 0) 19426 return nb; 19427 for (r = 32; r < uc; r++) 19428 if (t.dyn_ltree[r * 2] !== 0) 19429 return nb; 19430 return rb; 19431} 19432var lb = !1; 19433function YR(t) { 19434 lb || (WR(), lb = !0), t.l_desc = new ap(t.dyn_ltree, Uw), t.d_desc = new ap(t.dyn_dtree, Hw), t.bl_desc = new ap(t.bl_tree, zw), t.bi_buf = 0, t.bi_valid = 0, Gw(t); 19435} 19436function Yw(t, e, r, n) { 19437 vn(t, (IR << 1) + (n ? 1 : 0), 3), qR(t, e, r, !0); 19438} 19439function ZR(t) { 19440 vn(t, Iw << 1, 3), Bi(t, F0, po), HR(t); 19441} 19442function JR(t, e, r, n) { 19443 var i, o, a = 0; 19444 t.level > 0 ? (t.strm.data_type === RR && (t.strm.data_type = XR(t)), hv(t, t.l_desc), hv(t, t.d_desc), a = KR(t), i = t.opt_len + 3 + 7 >>> 3, o = t.static_len + 3 + 7 >>> 3, o <= i && (i = o)) : i = o = r + 5, r + 4 <= i && e !== -1 ? Yw(t, e, r, n) : t.strategy === FR || o === i ? (vn(t, (Iw << 1) + (n ? 1 : 0), 3), ob(t, po, pu)) : (vn(t, (MR << 1) + (n ? 1 : 0), 3), GR(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, a + 1), ob(t, t.dyn_ltree, t.dyn_dtree)), Gw(t), n && Xw(t); 19445} 19446function QR(t, e, r) { 19447 return t.pending_buf[t.d_buf + t.last_lit * 2] = e >>> 8 & 255, t.pending_buf[t.d_buf + t.last_lit * 2 + 1] = e & 255, t.pending_buf[t.l_buf + t.last_lit] = r & 255, t.last_lit++, e === 0 ? t.dyn_ltree[r * 2]++ : (t.matches++, e--, t.dyn_ltree[(Ru[r] + uc + 1) * 2]++, t.dyn_dtree[Ww(e) * 2]++), t.last_lit === t.lit_bufsize - 1; 19448} 19449sl._tr_init = YR; 19450sl._tr_stored_block = Yw; 19451sl._tr_flush_block = JR; 19452sl._tr_tally = QR; 19453sl._tr_align = ZR; 19454function $R(t, e, r, n) { 19455 for (var i = t & 65535 | 0, o = t >>> 16 & 65535 | 0, a = 0; r !== 0; ) { 19456 a = r > 2e3 ? 2e3 : r, r -= a; 19457 do 19458 i = i + e[n++] | 0, o = o + i | 0; 19459 while (--a); 19460 i %= 65521, o %= 65521; 19461 } 19462 return i | o << 16 | 0; 19463} 19464var Zw = $R; 19465function eI() { 19466 for (var t, e = [], r = 0; r < 256; r++) { 19467 t = r; 19468 for (var n = 0; n < 8; n++) 19469 t = t & 1 ? 3988292384 ^ t >>> 1 : t >>> 1; 19470 e[r] = t; 19471 } 19472 return e; 19473} 19474var tI = eI(); 19475function rI(t, e, r, n) { 19476 var i = tI, o = n + r; 19477 t ^= -1; 19478 for (var a = n; a < o; a++) 19479 t = t >>> 8 ^ i[(t ^ e[a]) & 255]; 19480 return t ^ -1; 19481} 19482var Jw = rI, I0 = { 19483 2: "need dictionary", 19484 /* Z_NEED_DICT 2 */ 19485 1: "stream end", 19486 /* Z_STREAM_END 1 */ 19487 0: "", 19488 /* Z_OK 0 */ 19489 "-1": "file error", 19490 /* Z_ERRNO (-1) */ 19491 "-2": "stream error", 19492 /* Z_STREAM_ERROR (-2) */ 19493 "-3": "data error", 19494 /* Z_DATA_ERROR (-3) */ 19495 "-4": "insufficient memory", 19496 /* Z_MEM_ERROR (-4) */ 19497 "-5": "buffer error", 19498 /* Z_BUF_ERROR (-5) */ 19499 "-6": "incompatible version" 19500 /* Z_VERSION_ERROR (-6) */ 19501}, tn = Co, Zn = sl, Qw = Zw, Lo = Jw, nI = I0, ns = 0, iI = 1, oI = 3, Zo = 4, ub = 5, Ui = 0, cb = 1, Jn = -2, aI = -3, lp = -5, sI = -1, lI = 1, jc = 2, uI = 3, cI = 4, fI = 0, dI = 2, Hd = 8, hI = 9, pI = 15, vI = 8, gI = 29, mI = 256, pv = mI + 1 + gI, yI = 30, bI = 19, EI = 2 * pv + 1, xI = 15, Nt = 3, Ko = 258, mi = Ko + Nt + 1, wI = 32, zd = 42, vv = 69, bf = 73, Ef = 91, xf = 103, ka = 113, Yl = 666, Ar = 1, cc = 2, Ga = 3, ul = 4, SI = 3; 19502function Go(t, e) { 19503 return t.msg = nI[e], e; 19504} 19505function fb(t) { 19506 return (t << 1) - (t > 4 ? 9 : 0); 19507} 19508function Wo(t) { 19509 for (var e = t.length; --e >= 0; ) 19510 t[e] = 0; 19511} 19512function jo(t) {
vendor: 13,932 bytes, lines 19513-19738
19513 var e = t.state, r = e.pending; 19514 r > t.avail_out && (r = t.avail_out), r !== 0 && (tn.arraySet(t.output, e.pending_buf, e.pending_out, r, t.next_out), t.next_out += r, e.pending_out += r, t.total_out += r, t.avail_out -= r, e.pending -= r, e.pending === 0 && (e.pending_out = 0)); 19515} 19516function Br(t, e) { 19517 Zn._tr_flush_block(t, t.block_start >= 0 ? t.block_start : -1, t.strstart - t.block_start, e), t.block_start = t.strstart, jo(t.strm); 19518} 19519function Bt(t, e) { 19520 t.pending_buf[t.pending++] = e; 19521} 19522function Vl(t, e) { 19523 t.pending_buf[t.pending++] = e >>> 8 & 255, t.pending_buf[t.pending++] = e & 255; 19524} 19525function _I(t, e, r, n) { 19526 var i = t.avail_in; 19527 return i > n && (i = n), i === 0 ? 0 : (t.avail_in -= i, tn.arraySet(e, t.input, t.next_in, i, r), t.state.wrap === 1 ? t.adler = Qw(t.adler, e, i, r) : t.state.wrap === 2 && (t.adler = Lo(t.adler, e, i, r)), t.next_in += i, t.total_in += i, i); 19528} 19529function $w(t, e) { 19530 var r = t.max_chain_length, n = t.strstart, i, o, a = t.prev_length, s = t.nice_match, u = t.strstart > t.w_size - mi ? t.strstart - (t.w_size - mi) : 0, l = t.window, f = t.w_mask, h = t.prev, g = t.strstart + Ko, d = l[n + a - 1], m = l[n + a]; 19531 t.prev_length >= t.good_match && (r >>= 2), s > t.lookahead && (s = t.lookahead); 19532 do 19533 if (i = e, !(l[i + a] !== m || l[i + a - 1] !== d || l[i] !== l[n] || l[++i] !== l[n + 1])) { 19534 n += 2, i++; 19535 do 19536 ; 19537 while (l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && l[++n] === l[++i] && n < g); 19538 if (o = Ko - (g - n), n = g - Ko, o > a) { 19539 if (t.match_start = e, a = o, o >= s) 19540 break; 19541 d = l[n + a - 1], m = l[n + a]; 19542 } 19543 } 19544 while ((e = h[e & f]) > u && --r !== 0); 19545 return a <= t.lookahead ? a : t.lookahead; 19546} 19547function Xa(t) { 19548 var e = t.w_size, r, n, i, o, a; 19549 do { 19550 if (o = t.window_size - t.lookahead - t.strstart, t.strstart >= e + (e - mi)) { 19551 tn.arraySet(t.window, t.window, e, e, 0), t.match_start -= e, t.strstart -= e, t.block_start -= e, n = t.hash_size, r = n; 19552 do 19553 i = t.head[--r], t.head[r] = i >= e ? i - e : 0; 19554 while (--n); 19555 n = e, r = n; 19556 do 19557 i = t.prev[--r], t.prev[r] = i >= e ? i - e : 0; 19558 while (--n); 19559 o += e; 19560 } 19561 if (t.strm.avail_in === 0) 19562 break; 19563 if (n = _I(t.strm, t.window, t.strstart + t.lookahead, o), t.lookahead += n, t.lookahead + t.insert >= Nt) 19564 for (a = t.strstart - t.insert, t.ins_h = t.window[a], t.ins_h = (t.ins_h << t.hash_shift ^ t.window[a + 1]) & t.hash_mask; t.insert && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[a + Nt - 1]) & t.hash_mask, t.prev[a & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = a, a++, t.insert--, !(t.lookahead + t.insert < Nt)); ) 19565 ; 19566 } while (t.lookahead < mi && t.strm.avail_in !== 0); 19567} 19568function TI(t, e) { 19569 var r = 65535; 19570 for (r > t.pending_buf_size - 5 && (r = t.pending_buf_size - 5); ; ) { 19571 if (t.lookahead <= 1) { 19572 if (Xa(t), t.lookahead === 0 && e === ns) 19573 return Ar; 19574 if (t.lookahead === 0) 19575 break; 19576 } 19577 t.strstart += t.lookahead, t.lookahead = 0; 19578 var n = t.block_start + r; 19579 if ((t.strstart === 0 || t.strstart >= n) && (t.lookahead = t.strstart - n, t.strstart = n, Br(t, !1), t.strm.avail_out === 0) || t.strstart - t.block_start >= t.w_size - mi && (Br(t, !1), t.strm.avail_out === 0)) 19580 return Ar; 19581 } 19582 return t.insert = 0, e === Zo ? (Br(t, !0), t.strm.avail_out === 0 ? Ga : ul) : (t.strstart > t.block_start && (Br(t, !1), t.strm.avail_out === 0), Ar); 19583} 19584function up(t, e) { 19585 for (var r, n; ; ) { 19586 if (t.lookahead < mi) { 19587 if (Xa(t), t.lookahead < mi && e === ns) 19588 return Ar; 19589 if (t.lookahead === 0) 19590 break; 19591 } 19592 if (r = 0, t.lookahead >= Nt && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + Nt - 1]) & t.hash_mask, r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), r !== 0 && t.strstart - r <= t.w_size - mi && (t.match_length = $w(t, r)), t.match_length >= Nt) 19593 if (n = Zn._tr_tally(t, t.strstart - t.match_start, t.match_length - Nt), t.lookahead -= t.match_length, t.match_length <= t.max_lazy_match && t.lookahead >= Nt) { 19594 t.match_length--; 19595 do 19596 t.strstart++, t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + Nt - 1]) & t.hash_mask, r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart; 19597 while (--t.match_length !== 0); 19598 t.strstart++; 19599 } else 19600 t.strstart += t.match_length, t.match_length = 0, t.ins_h = t.window[t.strstart], t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + 1]) & t.hash_mask; 19601 else 19602 n = Zn._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++; 19603 if (n && (Br(t, !1), t.strm.avail_out === 0)) 19604 return Ar; 19605 } 19606 return t.insert = t.strstart < Nt - 1 ? t.strstart : Nt - 1, e === Zo ? (Br(t, !0), t.strm.avail_out === 0 ? Ga : ul) : t.last_lit && (Br(t, !1), t.strm.avail_out === 0) ? Ar : cc; 19607} 19608function Es(t, e) { 19609 for (var r, n, i; ; ) { 19610 if (t.lookahead < mi) { 19611 if (Xa(t), t.lookahead < mi && e === ns) 19612 return Ar; 19613 if (t.lookahead === 0) 19614 break; 19615 } 19616 if (r = 0, t.lookahead >= Nt && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + Nt - 1]) & t.hash_mask, r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), t.prev_length = t.match_length, t.prev_match = t.match_start, t.match_length = Nt - 1, r !== 0 && t.prev_length < t.max_lazy_match && t.strstart - r <= t.w_size - mi && (t.match_length = $w(t, r), t.match_length <= 5 && (t.strategy === lI || t.match_length === Nt && t.strstart - t.match_start > 4096) && (t.match_length = Nt - 1)), t.prev_length >= Nt && t.match_length <= t.prev_length) { 19617 i = t.strstart + t.lookahead - Nt, n = Zn._tr_tally(t, t.strstart - 1 - t.prev_match, t.prev_length - Nt), t.lookahead -= t.prev_length - 1, t.prev_length -= 2; 19618 do 19619 ++t.strstart <= i && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + Nt - 1]) & t.hash_mask, r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart); 19620 while (--t.prev_length !== 0); 19621 if (t.match_available = 0, t.match_length = Nt - 1, t.strstart++, n && (Br(t, !1), t.strm.avail_out === 0)) 19622 return Ar; 19623 } else if (t.match_available) { 19624 if (n = Zn._tr_tally(t, 0, t.window[t.strstart - 1]), n && Br(t, !1), t.strstart++, t.lookahead--, t.strm.avail_out === 0) 19625 return Ar; 19626 } else 19627 t.match_available = 1, t.strstart++, t.lookahead--; 19628 } 19629 return t.match_available && (n = Zn._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < Nt - 1 ? t.strstart : Nt - 1, e === Zo ? (Br(t, !0), t.strm.avail_out === 0 ? Ga : ul) : t.last_lit && (Br(t, !1), t.strm.avail_out === 0) ? Ar : cc; 19630} 19631function CI(t, e) { 19632 for (var r, n, i, o, a = t.window; ; ) { 19633 if (t.lookahead <= Ko) { 19634 if (Xa(t), t.lookahead <= Ko && e === ns) 19635 return Ar; 19636 if (t.lookahead === 0) 19637 break; 19638 } 19639 if (t.match_length = 0, t.lookahead >= Nt && t.strstart > 0 && (i = t.strstart - 1, n = a[i], n === a[++i] && n === a[++i] && n === a[++i])) { 19640 o = t.strstart + Ko; 19641 do 19642 ; 19643 while (n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && n === a[++i] && i < o); 19644 t.match_length = Ko - (o - i), t.match_length > t.lookahead && (t.match_length = t.lookahead); 19645 } 19646 if (t.match_length >= Nt ? (r = Zn._tr_tally(t, 1, t.match_length - Nt), t.lookahead -= t.match_length, t.strstart += t.match_length, t.match_length = 0) : (r = Zn._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++), r && (Br(t, !1), t.strm.avail_out === 0)) 19647 return Ar; 19648 } 19649 return t.insert = 0, e === Zo ? (Br(t, !0), t.strm.avail_out === 0 ? Ga : ul) : t.last_lit && (Br(t, !1), t.strm.avail_out === 0) ? Ar : cc; 19650} 19651function OI(t, e) { 19652 for (var r; ; ) { 19653 if (t.lookahead === 0 && (Xa(t), t.lookahead === 0)) { 19654 if (e === ns) 19655 return Ar; 19656 break; 19657 } 19658 if (t.match_length = 0, r = Zn._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++, r && (Br(t, !1), t.strm.avail_out === 0)) 19659 return Ar; 19660 } 19661 return t.insert = 0, e === Zo ? (Br(t, !0), t.strm.avail_out === 0 ? Ga : ul) : t.last_lit && (Br(t, !1), t.strm.avail_out === 0) ? Ar : cc; 19662} 19663function ki(t, e, r, n, i) { 19664 this.good_length = t, this.max_lazy = e, this.nice_length = r, this.max_chain = n, this.func = i; 19665} 19666var Fs; 19667Fs = [ 19668 /* good lazy nice chain */ 19669 new ki(0, 0, 0, 0, TI), 19670 /* 0 store only */ 19671 new ki(4, 4, 8, 4, up), 19672 /* 1 max speed, no lazy matches */ 19673 new ki(4, 5, 16, 8, up), 19674 /* 2 */ 19675 new ki(4, 6, 32, 32, up), 19676 /* 3 */ 19677 new ki(4, 4, 16, 16, Es), 19678 /* 4 lazy matches */ 19679 new ki(8, 16, 32, 32, Es), 19680 /* 5 */ 19681 new ki(8, 16, 128, 128, Es), 19682 /* 6 */ 19683 new ki(8, 32, 128, 256, Es), 19684 /* 7 */ 19685 new ki(32, 128, 258, 1024, Es), 19686 /* 8 */ 19687 new ki(32, 258, 258, 4096, Es) 19688 /* 9 max compression */ 19689]; 19690function AI(t) { 19691 t.window_size = 2 * t.w_size, Wo(t.head), t.max_lazy_match = Fs[t.level].max_lazy, t.good_match = Fs[t.level].good_length, t.nice_match = Fs[t.level].nice_length, t.max_chain_length = Fs[t.level].max_chain, t.strstart = 0, t.block_start = 0, t.lookahead = 0, t.insert = 0, t.match_length = t.prev_length = Nt - 1, t.match_available = 0, t.ins_h = 0; 19692} 19693function NI() { 19694 this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = Hd, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new tn.Buf16(EI * 2), this.dyn_dtree = new tn.Buf16((2 * yI + 1) * 2), this.bl_tree = new tn.Buf16((2 * bI + 1) * 2), Wo(this.dyn_ltree), Wo(this.dyn_dtree), Wo(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new tn.Buf16(xI + 1), this.heap = new tn.Buf16(2 * pv + 1), Wo(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new tn.Buf16(2 * pv + 1), Wo(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0; 19695} 19696function eS(t) { 19697 var e; 19698 return !t || !t.state ? Go(t, Jn) : (t.total_in = t.total_out = 0, t.data_type = dI, e = t.state, e.pending = 0, e.pending_out = 0, e.wrap < 0 && (e.wrap = -e.wrap), e.status = e.wrap ? zd : ka, t.adler = e.wrap === 2 ? 0 : 1, e.last_flush = ns, Zn._tr_init(e), Ui); 19699} 19700function tS(t) { 19701 var e = eS(t); 19702 return e === Ui && AI(t.state), e; 19703} 19704function kI(t, e) { 19705 return !t || !t.state || t.state.wrap !== 2 ? Jn : (t.state.gzhead = e, Ui); 19706} 19707function rS(t, e, r, n, i, o) { 19708 if (!t) 19709 return Jn; 19710 var a = 1; 19711 if (e === sI && (e = 6), n < 0 ? (a = 0, n = -n) : n > 15 && (a = 2, n -= 16), i < 1 || i > hI || r !== Hd || n < 8 || n > 15 || e < 0 || e > 9 || o < 0 || o > cI) 19712 return Go(t, Jn); 19713 n === 8 && (n = 9); 19714 var s = new NI(); 19715 return t.state = s, s.strm = t, s.wrap = a, s.gzhead = null, s.w_bits = n, s.w_size = 1 << s.w_bits, s.w_mask = s.w_size - 1, s.hash_bits = i + 7, s.hash_size = 1 << s.hash_bits, s.hash_mask = s.hash_size - 1, s.hash_shift = ~~((s.hash_bits + Nt - 1) / Nt), s.window = new tn.Buf8(s.w_size * 2), s.head = new tn.Buf16(s.hash_size), s.prev = new tn.Buf16(s.w_size), s.lit_bufsize = 1 << i + 6, s.pending_buf_size = s.lit_bufsize * 4, s.pending_buf = new tn.Buf8(s.pending_buf_size), s.d_buf = 1 * s.lit_bufsize, s.l_buf = (1 + 2) * s.lit_bufsize, s.level = e, s.strategy = o, s.method = r, tS(t); 19716} 19717function DI(t, e) { 19718 return rS(t, e, Hd, pI, vI, fI); 19719} 19720function PI(t, e) { 19721 var r, n, i, o; 19722 if (!t || !t.state || e > ub || e < 0) 19723 return t ? Go(t, Jn) : Jn; 19724 if (n = t.state, !t.output || !t.input && t.avail_in !== 0 || n.status === Yl && e !== Zo) 19725 return Go(t, t.avail_out === 0 ? lp : Jn); 19726 if (n.strm = t, r = n.last_flush, n.last_flush = e, n.status === zd) 19727 if (n.wrap === 2) 19728 t.adler = 0, Bt(n, 31), Bt(n, 139), Bt(n, 8), n.gzhead ? (Bt( 19729 n, 19730 (n.gzhead.text ? 1 : 0) + (n.gzhead.hcrc ? 2 : 0) + (n.gzhead.extra ? 4 : 0) + (n.gzhead.name ? 8 : 0) + (n.gzhead.comment ? 16 : 0) 19731 ), Bt(n, n.gzhead.time & 255), Bt(n, n.gzhead.time >> 8 & 255), Bt(n, n.gzhead.time >> 16 & 255), Bt(n, n.gzhead.time >> 24 & 255), Bt(n, n.level === 9 ? 2 : n.strategy >= jc || n.level < 2 ? 4 : 0), Bt(n, n.gzhead.os & 255), n.gzhead.extra && n.gzhead.extra.length && (Bt(n, n.gzhead.extra.length & 255), Bt(n, n.gzhead.extra.length >> 8 & 255)), n.gzhead.hcrc && (t.adler = Lo(t.adler, n.pending_buf, n.pending, 0)), n.gzindex = 0, n.status = vv) : (Bt(n, 0), Bt(n, 0), Bt(n, 0), Bt(n, 0), Bt(n, 0), Bt(n, n.level === 9 ? 2 : n.strategy >= jc || n.level < 2 ? 4 : 0), Bt(n, SI), n.status = ka); 19732 else { 19733 var a = Hd + (n.w_bits - 8 << 4) << 8, s = -1; 19734 n.strategy >= jc || n.level < 2 ? s = 0 : n.level < 6 ? s = 1 : n.level === 6 ? s = 2 : s = 3, a |= s << 6, n.strstart !== 0 && (a |= wI), a += 31 - a % 31, n.status = ka, Vl(n, a), n.strstart !== 0 && (Vl(n, t.adler >>> 16), Vl(n, t.adler & 65535)), t.adler = 1; 19735 } 19736 if (n.status === vv) 19737 if (n.gzhead.extra) { 19738 for (i = n.pending;
19738 n.gzindex < (n.gzhead.extra.length & 65535) && !(n.pending === n.pending_buf_size && (n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), jo(t), i = n.pending, n.pending === n.pending_buf_size)); ) 19739 Bt(n, n.gzhead.extra[n.gzindex] & 255), n.gzindex++; 19740 n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), n.gzindex === n.gzhead.extra.length && (n.gzindex = 0, n.status = bf); 19741 } else 19742 n.status = bf; 19743 if (n.status === bf) 19744 if (n.gzhead.name) { 19745 i = n.pending; 19746 do { 19747 if (n.pending === n.pending_buf_size && (n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), jo(t), i = n.pending, n.pending === n.pending_buf_size)) { 19748 o = 1; 19749 break; 19750 } 19751 n.gzindex < n.gzhead.name.length ? o = n.gzhead.name.charCodeAt(n.gzindex++) & 255 : o = 0, Bt(n, o); 19752 } while (o !== 0); 19753 n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), o === 0 && (n.gzindex = 0, n.status = Ef); 19754 } else 19755 n.status = Ef; 19756 if (n.status === Ef) 19757 if (n.gzhead.comment) { 19758 i = n.pending; 19759 do { 19760 if (n.pending === n.pending_buf_size && (n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), jo(t), i = n.pending, n.pending === n.pending_buf_size)) { 19761 o = 1; 19762 break; 19763 } 19764 n.gzindex < n.gzhead.comment.length ? o = n.gzhead.comment.charCodeAt(n.gzindex++) & 255 : o = 0, Bt(n, o); 19765 } while (o !== 0); 19766 n.gzhead.hcrc && n.pending > i && (t.adler = Lo(t.adler, n.pending_buf, n.pending - i, i)), o === 0 && (n.status = xf); 19767 } else 19768 n.status = xf; 19769 if (n.status === xf && (n.gzhead.hcrc ? (n.pending + 2 >
vendor: 9,567 bytes, lines 19769-19960
19769 n.pending_buf_size && jo(t), n.pending + 2 <= n.pending_buf_size && (Bt(n, t.adler & 255), Bt(n, t.adler >> 8 & 255), t.adler = 0, n.status = ka)) : n.status = ka), n.pending !== 0) { 19770 if (jo(t), t.avail_out === 0) 19771 return n.last_flush = -1, Ui; 19772 } else if (t.avail_in === 0 && fb(e) <= fb(r) && e !== Zo) 19773 return Go(t, lp); 19774 if (n.status === Yl && t.avail_in !== 0) 19775 return Go(t, lp); 19776 if (t.avail_in !== 0 || n.lookahead !== 0 || e !== ns && n.status !== Yl) { 19777 var u = n.strategy === jc ? OI(n, e) : n.strategy === uI ? CI(n, e) : Fs[n.level].func(n, e); 19778 if ((u === Ga || u === ul) && (n.status = Yl), u === Ar || u === Ga) 19779 return t.avail_out === 0 && (n.last_flush = -1), Ui; 19780 if (u === cc && (e === iI ? Zn._tr_align(n) : e !== ub && (Zn._tr_stored_block(n, 0, 0, !1), e === oI && (Wo(n.head), n.lookahead === 0 && (n.strstart = 0, n.block_start = 0, n.insert = 0))), jo(t), t.avail_out === 0)) 19781 return n.last_flush = -1, Ui; 19782 } 19783 return e !== Zo ? Ui : n.wrap <= 0 ? cb : (n.wrap === 2 ? (Bt(n, t.adler & 255), Bt(n, t.adler >> 8 & 255), Bt(n, t.adler >> 16 & 255), Bt(n, t.adler >> 24 & 255), Bt(n, t.total_in & 255), Bt(n, t.total_in >> 8 & 255), Bt(n, t.total_in >> 16 & 255), Bt(n, t.total_in >> 24 & 255)) : (Vl(n, t.adler >>> 16), Vl(n, t.adler & 65535)), jo(t), n.wrap > 0 && (n.wrap = -n.wrap), n.pending !== 0 ? Ui : cb); 19784} 19785function FI(t) { 19786 var e; 19787 return !t || !t.state ? Jn : (e = t.state.status, e !== zd && e !== vv && e !== bf && e !== Ef && e !== xf && e !== ka && e !== Yl ? Go(t, Jn) : (t.state = null, e === ka ? Go(t, aI) : Ui)); 19788} 19789function RI(t, e) { 19790 var r = e.length, n, i, o, a, s, u, l, f; 19791 if (!t || !t.state || (n = t.state, a = n.wrap, a === 2 || a === 1 && n.status !== zd || n.lookahead)) 19792 return Jn; 19793 for (a === 1 && (t.adler = Qw(t.adler, e, r, 0)), n.wrap = 0, r >= n.w_size && (a === 0 && (Wo(n.head), n.strstart = 0, n.block_start = 0, n.insert = 0), f = new tn.Buf8(n.w_size), tn.arraySet(f, e, r - n.w_size, n.w_size, 0), e = f, r = n.w_size), s = t.avail_in, u = t.next_in, l = t.input, t.avail_in = r, t.next_in = 0, t.input = e, Xa(n); n.lookahead >= Nt; ) { 19794 i = n.strstart, o = n.lookahead - (Nt - 1); 19795 do 19796 n.ins_h = (n.ins_h << n.hash_shift ^ n.window[i + Nt - 1]) & n.hash_mask, n.prev[i & n.w_mask] = n.head[n.ins_h], n.head[n.ins_h] = i, i++; 19797 while (--o); 19798 n.strstart = i, n.lookahead = Nt - 1, Xa(n); 19799 } 19800 return n.strstart += n.lookahead, n.block_start = n.strstart, n.insert = n.lookahead, n.lookahead = 0, n.match_length = n.prev_length = Nt - 1, n.match_available = 0, t.next_in = u, t.input = l, t.avail_in = s, n.wrap = a, Ui; 19801} 19802Qi.deflateInit = DI; 19803Qi.deflateInit2 = rS; 19804Qi.deflateReset = tS; 19805Qi.deflateResetKeep = eS; 19806Qi.deflateSetHeader = kI; 19807Qi.deflate = PI; 19808Qi.deflateEnd = FI; 19809Qi.deflateSetDictionary = RI; 19810Qi.deflateInfo = "pako deflate (from Nodeca project)"; 19811var is = {}, Wd = Co, nS = !0, iS = !0; 19812try { 19813 String.fromCharCode.apply(null, [0]); 19814} catch { 19815 nS = !1; 19816} 19817try { 19818 String.fromCharCode.apply(null, new Uint8Array(1)); 19819} catch { 19820 iS = !1; 19821} 19822var Mu = new Wd.Buf8(256); 19823for (var Io = 0; Io < 256; Io++) 19824 Mu[Io] = Io >= 252 ? 6 : Io >= 248 ? 5 : Io >= 240 ? 4 : Io >= 224 ? 3 : Io >= 192 ? 2 : 1; 19825Mu[254] = Mu[254] = 1; 19826is.string2buf = function(t) { 19827 var e, r, n, i, o, a = t.length, s = 0; 19828 for (i = 0; i < a; i++) 19829 r = t.charCodeAt(i), (r & 64512) === 55296 && i + 1 < a && (n = t.charCodeAt(i + 1), (n & 64512) === 56320 && (r = 65536 + (r - 55296 << 10) + (n - 56320), i++)), s += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4; 19830 for (e = new Wd.Buf8(s), o = 0, i = 0; o < s; i++) 19831 r = t.charCodeAt(i), (r & 64512) === 55296 && i + 1 < a && (n = t.charCodeAt(i + 1), (n & 64512) === 56320 && (r = 65536 + (r - 55296 << 10) + (n - 56320), i++)), r < 128 ? e[o++] = r : r < 2048 ? (e[o++] = 192 | r >>> 6, e[o++] = 128 | r & 63) : r < 65536 ? (e[o++] = 224 | r >>> 12, e[o++] = 128 | r >>> 6 & 63, e[o++] = 128 | r & 63) : (e[o++] = 240 | r >>> 18, e[o++] = 128 | r >>> 12 & 63, e[o++] = 128 | r >>> 6 & 63, e[o++] = 128 | r & 63); 19832 return e; 19833}; 19834function oS(t, e) { 19835 if (e < 65534 && (t.subarray && iS || !t.subarray && nS)) 19836 return String.fromCharCode.apply(null, Wd.shrinkBuf(t, e)); 19837 for (var r = "", n = 0; n < e; n++) 19838 r += String.fromCharCode(t[n]); 19839 return r; 19840} 19841is.buf2binstring = function(t) { 19842 return oS(t, t.length); 19843}; 19844is.binstring2buf = function(t) { 19845 for (var e = new Wd.Buf8(t.length), r = 0, n = e.length; r < n; r++) 19846 e[r] = t.charCodeAt(r); 19847 return e; 19848}; 19849is.buf2string = function(t, e) { 19850 var r, n, i, o, a = e || t.length, s = new Array(a * 2); 19851 for (n = 0, r = 0; r < a; ) { 19852 if (i = t[r++], i < 128) { 19853 s[n++] = i; 19854 continue; 19855 } 19856 if (o = Mu[i], o > 4) { 19857 s[n++] = 65533, r += o - 1; 19858 continue; 19859 } 19860 for (i &= o === 2 ? 31 : o === 3 ? 15 : 7; o > 1 && r < a; ) 19861 i = i << 6 | t[r++] & 63, o--; 19862 if (o > 1) { 19863 s[n++] = 65533; 19864 continue; 19865 } 19866 i < 65536 ? s[n++] = i : (i -= 65536, s[n++] = 55296 | i >> 10 & 1023, s[n++] = 56320 | i & 1023); 19867 } 19868 return oS(s, n); 19869}; 19870is.utf8border = function(t, e) { 19871 var r; 19872 for (e = e || t.length, e > t.length && (e = t.length), r = e - 1; r >= 0 && (t[r] & 192) === 128; ) 19873 r--; 19874 return r < 0 || r === 0 ? e : r + Mu[t[r]] > e ? r : e; 19875}; 19876function II() { 19877 this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0; 19878} 19879var aS = II, vu = Qi, gu = Co, gv = is, mv = I0, MI = aS, sS = Object.prototype.toString, VI = 0, cp = 4, Us = 0, db = 1, hb = 2, LI = -1, jI = 0, BI = 8; 19880function Ya(t) { 19881 if (!(this instanceof Ya)) 19882 return new Ya(t); 19883 this.options = gu.assign({ 19884 level: LI, 19885 method: BI, 19886 chunkSize: 16384, 19887 windowBits: 15, 19888 memLevel: 8, 19889 strategy: jI, 19890 to: "" 19891 }, t || {}); 19892 var e = this.options; 19893 e.raw && e.windowBits > 0 ? e.windowBits = -e.windowBits : e.gzip && e.windowBits > 0 && e.windowBits < 16 && (e.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new MI(), this.strm.avail_out = 0; 19894 var r = vu.deflateInit2( 19895 this.strm, 19896 e.level, 19897 e.method, 19898 e.windowBits, 19899 e.memLevel, 19900 e.strategy 19901 ); 19902 if (r !== Us) 19903 throw new Error(mv[r]); 19904 if (e.header && vu.deflateSetHeader(this.strm, e.header), e.dictionary) { 19905 var n; 19906 if (typeof e.dictionary == "string" ? n = gv.string2buf(e.dictionary) : sS.call(e.dictionary) === "[object ArrayBuffer]" ? n = new Uint8Array(e.dictionary) : n = e.dictionary, r = vu.deflateSetDictionary(this.strm, n), r !== Us) 19907 throw new Error(mv[r]); 19908 this._dict_set = !0; 19909 } 19910} 19911Ya.prototype.push = function(t, e) { 19912 var r = this.strm, n = this.options.chunkSize, i, o; 19913 if (this.ended) 19914 return !1; 19915 o = e === ~~e ? e : e === !0 ? cp : VI, typeof t == "string" ? r.input = gv.string2buf(t) : sS.call(t) === "[object ArrayBuffer]" ? r.input = new Uint8Array(t) : r.input = t, r.next_in = 0, r.avail_in = r.input.length; 19916 do { 19917 if (r.avail_out === 0 && (r.output = new gu.Buf8(n), r.next_out = 0, r.avail_out = n), i = vu.deflate(r, o), i !== db && i !== Us) 19918 return this.onEnd(i), this.ended = !0, !1; 19919 (r.avail_out === 0 || r.avail_in === 0 && (o === cp || o === hb)) && (this.options.to === "string" ? this.onData(gv.buf2binstring(gu.shrinkBuf(r.output, r.next_out))) : this.onData(gu.shrinkBuf(r.output, r.next_out))); 19920 } while ((r.avail_in > 0 || r.avail_out === 0) && i !== db); 19921 return o === cp ? (i = vu.deflateEnd(this.strm), this.onEnd(i), this.ended = !0, i === Us) : (o === hb && (this.onEnd(Us), r.avail_out = 0), !0); 19922}; 19923Ya.prototype.onData = function(t) { 19924 this.chunks.push(t); 19925}; 19926Ya.prototype.onEnd = function(t) { 19927 t === Us && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = gu.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg; 19928}; 19929function M0(t, e) { 19930 var r = new Ya(e); 19931 if (r.push(t, !0), r.err) 19932 throw r.msg || mv[r.err]; 19933 return r.result; 19934} 19935function UI(t, e) { 19936 return e = e || {}, e.raw = !0, M0(t, e); 19937} 19938function HI(t, e) { 19939 return e = e || {}, e.gzip = !0, M0(t, e); 19940} 19941lc.Deflate = Ya; 19942lc.deflate = M0; 19943lc.deflateRaw = UI; 19944lc.gzip = HI; 19945var fc = {}, _i = {}, Bc = 30, zI = 12, WI = function(e, r) { 19946 var n, i, o, a, s, u, l, f, h, g, d, m, b, S, w, D, T, _, x, p, N, V, P, M, U; 19947 n = e.state, i = e.next_in, M = e.input, o = i + (e.avail_in - 5), a = e.next_out, U = e.output, s = a - (r - e.avail_out), u = a + (e.avail_out - 257), l = n.dmax, f = n.wsize, h = n.whave, g = n.wnext, d = n.window, m = n.hold, b = n.bits, S = n.lencode, w = n.distcode, D = (1 << n.lenbits) - 1, T = (1 << n.distbits) - 1; 19948 e: 19949 do { 19950 b < 15 && (m += M[i++] << b, b += 8, m += M[i++] << b, b += 8), _ = S[m & D]; 19951 t: 19952 for (; ; ) { 19953 if (x = _ >>> 24, m >>>= x, b -= x, x = _ >>> 16 & 255, x === 0) 19954 U[a++] = _ & 65535; 19955 else if (x & 16) { 19956 p = _ & 65535, x &= 15, x && (b < x && (m += M[i++] << b, b += 8), p += m & (1 << x) - 1, m >>>= x, b -= x), b < 15 && (m += M[i++] << b, b += 8, m += M[i++] << b, b += 8), _ = w[m & T]; 19957 r: 19958 for (; ; ) { 19959 if (x = _ >>> 24, m >>>= x, b -= x, x = _ >>> 16 & 255, x & 16) { 19960 if (N = _ & 65535, x &= 15, b < x && (m += M[i++] << b, b += 8, b < x && (m += M[i++] << b, b += 8)), N += m & (1 << x) - 1, N > l) {
19961 e.msg = "invalid distance too far back", n.mode = Bc; 19962 break e; 19963 } 19964 if (m >>>= x, b -= x, x = a - s, N > x) { 19965 if (x = N - x, x > h && n.sane) { 19966 e.msg = "invalid distance too far back", n.mode = Bc; 19967 break e; 19968 } 19969 if (V = 0, P = d, g === 0) { 19970 if (V += f - x, x < p) { 19971 p -= x; 19972 do 19973 U[a++] = d[V++]; 19974 while (--x); 19975 V = a - N, P = U; 19976 } 19977 } else if (g < x) { 19978 if (V += f + g - x, x -= g, x < p) { 19979 p -= x; 19980 do 19981 U[a++] = d[V++]; 19982 while (--x); 19983 if (V = 0, g < p) { 19984 x = g, p -= x; 19985 do 19986 U[a++] = d[V++]; 19987 while (--x); 19988 V = a - N, P = U; 19989 } 19990 } 19991 } else if (V += g - x, x < p) { 19992 p -= x; 19993 do 19994 U[a++] = d[V++]; 19995 while (--x); 19996 V = a - N, P = U; 19997 } 19998 for (; p > 2; ) 19999 U[a++] = P[V++], U[a++] = P[V++], U[a++] = P[V++], p -= 3; 20000 p && (U[a++] = P[V++], p > 1 && (U[a++] = P[V++])); 20001 } else { 20002 V = a - N; 20003 do 20004 U[a++] = U[V++], U[a++] = U[V++], U[a++] = U[V++], p -= 3; 20005 while (p > 2); 20006 p && (U[a++] = U[V++], p > 1 && (U[a++] = U[V++])); 20007 } 20008 } else if (x & 64) { 20009 e.msg = "invalid distance code", n.mode = Bc; 20010 break e; 20011 } else { 20012 _ = w[(_ & 65535) + (m & (1 << x) - 1)]; 20013 continue r; 20014 } 20015 break; 20016 } 20017 } else if (x & 64) 20018 if (x & 32) { 20019 n.mode = zI; 20020 break e; 20021 } else { 20022 e.msg = "invalid literal/length code", n.mode = Bc; 20023 break e; 20024 } 20025 else { 20026 _ = S[(_ & 65535) + (m & (1 << x) - 1)]; 20027 continue t; 20028 } 20029 break; 20030 } 20031 } while (i < o && a < u); 20032 p = b >> 3, i -= p, b -= p << 3, m &= (1 << b) - 1, e.next_in = i, e.next_out = a, e.avail_in = i < o ? 5 + (o - i) : 5 - (i - o), e.avail_out = a < u ? 257 + (u - a) : 257 - (a - u), n.hold = m, n.bits = b; 20033}, pb = Co, xs = 15, vb = 852, gb = 592, mb = 0, fp = 1, yb = 2, qI = [ 20034 /* Length codes 257..285 base */ 20035 3, 20036 4, 20037 5, 20038 6, 20039 7, 20040 8, 20041 9, 20042 10, 20043 11, 20044 13, 20045 15, 20046 17, 20047 19, 20048 23, 20049 27, 20050 31, 20051 35, 20052 43, 20053 51, 20054 59, 20055 67, 20056 83, 20057 99, 20058 115, 20059 131, 20060 163, 20061 195, 20062 227, 20063 258, 20064 0, 20065 0 20066], KI = [ 20067 /* Length codes 257..285 extra */ 20068 16, 20069 16, 20070 16, 20071 16, 20072 16, 20073 16, 20074 16, 20075 16, 20076 17, 20077 17, 20078 17, 20079 17, 20080 18, 20081 18, 20082 18, 20083 18, 20084 19, 20085 19, 20086 19, 20087 19, 20088 20, 20089 20, 20090 20, 20091 20, 20092 21, 20093 21, 20094 21, 20095 21, 20096 16, 20097 72, 20098 78 20099], GI = [ 20100 /* Distance codes 0..29 base */ 20101 1, 20102 2, 20103 3, 20104 4, 20105 5, 20106 7, 20107 9, 20108 13, 20109 17, 20110 25, 20111 33, 20112 49, 20113 65, 20114 97, 20115 129, 20116 193, 20117 257, 20118 385, 20119 513, 20120 769, 20121 1025, 20122 1537, 20123 2049, 20124 3073, 20125 4097, 20126 6145, 20127 8193, 20128 12289, 20129 16385, 20130 24577, 20131 0, 20132 0 20133], XI = [ 20134 /* Distance codes 0..29 extra */ 20135 16, 20136 16, 20137 16, 20138 16, 20139 17, 20140 17, 20141 18, 20142 18, 20143 19, 20144 19, 20145 20, 20146 20, 20147 21, 20148 21, 20149 22, 20150 22, 20151 23, 20152 23, 20153 24, 20154 24, 20155 25, 20156 25, 20157 26, 20158 26, 20159 27, 20160 27, 20161 28, 20162 28, 20163 29, 20164 29, 20165 64, 20166 64 20167], YI = function(e, r, n, i, o, a, s, u) { 20168 var l = u.bits, f = 0, h = 0, g = 0, d = 0, m = 0, b = 0, S = 0, w = 0, D = 0, T = 0, _, x, p, N, V, P = null, M = 0, U, re = new pb.Buf16(xs + 1), Q = new pb.Buf16(xs + 1), ne = null, ee = 0, L, Z, G; 20169 for (f = 0; f <= xs; f++) 20170 re[f] = 0; 20171 for (h = 0; h < i; h++) 20172 re[r[n + h]]++; 20173 for (m = l, d = xs; d >= 1 && re[d] === 0; d--) 20174 ; 20175 if (m > d && (m = d), d === 0) 20176 return o[a++] = 1 << 24 | 64 << 16 | 0, o[a++] = 1 << 24 | 64 << 16 | 0, u.bits = 1, 0; 20177 for (g = 1; g < d && re[g] === 0; g++) 20178 ; 20179 for (m < g && (m = g), w = 1, f = 1; f <= xs; f++) 20180 if (w <<= 1, w -= re[f], w < 0) 20181 return -1; 20182 if (w > 0 && (e === mb || d !== 1)) 20183 return -1; 20184 for (Q[1] = 0, f = 1; f < xs; f++) 20185 Q[f + 1] = Q[f] + re[f]; 20186 for (h = 0; h < i; h++) 20187 r[n + h] !== 0 && (s[Q[r[n + h]]++] = h); 20188 if (e === mb ? (P = ne = s, U = 19) : e === fp ? (P = qI, M -= 257, ne = KI, ee -= 257, U = 256) : (P = GI, ne = XI, U = -1), T = 0, h = 0, f = g, V = a, b = m, S = 0, p = -1, D = 1 << m, N = D - 1, e === fp && D > vb || e === yb && D > gb) 20189 return 1; 20190 for (; ; ) { 20191 L = f - S, s[h] < U ? (Z = 0, G = s[h]) : s[h] > U ? (Z = ne[ee + s[h]], G = P[M + s[h]]) : (Z = 32 + 64, G = 0), _ = 1 << f -
20191S, x = 1 << b, g = x; 20192 do 20193 x -= _, o[V + (T >> S) + x] = L << 24 | Z << 16 | G | 0; 20194 while (x !== 0); 20195 for (_ = 1 << f - 1; T & _; ) 20196 _ >>= 1; 20197 if (_ !== 0 ? (T &= _ - 1, T += _) : T = 0, h++, --re[f] === 0) { 20198 if (f === d) 20199 break; 20200 f = r[n + s[h]]; 20201 } 20202 if (f > m && (T & N) !== p) { 20203 for (S === 0 && (S = m), V += g, b = f - S, w = 1 << b; b + S < d && (w -= re[b + S], !(w <= 0)); ) 20204 b++, w <<= 1; 20205 if (D += 1 << b, e === fp && D > vb || e === yb && D > gb) 20206 return 1; 20207 p = T & N, o[p] = m << 24 | b << 16 | V - a | 0; 20208 } 20209 } 20210 return T !== 0 && (o[V + T] = f - S << 24 | 64 << 16 | 0), u.bits = m, 0; 20211}, Tn = Co, yv = Zw, Di = Jw, ZI = WI, mu = YI, JI = 0, lS = 1, uS = 2, bb = 4, QI = 5, Uc = 6, Za = 0, $I = 1, eM = 2, $n = -2, cS = -3, fS = -4, tM = -5, Eb = 8, dS = 1, xb = 2, wb = 3, Sb = 4, _b = 5, Tb = 6, Cb = 7, Ob = 8, Ab = 9, Nb = 10, $f = 11, no = 12, dp = 13, kb = 14, hp = 15, Db = 16, Pb = 17, Fb = 18, Rb = 19, Hc = 20, zc = 21, Ib = 22, Mb = 23, Vb = 24, Lb = 25, jb = 26, pp = 27, Bb = 28, Ub = 29, or = 30, hS = 31, rM = 32, nM = 852, iM = 592, oM = 15, aM = oM; 20212function Hb(t) { 20213 return (t >>> 24 & 255) + (t >>> 8 & 65280) + ((t & 65280) << 8) + ((t & 255) << 24); 20214} 20215function sM() { 20216 this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new Tn.Buf16(320), this.work = new Tn.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0; 20217} 20218function pS(t) { 20219 var e; 20220 return !t || !t.state ? $n : (e = t.state, t.total_in = t.total_out = e.total = 0, t.msg = "", e.wrap && (t.adler = e.wrap & 1), e.mode = dS, e.last = 0, e.havedict = 0, e.dmax = 32768, e.head = null, e.hold = 0, e.bits = 0, e.lencode = e.lendyn = new Tn.Buf32(nM), e.distcode = e.distdyn = new Tn.Buf32(iM), e.sane = 1, e.back = -1, Za); 20221} 20222function vS(t) { 20223 var e; 20224 return !t || !t.state ? $n : (e = t.state, e.wsize = 0, e.whave = 0, e.wnext = 0, pS(t)); 20225} 20226function gS(t, e) { 20227 var r, n; 20228 return !t || !t.state || (n = t.state, e < 0 ? (r = 0, e = -e) : (r = (e >> 4) + 1, e < 48 && (e &= 15)), e && (e < 8 || e > 15)) ? $n : (n.window !== null && n.wbits !== e && (n.window = null), n.wrap = r, n.wbits = e, vS(t)); 20229} 20230function mS(t, e) { 20231 var r, n; 20232 return t ? (n = new sM(), t.state = n, n.window = null, r = gS(t, e), r !== Za && (t.state = null), r) : $n; 20233} 20234function lM(t) { 20235 return mS(t, aM); 20236} 20237var zb = !0, vp, gp; 20238function uM(t) { 20239 if (zb) { 20240 var e; 20241 for (vp = new Tn.Buf32(512), gp = new Tn.Buf32(32), e = 0; e < 144; ) 20242 t.lens[e++] = 8; 20243 for (; e < 256; ) 20244 t.lens[e++] = 9; 20245 for (; e < 280; ) 20246 t.lens[e++] = 7; 20247 for (; e < 288; ) 20248 t.lens[e++] = 8; 20249 for (mu(lS, t.lens, 0, 288, vp, 0, t.work, { bits: 9 }), e = 0; e < 32; ) 20250 t.lens[e++] = 5; 20251 mu(uS, t.lens, 0, 32, gp, 0, t.work, { bits: 5 }), zb = !1; 20252 } 20253 t.lencode = vp, t.lenbits = 9, t.distcode = gp, t.distbits = 5; 20254} 20255function yS(t, e, r, n) { 20256 var i, o = t.state; 20257 return o.window === null && (o.wsize = 1 << o.wbits, o.wnext = 0, o.whave = 0, o.window = new Tn.Buf8(o.wsize)), n >= o.wsize ? (Tn.arraySet(o.window, e, r - o.wsize, o.wsize, 0), o.wnext = 0, o.whave = o.wsize) : (i = o.wsize - o.wnext, i > n && (i = n), Tn.arraySet(o.window, e, r - n, i, o.wnext), n -= i, n ? (Tn.arraySet(o.window, e, r - n, n, 0), o.wnext = n, o.whave = o.wsize) : (o.wnext += i, o.wnext === o.wsize && (o.wnext = 0), o.whave < o.wsize && (o.whave += i))), 0; 20258} 20259function cM(t, e) { 20260 var r, n, i, o, a, s, u, l, f, h, g, d, m, b, S = 0, w, D, T, _, x, p, N, V, P = new Tn.Buf8(4), M, U, re = ( 20261 /* permutation of code lengths */ 20262 [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15] 20263 ); 20264 if (!t || !t.state || !t.output || !t.input && t.avail_in !== 0) 20265 return $n; 20266 r = t.state, r.mode === no && (r.mode = dp), a = t.next_out, i = t.output, u = t.avail_out, o = t.next_in, n = t.input, s = t.avail_in, l = r.hold, f = r.bits, h = s, g = u, V = Za; 20267 e: 20268 for (; ; ) 20269 switch (r.mode) { 20270 case dS: 20271 if (r.wrap === 0) { 20272 r.mode = dp; 20273 break; 20274 } 20275 for (; f < 16; ) { 20276 if (s === 0) 20277 break e; 20278 s--, l += n[o++] << f, f += 8; 20279 } 20280 if (r.wrap & 2 && l === 35615) {
20281 r.check = 0, P[0] = l & 255, P[1] = l >>> 8 & 255, r.check = Di(r.check, P, 2, 0), l = 0, f = 0, r.mode = xb; 20282 break; 20283 } 20284 if (r.flags = 0, r.head && (r.head.done = !1), !(r.wrap & 1) || /* check if zlib header allowed */ 20285 (((l & 255) << 8) + (l >> 8)) % 31) { 20286 t.msg = "incorrect header check", r.mode = or; 20287 break; 20288 } 20289 if ((l & 15) !== Eb) { 20290 t.msg = "unknown compression method", r.mode = or; 20291 break; 20292 } 20293 if (l >>>= 4, f -= 4, N = (l & 15) + 8, r.wbits === 0) 20294 r.wbits = N; 20295 else if (N > r.wbits) { 20296 t.msg = "invalid window size", r.mode = or; 20297 break; 20298 } 20299 r.dmax = 1 << N, t.adler = r.check = 1, r.mode = l & 512 ? Nb : no, l = 0, f = 0; 20300 break; 20301 case xb: 20302 for (; f < 16; ) { 20303 if (s === 0) 20304 break e; 20305 s--, l += n[o++] << f, f += 8; 20306 } 20307 if (r.flags = l, (r.flags & 255) !== Eb) { 20308 t.msg = "unknown compression method", r.mode = or; 20309 break; 20310 } 20311 if (r.flags & 57344) { 20312 t.msg = "unknown header flags set", r.mode = or; 20313 break; 20314 } 20315 r.head && (r.head.text = l >> 8 & 1), r.flags & 512 && (P[0] = l & 255, P[1] = l >>> 8 & 255, r.check = Di(r.check, P, 2, 0)), l = 0, f = 0, r.mode = wb; 20316 case wb: 20317 for (; f < 32; ) { 20318 if (s === 0) 20319 break e; 20320 s--, l += n[o++] << f, f += 8; 20321 } 20322 r.head && (r.head.time = l), r.flags & 512 && (P[0] = l & 255, P[1] = l >>> 8 & 255, P[2] = l >>> 16 & 255, P[3] = l >>> 24 & 255, r.check = Di(r.check, P, 4, 0)), l = 0, f = 0, r.mode = Sb; 20323 case Sb: 20324 for (; f < 16; ) { 20325 if (s === 0) 20326 break e; 20327 s--, l += n[o++] << f, f += 8; 20328 } 20329 r.head && (r.head.xflags = l & 255, r.head.os = l >> 8), r.flags & 512 && (P[0] = l & 255, P[1] = l >>> 8 & 255, r.check = Di(r.check, P, 2, 0)), l = 0, f = 0, r.mode = _b; 20330 case _b: 20331 if (r.flags & 1024) { 20332 for (; f < 16; ) { 20333 if (s === 0) 20334 break e; 20335 s--, l += n[o++] << f, f += 8; 20336 } 20337 r.length = l, r.head && (r.head.extra_len = l), r.flags & 512 && (P[0] = l & 255, P[1] = l >>> 8 & 255, r.check = Di(r.check, P, 2, 0)), l = 0, f = 0; 20338 } else 20339 r.head && (r.head.extra = null); 20340 r.mode = Tb; 20341 case Tb: 20342 if (r.flags & 1024 && (d = r.length, d > s && (d = s), d && (r.head && (N = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), Tn.arraySet( 20343 r.head.extra, 20344 n, 20345 o, 20346 // extra field is limited to 65536 bytes 20347 // - no need for additional size check 20348 d, 20349 /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/ 20350 N 20351 )), r.flags & 512 && (r.check = Di(r.check, n, d, o)), s -= d, o += d, r.length -= d), r.length)) 20352 break e; 20353 r.length = 0, r.mode = Cb; 20354 case Cb: 20355 if (r.flags & 2048) { 20356 if (s === 0) 20357 break e; 20358 d = 0; 20359 do 20360 N = n[o + d++], r.head && N && r.length < 65536 && (r.head.name += String.fromCharCode(N)); 20361 while (N && d < s); 20362 if (r.flags & 512 && (r.check = Di(r.check, n, d, o)), s -= d, o += d, N) 20363 break e; 20364 } else 20365 r.head && (r.head.name = null); 20366 r.length = 0, r.mode = Ob; 20367 case Ob: 20368 if (r.flags & 4096) { 20369 if (s === 0) 20370 break e; 20371 d = 0; 20372 do 20373 N = n[o + d++], r.head && N && r.length < 65536 && (r.head.comment += String.fromCharCode(N)); 20374 while (N && d < s); 20375 if (r.flags & 512 && (r.check = Di(r.check, n, d, o)), s -= d, o += d, N) 20376 break e; 20377 } else 20378 r.head && (r.head.comment = null); 20379 r.mode = Ab; 20380 case Ab: 20381 if (r.flags & 512) { 20382 for (; f < 16; ) { 20383 if (s === 0) 20384 break e; 20385 s--, l += n[o++] << f, f += 8; 20386 } 20387 if (l !== (r.check & 65535)) { 20388 t.msg = "header crc mismatch", r.mode = or; 20389 break; 20390 } 20391 l = 0, f = 0; 20392 } 20393 r.head && (r.head.hcrc = r.flags >>
20393 9 & 1, r.head.done = !0), t.adler = r.check = 0, r.mode = no; 20394 break; 20395 case Nb: 20396 for (; f < 32; ) { 20397 if (s === 0) 20398 break e; 20399 s--, l += n[o++] << f, f += 8; 20400 } 20401 t.adler = r.check = Hb(l), l = 0, f = 0, r.mode = $f; 20402 case $f: 20403 if (r.havedict === 0) 20404 return t.next_out = a, t.avail_out = u, t.next_in = o, t.avail_in = s, r.hold = l, r.bits = f, eM; 20405 t.adler = r.check = 1, r.mode = no; 20406 case no: 20407 if (e === QI || e === Uc) 20408 break e; 20409 case dp: 20410 if (r.last) { 20411 l >>>= f & 7, f -= f & 7, r.mode = pp; 20412 break; 20413 } 20414 for (; f < 3; ) { 20415 if (s === 0) 20416 break e; 20417 s--, l += n[o++] << f, f += 8; 20418 } 20419 switch (r.last = l & 1, l >>>= 1, f -= 1, l & 3) { 20420 case 0: 20421 r.mode = kb; 20422 break; 20423 case 1: 20424 if (uM(r), r.mode = Hc, e === Uc) { 20425 l >>>= 2, f -= 2; 20426 break e; 20427 } 20428 break; 20429 case 2: 20430 r.mode = Pb; 20431 break; 20432 case 3: 20433 t.msg = "invalid block type", r.mode = or; 20434 } 20435 l >>>= 2, f -= 2; 20436 break; 20437 case kb: 20438 for (l >>>= f & 7, f -= f & 7; f < 32; ) { 20439 if (s === 0) 20440 break e; 20441 s--, l += n[o++] << f, f += 8; 20442 } 20443 if ((l & 65535) !== (l >>> 16 ^ 65535)) { 20444 t.msg = "invalid stored block lengths", r.mode = or; 20445 break; 20446 } 20447 if (r.length = l & 65535, l = 0, f = 0, r.mode = hp, e === Uc) 20448 break e; 20449 case hp: 20450 r.mode = Db; 20451 case Db: 20452 if (d = r.length, d) { 20453 if (d > s && (d = s), d > u && (d = u), d === 0) 20454 break e; 20455 Tn.arraySet(i, n, o, d, a), s -= d, o += d, u -= d, a += d, r.length -= d; 20456 break; 20457 } 20458 r.mode = no; 20459 break; 20460 case Pb: 20461 for (; f < 14; ) { 20462 if (s === 0) 20463 break e; 20464 s--, l += n[o++] << f, f += 8; 20465 } 20466 if (r.nlen = (l & 31) + 257, l >>>= 5, f -= 5, r.ndist = (l & 31) + 1, l >>>= 5, f -= 5, r.ncode = (l & 15) + 4, l >>>= 4, f -= 4, r.nlen > 286 || r.ndist > 30) { 20467 t.msg = "too many length or distance symbols", r.mode = or; 20468 break; 20469 } 20470 r.have = 0, r.mode = Fb; 20471 case Fb: 20472 for (; r.have < r.ncode; ) { 20473 for (; f < 3; ) { 20474 if (s === 0) 20475 break e; 20476 s--, l += n[o++] << f, f += 8; 20477 } 20478 r.lens[re[r.have++]] = l & 7, l >>>= 3, f -= 3; 20479 } 20480 for (; r.have < 19; ) 20481 r.lens[re[r.have++]] = 0; 20482 if (r.lencode = r.lendyn, r.lenbits = 7, M = { bits: r.lenbits }, V = mu(JI, r.lens, 0, 19, r.lencode, 0, r.work, M), r.lenbits = M.bits, V) { 20483 t.msg = "invalid code lengths set", r.mode = or; 20484 break; 20485 } 20486 r.have = 0, r.mode = Rb; 20487 case Rb: 20488 for (; r.have < r.nlen + r.ndist; ) { 20489 for (; S = r.lencode[l & (1 << r.lenbits) - 1], w = S >>> 24, D = S >>> 16 & 255, T = S & 65535, !(w <= f); ) { 20490 if (s === 0) 20491 break e; 20492 s--, l += n[o++] << f, f += 8; 20493 } 20494 if (T < 16) 20495 l >>>= w, f -= w, r.lens[r.have++] = T; 20496 else { 20497 if (T === 16) { 20498 for (U = w + 2; f < U; ) { 20499 if (s === 0) 20500 break e; 20501 s--, l += n[o++] << f, f += 8; 20502 } 20503 if (l >>>= w, f -= w, r.have === 0) { 20504 t.msg = "invalid bit length repeat", r.mode = or; 20505 break; 20506 } 20507 N = r.lens[r.have - 1], d = 3 + (l & 3), l >>>= 2, f -= 2; 20508 } else if (T === 17) { 20509 for (U = w + 3; f < U; ) { 20510 if (s === 0) 20511 break e; 20512 s--, l += n[o++] << f, f += 8; 20513 } 20514 l >>>= w, f -= w, N = 0, d = 3 + (l & 7), l >>>= 3, f -= 3; 20515 } else { 20516 for (U = w + 7; f < U; ) { 20517 if (s === 0) 20518 break e; 20519 s--, l += n[o++] << f, f += 8; 20520 } 20521 l >>>= w, f -= w, N = 0, d = 11 + (l & 127), l >>>= 7, f -= 7; 20522 } 20523 if (r.have + d > r.nlen + r.ndist) {
20524 t.msg = "invalid bit length repeat", r.mode = or; 20525 break; 20526 } 20527 for (; d--; ) 20528 r.lens[r.have++] = N; 20529 } 20530 } 20531 if (r.mode === or) 20532 break; 20533 if (r.lens[256] === 0) { 20534 t.msg = "invalid code -- missing end-of-block", r.mode = or; 20535 break; 20536 } 20537 if (r.lenbits = 9, M = { bits: r.lenbits }, V = mu(lS, r.lens, 0, r.nlen, r.lencode, 0, r.work, M), r.lenbits = M.bits, V) { 20538 t.msg = "invalid literal/lengths set", r.mode = or; 20539 break; 20540 } 20541 if (r.distbits = 6, r.distcode = r.distdyn, M = { bits: r.distbits }, V = mu(uS, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, M), r.distbits = M.bits, V) { 20542 t.msg = "invalid distances set", r.mode = or; 20543 break; 20544 } 20545 if (r.mode = Hc, e === Uc) 20546 break e; 20547 case Hc: 20548 r.mode = zc; 20549 case zc: 20550 if (s >= 6 && u >= 258) { 20551 t.next_out = a, t.avail_out = u, t.next_in = o, t.avail_in = s, r.hold = l, r.bits = f, ZI(t, g), a = t.next_out, i = t.output, u = t.avail_out, o = t.next_in, n = t.input, s = t.avail_in, l = r.hold, f = r.bits, r.mode === no && (r.back = -1); 20552 break; 20553 } 20554 for (r.back = 0; S = r.lencode[l & (1 << r.lenbits) - 1], w = S >>> 24, D = S >>> 16 & 255, T = S & 65535, !(w <= f); ) { 20555 if (s === 0) 20556 break e; 20557 s--, l += n[o++] << f, f += 8; 20558 } 20559 if (D && !(D & 240)) { 20560 for (_ = w, x = D, p = T; S = r.lencode[p + ((l & (1 << _ + x) - 1) >> _)], w = S >>> 24, D = S >>> 16 & 255, T = S & 65535, !(_ + w <= f); ) { 20561 if (s === 0) 20562 break e; 20563 s--, l += n[o++] << f, f += 8; 20564 } 20565 l >>>= _, f -= _, r.back += _; 20566 } 20567 if (l >>>= w, f -= w, r.back += w, r.length = T, D === 0) { 20568 r.mode = jb; 20569 break; 20570 } 20571 if (D & 32) { 20572 r.back = -1, r.mode = no; 20573 break; 20574 } 20575 if (D & 64) { 20576 t.msg = "invalid literal/length code", r.mode = or; 20577 break; 20578 } 20579 r.extra = D & 15, r.mode = Ib; 20580 case Ib: 20581 if (r.extra) { 20582 for (U = r.extra; f < U; ) { 20583 if (s === 0) 20584 break e; 20585 s--, l += n[o++] << f, f += 8; 20586 } 20587 r.length += l & (1 << r.extra) - 1, l >>>= r.extra, f -= r.extra, r.back += r.extra; 20588 } 20589 r.was = r.length, r.mode = Mb; 20590 case Mb: 20591 for (; S = r.distcode[l & (1 << r.distbits) - 1], w = S >>> 24, D = S >>> 16 & 255, T = S & 65535, !(w <= f); ) { 20592 if (s === 0) 20593 break e; 20594 s--, l += n[o++] << f, f += 8; 20595 } 20596 if (!(D & 240)) { 20597 for (_ = w, x = D, p = T; S = r.distcode[p + ((l & (1 << _ + x) - 1) >> _)], w = S >>> 24, D = S >>> 16 & 255, T = S & 65535, !(_ + w <= f); ) { 20598 if (s === 0) 20599 break e; 20600 s--, l += n[o++] << f, f += 8; 20601 } 20602 l >>>= _, f -= _, r.back += _; 20603 } 20604 if (l >>>= w, f -= w, r.back += w, D & 64) { 20605 t.msg = "invalid distance code", r.mode = or; 20606 break; 20607 } 20608 r.offset = T, r.extra = D & 15, r.mode = Vb; 20609 case Vb: 20610 if (r.extra) { 20611 for (U = r.extra; f < U; ) { 20612 if (s === 0) 20613 break e; 20614 s--, l += n[o++] << f, f += 8; 20615 } 20616 r.offset += l & (1 << r.extra) - 1, l >>>= r.extra, f -= r.extra, r.back += r.extra; 20617 } 20618 if (r.offset > r.dmax) { 20619 t.msg = "invalid distance too far back", r.mode = or; 20620 break; 20621 } 20622 r.mode = Lb; 20623 case Lb: 20624 if (u === 0) 20625 break e; 20626 if (d = g - u, r.offset > d) { 20627 if (d = r.offset - d, d > r.whave && r.sane) { 20628 t.msg = "invalid distance too far back", r.mode = or; 20629 break; 20630 } 20631 d > r.wnext ? (d -= r.wnext, m = r.wsize - d) : m = r.wnext - d, d > r.length && (d = r.length), b = r.window; 20632 } else 20633 b = i, m = a - r.offset, d = r.length; 20634 d > u && (d = u), u -= d, r.length -= d; 20635 do 20636 i[a++] = b[m++]; 20637 while (--d); 20638 r.length === 0 && (r.mode = zc); 20639 break; 20640 case jb: 20641 if (u === 0) 20642 break e; 20643 i[a++] = r.length, u--, r.mode = zc; 20644 break; 20645 case pp: 20646 if (r.wrap) { 20647 for (; f < 32; ) { 20648 if (s === 0) 20649 break e; 20650 s--, l |= n[o++] << f, f += 8; 20651 } 20652 if (g -= u, t.total_out += g, r.total += g, g && (t.adler = r.check
20652= /*UPDATE(state.check, put - _out, _out);*/ 20653 r.flags ? Di(r.check, i, g, a - g) : yv(r.check, i, g, a - g)), g = u, (r.flags ? l : Hb(l)) !== r.check) { 20654 t.msg = "incorrect data check", r.mode = or; 20655 break; 20656 } 20657 l = 0, f = 0; 20658 } 20659 r.mode = Bb; 20660 case Bb: 20661 if (r.wrap && r.flags) { 20662 for (; f < 32; ) { 20663 if (s === 0) 20664 break e; 20665 s--, l += n[o++] << f, f += 8; 20666 } 20667 if (l !== (r.total & 4294967295)) { 20668 t.msg = "incorrect length check", r.mode = or; 20669 break; 20670 } 20671 l = 0, f = 0; 20672 } 20673 r.mode = Ub; 20674 case Ub: 20675 V = $I; 20676 break e; 20677 case or: 20678 V = cS; 20679 break e; 20680 case hS: 20681 return fS; 20682 case rM: 20683 default: 20684 return $n; 20685 } 20686 return t.next_out = a, t.avail_out = u, t.next_in = o, t.avail_in = s, r.hold = l, r.bits = f, (r.wsize || g !== t.avail_out && r.mode < or && (r.mode < pp || e !== bb)) && yS(t, t.output, t.next_out, g - t.avail_out), h -= t.avail_in, g -= t.avail_out, t.total_in += h, t.total_out += g, r.total += g, r.wrap && g && (t.adler = r.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/ 20687 r.flags ? Di(r.check, i, g, t.next_out - g) : yv(r.check, i, g, t.next_out - g)), t.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === no ? 128 : 0) + (r.mode === Hc || r.mode === hp ? 256 : 0), (h === 0 && g === 0 || e === bb) && V === Za && (V = tM), V; 20688} 20689function fM(t) { 20690 if (!t || !t.state) 20691 return $n; 20692 var e = t.state; 20693 return e.window && (e.window = null), t.state = null, Za; 20694} 20695function dM(t, e) { 20696 var r; 20697 return !t || !t.state || (r = t.state, !(r.wrap & 2)) ? $n : (r.head = e, e.done = !1, Za); 20698} 20699function hM(t, e) { 20700 var r = e.length, n, i, o; 20701 return !t || !t.state || (n = t.state, n.wrap !== 0 && n.mode !== $f) ? $n : n.mode === $f && (i = 1, i = yv(i, e, r, 0), i !== n.check) ? cS : (o = yS(t, e, r, r), o ? (n.mode = hS, fS) : (n.havedict = 1, Za)); 20702} 20703_i.inflateReset = vS; 20704_i.inflateReset2 = gS; 20705_i.inflateResetKeep = pS; 20706_i.inflateInit = lM; 20707_i.inflateInit2 = mS; 20708_i.inflate = cM; 20709_i.inflateEnd = fM; 20710_i.inflateGetHeader = dM; 20711_i.inflateSetDictionary = hM; 20712_i.inflateInfo = "pako inflate (from Nodeca project)"; 20713var bS = { 20714 /* Allowed flush values; see deflate() and inflate() below for details */ 20715 Z_NO_FLUSH: 0, 20716 Z_PARTIAL_FLUSH: 1, 20717 Z_SYNC_FLUSH: 2, 20718 Z_FULL_FLUSH: 3, 20719 Z_FINISH: 4, 20720 Z_BLOCK: 5, 20721 Z_TREES: 6, 20722 /* Return codes for the compression/decompression functions. Negative values 20723 * are errors, positive values are used for special but normal events. 20724 */ 20725 Z_OK: 0, 20726 Z_STREAM_END: 1, 20727 Z_NEED_DICT: 2, 20728 Z_ERRNO: -1, 20729 Z_STREAM_ERROR: -2, 20730 Z_DATA_ERROR: -3, 20731 //Z_MEM_ERROR: -4, 20732 Z_BUF_ERROR: -5, 20733 //Z_VERSION_ERROR: -6, 20734 /* compression levels */ 20735 Z_NO_COMPRESSION: 0, 20736 Z_BEST_SPEED: 1, 20737 Z_BEST_COMPRESSION: 9, 20738 Z_DEFAULT_COMPRESSION: -1, 20739 Z_FILTERED: 1, 20740 Z_HUFFMAN_ONLY: 2, 20741 Z_RLE: 3, 20742 Z_FIXED: 4, 20743 Z_DEFAULT_STRATEGY: 0, 20744 /* Possible values of the data_type field (though see inflate()) */ 20745 Z_BINARY: 0, 20746 Z_TEXT: 1, 20747 //Z_ASCII: 1, // = Z_TEXT (deprecated) 20748 Z_UNKNOWN: 2, 20749 /* The deflate compression method */ 20750 Z_DEFLATED: 8 20751 //Z_NULL: null // Use -1 or null inline, depending on var type 20752}; 20753function pM() { 20754 this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1; 20755} 20756var vM = pM, Hs = _i, yu = Co, wf = is, hr = bS, bv = I0, gM = aS, mM = vM, ES = Object.prototype.toString; 20757function Ja(t) { 20758 if (!(this instanceof Ja)) 20759 return new Ja(t); 20760 this.options = yu.assign({ 20761 chunkSize: 16384, 20762 windowBits: 0, 20763 to: "" 20764 }, t || {}); 20765 var e = this.options; 20766 e.raw && e.windowBits >= 0 && e.windowBits < 16 && (e.windowBits = -e.windowBits, e.windowBits === 0 && (e.windowBits = -15)), e.windowBits >= 0 && e.windowBits < 16 && !(t && t.windowBits) && (e.windowBits += 32), e.windowBits > 15 && e.windowBits < 48 && (e.windowBits & 15 || (e.windowBits |= 15)), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new gM(), this.strm.avail_out = 0; 20767 var r = Hs.inflateInit2( 20768 this.strm, 20769 e.windowBits 20770 ); 20771 if (r !== hr.Z_OK) 20772 throw new Error(bv[r]); 20773 if (this.header = new mM(), Hs.inflateGetHeader(this.strm, this.header), e.dictionary && (typeof e.dictionary == "string" ? e.dictionary = wf.string2buf(e.dictionary) : ES.call(e.dictionary) === "[object ArrayBuffer]" && (e.dictionary = new Uint8Array(e.dictionary)), e.raw && (r = Hs.inflateSetDictionary(this.strm, e.dictionary), r !== hr.Z_OK))) 20774 throw new Error(bv[r]); 20775} 20776Ja.prototype.push = function(t, e) { 20777 var r = this.strm, n = this.options.chunkSize, i = this.options.dictionary, o, a, s, u, l, f = !1; 20778 if (this.ended) 20779 return !1; 20780 a = e === ~~e ? e : e === !0 ? hr.Z_FINISH : hr.Z_NO_FLUSH, typeof t == "string" ? r.input = wf.binstring2buf(t) : ES.call(t) === "[object ArrayBuffer]" ? r.input = new Uint8Array(t) : r.input = t, r.next_in = 0, r.avail_in = r.input.length; 20781 do { 20782 if (r.avail_out === 0 && (r.output = new yu.Buf8(n), r.next_out = 0, r.avail_out = n), o = Hs.inflate(r, hr.Z_NO_FLUSH), o === hr.Z_NEED_DICT && i && (o = Hs.inflateSetDictionary(this.strm, i)), o === hr.Z_BUF_ER
20782ROR && f === !0 && (o = hr.Z_OK, f = !1), o !== hr.Z_STREAM_END && o !== hr.Z_OK) 20783 return this.onEnd(o), this.ended = !0, !1; 20784 r.next_out && (r.avail_out === 0 || o === hr.Z_STREAM_END || r.avail_in === 0 && (a === hr.Z_FINISH || a === hr.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (s = wf.utf8border(r.output, r.next_out), u = r.next_out - s, l = wf.buf2string(r.output, s), r.next_out = u, r.avail_out = n - u, u && yu.arraySet(r.output, r.output, s, u, 0), this.onData(l)) : this.onData(yu.shrinkBuf(r.output, r.next_out))), r.avail_in === 0 && r.avail_out === 0 && (f = !0); 20785 } while ((r.avail_in > 0 || r.avail_out === 0) && o !== hr.Z_STREAM_END); 20786 return o === hr.Z_STREAM_END && (a = hr.Z_FINISH), a === hr.Z_FINISH ? (o = Hs.inflateEnd(this.strm), this.onEnd(o), this.ended = !0, o === hr.Z_OK) : (a === hr.Z_SYNC_FLUSH && (this.onEnd(hr.Z_OK), r.avail_out = 0), !0); 20787}; 20788Ja.prototype.onData = function(t) { 20789 this.chunks.push(t); 20790}; 20791Ja.prototype.onEnd = function(t) { 20792 t === hr.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = yu.flattenChunks(this.chunks)), this.chunks = [], this.err = t, this.msg = this.strm.msg; 20793}; 20794function V0(t, e) { 20795 var r = new Ja(e); 20796 if (r.push(t, !0), r.err) 20797 throw r.msg || bv[r.err]; 20798 return r.result; 20799} 20800function yM(t, e) { 20801 return e = e || {}, e.raw = !0, V0(t, e); 20802} 20803fc.Inflate = Ja; 20804fc.inflate = V0; 20805fc.inflateRaw = yM; 20806fc.ungzip = V0; 20807var bM = Co.assign, EM = lc, xM = fc, wM = bS, xS = {}; 20808bM(xS, EM, xM, wM); 20809var SM = xS; 20810const qd = /* @__PURE__ */ Qa(SM); 20811var Wb = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Zl = new Uint8Array(256); 20812for (var Wc = 0; Wc < Wb.length; Wc++) 20813 Zl[Wb.charCodeAt(Wc)] = Wc; 20814var _M = function(t) { 20815 var e = t.length * 0.75, r = t.length, n, i = 0, o, a, s, u; 20816 t[t.length - 1] === "=" && (e--, t[t.length - 2] === "=" && e--); 20817 var l = new Uint8Array(e); 20818 for (n = 0; n < r; n += 4) 20819 o = Zl[t.charCodeAt(n)], a = Zl[t.charCodeAt(n + 1)], s = Zl[t.charCodeAt(n + 2)], u = Zl[t.charCodeAt(n + 3)], l[i++] = o << 2 | a >> 4, l[i++] = (a & 15) << 4 | s >> 2, l[i++] = (s & 3) << 6 | u & 63; 20820 return l; 20821}, TM = function(t) { 20822 for (var e = "", r = 0; r < t.length; r++) 20823 e += String.fromCharCode(t[r]); 20824 return e; 20825}, wS = function(t) { 20826 return TM(qd.inflate(_M(t))); 20827}, CM = function(t, e, r) { 20828 for (var n = "", i = 0, o = e - t.length; i < o; i++) 20829 n += r; 20830 return n + t; 20831}; 20832const OM = "eJyFWdtyGjkQ/RVqnnar8Bb4lpg3jEnCxgEvGDtxKg9iphm01oyILrZxKv++mrGd3az6KC8UnNa0+nrUGr5lI11VVLtskF198FaU1Dns9w9OOkf7/ePDrJu90bWbiorCgpH2RpLZO9WqaCReqZ8lnReJqKTa/SwL8DXJctPs9Lxs4oSS+bAuVVjXC7/tG/lAxYV0+SYbOOOpm402wojckVlQ8+T4wVFdUDHXlaifrTs91Q/Z4PNeMLu7t3/U6746POm+7vW/dLNlWGuUrOlCW+mkrrPBXr/X+4/gciPz25qszQbhyeyKjG2XZb3ewR+9Xi/sMdVO5k+ebHemcaHzW/57p3/y+qQbPk967We//TxoP191hoVeUWexs44q25nUuTZbbYSj4o9OZ6hUZ97osZ05WTJ3AQ37jMOqQtblIt9QG7lWycKJuhCmeJGGhSOxffccyqPj/W728eXX4cFJNxvavAmRyQbH++HnGf34vdc/etXNFq54d50NXh+2X6/C137v+CnQH8gZmYdQfP6WXX8MCppQTYMldit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honJqJkpT7Ic1EzLm1eSYioRWo0kDZS2omYqlS2Uqn5ZmIBeq+NBMNvNyvUoiaaJz60Llouom56S7lPjSNwmKc220C92ERWoEqDZR9aGK9IdyHxnUfmlxrC/ehcepD/BWkGqamBo36M2oiFKFADkeUc98GnUIWNI5LELmfUWwreCQIss9DgfGGct8HTfd/KDLWVs6DoEEu/Ot//z8nhUqv"
20832, RM
vendor: 14,909 bytes, line 20832
20832 = "eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaj0ZXWNvhB5BsUdgE0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5MPfu/Xspnl0enH05Nmjs6dHz84mjye/tsv732d3za7AX5rF1+Z+fjXb426xUHh2N19shTBt5jef92f5e3M97+525K/3s8X86vnyZrEre7Q7Xv86f2iu/5jfX32e/Hi/6prHk58+z1azq/tm9bbZf/aXh/tmed1cv2nvZsuhbn/+c/sw+fGfPxw/efL4h5OT88fHR0dHj5+dHv/r8eT9rvBqMV82f7Tr+f28XU5+/GEng/Du8/zqdtms15Mfz3f8Q7Na98UmR0cnf9p90e4kv7e7Juyb81P7Zbvat+LR/7n6v4+Onz09f7z/96L/99n+32dH/b8Xj55ft5fNo7fb9X1zt3701+VVu/rSrmb3zfWfHj16vlg8erP/nvWjN826WX3dUQvVo/n60ezR/Wp23dzNVreP2k+Pfpsv2/vtl+aHXaHFo+cvHs2W1/+vXT2a775g3V2u59fz2WrerP+0q+wvu1Ndz5c3b68+N30f9DV5e7/7yGx1XdRdwZ9mX/4ydMnF8dPHk3+Uo/OT08eT5+urfaBXg/hzY8c/nBxdPJ68vb/+y3QnPun/+2H336dPD7319+Z+Nb/ahfOf/zOZ/mPy48nFTvh9V5H1l9kuiv/7mHDzcLWY3Rk/PT8/8H937S5alwtTzs+fHJRld3e576abZdau28VitjL+dNctPf/SrK72SV6EJ08uDsLsbietd9Hxmp2cQA36/vbanZ4O3zdbNctF86km0cdKNWbr/Teub73iT8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BoldOblique": AM, 20838 Helvetica: RM, 20839 "Helvetica-Bold": DM, 20840 "Helvetica-Oblique": FM, 20841 "Helvetica-BoldOblique": PM, 20842 "Times-Roman": LM, 20843 "Times-Bold": IM, 20844 "Times-Italic": VM, 20845 "Times-BoldItalic": MM, 20846 Symbol: jM, 20847 ZapfDingbats: BM 20848}, Vu; 20849(function(t) { 20850 t.Courier = "Courier", t.CourierBold = "Courier-Bold", t.CourierOblique = "Courier-Oblique", t.CourierBoldOblique = "Courier-BoldOblique", t.Helvetica = "Helvetica", t.Helvetica
20850Bold = "Helvetica-Bold", t.HelveticaOblique = "Helvetica-Oblique", t.HelveticaBoldOblique = "Helvetica-BoldOblique", t.TimesRoman = "Times-Roman", t.TimesRomanBold = "Times-Bold", t.TimesRomanItalic = "Times-Italic", t.TimesRomanBoldItalic = "Times-BoldItalic", t.Symbol = "Symbol", t.ZapfDingbats = "ZapfDingbats"; 20851})(Vu || (Vu = {})); 20852var qb = {}, HM = ( 20853 /** @class */ 20854 function() { 20855 function t() { 20856 var e = this; 20857 this.getWidthOfGlyph = function(r) { 20858 return e.CharWidths[r]; 20859 }, this.getXAxisKerningForPair = function(r, n) { 20860 return (e.KernPairXAmounts[r] || {})[n]; 20861 }; 20862 } 20863 return t.load = function(e) { 20864 var r = qb[e]; 20865 if (r) 20866 return r; 20867 var n = wS(UM[e]), i = Object.assign(new t(), JSON.parse(n)); 20868 return i.CharWidths = i.CharMetrics.reduce(function(o, a) { 20869 return o[a.N] = a.WX, o; 20870 }, {}), i.KernPairXAmounts = i.KernPairs.reduce(function(o, a) { 20871 var s = a[0], u = a[1], l = a[2]; 20872 return o[s] || (o[s] = {}), o[s][u] = l, o; 20873 }, {}), qb[e] = i, i; 20874 }, t; 20875 }() 20876); 20877const zM
vendor: 6,087 bytes, line 20877
20877 = "eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuP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1z8+4IjO2P+0LBOdsX9znHgBKUYn7Id+Pkklvh3TCgtpX9DFhbSvll1I+1t0C3NfTBcX5v4IeSHv5sYxX7g7H86dt+/Wbpw7c+8XsLkz934Bmztz79+AzZ2+9w+4cmfww2ptZ/DDam1n8MPbtZ3GDw9rs9ui3KZPblw4tz8vJiuc208LhMK5/bRAKJzbT28gFE7wp9XCTvCnR1zO8ZeLw7Fwjj8tTlw4x78v0Ern+PcFWukc//4GWulE//6AonSu/7paxrn+zZ2YnRclRK/rBXJsCAjxh2cKEAWVJ02ku/wOoFv2+12XkmnODwHgW4uQGVbZ0uM7mAJ1b/68/JlpUMnWdy5MF6/Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA==";
20878var WM = wS(zM), mp = JSON.parse(WM), yp = ( 20879 /** @class */ 20880 function() { 20881 function t(e, r) { 20882 var n = this; 20883 this.canEncodeUnicodeCodePoint = function(i) { 20884 return i in n.unicodeMappings; 20885 }, this.encodeUnicodeCodePoint = function(i) { 20886 var o = n.unicodeMappings[i]; 20887 if (!o) { 20888 var a = String.fromCharCode(i), s = "0x" + CM(i.toString(16), 4, "0"), u = n.name + ' cannot encode "' + a + '" (' + s + ")"; 20889 throw new Error(u); 20890 } 20891 return { code: o[0], name: o[1] }; 20892 }, this.name = e, this.supportedCodePoints = Object.keys(r).map(Number).sort(function(i, o) { 20893 return i - o; 20894 }), this.unicodeMappings = r; 20895 } 20896 return t; 20897 }() 20898), qc = { 20899 Symbol: new yp("Symbol", mp.symbol), 20900 ZapfDingbats: new yp("ZapfDingbats", mp.zapfdingbats), 20901 WinAnsi: new yp("WinAnsi", mp.win1252) 20902}, Kd = function(t) { 20903 return Object.keys(t).map(function(e) { 20904 return t[e]; 20905 }); 20906}, qM = Kd(Vu), Kb = function(t) { 20907 return qM.includes(t); 20908}, Kc = function(t, e) { 20909 return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height; 20910}, Sr = function(t) { 20911 return "`" + t + "`"; 20912}, KM = function(t) { 20913 return "'" + t + "'"; 20914}, Gb = function(t) { 20915 var e = typeof t; 20916 return e === "string" ? KM(t) : e === "undefined" ? Sr(t) : t; 20917}, GM = function(t, e, r) { 20918 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) { 20919 var a = r[i]; 20920 n[i] = Gb(a); 20921 } 20922 var s = n.join(" or "); 20923 return Sr(e) + " must be one of " + s + ", but was actually " + Gb(t); 20924}, Xo = function(t, e, r) { 20925 Array.isArray(r) || (r = Kd(r)); 20926 for (var n = 0, i = r.length; n < i; n++) 20927 if (t === r[n]) 20928 return; 20929 throw new TypeError(GM(t, e, r)); 20930}, Un = function(t, e, r) { 20931 Array.isArray(r) || (r = Kd(r)), Xo(t, e, r.concat(void 0)); 20932}, XM = function(t, e, r) { 20933 Array.isArray(r) || (r = Kd(r)); 20934 for (var n = 0, i = t.length; n < i; n++) 20935 Xo(t[n], e, r); 20936}, YM = function(t) { 20937 return t === null ? "null" : t === void 0 ? "undefined" : typeof t == "string" ? "string" : isNaN(t) ? "NaN" : typeof t == "number" ? "number" : typeof t == "boolean" ? "boolean" : typeof t == "symbol" ? "symbol" : typeof t == "bigint" ? "bigint" : t.constructor && t.constructor.name ? t.constructor.name : t.name ? t.name : t.constructor ? String(t.constructor) : String(t); 20938}, ZM = function(t, e) { 20939 return e === "null" ? t === null : e === "undefined" ? t === void 0 : e === "string" ? typeof t == "string" : e === "number" ? typeof t == "number" && !isNaN(t) : e === "boolean" ? typeof t == "boolean" : e === "symbol" ? typeof t == "symbol" : e === "bigint" ? typeof t == "bigint" : e === Date ? t instanceof Date : e === Array ? t instanceof Array : e === Uint8Array ? t instanceof Uint8Array : e === ArrayBuffer ? t instanceof ArrayBuffer : e === Function ? t instanceof Function : t instanceof e[0]; 20940}, JM = function(t, e, r) { 20941 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) { 20942 var a = r[i]; 20943 a === "null" && (n[i] = Sr("null")), a === "undefined" && (n[i] = Sr("undefined")), a === "string" ? n[i] = Sr("string") : a === "number" ? n[i] = Sr("number") : a === "boolean" ? n[i] = Sr("boolean") : a === "symbol" ? n[i] = Sr("symbol") : a === "bigint" ? n[i] = Sr("bigint") : a === Array ? n[i] = Sr("Array") : a === Uint8Array ? n[i] = Sr("Uint8Array") : a === ArrayBuffer ? n[i] = Sr("ArrayBuffer") : n[i] = Sr(a[1]); 20944 } 20945 var s = n.join(" or "); 20946 return Sr(e) + " must be of type " + s + ", but was actually of type " + Sr(YM(t)); 20947}, te = function(t, e, r) { 20948 for (var n = 0, i = r.length; n < i; n++) 20949 if (ZM(t, r[n])) 20950 return; 20951 throw new TypeError(JM(t, e, r)); 20952}, Ae = function(t, e, r) { 20953 te(t, e, r.concat("undefined")); 20954}, SS = function(t, e, r) { 20955 for (var n = 0, i = t.length; n < i; n++) 20956 te(t[n], e, r); 20957}, Cn = function(t, e, r, n) { 20958 if (te(t, e, ["number"]), te(r, "min", ["number"]), te(n, "max", ["number"]), n = Math.max(r, n), t < r || t > n) 20959 throw new Error(Sr(e) + " must be at least " + r + " and at most " + n + ", but was actually " + t); 20960}, ui = function(t, e, r, n) { 20961 te(t, e, ["number", "undefined"]), typeof t == "number" && Cn(t, e, r, n); 20962}, _S = function(t, e, r) { 20963 if (te(t, e, ["number"]), t % r !== 0) 20964 throw new Error(Sr(e) + " must be a multiple of " + r + ", but was actually " + t); 20965}, QM = function(t, e) { 20966 if (!Number.isInteger(t)) 20967 throw new Error(Sr(e) + " must be an integer, but was actually " + t); 20968}, Gd = function(t, e) { 20969 if (![1, 0].includes(Math.sign(t))) 20970 throw new Error(Sr(e) + " must be a positive number or 0, but was actually " + t); 20971}, pt = new Uint16Array(256); 20972for (var Gc = 0; Gc < 256; Gc++) 20973 pt[Gc] = Gc; 20974pt[22] = ct("�"); 20975pt[24] = ct("Ë"); 20976pt[25] = ct("Ë"); 20977pt[26] = ct("Ë"); 20978pt[27] = ct("Ë"); 20979pt[28] = ct("Ë"); 20980pt[29] = ct("Ë"); 20981pt[30] = ct("Ë"); 20982pt[31] = ct("Ë"); 20983pt[127] = ct("�"); 20984pt[128] = ct("â¢"); 20985pt[129] = ct("â "); 20986pt[130] = ct("â¡"); 20987pt[131] = ct("â¦"); 20988pt[132] = ct("â"); 20989pt[133] = ct("â"); 20990pt[134] = ct("Æ"); 20991pt[135] = ct("â"); 20992pt[136] = ct("â¹"); 20993pt[137] = ct("âº"); 20994pt[138] = ct("â"); 20995pt[139] = ct("â°"); 20996pt[140] = ct("â"); 20997pt[141] = ct("â"); 20998pt[142] = ct("â"); 20999pt[143] = ct("â"); 21000pt[144] = ct("â"); 21001pt[145] = ct("â"); 21002pt[146] = ct("â¢"); 21003pt[147] = ct("ï¬"); 21004pt[148] = ct("ï¬"); 21005pt[149] = ct("Å"); 21006pt[150] = ct("Å"); 21007pt[151] = ct("Å "); 21008pt[152] = ct("Ÿ"); 21009pt[153] = ct("Ž"); 21010pt[154] = ct("ı"); 21011pt[155] = ct("Å"); 21012pt[156] = ct("Å"); 21013pt[157] = ct("Å¡"); 21014pt[158] = ct("ž"); 21015pt[159] = ct("�"); 21016pt[160] = ct("â¬"); 21017pt[173] = ct("�"); 21018var TS = function(t) { 21019 for (var e = new Array(t.length), r = 0, n = t.length; r < n; r++) 21020 e[r] = pt[t[r]]; 21021 return String.fromCodePoint.apply(String, e); 21022}, Eo = ( 21023 /** @class */ 21024 function() { 21025 function t(e) { 21026 this.populate = e, this.value = void 0; 21027 } 21028 return t.prototype.getValue = function() { 21029 return this.value; 21030 }, t.prototype.access = function() { 21031 return this.value || (this.value = this.populate()), this.value; 21032 }, t.prototype.invalidate = function() { 21033 this.value = void 0; 21034 }, t.populatedBy = function(e) { 21035 return new t(e); 21036 }, t; 21037 }() 21038), Kn = ( 21039 /** @class */ 21040 function(t) { 21041 Ne(e, t); 21042 function e(r, n) { 21043 var i = this, o = "Method " + r + "." + n + "() not implemented"; 21044 return i = t.call(this, o) || this, i; 21045 } 21046 return e; 21047 }(Error) 21048), L0 = ( 21049 /** @class */ 21050 function(t) { 21051 Ne(e, t); 21052 function e(r) { 21053 var n = this, i = "Cannot construct " + r + " - it has a private constructor"; 21054 return n = t.call(this, i) || this, n; 21055 } 21056 return e; 21057 }(Error) 21058), ed = ( 21059 /** @class */ 21060 function(t) { 21061 Ne(e, t); 21062 function e(r, n) { 21063 var i = this, o = function(u) { 21064 var l, f; 21065 return (l = u?.name) !== null && l !== void 0 ? l : (f = u?.constructor) === null || f === void 0 ? void 0 : f.name; 21066 }, a = Array.isArray(r) ? r.map(o) : [o(r)], s = "Expected instance of " + a.join(" or ") + ", " + ("but got instance of " + (n && o(n))); 21067 return i = t.call(this, s) || this, i; 21068 } 21069 return e; 21070 }(Error) 21071), $M = ( 21072 /** @class */ 21073 function(t) { 21074 Ne(e, t); 21075 function e(r) { 21076 var n = this, i = r + " stream encoding not supported"; 21077 return n = t.call(this, i) || this, n; 21078 } 21079 return e; 21080 }(Error) 21081), j0 = ( 21082 /** @class */ 21083 function(t) { 21084 Ne(e, t); 21085 function e(r, n) { 21086 var i = this, o = "Cannot call " + r + "." + n + "() more than once"; 21087 return i = t.call(this, o) || this, i; 21088 } 21089 return e; 21090 }(Error) 21091); 21092(function(t) { 21093 Ne(e, t); 21094 function e(r) { 21095 var n = this, i = "Missing catalog (ref=" + r + ")"; 21096 return n = t.call(this, i) || this, n; 21097 } 21098 return e; 21099})(Error); 21100var eV = ( 21101 /** @class */ 21102 function(t) { 21103 Ne(e, t); 21104 function e() { 21105 var r = this, n = "Can't embed page with missing Contents"; 21106 return r = t.call(this, n) || this, r; 21107 } 21108 return e; 21109 }(Error) 21110), tV = ( 21111 /** @class */ 21112 function(t) { 21113 Ne(e, t); 21114 function e(r) { 21115 var n, i, o, a = this, s = (o = (i = (n = r?.contructor) === null || n === void 0 ? void 0 : n.name) !== null && i !== void 0 ? i : r?.name) !== null && o !== void 0 ? o : r, u = "Unrecognized stream type: " + s; 21116 return a = t.call(this, u) || this, a; 21117 } 21118 return e; 21119 }(Error) 21120), rV = ( 21121 /** @class */ 21122 function(t) { 21123 Ne(e, t); 21124 function e() { 21125 var r = this, n = "Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document."; 21126 return r = t.call(this, n) || this, r; 21127 } 21128 return e; 21129 }(Error) 21130), nV = ( 21131 /** @class */ 21132 function(t) { 21133 Ne(e, t); 21134 function e(r) { 21135 var n = this, i = "Attempted to convert PDFArray with " + r + " elements to rectangle, but must have exactly 4 elements."; 21136 return n = t.call(this, i) || this, n; 21137 } 21138 return e; 21139 }(Error) 21140), CS = ( 21141 /** @class */ 21142 function(t) { 21143 Ne(e, t); 21144 function e(r) { 21145 var n = this, i = 'Attempted to convert "' + r + '" to a date, but it does not match the PDF date string format.'; 21146 return n = t.call(this, i) || this, n; 21147 } 21148 return e; 21149 }(Error) 21150), Xb = ( 21151 /** @class */ 21152 function(t) { 21153 Ne(e, t); 21154 function e(r, n) { 21155 var i = this, o = "Invalid targetIndex specified: targetIndex=" + r + " must be less than Count=" + n; 21156 return i = t.call(this, o) || this, i; 21157 } 21158 return e; 21159 }(Error) 21160), Yb = ( 21161 /** @class */ 21162 function(t) { 21163 Ne(e, t); 21164 function e(r, n) { 21165 var i = this, o = "Failed to " + n + " at targetIndex=" + r + " due to corrupt page tree: It is likely that one or more 'Count' entries are invalid"; 21166 return i = t.call(this, o) || this, i; 21167 } 21168 return e; 21169 }(Error) 21170), td = ( 21171 /** @class */ 21172 function(t) { 21173 Ne(e, t); 21174 function e(r, n, i) { 21175 var o = this, a = "index should be at least " + n + " and at most " + i + ", but was actually " + r; 21176 return o = t.call(this, a) || this, o; 21177 } 21178 return e; 21179 }(Error) 21180), B0 = ( 21181 /** @class */ 21182 function(t) { 21183 Ne(e, t); 21184 function e() { 21185 var r = this, n = "Attempted to set invalid field value"; 21186 return r = t.call(this, n) || this, r; 21187 } 21188 return e; 21189 }(Error) 21190), iV = ( 21191 /** @class */ 21192 function(t) { 21193 Ne(e, t); 21194 function e() { 21195 var r = this, n = "Attempted to select multiple values for single-select field"; 21196 return r = t.call(this, n) || this, r; 21197 } 21198 return e; 21199 }(Error) 21200), oV = ( 21201 /** @class */ 21202 function(t) { 21203 Ne(e, t); 21204 function e(r) { 21205 var n = this, i = "No /DA (default appearance) entry found for field: " + r; 21206 return n = t.call(this, i) || this, n; 21207 } 21208 return e; 21209 }(Error) 21210), aV = ( 21211 /** @class */ 21212 function(t) { 21213 Ne(e, t); 21214 function e(r) { 21215 var n = this, i = "No Tf operator found for DA of field: " + r; 21216 return n = t.call(this, i) || this, n; 21217 } 21218 return e; 21219 }(Error) 21220), Zb = ( 21221 /** @class */ 21222 function(t) { 21223 Ne(e, t); 21224 function e(r, n) { 21225 var i = this, o = "Failed to parse number " + ("(line:" + r.line + " col:" + r.column + " offset=" + r.offset + '): "' + n + '"'); 21226 return i = t.call(this, o) || this, i; 21227 } 21228 return e; 21229 }(Error) 21230), sa = ( 21231 /** @class */ 21232 function(t) { 21233 Ne(e, t); 21234 function e(r, n) { 21235 var i = this, o = "Failed to parse PDF document " + ("(line:" + r.line + " col:" + r.column + " offset=" + r.offset + "): " + n); 21236 return i = t.call(this, o) || this, i; 21237 } 21238 return e; 21239 }(Error) 21240), sV = ( 21241 /** @class */ 21242 function(t) { 21243 Ne(e, t); 21244 function e(r, n, i) {
21245 var o = this, a = "Expected next byte to be " + n + " but it was actually " + i; 21246 return o = t.call(this, r, a) || this, o; 21247 } 21248 return e; 21249 }(sa) 21250), lV = ( 21251 /** @class */ 21252 function(t) { 21253 Ne(e, t); 21254 function e(r, n) { 21255 var i = this, o = "Failed to parse PDF object starting with the following byte: " + n; 21256 return i = t.call(this, r, o) || this, i; 21257 } 21258 return e; 21259 }(sa) 21260), uV = ( 21261 /** @class */ 21262 function(t) { 21263 Ne(e, t); 21264 function e(r) { 21265 var n = this, i = "Failed to parse invalid PDF object"; 21266 return n = t.call(this, r, i) || this, n; 21267 } 21268 return e; 21269 }(sa) 21270), cV = ( 21271 /** @class */ 21272 function(t) { 21273 Ne(e, t); 21274 function e(r) { 21275 var n = this, i = "Failed to parse PDF stream"; 21276 return n = t.call(this, r, i) || this, n; 21277 } 21278 return e; 21279 }(sa) 21280), fV = ( 21281 /** @class */ 21282 function(t) { 21283 Ne(e, t); 21284 function e(r) { 21285 var n = this, i = "Failed to parse PDF literal string due to unbalanced parenthesis"; 21286 return n = t.call(this, r, i) || this, n; 21287 } 21288 return e; 21289 }(sa) 21290), dV = ( 21291 /** @class */ 21292 function(t) { 21293 Ne(e, t); 21294 function e(r) { 21295 var n = this, i = "Parser stalled"; 21296 return n = t.call(this, r, i) || this, n; 21297 } 21298 return e; 21299 }(sa) 21300), hV = ( 21301 /** @class */ 21302 function(t) { 21303 Ne(e, t); 21304 function e(r) { 21305 var n = this, i = "No PDF header found"; 21306 return n = t.call(this, r, i) || this, n; 21307 } 21308 return e; 21309 }(sa) 21310), pV = ( 21311 /** @class */ 21312 function(t) { 21313 Ne(e, t); 21314 function e(r, n) { 21315 var i = this, o = "Did not find expected keyword '" + Aw(n) + "'"; 21316 return i = t.call(this, r, o) || this, i; 21317 } 21318 return e; 21319 }(sa) 21320), Ev; 21321(function(t) { 21322 t[t.Null = 0] = "Null", t[t.Backspace = 8] = "Backspace", t[t.Tab = 9] = "Tab", t[t.Newline = 10] = "Newline", t[t.FormFeed = 12] = "FormFeed", t[t.CarriageReturn = 13] = "CarriageReturn", t[t.Space = 32] = "Space", t[t.ExclamationPoint = 33] = "ExclamationPoint", t[t.Hash = 35] = "Hash", t[t.Percent = 37] = "Percent", t[t.LeftParen = 40] = "LeftParen", t[t.RightParen = 41] = "RightParen", t[t.Plus = 43] = "Plus", t[t.Minus = 45] = "Minus", t[t.Dash = 45] = "Dash", t[t.Period = 46] = "Period", t[t.ForwardSlash = 47] = "ForwardSlash", t[t.Zero = 48] = "Zero", t[t.One = 49] = "One", t[t.Two = 50] = "Two", t[t.Three = 51] = "Three", t[t.Four = 52] = "Four", t[t.Five = 53] = "Five", t[t.Six = 54] = "Six", t[t.Seven = 55] = "Seven", t[t.Eight = 56] = "Eight", t[t.Nine = 57] = "Nine", t[t.LessThan = 60] = "LessThan", t[t.GreaterThan = 62] = "GreaterThan", t[t.A = 65] = "A", t[t.D = 68] = "D", t[t.E = 69] = "E", t[t.F = 70] = "F", t[t.O = 79] = "O", t[t.P = 80] = "P", t[t.R = 82] = "R", t[t.LeftSquareBracket = 91] = "LeftSquareBracket", t[t.BackSlash = 92] = "BackSlash", t[t.RightSquareBracket = 93] = "RightSquareBracket", t[t.a = 97] = "a", t[t.b = 98] = "b", t[t.d = 100] = "d", t[t.e = 101] = "e", t[t.f = 102] = "f", t[t.i = 105] = "i", t[t.j = 106] = "j", t[t.l = 108] = "l", t[t.m = 109] = "m", t[t.n = 110] = "n", t[t.o = 111] = "o", t[t.r = 114] = "r", t[t.s = 115] = "s", t[t.t = 116] = "t", t[t.u = 117] = "u", t[t.x = 120] = "x", t[t.LeftCurly = 123] = "LeftCurly", t[t.RightCurly = 125] = "RightCurly", t[t.Tilde = 126] = "Tilde"; 21323})(Ev || (Ev = {})); 21324const I = Ev; 21325var Xd = ( 21326 /** @class */ 21327 function() { 21328 function t(e, r) { 21329 this.major = String(e), this.minor = String(r); 21330 } 21331 return t.prototype.toString = function() { 21332 var e = bo(129); 21333 return "%PDF-" + this.major + "." + this.minor + ` 21334%` + e + e + e + e; 21335 }, t.prototype.sizeInBytes = function() { 21336 return 12 + this.major.length + this.minor.length; 21337 }, t.prototype.copyBytesInto = function(e, r) { 21338 var n = r; 21339 return e[r++] = I.Percent, e[r++] = I.P, e[r++] = I.D, e[r++] = I.F, e[r++] = I.Dash, r += jr(this.major, e, r), e[r++] = I.Period, r += jr(this.minor, e, r), e[r++] = I.Newline, e[r++] = I.Percent, e[r++] = 129, e[r++] = 129, e[r++] = 129, e[r++] = 129, r - n; 21340 }, t.forVersion = function(e, r) { 21341 return new t(e, r); 21342 }, t; 21343 }() 21344), on = ( 21345 /** @class */ 21346 function() { 21347 function t() { 21348 } 21349 return t.prototype.clone = function(e) { 21350 throw new Kn(this.constructor.name, "clone"); 21351 }, t.prototype.toString = function() { 21352 throw new Kn(this.constructor.name, "toString"); 21353 }, t.prototype.sizeInBytes = function() { 21354 throw new Kn(this.constructor.name, "sizeInBytes"); 21355 }, t.prototype.copyBytesInto = function(e, r) { 21356 throw new Kn(this.constructor.name, "copyBytesInto"); 21357 }, t; 21358 }() 21359), lt = ( 21360 /** @class */ 21361 function(t) { 21362 Ne(e, t); 21363 function e(r) { 21364 var n = t.call(this) || this; 21365 return n.numberValue = r, n.stringValue = DR(r), n; 21366 } 21367 return e.prototype.asNumber = function() { 21368 return this.numberValue; 21369 }, e.prototype.value = function() { 21370 return this.numberValue; 21371 }, e.prototype.clone = function() { 21372 return e.of(this.numberValue); 21373 }, e.prototype.toString = function() { 21374 return this.stringValue; 21375 }, e.prototype.sizeInBytes = function() { 21376 return this.stringValue.length; 21377 }, e.prototype.copyBytesInto = function(r, n) { 21378 return n += jr(this.stringValue, r, n), this.stringValue.length; 21379 }, e.of = function(r) { 21380 return new e(r); 21381 }, e; 21382 }(on) 21383), Lt = ( 21384 /** @class */ 21385 function(t) { 21386 Ne(e, t); 21387 function e(r) { 21388 var n = t.call(this) || this; 21389 return n.array = [], n.context = r, n; 21390 } 21391 return e.prototype.size = function() { 21392 return this.array.length; 21393 }, e.prototype.push = function(r) { 21394 this.array.push(r); 21395 }, e.prototype.insert = function(r, n) { 21396 this.array.splice(r, 0, n); 21397 }, e.prototype.indexOf = function(r) { 21398 var n = this.array.indexOf(r); 21399 return n === -1 ? void 0 : n; 21400 }, e.prototype.remove = function(r) { 21401 this.array.splice(r, 1); 21402 }, e.prototype.set = function(r, n) { 21403 this.array[r] = n; 21404 }, e.prototype.get = function(r) { 21405 return this.array[r]; 21406 }, e.prototype.lookupMaybe = function(r) { 21407 for (var n, i = [], o = 1; o < arguments.length; o++) 21408 i[o - 1] = arguments[o]; 21409 return (n = this.context).lookupMaybe.apply(n, kt([this.get(r)], i)); 21410 }, e.prototype.lookup = function(r) { 21411 for (var n, i = [], o = 1; o < arguments.length; o++) 21412 i[o - 1] = arguments[o]; 21413 return (n = this.context).lookup.apply(n, kt([this.get(r)], i)); 21414 }, e.prototype.asRectangle = function() { 21415 if (this.size() !== 4) 21416 throw new nV(this.size()); 21417 var r = this.lookup(0, lt).asNumber(), n = this.lookup(1, lt).asNumber(), i = this.lookup(2, lt).asNumber(), o = this.lookup(3, lt).asNumber(), a = r, s = n, u = i - r, l = o - n; 21418 return { x: a, y: s, width: u, height: l }; 21419 }, e.prototype.asArray = function() { 21420 return this.array.slice(); 21421 }, e.prototype.clone = function(r) { 21422 for (var n = e.withContext(r || this.context), i = 0, o = this.size(); i < o; i++) 21423 n.push(this.array[i]); 21424 return n; 21425 }, e.prototype.toString = function() { 21426 for (var r = "[ ", n = 0, i = this.size(); n < i; n++) 21427 r += this.get(n).toString(), r += " ";
21428 return r += "]", r; 21429 }, e.prototype.sizeInBytes = function() { 21430 for (var r = 3, n = 0, i = this.size(); n < i; n++) 21431 r += this.get(n).sizeInBytes() + 1; 21432 return r; 21433 }, e.prototype.copyBytesInto = function(r, n) { 21434 var i = n; 21435 r[n++] = I.LeftSquareBracket, r[n++] = I.Space; 21436 for (var o = 0, a = this.size(); o < a; o++) 21437 n += this.get(o).copyBytesInto(r, n), r[n++] = I.Space; 21438 return r[n++] = I.RightSquareBracket, n - i; 21439 }, e.prototype.scalePDFNumbers = function(r, n) { 21440 for (var i = 0, o = this.size(); i < o; i++) { 21441 var a = this.lookup(i); 21442 if (a instanceof lt) { 21443 var s = i % 2 === 0 ? r : n; 21444 this.set(i, lt.of(a.asNumber() * s)); 21445 } 21446 } 21447 }, e.withContext = function(r) { 21448 return new e(r); 21449 }, e; 21450 }(on) 21451), bp = {}, Lu = ( 21452 /** @class */ 21453 function(t) { 21454 Ne(e, t); 21455 function e(r, n) { 21456 var i = this; 21457 if (r !== bp) 21458 throw new L0("PDFBool"); 21459 return i = t.call(this) || this, i.value = n, i; 21460 } 21461 return e.prototype.asBoolean = function() { 21462 return this.value; 21463 }, e.prototype.clone = function() { 21464 return this; 21465 }, e.prototype.toString = function() { 21466 return String(this.value); 21467 }, e.prototype.sizeInBytes = function() { 21468 return this.value ? 4 : 5; 21469 }, e.prototype.copyBytesInto = function(r, n) { 21470 return this.value ? (r[n++] = I.t, r[n++] = I.r, r[n++] = I.u, r[n++] = I.e, 4) : (r[n++] = I.f, r[n++] = I.a, r[n++] = I.l, r[n++] = I.s, r[n++] = I.e, 5); 21471 }, e.True = new e(bp, !0), e.False = new e(bp, !1), e; 21472 }(on) 21473), ii = new Uint8Array(256); 21474ii[I.LeftParen] = 1; 21475ii[I.RightParen] = 1; 21476ii[I.LessThan] = 1; 21477ii[I.GreaterThan] = 1; 21478ii[I.LeftSquareBracket] = 1; 21479ii[I.RightSquareBracket] = 1; 21480ii[I.LeftCurly] = 1; 21481ii[I.RightCurly] = 1; 21482ii[I.ForwardSlash] = 1; 21483ii[I.Percent] = 1; 21484var Oo = new Uint8Array(256); 21485Oo[I.Null] = 1; 21486Oo[I.Tab] = 1; 21487Oo[I.Newline] = 1; 21488Oo[I.FormFeed] = 1; 21489Oo[I.CarriageReturn] = 1; 21490Oo[I.Space] = 1; 21491var U0 = new Uint8Array(256); 21492for (var Ll = 0, vV = 256; Ll < vV; Ll++) 21493 U0[Ll] = Oo[Ll] || ii[Ll] ? 1 : 0; 21494U0[I.Hash] = 1; 21495var gV = function(t) { 21496 return t.replace(/#([\dABCDEF]{2})/g, function(e, r) { 21497 return fR(r); 21498 }); 21499}, mV = function(t) { 21500 return t >= I.ExclamationPoint && t <= I.Tilde && !U0[t]; 21501}, Jb = {}, Qb = /* @__PURE__ */ new Map(), R = ( 21502 /** @class */ 21503 function(t) { 21504 Ne(e, t); 21505 function e(r, n) { 21506 var i = this; 21507 if (r !== Jb) 21508 throw new L0("PDFName"); 21509 i = t.call(this) || this; 21510 for (var o = "/", a = 0, s = n.length; a < s; a++) { 21511 var u = n[a], l = ct(u); 21512 o += mV(l) ? u : "#" + Ud(l); 21513 } 21514 return i.encodedName = o, i; 21515 } 21516 return e.prototype.asBytes = function() { 21517 for (var r = [], n = "", i = !1, o = function(h) { 21518 h !== void 0 && r.push(h), i = !1; 21519 }, a = 1, s = this.encodedName.length; a < s; a++) { 21520 var u = this.encodedName[a], l = ct(u), f = this.encodedName[a + 1]; 21521 i ? l >= I.Zero && l <= I.Nine || l >= I.a && l <= I.f || l >= I.A && l <= I.F ? (n += u, (n.length === 2 || !(f >= "0" && f <= "9" || f >= "a" && f <= "f" || f >= "A" && f <= "F")) && (o(parseInt(n, 16)), n = "")) : o(l) : l === I.Hash ? i = !0 : o(l); 21522 } 21523 return new Uint8Array(r); 21524 }, e.prototype.decodeText = function() { 21525 var r = this.asBytes(); 21526 return String.fromCharCode.apply(String, Array.from(r)); 21527 }, e.prototype.asString = function() { 21528 return this.encodedName; 21529 }, e.prototype.value = function() { 21530 return this.encodedName; 21531 }, e.prototype.clone = function() { 21532 return this; 21533 }, e.prototype.toString = function() { 21534 return this.encodedName; 21535 }, e.prototype.sizeInBytes = function() { 21536 return this.encodedName.length; 21537 }, e.prototype.copyBytesInto = function(r, n) { 21538 return n += jr(this.encodedName, r, n), this.encodedName.length; 21539 }, e.of = function(r) { 21540 var n = gV(r), i = Qb.get(n); 21541 return i || (i = new e(Jb, n), Qb.set(n, i)), i; 21542 }, e.Length = e.of("Length"), e.FlateDecode = e.of("FlateDecode"), e.Resources = e.of("Resources"), e.Font = e.of("Font"), e.XObject = e.of("XObject"), e.ExtGState = e.of("ExtGState"), e.Contents = e.of("Contents"), e.Type = e.of("Type"), e.Parent = e.of("Parent"), e.MediaBox = e.of("MediaBox"), e.Page = e.of("Page"), e.Annots = e.of("Annots"), e.TrimBox = e.of("TrimBox"), e.ArtBox = e.of("ArtBo
21542x"), e.BleedBox = e.of("BleedBox"), e.CropBox = e.of("CropBox"), e.Rotate = e.of("Rotate"), e.Title = e.of("Title"), e.Author = e.of("Author"), e.Subject = e.of("Subject"), e.Creator = e.of("Creator"), e.Keywords = e.of("Keywords"), e.Producer = e.of("Producer"), e.CreationDate = e.of("CreationDate"), e.ModDate = e.of("ModDate"), e; 21543 }(on) 21544), yV = ( 21545 /** @class */ 21546 function(t) { 21547 Ne(e, t); 21548 function e() { 21549 return t !== null && t.apply(this, arguments) || this; 21550 } 21551 return e.prototype.asNull = function() { 21552 return null; 21553 }, e.prototype.clone = function() { 21554 return this; 21555 }, e.prototype.toString = function() { 21556 return "null"; 21557 }, e.prototype.sizeInBytes = function() { 21558 return 4; 21559 }, e.prototype.copyBytesInto = function(r, n) { 21560 return r[n++] = I.n, r[n++] = I.u, r[n++] = I.l, r[n++] = I.l, 4; 21561 }, e; 21562 }(on) 21563); 21564const dn = new yV(); 21565var mt = ( 21566 /** @class */ 21567 function(t) { 21568 Ne(e, t); 21569 function e(r, n) { 21570 var i = t.call(this) || this; 21571 return i.dict = r, i.context = n, i; 21572 } 21573 return e.prototype.keys = function() { 21574 return Array.from(this.dict.keys()); 21575 }, e.prototype.values = function() { 21576 return Array.from(this.dict.values()); 21577 }, e.prototype.entries = function() { 21578 return Array.from(this.dict.entries()); 21579 }, e.prototype.set = function(r, n) { 21580 this.dict.set(r, n); 21581 }, e.prototype.get = function(r, n) { 21582 n === void 0 && (n = !1); 21583 var i = this.dict.get(r); 21584 if (!(i === dn && !n)) 21585 return i; 21586 }, e.prototype.has = function(r) { 21587 var n = this.dict.get(r); 21588 return n !== void 0 && n !== dn; 21589 }, e.prototype.lookupMaybe = function(r) { 21590 for (var n, i = [], o = 1; o < arguments.length; o++) 21591 i[o - 1] = arguments[o]; 21592 var a = i.includes(dn), s = (n = this.context).lookupMaybe.apply(n, kt([this.get(r, a)], i)); 21593 if (!(s === dn && !a)) 21594 return s; 21595 }, e.prototype.lookup = function(r) { 21596 for (var n, i = [], o = 1; o < arguments.length; o++) 21597 i[o - 1] = arguments[o]; 21598 var a = i.includes(dn), s = (n = this.context).lookup.apply(n, kt([this.get(r, a)], i)); 21599 if (!(s === dn && !a)) 21600 return s; 21601 }, e.prototype.delete = function(r) { 21602 return this.dict.delete(r); 21603 }, e.prototype.asMap = function() { 21604 return new Map(this.dict); 21605 }, e.prototype.uniqueKey = function(r) { 21606 r === void 0 && (r = ""); 21607 for (var n = this.keys(), i = R.of(this.context.addRandomSuffix(r, 10)); n.includes(i); ) 21608 i = R.of(this.context.addRandomSuffix(r, 10)); 21609 return i; 21610 }, e.prototype.clone = function(r) { 21611 for (var n = e.withContext(r || this.context), i = this.entries(), o = 0, a = i.length; o < a; o++) { 21612 var s = i[o], u = s[0], l = s[1]; 21613 n.set(u, l); 21614 } 21615 return n; 21616 }, e.prototype.toString = function() { 21617 for (var r = `<< 21618`, n = this.entries(), i = 0, o = n.length; i < o; i++) { 21619 var a = n[i], s = a[0], u = a[1]; 21620 r += s.toString() + " " + u.toString() + ` 21621`; 21622 } 21623 return r += ">>", r; 21624 }, e.prototype.sizeInBytes = function() { 21625 for (var r = 5, n = this.entries(), i = 0, o = n.length; i < o; i++) { 21626 var a = n[i], s = a[0], u = a[1]; 21627 r += s.sizeInBytes() + u.sizeInBytes() + 2; 21628 } 21629 return r; 21630 }, e.prototype.copyBytesInto = function(r, n) { 21631 var i = n; 21632 r[n++] = I.LessThan, r[n++] = I.LessThan, r[n++] = I.Newline; 21633 for (var o = this.entries(), a = 0, s = o.length; a < s; a++) { 21634 var u = o[a], l = u[0], f = u[1]; 21635 n += l.copyBytesInto(r, n), r[n++] = I.Space, n += f.copyBytesInto(r, n), r[n++] = I.Newline; 21636 } 21637 return r[n++] = I.GreaterThan, r[n++] = I.GreaterThan, n - i; 21638 }, e.withContext = function(r) { 21639 return new e(/* @__PURE__ */ new Map(), r); 21640 }, e.fromMapWithContext = function(r, n) { 21641 return new e(r, n); 21642 }, e; 21643 }(on) 21644), kn = ( 21645 /** @class */ 21646 function(t) { 21647 Ne(e, t); 21648 function e(r) { 21649 var n = t.call(this) || this; 21650 return n.dict = r, n; 21651 } 21652 return e.prototype.clone = function(r) { 21653 throw new Kn(this.constructor.name, "clone"); 21654 }, e.prototype.getContentsString = function() { 21655 throw new Kn(this.constructor.name, "getContentsString"); 21656 }, e.prototype.getContents = function() { 21657 throw new Kn(this.constructor.name, "getContents"); 21658 }, e.prototype.getContentsSize = function() { 21659 throw new Kn(this.constructor.name, "getContentsSize"); 21660 }, e.prototype.updateDict = function() { 21661 var r = this.getContentsSize(); 21662 this.dict.set(R.Length, lt.of(r)); 21663 }, e.prototype.sizeInBytes = function() { 21664 return this.updateDict(), this.dict.sizeInBytes() + this.getContentsSize() + 18; 21665 }, e.prototype.toString = function() { 21666 this.updateDict(); 21667 var r = this.dict.toString(); 21668 return r += ` 21669stream 21670`, r += this.getContentsString(), r += ` 21671endstream`, r; 21672 }, e.prototype.copyBytesInto = function(r, n) { 21673 this.updateDict(); 21674 var i = n; 21675 n += this.dict.copyBytesInto(r, n), r[n++] = I.Newline, r[n++] = I.s, r[n++] = I.t, r[n++] = I.r, r[n++] = I.e, r[n++] = I.a, r[n++] = I.m, r[n++] = I.Newline; 21676 for (var o = this.getContents(), a = 0, s = o.length; a < s; a++) 21677 r[n++] = o[a]; 21678 return r[n++] = I.Newline, r[n++] = I.e, r[n++] = I.n, r[n++] = I.d, r[n++] = I.s, r[n++] = I.t, r[n++] = I.r, r[n++] = I.e, r[n++] = I.a, r[n++] = I.m, n - i; 21679 }, e; 21680 }(on) 21681), ju = ( 21682 /** @class */ 21683 function(t) { 21684 Ne(e, t); 21685 function e(r, n) { 21686 var i = t.call(this, r) || this; 21687 return i.contents = n, i; 21688 } 21689 return e.prototype.asUint8Array = function() { 21690 return this.contents.slice(); 21691 }, e.prototype.clone = function(r) { 21692 return e.of(this.dict.clone(r), this.contents.slice()); 21693 }, e.prototype.getContentsString = function() { 21694 return Aw(this.contents); 21695 }, e.prototype.getContents = function() { 21696 return this.contents; 21697 }, e.prototype.getContentsSize = function() { 21698 return this.contents.length; 21699 }, e.of = function(r, n) { 21700 return new e(r, n); 21701 }, e; 21702 }(kn) 21703), $b = {}, e1 = /* @__PURE__ */ new Map(), zt = ( 21704 /** @class */ 21705 function(t) { 21706 Ne(e, t); 21707 function e(r, n, i) { 21708 var o = this; 21709 if (r !== $b) 21710 throw new L0("PDFRef"); 21711 return o = t.call(this) || this, o.objectNumber = n, o.generationNumber = i, o.tag = n + " " + i + " R", o; 21712 } 21713 return e.prototype.clone = function() { 21714 return this; 21715 }, e.prototype.toString = function() { 21716 return this.tag; 21717 }, e.prototype.sizeInBytes = function() { 21718 return this.tag.length; 21719 }, e.prototype.copyBytesInto = function(r, n) { 21720 return n += jr(this.tag, r, n), this.tag.length; 21721 }, e.of = function(r, n) { 21722 n === void 0 && (n = 0);
21723 var i = r + " " + n + " R", o = e1.get(i); 21724 return o || (o = new e($b, r, n), e1.set(i, o)), o; 21725 }, e; 21726 }(on) 21727), At = ( 21728 /** @class */ 21729 function() { 21730 function t(e, r) { 21731 this.name = e, this.args = r || []; 21732 } 21733 return t.prototype.clone = function(e) { 21734 for (var r = new Array(this.args.length), n = 0, i = r.length; n < i; n++) { 21735 var o = this.args[n]; 21736 r[n] = o instanceof on ? o.clone(e) : o; 21737 } 21738 return t.of(this.name, r); 21739 }, t.prototype.toString = function() { 21740 for (var e = "", r = 0, n = this.args.length; r < n; r++) 21741 e += String(this.args[r]) + " "; 21742 return e += this.name, e; 21743 }, t.prototype.sizeInBytes = function() { 21744 for (var e = 0, r = 0, n = this.args.length; r < n; r++) { 21745 var i = this.args[r]; 21746 e += (i instanceof on ? i.sizeInBytes() : i.length) + 1; 21747 } 21748 return e += this.name.length, e; 21749 }, t.prototype.copyBytesInto = function(e, r) { 21750 for (var n = r, i = 0, o = this.args.length; i < o; i++) { 21751 var a = this.args[i]; 21752 a instanceof on ? r += a.copyBytesInto(e, r) : r += jr(a, e, r), e[r++] = I.Space; 21753 } 21754 return r += jr(this.name, e, r), r - n; 21755 }, t.of = function(e, r) { 21756 return new t(e, r); 21757 }, t; 21758 }() 21759), xv; 21760(function(t) { 21761 t.NonStrokingColor = "sc", t.NonStrokingColorN = "scn", t.NonStrokingColorRgb = "rg", t.NonStrokingColorGray = "g", t.NonStrokingColorCmyk = "k", t.NonStrokingColorspace = "cs", t.StrokingColor = "SC", t.StrokingColorN = "SCN", t.StrokingColorRgb = "RG", t.StrokingColorGray = "G", t.StrokingColorCmyk = "K", t.StrokingColorspace = "CS", t.BeginMarkedContentSequence = "BDC", t.BeginMarkedContent = "BMC", t.EndMarkedContent = "EMC", t.MarkedContentPointWithProps = "DP", t.MarkedContentPoint = "MP", t.DrawObject = "Do", t.ConcatTransformationMatrix = "cm", t.PopGraphicsState = "Q", t.PushGraphicsState = "q", t.SetFlatness = "i", t.SetGraphicsStateParams = "gs", t.SetLineCapStyle = "J", t.SetLineDashPattern = "d", t.SetLineJoinStyle = "j", t.SetLineMiterLimit = "M", t.SetLineWidth = "w", t.SetTextMatrix = "Tm", t.SetRenderingIntent = "ri", t.AppendRectangle = "re", t.BeginInlineImage = "BI", t.BeginInlineImageData = "ID", t.EndInlineImage = "EI", t.ClipEvenOdd = "W*", t.ClipNonZero = "W", t.CloseAndStroke = "s", t.CloseFillEvenOddAndStroke = "b*", t.CloseFillNonZeroAndStroke = "b", t.ClosePath = "h", t.AppendBezierCurve = "c", t.CurveToReplicateFinalPoint = "y", t.CurveToReplicateInitialPoint = "v", t.EndPath = "n", t.FillEvenOddAndStroke = "B*", t.FillEvenOdd = "f*", t.FillNonZeroAndStroke = "B", t.FillNonZero = "f", t.LegacyFillNonZero = "F", t.LineTo = "l", t.MoveTo = "m", t.ShadingFill = "sh", t.StrokePath = "S", t.BeginText = "BT", t.EndText = "ET", t.MoveText = "Td", t.MoveTextSetLeading = "TD", t.NextLine = "T*", t.SetCharacterSpacing = "Tc", t.SetFontAndSize = "Tf", t.SetTextHorizontalScaling = "Tz", t.SetTextLineHeight = "TL", t.SetTextRenderingMode = "Tr", t.SetTextRise = "Ts", t.SetWordSpacing = "Tw", t.ShowText = "Tj", t.ShowTextAdjusted = "TJ", t.ShowTextLine = "'", t.ShowTextLineAndSpace = '"', t.Type3D0 = "d0", t.Type3D1 = "d1", t.BeginCompatibilitySection = "BX", t.EndCompatibilitySection = "EX"; 21762})(xv || (xv = {})); 21763const Pt = xv; 21764var H0 = ( 21765 /** @class */ 21766 function(t) { 21767 Ne(e, t); 21768 function e(r, n) { 21769 var i = t.call(this, r) || this; 21770 return i.computeContents = function() { 21771 var o = i.getUnencodedContents(); 21772 return i.encode ? qd.deflate(o) : o; 21773 }, i.encode = n, n && r.set(R.of("Filter"), R.of("FlateDecode")), i.contentsCache = Eo.populatedBy(i.computeContents), i; 21774 } 21775 return e.prototype.getContents = function() { 21776 return this.contentsCache.access(); 21777 }, e.prototype.getContentsSize = function() { 21778 return this.contentsCache.access().length; 21779 }, e.prototype.getUnencodedContents = function() { 21780 throw new Kn(this.constructor.name, "getUnencodedContents"); 21781 }, e; 21782 }(kn) 21783), bu = ( 21784 /** @class */ 21785 function(t) { 21786 Ne(e, t); 21787 function e(r, n, i) { 21788 i === void 0 && (i = !0); 21789 var o = t.call(this, r, i) || this; 21790 return o.operators = n, o; 21791 } 21792 return e.prototype.push = function() { 21793 for (var r, n = [], i = 0; i < arguments.length; i++) 21794 n[i] = arguments[i]; 21795 (r = this.operators).push.apply(r, n); 21796 }, e.prototype.clone = function(r) { 21797 for (var n = new Array(this.operators.length), i = 0, o = this.operators.length; i < o; i++) 21798 n[i] = this.operators[i].clone(r); 21799 var a = this, s = a.dict, u = a.encode; 21800 return e.of(s.clone(r), n, u); 21801 }, e.prototype.getContentsString = function() { 21802 for (var r = "", n = 0, i = this.operators.length; n < i; n++) 21803 r += this.operators[n] + ` 21804`; 21805 return r; 21806 }, e.prototype.getUnencodedContents = function() { 21807 for (var r = new Uint8Array(this.getUnencodedContentsSize()), n = 0, i = 0, o = this.operators.length; i < o; i++) 21808 n += this.operators[i].copyBytesInto(r, n), r[n++] = I.Newline; 21809 return r; 21810 }, e.prototype.getUnencodedContentsSize = function() { 21811 for (var r = 0, n = 0, i = this.operators.length; n < i; n++) 21812 r += this.operators[n].sizeInBytes() + 1; 21813 return r; 21814 }, e.of = function(r, n, i) { 21815 return i === void 0 && (i = !0), new e(r, n, i); 21816 }, e; 21817 }(H0) 21818), bV = ( 21819 /** @class */ 21820 function() { 21821 function t(e) { 21822 this.seed = e; 21823 } 21824 return t.prototype.nextInt = function() { 21825 var e = Math.sin(this.seed++) * 1e4; 21826 return e - Math.floor(e); 21827 }, t.withSeed = function(e) { 21828 return new t(e); 21829 }, t; 21830 }() 21831), EV = function(t, e) { 21832 var r = t[0], n = e[0]; 21833 return r.objectNumber - n.objectNumber; 21834}, wv = ( 21835 /** @class */ 21836 function() { 21837 function t() { 21838 this.largestObjectNumber = 0, this.header = Xd.forVersion(1, 7), this.trailerInfo = {}, this.indirectObjects = /* @__PURE__ */ new Map(), this.rng = bV.withSeed(1); 21839 } 21840 return t.prototype.assign = function(e, r) { 21841 this.indirectObjects.set(e, r), e.objectNumber > this.largestObjectNumber && (this.largestObjectNumber = e.objectNumber); 21842 }, t.prototype.nextRef = function() { 21843 return this.largestObjectNumber += 1, zt.of(this.largestObjectNumber); 21844 }, t.prototype.register = function(e) { 21845 var r = this.nextRef(); 21846 return this.assign(r, e), r; 21847 }, t.prototype.delete = function(e) { 21848 return this.indirectObjects.delete(e); 21849 }, t.prototype.lookupMaybe = function(e) { 21850 for (var r = [], n = 1; n < arguments.length; n++) 21851 r[n - 1] = arguments[n]; 21852 var i = r.includes(dn), o = e instanceof zt ? this.indirectObjects.get(e) : e; 21853 if (!(!o || o === dn && !i)) { 21854 for (var a = 0, s = r.length; a < s; a++) { 21855 var u = r[a]; 21856 if (u === dn) { 21857 if (o === dn) 21858 return o; 21859 } else if (o instanceof u) 21860 return o; 21861 } 21862 throw new ed(r, o); 21863 } 21864 }, t.prototype.lookup = function(e) { 21865 for (var r = [], n = 1; n < arguments.length; n++) 21866 r[n - 1] = arguments[n]; 21867 var i = e instanceof zt ? this.indirectObjects.get(e) : e; 21868 if (r.length === 0) 21869 return i; 21870 for (var o = 0, a = r.length; o < a; o++) { 21871 var s = r[o]; 21872 if (s === dn) { 21873 if (i === dn) 21874 return i; 21875 } else if (i instanceof s) 21876 return i; 21877 } 21878 throw new ed(r, i); 21879 }, t.prototype.getObjectRef = function(e) { 21880 for (var r = Array.from(this.indirectObjects.entries()), n = 0, i = r.length; n < i; n++) { 21881 var o = r[n], a = o[0], s = o[1]; 21882 if (s === e) 21883 return a; 21884 } 21885 }, t.prototype.enumerateIndirectObjects = function() { 21886 return Array.from(this.indirectObjects.entries()).sort(EV); 21887 }, t.prototype.obj = function(e) { 21888 if (e instanceof on) 21889 return e; 21890 if (e == null) 21891 return dn; 21892 if (typeof e == "string") 21893 return R.of(e); 21894 if (typeof e == "number") 21895 return lt.of(e); 21896 if (typeof e == "boolean") 21897 return e ? Lu.True : Lu.False; 21898 if (Array.isArray(e)) { 21899 for (var r = Lt.withContext(this), n = 0, i = e.length; n < i; n++) 21900 r.push(this.obj(e[n])); 21901 return r; 21902 } else { 21903 for (var o = mt.withContext(this), a = Object.keys(e), n = 0, i = a.length; n < i; n++) { 21904 var s = a[n], u = e[s]; 21905 u !== void 0 && o.set(R.of(s), this.obj(u)); 21906 } 21907 return o; 21908 } 21909 }, t.prototype.stream = function(e, r) { 21910 return r === void 0 && (r = {}), ju.of(this.obj(r), fv(e)); 21911 }, t.prototype.flateStream = function(e, r) { 21912 return r === void 0 && (r = {}), this.stream(qd.deflate(fv(e)), ht(ht({}, r), { Filter: "FlateDecode" })); 21913 }, t.prototype.contentStream = function(e, r) { 21914 return r === void 0 && (r = {}), bu.of(this.obj(r), e); 21915 }, t.prototype.formXObject = function(e, r) { 21916 return r === void 0 && (r = {}), this.contentStream(e, ht(ht({ BBox: this.obj([0, 0, 0, 0]), Matrix: this.obj([1, 0, 0, 1, 0, 0]) }, r), { Type: "XObject", Subtype: "Form" })); 21917 }, t.prototype.getPushGraphicsStateContentStream = function() { 21918 if (this.pushGraphicsStateContentStreamRef) 21919 return this.pushGraphicsStateContentStreamRef; 21920 var e = this.obj({}), r = At.of(Pt.PushGraphicsState), n = bu.of(e, [r]); 21921 return this.pushGraphicsStateContentStreamRef = this.register(n), this.pushGraphicsStateContentStreamRef; 21922 }, t.prototype.getPopGraphicsStateContentStream = function() { 21923 if (this.popGraphicsStateContentStreamRef) 21924 return this.popGraphicsStateContentStreamRef; 21925 var e = this.obj({}), r = At.of(Pt.PopGraphicsState), n = bu.of(e, [r]); 21926 return this.popGraphicsStateContentStreamRef = this.register(n), this.popGraphicsStateContentStreamRef; 21927 }, t.prototype.addRandomSuffix = function(e, r) { 21928 return r === void 0 && (r = 4), e + "-" + Math.floor(this.rng.nextInt() * Math.pow(10, r)); 21929 }, t.create = function() { 21930 return new t(); 21931 }, t; 21932 }() 21933), xo = ( 21934 /** @class */ 21935 function(t) { 21936 Ne(e, t); 21937 function e(r, n, i) { 21938 i === void 0 && (i = !0); 21939 var o = t.call(this, r, n) || this; 21940 return o.normalized = !1, o.autoNormalizeCTM = i, o; 21941 } 21942 return e.prototype.clone = function(r) { 21943 for (var n = e.fromMapWithContext(/* @__PURE__ */ new Map(), r || this.context, this.autoNormalizeCTM), i = this.entries(), o = 0, a = i.length; o < a; o++) { 21944 var s = i[o], u = s[0], l = s[1]; 21945 n.set(u, l); 21946 } 21947 return n; 21948 }, e.prototype.Parent = function() { 21949 return this.lookupMaybe(R.Parent, mt); 21950 }, e.prototype.Contents = function() { 21951 return this.lookup(R.of("Contents")); 21952 }, e.prototype.Annots = function() { 21953 return this.lookupMaybe(R.Annots, Lt); 21954 }, e.prototype.BleedBox = function() { 21955 return this.lookupMaybe(R.BleedBox, Lt); 21956 }, e.prototype.TrimBox = function() { 21957 return this.lookupMaybe(R.TrimBox, Lt); 21958 }, e.prototype.ArtBox = function() { 21959 return this.lookupMaybe(R.ArtBox, Lt); 21960 }, e.prototype.Resources = function() { 21961 var r = this.getInheritableAttribute(R.Resources); 21962 return this.context.lookupMaybe(r, mt); 21963 }, e.prototype.MediaBox = function() { 21964 var r = this.getInheritableAttribute(R.MediaBox); 21965 return this.context.lookup(r, Lt); 21966 }, e.prototype.CropBox = function() { 21967 var r = this.getInheritableAttribute(R.CropBox); 21968 return this.context.lookupMaybe(r, Lt); 21969 }, e.prototype.Rotate = function() { 21970 var r = this.getInheritableAttribute(R.Rotate); 21971 return this.context.lookupMaybe(r, lt); 21972 }, e.prototype.getInheritableAttribute = function(r) { 21973 var n; 21974 return this.ascend(function(i) { 21975 n || (n = i.get(r)); 21976 }), n; 21977 }, e.prototype.setParent = function(r) { 21978 this.set(R.Parent, r); 21979 }, e.prototype.addContentStream = function(r) { 21980 var n = this.normalizedEntries().Contents || this.context.obj([]); 21981 this.set(R.Contents, n), n.push(r); 21982 }, e.prototype.wrapContentStreams = function(r, n) { 21983 var i = this.Contents(); 21984 return i instanceof Lt ? (i.insert(0, r), i.push(n), !0) : !1; 21985 }, e.prototype.addAnnot = function(r) { 21986 var n = this.normalizedEntries().Annots; 21987 n.push(r); 21988 }, e.prototype.removeAnnot = function(r) { 21989 var n = this.normalizedEntries().Annots, i = n.indexOf(r); 21990 i !== void 0 && n.remove(i); 21991 }, e.prototype.setFontDictionary = function(r, n) { 21992 var i = this.normalizedEntries().Font; 21993 i.set(r, n); 21994 }, e.prototype.newFontDictionaryKey = function(r) { 21995 var n = this.normalizedEntries().Font; 21996 return n.uniqueKey(r); 21997 }, e.prototype.newFontDictionary = function(r, n) { 21998 var i = this.newFontDictionaryKey(r); 21999 return this.setFontDictionary(i, n), i; 22000 }, e.prototype.setXObject = function(r, n) { 22001 var i = this.normalizedEntries().XObject; 22002 i.set(r, n); 22003 }, e.prototype.newXObjectKey = function(r) { 22004 var n = this.normalizedEntries().XObject; 22005 return n.uniqueKey(r); 22006 }, e.prototype.newXObject = function(r, n) { 22007 var i = this.newXObjectKey(r); 22008 return this.setXObject(i, n), i; 22009 }, e.prototype.setExtGState = function(r, n) { 22010 var i = this.normalizedEntries().ExtGState; 22011 i.set(r, n); 22012 }, e.prototype.newExtGStateKey = function(r) { 22013 var n = this.normalizedEntries().ExtGState; 22014 return n.uniqueKey(r); 22015 }, e.prototype.newExtGState = function(r, n) { 22016 var i = this.newExtGStateKey(r); 22017 return this.setExtGState(i, n), i; 22018 }, e.prototype.ascend = function(r) { 22019 r(this); 22020 var n = this.Parent(); 22021 n && n.ascend(r); 22022 }, e.prototype.normalize = function() { 22023 if (!this.normalized) { 22024 var r = this.context, n = this.get(R.Contents), i = this.context.lookup(n); 22025 i instanceof kn && this.set(R.Contents, r.obj([n])), this.autoNormalizeCTM && this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(), this.context.getPopGraphicsStateContentStream()); 22026 var o = this.getInheritableAttribute(R.Resources), a = r.lookupMaybe(o, mt) || r.obj({}); 22027 this.set(R.Resources, a); 22028 var s = a.lookupMaybe(R.Font, mt) || r.obj({}); 22029 a.set(R.Font, s); 22030 var u = a.lookupMaybe(R.XObject, mt) || r.obj({}); 22031 a.set(R.XObject, u); 22032 var l = a.lookupMaybe(R.ExtGState, mt) || r.obj({}); 22033 a.set(R.ExtGState, l); 22034 var f = this.Annots() || r.obj([]); 22035 this.set(R.Annots, f), this.normalized = !0; 22036 } 22037 }, e.prototype.normalizedEntries = function() { 22038 this.normalize(); 22039 var r = this.Annots(), n = this.Resources(), i = this.Contents(); 22040 return { 22041 Annots: r, 22042 Resources: n,
22043 Contents: i, 22044 Font: n.lookup(R.Font, mt), 22045 XObject: n.lookup(R.XObject, mt), 22046 ExtGState: n.lookup(R.ExtGState, mt) 22047 }; 22048 }, e.InheritableEntries = [ 22049 "Resources", 22050 "MediaBox", 22051 "CropBox", 22052 "Rotate" 22053 ], e.withContextAndParent = function(r, n) { 22054 var i = /* @__PURE__ */ new Map(); 22055 return i.set(R.Type, R.Page), i.set(R.Parent, n), i.set(R.Resources, r.obj({})), i.set(R.MediaBox, r.obj([0, 0, 612, 792])), new e(i, r, !1); 22056 }, e.fromMapWithContext = function(r, n, i) { 22057 return i === void 0 && (i = !0), new e(r, n, i); 22058 }, e; 22059 }(mt) 22060), t1 = ( 22061 /** @class */ 22062 function() { 22063 function t(e, r) { 22064 var n = this; 22065 this.traversedObjects = /* @__PURE__ */ new Map(), this.copy = function(i) { 22066 return i instanceof xo ? n.copyPDFPage(i) : i instanceof mt ? n.copyPDFDict(i) : i instanceof Lt ? n.copyPDFArray(i) : i instanceof kn ? n.copyPDFStream(i) : i instanceof zt ? n.copyPDFIndirectObject(i) : i.clone(); 22067 }, this.copyPDFPage = function(i) { 22068 for (var o = i.clone(), a = xo.InheritableEntries, s = 0, u = a.length; s < u; s++) { 22069 var l = R.of(a[s]), f = o.getInheritableAttribute(l); 22070 !o.get(l) && f && o.set(l, f); 22071 } 22072 return o.delete(R.of("Parent")), n.copyPDFDict(o); 22073 }, this.copyPDFDict = function(i) { 22074 if (n.traversedObjects.has(i)) 22075 return n.traversedObjects.get(i); 22076 var o = i.clone(n.dest); 22077 n.traversedObjects.set(i, o); 22078 for (var a = i.entries(), s = 0, u = a.length; s < u; s++) { 22079 var l = a[s], f = l[0], h = l[1]; 22080 o.set(f, n.copy(h)); 22081 } 22082 return o; 22083 }, this.copyPDFArray = function(i) { 22084 if (n.traversedObjects.has(i)) 22085 return n.traversedObjects.get(i); 22086 var o = i.clone(n.dest); 22087 n.traversedObjects.set(i, o); 22088 for (var a = 0, s = i.size(); a < s; a++) { 22089 var u = i.get(a); 22090 o.set(a, n.copy(u)); 22091 } 22092 return o; 22093 }, this.copyPDFStream = function(i) { 22094 if (n.traversedObjects.has(i)) 22095 return n.traversedObjects.get(i); 22096 var o = i.clone(n.dest); 22097 n.traversedObjects.set(i, o); 22098 for (var a = i.dict.entries(), s = 0, u = a.length; s < u; s++) { 22099 var l = a[s], f = l[0], h = l[1]; 22100 o.dict.set(f, n.copy(h)); 22101 } 22102 return o; 22103 }, this.copyPDFIndirectObject = function(i) { 22104 var o = n.traversedObjects.has(i); 22105 if (!o) { 22106 var a = n.dest.nextRef(); 22107 n.traversedObjects.set(i, a); 22108 var s = n.src.lookup(i); 22109 if (s) { 22110 var u = n.copy(s); 22111 n.dest.assign(a, u); 22112 } 22113 } 22114 return n.traversedObjects.get(i); 22115 }, this.src = e, this.dest = r; 22116 } 22117 return t.for = function(e, r) { 22118 return new t(e, r); 22119 }, t; 22120 }() 22121), OS = ( 22122 /** @class */ 22123 function() { 22124 function t(e) { 22125 this.subsections = e ? [[e]] : [], this.chunkIdx = 0, this.chunkLength = e ? 1 : 0; 22126 } 22127 return t.prototype.addEntry = function(e, r) { 22128 this.append({ ref: e, offset: r, deleted: !1 }); 22129 }, t.prototype.addDeletedEntry = function(e, r) { 22130 this.append({ ref: e, offset: r, deleted: !0 }); 22131 }, t.prototype.toString = function() { 22132 for (var e = `xref 22133`, r = 0, n = this.subsections.length; r < n; r++) { 22134 var i = this.subsections[r]; 22135 e += i[0].ref.objectNumber + " " + i.length + ` 22136`; 22137 for (var o = 0, a = i.length; o < a; o++) { 22138 var s = i[o]; 22139 e += pi(String(s.offset), 10, "0"), e += " ", e += pi(String(s.ref.generationNumber), 5, "0"), e += " ", e += s.deleted ? "f" : "n", e += ` 22140`; 22141 } 22142 } 22143 return e; 22144 }, t.prototype.sizeInBytes = function() { 22145 for (var e = 5, r = 0, n = this.subsections.length; r < n; r++) { 22146 var i = this.subsections[r], o = i.length, a = i[0]; 22147 e += 2, e += String(a.ref.objectNumber).length, e += String(o).length, e += 20 * o; 22148 } 22149 return e; 22150 }, t.prototype.copyBytesInto = function(e, r) { 22151 var n = r; 22152 return e[r++] = I.x, e[r++] = I.r, e[r++] = I.e, e[r++] = I.f, e[r++] = I.Newline, r += this.copySubsectionsIntoBuffer(this.subsections, e, r), r - n; 22153 }, t.prototype.copySubsectionsIntoBuffer = function(e, r, n) { 22154 for (var i = n, o = e.length, a = 0; a < o; a++) { 22155 var s = this.subsections[a], u = String(s[0].ref.objectNumber); 22156 n += jr(u, r, n), r[n++] = I.Space; 22157 var l = String(s.length); 22158 n += jr(l, r, n), r[n++] = I.Newline, n += this.copyEntriesIntoBuffer(s, r, n); 22159 } 22160 return n - i; 22161 }, t.prototype.copyEntriesIntoBuffer = function(e, r, n) { 22162 for (var i = e.length, o = 0; o < i; o++) { 22163 var a = e[o], s = pi(String(a.offset), 10, "0"); 22164 n += jr(s, r, n), r[n++] = I.Space; 22165 var u = pi(String(a.ref.generationNumber), 5, "0"); 22166 n += jr(u, r, n), r[n++] = I.Space, r[n++] = a.deleted ? I.f : I.n, r[n++] = I.Space, r[n++] = I.Newline; 22167 } 22168 return 20 * i; 22169 }, t.prototype.append = function(e) {
22170 if (this.chunkLength === 0) { 22171 this.subsections.push([e]), this.chunkIdx = 0, this.chunkLength = 1; 22172 return; 22173 } 22174 var r = this.subsections[this.chunkIdx], n = r[this.chunkLength - 1]; 22175 e.ref.objectNumber - n.ref.objectNumber > 1 ? (this.subsections.push([e]), this.chunkIdx += 1, this.chunkLength = 1) : (r.push(e), this.chunkLength += 1); 22176 }, t.create = function() { 22177 return new t({ 22178 ref: zt.of(0, 65535), 22179 offset: 0, 22180 deleted: !0 22181 }); 22182 }, t.createEmpty = function() { 22183 return new t(); 22184 }, t; 22185 }() 22186), z0 = ( 22187 /** @class */ 22188 function() { 22189 function t(e) { 22190 this.lastXRefOffset = String(e); 22191 } 22192 return t.prototype.toString = function() { 22193 return `startxref 22194` + this.lastXRefOffset + ` 22195%%EOF`; 22196 }, t.prototype.sizeInBytes = function() { 22197 return 16 + this.lastXRefOffset.length; 22198 }, t.prototype.copyBytesInto = function(e, r) { 22199 var n = r; 22200 return e[r++] = I.s, e[r++] = I.t, e[r++] = I.a, e[r++] = I.r, e[r++] = I.t, e[r++] = I.x, e[r++] = I.r, e[r++] = I.e, e[r++] = I.f, e[r++] = I.Newline, r += jr(this.lastXRefOffset, e, r), e[r++] = I.Newline, e[r++] = I.Percent, e[r++] = I.Percent, e[r++] = I.E, e[r++] = I.O, e[r++] = I.F, r - n; 22201 }, t.forLastCrossRefSectionOffset = function(e) { 22202 return new t(e); 22203 }, t; 22204 }() 22205), xV = ( 22206 /** @class */ 22207 function() { 22208 function t(e) { 22209 this.dict = e; 22210 } 22211 return t.prototype.toString = function() { 22212 return `trailer 22213` + this.dict.toString(); 22214 }, t.prototype.sizeInBytes = function() { 22215 return 8 + this.dict.sizeInBytes(); 22216 }, t.prototype.copyBytesInto = function(e, r) { 22217 var n = r; 22218 return e[r++] = I.t, e[r++] = I.r, e[r++] = I.a, e[r++] = I.i, e[r++] = I.l, e[r++] = I.e, e[r++] = I.r, e[r++] = I.Newline, r += this.dict.copyBytesInto(e, r), r - n; 22219 }, t.of = function(e) { 22220 return new t(e); 22221 }, t; 22222 }() 22223), AS = ( 22224 /** @class */ 22225 function(t) { 22226 Ne(e, t); 22227 function e(r, n, i) { 22228 i === void 0 && (i = !0); 22229 var o = t.call(this, r.obj({}), i) || this; 22230 return o.objects = n, o.offsets = o.computeObjectOffsets(), o.offsetsString = o.computeOffsetsString(), o.dict.set(R.of("Type"), R.of("ObjStm")), o.dict.set(R.of("N"), lt.of(o.objects.length)), o.dict.set(R.of("First"), lt.of(o.offsetsString.length)), o; 22231 } 22232 return e.prototype.getObjectsCount = function() { 22233 return this.objects.length; 22234 }, e.prototype.clone = function(r) { 22235 return e.withContextAndObjects(r || this.dict.context, this.objects.slice(), this.encode); 22236 }, e.prototype.getContentsString = function() { 22237 for (var r = this.offsetsString, n = 0, i = this.objects.length; n < i; n++) { 22238 var o = this.objects[n], a = o[1]; 22239 r += a + ` 22240`; 22241 } 22242 return r; 22243 }, e.prototype.getUnencodedContents = function() { 22244 for (var r = new Uint8Array(this.getUnencodedContentsSize()), n = jr(this.offsetsString, r, 0), i = 0, o = this.objects.length; i < o; i++) { 22245 var a = this.objects[i], s = a[1]; 22246 n += s.copyBytesInto(r, n), r[n++] = I.Newline; 22247 } 22248 return r; 22249 }, e.prototype.getUnencodedContentsSize = function() { 22250 return this.offsetsString.length + Jf(this.offsets)[1] + Jf(this.objects)[1].sizeInBytes() + 1; 22251 }, e.prototype.computeOffsetsString = function() { 22252 for (var r = "", n = 0, i = this.offsets.length; n < i; n++) { 22253 var o = this.offsets[n], a = o[0], s = o[1]; 22254 r += a + " " + s + " "; 22255 } 22256 return r; 22257 }, e.prototype.computeObjectOffsets = function() { 22258 for (var r = 0, n = new Array(this.objects.length), i = 0, o = this.objects.length; i < o; i++) { 22259 var a = this.objects[i], s = a[0], u = a[1]; 22260 n[i] = [s.objectNumber, r], r += u.sizeInBytes() + 1; 22261 } 22262 return n; 22263 }, e.withContextAndObjects = function(r, n, i) { 22264 return i === void 0 && (i = !0), new e(r, n, i); 22265 }, e; 22266 }(H0) 22267), NS = ( 22268 /** @class */ 22269 function() { 22270 function t(e, r) { 22271 var n = this; 22272 this.parsedObjects = 0, this.shouldWaitForTick = function(i) { 22273 return n.parsedObjects += i, n.parsedObjects % n.objectsPerTick === 0; 22274 }, this.context = e, this.objectsPerTick = r; 22275 } 22276 return t.prototype.serializeToBuffer = function() { 22277 return yt(this, void 0, void 0, function() { 22278 var e, r, n, i, o, a, s, u, l, f, h, g, d, m, b, S, w; 22279 return bt(this, function(D) { 22280 switch (D.label) { 22281 case 0: 22282 return [4, this.computeBufferSize()]; 22283 case 1: 22284 e = D.sent(), r = e.size, n = e.header, i = e.indirectObjects, o = e.xref, a = e.trailerDict, s = e.trailer, u = 0, l = new Uint8Array(r), u += n.copyBytesInto(l, u), l[u++] = I.Newline, l[u++] = I.Newline, f = 0, h = i.length, D.label = 2; 22285 case 2: 22286 return f < h ? (g = i[f], d = g[0], m = g[1], b = String(d.objectNumber), u += jr(b, l, u), l[u++] = I.Space, S = String(d.generationNumber), u += jr(S, l, u), l[u++] = I.Space, l[u++] = I.o, l[u++] = I.b, l[u++] = I.j, l[u++] = I.Newline, u += m.copyBytesInto(l, u), l[u++] = I.Newline, l[u++] = I.e, l[u++] = I.n, l[u++] = I.d, l[u++] = I.o, l[u++] = I.b, l[u++] = I.j, l[u++] = I.Newline, l[u++] = I.Newline, w = m instanceof AS ? m.getObjectsCount() : 1, this.shouldWaitForTick(w) ? [4, el()] : [3, 4]) : [3, 5]; 22287 case 3: 22288 D.sent(), D.label = 4; 22289 case 4: 22290 return f++, [3, 2]; 22291 case 5: 22292 return o && (u += o.copyBytesInto(l, u), l[u++] = I.Newline), a && (u += a.copyBytesInto(l, u), l[u++] = I.Newline, l[u++] = I.Newline), u += s.copyBytesInto(l, u), [2, l]; 22293 } 22294 }); 22295 }); 22296 }, t.prototype.computeIndirectObjectSize = function(e) { 22297 var r = e[0], n = e[1], i = r.sizeInBytes() + 3, o = n.sizeInBytes() + 9; 22298 return i + o; 22299 }, t.prototype.createTrailerDict = function() { 22300 return this.context.obj({ 22301 Size: this.context.largestObjectNumber + 1, 22302 Root: this.context.trailerInfo.Root, 22303 Encrypt: this.context.trailerInfo.Encrypt, 22304 Info: this.context.trailerInfo.Info, 22305 ID: this.context.trailerInfo.ID 22306 }); 22307 }, t.prototype.computeBufferSize = function() { 22308 return yt(this, void 0, void 0, function() { 22309 var e, r, n, i, o, a, s, u, l, f, h; 22310 return bt(this, function(g) { 22311 switch (g.label) { 22312 case 0: 22313 e = Xd.forVersion(1, 7), r = e.sizeInBytes() + 2, n = OS.create(), i = this.context.enumerateIndirectObjects(), o = 0, a = i.length, g.label = 1; 22314 case 1: 22315 return o < a ? (s = i[o], u = s[0], n.addEntry(u, r), r += this.computeIndirectObjectSize(s), this.shouldWaitForTick(1) ? [4, el()] : [3, 3]) : [3, 4]; 22316 case 2: 22317 g.sent(), g.label = 3; 22318 case 3: 22319 return o++, [3, 1]; 22320 case 4: 22321 return l = r, r += n.sizeInBytes() + 1, f = xV.of(this.createTrailerDict()), r += f.sizeInBytes() + 2, h = z0.forLastCrossRefSectionOffset(l), r += h.sizeInBytes(), [2, { size: r, header: e, indirectObjects: i, xref: n, trailerDict: f, trailer: h }]; 22322 } 22323 }); 22324 }); 22325 }, t.forContext = function(e, r) { 22326 return new t(e, r); 22327 }, t; 22328 }() 22329), kS = ( 22330 /** @class */ 22331 function(t) { 22332 Ne(e, t); 22333 function e(r) { 22334 var n = t.call(this) || this; 22335 return n.data = r, n; 22336 } 22337 return e.prototype.clone = function() { 22338 return e.of(this.data.slice()); 22339 }, e.prototype.toString = function() { 22340 return "PDFInvalidObject(" + this.data.length + " bytes)"; 22341 }, e.prototype.sizeInBytes = function() { 22342 return this.data.length; 22343 }, e.prototype.copyBytesInto = function(r, n) { 22344 for (var i = this.data.length, o = 0; o < i; o++) 22345 r[n++] = this.data[o]; 22346 return i; 22347 }, e.of = function(r) { 22348 return new e(r); 22349 }, e; 22350 }(on) 22351), Ho; 22352(function(t) { 22353 t[t.Deleted = 0] = "Deleted", t[t.Uncompressed = 1] = "Uncompressed", t[t.Compressed = 2] = "Compressed"; 22354})(Ho || (Ho = {})); 22355var wV = ( 22356 /** @class */ 22357 function(t) { 22358 Ne(e, t); 22359 function e(r, n, i) { 22360 i === void 0 && (i = !0); 22361 var o = t.call(this, r, i) || this; 22362 return o.computeIndex = function() { 22363 for (var a = [], s = 0, u = 0, l = o.entries.length; u < l; u++) { 22364 var f = o.entries[u], h = o.entries[u - 1]; 22365 u === 0 ? a.push(f.ref.objectNumber) : f.ref.objectNumber - h.ref.objectNumber > 1 && (a.push(s), a.push(f.ref.objectNumber), s = 0), s += 1; 22366 } 22367 return a.push(s), a; 22368 }, o.computeEntryTuples = function() { 22369 for (var a = new Array(o.entries.length), s = 0, u = o.entries.length; s < u; s++) { 22370 var l = o.entries[s]; 22371 if (l.type === Ho.Deleted) { 22372 var f = l.type, h = l.nextFreeObjectNumber, g = l.ref; 22373 a[s] = [f, h, g.generationNumber]; 22374 } 22375 if (l.type === Ho.Uncompressed) { 22376 var f = l.type, d = l.offset, g = l.ref; 22377 a[s] = [f, d, g.generationNumber]; 22378 } 22379 if (l.type === Ho.Compressed) { 22380 var f = l.type, m = l.objectStreamRef, b = l.index; 22381 a[s] = [f, m.objectNumber, b]; 22382 } 22383 } 22384 return a; 22385 }
22385, o.computeMaxEntryByteWidths = function() { 22386 for (var a = o.entryTuplesCache.access(), s = [0, 0, 0], u = 0, l = a.length; u < l; u++) { 22387 var f = a[u], h = f[0], g = f[1], d = f[2], m = mf(h), b = mf(g), S = mf(d); 22388 m > s[0] && (s[0] = m), b > s[1] && (s[1] = b), S > s[2] && (s[2] = S); 22389 } 22390 return s; 22391 }, o.entries = n || [], o.entryTuplesCache = Eo.populatedBy(o.computeEntryTuples), o.maxByteWidthsCache = Eo.populatedBy(o.computeMaxEntryByteWidths), o.indexCache = Eo.populatedBy(o.computeIndex), r.set(R.of("Type"), R.of("XRef")), o; 22392 } 22393 return e.prototype.addDeletedEntry = function(r, n) { 22394 var i = Ho.Deleted; 22395 this.entries.push({ type: i, ref: r, nextFreeObjectNumber: n }), this.entryTuplesCache.invalidate(), this.maxByteWidthsCache.invalidate(), this.indexCache.invalidate(), this.contentsCache.invalidate(); 22396 }, e.prototype.addUncompressedEntry = function(r, n) { 22397 var i = Ho.Uncompressed; 22398 this.entries.push({ type: i, ref: r, offset: n }), this.entryTuplesCache.invalidate(), this.maxByteWidthsCache.invalidate(), this.indexCache.invalidate(), this.contentsCache.invalidate(); 22399 }, e.prototype.addCompressedEntry = function(r, n, i) { 22400 var o = Ho.Compressed; 22401 this.entries.push({ type: o, ref: r, objectStreamRef: n, index: i }), this.entryTuplesCache.invalidate(), this.maxByteWidthsCache.invalidate(), this.indexCache.invalidate(), this.contentsCache.invalidate(); 22402 }, e.prototype.clone = function(r) { 22403 var n = this, i = n.dict, o = n.entries, a = n.encode; 22404 return e.of(i.clone(r), o.slice(), a); 22405 }, e.prototype.getContentsString = function() { 22406 for (var r = this.entryTuplesCache.access(), n = this.maxByteWidthsCache.access(), i = "", o = 0, a = r.length; o < a; o++) { 22407 for (var s = r[o], u = s[0], l = s[1], f = s[2], h = ys(bs(u)), g = ys(bs(l)), d = ys(bs(f)), m = n[0] - 1; m >= 0; m--) 22408 i += (h[m] || 0).toString(2); 22409 for (var m = n[1] - 1; m >= 0; m--) 22410 i += (g[m] || 0).toString(2); 22411 for (var m = n[2] - 1; m >= 0; m--) 22412 i += (d[m] || 0).toString(2); 22413 } 22414 return i; 22415 }, e.prototype.getUnencodedContents = function() { 22416 for (var r = this.entryTuplesCache.access(), n = this.maxByteWidthsCache.access(), i = new Uint8Array(this.getUnencodedContentsSize()), o = 0, a = 0, s = r.length; a < s; a++) { 22417 for (var u = r[a], l = u[0], f = u[1], h = u[2], g = ys(bs(l)), d = ys(bs(f)), m = ys(bs(h)), b = n[0] - 1; b >= 0; b--) 22418 i[o++] = g[b] || 0; 22419 for (var b = n[1] - 1; b >= 0; b--) 22420 i[o++] = d[b] || 0; 22421 for (var b = n[2] - 1; b >= 0; b--) 22422 i[o++] = m[b] || 0; 22423 } 22424 return i; 22425 }, e.prototype.getUnencodedContentsSize = function() { 22426 var r = this.maxByteWidthsCache.access(), n = wR(r); 22427 return n * this.entries.length; 22428 }, e.prototype.updateDict = function() { 22429 t.prototype.updateDict.call(this); 22430 var r = this.maxByteWidthsCache.access(), n = this.indexCache.access(), i = this.dict.context; 22431 this.dict.set(R.of("W"), i.obj(r)), this.dict.set(R.of("Index"), i.obj(n)); 22432 }, e.create = function(r, n) { 22433 n === void 0 && (n = !0); 22434 var i = new e(r, [], n); 22435 return i.addDeletedEntry(zt.of(0, 65535), 0), i; 22436 }, e.of = function(r, n, i) { 22437 return i === void 0 && (i = !0), new e(r, n, i); 22438 }, e; 22439 }(H0) 22440), SV = ( 22441 /** @class */ 22442 function(t) { 22443 Ne(e, t); 22444 function e(r, n, i, o) { 22445 var a = t.call(this, r, n) || this; 22446 return a.encodeStreams = i, a.objectsPerStream = o, a; 22447 } 22448 return e.prototype.computeBufferSize = function() { 22449 return yt(this, void 0, void 0, function() { 22450 var r, n, i, o, a, s, u, l, m, b, f, w, h, g, S, d, m, b, S, w, D, T, _, x; 22451 return bt(this, function(p) { 22452 switch (p.label) { 22453 case 0: 22454 r = this.context.largestObjectNumber + 1, n = Xd.forVersion(1, 7), i = n.sizeInBytes() + 2, o = wV.create(this.createTrailerDict(), this.encodeStreams), a = [], s = [], u = [], l = this.context.enumerateIndirectObjects(), m = 0, b = l.length, p.label = 1; 22455 case 1: 22456 return m < b ? (f = l[m], w = f[0], h = f[1], g = w === this.context.trailerInfo.Encrypt || h instanceof kn || h instanceof kS || w.generationNumber !== 0, g ? (a.push(f), o.addUncompressedEntry(w, i), i += this.computeIndirectObjectSize(f), this.shouldWaitForTick(1) ? [4, el()] : [3, 3]) : [3, 4]) : [3, 6]; 22457 case 2: 22458 p.sent(), p.label = 3; 22459 case 3: 22460 return [3, 5]; 22461 case 4: 22462 S = Jf(s), d = Jf(u), (!S || S.length % this.objectsPerStream === 0) && (S = [], s.push(S), d = zt.of(r++), u.push(d)), o.addCompressedEntry(w, d, S.length), S.push(f), p.label = 5; 22463 case 5: 22464 return m++, [3, 1]; 22465 case 6: 22466 m = 0, b = s.length, p.label = 7; 22467 case 7: 22468 return m < b ? (S = s[m], w = u[m], D = AS.withContextAndObjects(this.context, S, this.encodeStreams), o.addUncompressedEntry(w, i), i += this.computeIndirectObjectSize([w, D]), a.push([w, D]), this.shouldWaitForTick(S.length) ? [4, el()] : [3, 9]) : [3, 10]; 22469 case 8: 22470 p.sent(), p.label = 9; 22471 case 9: 22472 return m++, [3, 7]; 22473 case 10: 22474 return T = zt.of(r++), o.dict.set(R.of("Size"), lt.of(r)), o.addUncompressedEntry(T, i), _ = i, i += this.computeIndirectObjectSize([T, o]), a.push([T, o]), x = z0.forLastCrossRefSectionOffset(_), i += x.sizeInBytes(), [2, { size: i, header: n, indirectObjects: a, trailer: x }]; 22475 } 22476 }); 22477 }); 22478 }, e.forContext = function(r, n, i, o) { 22479 return i === void 0 && (i = !0), o === void 0 && (o = 50), new e(r, n, i, o); 22480 }, e; 22481 }(NS) 22482), ot = ( 22483 /** @class */ 22484 function(t) { 22485 Ne(e, t); 22486 function e(r) { 22487 var n = t.call(this) || this; 22488 return n.value = r, n; 22489 } 22490 return e.prototype.asBytes = function() { 22491 for (var r = this.value + (this.value.length % 2 === 1 ? "0" : ""), n = r.length, i = new Uint8Array(r.length / 2), o = 0, a = 0; o < n; ) { 22492 var s = parseInt(r.substring(o, o + 2), 16); 22493 i[a] = s, o += 2, a += 1; 22494 } 22495 return i; 22496 }, e.prototype.decodeText = function() { 22497 var r = this.asBytes(); 22498 return Rw(r) ? Dw(r) : TS(r); 22499 }, e.prototype.decodeDate = function() { 22500 var r = this.decodeText(), n = Ow(r); 22501 if (!n) 22502 throw new CS(r); 22503 return n; 22504 }, e.prototype.asString = function() { 22505 return this.value; 22506 }, e.prototype.clone = function() { 22507 return e.of(this.value); 22508 }, e.prototype.toString = function() { 22509 return "<" + this.value + ">"; 22510 }, e.prototype.sizeInBytes = function() { 22511 return this.value.length + 2; 22512 }, e.prototype.copyBytesInto = function(r, n) { 22513 return r[n++] = I.LessThan, n += jr(this.value, r, n), r[n++] = I.GreaterThan, this.value.length + 2; 22514 }, e.of = function(r) { 22515 return new e(r); 22516 }, e.fromText = function(r) { 22517 for (var n = CR(r), i = "", o = 0, a = n.length; o < a; o++) 22518 i += oc(n[o], 4); 22519 return new e(i); 22520 }, e; 22521 }(on) 22522), rd = ( 22523 /** @class */ 22524 function() { 22525 function t(e, r) { 22526 this.encoding = e === Vu.ZapfDingbats ? qc.ZapfDingbats : e === Vu.Symbol ? qc.Symbol : qc.WinAnsi, this.font = HM.load(e), this.fontName = this.font.FontName, this.customName = r; 22527 } 22528 return t.prototype.encodeText = function(e) { 22529 for (var r = this.encodeTextAsGlyphs(e), n = new Array(r.length), i = 0, o = r.length; i < o; i++) 22530 n[i] = Ud(r[i].code); 22531 return ot.of(n.join("")); 22532 }, t.prototype.widthOfTextAtSize = function(e, r) { 22533 for (var n = this.encodeTextAsGlyphs(e), i = 0, o = 0, a = n.length; o < a; o++) { 22534 var s = n[o].name, u = (n[o + 1] || {}).name, l = this.font.getXAxisKerningForPair(s, u) || 0; 22535 i += this.widthOfGlyph(s) + l; 22536 } 22537 var f = r / 1e3; 22538 return i * f; 22539 }, t.prototype.heightOfFontAtSize = function(e, r) { 22540 r === void 0 && (r = {}); 22541 var n = r.descender, i = n === void 0 ? !0 : n, o = this.font, a = o.Ascender, s = o.Descender, u = o.FontBBox, l = a || u[3], f = s || u[1], h = l - f; 22542 return i || (h += s || 0), h / 1e3 * e; 22543 }
22543, t.prototype.sizeOfFontAtHeight = function(e) { 22544 var r = this.font, n = r.Ascender, i = r.Descender, o = r.FontBBox, a = n || o[3], s = i || o[1]; 22545 return 1e3 * e / (a - s); 22546 }, t.prototype.embedIntoContext = function(e, r) { 22547 var n = e.obj({ 22548 Type: "Font", 22549 Subtype: "Type1", 22550 BaseFont: this.customName || this.fontName, 22551 Encoding: this.encoding === qc.WinAnsi ? "WinAnsiEncoding" : void 0 22552 }); 22553 return r ? (e.assign(r, n), r) : e.register(n); 22554 }, t.prototype.widthOfGlyph = function(e) { 22555 return this.font.getWidthOfGlyph(e) || 250; 22556 }, t.prototype.encodeTextAsGlyphs = function(e) { 22557 for (var r = Array.from(e), n = new Array(r.length), i = 0, o = r.length; i < o; i++) { 22558 var a = cR(r[i]); 22559 n[i] = this.encoding.encodeUnicodeCodePoint(a); 22560 } 22561 return n; 22562 }, t.for = function(e, r) { 22563 return new t(e, r); 22564 }, t; 22565 }() 22566), _V = function(t, e) { 22567 for (var r = new Array(t.length), n = 0, i = t.length; n < i; n++) { 22568 var o = t[n], a = r1(Sf(e(o))), s = r1.apply(void 0, o.codePoints.map(CV)); 22569 r[n] = [a, s]; 22570 } 22571 return TV(r); 22572}, TV = function(t) { 22573 return `/CIDInit /ProcSet findresource begin 2257412 dict begin 22575begincmap 22576/CIDSystemInfo << 22577 /Registry (Adobe) 22578 /Ordering (UCS) 22579 /Supplement 0 22580>> def 22581/CMapName /Adobe-Identity-UCS def 22582/CMapType 2 def 225831 begincodespacerange 22584<0000><ffff> 22585endcodespacerange 22586` + t.length + ` beginbfchar 22587` + t.map(function(e) { 22588 var r = e[0], n = e[1]; 22589 return r + " " + n; 22590 }).join(` 22591`) + ` 22592endbfchar 22593endcmap 22594CMapName currentdict /CMap defineresource pop 22595end 22596end`; 22597}, r1 = function() { 22598 for (var t = [], e = 0; e < arguments.length; e++) 22599 t[e] = arguments[e]; 22600 return "<" + t.join("") + ">"; 22601}, Sf = function(t) { 22602 return oc(t, 4); 22603}, CV = function(t) { 22604 if (OR(t)) 22605 return Sf(t); 22606 if (AR(t)) { 22607 var e = Nw(t), r = kw(t); 22608 return "" + Sf(e) + Sf(r); 22609 } 22610 var n = Ud(t), i = "0x" + n + " is not a valid UTF-8 or UTF-16 codepoint."; 22611 throw new Error(i); 22612}, OV = function(t) { 22613 var e = 0, r = function(n) { 22614 e |= 1 << n - 1; 22615 }; 22616 return t.fixedPitch && r(1), t.serif && r(2), t.symbolic && r(3), t.script && r(4), t.nonsymbolic && r(6), t.italic && r(7), t.allCap && r(17), t.smallCap && r(18), t.forceBold && r(19), e; 22617}, AV = function(t) { 22618 var e = t["OS/2"] ? t["OS/2"].sFamilyClass : 0, r = OV({ 22619 fixedPitch: t.post.isFixedPitch, 22620 serif: 1 <= e && e <= 7, 22621 symbolic: !0, 22622 script: e === 10, 22623 italic: t.head.macStyle.italic 22624 }); 22625 return r; 22626}, Ht = ( 22627 /** @class */ 22628 function(t) { 22629 Ne(e, t); 22630 function e(r) { 22631 var n = t.call(this) || this; 22632 return n.value = r, n; 22633 } 22634 return e.prototype.asBytes = function() { 22635 for (var r = [], n = "", i = !1, o = function(h) { 22636 h !== void 0 && r.push(h), i = !1; 22637 }, a = 0, s = this.value.length; a < s; a++) { 22638 var u = this.value[a], l = ct(u), f = this.value[a + 1]; 22639 i ? l === I.Newline || l === I.CarriageReturn ? o() : l === I.n ? o(I.Newline) : l === I.r ? o(I.CarriageReturn) : l === I.t ? o(I.Tab) : l === I.b ? o(I.Backspace) : l === I.f ? o(I.FormFeed) : l === I.LeftParen ? o(I.LeftParen) : l === I.RightParen ? o(I.RightParen) : l === I.Backspace ? o(I.BackSlash) : l >= I.Zero && l <= I.Seven ? (n += u, (n.length === 3 || !(f >= "0" && f <= "7")) && (o(parseInt(n, 8)), n = "")) : o(l) : l === I.BackSlash ? i = !0 : o(l); 22640 } 22641 return new Uint8Array(r); 22642 }, e.prototype.decodeText = function() { 22643 var r = this.asBytes(); 22644 return Rw(r) ? Dw(r) : TS(r); 22645 }, e.prototype.decodeDate = function() { 22646 var r = this.decodeText(), n = Ow(r); 22647 if (!n) 22648 throw new CS(r); 22649 return n; 22650 }, e.prototype.asString = function() { 22651 return this.value; 22652 }, e.prototype.clone = function() { 22653 return e.of(this.value); 22654 }, e.prototype.toString = function() { 22655 return "(" + this.value + ")"; 22656 }, e.prototype.sizeInBytes = function() { 22657 return this.value.length + 2; 22658 }, e.prototype.copyBytesInto = function(r, n) { 22659 return r[n++] = I.LeftParen, n += jr(this.value, r, n), r[n++] = I.RightParen, this.value.length + 2; 22660 }, e.of = function(r) { 22661 return new e(r); 22662 }, e.fromDate = function(r) { 22663 var n = pi(String(r.getUTCFullYear()), 4, "0"), i = pi(String(r.getUTCMonth() + 1), 2, "0"), o = pi(String(r.getUTCDate()), 2, "0"), a = pi(String(r.getUTCHours()), 2, "0"), s = pi(String(r.getUTCMinutes()), 2, "0"), u = pi(String(r.getUTCSeconds()), 2, "0"); 22664 return new e("D:" + n + i + o + a + s + u + "Z"); 22665 }, e; 22666 }(on) 22667), W0 = ( 22668 /** @class */ 22669 function() { 22670 function t(e, r, n, i) { 22671 var o = this; 22672 this.allGlyphsInFontSortedById = function() { 22673 for (var a = new Array(o.font.characterSet.length), s = 0, u = a.length; s < u; s++) { 22674 var l = o.font.characterSet[s]; 22675 a[s] = o.font.glyphForCodePoint(l); 22676 } 22677 return xR(a.sort(ER), function(f) { 22678 return f.id; 22679 }); 22680 }, this.font = e, this.scale = 1e3 / this.font.unitsPerEm, this.fontData = r, this.fontName = this.font.postscriptName || "Font", this.customName = n, this.fontFeatures = i, this.baseFontName = "", this.glyphCache = Eo.populatedBy(this.allGlyphsInFontSortedById); 22681 } 22682 return t.for = function(e, r, n, i) { 22683 return yt(this, void 0, void 0, function() { 22684 var o; 22685 return bt(this, function(a) { 22686 switch (a.label) { 22687 case 0: 22688 return [4, e.create(r)]; 22689 case 1: 22690 return o = a.sent(), [2, new t(o, r, n, i)]; 22691 } 22692 }); 22693 }); 22694 }, t.prototype.encodeText = function(e) { 22695 for (var r = this.font.layout(e, this.fontFeatures).glyphs, n = new Array(r.length), i = 0, o = r.length; i < o; i++) 22696 n[i] = oc(r[i].id, 4); 22697 return ot.of(n.join("")); 22698 }, t.prototype.widthOfTextAtSize = function(e, r) { 22699 for (var n = this.font.layout(e, this.fontFeatures).glyphs, i = 0, o = 0, a = n.length; o < a; o++) 22700 i += n[o].advanceWidth * this.scale; 22701 var s = r / 1e3; 22702 return i * s; 22703 }, t.prototype.heightOfFontAtSize = function(e, r) { 22704 r === void 0 && (r = {}); 22705 var n = r.descender, i = n === void 0 ? !0 : n, o = this.font, a = o.ascent, s = o.descent, u = o.bbox, l = (a || u.maxY) * this.scale, f = (s || u.minY) * this.scale, h = l - f; 22706 return i || (h -= Math.abs(s) || 0), h / 1e3 * e; 22707 }
22707, t.prototype.sizeOfFontAtHeight = function(e) { 22708 var r = this.font, n = r.ascent, i = r.descent, o = r.bbox, a = (n || o.maxY) * this.scale, s = (i || o.minY) * this.scale; 22709 return 1e3 * e / (a - s); 22710 }, t.prototype.embedIntoContext = function(e, r) { 22711 return this.baseFontName = this.customName || e.addRandomSuffix(this.fontName), this.embedFontDict(e, r); 22712 }, t.prototype.embedFontDict = function(e, r) { 22713 return yt(this, void 0, void 0, function() { 22714 var n, i, o; 22715 return bt(this, function(a) { 22716 switch (a.label) { 22717 case 0: 22718 return [4, this.embedCIDFontDict(e)]; 22719 case 1: 22720 return n = a.sent(), i = this.embedUnicodeCmap(e), o = e.obj({ 22721 Type: "Font", 22722 Subtype: "Type0", 22723 BaseFont: this.baseFontName, 22724 Encoding: "Identity-H", 22725 DescendantFonts: [n], 22726 ToUnicode: i 22727 }), r ? (e.assign(r, o), [2, r]) : [2, e.register(o)]; 22728 } 22729 }); 22730 }); 22731 }, t.prototype.isCFF = function() { 22732 return this.font.cff; 22733 }, t.prototype.embedCIDFontDict = function(e) { 22734 return yt(this, void 0, void 0, function() { 22735 var r, n; 22736 return bt(this, function(i) { 22737 switch (i.label) { 22738 case 0: 22739 return [4, this.embedFontDescriptor(e)]; 22740 case 1: 22741 return r = i.sent(), n = e.obj({ 22742 Type: "Font", 22743 Subtype: this.isCFF() ? "CIDFontType0" : "CIDFontType2", 22744 CIDToGIDMap: "Identity", 22745 BaseFont: this.baseFontName, 22746 CIDSystemInfo: { 22747 Registry: Ht.of("Adobe"), 22748 Ordering: Ht.of("Identity"), 22749 Supplement: 0 22750 }, 22751 FontDescriptor: r, 22752 W: this.computeWidths() 22753 }), [2, e.register(n)]; 22754 } 22755 }); 22756 }); 22757 }, t.prototype.embedFontDescriptor = function(e) { 22758 return yt(this, void 0, void 0, function() { 22759 var r, n, i, o, a, s, u, l, f, h, g, d, m, b, S; 22760 return bt(this, function(w) { 22761 switch (w.label) { 22762 case 0: 22763 return [4, this.embedFontStream(e)]; 22764 case 1: 22765 return r = w.sent(), n = this.scale, i = this.font, o = i.italicAngle, a = i.ascent, s = i.descent, u = i.capHeight, l = i.xHeight, f = this.font.bbox, h = f.minX, g = f.minY, d = f.maxX, m = f.maxY, b = e.obj((S = { 22766 Type: "FontDescriptor", 22767 FontName: this.baseFontName, 22768 Flags: AV(this.font), 22769 FontBBox: [h * n, g * n, d * n, m * n], 22770 ItalicAngle: o, 22771 Ascent: a * n, 22772 Descent: s * n, 22773 CapHeight: (u || a) * n, 22774 XHeight: (l || 0) * n, 22775 // Not sure how to compute/find this, nor is anybody else really: 22776 // https://stackoverflow.com/questions/35485179/stemv-value-of-the-truetype-font 22777 StemV: 0 22778 }, S[this.isCFF() ? "FontFile3" : "FontFile2"] = r, S)), [2, e.register(b)]; 22779 } 22780 }); 22781 }); 22782 }, t.prototype.serializeFont = function() { 22783 return yt(this, void 0, void 0, function() { 22784 return bt(this, function(e) { 22785 return [2, this.fontData]; 22786 }); 22787 }); 22788 }, t.prototype.embedFontStream = function(e) { 22789 return yt(this, void 0, void 0, function() { 22790 var r, n, i; 22791 return bt(this, function(o) { 22792 switch (o.label) { 22793 case 0: 22794 return i = (n = e).flateStream, [4, this.serializeFont()]; 22795 case 1: 22796 return r = i.apply(n, [o.sent(), { 22797 Subtype: this.isCFF() ? "CIDFontType0C" : void 0 22798 }]), [2, e.register(r)]; 22799 } 22800 }); 22801 }); 22802 }, t.prototype.embedUnicodeCmap = function(e) { 22803 var r = _V(this.glyphCache.access(), this.glyphId.bind(this)), n = e.flateStream(r); 22804 return e.register(n); 22805 }, t.prototype.glyphId = function(e) { 22806 return e ? e.id : -1; 22807 }
22807, t.prototype.computeWidths = function() { 22808 for (var e = this.glyphCache.access(), r = [], n = [], i = 0, o = e.length; i < o; i++) { 22809 var a = e[i], s = e[i - 1], u = this.glyphId(a), l = this.glyphId(s); 22810 i === 0 ? r.push(u) : u - l !== 1 && (r.push(n), r.push(u), n = []), n.push(a.advanceWidth * this.scale); 22811 } 22812 return r.push(n), r; 22813 }, t; 22814 }() 22815), NV = ( 22816 /** @class */ 22817 function(t) { 22818 Ne(e, t); 22819 function e(r, n, i, o) { 22820 var a = t.call(this, r, n, i, o) || this; 22821 return a.subset = a.font.createSubset(), a.glyphs = [], a.glyphCache = Eo.populatedBy(function() { 22822 return a.glyphs; 22823 }), a.glyphIdMap = /* @__PURE__ */ new Map(), a; 22824 } 22825 return e.for = function(r, n, i, o) { 22826 return yt(this, void 0, void 0, function() { 22827 var a; 22828 return bt(this, function(s) { 22829 switch (s.label) { 22830 case 0: 22831 return [4, r.create(n)]; 22832 case 1: 22833 return a = s.sent(), [2, new e(a, n, i, o)]; 22834 } 22835 }); 22836 }); 22837 }, e.prototype.encodeText = function(r) { 22838 for (var n = this.font.layout(r, this.fontFeatures).glyphs, i = new Array(n.length), o = 0, a = n.length; o < a; o++) { 22839 var s = n[o], u = this.subset.includeGlyph(s); 22840 this.glyphs[u - 1] = s, this.glyphIdMap.set(s.id, u), i[o] = oc(u, 4); 22841 } 22842 return this.glyphCache.invalidate(), ot.of(i.join("")); 22843 }, e.prototype.isCFF = function() { 22844 return this.subset.cff; 22845 }, e.prototype.glyphId = function(r) { 22846 return r ? this.glyphIdMap.get(r.id) : -1; 22847 }, e.prototype.serializeFont = function() { 22848 var r = this; 22849 return new Promise(function(n, i) { 22850 var o = []; 22851 r.subset.encodeStream().on("data", function(a) { 22852 return o.push(a); 22853 }).on("end", function() { 22854 return n(bR(o)); 22855 }).on("error", function(a) { 22856 return i(a); 22857 }); 22858 }); 22859 }, e; 22860 }(W0) 22861), Sv; 22862(function(t) { 22863 t.Source = "Source", t.Data = "Data", t.Alternative = "Alternative", t.Supplement = "Supplement", t.EncryptedPayload = "EncryptedPayload", t.FormData = "EncryptedPayload", t.Schema = "Schema", t.Unspecified = "Unspecified"; 22864})(Sv || (Sv = {})); 22865var kV = ( 22866 /** @class */ 22867 function() { 22868 function t(e, r, n) { 22869 n === void 0 && (n = {}), this.fileData = e, this.fileName = r, this.options = n; 22870 } 22871 return t.for = function(e, r, n) { 22872 return n === void 0 && (n = {}), new t(e, r, n); 22873 }, t.prototype.embedIntoContext = function(e, r) { 22874 return yt(this, void 0, void 0, function() { 22875 var n, i, o, a, s, u, l, f, h; 22876 return bt(this, function(g) { 22877 return n = this.options, i = n.mimeType, o = n.description, a = n.creationDate, s = n.modificationDate, u = n.afRelationship, l = e.flateStream(this.fileData, { 22878 Type: "EmbeddedFile", 22879 Subtype: i ?? void 0, 22880 Params: { 22881 Size: this.fileData.length, 22882 CreationDate: a ? Ht.fromDate(a) : void 0, 22883 ModDate: s ? Ht.fromDate(s) : void 0 22884 } 22885 }), f = e.register(l), h = e.obj({ 22886 Type: "Filespec", 22887 F: Ht.of(this.fileName), 22888 UF: ot.fromText(this.fileName), 22889 EF: { F: f }, 22890 Desc: o ? ot.fromText(o) : void 0, 22891 AFRelationship: u ?? void 0 22892 }), r ? (e.assign(r, h), [2, r]) : [2, e.register(h)]; 22893 }); 22894 }); 22895 }, t; 22896 }() 22897), n1 = [ 22898 65472, 22899 65473, 22900 65474, 22901 65475, 22902 65477, 22903 65478, 22904 65479, 22905 65480, 22906 65481, 22907 65482, 22908 65483, 22909 65484, 22910 65485, 22911 65486, 22912 65487 22913], zs; 22914(function(t) { 22915 t.DeviceGray = "DeviceGray", t.DeviceRGB = "DeviceRGB", t.DeviceCMYK = "DeviceCMYK"; 22916})(zs || (zs = {})); 22917var DV = { 22918 1: zs.DeviceGray, 22919 3: zs.DeviceRGB, 22920 4: zs.DeviceCMYK 22921}, DS = ( 22922 /** @class */ 22923 function() { 22924 function t(e, r, n, i, o) { 22925 this.imageData = e, this.bitsPerComponent = r, this.width = n, this.height = i, this.colorSpace = o; 22926 } 22927 return t.for = function(e) { 22928 return yt(this, void 0, void 0, function() { 22929 var r, n, i, o, a, s, u, l, f, h; 22930 return bt(this, function(g) { 22931 if (r = new DataView(e.buffer), n = r.getUint16(0), n !== 65496) 22932 throw new Error("SOI not found in JPEG"); 22933 for (i = 2; i < r.byteLength && (o = r.getUint16(i), i += 2, !n1.includes(o)); ) 22934 i += r.getUint16(i); 22935 if (!n1.includes(o)) 22936 throw new Error("Invalid JPEG"); 22937 if (i += 2, a = r.getUint8(i++), s = r.getUint16(i), i += 2, u = r.getUint16(i), i += 2, l = r.getUint8(i++), f = DV[l], !f) 22938 throw new Error("Unknown JPEG channel."); 22939 return h = f, [2, new t(e, a, u, s, h)]; 22940 }); 22941 }); 22942 }, t.prototype.embedIntoContext = function(e, r) { 22943 return yt(this, void 0, void 0, function() { 22944 var n; 22945 return bt(this, function(i) { 22946 return n = e.stream(this.imageData, { 22947 Type: "XObject", 22948 Subtype: "Image", 22949 BitsPerComponent: this.bitsPerComponent, 22950 Width: this.width, 22951 Height: this.height, 22952 ColorSpace: this.colorSpace, 22953 Filter: "DCTDecode", 22954 // CMYK JPEG streams in PDF are typically stored complemented, 22955 // with 1 as 'off' and 0 as 'on' (PDF 32000-1:2008, 8.6.4.4). 22956 // 22957 // Standalone CMYK JPEG (usually exported by Photoshop) are 22958 // stored inverse, with 0 as 'off' and 1 as 'on', like RGB. 22959 //
22960 // Applying a swap here as a hedge that most bytes passing 22961 // through this method will benefit from it. 22962 Decode: this.colorSpace === zs.DeviceCMYK ? [1, 0, 1, 0, 1, 0, 1, 0] : void 0 22963 }), r ? (e.assign(r, n), [2, r]) : [2, e.register(n)]; 22964 }); 22965 }); 22966 }, t; 22967 }() 22968), Se = {}; 22969Se.toRGBA8 = function(t) { 22970 var e = t.width, r = t.height; 22971 if (t.tabs.acTL == null) 22972 return [Se.toRGBA8.decodeImage(t.data, e, r, t).buffer]; 22973 var n = []; 22974 t.frames[0].data == null && (t.frames[0].data = t.data); 22975 for (var i = e * r * 4, o = new Uint8Array(i), a = new Uint8Array(i), s = new Uint8Array(i), u = 0; u < t.frames.length; u++) { 22976 var l = t.frames[u], f = l.rect.x, h = l.rect.y, g = l.rect.width, d = l.rect.height, m = Se.toRGBA8.decodeImage(l.data, g, d, t); 22977 if (u != 0) 22978 for (var b = 0; b < i; b++) 22979 s[b] = o[b]; 22980 if (l.blend == 0 ? Se._copyTile(m, g, d, o, e, r, f, h, 0) : l.blend == 1 && Se._copyTile(m, g, d, o, e, r, f, h, 1), n.push(o.buffer.slice(0)), l.dispose != 0) { 22981 if (l.dispose == 1) 22982 Se._copyTile(a, g, d, o, e, r, f, h, 0); 22983 else if (l.dispose == 2) 22984 for (var b = 0; b < i; b++) 22985 o[b] = s[b]; 22986 } 22987 } 22988 return n; 22989}; 22990Se.toRGBA8.decodeImage = function(t, e, r, n) { 22991 var i = e * r, o = Se.decode._getBPP(n), a = Math.ceil(e * o / 8), s = new Uint8Array(i * 4), u = new Uint32Array(s.buffer), l = n.ctype, f = n.depth, h = Se._bin.readUshort; 22992 if (l == 6) { 22993 var g = i << 2; 22994 if (f == 8) 22995 for (var d = 0; d < g; d += 4) 22996 s[d] = t[d], s[d + 1] = t[d + 1], s[d + 2] = t[d + 2], s[d + 3] = t[d + 3]; 22997 if (f == 16) 22998 for (var d = 0; d < g; d++) 22999 s[d] = t[d << 1]; 23000 } else if (l == 2) { 23001 var m = n.tabs.tRNS; 23002 if (m == null) { 23003 if (f == 8) 23004 for (var d = 0; d < i; d++) { 23005 var b = d * 3; 23006 u[d] = 255 << 24 | t[b + 2] << 16 | t[b + 1] << 8 | t[b]; 23007 } 23008 if (f == 16) 23009 for (var d = 0; d < i; d++) { 23010 var b = d * 6; 23011 u[d] = 255 << 24 | t[b + 4] << 16 | t[b + 2] << 8 | t[b]; 23012 } 23013 } else { 23014 var S = m[0], w = m[1], D = m[2]; 23015 if (f == 8) 23016 for (var d = 0; d < i; d++) { 23017 var T = d << 2, b = d * 3; 23018 u[d] = 255 << 24 | t[b + 2] << 16 | t[b + 1] << 8 | t[b], t[b] == S && t[b + 1] == w && t[b + 2] == D && (s[T + 3] = 0); 23019 } 23020 if (f == 16) 23021 for (var d = 0; d < i; d++) { 23022 var T = d << 2, b = d * 6; 23023 u[d] = 255 << 24 | t[b + 4] << 16 | t[b + 2] << 8 | t[b], h(t, b) == S && h(t, b + 2)
23023== w && h(t, b + 4) == D && (s[T + 3] = 0); 23024 } 23025 } 23026 } else if (l == 3) { 23027 var _ = n.tabs.PLTE, x = n.tabs.tRNS, p = x ? x.length : 0; 23028 if (f == 1) 23029 for (var N = 0; N < r; N++) 23030 for (var V = N * a, P = N * e, d = 0; d < e; d++) { 23031 var T = P + d << 2, M = t[V + (d >> 3)] >> 7 - ((d & 7) << 0) & 1, U = 3 * M; 23032 s[T] = _[U], s[T + 1] = _[U + 1], s[T + 2] = _[U + 2], s[T + 3] = M < p ? x[M] : 255; 23033 } 23034 if (f == 2) 23035 for (var N = 0; N < r; N++) 23036 for (var V = N * a, P = N * e, d = 0; d < e; d++) { 23037 var T = P + d << 2, M = t[V + (d >> 2)] >> 6 - ((d & 3) << 1) & 3, U = 3 * M; 23038 s[T] = _[U], s[T + 1] = _[U + 1], s[T + 2] = _[U + 2], s[T + 3] = M < p ? x[M] : 255; 23039 } 23040 if (f == 4) 23041 for (var N = 0; N < r; N++) 23042 for (var V = N * a, P = N * e, d = 0; d < e; d++) { 23043 var T = P + d << 2, M = t[V + (d >> 1)] >> 4 - ((d & 1) << 2) & 15, U = 3 * M; 23044 s[T] = _[U], s[T + 1] = _[U + 1], s[T + 2] = _[U + 2], s[T + 3] = M < p ? x[M] : 255; 23045 } 23046 if (f == 8) 23047 for (var d = 0; d < i; d++) { 23048 var T = d << 2, M = t[d], U = 3 * M; 23049 s[T] = _[U], s[T + 1] = _[U + 1], s[T + 2] = _[U + 2], s[T + 3] = M < p ? x[M] : 255; 23050 } 23051 } else if (l == 4) { 23052 if (f == 8) 23053 for (var d = 0; d < i; d++) { 23054 var T = d << 2, re = d << 1, Q = t[re]; 23055 s[T] = Q, s[T + 1] = Q, s[T + 2] = Q, s[T + 3] = t[re + 1]; 23056 } 23057 if (f == 16) 23058 for (var d = 0; d < i; d++) { 23059 var T = d << 2, re = d << 2, Q = t[re]; 23060 s[T] = Q, s[T + 1] = Q, s[T + 2] = Q, s[T + 3] = t[re + 2]; 23061 } 23062 } else if (l == 0) 23063 for (var S = n.tabs.tRNS ? n.tabs.tRNS : -1, N = 0; N < r; N++) { 23064 var ne = N * a, ee = N * e; 23065 if (f == 1) 23066 for (var L = 0; L < e; L++) { 23067 var Q = 255 * (t[ne + (L >>> 3)] >>> 7 - (L & 7) & 1), Z = Q == S * 255 ? 0 : 255; 23068 u[ee + L] = Z << 24 | Q << 16 | Q << 8 | Q; 23069 } 23070 else if (f == 2) 23071 for (var L = 0; L < e; L++) { 23072 var Q = 85 * (t[ne + (L >>> 2)] >>> 6 - ((L & 3) << 1) & 3), Z = Q == S * 85 ? 0 : 255; 23073 u[ee + L] = Z << 24 | Q << 16 | Q << 8 | Q; 23074 } 23075 else if (f == 4) 23076 for (var L = 0; L < e; L++) { 23077 var Q = 17 * (t[ne + (L >>> 1)] >>> 4 - ((L & 1) << 2) & 15), Z = Q == S * 17 ? 0 : 255; 23078 u[ee + L] = Z << 24 | Q << 16 | Q << 8 | Q; 23079 } 23080 else if (f == 8) 23081 for (var L = 0; L < e; L++) { 23082 var Q = t[ne + L], Z = Q == S ? 0 : 255; 23083 u[ee + L] = Z << 24 | Q << 16 | Q << 8 | Q; 23084 } 23085 else if (f == 16) 23086 for (var L = 0; L < e; L++) { 23087 var Q = t[ne + (L << 1)], Z = h(t, ne + (L << d)) == S ? 0 : 255; 23088 u[ee + L] = Z << 24 | Q << 16 | Q << 8 | Q; 23089 } 23090 } 23091 return s; 23092}; 23093Se.decode = function(t) { 23094 for (var e = new Uint8Array(t), r = 8, n = Se._bin, i = n.readUshort, o = n.readUint, a = { tabs: {}, frames: [] }, s = new Uint8Array(e.length), u = 0, l, f = 0, h = [137, 80, 78, 71, 13, 10, 26, 10], g = 0; g < 8; g++) 23095 if (e[g] != h[g]) 23096 throw "The input is not a PNG file!"; 23097 for (; r < e.length; ) { 23098 var d = n.readUint(e, r); 23099 r += 4; 23100 var m = n.readASCII(e, r, 4); 23101 if (r += 4, m == "IHDR") 23102 Se.decode._IHDR(e, r, a); 23103 else if (m == "IDAT") { 23104 for (var g = 0; g < d; g++) 23105 s[u + g] = e[r + g]; 23106 u += d; 23107 } else if (m == "acTL") 23108 a.tabs[m] = { num_frames: o(e, r), num_plays: o(e, r + 4) }, l = new Uint8Array(e.length); 23109 else if (m == "fcTL") { 23110 if (f != 0) { 23111 var b = a.frames[a.frames.length - 1]; 23112 b.data = Se.decode._decompress(a, l.slice(0, f), b.rect.width, b.rect.height), f = 0; 23113 } 23114 var S = { x: o(e, r + 12), y: o(e, r + 16), width: o(e, r + 4), height: o(e, r + 8) }, w = i(e, r + 22); 23115 w = i(e, r + 20) / (w == 0 ? 100 : w); 23116 var D = { rect: S, delay: Math.round(w * 1e3), dispose: e[r + 24], blend: e[r + 25] }; 23117 a.frames.push(D); 23118 } else if (m == "fdAT") { 23119 for (var g = 0; g < d - 4; g++) 23120 l[f + g] = e[r + g + 4]; 23121 f += d - 4; 23122 } else if (m == "pHYs") 23123 a.tabs[m] = [n.readUint(e, r), n.readUint(e, r + 4), e[r + 8]]; 23124 else if (m == "cHRM") { 23125 a.tabs[m] = []; 23126 for (var g = 0; g < 8; g++) 23127 a.tabs[m].push(n.readUint(e, r + g * 4)); 23128 } else if (m == "tEXt") { 23129 a.tabs[m] == null && (a.tabs[m] = {}); 23130 var T = n.nextZero(e, r), _ = n.readASCII(e, r, T - r), x = n.readASCII(e, T + 1, r + d - T - 1); 23131 a.tabs[m][_] = x; 23132 } else if (m == "iTXt") { 23133 a.tabs[m] == null && (a.tabs[m] = {}); 23134 var T = 0, p = r; 23135 T = n.nextZero(e, p); 23136 var _ = n.readASCII(e, p, T - p); 23137 p = T + 1, e[p], e[p + 1], p += 2, T = n.nextZero(e, p), n.readASCII(e, p, T - p), p = T + 1, T = n.nextZero(e, p), n.readUTF8(e, p, T - p), p = T + 1; 23138 var x = n.readUTF8(e, p, d - (p - r)); 23139 a.tabs[m][_] = x; 23140 } else if (m == "PLTE") 23141 a.tabs[m] = n.readBytes(e, r, d); 23142 else if (m == "hIST") { 23143 var N = a.tabs.PLTE.length / 3; 23144 a.tabs[m] = []; 23145 for (var g = 0; g < N; g++) 23146 a.tabs[m].push(i(e, r + g * 2)); 23147 } else if (m == "tRNS") 23148 a.ctype == 3 ? a.tabs[m] = n.readBytes(e, r, d) : a.ctype == 0 ? a.tabs[m] = i(e, r) : a.ctype == 2 && (a.tabs[m] = [i(e, r), i(e, r + 2), i(e, r + 4)]); 23149 else if (m == "gAMA") 23150 a.tabs[m] = n.readUint(e, r) / 1e5; 23151 else if (m == "sRGB") 23152 a.tabs[m] = e[r]; 23153 else if (m == "bKGD") 23154 a.ctype == 0 || a.ctype == 4 ? a.tabs[m] = [i(e, r)] : a.ctype == 2 || a.ctype == 6 ? a.tabs[m] = [i(e, r), i(e, r + 2), i(e, r + 4)] : a.ctype == 3 && (a.tabs[m] = e[r]); 23155 else if (m == "IEND") 23156 break; 23157 r += d, n.readUint(e, r), r += 4; 23158 } 23159 if (f != 0) { 23160 var b = a.frames[a.frames.length - 1]; 23161 b.data = Se.decode._decompress(a, l.slice(0, f), b.rect.width, b.rect.height), f = 0; 23162 } 23163 return a.data = Se.decode._decompress(a, s, a.width, a.height), delete a.compress, delete a.interlace, delete a.filter, a; 23164}; 23165Se.decode._decompress = function(t, e, r, n) { 23166 var i = Se.decode._getBPP(t), o = Math.ceil(r * i / 8), a = new Uint8Array((o + 1 + t.interlace) * n); 23167 return e = Se.decode._inflate(e, a), t.interlace == 0 ? e = Se.decode._filterZero(e, t, 0, r, n) : t.interlace == 1 && (e = Se.decode._readInterlace(e, t)), e; 23168}; 23169Se.decode._inflate = function(t, e) { 23170 var r = Se.inflateRaw(new Uint8Array(t.buffer, 2, t.length - 6), e); 23171 return r; 23172}; 23173Se.inflateRaw = function() { 23174 var t = {}; 23175 return t.H = {}, t.H.N = function(e, r) { 23176 var n = Uint8Array, i = 0, o = 0, a = 0, s = 0, u = 0, l = 0, f = 0, h = 0, g = 0, d, m; 23177 if (e[0] == 3 && e[1] == 0) 23178 return r || new n(0); 23179 var b = t.H, S = b.b, w = b.e, D = b.R, T = b.n, _ = b.A, x = b.Z, p = b.m, N = r == null; 23180 for (N && (r = new n(e.length >>> 2 << 3)); i == 0; ) { 23181 if (i = S(e, g, 1), o = S(e, g + 1, 2), g += 3, o == 0) { 23182 g & 7 && (g += 8 - (g & 7)); 23183 var V = (g >>> 3) + 4, P = e[V - 4] | e[V - 3] << 8; 23184 N && (r = t.H.W(r, h + P)), r.set(new n(e.buffer, e.byteOffset + V, P), h), g = V + P << 3, h += P; 23185 continue; 23186 } 23187 if (N && (r = t.H.W(r, h + (1 << 17))), o == 1 && (d = p.J, m = p.h, l = 512 - 1, f = 32 - 1), o == 2) { 23188 a = w(e, g, 5) + 257, s = w(e, g + 5, 5) + 1, u = w(e, g + 10, 4) + 4, g += 14; 23189 for (var M = 1, U = 0; U < 38; U += 2) 23190 p.Q[U] = 0, p.Q[U + 1] = 0; 23191 for (var U = 0; U < u; U++) { 23192 var re = w(e, g + U * 3, 3); 23193 p.Q[(p.X[U] << 1) + 1] = re, re > M && (M = re); 23194 } 23195 g += 3 * u, T(p.Q, M), _(p.Q, M, p.u), d = p.w, m = p.d, g = D(p.u, (1 << M) - 1, a + s, e, g, p.v); 23196 var Q = b.V(p.v, 0, a, p.C); 23197 l = (1 << Q) - 1; 23198 var ne = b.V(p.v, a, s, p.D); 23199 f = (1 << ne) - 1, T(p.C, Q), _(p.C, Q, d), T(p.D, ne), _(p.D, ne, m); 23200 } 23201 for (; ; ) { 23202 var ee = d[x(e, g) & l]; 23203 g += ee & 15; 23204 var L = ee >>> 4; 23205 if (!(L >>> 8)) 23206 r[h++] = L; 23207 else { 23208 if (L == 256) 23209 break; 23210 var Z = h + L - 254; 23211 if (L > 264) { 23212 var G = p.q[L - 257]; 23213 Z = h + (G >>> 3) + w(e, g, G & 7), g += G & 7; 23214 } 23215 var se = m[x(e, g) & f]; 23216 g += se & 15; 23217 var de = se >>> 4, Re = p.c[de], ze = (Re >>> 4) + S(e, g, Re & 15); 23218 for (g += Re & 15; h < Z; ) 23219 r[h] = r[h++ - ze], r[h] = r[h++ - ze], r[h] = r[h++ - ze], r[h] = r[h++ - ze]; 23220 h = Z; 23221 } 23222 } 23223 } 23224 return r.length == h ? r : r.slice(0, h); 23225 }, t.H.W = function(e, r) { 23226 var n = e.length; 23227 if (r <= n) 23228 return e; 23229 var i = new Uint8Array(n << 1); 23230 return i.set(e, 0), i; 23231 }, t.H.R = function(e, r, n, i, o, a) { 23232 for (var s = t.H.e, u = t.H.Z, l = 0; l < n; ) { 23233 var f = e[u(i, o) & r]; 23234 o += f & 15; 23235 var h = f >>> 4;
23236 if (h <= 15) 23237 a[l] = h, l++; 23238 else { 23239 var g = 0, d = 0; 23240 h == 16 ? (d = 3 + s(i, o, 2), o += 2, g = a[l - 1]) : h == 17 ? (d = 3 + s(i, o, 3), o += 3) : h == 18 && (d = 11 + s(i, o, 7), o += 7); 23241 for (var m = l + d; l < m; ) 23242 a[l] = g, l++; 23243 } 23244 } 23245 return o; 23246 }, t.H.V = function(e, r, n, i) { 23247 for (var o = 0, a = 0, s = i.length >>> 1; a < n; ) { 23248 var u = e[a + r]; 23249 i[a << 1] = 0, i[(a << 1) + 1] = u, u > o && (o = u), a++; 23250 } 23251 for (; a < s; ) 23252 i[a << 1] = 0, i[(a << 1) + 1] = 0, a++; 23253 return o; 23254 }, t.H.n = function(e, r) { 23255 for (var n = t.H.m, i = e.length, o, a, s, u, l, f = n.j, u = 0; u <= r; u++) 23256 f[u] = 0; 23257 for (u = 1; u < i; u += 2) 23258 f[e[u]]++; 23259 var h = n.K; 23260 for (o = 0, f[0] = 0, a = 1; a <= r; a++) 23261 o = o + f[a - 1] << 1, h[a] = o; 23262 for (s = 0; s < i; s += 2) 23263 l = e[s + 1], l != 0 && (e[s] = h[l], h[l]++); 23264 }, t.H.A = function(e, r, n) { 23265 for (var i = e.length, o = t.H.m, a = o.r, s = 0; s < i; s += 2) 23266 if (e[s + 1] != 0) 23267 for (var u = s >> 1, l = e[s + 1], f = u << 4 | l, h = r - l, g = e[s] << h, d = g + (1 << h); g != d; ) { 23268 var m = a[g] >>> 15 - r; 23269 n[m] = f, g++; 23270 } 23271 }, t.H.l = function(e, r) { 23272 for (var n = t.H.m.r, i = 15 - r, o = 0; o < e.length; o += 2) { 23273 var a = e[o] << r - e[o + 1]; 23274 e[o] = n[a] >>> i; 23275 } 23276 }, t.H.M = function(e, r, n) { 23277 n = n << (r & 7); 23278 var i = r >>> 3; 23279 e[i] |= n, e[i + 1] |= n >>> 8; 23280 }, t.H.I = function(e, r, n) { 23281 n = n << (r & 7); 23282 var i = r >>> 3; 23283 e[i] |= n, e[i + 1] |= n >>> 8, e[i + 2] |= n >>> 16; 23284 }, t.H.e = function(e, r, n) { 23285 return (e[r >>> 3] | e[(r >>> 3) + 1] << 8) >>> (r & 7) & (1 << n) - 1; 23286 }, t.H.b = function(e, r, n) { 23287 return (e[r >>> 3] | e[(r >>> 3) + 1] << 8 | e[(r >>> 3) + 2] << 16) >>> (r & 7) & (1 << n) - 1; 23288 }, t.H.Z = function(e, r) { 23289 return (e[r >>> 3] | e[(r >>> 3) + 1] << 8 | e[(r >>> 3) + 2] << 16) >>> (r & 7); 23290 }, t.H.i = function(e, r) { 23291 return (e[r >>> 3] | e[(r >>> 3) + 1] << 8 | e[(r >>> 3) + 2] << 16 | e[(r >>> 3) + 3] << 24) >>> (r & 7); 23292 }, t.H.m = function() { 23293 var e = Uint16Array, r = Uint32Array; 23294 return { K: new e(16), j: new e(16), X: [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], S: [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 999, 999, 999], T: [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0, 0], q: new e(32), p: [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 65535, 65535], z: [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 0, 0], c: new r(32), J: new e(512), _: [], h: new e(32), $: [], w: new e(32768), C: [], v: [], d: new e(32768), D: [], u: new e(512), Q: [], r: new e(32768), s: new r(286), Y: new r(30), a: new r(19), t: new r(15e3), k: new e(65536), g: new e(32768) }; 23295 }(), function() { 23296 for (var e = t.H.m, r = 32768, n = 0; n < r; n++) { 23297 var i = n; 23298 i = (i & 2863311530) >>> 1 | (i & 1431655765) << 1, i = (i & 3435973836) >>> 2 | (i & 858993459) << 2, i = (i & 4042322160) >>> 4 | (i & 252645135) << 4, i = (i & 4278255360) >>> 8 | (i & 16711935) << 8, e.r[n] = (i >>> 16 | i << 16) >>> 17; 23299 } 23300 function o(a, s, u) { 23301 for (; s-- != 0; ) 23302 a.push(0, u); 23303 } 23304 for (var n = 0; n < 32; n++) 23305 e.q[n] = e.S[n] << 3 | e.T[n], e.c[n] = e.p[n] << 4 | e.z[n]; 23306 o(e._, 144, 8), o(e._, 255 - 143, 9), o(e._, 279 - 255, 7), o(e._, 287 - 279, 8), t.H.n(e._, 9), t.H.A(e._, 9, e.J), t.H.l(e._, 9), o(e.$, 32, 5), t.H.n(e.$, 5), t.H.A(e.$, 5, e.h), t.H.l(e.$, 5), o(e.Q, 19, 0), o(e.C, 286, 0), o(e.D, 30, 0), o(e.v, 320, 0); 23307 }(), t.H.N; 23308}(); 23309Se.decode._readInterlace = function(t, e) { 23310 for (var r = e.width, n = e.height, i = Se.decode._getBPP(e), o = i >> 3, a = Math.ceil(r * i / 8), s = new Uint8Array(n * a), u = 0, l = [0, 0, 4, 0, 2, 0, 1], f = [0, 4, 0, 2, 0, 1, 0], h = [8, 8, 8, 4, 4, 2, 2], g = [8, 8, 4, 4, 2, 2, 1], d = 0; d < 7; ) { 23311 for (var m = h[d], b = g[d], S = 0, w = 0, D = l[d]; D < n; ) 23312 D += m, w++; 23313 for (var T = f[d]; T < r; ) 23314 T += b, S++;
23315 var _ = Math.ceil(S * i / 8); 23316 Se.decode._filterZero(t, e, u, S, w); 23317 for (var x = 0, p = l[d]; p < n; ) { 23318 for (var N = f[d], V = u + x * _ << 3; N < r; ) { 23319 if (i == 1) { 23320 var P = t[V >> 3]; 23321 P = P >> 7 - (V & 7) & 1, s[p * a + (N >> 3)] |= P << 7 - ((N & 7) << 0); 23322 } 23323 if (i == 2) { 23324 var P = t[V >> 3]; 23325 P = P >> 6 - (V & 7) & 3, s[p * a + (N >> 2)] |= P << 6 - ((N & 3) << 1); 23326 } 23327 if (i == 4) { 23328 var P = t[V >> 3]; 23329 P = P >> 4 - (V & 7) & 15, s[p * a + (N >> 1)] |= P << 4 - ((N & 1) << 2); 23330 } 23331 if (i >= 8) 23332 for (var M = p * a + N * o, U = 0; U < o; U++) 23333 s[M + U] = t[(V >> 3) + U]; 23334 V += i, N += b; 23335 } 23336 x++, p += m; 23337 } 23338 S * w != 0 && (u += w * (1 + _)), d = d + 1; 23339 } 23340 return s; 23341}; 23342Se.decode._getBPP = function(t) { 23343 var e = [1, null, 3, 1, 2, null, 4][t.ctype]; 23344 return e * t.depth; 23345}; 23346Se.decode._filterZero = function(t, e, r, n, i) { 23347 var o = Se.decode._getBPP(e), a = Math.ceil(n * o / 8), s = Se.decode._paeth; 23348 o = Math.ceil(o / 8); 23349 var u = 0, l = 1, f = t[r], h = 0; 23350 if (f > 1 && (t[r] = [0, 0, 1][f - 2]), f == 3) 23351 for (h = o; h < a; h++) 23352 t[h + 1] = t[h + 1] + (t[h + 1 - o] >>> 1) & 255; 23353 for (var g = 0; g < i; g++) 23354 if (u = r + g * a, l = u + g + 1, f = t[l - 1], h = 0, f == 0) 23355 for (; h < a; h++) 23356 t[u + h] = t[l + h]; 23357 else if (f == 1) { 23358 for (; h < o; h++) 23359 t[u + h] = t[l + h]; 23360 for (; h < a; h++) 23361 t[u + h] = t[l + h] + t[u + h - o]; 23362 } else if (f == 2) 23363 for (; h < a; h++) 23364 t[u + h] = t[l + h] + t[u + h - a]; 23365 else if (f == 3) { 23366 for (; h < o; h++) 23367 t[u + h] = t[l + h] + (t[u + h - a] >>> 1); 23368 for (; h < a; h++) 23369 t[u + h] = t[l + h] + (t[u + h - a] + t[u + h - o] >>> 1); 23370 } else { 23371 for (; h < o; h++) 23372 t[u + h] = t[l + h] + s(0, t[u + h - a], 0); 23373 for (; h < a; h++) 23374 t[u + h] = t[l + h] + s(t[u + h - o], t[u + h - a], t[u + h - o - a]); 23375 } 23376 return t; 23377}; 23378Se.decode._paeth = function(t, e, r) { 23379 var n = t + e - r, i = n - t, o = n - e, a = n - r; 23380 return i * i <= o * o && i * i <= a * a ? t : o * o <= a * a ? e : r; 23381}; 23382Se.decode._IHDR = function(t, e, r) { 23383 var n = Se._bin; 23384 r.width = n.readUint(t, e), e += 4, r.height = n.readUint(t, e), e += 4, r.depth = t[e], e++, r.ctype = t[e], e++, r.compress = t[e], e++, r.filter = t[e], e++, r.interlace = t[e], e++; 23385}; 23386Se._bin = { 23387 nextZero: function(t, e) { 23388 for (; t[e] != 0; ) 23389 e++; 23390 return e; 23391 }, 23392 readUshort: function(t, e) { 23393 return t[e] << 8 | t[e + 1]; 23394 }, 23395 writeUshort: function(t, e, r) { 23396 t[e] = r >> 8 & 255, t[e + 1] = r & 255; 23397 }, 23398 readUint: function(t, e) { 23399 return t[e] * (256 * 256 * 256) + (t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3]); 23400 }, 23401 writeUint: function(t, e, r) { 23402 t[e] = r >> 24 & 255, t[e + 1] = r >> 16 & 255, t[e + 2] = r >> 8 & 255, t[e + 3] = r & 255; 23403 }, 23404 readASCII: function(t, e, r) { 23405 for (var n = "", i = 0; i < r; i++) 23406 n += String.fromCharCode(t[e + i]); 23407 return n; 23408 }, 23409 writeASCII: function(t, e, r) { 23410 for (var n = 0; n < r.length; n++) 23411 t[e + n] = r.charCodeAt(n); 23412 }, 23413 readBytes: function(t, e, r) { 23414 for (var n = [], i = 0; i < r; i++) 23415 n.push(t[e + i]); 23416 return n; 23417 }, 23418 pad: function(t) { 23419 return t.length < 2 ? "0" + t : t; 23420 }, 23421 readUTF8: function(t, e, r) { 23422 for (var n = "", i, o = 0; o < r; o++) 23423 n += "%" + Se._bin.pad(t[e + o].toString(16)); 23424 try { 23425 i = decodeURIComponent(n); 23426 } catch { 23427 return Se._bin.readASCII(t, e, r); 23428 } 23429 return i; 23430 } 23431}; 23432Se._copyTile = function(t, e, r, n, i, o, a, s, u) { 23433 for (var l = Math.min(e, i), f = Math.min(r, o), h = 0, g = 0, d = 0; d < f; d++) 23434 for (var m = 0; m < l; m++) 23435 if (a >= 0 && s >= 0 ? (h = d * e + m << 2, g = (s + d) * i + a + m << 2) : (h = (-s + d) * e - a + m << 2, g = d * i + m << 2), u == 0) 23436 n[g] = t[h], n[g + 1] = t[h + 1], n[g + 2] = t[h + 2], n[g + 3] = t[h + 3]; 23437 else if (u == 1) { 23438 var b = t[h + 3] * 0.00392156862745098, S = t[h] * b, w = t[h + 1] * b, D = t[h + 2] * b, T = n[g + 3] * (1 / 255), _ = n[g] * T, x = n[g + 1] * T, p = n[g + 2] * T, N = 1 - b, V = b + T * N, P = V == 0 ? 0 : 1 / V; 23439 n[g + 3] = 255 * V, n[g + 0] = (S + _ * N) * P, n[g + 1] = (w + x * N) * P, n[g + 2] = (D + p * N) * P; 23440 } else if (u == 2) { 23441 var b = t[h + 3], S = t[h], w = t[h + 1], D = t[h + 2], T = n[g + 3], _ = n[g], x = n[g + 1], p = n[g + 2]; 23442 b == T && S == _ && w == x && D == p ? (n[g] = 0, n[g + 1] = 0, n[g + 2] = 0, n[g + 3] = 0) : (n[g] = S, n[g + 1] = w, n[g + 2] = D, n[g + 3] = b); 23443 } else if (u == 3) { 23444 var b = t[h + 3], S = t[h], w = t[h + 1], D = t[h + 2], T = n[g + 3], _ = n[g], x = n[g + 1], p = n[g + 2]; 23445 if (b == T && S == _ && w == x && D == p) 23446 continue; 23447 if (b < 220 && T > 20) 23448 return !1; 23449 } 23450 return !0; 23451}; 23452Se.encode = function(t, e, r, n, i, o, a) { 23453 n == null && (n = 0), a == null && (a = !1); 23454 var s = Se.encode.compress(t, e, r, n, [!1, !1, !1, 0, a]); 23455 return Se.encode.compressPNG(s, -1), Se.encode._main(s, e, r, i, o); 23456}; 23457Se.encodeLL = function(t, e, r, n, i, o, a, s) { 23458 for (var u = { ctype: 0 + (n == 1 ? 0 : 2) + (i == 0 ? 0 : 4), depth: o, frames: [] }, l = (n + i) * o, f = l * e, h = 0; h < t.length; h++) 23459 u.frames.push({ rect: { x: 0, y: 0, width: e, height: r }, img: new Uint8Array(t[h]), blend: 0, dispose: 1, bpp: Math.ceil(l / 8), bpl: Math.ceil(f / 8) }); 23460 Se.encode.compressPNG(u, 0, !0); 23461 var g = Se.encode._main(u, e, r, a, s); 23462 return g; 23463}; 23464Se.encode._main = function(t, e, r, n, i) { 23465 i == null && (i = {}); 23466 var o = Se.crc.crc, a = Se._bin.writeUint, s = Se._bin.writeUshort, u = Se._bin.writeASCII, l = 8, f = t.frames.length > 1, h = !1, g = 8 + (16 + 5 + 4) + (f ? 20 : 0); 23467 if (i.sRGB != null && (g += 8 + 1 + 4), i.pHYs != null && (g += 8 + 9 + 4), t.ctype == 3) { 23468 for (var d = t.plte.length, m = 0; m < d; m++) 23469 t.plte[m] >>> 24 != 255 && (h = !0); 23470 g += 8 + d * 3 + 4 + (h ? 8 + d * 1 + 4 : 0); 23471 } 23472 for (var b = 0; b < t.frames.length; b++) { 23473 var S = t.frames[b]; 23474 f && (g += 38), g += S.cimg.length + 12, b != 0 && (g += 4); 23475 } 23476 g += 12; 23477 for (var w = new Uint8Array(g), D = [137, 80, 78, 71, 13, 10, 26, 10], m = 0; m < 8; m++) 23478 w[m] = D[m]; 23479 if (a(w, l, 13), l += 4, u(w, l, "IHDR"), l += 4, a(w, l, e), l += 4, a(w, l, r), l += 4, w[l] = t.depth, l++, w[l] = t.ctype, l++, w[l] = 0, l
23479++, w[l] = 0, l++, w[l] = 0, l++, a(w, l, o(w, l - 17, 17)), l += 4, i.sRGB != null && (a(w, l, 1), l += 4, u(w, l, "sRGB"), l += 4, w[l] = i.sRGB, l++, a(w, l, o(w, l - 5, 5)), l += 4), i.pHYs != null && (a(w, l, 9), l += 4, u(w, l, "pHYs"), l += 4, a(w, l, i.pHYs[0]), l += 4, a(w, l, i.pHYs[1]), l += 4, w[l] = i.pHYs[2], l++, a(w, l, o(w, l - 13, 13)), l += 4), f && (a(w, l, 8), l += 4, u(w, l, "acTL"), l += 4, a(w, l, t.frames.length), l += 4, a(w, l, i.loop != null ? i.loop : 0), l += 4, a(w, l, o(w, l - 12, 12)), l += 4), t.ctype == 3) { 23480 var d = t.plte.length; 23481 a(w, l, d * 3), l += 4, u(w, l, "PLTE"), l += 4; 23482 for (var m = 0; m < d; m++) { 23483 var T = m * 3, _ = t.plte[m], x = _ & 255, p = _ >>> 8 & 255, N = _ >>> 16 & 255; 23484 w[l + T + 0] = x, w[l + T + 1] = p, w[l + T + 2] = N; 23485 } 23486 if (l += d * 3, a(w, l, o(w, l - d * 3 - 4, d * 3 + 4)), l += 4, h) { 23487 a(w, l, d), l += 4, u(w, l, "tRNS"), l += 4; 23488 for (var m = 0; m < d; m++) 23489 w[l + m] = t.plte[m] >>> 24 & 255; 23490 l += d, a(w, l, o(w, l - d - 4, d + 4)), l += 4; 23491 } 23492 } 23493 for (var V = 0, b = 0; b < t.frames.length; b++) { 23494 var S = t.frames[b]; 23495 f && (a(w, l, 26), l += 4, u(w, l, "fcTL"), l += 4, a(w, l, V++), l += 4, a(w, l, S.rect.width), l += 4, a(w, l, S.rect.height), l += 4, a(w, l, S.rect.x), l += 4, a(w, l, S.rect.y), l += 4, s(w, l, n[b]), l += 2, s(w, l, 1e3), l += 2, w[l] = S.dispose, l++, w[l] = S.blend, l++, a(w, l, o(w, l - 30, 30)), l += 4); 23496 var P = S.cimg, d = P.length; 23497 a(w, l, d + (b == 0 ? 0 : 4)), l += 4; 23498 var M = l; 23499 u(w, l, b == 0 ? "IDAT" : "fdAT"), l += 4, b != 0 && (a(w, l, V++), l += 4), w.set(P, l), l += d, a(w, l, o(w, M, l - M)), l += 4; 23500 } 23501 return a(w, l, 0), l += 4, u(w, l, "IEND"), l += 4, a(w, l, o(w, l - 4, 4)), l += 4, w.buffer; 23502}; 23503Se.encode.compressPNG = function(t, e, r) { 23504 for (var n = 0; n < t.frames.length; n++) { 23505 var i = t.frames[n]; 23506 i.rect.width; 23507 var o = i.rect.height, a = new Uint8Array(o * i.bpl + o); 23508 i.cimg = Se.encode._filterZero(i.img, o, i.bpp, i.bpl, a, e, r); 23509 } 23510}; 23511Se.encode.compress = function(t, e, r, n, i) { 23512 for (var o = i[0], a = i[1], s = i[2], u = i[3], l = i[4], f = 6, h = 8, g = 255, d = 0; d < t.length; d++) 23513 for (var m = new Uint8Array(t[d]), b = m.length, S = 0; S < b; S += 4) 23514 g &= m[S + 3]; 23515 var w = g != 255, D = Se.encode.framize(t, e, r, o, a, s), T = {}, _ = [], x = []; 23516 if (n != 0) { 23517 for (var p = [], S = 0; S < D.length; S++) 23518 p.push(D[S].img.buffer); 23519 for (var N = Se.encode.concatRGBA(p), V = Se.quantize(N, n), P = 0, M = new Uint8Array(V.abuf), S = 0; S < D.length; S++) { 23520 var U = D[S].img, re = U.length; 23521 x.push(new Uint8Array(V.inds.buffer, P >> 2, re >> 2)); 23522 for (var d = 0; d < re; d += 4) 23523 U[d] = M[P + d], U[d + 1] = M[P + d + 1], U[d + 2] = M[P + d + 2], U[d + 3] = M[P + d + 3]; 23524 P += re; 23525 } 23526 for (var S = 0; S < V.plte.length; S++) 23527 _.push(V.plte[S].est.rgba); 23528 } else 23529 for (var d = 0; d < D.length; d++) { 23530 var Q = D[d], ne = new Uint32Array(Q.img.buffer), ee = Q.rect.width, b = ne.length, L = new Uint8Array(b); 23531 x.push(L); 23532 for (var S = 0; S < b; S++) { 23533 var Z = ne[S]; 23534 if (S != 0 && Z == ne[S - 1]) 23535 L[S] = L[S - 1]; 23536 else if (S > ee && Z == ne[S - ee]) 23537 L[S] = L[S - ee]; 23538 else { 23539 var G = T[Z]; 23540 if (G == null && (T[Z] = G = _.length, _.push(Z), _.length >= 300)) 23541 break; 23542 L[S] = G; 23543 } 23544 } 23545 } 23546 var se = _.length; 23547 se <= 256 && l == !1 && (se <= 2 ? h = 1 : se <= 4 ? h = 2 : se <= 16 ? h = 4 : h = 8, h = Math.max(h, u)); 23548 for (var d = 0; d < D.length; d++) { 23549 var Q = D[d]; 23550 Q.rect.x, Q.rect.y; 23551 var ee = Q.rect.width, de = Q.rect.height, Re = Q.img; 23552 new Uint32Array(Re.buffer); 23553 var ze = 4 * ee, je = 4; 23554 if (se <= 256 && l == !1) { 23555 ze = Math.ceil(h * ee / 8); 23556 for (var Le = new Uint8Array(ze * de), be = x[d], Ve = 0; Ve < de; Ve++) { 23557 var S = Ve * ze, Be = Ve * ee; 23558 if (h == 8) 23559 for (var Pe = 0; Pe < ee; Pe++) 23560 Le[S + Pe] = be[Be + Pe]; 23561 else if (h == 4) 23562 for (var Pe = 0; Pe < ee; Pe++) 23563 Le[S + (Pe >>
23563 1)] |= be[Be + Pe] << 4 - (Pe & 1) * 4; 23564 else if (h == 2) 23565 for (var Pe = 0; Pe < ee; Pe++) 23566 Le[S + (Pe >> 2)] |= be[Be + Pe] << 6 - (Pe & 3) * 2; 23567 else if (h == 1) 23568 for (var Pe = 0; Pe < ee; Pe++) 23569 Le[S + (Pe >> 3)] |= be[Be + Pe] << 7 - (Pe & 7) * 1; 23570 } 23571 Re = Le, f = 3, je = 1; 23572 } else if (w == !1 && D.length == 1) { 23573 for (var Le = new Uint8Array(ee * de * 3), $e = ee * de, S = 0; S < $e; S++) { 23574 var U = S * 3, rt = S * 4; 23575 Le[U] = Re[rt], Le[U + 1] = Re[rt + 1], Le[U + 2] = Re[rt + 2]; 23576 } 23577 Re = Le, f = 2, je = 3, ze = 3 * ee; 23578 } 23579 Q.img = Re, Q.bpl = ze, Q.bpp = je; 23580 } 23581 return { ctype: f, depth: h, plte: _, frames: D }; 23582}; 23583Se.encode.framize = function(t, e, r, n, i, o) { 23584 for (var a = [], s = 0; s < t.length; s++) { 23585 var u = new Uint8Array(t[s]), l = new Uint32Array(u.buffer), f, h = 0, g = 0, d = e, m = r, b = n ? 1 : 0; 23586 if (s != 0) { 23587 for (var S = o || n || s == 1 || a[s - 2].dispose != 0 ? 1 : 2, w = 0, D = 1e9, T = 0; T < S; T++) { 23588 for (var Q = new Uint8Array(t[s - 1 - T]), _ = new Uint32Array(t[s - 1 - T]), x = e, p = r, N = -1, V = -1, P = 0; P < r; P++) 23589 for (var M = 0; M < e; M++) { 23590 var U = P * e + M; 23591 l[U] != _[U] && (M < x && (x = M), M > N && (N = M), P < p && (p = P), P > V && (V = P)); 23592 } 23593 N == -1 && (x = p = N = V = 0), i && ((x & 1) == 1 && x--, (p & 1) == 1 && p--); 23594 var re = (N - x + 1) * (V - p + 1); 23595 re < D && (D = re, w = T, h = x, g = p, d = N - x + 1, m = V - p + 1); 23596 } 23597 var Q = new Uint8Array(t[s - 1 - w]); 23598 w == 1 && (a[s - 1].dispose = 2), f = new Uint8Array(d * m * 4), Se._copyTile(Q, e, r, f, d, m, -h, -g, 0), b = Se._copyTile(u, e, r, f, d, m, -h, -g, 3) ? 1 : 0, b == 1 ? Se.encode._prepareDiff(u, e, r, f, { x: h, y: g, width: d, height: m }) : Se._copyTile(u, e, r, f, d, m, -h, -g, 0); 23599 } else 23600 f = u.slice(0); 23601 a.push({ rect: { x: h, y: g, width: d, height: m }, img: f, blend: b, dispose: 0 }); 23602 } 23603 if (n) 23604 for (var s = 0; s < a.length; s++) { 23605 var ne = a[s]; 23606 if (ne.blend != 1) { 23607 var ee = ne.rect, L = a[s - 1].rect, Z = Math.min(ee.x, L.x), G = Math.min(ee.y, L.y), se = Math.max(ee.x + ee.width, L.x + L.width), de = Math.max(ee.y + ee.height, L.y + L.height), Re = { x: Z, y: G, width: se - Z, height: de - G }; 23608 a[s - 1].dispose = 1, s - 1 != 0 && Se.encode._updateFrame(t, e, r, a, s - 1, Re, i), Se.encode._updateFrame(t, e, r, a, s, Re, i); 23609 } 23610 } 23611 var ze = 0; 23612 if (t.length != 1) 23613 for (var U = 0; U < a.length; U++) { 23614 var ne = a[U]; 23615 ze += ne.rect.width * ne.rect.height; 23616 } 23617 return a; 23618}; 23619Se.encode._updateFrame = function(t, e, r, n, i, o, a) { 23620 for (var s = Uint8Array, u = Uint32Array, l = new s(t[i - 1]), f = new u(t[i - 1]), h = i + 1 < t.length ? new s(t[i + 1]) : null, g = new s(t[i]), d = new u(g.buffer), m = e, b = r, S = -1, w = -1, D = 0; D < o.height; D++) 23621 for (var T = 0; T < o.width; T++) { 23622 var _ = o.x + T, x = o.y + D, p = x * e + _, N = d[p]; 23623 N == 0 || n[i - 1].dispose == 0 && f[p] == N && (h == null || h[p * 4 + 3] != 0) || (_ < m && (m = _), _ > S && (S = _), x < b && (b = x), x > w && (w = x)); 23624 } 23625 S == -1 && (m = b = S = w = 0), a && ((m & 1) == 1 && m--, (b & 1) == 1 && b--), o = { x: m, y: b, width: S - m + 1, height: w - b + 1 }; 23626 var V = n[i]; 23627 V.rect = o, V.blend = 1, V.img = new Uint8Array(o.width * o.height * 4), n[i - 1].dispose == 0 ? (Se._copyTile(l, e, r, V.img, o.width, o.height, -o.x, -o.y, 0), Se.encode._prepareDiff(g, e, r, V.img, o)) : Se._copyTile(g, e, r, V.img, o.width, o.height, -o.x, -o.y, 0); 23628}; 23629Se.encode._prepareDiff = function(t, e, r, n, i) { 23630 Se._copyTile(t, e, r, n, i.width, i.height, -i.x, -i.y, 2); 23631}; 23632Se.encode._filterZero = function(t, e, r, n, i, o, a) { 23633 var s = [], u = [0, 1, 2, 3, 4]; 23634 o != -1 ? u = [o] : (e * n > 5e5 || r == 1) && (u = [0]); 23635 var l; 23636 a && (l = { level: 0 }); 23637 for (var f = a && UZIP != null ? UZIP : qd, h = 0; h < u.length; h++) { 23638 for (var g = 0; g < e; g++)
23639 Se.encode._filterLine(i, t, g, n, r, u[h]); 23640 s.push(f.deflate(i, l)); 23641 } 23642 for (var d, m = 1e9, h = 0; h < s.length; h++) 23643 s[h].length < m && (d = h, m = s[h].length); 23644 return s[d]; 23645}; 23646Se.encode._filterLine = function(t, e, r, n, i, o) { 23647 var a = r * n, s = a + r, u = Se.decode._paeth; 23648 if (t[s] = o, s++, o == 0) 23649 if (n < 500) 23650 for (var l = 0; l < n; l++) 23651 t[s + l] = e[a + l]; 23652 else 23653 t.set(new Uint8Array(e.buffer, a, n), s); 23654 else if (o == 1) { 23655 for (var l = 0; l < i; l++) 23656 t[s + l] = e[a + l]; 23657 for (var l = i; l < n; l++) 23658 t[s + l] = e[a + l] - e[a + l - i] + 256 & 255; 23659 } else if (r == 0) { 23660 for (var l = 0; l < i; l++) 23661 t[s + l] = e[a + l]; 23662 if (o == 2) 23663 for (var l = i; l < n; l++) 23664 t[s + l] = e[a + l]; 23665 if (o == 3) 23666 for (var l = i; l < n; l++) 23667 t[s + l] = e[a + l] - (e[a + l - i] >> 1) + 256 & 255; 23668 if (o == 4) 23669 for (var l = i; l < n; l++) 23670 t[s + l] = e[a + l] - u(e[a + l - i], 0, 0) + 256 & 255; 23671 } else { 23672 if (o == 2) 23673 for (var l = 0; l < n; l++) 23674 t[s + l] = e[a + l] + 256 - e[a + l - n] & 255; 23675 if (o == 3) { 23676 for (var l = 0; l < i; l++) 23677 t[s + l] = e[a + l] + 256 - (e[a + l - n] >> 1) & 255; 23678 for (var l = i; l < n; l++) 23679 t[s + l] = e[a + l] + 256 - (e[a + l - n] + e[a + l - i] >> 1) & 255; 23680 } 23681 if (o == 4) { 23682 for (var l = 0; l < i; l++) 23683 t[s + l] = e[a + l] + 256 - u(0, e[a + l - n], 0) & 255; 23684 for (var l = i; l < n; l++) 23685 t[s + l] = e[a + l] + 256 - u(e[a + l - i], e[a + l - n], e[a + l - i - n]) & 255; 23686 } 23687 } 23688}; 23689Se.crc = { 23690 table: function() { 23691 for (var t = new Uint32Array(256), e = 0; e < 256; e++) { 23692 for (var r = e, n = 0; n < 8; n++) 23693 r & 1 ? r = 3988292384 ^ r >>> 1 : r = r >>> 1; 23694 t[e] = r; 23695 } 23696 return t; 23697 }(), 23698 update: function(t, e, r, n) { 23699 for (var i = 0; i < n; i++) 23700 t = Se.crc.table[(t ^ e[r + i]) & 255] ^ t >>> 8; 23701 return t; 23702 }, 23703 crc: function(t, e, r) { 23704 return Se.crc.update(4294967295, t, e, r) ^ 4294967295; 23705 } 23706}; 23707Se.quantize = function(t, e) { 23708 var r = new Uint8Array(t), n = r.slice(0), i = new Uint32Array(n.buffer), o = Se.quantize.getKDtree(n, e), a = o[0], s = o[1]; 23709 Se.quantize.planeDst; 23710 for (var u = r, l = i, f = u.length, h = new Uint8Array(r.length >> 2), g = 0; g < f; g += 4) { 23711 var d = u[g] * 0.00392156862745098, m = u[g + 1] * (1 / 255), b = u[g + 2] * (1 / 255), S = u[g + 3] * (1 / 255), w = Se.quantize.getNearest(a, d, m, b, S); 23712 h[g >> 2] = w.ind, l[g >> 2] = w.est.rgba; 23713 } 23714 return { abuf: n.buffer, inds: h, plte: s }; 23715}; 23716Se.quantize.getKDtree = function(t, e, r) { 23717 r == null && (r = 1e-4); 23718 var n = new Uint32Array(t.buffer), i = { i0: 0, i1: t.length, bst: null, est: null, tdst: 0, left: null, right: null }; 23719 i.bst = Se.quantize.stats(t, i.i0, i.i1), i.est = Se.quantize.estats(i.bst); 23720 for (var o = [i]; o.length < e; ) { 23721 for (var a = 0, s = 0, u = 0; u < o.length; u++) 23722 o[u].est.L > a && (a = o[u].est.L, s = u); 23723 if (a < r) 23724 break; 23725 var l = o[s], f = Se.quantize.splitPixels(t, n, l.i0, l.i1, l.est.e, l.est.eMq255), h = l.i0 >= f || l.i1 <= f; 23726 if (h) { 23727 l.est.L = 0; 23728 continue; 23729 } 23730 var g = { i0: l.i0, i1: f, bst: null, est: null, tdst: 0, left: null, right: null }; 23731 g.bst = Se.quantize.stats(t, g.i0, g.i1), g.est = Se.quantize.estats(g.bst); 23732 var d = { i0: f, i1: l.i1, bst: null, est: null, tdst: 0, left: null, right: null }; 23733 d.bst = { R: [], m: [], N: l.bst.N - g.bst.N }; 23734 for (var u = 0; u < 16; u++) 23735 d.bst.R[u] = l.bst.R[u] - g.bst.R[u]; 23736 for (var u = 0; u < 4; u++) 23737 d.bst.m[u] = l.bst.m[u] - g.bst.m[u]; 23738 d.est = Se.quantize.estats(d.bst), l.left = g, l.right = d, o[s] = g, o.push(d); 23739 } 23740 o.sort(function(m, b) { 23741 return b.bst.N - m.bst.N; 23742 }); 23743 for (var u = 0; u < o.length; u++) 23744 o[u].ind = u; 23745 return [i, o]; 23746}; 23747Se.quantize.getNearest = function(t, e, r, n, i) { 23748 if (t.left == null) 23749 return t.tdst = Se.quantize.dist(t.est.q, e, r, n, i), t; 23750 var o = Se.quantize.planeDst(t.est, e, r, n, i), a = t.left, s = t.right; 23751 o > 0 && (a = t.right, s = t.left); 23752 var u = Se.quantize.getNearest(a, e, r, n, i); 23753 if (u.tdst <= o * o) 23754 return u; 23755 var l = Se.quantize.getNearest(s, e, r, n, i); 23756 return l.tdst < u.tdst ? l : u; 23757}; 23758Se.quantize.planeDst = function(t, e, r, n, i) { 23759 var o = t.e; 23760 return o[0] * e + o[1] * r + o[2] * n + o[3] * i - t.eMq; 23761}; 23762Se.quantize.dist = function(t, e, r, n, i) { 23763 var o = e - t[0], a = r - t[1], s = n - t[2], u = i - t[3]; 23764 return o * o + a * a + s * s + u * u; 23765}; 23766Se.quantize.splitPixels = function(t, e, r, n, i, o) { 23767 var a = Se.quantize.vecDot; 23768 for (n -= 4; r < n; ) { 23769 for (; a(t, r, i) <= o; ) 23770 r += 4; 23771 for (; a(t, n, i) > o; ) 23772 n -= 4; 23773 if (r >= n) 23774 break; 23775 var s = e[r >> 2]; 23776 e[r >> 2] = e[n >> 2], e[n >> 2] = s, r += 4, n -= 4; 23777 } 23778 for (; a(t, r, i) > o; ) 23779 r -= 4; 23780 return r + 4; 23781}; 23782Se.quantize.vecDot = function(t, e, r) { 23783 return t[e] * r[0] + t[e + 1] * r[1] + t[e + 2] * r[2] + t[e + 3] * r[3]; 23784}; 23785Se.quantize.stats = function(t, e, r) { 23786 for (var n = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], i = [0, 0, 0, 0], o = r - e >> 2, a = e; a < r; a += 4) { 23787 var s = t[a] * 0.00392156862745098, u = t[a + 1] * (1 / 255), l = t[a + 2] * (1 / 255), f = t[a + 3] * (1 / 255); 23788 i[0] += s, i[1] += u, i[2] += l, i[3] += f, n[0] += s * s, n[1] += s * u, n[2] += s * l, n[3] += s * f, n[5] += u * u, n[6] += u * l, n[7] += u * f, n[10] += l * l, n[11] += l * f, n[15] += f * f; 23789 } 23790 return n[4] = n[1], n[8] = n[2], n[9] = n[6], n[12] = n[3], n[13] = n[7], n[14]
23790= n[11], { R: n, m: i, N: o }; 23791}; 23792Se.quantize.estats = function(t) { 23793 var e = t.R, r = t.m, n = t.N, i = r[0], o = r[1], a = r[2], s = r[3], u = n == 0 ? 0 : 1 / n, l = [ 23794 e[0] - i * i * u, 23795 e[1] - i * o * u, 23796 e[2] - i * a * u, 23797 e[3] - i * s * u, 23798 e[4] - o * i * u, 23799 e[5] - o * o * u, 23800 e[6] - o * a * u, 23801 e[7] - o * s * u, 23802 e[8] - a * i * u, 23803 e[9] - a * o * u, 23804 e[10] - a * a * u, 23805 e[11] - a * s * u, 23806 e[12] - s * i * u, 23807 e[13] - s * o * u, 23808 e[14] - s * a * u, 23809 e[15] - s * s * u 23810 ], f = l, h = Se.M4, g = [0.5, 0.5, 0.5, 0.5], d = 0, m = 0; 23811 if (n != 0) 23812 for (var b = 0; b < 10 && (g = h.multVec(f, g), m = Math.sqrt(h.dot(g, g)), g = h.sml(1 / m, g), !(Math.abs(m - d) < 1e-9)); b++) 23813 d = m; 23814 var S = [i * u, o * u, a * u, s * u], w = h.dot(h.sml(255, S), g); 23815 return { 23816 Cov: l, 23817 q: S, 23818 e: g, 23819 L: d, 23820 eMq255: w, 23821 eMq: h.dot(g, S), 23822 rgba: (Math.round(255 * S[3]) << 24 | Math.round(255 * S[2]) << 16 | Math.round(255 * S[1]) << 8 | Math.round(255 * S[0]) << 0) >>> 0 23823 }; 23824}; 23825Se.M4 = { 23826 multVec: function(t, e) { 23827 return [ 23828 t[0] * e[0] + t[1] * e[1] + t[2] * e[2] + t[3] * e[3], 23829 t[4] * e[0] + t[5] * e[1] + t[6] * e[2] + t[7] * e[3], 23830 t[8] * e[0] + t[9] * e[1] + t[10] * e[2] + t[11] * e[3], 23831 t[12] * e[0] + t[13] * e[1] + t[14] * e[2] + t[15] * e[3] 23832 ]; 23833 }, 23834 dot: function(t, e) { 23835 return t[0] * e[0] + t[1] * e[1] + t[2] * e[2] + t[3] * e[3]; 23836 }, 23837 sml: function(t, e) { 23838 return [t * e[0], t * e[1], t * e[2], t * e[3]]; 23839 } 23840}; 23841Se.encode.concatRGBA = function(t) { 23842 for (var e = 0, r = 0; r < t.length; r++) 23843 e += t[r].byteLength; 23844 for (var n = new Uint8Array(e), i = 0, r = 0; r < t.length; r++) { 23845 for (var o = new Uint8Array(t[r]), a = o.length, s = 0; s < a; s += 4) { 23846 var u = o[s], l = o[s + 1], f = o[s + 2], h = o[s + 3]; 23847 h == 0 && (u = l = f = 0), n[i + s] = u, n[i + s + 1] = l, n[i + s + 2] = f, n[i + s + 3] = h; 23848 } 23849 i += a; 23850 } 23851 return n.buffer; 23852}; 23853var PV = function(t) { 23854 if (t === 0) 23855 return Aa.Greyscale; 23856 if (t === 2) 23857 return Aa.Truecolour; 23858 if (t === 3) 23859 return Aa.IndexedColour; 23860 if (t === 4) 23861 return Aa.GreyscaleWithAlpha; 23862 if (t === 6) 23863 return Aa.TruecolourWithAlpha; 23864 throw new Error("Unknown color type: " + t); 23865}, FV = function(t) { 23866 for (var e = Math.floor(t.length / 4), r = new Uint8Array(e * 3), n = new Uint8Array(e * 1), i = 0, o = 0, a = 0; i < t.length; ) 23867 r[o++] = t[i++], r[o++] = t[i++], r[o++] = t[i++], n[a++] = t[i++]; 23868 return { rgbChannel: r, alphaChannel: n }; 23869}, Aa; 23870(function(t) { 23871 t.Greyscale = "Greyscale", t.Truecolour = "Truecolour", t.IndexedColour = "IndexedColour", t.GreyscaleWithAlpha = "GreyscaleWithAlpha", t.TruecolourWithAlpha = "TruecolourWithAlpha"; 23872})(Aa || (Aa = {})); 23873var RV = ( 23874 /** @class */ 23875 function() { 23876 function t(e) { 23877 var r = Se.decode(e), n = Se.toRGBA8(r); 23878 if (n.length > 1) 23879 throw new Error("Animated PNGs are not supported"); 23880 var i = new Uint8Array(n[0]), o = FV(i), a = o.rgbChannel, s = o.alphaChannel; 23881 this.rgbChannel = a; 23882 var u = s.some(function(l) { 23883 return l < 255; 23884 }); 23885 u && (this.alphaChannel = s), this.type = PV(r.ctype), this.width = r.width, this.height = r.height, this.bitsPerComponent = 8; 23886 } 23887 return t.load = function(e) { 23888 return new t(e); 23889 }, t; 23890 }() 23891), PS = ( 23892 /** @class */ 23893 function() { 23894 function t(e) { 23895 this.image = e, this.bitsPerComponent = e.bitsPerComponent, this.width = e.width, this.height = e.height, this.colorSpace = "DeviceRGB"; 23896 } 23897 return t.for = function(e) { 23898 return yt(this, void 0, void 0, function() { 23899 var r; 23900 return bt(this, function(n) { 23901 return r = RV.load(e), [2, new t(r)]; 23902 }); 23903 }); 23904 }, t.prototype.embedIntoContext = function(e, r) { 23905 return yt(this, void 0, void 0, function() { 23906 var n, i; 23907 return bt(this, function(o) { 23908 return n = this.embedAlphaChannel(e), i = e.flateStream(this.image.rgbChannel, { 23909 Type: "XObject", 23910 Subtype: "Image", 23911 BitsPerComponent: this.image.bitsPerComponent, 23912 Width: this.image.width, 23913 Height: this.image.height, 23914 ColorSpace: this.colorSpace, 23915 SMask: n 23916 }), r ? (e.assign(r, i), [2, r]) : [2, e.register(i)]; 23917 }); 23918 }); 23919 }, t.prototype.embedAlphaChannel = function(e) { 23920 if (this.image.alphaChannel) { 23921 var r = e.flateStream(this.image.alphaChannel, { 23922 Type: "XObject", 23923 Subtype: "Image", 23924 Height: this.image.height, 23925 Width: this.image.width, 23926 BitsPerComponent: this.image.bitsPerComponent, 23927 ColorSpace: "DeviceGray", 23928 Decode: [0, 1] 23929 }); 23930 return e.register(r); 23931 } 23932 }, t; 23933 }() 23934), FS = ( 23935 /** @class */ 23936 function() { 23937 function t(e, r, n) { 23938 this.bytes = e, this.start = r || 0, this.pos = this.start, this.end = r && n ? r + n : this.bytes.length; 23939 } 23940 return Object.defineProperty(t.prototype, "length", { 23941 get: function() {
23942 return this.end - this.start; 23943 }, 23944 enumerable: !1, 23945 configurable: !0 23946 }), Object.defineProperty(t.prototype, "isEmpty", { 23947 get: function() { 23948 return this.length === 0; 23949 }, 23950 enumerable: !1, 23951 configurable: !0 23952 }), t.prototype.getByte = function() { 23953 return this.pos >= this.end ? -1 : this.bytes[this.pos++]; 23954 }, t.prototype.getUint16 = function() { 23955 var e = this.getByte(), r = this.getByte(); 23956 return e === -1 || r === -1 ? -1 : (e << 8) + r; 23957 }, t.prototype.getInt32 = function() { 23958 var e = this.getByte(), r = this.getByte(), n = this.getByte(), i = this.getByte(); 23959 return (e << 24) + (r << 16) + (n << 8) + i; 23960 }, t.prototype.getBytes = function(e, r) { 23961 r === void 0 && (r = !1); 23962 var n = this.bytes, i = this.pos, o = this.end; 23963 if (e) { 23964 var s = i + e; 23965 s > o && (s = o), this.pos = s; 23966 var a = n.subarray(i, s); 23967 return r ? new Uint8ClampedArray(a) : a; 23968 } else { 23969 var a = n.subarray(i, o); 23970 return r ? new Uint8ClampedArray(a) : a; 23971 } 23972 }, t.prototype.peekByte = function() { 23973 var e = this.getByte(); 23974 return this.pos--, e; 23975 }, t.prototype.peekBytes = function(e, r) { 23976 r === void 0 && (r = !1); 23977 var n = this.getBytes(e, r); 23978 return this.pos -= n.length, n; 23979 }, t.prototype.skip = function(e) { 23980 e || (e = 1), this.pos += e; 23981 }, t.prototype.reset = function() { 23982 this.pos = this.start; 23983 }, t.prototype.moveStart = function() { 23984 this.start = this.pos; 23985 }, t.prototype.makeSubStream = function(e, r) { 23986 return new t(this.bytes, e, r); 23987 }, t.prototype.decode = function() { 23988 return this.bytes; 23989 }, t; 23990 }() 23991), IV = new Uint8Array(0), dc = ( 23992 /** @class */ 23993 function() { 23994 function t(e) { 23995 if (this.pos = 0, this.bufferLength = 0, this.eof = !1, this.buffer = IV, this.minBufferLength = 512, e) 23996 for (; this.minBufferLength < e; ) 23997 this.minBufferLength *= 2; 23998 } 23999 return Object.defineProperty(t.prototype, "isEmpty", { 24000 get: function() { 24001 for (; !this.eof && this.bufferLength === 0; ) 24002 this.readBlock(); 24003 return this.bufferLength === 0; 24004 }, 24005 enumerable: !1, 24006 configurable: !0 24007 }), t.prototype.getByte = function() { 24008 for (var e = this.pos; this.bufferLength <= e; ) { 24009 if (this.eof) 24010 return -1; 24011 this.readBlock(); 24012 } 24013 return this.buffer[this.pos++]; 24014 }, t.prototype.getUint16 = function() { 24015 var e = this.getByte(), r = this.getByte(); 24016 return e === -1 || r === -1 ? -1 : (e << 8) + r; 24017 }, t.prototype.getInt32 = function() { 24018 var e = this.getByte(), r = this.getByte(), n = this.getByte(), i = this.getByte(); 24019 return (e << 24) + (r << 16) + (n << 8) + i; 24020 }, t.prototype.getBytes = function(e, r) { 24021 r === void 0 && (r = !1); 24022 var n, i = this.pos; 24023 if (e) { 24024 for (this.ensureBuffer(i + e), n = i + e; !this.eof && this.bufferLength < n; ) 24025 this.readBlock(); 24026 var o = this.bufferLength; 24027 n > o && (n = o); 24028 } else { 24029 for (; !this.eof; ) 24030 this.readBlock(); 24031 n = this.bufferLength; 24032 } 24033 this.pos = n; 24034 var a = this.buffer.subarray(i, n); 24035 return r && !(a instanceof Uint8ClampedArray) ? new Uint8ClampedArray(a) : a; 24036 }, t.prototype.peekByte = function() { 24037 var e = this.getByte(); 24038 return this.pos--, e; 24039 }, t.prototype.peekBytes = function(e, r) { 24040 r === void 0 && (r = !1); 24041 var n = this.getBytes(e, r); 24042 return this.pos -= n.length, n; 24043 }, t.prototype.skip = function(e) { 24044 e || (e = 1), this.pos += e; 24045 }, t.prototype.reset = function() { 24046 this.pos = 0; 24047 }, t.prototype.makeSubStream = function(e, r) { 24048 for (var n = e + r; this.bufferLength <= n && !this.eof; ) 24049 this.readBlock(); 24050 return new FS( 24051 this.buffer, 24052 e, 24053 r 24054 /* dict */ 24055 ); 24056 }, t.prototype.decode = function() { 24057 for (; !this.eof; ) 24058 this.readBlock(); 24059 return this.buffer.subarray(0, this.bufferLength); 24060 }, t.prototype.readBlock = function() { 24061 throw new Kn(this.constructor.name, "readBlock"); 24062 }, t.prototype.ensureBuffer = function(e) { 24063 var r = this.buffer; 24064 if (e <= r.byteLength) 24065 return r; 24066 for (var n = this.minBufferLength; n < e; ) 24067 n *= 2; 24068 var i = new Uint8Array(n); 24069 return i.set(r), this.buffer = i; 24070 }, t; 24071 }() 24072), i1 = function(t) { 24073 return t === 32 || t === 9 || t === 13 || t === 10; 24074}, MV = ( 24075 /** @class */ 24076 function(t) { 24077 Ne(e, t); 24078 function e(r, n) { 24079 var i = t.call(this, n) || this; 24080 return i.stream = r, i.input = new Uint8Array(5), n && (n = 0.8 * n), i; 24081 } 24082 return e.prototype.readBlock = function() { 24083 for (var r = 126, n = 122, i = -1, o = this.stream, a = o.getByte(); i1(a); ) 24084 a = o.getByte(); 24085 if (a === i || a === r) { 24086 this.eof = !0; 24087 return; 24088 } 24089 var s = this.bufferLength, u, l; 24090 if (a === n) { 24091 for (u = this.ensureBuffer(s + 4), l = 0; l < 4; ++l) 24092 u[s + l] = 0; 24093 this.bufferLength += 4; 24094 } else { 24095 var f = this.input; 24096 for (f[0] = a, l = 1; l < 5; ++l) { 24097 for (a = o.getByte(); i1(a); ) 24098 a = o.getByte(); 24099 if (f[l] = a, a === i || a === r) 24100 break; 24101 } 24102 if (u = this.ensureBuffer(s + l - 1), this.bufferLength += l - 1, l < 5) { 24103 for (; l < 5; ++l) 24104 f[l] = 33 + 84; 24105 this.eof = !0; 24106 } 24107 var h = 0; 24108 for (l = 0; l < 5; ++l) 24109 h = h * 85 + (f[l] - 33); 24110 for (l = 3; l >= 0; --l) 24111 u[s + l] = h & 255, h >>= 8; 24112 } 24113 }, e; 24114 }(dc)
24115), VV = ( 24116 /** @class */ 24117 function(t) { 24118 Ne(e, t); 24119 function e(r, n) { 24120 var i = t.call(this, n) || this; 24121 return i.stream = r, i.firstDigit = -1, n && (n = 0.5 * n), i; 24122 } 24123 return e.prototype.readBlock = function() { 24124 var r = 8e3, n = this.stream.getBytes(r); 24125 if (!n.length) { 24126 this.eof = !0; 24127 return; 24128 } 24129 for (var i = n.length + 1 >> 1, o = this.ensureBuffer(this.bufferLength + i), a = this.bufferLength, s = this.firstDigit, u = 0, l = n.length; u < l; u++) { 24130 var f = n[u], h = void 0; 24131 if (f >= 48 && f <= 57) 24132 h = f & 15; 24133 else if (f >= 65 && f <= 70 || f >= 97 && f <= 102) 24134 h = (f & 15) + 9; 24135 else if (f === 62) { 24136 this.eof = !0; 24137 break; 24138 } else 24139 continue; 24140 s < 0 ? s = h : (o[a++] = s << 4 | h, s = -1); 24141 } 24142 s >= 0 && this.eof && (o[a++] = s << 4, s = -1), this.firstDigit = s, this.bufferLength = a; 24143 }, e; 24144 }(dc) 24145), o1 = new Int32Array([ 24146 16, 24147 17, 24148 18, 24149 0, 24150 8, 24151 7, 24152 9, 24153 6, 24154 10, 24155 5, 24156 11, 24157 4, 24158 12, 24159 3, 24160 13, 24161 2, 24162 14, 24163 1, 24164 15 24165]), LV = new Int32Array([ 24166 3, 24167 4, 24168 5, 24169 6, 24170 7, 24171 8, 24172 9, 24173 10, 24174 65547, 24175 65549, 24176 65551, 24177 65553, 24178 131091, 24179 131095, 24180 131099, 24181 131103, 24182 196643, 24183 196651, 24184 196659, 24185 196667, 24186 262211, 24187 262227, 24188 262243, 24189 262259, 24190 327811, 24191 327843, 24192 327875, 24193 327907, 24194 258, 24195 258, 24196 258 24197]), jV = new Int32Array([ 24198 1, 24199 2, 24200 3, 24201 4, 24202 65541, 24203 65543, 24204 131081, 24205 131085,
24206 196625, 24207 196633, 24208 262177, 24209 262193, 24210 327745, 24211 327777, 24212 393345, 24213 393409, 24214 459009, 24215 459137, 24216 524801, 24217 525057, 24218 590849, 24219 591361, 24220 657409, 24221 658433, 24222 724993, 24223 727041, 24224 794625, 24225 798721, 24226 868353, 24227 876545 24228]), BV = [new Int32Array([ 24229 459008, 24230 524368, 24231 524304, 24232 524568, 24233 459024, 24234 524400, 24235 524336, 24236 590016, 24237 459016, 24238 524384, 24239 524320, 24240 589984, 24241 524288, 24242 524416, 24243 524352, 24244 590048, 24245 459012, 24246 524376, 24247 524312, 24248 589968, 24249 459028, 24250 524408, 24251 524344, 24252 590032, 24253 459020, 24254 524392, 24255 524328, 24256 59e4, 24257 524296, 24258 524424, 24259 524360, 24260 590064, 24261 459010, 24262 524372, 24263 524308, 24264 524572, 24265 459026, 24266 524404, 24267 524340, 24268 590024, 24269 459018, 24270 524388, 24271 524324, 24272 589992, 24273 524292, 24274 524420, 24275 524356, 24276 590056, 24277 459014, 24278 524380, 24279 524316, 24280 589976, 24281 459030, 24282 524412, 24283 524348, 24284 590040, 24285 459022, 24286 524396, 24287 524332, 24288 590008, 24289 524300, 24290 524428, 24291 524364, 24292 590072, 24293 459009, 24294 524370, 24295 524306, 24296 524570, 24297 459025, 24298 524402, 24299 524338, 24300 590020, 24301 459017, 24302 524386, 24303 524322, 24304 589988, 24305 524290, 24306 524418, 24307 524354, 24308 590052, 24309 459013, 24310 524378, 24311 524314, 24312 589972, 24313 459029, 24314 524410, 24315 524346, 24316 590036, 24317 459021, 24318 524394, 24319 524330, 24320 590004, 24321 524298, 24322 524426, 24323 524362, 24324 590068, 24325 459011, 24326 524374, 24327 524310, 24328 524574, 24329 459027, 24330 524406, 24331 524342, 24332 590028, 24333 459019, 24334 524390, 24335 524326, 24336 589996, 24337 524294, 24338 524422, 24339 524358, 24340 590060, 24341 459015, 24342 524382, 24343 524318, 24344 589980, 24345 459031, 24346 524414, 24347 524350, 24348 590044, 24349 459023, 24350 524398, 24351 524334, 24352 590012, 24353 524302, 24354 524430, 24355 524366, 24356 590076, 24357 459008, 24358 524369, 24359 524305, 24360 524569, 24361 459024, 24362 524401, 24363 524337, 24364 590018, 24365 459016, 24366 524385, 24367 524321, 24368 589986, 24369 524289, 24370 524417, 24371 524353, 24372 590050, 24373 459012, 24374 524377, 24375 524313, 24376 589970, 24377 459028, 24378 524409, 24379 524345, 24380 590034, 24381 459020, 24382 524393, 24383 524329, 24384 590002, 24385 524297, 24386 524425, 24387 524361, 24388 590066, 24389 459010, 24390 524373, 24391 524309, 24392 524573, 24393 459026, 24394 524405, 24395 524341, 24396 590026, 24397 459018, 24398 524389, 24399 524325, 24400 589994, 24401 524293, 24402 524421, 24403 524357, 24404 590058, 24405 459014, 24406 524381, 24407 524317, 24408 589978, 24409 459030, 24410 524413, 24411 524349, 24412 590042, 24413 459022, 24414 524397, 24415 524333, 24416 590010, 24417 524301, 24418 524429, 24419 524365, 24420 590074, 24421 459009, 24422 524371, 24423 524307, 24424 524571, 24425 459025, 24426 524403, 24427 524339, 24428 590022, 24429 459017, 24430 524387, 24431 524323, 24432 589990, 24433 524291, 24434 524419, 24435 524355, 24436 590054, 24437 459013, 24438 524379, 24439 524315, 24440 589974, 24441 459029, 24442 524411, 24443 524347, 24444 590038, 24445 459021, 24446 524395, 24447 524331, 24448 590006, 24449 524299, 24450 524427, 24451 524363, 24452 590070, 24453 459011,
24454 524375, 24455 524311, 24456 524575, 24457 459027, 24458 524407, 24459 524343, 24460 590030, 24461 459019, 24462 524391, 24463 524327, 24464 589998, 24465 524295, 24466 524423, 24467 524359, 24468 590062, 24469 459015, 24470 524383, 24471 524319, 24472 589982, 24473 459031, 24474 524415, 24475 524351, 24476 590046, 24477 459023, 24478 524399, 24479 524335, 24480 590014, 24481 524303, 24482 524431, 24483 524367, 24484 590078, 24485 459008, 24486 524368, 24487 524304, 24488 524568, 24489 459024, 24490 524400, 24491 524336, 24492 590017, 24493 459016, 24494 524384, 24495 524320, 24496 589985, 24497 524288, 24498 524416, 24499 524352, 24500 590049, 24501 459012, 24502 524376, 24503 524312, 24504 589969, 24505 459028, 24506 524408, 24507 524344, 24508 590033, 24509 459020, 24510 524392, 24511 524328, 24512 590001, 24513 524296, 24514 524424, 24515 524360, 24516 590065, 24517 459010, 24518 524372, 24519 524308, 24520 524572, 24521 459026, 24522 524404, 24523 524340, 24524 590025, 24525 459018, 24526 524388, 24527 524324, 24528 589993, 24529 524292, 24530 524420, 24531 524356, 24532 590057, 24533 459014, 24534 524380, 24535 524316, 24536 589977, 24537 459030, 24538 524412, 24539 524348, 24540 590041, 24541 459022, 24542 524396, 24543 524332, 24544 590009, 24545 524300, 24546 524428, 24547 524364, 24548 590073, 24549 459009, 24550 524370, 24551 524306, 24552 524570, 24553 459025, 24554 524402, 24555 524338, 24556 590021, 24557 459017, 24558 524386, 24559 524322, 24560 589989, 24561 524290, 24562 524418, 24563 524354, 24564 590053, 24565 459013, 24566 524378, 24567 524314, 24568 589973, 24569 459029, 24570 524410, 24571 524346, 24572 590037, 24573 459021, 24574 524394, 24575 524330, 24576 590005, 24577 524298, 24578 524426, 24579 524362, 24580 590069, 24581 459011, 24582 524374, 24583 524310, 24584 524574, 24585 459027, 24586 524406, 24587 524342, 24588 590029, 24589 459019, 24590 524390, 24591 524326, 24592 589997, 24593 524294, 24594 524422, 24595 524358, 24596 590061, 24597 459015, 24598 524382, 24599 524318, 24600 589981, 24601 459031, 24602 524414, 24603 524350, 24604 590045, 24605 459023, 24606 524398, 24607 524334, 24608 590013, 24609 524302, 24610 524430, 24611 524366, 24612 590077, 24613 459008, 24614 524369, 24615 524305, 24616 524569, 24617 459024, 24618 524401, 24619 524337, 24620 590019, 24621 459016, 24622 524385, 24623 524321, 24624 589987, 24625 524289, 24626 524417, 24627 524353, 24628 590051, 24629 459012, 24630 524377, 24631 524313, 24632 589971, 24633 459028, 24634 524409, 24635 524345, 24636 590035, 24637 459020, 24638 524393, 24639 524329, 24640 590003, 24641 524297, 24642 524425, 24643 524361, 24644 590067, 24645 459010, 24646 524373, 24647 524309, 24648 524573, 24649 459026, 24650 524405, 24651 524341, 24652 590027, 24653 459018, 24654 524389, 24655 524325, 24656 589995, 24657 524293, 24658 524421, 24659 524357, 24660 590059, 24661 459014, 24662 524381, 24663 524317, 24664 589979, 24665 459030, 24666 524413, 24667 524349, 24668 590043, 24669 459022, 24670 524397, 24671 524333, 24672 590011, 24673 524301, 24674 524429, 24675 524365, 24676 590075, 24677 459009, 24678 524371, 24679 524307, 24680 524571, 24681 459025, 24682 524403, 24683 524339, 24684 590023, 24685 459017, 24686 524387, 24687 524323, 24688 589991, 24689 524291, 24690 524419, 24691 524355, 24692 590055, 24693 459013, 24694 524379, 24695 524315, 24696 589975, 24697 459029, 24698 524411, 24699 524347, 24700 590039, 24701 459021, 24702 524395, 24703 524331, 24704 590007, 24705 524299, 24706 524427, 24707 524363, 24708 590071, 24709 459011,
24710 524375, 24711 524311, 24712 524575, 24713 459027, 24714 524407, 24715 524343, 24716 590031, 24717 459019, 24718 524391, 24719 524327, 24720 589999, 24721 524295, 24722 524423, 24723 524359, 24724 590063, 24725 459015, 24726 524383, 24727 524319, 24728 589983, 24729 459031, 24730 524415, 24731 524351, 24732 590047, 24733 459023, 24734 524399, 24735 524335, 24736 590015, 24737 524303, 24738 524431, 24739 524367, 24740 590079 24741]), 9], UV = [new Int32Array([ 24742 327680, 24743 327696, 24744 327688, 24745 327704, 24746 327684, 24747 327700, 24748 327692, 24749 327708, 24750 327682, 24751 327698, 24752 327690, 24753 327706, 24754 327686, 24755 327702, 24756 327694, 24757 0, 24758 327681, 24759 327697, 24760 327689, 24761 327705, 24762 327685, 24763 327701, 24764 327693, 24765 327709, 24766 327683, 24767 327699, 24768 327691, 24769 327707, 24770 327687, 24771 327703, 24772 327695, 24773 0 24774]), 5], HV = ( 24775 /** @class */ 24776 function(t) { 24777 Ne(e, t); 24778 function e(r, n) { 24779 var i = t.call(this, n) || this; 24780 i.stream = r; 24781 var o = r.getByte(), a = r.getByte(); 24782 if (o === -1 || a === -1) 24783 throw new Error("Invalid header in flate stream: " + o + ", " + a); 24784 if ((o & 15) !== 8) 24785 throw new Error("Unknown compression method in flate stream: " + o + ", " + a); 24786 if (((o << 8) + a) % 31 !== 0) 24787 throw new Error("Bad FCHECK in flate stream: " + o + ", " + a); 24788 if (a & 32) 24789 throw new Error("FDICT bit set in flate stream: " + o + ", " + a); 24790 return i.codeSize = 0, i.codeBuf = 0, i; 24791 } 24792 return e.prototype.readBlock = function() { 24793 var r, n, i = this.stream, o = this.getBits(3); 24794 if (o & 1 && (this.eof = !0), o >>= 1, o === 0) { 24795 var a = void 0; 24796 if ((a = i.getByte()) === -1) 24797 throw new Error("Bad block header in flate stream"); 24798 var s = a; 24799 if ((a = i.getByte()) === -1) 24800 throw new Error("Bad block header in flate stream"); 24801 if (s |= a << 8, (a = i.getByte()) === -1) 24802 throw new Error("Bad block header in flate stream"); 24803 var u = a; 24804 if ((a = i.getByte()) === -1) 24805 throw new Error("Bad block header in flate stream"); 24806 if (u |= a << 8, u !== (~s & 65535) && (s !== 0 || u !== 0)) 24807 throw new Error("Bad uncompressed block length in flate stream"); 24808 this.codeBuf = 0, this.codeSize = 0; 24809 var l = this.bufferLength; 24810 r = this.ensureBuffer(l + s); 24811 var f = l + s; 24812 if (this.bufferLength = f, s === 0) 24813 i.peekByte() === -1 && (this.eof = !0); 24814 else 24815 for (var h = l; h < f; ++h) { 24816 if ((a = i.getByte()) === -1) { 24817 this.eof = !0; 24818 break; 24819 } 24820 r[h] = a; 24821 } 24822 return; 24823 } 24824 var g, d; 24825 if (o === 1) 24826 g = BV, d = UV; 24827 else if (o === 2) { 24828 var m = this.getBits(5) + 257, b = this.getBits(5) + 1, S = this.getBits(4) + 4, w = new Uint8Array(o1.length), D = void 0; 24829 for (D = 0; D < S; ++D) 24830 w[o1[D]] = this.getBits(3); 24831 var T = this.generateHuffmanTable(w); 24832 n = 0, D = 0; 24833 for (var _ = m + b, x = new Uint8Array(_), p = void 0, N = void 0, V = void 0; D < _; ) { 24834 var P = this.getCode(T); 24835 if (P === 16) 24836 p = 2, N = 3, V = n; 24837 else if (P === 17) 24838 p = 3, N = 3, V = n = 0; 24839 else if (P === 18) 24840 p = 7, N = 11, V = n = 0; 24841 else { 24842 x[D++] = n = P; 24843 continue; 24844 } 24845 for (var M = this.getBits(p) + N; M-- > 0; ) 24846 x[D++] = V; 24847 } 24848 g = this.generateHuffmanTable(x.subarray(0, m)), d = this.generateHuffmanTable(x.subarray(m, _)); 24849 } else 24850 throw new Error("Unknown block type in flate stream"); 24851 r = this.buffer; 24852 for (var U = r ? r.length : 0, re = this.bufferLength; ; ) { 24853 var Q = this.getCode(g); 24854 if (Q < 256) { 24855 re + 1 >= U && (r = this.ensureBuffer(re + 1), U = r.length), r[re++] = Q; 24856 continue; 24857 } 24858 if (Q === 256) { 24859 this.bufferLength = re; 24860 return; 24861 } 24862 Q -= 257, Q = LV[Q]; 24863 var ne = Q >> 16; 24864 ne > 0 && (ne = this.getBits(ne)), n = (Q & 65535) + ne, Q = this.getCode(d), Q = jV[Q], ne = Q >> 16, ne > 0 && (ne = this.getBits(ne)); 24865 var ee = (Q & 65535) + ne; 24866 re + n >= U && (r = this.ensureBuffer(re + n), U = r.length); 24867 for (var L = 0; L < n; ++L, ++re) 24868 r[re] = r[re - ee]; 24869 } 24870 }, e.prototype.getBits = function(r) {
24871 for (var n = this.stream, i = this.codeSize, o = this.codeBuf, a; i < r; ) { 24872 if ((a = n.getByte()) === -1) 24873 throw new Error("Bad encoding in flate stream"); 24874 o |= a << i, i += 8; 24875 } 24876 return a = o & (1 << r) - 1, this.codeBuf = o >> r, this.codeSize = i -= r, a; 24877 }, e.prototype.getCode = function(r) { 24878 for (var n = this.stream, i = r[0], o = r[1], a = this.codeSize, s = this.codeBuf, u; a < o && (u = n.getByte()) !== -1; ) 24879 s |= u << a, a += 8; 24880 var l = i[s & (1 << o) - 1]; 24881 typeof i == "number" && console.log("FLATE:", l); 24882 var f = l >> 16, h = l & 65535; 24883 if (f < 1 || a < f) 24884 throw new Error("Bad encoding in flate stream"); 24885 return this.codeBuf = s >> f, this.codeSize = a - f, h; 24886 }, e.prototype.generateHuffmanTable = function(r) { 24887 var n = r.length, i = 0, o; 24888 for (o = 0; o < n; ++o) 24889 r[o] > i && (i = r[o]); 24890 for (var a = 1 << i, s = new Int32Array(a), u = 1, l = 0, f = 2; u <= i; ++u, l <<= 1, f <<= 1) 24891 for (var h = 0; h < n; ++h) 24892 if (r[h] === u) { 24893 var g = 0, d = l; 24894 for (o = 0; o < u; ++o) 24895 g = g << 1 | d & 1, d >>= 1; 24896 for (o = g; o < a; o += f) 24897 s[o] = u << 16 | h; 24898 ++l; 24899 } 24900 return [s, i]; 24901 }, e; 24902 }(dc) 24903), zV = ( 24904 /** @class */ 24905 function(t) { 24906 Ne(e, t); 24907 function e(r, n, i) { 24908 var o = t.call(this, n) || this; 24909 o.stream = r, o.cachedData = 0, o.bitsCached = 0; 24910 for (var a = 4096, s = { 24911 earlyChange: i, 24912 codeLength: 9, 24913 nextCode: 258, 24914 dictionaryValues: new Uint8Array(a), 24915 dictionaryLengths: new Uint16Array(a), 24916 dictionaryPrevCodes: new Uint16Array(a), 24917 currentSequence: new Uint8Array(a), 24918 currentSequenceLength: 0 24919 }, u = 0; u < 256; ++u) 24920 s.dictionaryValues[u] = u, s.dictionaryLengths[u] = 1; 24921 return o.lzwState = s, o; 24922 } 24923 return e.prototype.readBlock = function() { 24924 var r = 512, n = r * 2, i = r, o, a, s, u = this.lzwState; 24925 if (u) { 24926 var l = u.earlyChange, f = u.nextCode, h = u.dictionaryValues, g = u.dictionaryLengths, d = u.dictionaryPrevCodes, m = u.codeLength, b = u.prevCode, S = u.currentSequence, w = u.currentSequenceLength, D = 0, T = this.bufferLength, _ = this.ensureBuffer(this.bufferLength + n); 24927 for (o = 0; o < r; o++) { 24928 var x = this.readBits(m), p = w > 0; 24929 if (!x || x < 256) 24930 S[0] = x, w = 1; 24931 else if (x >= 258) 24932 if (x < f) 24933 for (w = g[x], a = w - 1, s = x; a >= 0; a--) 24934 S[a] = h[s], s = d[s]; 24935 else 24936 S[w++] = S[0]; 24937 else if (x === 256) { 24938 m = 9, f = 258, w = 0; 24939 continue; 24940 } else { 24941 this.eof = !0, delete this.lzwState; 24942 break; 24943 } 24944 if (p && (d[f] = b, g[f] = g[b] + 1, h[f] = S[0], f++, m = f + l & f + l - 1 ? m : Math.min(Math.log(f + l) / 0.6931471805599453 + 1, 12) | 0), b = x, D += w, n < D) { 24945 do 24946 n += i; 24947 while (n < D); 24948 _ = this.ensureBuffer(this.bufferLength + n); 24949 } 24950 for (a = 0; a < w; a++) 24951 _[T++] = S[a]; 24952 } 24953 u.nextCode = f, u.codeLength = m, u.prevCode = b, u.currentSequenceLength = w, this.bufferLength = T; 24954 } 24955 }, e.prototype.readBits = function(r) { 24956 for (var n = this.bitsCached, i = this.cachedData; n < r; ) { 24957 var o = this.stream.getByte(); 24958 if (o === -1) 24959 return this.eof = !0, null; 24960 i = i << 8 | o, n += 8; 24961 } 24962 return this.bitsCached = n -= r, this.cachedData = i, i >>> n & (1 << r) - 1; 24963 }, e; 24964 }(dc) 24965), WV = ( 24966 /** @class */ 24967 function(t) { 24968 Ne(e, t); 24969 function e(r, n) { 24970 var i = t.call(this, n) || this; 24971 return i.stream = r, i; 24972 } 24973 return e.prototype.readBlock = function() { 24974 var r = this.stream.getBytes(2); 24975 if (!r || r.length < 2 || r[0] === 128) { 24976 this.eof = !0; 24977 return; 24978 } 24979 var n, i = this.bufferLength, o = r[0]; 24980 if (o < 128) { 24981 if (n = this.ensureBuffer(i + o + 1), n[i++] = r[1], o > 0) { 24982 var a = this.stream.getBytes(o); 24983 n.set(a, i), i += o; 24984 } 24985 } else { 24986 o = 257 - o; 24987 var s = r[1]; 24988 n = this.ensureBuffer(i + o + 1); 24989 for (var u = 0; u < o; u++) 24990 n[i++] = s; 24991 } 24992 this.bufferLength = i; 24993 }, e; 24994 }(dc) 24995), a1 = function(t, e, r) { 24996 if (e === R.of("FlateDecode")) 24997 return new HV(t); 24998 if (e === R.of("LZWDecode")) { 24999 var n = 1; 25000 if (r instanceof mt) { 25001 var i = r.lookup(R.of("EarlyChange")); 25002 i instanceof lt && (n = i.asNumber()); 25003 } 25004 return new zV(t, void 0, n); 25005 } 25006 if (e === R.of("ASCII85Decode")) 25007 return new MV(t); 25008 if (e === R.of("ASCIIHexDecode")) 25009 return new VV(t); 25010 if (e === R.of("RunLengthDecode")) 25011 return new WV(t); 25012 throw new $M(e.asString()); 25013}, RS = function(t) { 25014 var e = t.dict, r = t.contents, n = new FS(r), i = e.lookup(R.of("Filter")), o = e.lookup(R.of("DecodeParms")); 25015 if (i instanceof R) 25016 n = a1(n, i, o); 25017 else if (i instanceof Lt) 25018 for (var a = 0, s = i.size(); a < s; a++) 25019 n = a1(n, i.lookup(a, R), o && o.lookupMaybe(a, mt)); 25020 else if (i) 25021 throw new ed([R, Lt], i); 25022 return n; 25023}, qV = function(t) { 25024 var e = t.MediaBox(), r = e.lookup(2, lt).asNumber() - e.lookup(0, lt).asNumber(), n = e.lookup(3, lt).asNumber() - e.lookup(1, lt).asNumber(); 25025 return { left: 0, bottom: 0, right: r, top: n }; 25026}, KV = function(t) { 25027 return [1, 0, 0, 1, -t.left, -t.bottom]; 25028}, IS = ( 25029 /** @class */ 25030 function() { 25031 function t(e, r, n) { 25032 this.page = e; 25033 var i = r ?? qV(e); 25034 this.width = i.right - i.left, this.height = i.top - i.bottom, this.boundingBox = i, this.transformationMatrix = n ?? KV(i); 25035 } 25036 return t.for = function(e, r, n) { 25037 return yt(this, void 0, void 0, function() { 25038 return bt(this, function(i) { 25039 return [2, new t(e, r, n)]; 25040 }); 25041 }); 25042 }, t.prototype.embedIntoContext = function(e, r) { 25043 return yt(this, void 0, void 0, function() { 25044 var n, i, o, a, s, u, l, f, h, g; 25045 return bt(this, function(d) { 25046 if (n = this.page.normalizedEntries(), i = n.Contents, o = n.Resources, !i) 25047 throw new eV(); 25048 return a = this.decodeContents(i), s = this.boundingBox, u = s.left, l = s.bottom, f = s.right, h = s.top, g = e.flateStream(a, { 25049 Type: "XObject", 25050 Subtype: "Form", 25051 FormType: 1, 25052 BBox: [u, l, f, h], 25053 Matrix: this.transformationMatrix, 25054 Resources: o 25055 }), r ? (e.assign(r, g), [2, r]) : [2, e.register(g)]; 25056 }); 25057 }); 25058 }, t.prototype.decodeContents = function(e) { 25059 for (var r = Uint8Array.of(I.Newline), n = [], i = 0, o = e.size(); i < o; i++) { 25060 var a = e.lookup(i, kn), s = void 0; 25061 if (a instanceof ju) 25062 s = RS(a).decode(); 25063 else if (a instanceof bu) 25064 s = a.getUnencodedContents(); 25065 else 25066 throw new tV(a); 25067 n.push(s, r); 25068 } 25069 return yR.apply(void 0, n); 25070 }, t; 25071 }() 25072), Xc = function(t, e) { 25073 if (t !== void 0) 25074 return e[t]; 25075}, Eu;
25076(function(t) { 25077 t.UseNone = "UseNone", t.UseOutlines = "UseOutlines", t.UseThumbs = "UseThumbs", t.UseOC = "UseOC"; 25078})(Eu || (Eu = {})); 25079var xu; 25080(function(t) { 25081 t.L2R = "L2R", t.R2L = "R2L"; 25082})(xu || (xu = {})); 25083var wu; 25084(function(t) { 25085 t.None = "None", t.AppDefault = "AppDefault"; 25086})(wu || (wu = {})); 25087var nd; 25088(function(t) { 25089 t.Simplex = "Simplex", t.DuplexFlipShortEdge = "DuplexFlipShortEdge", t.DuplexFlipLongEdge = "DuplexFlipLongEdge"; 25090})(nd || (nd = {})); 25091var s1 = ( 25092 /** @class */ 25093 function() { 25094 function t(e) { 25095 this.dict = e; 25096 } 25097 return t.prototype.lookupBool = function(e) { 25098 var r = this.dict.lookup(R.of(e)); 25099 if (r instanceof Lu) 25100 return r; 25101 }, t.prototype.lookupName = function(e) { 25102 var r = this.dict.lookup(R.of(e)); 25103 if (r instanceof R) 25104 return r; 25105 }, t.prototype.HideToolbar = function() { 25106 return this.lookupBool("HideToolbar"); 25107 }, t.prototype.HideMenubar = function() { 25108 return this.lookupBool("HideMenubar"); 25109 }, t.prototype.HideWindowUI = function() { 25110 return this.lookupBool("HideWindowUI"); 25111 }, t.prototype.FitWindow = function() { 25112 return this.lookupBool("FitWindow"); 25113 }, t.prototype.CenterWindow = function() { 25114 return this.lookupBool("CenterWindow"); 25115 }, t.prototype.DisplayDocTitle = function() { 25116 return this.lookupBool("DisplayDocTitle"); 25117 }, t.prototype.NonFullScreenPageMode = function() { 25118 return this.lookupName("NonFullScreenPageMode"); 25119 }, t.prototype.Direction = function() { 25120 return this.lookupName("Direction"); 25121 }, t.prototype.PrintScaling = function() { 25122 return this.lookupName("PrintScaling"); 25123 }, t.prototype.Duplex = function() { 25124 return this.lookupName("Duplex"); 25125 }, t.prototype.PickTrayByPDFSize = function() { 25126 return this.lookupBool("PickTrayByPDFSize"); 25127 }, t.prototype.PrintPageRange = function() { 25128 var e = this.dict.lookup(R.of("PrintPageRange")); 25129 if (e instanceof Lt) 25130 return e; 25131 }, t.prototype.NumCopies = function() { 25132 var e = this.dict.lookup(R.of("NumCopies")); 25133 if (e instanceof lt) 25134 return e; 25135 }, t.prototype.getHideToolbar = function() { 25136 var e, r; 25137 return (r = (e = this.HideToolbar()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25138 }, t.prototype.getHideMenubar = function() { 25139 var e, r; 25140 return (r = (e = this.HideMenubar()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25141 }, t.prototype.getHideWindowUI = function() { 25142 var e, r; 25143 return (r = (e = this.HideWindowUI()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25144 }, t.prototype.getFitWindow = function() { 25145 var e, r; 25146 return (r = (e = this.FitWindow()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25147 }, t.prototype.getCenterWindow = function() { 25148 var e, r; 25149 return (r = (e = this.CenterWindow()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25150 }, t.prototype.getDisplayDocTitle = function() { 25151 var e, r; 25152 return (r = (e = this.DisplayDocTitle()) === null || e === void 0 ? void 0 : e.asBoolean()) !== null && r !== void 0 ? r : !1; 25153 }, t.prototype.getNonFullScreenPageMode = function() { 25154 var e, r, n = (e = this.NonFullScreenPageMode()) === null || e === void 0 ? void 0 : e.decodeText(); 25155 return (r = Xc(n, Eu)) !== null && r !== void 0 ? r : Eu.UseNone; 25156 }, t.prototype.getReadingDirection = function() { 25157 var e, r, n = (e = this.Direction()) === null || e === void 0 ? void 0 : e.decodeText(); 25158 return (r = Xc(n, xu)) !== null && r !== void 0 ? r : xu.L2R; 25159 }, t.prototype.getPrintScaling = function() { 25160 var e, r, n = (e = this.PrintScaling()) === null || e === void 0 ? void 0 : e.decodeText(); 25161 return (r = Xc(n, wu)) !== null && r !== void 0 ? r : wu.AppDefault; 25162 }, t.prototype.getDuplex = function() { 25163 var e, r = (e = this.Duplex()) === null || e === void 0 ? void 0 : e.decodeText(); 25164 return Xc(r, nd); 25165 }, t.prototype.getPickTrayByPDFSize = function() { 25166 var e; 25167 return (e = this.PickTrayByPDFSize()) === null || e === void 0 ? void 0 : e.asBoolean(); 25168 }, t.prototype.getPrintPageRange = function() { 25169 var e = this.PrintPageRange(); 25170 if (!e) 25171 return []; 25172 for (var r = [], n = 0; n < e.size(); n += 2) { 25173 var i = e.lookup(n, lt).asNumber(), o = e.lookup(n + 1, lt).asNumber(); 25174 r.push({ start: i, end: o }); 25175 } 25176 return r; 25177 }, t.prototype.getNumCopies = function() { 25178 var e, r; 25179 return (r = (e = this.NumCopies()) === null || e === void 0 ? void 0 : e.asNumber()) !== null && r !== void 0 ? r : 1; 25180 }, t.prototype.setHideToolbar = function(e) { 25181 var r = this.dict.context.obj(e); 25182 this.dict.set(R.of("HideToolbar"), r); 25183 }, t.prototype.setHideMenubar = function(e) { 25184 var r = this.dict.context.obj(e); 25185 this.dict.set(R.of("HideMenubar"), r); 25186 }, t.prototype.setHideWindowUI = function(e) { 25187 var r = this.dict.context.obj(e); 25188 this.dict.set(R.of("HideWindowUI"), r); 25189 }, t.prototype.setFitWindow = function(e) { 25190 var r = this.dict.context.obj(e); 25191 this.dict.set(R.of("FitWindow"), r); 25192 }, t.prototype.setCenterWindow = function(e) { 25193 var r = this.dict.context.obj(e); 25194 this.dict.set(R.of("CenterWindow"), r); 25195 }, t.prototype.setDisplayDocTitle = function(e) { 25196 var r = this.dict.context.obj(e); 25197 this.dict.set(R.of("DisplayDocTitle"), r); 25198 }
25198, t.prototype.setNonFullScreenPageMode = function(e) { 25199 Xo(e, "nonFullScreenPageMode", Eu); 25200 var r = R.of(e); 25201 this.dict.set(R.of("NonFullScreenPageMode"), r); 25202 }, t.prototype.setReadingDirection = function(e) { 25203 Xo(e, "readingDirection", xu); 25204 var r = R.of(e); 25205 this.dict.set(R.of("Direction"), r); 25206 }, t.prototype.setPrintScaling = function(e) { 25207 Xo(e, "printScaling", wu); 25208 var r = R.of(e); 25209 this.dict.set(R.of("PrintScaling"), r); 25210 }, t.prototype.setDuplex = function(e) { 25211 Xo(e, "duplex", nd); 25212 var r = R.of(e); 25213 this.dict.set(R.of("Duplex"), r); 25214 }, t.prototype.setPickTrayByPDFSize = function(e) { 25215 var r = this.dict.context.obj(e); 25216 this.dict.set(R.of("PickTrayByPDFSize"), r); 25217 }, t.prototype.setPrintPageRange = function(e) { 25218 Array.isArray(e) || (e = [e]); 25219 for (var r = [], n = 0, i = e.length; n < i; n++) 25220 r.push(e[n].start), r.push(e[n].end); 25221 SS(r, "printPageRange", ["number"]); 25222 var o = this.dict.context.obj(r); 25223 this.dict.set(R.of("PrintPageRange"), o); 25224 }, t.prototype.setNumCopies = function(e) { 25225 Cn(e, "numCopies", 1, Number.MAX_VALUE), QM(e, "numCopies"); 25226 var r = this.dict.context.obj(e); 25227 this.dict.set(R.of("NumCopies"), r); 25228 }, t.fromDict = function(e) { 25229 return new t(e); 25230 }, t.create = function(e) { 25231 var r = e.obj({}); 25232 return new t(r); 25233 }, t; 25234 }() 25235), GV = /\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/, MS = ( 25236 /** @class */ 25237 function() { 25238 function t(e, r) { 25239 this.dict = e, this.ref = r; 25240 } 25241 return t.prototype.T = function() { 25242 return this.dict.lookupMaybe(R.of("T"), Ht, ot); 25243 }, t.prototype.Ff = function() { 25244 var e = this.getInheritableAttribute(R.of("Ff")); 25245 return this.dict.context.lookupMaybe(e, lt); 25246 }, t.prototype.V = function() { 25247 var e = this.getInheritableAttribute(R.of("V")); 25248 return this.dict.context.lookup(e); 25249 }, t.prototype.Kids = function() { 25250 return this.dict.lookupMaybe(R.of("Kids"), Lt); 25251 }, t.prototype.DA = function() { 25252 var e = this.dict.lookup(R.of("DA")); 25253 if (e instanceof Ht || e instanceof ot) 25254 return e; 25255 }, t.prototype.setKids = function(e) { 25256 this.dict.set(R.of("Kids"), this.dict.context.obj(e)); 25257 }, t.prototype.getParent = function() { 25258 var e = this.dict.get(R.of("Parent")); 25259 if (e instanceof zt) { 25260 var r = this.dict.lookup(R.of("Parent"), mt); 25261 return new t(r, e); 25262 } 25263 }, t.prototype.setParent = function(e) { 25264 e ? this.dict.set(R.of("Parent"), e) : this.dict.delete(R.of("Parent")); 25265 }, t.prototype.getFullyQualifiedName = function() { 25266 var e = this.getParent(); 25267 return e ? e.getFullyQualifiedName() + "." + this.getPartialName() : this.getPartialName(); 25268 }, t.prototype.getPartialName = function() { 25269 var e; 25270 return (e = this.T()) === null || e === void 0 ? void 0 : e.decodeText(); 25271 }, t.prototype.setPartialName = function(e) { 25272 e ? this.dict.set(R.of("T"), ot.fromText(e)) : this.dict.delete(R.of("T")); 25273 }, t.prototype.setDefaultAppearance = function(e) { 25274 this.dict.set(R.of("DA"), Ht.of(e)); 25275 }, t.prototype.getDefaultAppearance = function() { 25276 var e = this.DA(); 25277 return e instanceof ot ? e.decodeText() : e?.asString(); 25278 }, t.prototype.setFontSize = function(e) { 25279 var r, n = (r = this.getFullyQualifiedName()) !== null && r !== void 0 ? r : "", i = this.getDefaultAppearance(); 25280 if (!i) 25281 throw new oV(n); 25282 var o = k0(i, GV); 25283 if (!o.match) 25284 throw new aV(n); 25285 var a = i.slice(0, o.pos - o.match[0].length), s = o.pos <= i.length ? i.slice(o.pos) : "", u = o.match[1], l = a + " /" + u + " " + e + " Tf " + s; 25286 this.setDefaultAppearance(l); 25287 }, t.prototype.getFlags = function() { 25288 var e, r; 25289 return (r = (e = this.Ff()) === null || e === void 0 ? void 0 : e.asNumber()) !== null && r !== void 0 ? r : 0; 25290 }, t.prototype.setFlags = function(e) { 25291 this.dict.set(R.of("Ff"), lt.of(e)); 25292 }, t.prototype.hasFlag = function(e) { 25293 var r = this.getFlags(); 25294 return (r & e) !== 0; 25295 }, t.prototype.setFlag = function(e) { 25296 var r = this.getFlags(); 25297 this.setFlags(r | e); 25298 }, t.prototype.clearFlag = function(e) { 25299 var r = this.getFlags(); 25300 this.setFlags(r & ~e); 25301 }, t.prototype.setFlagTo = function(e, r) { 25302 r ? this.setFlag(e) : this.clearFlag(e); 25303 }, t.prototype.getInheritableAttribute = function(e) { 25304 var r; 25305 return this.ascend(function(n) { 25306 r || (r = n.dict.get(e)); 25307 }), r; 25308 }, t.prototype.ascend = function(e) { 25309 e(this); 25310 var r = this.getParent(); 25311 r && r.ascend(e); 25312 }, t; 25313 }() 25314), Ep = ( 25315 /** @class */ 25316 function() { 25317 function t(e) { 25318 this.dict = e; 25319 } 25320 return t.prototype.W = function() { 25321 var e = this.dict.lookup(R.of("W")); 25322 if (e instanceof lt) 25323 return e; 25324 }, t.prototype.getWidth = function() { 25325 var e, r; 25326 return (r = (e = this.W()) === null || e === void 0 ? void 0 : e.asNumber()) !== null && r !== void 0 ? r : 1; 25327 }, t.prototype.setWidth = function(e) { 25328 var r = this.dict.context.obj(e); 25329 this.dict.set(R.of("W"), r); 25330 }, t.fromDict = function(e) { 25331 return new t(e); 25332 }, t; 25333 }() 25334), XV = ( 25335 /** @class */ 25336 function() { 25337 function t(e) { 25338 this.dict = e; 25339 } 25340 return t.prototype.Rect = function() { 25341 return this.dict.lookup(R.of("Rect"), Lt); 25342 }, t.prototype.AP = function() { 25343 return this.dict.lookupMaybe(R.of("AP"), mt); 25344 }, t.prototype.F = function() { 25345 var e = this.dict.lookup(R.of("F")); 25346 return this.dict.context.lookupMaybe(e, lt); 25347 }, t.prototype.getRectangle = function() { 25348 var e, r = this.Rect(); 25349 return (e = r?.asRectangle()) !== null && e !== void 0 ? e : { x: 0, y: 0, width: 0, height: 0 }; 25350 }, t.prototype.setRectangle = function(e) { 25351 var r = e.x, n = e.y, i = e.width, o = e.height, a = this.dict.context.obj([r, n, r + i, n + o]); 25352 this.dict.set(R.of("Rect"), a); 25353 }, t.prototype.getAppearanceState = function() { 25354 var e = this.dict.lookup(R.of("AS")); 25355 if (e instanceof R) 25356 return e; 25357 }, t.prototype.setAppearanceState = function(e) { 25358 this.dict.set(R.of("AS"), e); 25359 }, t.prototype.setAppearances = function(e) { 25360 this.dict.set(R.of("AP"), e); 25361 }, t.prototype.ensureAP = function() { 25362 var e = this.AP(); 25363 return e || (e = this.dict.context.obj({}), this.dict.set(R.of("AP"), e)), e; 25364 }, t.prototype.getNormalAppearance = function() { 25365 var e = this.ensureAP(), r = e.get(R.of("N")); 25366 if (r instanceof zt || r instanceof mt) 25367 return r; 25368 throw new Error("Unexpected N type: " + r?.constructor.name); 25369 }
25369, t.prototype.setNormalAppearance = function(e) { 25370 var r = this.ensureAP(); 25371 r.set(R.of("N"), e); 25372 }, t.prototype.setRolloverAppearance = function(e) { 25373 var r = this.ensureAP(); 25374 r.set(R.of("R"), e); 25375 }, t.prototype.setDownAppearance = function(e) { 25376 var r = this.ensureAP(); 25377 r.set(R.of("D"), e); 25378 }, t.prototype.removeRolloverAppearance = function() { 25379 var e = this.AP(); 25380 e?.delete(R.of("R")); 25381 }, t.prototype.removeDownAppearance = function() { 25382 var e = this.AP(); 25383 e?.delete(R.of("D")); 25384 }, t.prototype.getAppearances = function() { 25385 var e = this.AP(); 25386 if (e) { 25387 var r = e.lookup(R.of("N"), mt, kn), n = e.lookupMaybe(R.of("R"), mt, kn), i = e.lookupMaybe(R.of("D"), mt, kn); 25388 return { normal: r, rollover: n, down: i }; 25389 } 25390 }, t.prototype.getFlags = function() { 25391 var e, r; 25392 return (r = (e = this.F()) === null || e === void 0 ? void 0 : e.asNumber()) !== null && r !== void 0 ? r : 0; 25393 }, t.prototype.setFlags = function(e) { 25394 this.dict.set(R.of("F"), lt.of(e)); 25395 }, t.prototype.hasFlag = function(e) { 25396 var r = this.getFlags(); 25397 return (r & e) !== 0; 25398 }, t.prototype.setFlag = function(e) { 25399 var r = this.getFlags(); 25400 this.setFlags(r | e); 25401 }, t.prototype.clearFlag = function(e) { 25402 var r = this.getFlags(); 25403 this.setFlags(r & ~e); 25404 }, t.prototype.setFlagTo = function(e, r) { 25405 r ? this.setFlag(e) : this.clearFlag(e); 25406 }, t.fromDict = function(e) { 25407 return new t(e); 25408 }, t; 25409 }() 25410), xp = ( 25411 /** @class */ 25412 function() { 25413 function t(e) { 25414 this.dict = e; 25415 } 25416 return t.prototype.R = function() { 25417 var e = this.dict.lookup(R.of("R")); 25418 if (e instanceof lt) 25419 return e; 25420 }, t.prototype.BC = function() { 25421 var e = this.dict.lookup(R.of("BC")); 25422 if (e instanceof Lt) 25423 return e; 25424 }, t.prototype.BG = function() { 25425 var e = this.dict.lookup(R.of("BG")); 25426 if (e instanceof Lt) 25427 return e; 25428 }, t.prototype.CA = function() { 25429 var e = this.dict.lookup(R.of("CA")); 25430 if (e instanceof ot || e instanceof Ht) 25431 return e; 25432 }, t.prototype.RC = function() { 25433 var e = this.dict.lookup(R.of("RC")); 25434 if (e instanceof ot || e instanceof Ht) 25435 return e; 25436 }, t.prototype.AC = function() { 25437 var e = this.dict.lookup(R.of("AC")); 25438 if (e instanceof ot || e instanceof Ht) 25439 return e; 25440 }, t.prototype.getRotation = function() { 25441 var e; 25442 return (e = this.R()) === null || e === void 0 ? void 0 : e.asNumber(); 25443 }, t.prototype.getBorderColor = function() { 25444 var e = this.BC(); 25445 if (e) { 25446 for (var r = [], n = 0, i = e?.size(); n < i; n++) { 25447 var o = e.get(n); 25448 o instanceof lt && r.push(o.asNumber()); 25449 } 25450 return r; 25451 } 25452 }, t.prototype.getBackgroundColor = function() { 25453 var e = this.BG(); 25454 if (e) { 25455 for (var r = [], n = 0, i = e?.size(); n < i; n++) { 25456 var o = e.get(n); 25457 o instanceof lt && r.push(o.asNumber()); 25458 } 25459 return r; 25460 } 25461 }, t.prototype.getCaptions = function() { 25462 var e = this.CA(), r = this.RC(), n = this.AC(); 25463 return { 25464 normal: e?.decodeText(), 25465 rollover: r?.decodeText(), 25466 down: n?.decodeText() 25467 }; 25468 }, t.prototype.setRotation = function(e) { 25469 var r = this.dict.context.obj(e); 25470 this.dict.set(R.of("R"), r); 25471 }, t.prototype.setBorderColor = function(e) { 25472 var r = this.dict.context.obj(e); 25473 this.dict.set(R.of("BC"), r); 25474 }, t.prototype.setBackgroundColor = function(e) { 25475 var r = this.dict.context.obj(e); 25476 this.dict.set(R.of("BG"), r); 25477 }, t.prototype.setCaptions = function(e) { 25478 var r = ot.fromText(e.normal); 25479 if (this.dict.set(R.of("CA"), r), e.rollover) { 25480 var n = ot.fromText(e.rollover); 25481 this.dict.set(R.of("RC"), n); 25482 } else 25483 this.dict.delete(R.of("RC")); 25484 if (e.down) { 25485 var i = ot.fromText(e.down); 25486 this.dict.set(R.of("AC"), i); 25487 } else 25488 this.dict.delete(R.of("AC")); 25489 }, t.fromDict = function(e) { 25490 return new t(e); 25491 }, t; 25492 }() 25493), _v = ( 25494 /** @class */ 25495 function(t) { 25496 Ne(e, t); 25497 function e() { 25498 return t !== null && t.apply(this, arguments) || this; 25499 } 25500 return e.prototype.MK = function() { 25501 var r = this.dict.lookup(R.of("MK")); 25502 if (r instanceof mt) 25503 return r; 25504 }, e.prototype.BS = function() { 25505 var r = this.dict.lookup(R.of("BS")); 25506 if (r instanceof mt) 25507 return r; 25508 }, e.prototype.DA = function() { 25509 var r = this.dict.lookup(R.of("DA")); 25510 if (r instanceof Ht || r instanceof ot) 25511 return r; 25512 }, e.prototype.P = function() { 25513 var r = this.dict.get(R.of("P")); 25514 if (r instanceof zt) 25515 return r; 25516 }, e.prototype.setP = function(r) { 25517 this.dict.set(R.of("P"), r); 25518 }, e.prototype.setDefaultAppearance = function(r) { 25519 this.dict.set(R.of("DA"), Ht.of(r)); 25520 }, e.prototype.getDefaultAppearance = function() { 25521 var r = this.DA(); 25522 return r instanceof ot ? r.decodeText() : r?.asString(); 25523 }, e.prototype.getAppearanceCharacteristics = function() { 25524 var r = this.MK(); 25525 if (r) 25526 return xp.fromDict(r); 25527 }, e.prototype.getOrCreateAppearanceCharacteristics = function() { 25528 var r = this.MK(); 25529 if (r) 25530 return xp.fromDict(r); 25531 var n = xp.fromDict(this.dict.context.obj({})); 25532 return this.dict.set(R.of("MK"), n.dict), n; 25533 }, e.prototype.getBorderStyle = function() { 25534 var r = this.BS(); 25535 if (r) 25536 return Ep.fromDict(r); 25537 }, e.prototype.getOrCreateBorderStyle = function() { 25538 var r = this.BS(); 25539 if (r) 25540 return Ep.fromDict(r); 25541 var n = Ep.fromDict(this.dict.context.obj({})); 25542 return this.dict.set(R.of("BS"), n.dict), n; 25543 }, e.prototype.getOnValue = function() { 25544 var r, n = (r = this.getAppearances()) === null || r === void 0 ? void 0 : r.normal; 25545 if (n instanceof mt) 25546 for (var i = n.keys(), o = 0, a = i.length; o < a; o++) { 25547 var s = i[o]; 25548 if (s !== R.of("Off")) 25549 return s; 25550 } 25551 }, e.fromDict = function(r) { 25552 return new e(r); 25553 }, e.create = function(r, n) { 25554 var i = r.obj({ 25555 Type: "Annot", 25556 Subtype: "Widget", 25557 Rect: [0, 0, 0, 0], 25558 Parent: n 25559 }); 25560 return new e(i); 25561 }, e; 25562 }(XV) 25563), cl = ( 25564 /** @class */ 25565 function(t) { 25566 Ne(e, t); 25567 function e() { 25568 return t !== null && t.apply(this, arguments) || this; 25569 } 25570 return e.prototype.FT = function() { 25571 var r = this.getInheritableAttribute(R.of("FT")); 25572 return this.dict.context.lookup(r, R); 25573 }, e.prototype.getWidgets = function() { 25574 var r = this.Kids(); 25575 if (!r) 25576 return [_v.fromDict(this.dict)]; 25577 for (var n = new Array(r.size()), i = 0, o = r.size(); i < o; i++) { 25578 var a = r.lookup(i, mt); 25579 n[i] = _v.fromDict(a); 25580 } 25581 return n; 25582 }, e.prototype.addWidget = function(r) { 25583 var n = this.normalizedEntries().Kids; 25584 n.push(r); 25585 }, e.prototype.removeWidget = function(r) { 25586 var n = this.Kids(); 25587 if (n) { 25588 if (r < 0 || r > n.size()) 25589 throw new td(r, 0, n.size()); 25590 n.remove(r); 25591 } else { 25592 if (r !== 0) 25593 throw new td(r, 0, 0); 25594 this.setKids([]); 25595 } 25596 }, e.prototype.normalizedEntries = function() { 25597 var r = this.Kids(); 25598 return r || (r = this.dict.context.obj([this.ref]), this.dict.set(R.of("Kids"), r)), { Kids: r }; 25599 }, e.fromDict = function(r, n) { 25600 return new e(r, n); 25601 }, e; 25602 }(MS) 25603), q0 = ( 25604 /** @class */ 25605 function(t) { 25606 Ne(e, t); 25607 function e() { 25608 return t !== null && t.apply(this, arguments) || this; 25609 } 25610 return e.prototype.Opt = function() { 25611 return this.dict.lookupMaybe(R.of("Opt"), Ht, ot, Lt); 25612 }, e.prototype.setOpt = function(r) { 25613 this.dict.set(R.of("Opt"), this.dict.context.obj(r)); 25614 }, e.prototype.getExportValues = function() { 25615 var r = this.Opt(); 25616 if (r) { 25617 if (r instanceof Ht || r instanceof ot) 25618 return [r]; 25619 for (var n = [], i = 0, o = r.size(); i < o; i++) { 25620 var a = r.lookup(i); 25621 (a instanceof Ht || a instanceof ot) && n.push(a); 25622 } 25623 return n; 25624 } 25625 }, e.prototype.removeExportValue = function(r) { 25626 var n = this.Opt(); 25627 if (n) 25628 if (n instanceof Ht || n instanceof ot) { 25629 if (r !== 0) 25630 throw new td(r, 0, 0); 25631 this.setOpt([]); 25632 } else { 25633 if (r < 0 || r > n.size()) 25634 throw new td(r, 0, n.size()); 25635 n.remove(r); 25636 } 25637 }, e.prototype.normalizeExportValues = function() { 25638 for (var r, n, i, o, a = (r = this.getExportValues()) !== null && r !== void 0 ? r : [], s = [], u = this.getWidgets(), l = 0, f = u.length; l < f; l++) { 25639 var h = u[l], g = (n = a[l]) !== null && n !== void 0 ? n : ot.fromText((o = (i = h.getOnValue()) === null || i === void 0 ? void 0 : i.decodeText()) !== null && o !== void 0 ? o : ""); 25640 s.push(g); 25641 } 25642 this.setOpt(s); 25643 }, e.prototype.addOpt = function(r, n) { 25644 var i; 25645 this.normalizeExportValues(); 25646 var o = r.decodeText(), a; 25647 if (n) 25648 for (var s = (i = this.getExportValues()) !== null && i !== void 0 ? i : [], u = 0, l = s.length; u < l; u++) { 25649 var f = s[u]; 25650 f.decodeText() === o && (a = u); 25651 } 25652 var h = this.Opt(); 25653 return h.push(r), a ?? h.size() - 1; 25654 }, e.prototype.addWidgetWithOpt = function(r, n, i) { 25655 var o = this.addOpt(n, i), a = R.of(String(o)); 25656 return this.addWidget(r), a; 25657 }, e; 25658 }(cl) 25659), Yd = ( 25660 /** @class */ 25661 function(t) { 25662 Ne(e, t); 25663 function e() { 25664 return t !== null && t.apply(this, arguments) || this; 25665 } 25666 return e.prototype.setValue = function(r) { 25667 var n, i = (n = this.getOnValue()) !== null && n !== void 0 ? n : R.of("Yes"); 25668 if (r !== i && r !== R.of("Off")) 25669 throw new B0(); 25670 this.dict.set(R.of("V"), r); 25671 for (var o = this.getWidgets(), a = 0, s = o.length; a < s; a++) { 25672 var u = o[a], l = u.getOnValue() === r ? r : R.of("Off"); 25673 u.setAppearanceState(l); 25674 } 25675 }, e.prototype.getValue = function() { 25676 var r = this.V(); 25677 return r instanceof R ? r : R.of("Off"); 25678 }, e.prototype.getOnValue = function() { 25679 var r = this.getWidgets()[0]; 25680 return r?.getOnValue(); 25681 }, e.fromDict = function(r, n) { 25682 return new e(r, n); 25683 }, e.create = function(r) { 25684 var n = r.obj({ 25685 FT: "Btn", 25686 Kids: [] 25687 }), i = r.register(n); 25688 return new e(n, i); 25689 }, e; 25690 }(q0) 25691), mr = function(t) { 25692 return 1 << t; 25693}, fi; 25694(function(t) { 25695 t[t.ReadOnly = mr(1 - 1)] = "ReadOnly", t[t.Required = mr(2 - 1)] = "Required", t[t.NoExport = mr(3 - 1)] = "NoExport"; 25696})(fi || (fi = {})); 25697var zn; 25698(function(t) { 25699 t[t.NoToggleToOff = mr(15 - 1)] = "NoToggleToOff", t[t.Radio = mr(16 - 1)] = "Radio", t[t.Push
25699Button = mr(17 - 1)] = "PushButton", t[t.RadiosInUnison = mr(26 - 1)] = "RadiosInUnison"; 25700})(zn || (zn = {})); 25701var lr; 25702(function(t) { 25703 t[t.Multiline = mr(13 - 1)] = "Multiline", t[t.Password = mr(14 - 1)] = "Password", t[t.FileSelect = mr(21 - 1)] = "FileSelect", t[t.DoNotSpellCheck = mr(23 - 1)] = "DoNotSpellCheck", t[t.DoNotScroll = mr(24 - 1)] = "DoNotScroll", t[t.Comb = mr(25 - 1)] = "Comb", t[t.RichText = mr(26 - 1)] = "RichText"; 25704})(lr || (lr = {})); 25705var Ut; 25706(function(t) { 25707 t[t.Combo = mr(18 - 1)] = "Combo", t[t.Edit = mr(19 - 1)] = "Edit", t[t.Sort = mr(20 - 1)] = "Sort", t[t.MultiSelect = mr(22 - 1)] = "MultiSelect", t[t.DoNotSpellCheck = mr(23 - 1)] = "DoNotSpellCheck", t[t.CommitOnSelChange = mr(27 - 1)] = "CommitOnSelChange"; 25708})(Ut || (Ut = {})); 25709var VS = ( 25710 /** @class */ 25711 function(t) { 25712 Ne(e, t); 25713 function e() { 25714 return t !== null && t.apply(this, arguments) || this; 25715 } 25716 return e.prototype.setValues = function(r) { 25717 if (this.hasFlag(Ut.Combo) && !this.hasFlag(Ut.Edit) && !this.valuesAreValid(r)) 25718 throw new B0(); 25719 if (r.length === 0 && this.dict.delete(R.of("V")), r.length === 1 && this.dict.set(R.of("V"), r[0]), r.length > 1) { 25720 if (!this.hasFlag(Ut.MultiSelect)) 25721 throw new iV(); 25722 this.dict.set(R.of("V"), this.dict.context.obj(r)); 25723 } 25724 this.updateSelectedIndices(r); 25725 }, e.prototype.valuesAreValid = function(r) { 25726 for (var n = this.getOptions(), i = function(u, l) { 25727 var f = r[u].decodeText(); 25728 if (!n.find(function(h) { 25729 return f === (h.display || h.value).decodeText(); 25730 })) 25731 return { value: !1 }; 25732 }, o = 0, a = r.length; o < a; o++) { 25733 var s = i(o); 25734 if (typeof s == "object") 25735 return s.value; 25736 } 25737 return !0; 25738 }, e.prototype.updateSelectedIndices = function(r) { 25739 if (r.length > 1) { 25740 for (var n = new Array(r.length), i = this.getOptions(), o = function(u, l) { 25741 var f = r[u].decodeText(); 25742 n[u] = i.findIndex(function(h) { 25743 return f === (h.display || h.value).decodeText(); 25744 }); 25745 }, a = 0, s = r.length; a < s; a++) 25746 o(a, s); 25747 this.dict.set(R.of("I"), this.dict.context.obj(n.sort())); 25748 } else 25749 this.dict.delete(R.of("I")); 25750 }, e.prototype.getValues = function() { 25751 var r = this.V(); 25752 if (r instanceof Ht || r instanceof ot) 25753 return [r]; 25754 if (r instanceof Lt) { 25755 for (var n = [], i = 0, o = r.size(); i < o; i++) { 25756 var a = r.lookup(i); 25757 (a instanceof Ht || a instanceof ot) && n.push(a); 25758 } 25759 return n; 25760 } 25761 return []; 25762 }, e.prototype.Opt = function() { 25763 return this.dict.lookupMaybe(R.of("Opt"), Ht, ot, Lt); 25764 }, e.prototype.setOptions = function(r) { 25765 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) { 25766 var a = r[i], s = a.value, u = a.display; 25767 n[i] = this.dict.context.obj([s, u || s]); 25768 } 25769 this.dict.set(R.of("Opt"), this.dict.context.obj(n)); 25770 }, e.prototype.getOptions = function() { 25771 var r = this.Opt(); 25772 if (r instanceof Ht || r instanceof ot) 25773 return [{ value: r, display: r }]; 25774 if (r instanceof Lt) { 25775 for (var n = [], i = 0, o = r.size(); i < o; i++) { 25776 var a = r.lookup(i); 25777 if ((a instanceof Ht || a instanceof ot) && n.push({ value: a, display: a }), a instanceof Lt && a.size() > 0) { 25778 var s = a.lookup(0, Ht, ot), u = a.lookupMaybe(1, Ht, ot); 25779 n.push({ value: s, display: u || s }); 25780 } 25781 } 25782 return n; 25783 } 25784 return []; 25785 }, e; 25786 }(cl) 25787), Zd = ( 25788 /** @class */ 25789 function(t) { 25790 Ne(e, t); 25791 function e() { 25792 return t !== null && t.apply(this, arguments) || this; 25793 } 25794 return e.fromDict = function(r, n) { 25795 return new e(r, n); 25796 }, e.create = function(r) { 25797 var n = r.obj({ 25798 FT: "Ch", 25799 Ff: Ut.Combo, 25800 Kids: [] 25801 }), i = r.register(n); 25802 return new e(n, i); 25803 }, e; 25804 }(VS) 25805), id = ( 25806 /** @class */ 25807 function(t) { 25808 Ne(e, t); 25809 function e() { 25810 return t !== null && t.apply(this, arguments) || this; 25811 } 25812 return e.prototype.addField = function(r) { 25813 var n = this.normalizedEntries().Kids; 25814 n?.push(r); 25815 }, e.prototype.normalizedEntries = function() { 25816 var r = this.Kids(); 25817 return r || (r = this.dict.context.obj([]), this.dict.set(R.of("Kids"), r)), { Kids: r }; 25818 }, e.fromDict = function(r, n) { 25819 return new e(r, n); 25820 }, e.create = function(r) { 25821 var n = r.obj({}), i = r.register(n); 25822 return new e(n, i); 25823 }, e; 25824 }(MS) 25825), K0 = ( 25826 /** @class */ 25827 function(t) { 25828 Ne(e, t); 25829 function e() { 25830 return t !== null && t.apply(this, arguments) || this; 25831 } 25832 return e.fromDict = function(r, n) { 25833 return new e(r, n); 25834 }, e; 25835 }(cl) 25836), Jd = ( 25837 /** @class */ 25838 function(t) { 25839 Ne(e, t); 25840 function e() { 25841 return t !== null && t.apply(this, arguments) || this; 25842 } 25843 return e.prototype.MaxLen = function() { 25844 var r = this.dict.lookup(R.of("MaxLen")); 25845 if (r instanceof lt) 25846 return r; 25847 }, e.prototype.Q = function() { 25848 var r = this.dict.lookup(R.of("Q")); 25849 if (r instanceof lt) 25850 return r; 25851 }, e.prototype.setMaxLength = function(r) { 25852 this.dict.set(R.of("MaxLen"), lt.of(r)); 25853 }, e.prototype.removeMaxLength = function() { 25854 this.dict.delete(R.of("MaxLen")); 25855 }, e.prototype.getMaxLength = function() { 25856 var r; 25857 return (r = this.MaxLen()) === null || r === void 0 ? void 0 : r.asNumber(); 25858 }, e.prototype.setQuadding = function(r) { 25859 this.dict.set(R.of("Q"), lt.of(r)); 25860 }, e.prototype.getQuadding = function() { 25861 var r; 25862 return (r = this.Q()) === null || r === void 0 ? void 0 : r.asNumber(); 25863 }, e.prototype.setValue = function(r) { 25864 this.dict.set(R.of("V"), r); 25865 }, e.prototype.removeValue = function() { 25866 this.dict.delete(R.of("V")); 25867 }, e.prototype.getValue = function() { 25868 var r = this.V(); 25869 if (r instanceof Ht || r instanceof ot) 25870 return r; 25871 }, e.fromDict = function(r, n) { 25872 return new e(r, n); 25873 }, e.create = function(r) { 25874 var n = r.obj({ 25875 FT: "Tx", 25876 Kids: [] 25877 }), i = r.register(n); 25878 return new e(n, i); 25879 }, e; 25880 }(cl) 25881), Qd = ( 25882 /** @class */ 25883 function(t) { 25884 Ne(e, t); 25885 function e() { 25886 return t !== null && t.apply(this, arguments) || this; 25887 } 25888 return e.fromDict = function(r, n) { 25889 return new e(r, n); 25890 }, e.create = function(r) { 25891 var n = r.obj({ 25892 FT: "Btn", 25893 Ff: zn.PushButton, 25894 Kids: [] 25895 }), i = r.register(n); 25896 return new e(n, i); 25897 }, e; 25898 }(q0) 25899), $d = ( 25900 /** @class */ 25901 function(t) { 25902 Ne(e, t); 25903 function e() { 25904 return t !== null && t.apply(this, arguments) || this; 25905 } 25906 return e.prototype.setValue = function(r) { 25907 var n = this.getOnValues(); 25908 if (!n.includes(r) && r !== R.of("Off")) 25909 throw new B0(); 25910 this.dict.set(R.of("V"), r); 25911 for (var i = this.getWidgets(), o = 0, a = i.length; o < a; o++) { 25912 var s = i[o], u = s.getOnValue() === r ? r : R.of("Off"); 25913 s.setAppearanceState(u); 25914 } 25915 }, e.prototype.getValue = function() { 25916 var r = this.V(); 25917 return r instanceof R ? r : R.of("Off"); 25918 }, e.prototype.getOnValues = function() { 25919 for (var r = this.getWidgets(), n = [], i = 0, o = r.length; i < o; i++) { 25920 var a = r[i].getOnValue(); 25921 a && n.push(a); 25922 } 25923 return n; 25924 }, e.fromDict = function(r, n) { 25925 return new e(r, n); 25926 }, e.create = function(r) { 25927 var n = r.obj({ 25928 FT: "Btn", 25929 Ff: zn.Radio, 25930 Kids: [] 25931 }), i = r.register(n); 25932 return new e(n, i); 25933 }, e; 25934 }(q0) 25935), eh = ( 25936 /** @class */ 25937 function(t) { 25938 Ne(e, t); 25939 function e() { 25940 return t !== null && t.apply(this, arguments) || this; 25941 } 25942 return e.fromDict = function(r, n) { 25943 return new e(r, n); 25944 }, e.create = function(r) { 25945 var n = r.obj({ 25946 FT: "Ch", 25947 Kids: [] 25948 }), i = r.register(n); 25949 return new e(n, i); 25950 }, e; 25951 }(VS) 25952), G0 = function(t) { 25953 if (!t) 25954 return []; 25955 for (var e = [], r = 0, n = t.size(); r < n; r++) { 25956 var i = t.get(r), o = t.lookup(r); 25957 i instanceof zt && o instanceof mt && e.push([LS(o, i), i]); 25958 } 25959 return e; 25960}, LS = function(t, e) { 25961 var r = YV(t); 25962 return r ? id.fromDict(t, e) : ZV(t, e); 25963}, YV = function(t) { 25964 var e = t.lookup(R.of("Kids")); 25965 if (e instanceof Lt) 25966 for (var r = 0, n = e.size(); r < n; r++) { 25967 var i = e.lookup(r), o = i instanceof mt && i.has(R.of("T")); 25968 if (o) 25969 return !0; 25970 } 25971 return !1; 25972}, ZV = function(t, e) { 25973 var r = X0(t, R.of("FT")), n = t.context.lookup(r, R); 25974 return n === R.of("Btn") ? JV(t, e) : n === R.of("Ch") ? QV(t, e) : n === R.of("Tx") ? Jd.fromDict(t, e) : n === R.of("Sig") ? K0.fromDict(t, e) : cl.fromDict(t, e); 25975}, JV = function(t, e) { 25976 var r, n = X0(t, R.of("Ff")), i = t.context.lookupMaybe(n, lt), o = (r = i?.asNumber()) !== null && r !== void 0 ? r : 0; 25977 return Tv(o, zn.PushButton) ? Qd.fromDict(t, e) : Tv(o, zn.Radio) ? $d.fromDict(t, e) : Yd.fromDict(t, e); 25978}, QV = function(t, e) { 25979 var r, n = X0(t, R.of("Ff")), i = t.context.lookupMaybe(n, lt), o = (r = i?.asNumber()) !== null && r !== void 0 ? r : 0; 25980 return Tv(o, Ut.Combo) ? Zd.fromDict(t, e) : eh.fromDict(t, e); 25981}, Tv = function(t, e) { 25982 return (t & e) !== 0; 25983}, X0 = function(t, e) { 25984 var r; 25985 return jS(t, function(n) { 25986 r || (r = n.get(e)); 25987 }), r; 25988}, jS = function(t, e) { 25989 e(t); 25990 var r = t.lookupMaybe(R.of("Parent"), mt); 25991 r && jS(r, e); 25992}, od = ( 25993 /** @class */ 25994 function() { 25995 function t(e) { 25996 this.dict = e; 25997 } 25998 return t.prototype.Fields = function() { 25999 var e = this.dict.lookup(R.of("Fields")); 26000 if (e instanceof Lt) 26001 return e; 26002 }, t.prototype.getFields = function() { 26003 for (var e = this.normalizedEntries().Fields, r = new Array(e.size()), n = 0, i = e.size(); n < i; n++) { 26004 var o = e.get(n), a = e.lookup(n, mt); 26005 r[n] = [LS(a, o), o]; 26006 } 26007 return r; 26008 }, t.prototype.getAllFields = function() { 26009 var e = [], r = function(n) { 26010 if (n) 26011 for (var i = 0, o = n.length; i < o; i++) { 26012 var a = n[i]; 26013 e.push(a); 26014 var s = a[0]; 26015 s instanceof id && r(G0(s.Kids())); 26016 } 26017 }; 26018 return r(this.getFields()), e; 26019 }, t.prototype.addField = function(e) { 26020 var r = this.normalizedEntries().Fields; 26021 r?.push(e); 26022 }, t.prototype.removeField = function(e) { 26023 var r = e.getParent(), n = r === void 0 ? this.normalizedEntries().Fields : r.Kids(), i = n?.indexOf(e.ref); 26024 if (n === void 0 || i === void 0) 26025 throw new Error("Tried to remove inexistent field " + e.getFullyQualifiedName()); 26026 n.remove(i), r !== void 0 && n.size() === 0 && this.removeField(r); 26027 }, t.prototype.normalizedEntries = function() { 26028 var e = this.Fields(); 26029 return e || (e = this.dict.context.obj([]), this.dict.set(R.of("Fields"), e)), { Fields: e }; 26030 }, t.fromDict = function(e) { 26031 return new t(e); 26032 }, t.create = function(e) { 26033 var r = e.obj({ Fields: [] }); 26034 return new t(r); 26035 }, t; 26036 }() 26037), BS = ( 26038 /** @class */ 26039 function(t) { 26040 Ne(e, t); 26041 function e() { 26042 return t !== null && t.apply(this, arguments) || this; 26043 } 26044 return e.prototype.Pages = function() { 26045 return this.lookup(R.of("Pages"), mt); 26046 }, e.prototype.AcroForm = function() { 26047 return this.lookupMaybe(R.of("AcroForm"), mt); 26048 }, e.prototype.getAcroForm = function() { 26049 var r = this.AcroForm(); 26050 if (r) 26051 return od.fromDict(r); 26052 }, e.prototype.getOrCreateAcroForm = function() { 26053 var r = this.getAcroForm(); 26054 if (!r) { 26055 r = od.create(this.context); 26056 var n = this.context.register(r.dict); 26057 this.set(R.of("AcroForm"), n); 26058 } 26059 return r; 26060 }, e.prototype.ViewerPreferences = function() { 26061 return this.lookupMaybe(R.of("ViewerPreferences"), mt); 26062 }, e.prototype.getViewerPreferences = function() { 26063 var r = this.ViewerPreferences(); 26064 if (r) 26065 return s1.fromDict(r); 26066 }, e.prototype.getOrCreateViewerPreferences = function() { 26067 var r = this.getViewerPreferences(); 26068 if (!r) { 26069 r = s1.create(this.context); 26070 var n = this.context.register(r.dict); 26071 this.set(R.of("ViewerPreferences"), n); 26072 } 26073 return r; 26074 }, e.prototype.insertLeafNode = function(r, n) { 26075 var i = this.get(R.of("Pages")), o = this.Pages().insertLeafNode(r, n); 26076 return o || i; 26077 }, e.prototype.removeLeafNode = function(r) { 26078 this.Pages().removeLeafNode(r); 26079 }, e.withContextAndPages = function(r, n) { 26080 var i = /* @__PURE__ */ new Map(); 26081 return i.set(R.of("Type"), R.of("Catalog")), i.set(R.of("Pages"), n), new e(i, r); 26082 }, e.fromMapWithContext = function(r, n) { 26083 return new e(r, n); 26084 }, e; 26085 }(mt) 26086), US = ( 26087 /** @class */ 26088 function(t) { 26089 Ne(e, t); 26090 function e() { 26091 return t !== null && t.apply(this, arguments) || this; 26092 } 26093 return e.prototype.Parent = function() { 26094 return this.lookup(R.of("Parent")); 26095 }, e.prototype.Kids = function() { 26096 return this.lookup(R.of("Kids"), Lt); 26097 }, e.prototype.Count = function() { 26098 return this.lookup(R.of("Count"), lt); 26099 }, e.prototype.pushTreeNode = function(r) { 26100 var n = this.Kids(); 26101 n.push(r); 26102 }, e.prototype.pushLeafNode = function(r) { 26103 var n = this.Kids(); 26104 this.insertLeafKid(n.size(), r); 26105 }, e.prototype.insertLeafNode = function(r, n) { 26106 var i = this.Kids(), o = this.Count().asNumber(); 26107 if (n > o) 26108 throw new Xb(n, o); 26109 for (var a = n, s = 0, u = i.size(); s < u; s++) { 26110 if (a === 0) { 26111 this.insertLeafKid(s, r); 26112 return; 26113 } 26114 var l = i.get(s), f = this.context.lookup(l); 26115 if (f instanceof e) { 26116 if (f.Count().asNumber() > a) 26117 return f.insertLeafNode(r, a) || l; 26118 a -= f.Count().asNumber(); 26119 } 26120 f instanceof xo && (a -= 1); 26121 } 26122 if (a === 0) { 26123 this.insertLeafKid(i.size(), r); 26124 return; 26125 } 26126 throw new Yb(n, "insertLeafNode"); 26127 }, e.prototype.removeLeafNode = function(r, n) { 26128 n === void 0 && (n = !0); 26129 var i = this.Kids(), o = this.Count().asNumber(); 26130 if (r >= o) 26131 throw new Xb(r, o); 26132 for (var a = r, s = 0, u = i.size(); s < u; s++) { 26133 var l = i.get(s), f = this.context.lookup(l); 26134 if (f instanceof e) 26135 if (f.Count().asNumber() > a) { 26136 f.removeLeafNode(a, n), n && f.Kids().size() === 0 && i.remove(s); 26137 return; 26138 } else 26139 a -= f.Count().asNumber(); 26140 if (f instanceof xo) 26141 if (a === 0) { 26142 this.removeKid(s); 26143 return; 26144 } else 26145 a -= 1; 26146 } 26147 throw new Yb(r, "removeLeafNode"); 26148 }, e.prototype.ascend = function(r) { 26149 r(this); 26150 var n = this.Parent(); 26151 n && n.ascend(r); 26152 }, e.prototype.traverse = function(r) { 26153 for (var n = this.Kids(), i = 0, o = n.size(); i < o; i++) { 26154 var a = n.get(i), s = this.context.lookup(a); 26155 s instanceof e && s.traverse(r), r(s, a); 26156 } 26157 }, e.prototype.insertLeafKid = function(r, n) { 26158 var i = this.Kids(); 26159 this.ascend(function(o) { 26160 var a = o.Count().asNumber() + 1; 26161 o.set(R.of("Count"), lt.of(a)); 26162 }), i.insert(r, n); 26163 }, e.prototype.removeKid = function(r) { 26164 var n = this.Kids(), i = n.lookup(r); 26165 i instanceof xo && this.ascend(function(o) { 26166 var a = o.Count().asNumber() - 1; 26167 o.set(R.of("Count"), lt.of(a)); 26168 }), n.remove(r); 26169 }, e.withContext = function(r, n) { 26170 var i = /* @__PURE__ */ new Map(); 26171 return i.set(R.of("Type"), R.of("Pages")), i.set(R.of("Kids"), r.obj([])), i.set(R.of("Count"), r.obj(0)), n && i.set(R.of("Parent"), n), new e(i, r); 26172 }, e.fromMapWithContext = function(r, n) { 26173 return new e(r, n); 26174 }, e; 26175 }(mt) 26176), Yr = new Uint8Array(256);
26177Yr[I.Zero] = 1; 26178Yr[I.One] = 1; 26179Yr[I.Two] = 1; 26180Yr[I.Three] = 1; 26181Yr[I.Four] = 1; 26182Yr[I.Five] = 1; 26183Yr[I.Six] = 1; 26184Yr[I.Seven] = 1; 26185Yr[I.Eight] = 1; 26186Yr[I.Nine] = 1; 26187var th = new Uint8Array(256); 26188th[I.Period] = 1; 26189th[I.Plus] = 1; 26190th[I.Minus] = 1; 26191var Y0 = new Uint8Array(256); 26192for (var jl = 0, $V = 256; jl < $V; jl++) 26193 Y0[jl] = Yr[jl] || th[jl] ? 1 : 0; 26194var l1 = I.Newline, u1 = I.CarriageReturn, eL = ( 26195 /** @class */ 26196 function() { 26197 function t(e, r) { 26198 r === void 0 && (r = !1), this.bytes = e, this.capNumbers = r; 26199 } 26200 return t.prototype.parseRawInt = function() { 26201 for (var e = ""; !this.bytes.done(); ) { 26202 var r = this.bytes.peek(); 26203 if (!Yr[r]) 26204 break; 26205 e += bo(this.bytes.next()); 26206 } 26207 var n = Number(e); 26208 if (!e || !isFinite(n)) 26209 throw new Zb(this.bytes.position(), e); 26210 return n; 26211 }, t.prototype.parseRawNumber = function() { 26212 for (var e = ""; !this.bytes.done(); ) { 26213 var r = this.bytes.peek(); 26214 if (!Y0[r] || (e += bo(this.bytes.next()), r === I.Period)) 26215 break; 26216 } 26217 for (; !this.bytes.done(); ) { 26218 var r = this.bytes.peek(); 26219 if (!Yr[r]) 26220 break; 26221 e += bo(this.bytes.next()); 26222 } 26223 var n = Number(e); 26224 if (!e || !isFinite(n)) 26225 throw new Zb(this.bytes.position(), e); 26226 if (n > Number.MAX_SAFE_INTEGER) 26227 if (this.capNumbers) { 26228 var i = "Parsed number that is too large for some PDF readers: " + e + ", using Number.MAX_SAFE_INTEGER instead."; 26229 return console.warn(i), Number.MAX_SAFE_INTEGER; 26230 } else { 26231 var i = "Parsed number that is too large for some PDF readers: " + e + ", not capping."; 26232 console.warn(i); 26233 } 26234 return n; 26235 }, t.prototype.skipWhitespace = function() { 26236 for (; !this.bytes.done() && Oo[this.bytes.peek()]; ) 26237 this.bytes.next(); 26238 }, t.prototype.skipLine = function() { 26239 for (; !this.bytes.done(); ) { 26240 var e = this.bytes.peek(); 26241 if (e === l1 || e === u1) 26242 return; 26243 this.bytes.next(); 26244 } 26245 }, t.prototype.skipComment = function() { 26246 if (this.bytes.peek() !== I.Percent) 26247 return !1; 26248 for (; !this.bytes.done(); ) { 26249 var e = this.bytes.peek(); 26250 if (e === l1 || e === u1) 26251 return !0; 26252 this.bytes.next(); 26253 } 26254 return !0; 26255 }, t.prototype.skipWhitespaceAndComments = function() { 26256 for (this.skipWhitespace(); this.skipComment(); ) 26257 this.skipWhitespace(); 26258 }, t.prototype.matchKeyword = function(e) { 26259 for (var r = this.bytes.offset(), n = 0, i = e.length; n < i; n++) 26260 if (this.bytes.done() || this.bytes.next() !== e[n]) 26261 return this.bytes.moveTo(r), !1; 26262 return !0; 26263 }, t; 26264 }() 26265), rh = ( 26266 /** @class */ 26267 function() { 26268 function t(e) { 26269 this.idx = 0, this.line = 0, this.column = 0, this.bytes = e, this.length = this.bytes.length; 26270 } 26271 return t.prototype.moveTo = function(e) { 26272 this.idx = e; 26273 }, t.prototype.next = function() { 26274 var e = this.bytes[this.idx++]; 26275 return e === I.Newline ? (this.line += 1, this.column = 0) : this.column += 1, e; 26276 }, t.prototype.assertNext = function(e) { 26277 if (this.peek() !== e) 26278 throw new sV(this.position(), e, this.peek()); 26279 return this.next(); 26280 }, t.prototype.peek = function() { 26281 return this.bytes[this.idx]; 26282 }, t.prototype.peekAhead = function(e) { 26283 return this.bytes[this.idx + e]; 26284 }, t.prototype.peekAt = function(e) { 26285 return this.bytes[e]; 26286 }, t.prototype.done = function() { 26287 return this.idx >= this.length; 26288 }, t.prototype.offset = function() { 26289 return this.idx; 26290 }, t.prototype.slice = function(e, r) { 26291 return this.bytes.slice(e, r); 26292 }, t.prototype.position = function() { 26293 return { line: this.line, column: this.column, offset: this.idx }; 26294 }, t.of = function(e) { 26295 return new t(e); 26296 }, t.fromPDFRawStream = function(e) { 26297 return t.of(RS(e).decode()); 26298 }, t; 26299 }() 26300), tL = I.Space, Bl = I.CarriageReturn, Ul = I.Newline, Hl = [ 26301 I.s, 26302 I.t, 26303 I.r, 26304 I.e, 26305 I.a, 26306 I.m 26307], Yc = [ 26308 I.e, 26309 I.n, 26310 I.d, 26311 I.s, 26312 I.t, 26313 I.r, 26314 I.e, 26315 I.a, 26316 I.m 26317], Yt = { 26318 header: [ 26319 I.Percent, 26320 I.P, 26321 I.D, 26322 I.F, 26323 I.Dash 26324 ], 26325 eof: [ 26326 I.Percent, 26327 I.Percent, 26328 I.E, 26329 I.O, 26330 I.F 26331 ], 26332 obj: [I.o, I.b, I.j],
26333 endobj: [ 26334 I.e, 26335 I.n, 26336 I.d, 26337 I.o, 26338 I.b, 26339 I.j 26340 ], 26341 xref: [I.x, I.r, I.e, I.f], 26342 trailer: [ 26343 I.t, 26344 I.r, 26345 I.a, 26346 I.i, 26347 I.l, 26348 I.e, 26349 I.r 26350 ], 26351 startxref: [ 26352 I.s, 26353 I.t, 26354 I.a, 26355 I.r, 26356 I.t, 26357 I.x, 26358 I.r, 26359 I.e, 26360 I.f 26361 ], 26362 true: [I.t, I.r, I.u, I.e], 26363 false: [I.f, I.a, I.l, I.s, I.e], 26364 null: [I.n, I.u, I.l, I.l], 26365 stream: Hl, 26366 streamEOF1: kt(Hl, [tL, Bl, Ul]), 26367 streamEOF2: kt(Hl, [Bl, Ul]), 26368 streamEOF3: kt(Hl, [Bl]), 26369 streamEOF4: kt(Hl, [Ul]), 26370 endstream: Yc, 26371 EOF1endstream: kt([Bl, Ul], Yc), 26372 EOF2endstream: kt([Bl], Yc), 26373 EOF3endstream: kt([Ul], Yc) 26374}, HS = ( 26375 /** @class */ 26376 function(t) { 26377 Ne(e, t); 26378 function e(r, n, i) { 26379 i === void 0 && (i = !1); 26380 var o = t.call(this, r, i) || this; 26381 return o.context = n, o; 26382 } 26383 return e.prototype.parseObject = function() { 26384 if (this.skipWhitespaceAndComments(), this.matchKeyword(Yt.true)) 26385 return Lu.True; 26386 if (this.matchKeyword(Yt.false)) 26387 return Lu.False; 26388 if (this.matchKeyword(Yt.null)) 26389 return dn; 26390 var r = this.bytes.peek(); 26391 if (r === I.LessThan && this.bytes.peekAhead(1) === I.LessThan) 26392 return this.parseDictOrStream(); 26393 if (r === I.LessThan) 26394 return this.parseHexString(); 26395 if (r === I.LeftParen) 26396 return this.parseString(); 26397 if (r === I.ForwardSlash) 26398 return this.parseName(); 26399 if (r === I.LeftSquareBracket) 26400 return this.parseArray(); 26401 if (Y0[r]) 26402 return this.parseNumberOrRef(); 26403 throw new lV(this.bytes.position(), r); 26404 }, e.prototype.parseNumberOrRef = function() { 26405 var r = this.parseRawNumber(); 26406 this.skipWhitespaceAndComments(); 26407 var n = this.bytes.offset(); 26408 if (Yr[this.bytes.peek()]) { 26409 var i = this.parseRawNumber(); 26410 if (this.skipWhitespaceAndComments(), this.bytes.peek() === I.R) 26411 return this.bytes.assertNext(I.R), zt.of(r, i); 26412 } 26413 return this.bytes.moveTo(n), lt.of(r); 26414 }, e.prototype.parseHexString = function() { 26415 var r = ""; 26416 for (this.bytes.assertNext(I.LessThan); !this.bytes.done() && this.bytes.peek() !== I.GreaterThan; ) 26417 r += bo(this.bytes.next()); 26418 return this.bytes.assertNext(I.GreaterThan), ot.of(r); 26419 }, e.prototype.parseString = function() { 26420 for (var r = 0, n = !1, i = ""; !this.bytes.done(); ) { 26421 var o = this.bytes.next(); 26422 if (i += bo(o), n || (o === I.LeftParen && (r += 1), o === I.RightParen && (r -= 1)), o === I.BackSlash ? n = !n : n && (n = !1), r === 0) 26423 return Ht.of(i.substring(1, i.length - 1)); 26424 } 26425 throw new fV(this.bytes.position()); 26426 }, e.prototype.parseName = function() { 26427 this.bytes.assertNext(I.ForwardSlash); 26428 for (var r = ""; !this.bytes.done(); ) { 26429 var n = this.bytes.peek(); 26430 if (Oo[n] || ii[n]) 26431 break; 26432 r += bo(n), this.bytes.next(); 26433 } 26434 return R.of(r); 26435 }, e.prototype.parseArray = function() { 26436 this.bytes.assertNext(I.LeftSquareBracket), this.skipWhitespaceAndComments(); 26437 for (var r = Lt.withContext(this.context); this.bytes.peek() !== I.RightSquareBracket; ) { 26438 var n = this.parseObject(); 26439 r.push(n), this.skipWhitespaceAndComments(); 26440 } 26441 return this.bytes.assertNext(I.RightSquareBracket), r; 26442 }, e.prototype.parseDict = function() { 26443 this.bytes.assertNext(I.LessThan), this.bytes.assertNext(I.LessThan), this.skipWhitespaceAndComments(); 26444 for (var r = /* @__PURE__ */ new Map(); !this.bytes.done() && this.bytes.peek() !== I.GreaterThan && this.bytes.peekAhead(1) !== I.GreaterThan; ) { 26445 var n = this.parseName(), i = this.parseObject(); 26446 r.set(n, i), this.skipWhitespaceAndComments(); 26447 } 26448 this.skipWhitespaceAndComments(), this.bytes.assertNext(I.GreaterThan), this.bytes.assertNext(I.GreaterThan); 26449 var o = r.get(R.of("Type")); 26450 return o === R.of("Catalog") ? BS.fromMapWithContext(r, this.context) : o === R.of("Pages") ? US.fromMapWithContext(r, this.context) : o === R.of("Page") ? xo.fromMapWithContext(r, this.context) : mt.fromMapWithContext(r, this.context); 26451 }, e.prototype.parseDictOrStream = function() { 26452 var r = this.bytes.position(), n = this.parseDict(); 26453 if (this.skipWhitespaceAndComments(), !this.matchKeyword(Yt.streamEOF1) && !this.matchKeyword(Yt.streamEOF2) && !this.matchKeyword(Yt.streamEOF3) && !this.matchKeyword(Yt.streamEOF4) && !this.matchKeyword(Yt.stream)) 26454 return n; 26455 var i = this.bytes.offset(), o, a = n.get(R.of("Length")); 26456 a instanceof lt ? (o = i + a.asNumber(), this.bytes.moveTo(o), this.skipWhitespaceAndComments(), this.matchKeyword(Yt.endstream) || (this.bytes.moveTo(i), o = this.findEndOfStreamFallback(r))) : o = this.findEndOfStreamFallback(r); 26457 var s = this.bytes.slice(i, o); 26458 return ju.of(n, s); 26459 }, e.prototype.findEndOfStreamFallback = function(r) { 26460 for (var n = 1, i = this.bytes.offset(); !this.bytes.done() && (i = this.bytes.offset(), this.matchKeyword(Yt.stream) ? n += 1 : this.matchKeyword(Yt.EOF1endstream) || this.matchKeyword(Yt.EOF2endstream) || this.matchKeyword(Yt.EOF3endstream) || this.matchKeyword(Yt.endstream) ? n -= 1 : this.bytes.next(), n !== 0); ) 26461 ; 26462 if (n !== 0) 26463 throw new cV(r); 26464 return i; 26465 }, e.forBytes = function(r, n, i) { 26466 return new e(rh.of(r), n, i); 26467 }, e.forByteStream = function(r, n, i) { 26468 return i === void 0 && (i = !1), new e(r, n, i); 26469 }, e; 26470 }(eL) 26471), rL = ( 26472 /** @class */ 26473 function(t) { 26474 Ne(e, t); 26475 function e(r, n) { 26476 var i = t.call(this, rh.fromPDFRawStream(r), r.dict.context) || this, o = r.dict; 26477 return i.alreadyParsed = !1, i.shouldWaitForTick = n || function() { 26478 return !1; 26479 }, i.firstOffset = o.lookup(R.of("First"), lt).asNumber(), i.objectCount = o.lookup(R.of("N"), lt).asNumber(), i; 26480 } 26481 return e.prototype.parseIntoContext = function() { 26482 return yt(this, void 0, void 0, function() { 26483 var r, n, i, o, a, s, u, l; 26484 return bt(this, function(f) { 26485 switch (f.label) { 26486 case 0: 26487 if (this.alreadyParsed) 26488 throw new j0("PDFObjectStreamParser", "parseIntoContext"); 26489 this.alreadyParsed = !0, r = this.parseOffsetsAndObjectNumbers(), n = 0, i = r.length, f.label = 1; 26490 case 1: 26491 return n < i ? (o = r[n], a = o.objectNumber, s = o.offset, this.bytes.moveTo(this.firstOffset + s), u = this.parseObject(), l = zt.of(a, 0), this.context.assign(l, u), this.shouldWaitForTick() ? [4, el()] : [3, 3]) : [3, 4]; 26492 case 2: 26493 f.sent(), f.label = 3; 26494 case 3: 26495 return n++, [3, 1]; 26496 case 4: 26497 return [ 26498 2 26499 /*return*/ 26500 ]; 26501 } 26502 }); 26503 }); 26504 }, e.prototype.parseOffsetsAndObjectNumbers = function() { 26505 for (var r = [], n = 0, i = this.objectCount; n < i; n++) { 26506 this.skipWhitespaceAndComments(); 26507 var o = this.parseRawInt(); 26508 this.skipWhitespaceAndComments(); 26509 var a = this.parseRawInt(); 26510 r.push({ objectNumber: o, offset: a }); 26511 } 26512 return r; 26513 }, e.forStream = function(r, n) { 26514 return new e(r, n); 26515 }, e; 26516 }(HS) 26517), nL = ( 26518 /** @class */ 26519 function() { 26520 function t(e) { 26521 this.alreadyParsed = !1, this.dict = e.dict, this.bytes = rh.fromPDFRawStream(e), this.context = this.dict.context; 26522 var r = this.dict.lookup(R.of("Size"), lt), n = this.dict.lookup(R.of("Index")); 26523 if (n instanceof Lt) { 26524 this.subsections = []; 26525 for (var i = 0, o = n.size(); i < o; i += 2) { 26526 var a = n.lookup(i + 0, lt).asNumber(), s = n.lookup(i + 1, lt).asNumber(); 26527 this.subsections.push({ firstObjectNumber: a, length: s }); 26528 } 26529 } else 26530 this.subsections = [{ firstObjectNumber: 0, length: r.asNumber() }]; 26531 var u = this.dict.lookup(R.of("W"), Lt);
26532 this.byteWidths = [-1, -1, -1]; 26533 for (var i = 0, o = u.size(); i < o; i++) 26534 this.byteWidths[i] = u.lookup(i, lt).asNumber(); 26535 } 26536 return t.prototype.parseIntoContext = function() { 26537 if (this.alreadyParsed) 26538 throw new j0("PDFXRefStreamParser", "parseIntoContext"); 26539 this.alreadyParsed = !0, this.context.trailerInfo = { 26540 Root: this.dict.get(R.of("Root")), 26541 Encrypt: this.dict.get(R.of("Encrypt")), 26542 Info: this.dict.get(R.of("Info")), 26543 ID: this.dict.get(R.of("ID")) 26544 }; 26545 var e = this.parseEntries(); 26546 return e; 26547 }, t.prototype.parseEntries = function() { 26548 for (var e = [], r = this.byteWidths, n = r[0], i = r[1], o = r[2], a = 0, s = this.subsections.length; a < s; a++) 26549 for (var u = this.subsections[a], l = u.firstObjectNumber, f = u.length, h = 0; h < f; h++) { 26550 for (var g = 0, d = 0, m = n; d < m; d++) 26551 g = g << 8 | this.bytes.next(); 26552 for (var b = 0, d = 0, m = i; d < m; d++) 26553 b = b << 8 | this.bytes.next(); 26554 for (var S = 0, d = 0, m = o; d < m; d++) 26555 S = S << 8 | this.bytes.next(); 26556 n === 0 && (g = 1); 26557 var w = l + h, D = { 26558 ref: zt.of(w, S), 26559 offset: b, 26560 deleted: g === 0, 26561 inObjectStream: g === 2 26562 }; 26563 e.push(D); 26564 } 26565 return e; 26566 }, t.forStream = function(e) { 26567 return new t(e); 26568 }, t; 26569 }() 26570), iL = ( 26571 /** @class */ 26572 function(t) { 26573 Ne(e, t); 26574 function e(r, n, i, o) { 26575 n === void 0 && (n = 1 / 0), i === void 0 && (i = !1), o === void 0 && (o = !1); 26576 var a = t.call(this, rh.of(r), wv.create(), o) || this; 26577 return a.alreadyParsed = !1, a.parsedObjects = 0, a.shouldWaitForTick = function() { 26578 return a.parsedObjects += 1, a.parsedObjects % a.objectsPerTick === 0; 26579 }, a.objectsPerTick = n, a.throwOnInvalidObject = i, a; 26580 } 26581 return e.prototype.parseDocument = function() { 26582 return yt(this, void 0, void 0, function() { 26583 var r, n; 26584 return bt(this, function(i) { 26585 switch (i.label) { 26586 case 0: 26587 if (this.alreadyParsed) 26588 throw new j0("PDFParser", "parseDocument"); 26589 this.alreadyParsed = !0, this.context.header = this.parseHeader(), i.label = 1; 26590 case 1: 26591 return this.bytes.done() ? [3, 3] : [4, this.parseDocumentSection()]; 26592 case 2: 26593 if (i.sent(), n = this.bytes.offset(), n === r) 26594 throw new dV(this.bytes.position()); 26595 return r = n, [3, 1]; 26596 case 3: 26597 return this.maybeRecoverRoot(), this.context.lookup(zt.of(0)) && (console.warn("Removing parsed object: 0 0 R"), this.context.delete(zt.of(0))), [2, this.context]; 26598 } 26599 }); 26600 }); 26601 }, e.prototype.maybeRecoverRoot = function() { 26602 var r = function(f) { 26603 return f instanceof mt && f.lookup(R.of("Type")) === R.of("Catalog"); 26604 }, n = this.context.lookup(this.context.trailerInfo.Root); 26605 if (!r(n)) 26606 for (var i = this.context.enumerateIndirectObjects(), o = 0, a = i.length; o < a; o++) { 26607 var s = i[o], u = s[0], l = s[1]; 26608 r(l) && (this.context.trailerInfo.Root = u); 26609 } 26610 }, e.prototype.parseHeader = function() { 26611 for (; !this.bytes.done(); ) { 26612 if (this.matchKeyword(Yt.header)) { 26613 var r = this.parseRawInt(); 26614 this.bytes.assertNext(I.Period); 26615 var n = this.parseRawInt(), i = Xd.forVersion(r, n); 26616 return this.skipBinaryHeaderComment(), i; 26617 } 26618 this.bytes.next(); 26619 } 26620 throw new hV(this.bytes.position()); 26621 }, e.prototype.parseIndirectObjectHeader = function() { 26622 this.skipWhitespaceAndComments(); 26623 var r = this.parseRawInt(); 26624 this.skipWhitespaceAndComments(); 26625 var n = this.parseRawInt(); 26626 if (this.skipWhitespaceAndComments(), !this.matchKeyword(Yt.obj)) 26627 throw new pV(this.bytes.position(), Yt.obj); 26628 return zt.of(r, n); 26629 }, e.prototype.matchIndirectObjectHeader = function() { 26630 var r = this.bytes.offset();
26631 try { 26632 return this.parseIndirectObjectHeader(), !0; 26633 } catch { 26634 return this.bytes.moveTo(r), !1; 26635 } 26636 }, e.prototype.parseIndirectObject = function() { 26637 return yt(this, void 0, void 0, function() { 26638 var r, n; 26639 return bt(this, function(i) { 26640 switch (i.label) { 26641 case 0: 26642 return r = this.parseIndirectObjectHeader(), this.skipWhitespaceAndComments(), n = this.parseObject(), this.skipWhitespaceAndComments(), this.matchKeyword(Yt.endobj), n instanceof ju && n.dict.lookup(R.of("Type")) === R.of("ObjStm") ? [4, rL.forStream(n, this.shouldWaitForTick).parseIntoContext()] : [3, 2]; 26643 case 1: 26644 return i.sent(), [3, 3]; 26645 case 2: 26646 n instanceof ju && n.dict.lookup(R.of("Type")) === R.of("XRef") ? nL.forStream(n).parseIntoContext() : this.context.assign(r, n), i.label = 3; 26647 case 3: 26648 return [2, r]; 26649 } 26650 }); 26651 }); 26652 }, e.prototype.tryToParseInvalidIndirectObject = function() { 26653 var r = this.bytes.position(), n = "Trying to parse invalid object: " + JSON.stringify(r) + ")"; 26654 if (this.throwOnInvalidObject) 26655 throw new Error(n); 26656 console.warn(n); 26657 var i = this.parseIndirectObjectHeader(); 26658 console.warn("Invalid object ref: " + i), this.skipWhitespaceAndComments(); 26659 for (var o = this.bytes.offset(), a = !0; !this.bytes.done() && (this.matchKeyword(Yt.endobj) && (a = !1), !!a); ) 26660 this.bytes.next(); 26661 if (a) 26662 throw new uV(r); 26663 var s = this.bytes.offset() - Yt.endobj.length, u = kS.of(this.bytes.slice(o, s)); 26664 return this.context.assign(i, u), i; 26665 }, e.prototype.parseIndirectObjects = function() { 26666 return yt(this, void 0, void 0, function() { 26667 var r; 26668 return bt(this, function(n) { 26669 switch (n.label) { 26670 case 0: 26671 this.skipWhitespaceAndComments(), n.label = 1; 26672 case 1: 26673 if (!(!this.bytes.done() && Yr[this.bytes.peek()])) 26674 return [3, 8]; 26675 r = this.bytes.offset(), n.label = 2; 26676 case 2: 26677 return n.trys.push([2, 4, , 5]), [4, this.parseIndirectObject()]; 26678 case 3: 26679 return n.sent(), [3, 5]; 26680 case 4: 26681 return n.sent(), this.bytes.moveTo(r), this.tryToParseInvalidIndirectObject(), [3, 5]; 26682 case 5: 26683 return this.skipWhitespaceAndComments(), this.skipJibberish(), this.shouldWaitForTick() ? [4, el()] : [3, 7]; 26684 case 6: 26685 n.sent(), n.label = 7; 26686 case 7: 26687 return [3, 1]; 26688 case 8: 26689 return [ 26690 2 26691 /*return*/ 26692 ]; 26693 } 26694 }); 26695 }); 26696 }, e.prototype.maybeParseCrossRefSection = function() { 26697 if (this.skipWhitespaceAndComments(), !!this.matchKeyword(Yt.xref)) { 26698 this.skipWhitespaceAndComments(); 26699 for (var r = -1, n = OS.createEmpty(); !this.bytes.done() && Yr[this.bytes.peek()]; ) { 26700 var i = this.parseRawInt(); 26701 this.skipWhitespaceAndComments(); 26702 var o = this.parseRawInt(); 26703 this.skipWhitespaceAndComments(); 26704 var a = this.bytes.peek(); 26705 if (a === I.n || a === I.f) { 26706 var s = zt.of(r, o); 26707 this.bytes.next() === I.n ? n.addEntry(s, i) : n.addDeletedEntry(s, i), r += 1; 26708 } else 26709 r = i; 26710 this.skipWhitespaceAndComments(); 26711 } 26712 return n; 26713 } 26714 }, e.prototype.maybeParseTrailerDict = function() { 26715 if (this.skipWhitespaceAndComments(), !!this.matchKeyword(Yt.trailer)) { 26716 this.skipWhitespaceAndComments(); 26717 var r = this.parseDict(), n = this.context; 26718 n.trailerInfo = { 26719 Root: r.get(R.of("Root")) || n.trailerInfo.Root, 26720 Encrypt: r.get(R.of("Encrypt")) || n.trailerInfo.Encrypt, 26721 Info: r.get(R.of("Info")) || n.trailerInfo.Info, 26722 ID: r.get(R.of("ID")) || n.trailerInfo.ID 26723 }; 26724 } 26725 }, e.prototype.maybeParseTrailer = function() { 26726 if (this.skipWhitespaceAndComments(), !!this.matchKeyword(Yt.startxref)) { 26727 this.skipWhitespaceAndComments(); 26728 var r = this.parseRawInt(); 26729 return this.skipWhitespace(), this.matchKeyword(Yt.eof), this.skipWhitespaceAndComments(), this.matchKeyword(Yt.eof), this.skipWhitespaceAndComments(), z0.forLastCrossRefSectionOffset(r); 26730 } 26731 }, e.prototype.parseDocumentSection = function() { 26732 return yt(this, void 0, void 0, function() { 26733 return bt(this, function(r) { 26734 switch (r.label) { 26735 case 0: 26736 return [4, this.parseIndirectObjects()]; 26737 case 1: 26738 return r.sent(), this.maybeParseCrossRefSection(), this.maybeParseTrailerDict(), this.maybeParseTrailer(), this.skipJibberish(), [ 26739 2 26740 /*return*/ 26741 ]; 26742 } 26743 }); 26744 }); 26745 }, e.prototype.skipJibberish = function() { 26746 for (this.skipWhitespaceAndComments(); !this.bytes.done(); ) { 26747 var r = this.bytes.offset(), n = this.bytes.peek(), i = n >= I.Space && n <= I.Tilde; 26748 if (i && (this.matchKeyword(Yt.xref) || this.matchKeyword(Yt.trailer) || this.matchKeyword(Yt.startxref) || this.matchIndirectObjectHeader())) { 26749 this.bytes.moveTo(r); 26750 break; 26751 } 26752 this.bytes.next(); 26753 } 26754 }, e.prototype.skipBinaryHeaderComment = function() { 26755 this.skipWhitespaceAndComments();
26756 try { 26757 var r = this.bytes.offset(); 26758 this.parseIndirectObjectHeader(), this.bytes.moveTo(r); 26759 } catch { 26760 this.bytes.next(), this.skipWhitespaceAndComments(); 26761 } 26762 }, e.forBytesWithOptions = function(r, n, i, o) { 26763 return new e(r, n, i, o); 26764 }, e; 26765 }(HS) 26766), Pi = function(t) { 26767 return 1 << t; 26768}, Su; 26769(function(t) { 26770 t[t.Invisible = Pi(1 - 1)] = "Invisible", t[t.Hidden = Pi(2 - 1)] = "Hidden", t[t.Print = Pi(3 - 1)] = "Print", t[t.NoZoom = Pi(4 - 1)] = "NoZoom", t[t.NoRotate = Pi(5 - 1)] = "NoRotate", t[t.NoView = Pi(6 - 1)] = "NoView", t[t.ReadOnly = Pi(7 - 1)] = "ReadOnly", t[t.Locked = Pi(8 - 1)] = "Locked", t[t.ToggleNoView = Pi(9 - 1)] = "ToggleNoView", t[t.LockedContents = Pi(10 - 1)] = "LockedContents"; 26771})(Su || (Su = {})); 26772var nh = function(t) { 26773 return t instanceof R ? t : R.of(t); 26774}, ut = function(t) { 26775 return t instanceof lt ? t : lt.of(t); 26776}, Et = function(t) { 26777 return t instanceof lt ? t.asNumber() : t; 26778}, Bu; 26779(function(t) { 26780 t.Degrees = "degrees", t.Radians = "radians"; 26781})(Bu || (Bu = {})); 26782var st = function(t) { 26783 return te(t, "degreeAngle", ["number"]), { type: Bu.Degrees, angle: t }; 26784}, zS = Bu.Radians, WS = Bu.Degrees, qS = function(t) { 26785 return t * Math.PI / 180; 26786}, oL = function(t) { 26787 return t * 180 / Math.PI; 26788}, Ur = function(t) { 26789 return t.type === zS ? t.angle : t.type === WS ? qS(t.angle) : sc("Invalid rotation: " + JSON.stringify(t)); 26790}, KS = function(t) { 26791 return t.type === zS ? oL(t.angle) : t.type === WS ? t.angle : sc("Invalid rotation: " + JSON.stringify(t)); 26792}, Ao = function(t) { 26793 t === void 0 && (t = 0); 26794 var e = t / 90 % 4; 26795 return e === 0 ? 0 : e === 1 ? 90 : e === 2 ? 180 : e === 3 ? 270 : 0; 26796}, os = function(t, e) { 26797 e === void 0 && (e = 0); 26798 var r = Ao(e); 26799 return r === 90 || r === 270 ? { width: t.height, height: t.width } : { width: t.width, height: t.height }; 26800}, aL = function(t, e, r) { 26801 e === void 0 && (e = 0), r === void 0 && (r = 0); 26802 var n = t.x, i = t.y, o = t.width, a = t.height, s = Ao(r), u = e / 2; 26803 return s === 0 ? { x: n - u, y: i - u, width: o, height: a } : s === 90 ? { x: n - a + u, y: i - u, width: a, height: o } : s === 180 ? { x: n - o + u, y: i - a + u, width: o, height: a } : s === 270 ? { x: n - u, y: i - o + u, width: a, height: o } : { x: n - u, y: i - u, width: o, height: a }; 26804}, GS = function() { 26805 return At.of(Pt.ClipNonZero); 26806}, ad = Math.cos, sd = Math.sin, ld = Math.tan, ih = function(t, e, r, n, i, o) { 26807 return At.of(Pt.ConcatTransformationMatrix, [ 26808 ut(t), 26809 ut(e), 26810 ut(r), 26811 ut(n), 26812 ut(i), 26813 ut(o) 26814 ]); 26815}, Gn = function(t, e) { 26816 return ih(1, 0, 0, 1, t, e); 26817}, Uu = function(t, e) { 26818 return ih(t, 0, 0, e, 0, 0); 26819}, fl = function(t) { 26820 return ih(ad(Et(t)), sd(Et(t)), -sd(Et(t)), ad(Et(t)), 0, 0); 26821}, Zc = function(t) { 26822 return fl(qS(Et(t))); 26823}, Z0 = function(t, e) { 26824 return ih(1, ld(Et(t)), ld(Et(e)), 1, 0, 0); 26825}, oh = function(t, e) { 26826 return At.of(Pt.SetLineDashPattern, [ 26827 "[" + t.map(ut).join(" ") + "]", 26828 ut(e) 26829 ]); 26830}, Rs; 26831(function(t) { 26832 t[t.Butt = 0] = "Butt", t[t.Round = 1] = "Round", t[t.Projecting = 2] = "Projecting"; 26833})(Rs || (Rs = {})); 26834var ah = function(t) { 26835 return At.of(Pt.SetLineCapStyle, [ut(t)]); 26836}, c1; 26837(function(t) { 26838 t[t.Miter = 0] = "Miter", t[t.Round = 1] = "Round", t[t.Bevel = 2] = "Bevel"; 26839})(c1 || (c1 = {})); 26840var as = function(t) { 26841 return At.of(Pt.SetGraphicsStateParams, [nh(t)]); 26842}, Nr = function() { 26843 return At.of(Pt.PushGraphicsState); 26844}, kr = function() { 26845 return At.of(Pt.PopGraphicsState); 26846}, hc = function(t) { 26847 return At.of(Pt.SetLineWidth, [ut(t)]); 26848}, On = function(t, e, r, n, i, o) { 26849 return At.of(Pt.AppendBezierCurve, [ 26850 ut(t), 26851 ut(e), 26852 ut(r), 26853 ut(n), 26854 ut(i), 26855 ut(o) 26856 ]); 26857}, Jc = function(t, e, r, n) { 26858 return At.of(Pt.CurveToReplicateInitialPoint, [ 26859 ut(t), 26860 ut(e), 26861 ut(r), 26862 ut(n) 26863 ]); 26864}, ta = function() { 26865 return At.of(Pt.ClosePath); 26866}, Yi = function(t, e) { 26867 return At.of(Pt.MoveTo, [ut(t), ut(e)]); 26868}, Rr = function(t, e) { 26869 return At.of(Pt.LineTo, [ut(t), ut(e)]); 26870}, pc = function() { 26871 return At.of(Pt.StrokePath); 26872}, J0 = function() { 26873 return At.of(Pt.FillNonZero); 26874}, Q0 = function() { 26875 return At.of(Pt.FillNonZeroAndStroke); 26876}, XS = function() { 26877 return At.of(Pt.EndPath); 26878}, sL = function() { 26879 return At.of(Pt.NextLine); 26880}, YS = function(t) { 26881 return At.of(Pt.ShowText, [t]); 26882}, ZS = function() { 26883 return At.of(Pt.BeginText); 26884}, JS = function() { 26885 return At.of(Pt.EndText); 26886}, $0 = function(t, e) { 26887 return At.of(Pt.SetFontAndSize, [nh(t), ut(e)]); 26888}, lL = function(t) { 26889 return At.of(Pt.SetTextLineHeight, [ut(t)]); 26890}, f1; 26891(function(t) { 26892 t[t.Fill = 0] = "Fill", t[t.Outline = 1] = "Outline", t[t.FillAndOutline = 2] = "FillAndOutline", t[t.Invisible = 3] = "Invisible", t[t.FillAndClip = 4] = "FillAndClip", t[t.OutlineAndClip = 5] = "OutlineAndClip", t[t.FillAndOutlineAndClip = 6] = "FillAndOutlineAndClip", t[t.Clip = 7] = "Clip"; 26893})(f1 || (f1 = {})); 26894var uL = function(t, e, r, n, i, o) { 26895 return At.of(Pt.SetTextMatrix, [ 26896 ut(t), 26897 ut(e), 26898 ut(r), 26899 ut(n), 26900 ut(i), 26901 ut(o) 26902 ]); 26903}, QS = function(t, e, r, n, i) { 26904 return uL(ad(Et(t)), sd(Et(t)) + ld(Et(e)), -sd(Et(t)) + ld(Et(r)), ad(Et(t)), n, i); 26905}, eg = function(t) { 26906 return At.of(Pt.DrawObject, [nh(t)]); 26907}, cL = function(t) { 26908 return At.of(Pt.NonStrokingColorGray, [ut(t)]); 26909}, fL = function(t) { 26910 return At.of(Pt.StrokingColorGray, [ut(t)]); 26911}, dL = function(t, e, r) { 26912 return At.of(Pt.NonStrokingColorRgb, [ 26913 ut(t), 26914 ut(e), 26915 ut(r) 26916 ]); 26917}, hL = function(t, e, r) { 26918 return At.of(Pt.StrokingColorRgb, [ 26919 ut(t), 26920 ut(e), 26921 ut(r) 26922 ]); 26923}, pL = function(t, e, r, n) { 26924 return At.of(Pt.NonStrokingColorCmyk, [ 26925 ut(t), 26926 ut(e), 26927 ut(r), 26928 ut(n) 26929 ]); 26930}, vL = function(t, e, r, n) { 26931 return At.of(Pt.StrokingColorCmyk, [ 26932 ut(t), 26933 ut(e), 26934 ut(r), 26935 ut(n) 26936 ]); 26937}, $S = function(t) { 26938 return At.of(Pt.BeginMarkedContent, [nh(t)]); 26939}, e_ = function() { 26940 return At.of(Pt.EndMarkedContent); 26941}, ra; 26942(function(t) { 26943 t.Grayscale = "Grayscale", t.RGB = "RGB", t.CMYK = "CMYK"; 26944})(ra || (ra = {})); 26945var t_ = function(t) { 26946 return Cn(t, "gray", 0, 1), { type: ra.Grayscale, gray: t }; 26947}, Wt = function(t, e, r) { 26948 return Cn(t, "red", 0, 1), Cn(e, "green", 0, 1), Cn(r, "blue", 0, 1), { type: ra.RGB, red: t, green: e, blue: r }; 26949}, r_ = function(t, e, r, n) { 26950 return Cn(t, "cyan", 0, 1), Cn(e, "magenta", 0, 1), Cn(r, "yellow", 0, 1), Cn(n, "key", 0, 1), { type: ra.CMYK, cyan: t, magenta: e, yellow: r, key: n }; 26951}, tg = ra.Grayscale, rg = ra.RGB, ng = ra.CMYK, ss = function(t) { 26952 return t.type === tg ? cL(t.gray) : t.type === rg ? dL(t.red, t.green, t.blue) : t.type === ng ? pL(t.cyan, t.magenta, t.yellow, t.key) : sc("Invalid color: " + JSON.stringify(t)); 26953}, vc = function(t) { 26954 return t.type === tg ? fL(t.gray) : t.type === rg ? hL(t.red, t.green, t.blue) : t.type === ng ? vL(t.cyan, t.magenta, t.yellow, t.key) : sc("Invalid color: " + JSON.stringify(t)); 26955}, an = function(t, e) { 26956 return e === void 0 && (e = 1), t?.length === 1 ? t_(t[0] * e) : t?.length === 3 ? Wt(t[0] * e, t[1] * e, t[2] * e) : t?.length === 4 ? r_(t[0] * e, t[1] * e, t[2] * e, t[3] * e) : void 0; 26957}, d1 = function(t) { 26958 return t.type === tg ? [t.gray] : t.type === rg ? [t.red, t.green, t.blue]
26958: t.type === ng ? [t.cyan, t.magenta, t.yellow, t.key] : sc("Invalid color: " + JSON.stringify(t)); 26959}, qe = 0, Ke = 0, Ct = 0, Ot = 0, Jl = 0, Ql = 0, h1 = /* @__PURE__ */ new Map([ 26960 ["A", 7], 26961 ["a", 7], 26962 ["C", 6], 26963 ["c", 6], 26964 ["H", 1], 26965 ["h", 1], 26966 ["L", 2], 26967 ["l", 2], 26968 ["M", 2], 26969 ["m", 2], 26970 ["Q", 4], 26971 ["q", 4], 26972 ["S", 4], 26973 ["s", 4], 26974 ["T", 2], 26975 ["t", 2], 26976 ["V", 1], 26977 ["v", 1], 26978 ["Z", 0], 26979 ["z", 0] 26980]), gL = function(t) { 26981 for (var e, r = [], n = [], i = "", o = !1, a = 0, s = 0, u = t; s < u.length; s++) { 26982 var l = u[s]; 26983 if (h1.has(l)) 26984 a = h1.get(l), e && (i.length > 0 && (n[n.length] = +i), r[r.length] = { cmd: e, args: n }, n = [], i = "", o = !1), e = l; 26985 else if ([" ", ","].includes(l) || l === "-" && i.length > 0 && i[i.length - 1] !== "e" || l === "." && o) { 26986 if (i.length === 0) 26987 continue; 26988 n.length === a ? (r[r.length] = { cmd: e, args: n }, n = [+i], e === "M" && (e = "L"), e === "m" && (e = "l")) : n[n.length] = +i, o = l === ".", i = ["-", "."].includes(l) ? l : ""; 26989 } else 26990 i += l, l === "." && (o = !0); 26991 } 26992 return i.length > 0 && (n.length === a ? (r[r.length] = { cmd: e, args: n }, n = [+i], e === "M" && (e = "L"), e === "m" && (e = "l")) : n[n.length] = +i), r[r.length] = { cmd: e, args: n }, r; 26993}, mL = function(t) { 26994 qe = Ke = Ct = Ot = Jl = Ql = 0; 26995 for (var e = [], r = 0; r < t.length; r++) { 26996 var n = t[r]; 26997 if (n.cmd && typeof p1[n.cmd] == "function") { 26998 var i = p1[n.cmd](n.args); 26999 Array.isArray(i) ? e = e.concat(i) : e.push(i); 27000 } 27001 } 27002 return e; 27003}, p1 = { 27004 M: function(t) { 27005 return qe = t[0], Ke = t[1], Ct = Ot = null, Jl = qe, Ql = Ke, Yi(qe, Ke); 27006 }, 27007 m: function(t) { 27008 return qe += t[0], Ke += t[1], Ct = Ot = null, Jl = qe, Ql = Ke, Yi(qe, Ke); 27009 }, 27010 C: function(t) { 27011 return qe = t[4], Ke = t[5], Ct = t[2], Ot = t[3], On(t[0], t[1], t[2], t[3], t[4], t[5]); 27012 }, 27013 c: function(t) { 27014 var e = On(t[0] + qe, t[1] + Ke, t[2] + qe, t[3] + Ke, t[4] + qe, t[5] + Ke); 27015 return Ct = qe + t[2], Ot = Ke + t[3], qe += t[4], Ke += t[5], e; 27016 }, 27017 S: function(t) { 27018 (Ct === null || Ot === null) && (Ct = qe, Ot = Ke); 27019 var e = On(qe - (Ct - qe), Ke - (Ot - Ke), t[0], t[1], t[2], t[3]); 27020 return Ct = t[0], Ot = t[1], qe = t[2], Ke = t[3], e; 27021 }, 27022 s: function(t) { 27023 (Ct === null || Ot === null) && (Ct = qe, Ot = Ke); 27024 var e = On(qe - (Ct - qe), Ke - (Ot - Ke), qe + t[0], Ke + t[1], qe + t[2], Ke + t[3]); 27025 return Ct = qe + t[0], Ot = Ke + t[1], qe += t[2], Ke += t[3], e; 27026 }, 27027 Q: function(t) { 27028 return Ct = t[0], Ot = t[1], qe = t[2], Ke = t[3], Jc(t[0], t[1], qe, Ke); 27029 }, 27030 q: function(t) { 27031 var e = Jc(t[0] + qe, t[1] + Ke, t[2] + qe, t[3] + Ke); 27032 return Ct = qe + t[0], Ot = Ke + t[1], qe += t[2], Ke += t[3], e; 27033 }, 27034 T: function(t) { 27035 Ct === null || Ot === null ? (Ct = qe, Ot = Ke) : (Ct = qe - (Ct - qe), Ot = Ke - (Ot - Ke)); 27036 var e = Jc(Ct, Ot, t[0], t[1]); 27037 return Ct = qe - (Ct - qe), Ot = Ke - (Ot - Ke), qe = t[0], Ke = t[1], e; 27038 }, 27039 t: function(t) { 27040 Ct === null || Ot === null ? (Ct = qe, Ot = Ke) : (Ct = qe - (Ct - qe), Ot = Ke - (Ot - Ke)); 27041 var e = Jc(Ct, Ot, qe + t[0], Ke + t[1]); 27042 return qe += t[0], Ke += t[1], e; 27043 }, 27044 A: function(t) { 27045 var e = v1(qe, Ke, t); 27046 return qe = t[5], Ke = t[6], e; 27047 }, 27048 a: function(t) { 27049 t[5] += qe, t[6] += Ke; 27050 var e = v1(qe, Ke, t); 27051 return qe = t[5], Ke = t[6], e; 27052 }, 27053 L: function(t) { 27054 return qe = t[0], Ke = t[1], Ct = Ot = null, Rr(qe, Ke); 27055 }, 27056 l: function(t) { 27057 return qe += t[0], Ke += t[1], Ct = Ot = null, Rr(qe, Ke); 27058 }, 27059 H: function(t) { 27060 return qe = t[0], Ct = Ot = null, Rr(qe, Ke); 27061 }, 27062 h: function(t) { 27063 return qe += t[0], Ct = Ot = null, Rr(qe, Ke); 27064 }, 27065 V: function(t) { 27066 return Ke = t[0], Ct = Ot = null, Rr(qe, Ke); 27067 }, 27068 v: function(t) { 27069 return Ke += t[0], Ct = Ot = null, Rr(qe, Ke); 27070 }, 27071 Z: function() { 27072 var t = ta(); 27073 return qe = Jl, Ke = Ql, t; 27074 }, 27075 z: function() { 27076 var t = ta(); 27077 return qe = Jl, Ke = Ql, t; 27078 } 27079}, v1 = function(t, e, r) { 27080 for (var n = r[0], i = r[1], o = r[2], a = r[3], s = r[4], u = r[5], l = r[6], f = yL(u, l, n, i, a, s, o, t, e), h
27080= [], g = 0, d = f; g < d.length; g++) { 27081 var m = d[g], b = bL.apply(void 0, m); 27082 h.push(On.apply(void 0, b)); 27083 } 27084 return h; 27085}, yL = function(t, e, r, n, i, o, a, s, u) { 27086 var l = a * (Math.PI / 180), f = Math.sin(l), h = Math.cos(l); 27087 r = Math.abs(r), n = Math.abs(n), Ct = h * (s - t) * 0.5 + f * (u - e) * 0.5, Ot = h * (u - e) * 0.5 - f * (s - t) * 0.5; 27088 var g = Ct * Ct / (r * r) + Ot * Ot / (n * n); 27089 g > 1 && (g = Math.sqrt(g), r *= g, n *= g); 27090 var d = h / r, m = f / r, b = -f / n, S = h / n, w = d * s + m * u, D = b * s + S * u, T = d * t + m * e, _ = b * t + S * e, x = (T - w) * (T - w) + (_ - D) * (_ - D), p = 1 / x - 0.25; 27091 p < 0 && (p = 0); 27092 var N = Math.sqrt(p); 27093 o === i && (N = -N); 27094 var V = 0.5 * (w + T) - N * (_ - D), P = 0.5 * (D + _) + N * (T - w), M = Math.atan2(D - P, w - V), U = Math.atan2(_ - P, T - V), re = U - M; 27095 re < 0 && o === 1 ? re += 2 * Math.PI : re > 0 && o === 0 && (re -= 2 * Math.PI); 27096 for (var Q = Math.ceil(Math.abs(re / (Math.PI * 0.5 + 1e-3))), ne = [], ee = 0; ee < Q; ee++) { 27097 var L = M + ee * re / Q, Z = M + (ee + 1) * re / Q; 27098 ne[ee] = [V, P, L, Z, r, n, f, h]; 27099 } 27100 return ne; 27101}, bL = function(t, e, r, n, i, o, a, s) { 27102 var u = s * i, l = -a * o, f = a * i, h = s * o, g = 0.5 * (n - r), d = 8 / 3 * Math.sin(g * 0.5) * Math.sin(g * 0.5) / Math.sin(g), m = t + Math.cos(r) - d * Math.sin(r), b = e + Math.sin(r) + d * Math.cos(r), S = t + Math.cos(n), w = e + Math.sin(n), D = S + d * Math.sin(n), T = w - d * Math.cos(n), _ = [ 27103 u * m + l * b, 27104 f * m + h * b, 27105 u * D + l * T, 27106 f * D + h * T, 27107 u * S + l * w, 27108 f * S + h * w 27109 ]; 27110 return _; 27111}, EL = function(t) { 27112 return mL(gL(t)); 27113}, xL = function(t, e) { 27114 for (var r = [ 27115 Nr(), 27116 e.graphicsState && as(e.graphicsState), 27117 ZS(), 27118 ss(e.color), 27119 $0(e.font, e.size), 27120 lL(e.lineHeight), 27121 QS(Ur(e.rotate), Ur(e.xSkew), Ur(e.ySkew), e.x, e.y)
27122 ].filter(Boolean), n = 0, i = t.length; n < i; n++) 27123 r.push(YS(t[n]), sL()); 27124 return r.push(JS(), kr()), r; 27125}, n_ = function(t, e) { 27126 return [ 27127 Nr(), 27128 e.graphicsState && as(e.graphicsState), 27129 Gn(e.x, e.y), 27130 fl(Ur(e.rotate)), 27131 Uu(e.width, e.height), 27132 Z0(Ur(e.xSkew), Ur(e.ySkew)), 27133 eg(t), 27134 kr() 27135 ].filter(Boolean); 27136}, wL = function(t, e) { 27137 return [ 27138 Nr(), 27139 e.graphicsState && as(e.graphicsState), 27140 Gn(e.x, e.y), 27141 fl(Ur(e.rotate)), 27142 Uu(e.xScale, e.yScale), 27143 Z0(Ur(e.xSkew), Ur(e.ySkew)), 27144 eg(t), 27145 kr() 27146 ].filter(Boolean); 27147}, SL = function(t) { 27148 var e, r; 27149 return [ 27150 Nr(), 27151 t.graphicsState && as(t.graphicsState), 27152 t.color && vc(t.color), 27153 hc(t.thickness), 27154 oh((e = t.dashArray) !== null && e !== void 0 ? e : [], (r = t.dashPhase) !== null && r !== void 0 ? r : 0), 27155 Yi(t.start.x, t.start.y), 27156 t.lineCap && ah(t.lineCap), 27157 Yi(t.start.x, t.start.y), 27158 Rr(t.end.x, t.end.y), 27159 pc(), 27160 kr() 27161 ].filter(Boolean); 27162}, tl = function(t) { 27163 var e, r; 27164 return [ 27165 Nr(), 27166 t.graphicsState && as(t.graphicsState), 27167 t.color && ss(t.color), 27168 t.borderColor && vc(t.borderColor), 27169 hc(t.borderWidth), 27170 t.borderLineCap && ah(t.borderLineCap), 27171 oh((e = t.borderDashArray) !== null && e !== void 0 ? e : [], (r = t.borderDashPhase) !== null && r !== void 0 ? r : 0), 27172 Gn(t.x, t.y), 27173 fl(Ur(t.rotate)), 27174 Z0(Ur(t.xSkew), Ur(t.ySkew)), 27175 Yi(0, 0), 27176 Rr(0, t.height), 27177 Rr(t.width, t.height), 27178 Rr(t.width, 0), 27179 ta(), 27180 // prettier-ignore 27181 t.color && t.borderWidth ? Q0() : t.color ? J0() : t.borderColor ? pc() : ta(), 27182 kr()
27183 ].filter(Boolean); 27184}, ud = 4 * ((Math.sqrt(2) - 1) / 3), _L = function(t) { 27185 var e = Et(t.x), r = Et(t.y), n = Et(t.xScale), i = Et(t.yScale); 27186 e -= n, r -= i; 27187 var o = n * ud, a = i * ud, s = e + n * 2, u = r + i * 2, l = e + n, f = r + i; 27188 return [ 27189 Nr(), 27190 Yi(e, f), 27191 On(e, f - a, l - o, r, l, r), 27192 On(l + o, r, s, f - a, s, f), 27193 On(s, f + a, l + o, u, l, u), 27194 On(l - o, u, e, f + a, e, f), 27195 kr() 27196 ]; 27197}, TL = function(t) { 27198 var e = Et(t.x), r = Et(t.y), n = Et(t.xScale), i = Et(t.yScale), o = -n, a = -i, s = n * ud, u = i * ud, l = o + n * 2, f = a + i * 2, h = o + n, g = a + i; 27199 return [ 27200 Gn(e, r), 27201 fl(Ur(t.rotate)), 27202 Yi(o, g), 27203 On(o, g - u, h - s, a, h, a), 27204 On(h + s, a, l, g - u, l, g), 27205 On(l, g + u, h + s, f, h, f), 27206 On(h - s, f, o, g + u, o, g) 27207 ]; 27208}, Cv = function(t) { 27209 var e, r, n; 27210 return kt([ 27211 Nr(), 27212 t.graphicsState && as(t.graphicsState), 27213 t.color && ss(t.color), 27214 t.borderColor && vc(t.borderColor), 27215 hc(t.borderWidth), 27216 t.borderLineCap && ah(t.borderLineCap), 27217 oh((e = t.borderDashArray) !== null && e !== void 0 ? e : [], (r = t.borderDashPhase) !== null && r !== void 0 ? r : 0) 27218 ], t.rotate === void 0 ? _L({ 27219 x: t.x, 27220 y: t.y, 27221 xScale: t.xScale, 27222 yScale: t.yScale 27223 }) : TL({ 27224 x: t.x, 27225 y: t.y, 27226 xScale: t.xScale, 27227 yScale: t.yScale, 27228 rotate: (n = t.rotate) !== null && n !== void 0 ? n : st(0) 27229 }), [ 27230 // prettier-ignore 27231 t.color && t.borderWidth ? Q0() : t.color ? J0() : t.borderColor ? pc() : ta(), 27232 kr() 27233 ]).filter(Boolean); 27234}, CL = function(t, e) { 27235 var r, n, i; 27236 return kt([ 27237 Nr(), 27238 e.graphicsState && as(e.graphicsState), 27239 Gn(e.x, e.y), 27240 fl(Ur((r = e.rotate) !== null && r !== void 0 ? r : st(0))), 27241 // SVG path Y axis is opposite pdf-lib's 27242 e.scale ? Uu(e.scale, -e.scale) : Uu(1, -1), 27243 e.color && ss(e.color), 27244 e.borderColor && vc(e.borderColor), 27245 e.borderWidth && hc(e.borderWidth), 27246 e.borderLineCap && ah(e.borderLineCap), 27247 oh((n = e.borderDashArray) !== null && n !== void 0 ? n : [], (i = e.borderDashPhase) !== null && i !== void 0 ? i : 0) 27248 ], EL(t), [ 27249 // prettier-ignore 27250 e.color && e.borderWidth ? Q0() : e.color ? J0() : e.borderColor ? pc() : ta(), 27251 kr() 27252 ]).filter(Boolean); 27253}, OL = function(t) { 27254 var e = Et(t.size), r = -1 + 0.75, n = -1 + 0.51, i = 1 - 0.525, o = 1 - 0.31, a = -1 + 0.325, s = -((a - r) * (o - r)) / (i - n) + n; 27255 return [ 27256 Nr(), 27257 t.color && vc(t.color), 27258 hc(t.thickness), 27259 Gn(t.x, t.y), 27260 Yi(a * e, s * e), 27261 Rr(r * e, n * e), 27262 Rr(o * e, i * e), 27263 pc(), 27264 kr()
27265 ].filter(Boolean); 27266}, la = function(t) { 27267 return t.rotation === 0 ? [ 27268 Gn(0, 0), 27269 Zc(0) 27270 ] : t.rotation === 90 ? [ 27271 Gn(t.width, 0), 27272 Zc(90) 27273 ] : t.rotation === 180 ? [ 27274 Gn(t.width, t.height), 27275 Zc(180) 27276 ] : t.rotation === 270 ? [ 27277 Gn(0, t.height), 27278 Zc(270) 27279 ] : []; 27280}, Qc = function(t) { 27281 var e = tl({ 27282 x: t.x, 27283 y: t.y, 27284 width: t.width, 27285 height: t.height, 27286 borderWidth: t.borderWidth, 27287 color: t.color, 27288 borderColor: t.borderColor, 27289 rotate: st(0), 27290 xSkew: st(0), 27291 ySkew: st(0) 27292 }); 27293 if (!t.filled) 27294 return e; 27295 var r = Et(t.width), n = Et(t.height), i = Math.min(r, n) / 2, o = OL({ 27296 x: r / 2, 27297 y: n / 2, 27298 size: i, 27299 thickness: t.thickness, 27300 color: t.markColor 27301 }); 27302 return kt([Nr()], e, o, [kr()]); 27303}, $c = function(t) { 27304 var e = Et(t.width), r = Et(t.height), n = Math.min(e, r) / 2, i = Cv({ 27305 x: t.x, 27306 y: t.y, 27307 xScale: n, 27308 yScale: n, 27309 color: t.color, 27310 borderColor: t.borderColor, 27311 borderWidth: t.borderWidth 27312 }); 27313 if (!t.filled) 27314 return i; 27315 var o = Cv({ 27316 x: t.x, 27317 y: t.y, 27318 xScale: n * 0.45, 27319 yScale: n * 0.45, 27320 color: t.dotColor, 27321 borderColor: void 0, 27322 borderWidth: 0 27323 }); 27324 return kt([Nr()], i, o, [kr()]); 27325}, g1 = function(t) { 27326 var e = Et(t.x), r = Et(t.y), n = Et(t.width), i = Et(t.height), o = tl({ 27327 x: e, 27328 y: r, 27329 width: n, 27330 height: i, 27331 borderWidth: t.borderWidth, 27332 color: t.color, 27333 borderColor: t.borderColor, 27334 rotate: st(0), 27335 xSkew: st(0), 27336 ySkew: st(0) 27337 }), a = ig(t.textLines, { 27338 color: t.textColor, 27339 font: t.font, 27340 size: t.fontSize, 27341 rotate: st(0), 27342 xSkew: st(0), 27343 ySkew: st(0) 27344 }); 27345 return kt([Nr()], o, a, [kr()]); 27346}, ig = function(t, e) { 27347 for (var r = [ 27348 ZS(), 27349 ss(e.color), 27350 $0(e.font, e.size) 27351 ], n = 0, i = t.length; n < i; n++) { 27352 var o = t[n], a = o.encoded, s = o.x, u = o.y; 27353 r.push(QS(Ur(e.rotate), Ur(e.xSkew), Ur(e.ySkew), s, u), YS(a)); 27354 } 27355 return r.push(JS()), r; 27356}, i_ = function(t) { 27357 var e = Et(t.x), r = Et(t.y), n = Et(t.width), i = Et(t.height), o = Et(t.borderWidth), a = Et(t.padding), s = e + o / 2 + a, u = r + o / 2 + a, l = n - (o / 2 + a) * 2, f = i - (o / 2 + a) * 2, h = [ 27358 Yi(s, u), 27359 Rr(s, u + f), 27360 Rr(s + l, u + f), 27361 Rr(s + l, u), 27362 ta(), 27363 GS(), 27364 XS() 27365 ], g = tl({ 27366 x: e, 27367 y: r, 27368 width: n, 27369 height: i, 27370 borderWidth: t.borderWidth, 27371 color: t.color, 27372 borderColor: t.borderColor, 27373 rotate: st(0), 27374 xSkew: st(0), 27375 ySkew: st(0) 27376 }), d = ig(t.textLines, { 27377 color: t.textColor, 27378 font: t.font, 27379 size: t.fontSize, 27380 rotate: st(0), 27381 xSkew: st(0), 27382 ySkew: st(0) 27383 }), m = kt([ 27384 $S("Tx"), 27385 Nr() 27386 ], d, [ 27387 kr(), 27388 e_() 27389 ]); 27390 return kt([ 27391 Nr() 27392 ], g, h, m, [ 27393 kr() 27394 ]); 27395}, AL = function(t) { 27396 for (var e = Et(t.x), r = Et(t.y), n = Et(t.width), i = Et(t.height), o = Et(t.lineHeight), a = Et(t.borderWidth), s = Et(t.padding), u = e + a / 2 + s, l = r + a / 2 + s, f = n - (a / 2 + s) * 2, h = i - (a / 2 + s) * 2, g = [ 27397 Yi(u, l), 27398 Rr(u, l + h), 27399 Rr(u + f, l + h), 27400 Rr(u + f, l), 27401 ta(), 27402 GS(), 27403 XS() 27404 ], d = tl({ 27405 x: e, 27406 y: r, 27407 width: n, 27408 height: i, 27409 borderWidth: t.borderWidth, 27410 color: t.color, 27411 borderColor: t.borderColor, 27412 rotate: st(0), 27413 xSkew: st(0), 27414 ySkew: st(0) 27415 }), m = [], b = 0, S = t.selectedLines.length; b < S; b++) { 27416 var w = t.textLines[t.selectedLines[b]]; 27417 m.push.apply(m, tl({ 27418 x: w.x - s, 27419 y: w.y - (o - w.height) / 2, 27420 width: n - a, 27421 height: w.height + (o - w.height) / 2, 27422 borderWidth: 0, 27423 color: t.selectedColor, 27424 borderColor: void 0, 27425 rotate: st(0), 27426 xSkew: st(0), 27427 ySkew: st(0) 27428 })); 27429 } 27430 var D = ig(t.textLines, { 27431 color: t.textColor, 27432 font: t.font, 27433 size: t.fontSize, 27434 rotate: st(0), 27435 xSkew: st(0), 27436 ySkew: st(0) 27437 }), T = kt([ 27438 $S("Tx"), 27439 Nr() 27440 ], D, [ 27441 kr(), 27442 e_() 27443 ]); 27444 return kt([ 27445 Nr() 27446 ], d, m, g, T, [ 27447 kr() 27448 ]); 27449}, NL = ( 27450 /** @class */ 27451 function(t) { 27452 Ne(e, t); 27453 function e() { 27454 var r = this, n = "Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways."; 27455 return r = t.call(this, n) || this, r; 27456 } 27457 return e; 27458 }(Error) 27459), kL = ( 27460 /** @class */ 27461 function(t) { 27462 Ne(e, t); 27463 function e() { 27464 var r = this, n = "Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts."; 27465 return r = t.call(this, n) || this, r; 27466 } 27467 return e; 27468 }(Error) 27469), DL = ( 27470 /** @class */ 27471 function(t) { 27472 Ne(e, t); 27473 function e() { 27474 var r = this, n = "A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them."; 27475 return r = t.call(this, n) || this, r; 27476 } 27477 return e; 27478 }(Error) 27479), PL = ( 27480 /** @class */ 27481 function(t) { 27482 Ne(e, t); 27483 function e() { 27484 var r = this, n = "PDFDocument has no pages so `PDFDocument.removePage` cannot be called"; 27485 return r = t.call(this, n) || this, r; 27486 } 27487 return e; 27488 }(Error) 27489), FL = ( 27490 /** @class */ 27491 function(t) { 27492 Ne(e, t); 27493 function e(r) { 27494 var n = this, i = 'PDFDocument has no form field with the name "' + r + '"'; 27495 return n = t.call(this, i) || this, n; 27496 } 27497 return e; 27498 }(Error) 27499), xa = ( 27500 /** @class */ 27501 function(t) { 27502 Ne(e, t); 27503 function e(r, n, i) { 27504 var o, a, s = this, u = n?.name, l = (a = (o = i?.constructor) === null || o === void 0 ? void 0 : o.name) !== null && a !== void 0 ? a : i, f = 'Expected field "' + r + '" to be of type ' + u + ", " + ("but it is actually of type " + l); 27505 return s = t.call(this, f) || this, s; 27506 } 27507 return e; 27508 }(Error) 27509); 27510(function(t) { 27511 Ne(e, t); 27512 function e(r) { 27513 var n = this, i = 'Failed to select check box due to missing onValue: "' + r + '"'; 27514 return n = t.call(this, i) || this, n; 27515 } 27516 return e; 27517})(Error); 27518var o_ = ( 27519 /** @class */ 27520 function(t) { 27521 Ne(e, t); 27522 function e(r) { 27523 var n = this, i = 'A field already exists with the specified name: "' + r + '"'; 27524 return n = t.call(this, i) || this, n; 27525 } 27526 return e; 27527 }(Error) 27528), RL = ( 27529 /** @class */ 27530 function(t) { 27531 Ne(e, t); 27532 function e(r) {
27533 var n = this, i = 'Field name contains invalid component: "' + r + '"'; 27534 return n = t.call(this, i) || this, n; 27535 } 27536 return e; 27537 }(Error) 27538); 27539(function(t) { 27540 Ne(e, t); 27541 function e(r) { 27542 var n = this, i = 'A non-terminal field already exists with the specified name: "' + r + '"'; 27543 return n = t.call(this, i) || this, n; 27544 } 27545 return e; 27546})(Error); 27547var IL = ( 27548 /** @class */ 27549 function(t) { 27550 Ne(e, t); 27551 function e(r) { 27552 var n = this, i = "Reading rich text fields is not supported: Attempted to read rich text field: " + r; 27553 return n = t.call(this, i) || this, n; 27554 } 27555 return e; 27556 }(Error) 27557), ML = ( 27558 /** @class */ 27559 function(t) { 27560 Ne(e, t); 27561 function e(r, n) { 27562 var i = this, o = "Failed to layout combed text as lineLength=" + r + " is greater than cellCount=" + n; 27563 return i = t.call(this, o) || this, i; 27564 } 27565 return e; 27566 }(Error) 27567), VL = ( 27568 /** @class */ 27569 function(t) { 27570 Ne(e, t); 27571 function e(r, n, i) { 27572 var o = this, a = "Attempted to set text with length=" + r + " for TextField with maxLength=" + n + " and name=" + i; 27573 return o = t.call(this, a) || this, o; 27574 } 27575 return e; 27576 }(Error) 27577), LL = ( 27578 /** @class */ 27579 function(t) { 27580 Ne(e, t); 27581 function e(r, n, i) { 27582 var o = this, a = "Attempted to set maxLength=" + n + ", which is less than " + r + ", the length of this field's current value (name=" + i + ")"; 27583 return o = t.call(this, a) || this, o; 27584 } 27585 return e; 27586 }(Error) 27587), Tr; 27588(function(t) { 27589 t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Right = 2] = "Right"; 27590})(Tr || (Tr = {})); 27591var a_ = 4, s_ = 500, l_ = function(t, e, r, n) { 27592 n === void 0 && (n = !1); 27593 for (var i = a_; i < s_; ) { 27594 for (var o = 0, a = 0, s = t.length; a < s; a++) { 27595 o += 1; 27596 for (var u = t[a], l = u.split(" "), f = r.width, h = 0, g = l.length; h < g; h++) { 27597 var d = h === g - 1, m = d ? l[h] : l[h] + " ", b = e.widthOfTextAtSize(m, i); 27598 f -= b, f <= 0 && (o += 1, f = r.width - b); 27599 } 27600 } 27601 if (!n && o > t.length) 27602 return i - 1; 27603 var S = e.heightAtSize(i), w = S + S * 0.2, D = w * o; 27604 if (D > Math.abs(r.height)) 27605 return i - 1; 27606 i += 1; 27607 } 27608 return i; 27609}, jL = function(t, e, r, n) { 27610 for (var i = r.width / n, o = r.height, a = a_, s = pR(t); a < s_; ) { 27611 for (var u = 0, l = s.length; u < l; u++) { 27612 var f = s[u], h = e.widthOfTextAtSize(f, a) > i * 0.75; 27613 if (h) 27614 return a - 1; 27615 } 27616 var g = e.heightAtSize(a, { descender: !1 }); 27617 if (g > o) 27618 return a - 1; 27619 a += 1; 27620 } 27621 return a; 27622}, BL = function(t) { 27623 for (var e = t.length; e > 0; e--) 27624 if (/\s/.test(t[e])) 27625 return e; 27626}, UL = function(t, e, r, n) { 27627 for (var i, o = t.length; o > 0; ) { 27628 var a = t.substring(0, o), s = r.encodeText(a), u = r.widthOfTextAtSize(a, n); 27629 if (u < e) { 27630 var l = t.substring(o) || void 0; 27631 return { line: a, encoded: s, width: u, remainder: l }; 27632 } 27633 o = (i = BL(a)) !== null && i !== void 0 ? i : 0; 27634 } 27635 return { 27636 line: t, 27637 encoded: r.encodeText(t), 27638 width: r.widthOfTextAtSize(t, n), 27639 remainder: void 0 27640 }; 27641}, u_ = function(t, e) { 27642 var r = e.alignment, n = e.fontSize, i = e.font, o = e.bounds, a = _w(ac(t)); 27643 (n === void 0 || n === 0) && (n = l_(a, i, o, !0)); 27644 for (var s = i.heightAtSize(n), u = s + s * 0.2, l = [], f = o.x, h = o.y, g = o.x + o.width, d = o.y + o.height, m = o.y + o.height, b = 0, S = a.length; b < S; b++) 27645 for (var w = a[b]; w !== void 0; ) { 27646 var D = UL(w, o.width, i, n), T = D.line, _ = D.encoded, x = D.width, p = D.remainder, N = r === Tr.Left ? o.x : r === Tr.Center ? o.x + o.width / 2 - x / 2 : r === Tr.Right ? o.x + o.width - x : o.x; 27647 m -= u, N < f && (f = N), m < h && (h = m), N + x > g && (g = N + x), m + s > d && (d = m + s), l.push({ text: T, encoded: _, width: x, height: s, x: N, y: m }), w = p?.trim(); 27648 } 27649 return { 27650 fontSize: n, 27651 lineHeight: u, 27652 lines: l, 27653 bounds: { 27654 x: f, 27655 y: h, 27656 width: g - f, 27657 height: d - h 27658 } 27659 }; 27660}, HL = function(t, e) {
27661 var r = e.fontSize, n = e.font, i = e.bounds, o = e.cellCount, a = Tw(ac(t)); 27662 if (a.length > o) 27663 throw new ML(a.length, o); 27664 (r === void 0 || r === 0) && (r = jL(a, n, i, o)); 27665 for (var s = i.width / o, u = n.heightAtSize(r, { descender: !1 }), l = i.y + (i.height / 2 - u / 2), f = [], h = i.x, g = i.y, d = i.x + i.width, m = i.y + i.height, b = 0, S = 0; b < o; ) { 27666 var w = Cw(a, S), D = w[0], T = w[1], _ = n.encodeText(D), x = n.widthOfTextAtSize(D, r), p = i.x + (s * b + s / 2), N = p - x / 2; 27667 N < h && (h = N), l < g && (g = l), N + x > d && (d = N + x), l + u > m && (m = l + u), f.push({ text: a, encoded: _, width: x, height: u, x: N, y: l }), b += 1, S += T; 27668 } 27669 return { 27670 fontSize: r, 27671 cells: f, 27672 bounds: { 27673 x: h, 27674 y: g, 27675 width: d - h, 27676 height: m - g 27677 } 27678 }; 27679}, cd = function(t, e) { 27680 var r = e.alignment, n = e.fontSize, i = e.font, o = e.bounds, a = Tw(ac(t)); 27681 (n === void 0 || n === 0) && (n = l_([a], i, o)); 27682 var s = i.encodeText(a), u = i.widthOfTextAtSize(a, n), l = i.heightAtSize(n, { descender: !1 }), f = r === Tr.Left ? o.x : r === Tr.Center ? o.x + o.width / 2 - u / 2 : r === Tr.Right ? o.x + o.width - u : o.x, h = o.y + (o.height / 2 - l / 2); 27683 return { 27684 fontSize: n, 27685 line: { text: a, encoded: s, width: u, height: l, x: f, y: h }, 27686 bounds: { x: f, y: h, width: u, height: l } 27687 }; 27688}, dl = function(t) { 27689 return "normal" in t ? t : { normal: t }; 27690}, zL = /\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/, na = function(t) { 27691 var e, r, n = (e = t.getDefaultAppearance()) !== null && e !== void 0 ? e : "", i = (r = k0(n, zL).match) !== null && r !== void 0 ? r : [], o = Number(i[2]); 27692 return isFinite(o) ? o : void 0; 27693}, WL = /(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/, ei = function(t) { 27694 var e, r = (e = t.getDefaultAppearance()) !== null && e !== void 0 ? e : "", n = k0(r, WL).match, i = n ?? [], o = i[1], a = i[2], s = i[3], u = i[4], l = i[5]; 27695 if (l === "g" && o) 27696 return t_(Number(o)); 27697 if (l === "rg" && o && a && s) 27698 return Wt(Number(o), Number(a), Number(s)); 27699 if (l === "k" && o && a && s && u) 27700 return r_(Number(o), Number(a), Number(s), Number(u)); 27701}, ti = function(t, e, r, n) { 27702 var i; 27703 n === void 0 && (n = 0); 27704 var o = [ 27705 ss(e).toString(), 27706 $0((i = r?.name) !== null && i !== void 0 ? i : "dummy__noop", n).toString() 27707 ].join(` 27708`); 27709 t.setDefaultAppearance(o); 27710}, qL = function(t, e) { 27711 var r, n, i, o = ei(e), a = ei(t.acroField), s = e.getRectangle(), u = e.getAppearanceCharacteristics(), l = e.getBorderStyle(), f = (r = l?.getWidth()) !== null && r !== void 0 ? r : 0, h = Ao(u?.getRotation()), g = os(s, h), d = g.width, m = g.height, b = la(ht(ht({}, s), { rotation: h })), S = Wt(0, 0, 0), w = (n = an(u?.getBorderColor())) !== null && n !== void 0 ? n : S, D = an(u?.getBackgroundColor()), T = an(u?.getBackgroundColor(), 0.8), _ = (i = o ?? a) !== null && i !== void 0 ? i : S; 27712 ti(o ? e : t.acroField, _); 27713 var x = { 27714 x: 0 + f / 2, 27715 y: 0 + f / 2, 27716 width: d - f, 27717 height: m - f, 27718 thickness: 1.5, 27719 borderWidth: f, 27720 borderColor: w, 27721 markColor: _ 27722 }; 27723 return { 27724 normal: { 27725 on: kt(b, Qc(ht(ht({}, x), { color: D, filled: !0 }))), 27726 off: kt(b, Qc(ht(ht({}, x), { color: D, filled: !1 }))) 27727 }, 27728 down: { 27729 on: kt(b, Qc(ht(ht({}, x), { color: T, filled: !0 }))), 27730 off: kt(b, Qc(ht(ht({}, x), { color: T, filled: !1 }))) 27731 } 27732 }; 27733}, KL = function(t, e) { 27734 var r, n, i, o = ei(e), a = ei(t.acroField), s = e.getRectangle(), u = e.getAppearanceCharacteristics(), l = e.getBorderStyle(), f = (r = l?.getWidth()) !== null && r !== void 0 ? r : 0, h = Ao(u?.getRotation()), g = os(s, h), d = g.width, m = g.height, b = la(ht(ht({}, s), { rotation: h })), S = Wt(0, 0, 0), w = (n = an(u?.getBorderColor())) !== null && n !== void 0 ? n : S, D = an(u?.getBackgroundColor()), T = an(u?.getBackgroundColor(), 0.8), _ = (i = o ?? a) !== null && i !== void 0 ? i : S; 27735 ti(o ? e : t.acroField, _); 27736 var x = { 27737 x: d / 2, 27738 y: m / 2, 27739 width: d - f, 27740 height: m - f, 27741 borderWidth: f, 27742 borderColor: w, 27743 dotColor: _ 27744 }; 27745 return { 27746 normal: { 27747 on: kt(b, $c(ht(ht({}, x), { color: D, filled: !0 }))), 27748 off: kt(b, $c(ht(ht({}, x), { color: D, filled: !1 }))) 27749 }, 27750 down: { 27751 on: kt(b, $c(ht(ht({}, x), { color: T, filled: !0 }))), 27752 off: kt(b, $c(ht(ht({}, x), { color: T, filled: !1 }))) 27753 } 27754 }; 27755}, GL = function(t, e, r) {
27756 var n, i, o, a, s, u = ei(e), l = ei(t.acroField), f = na(e), h = na(t.acroField), g = e.getRectangle(), d = e.getAppearanceCharacteristics(), m = e.getBorderStyle(), b = d?.getCaptions(), S = (n = b?.normal) !== null && n !== void 0 ? n : "", w = (o = (i = b?.down) !== null && i !== void 0 ? i : S) !== null && o !== void 0 ? o : "", D = (a = m?.getWidth()) !== null && a !== void 0 ? a : 0, T = Ao(d?.getRotation()), _ = os(g, T), x = _.width, p = _.height, N = la(ht(ht({}, g), { rotation: T })), V = Wt(0, 0, 0), P = an(d?.getBorderColor()), M = an(d?.getBackgroundColor()), U = an(d?.getBackgroundColor(), 0.8), re = { 27757 x: D, 27758 y: D, 27759 width: x - D * 2, 27760 height: p - D * 2 27761 }, Q = cd(S, { 27762 alignment: Tr.Center, 27763 fontSize: f ?? h, 27764 font: r, 27765 bounds: re 27766 }), ne = cd(w, { 27767 alignment: Tr.Center, 27768 fontSize: f ?? h, 27769 font: r, 27770 bounds: re 27771 }), ee = Math.min(Q.fontSize, ne.fontSize), L = (s = u ?? l) !== null && s !== void 0 ? s : V; 27772 ti(u || f !== void 0 ? e : t.acroField, L, r, ee); 27773 var Z = { 27774 x: 0 + D / 2, 27775 y: 0 + D / 2, 27776 width: x - D, 27777 height: p - D, 27778 borderWidth: D, 27779 borderColor: P, 27780 textColor: L, 27781 font: r.name, 27782 fontSize: ee 27783 }; 27784 return { 27785 normal: kt(N, g1(ht(ht({}, Z), { color: M, textLines: [Q.line] }))), 27786 down: kt(N, g1(ht(ht({}, Z), { color: U, textLines: [ne.line] }))) 27787 }; 27788}, XL = function(t, e, r) { 27789 var n, i, o, a, s = ei(e), u = ei(t.acroField), l = na(e), f = na(t.acroField), h = e.getRectangle(), g = e.getAppearanceCharacteristics(), d = e.getBorderStyle(), m = (n = t.getText()) !== null && n !== void 0 ? n : "", b = (i = d?.getWidth()) !== null && i !== void 0 ? i : 0, S = Ao(g?.getRotation()), w = os(h, S), D = w.width, T = w.height, _ = la(ht(ht({}, h), { rotation: S })), x = Wt(0, 0, 0), p = an(g?.getBorderColor()), N = an(g?.getBackgroundColor()), V, P, M = t.isCombed() ? 0 : 1, U = { 27790 x: b + M, 27791 y: b + M, 27792 width: D - (b + M) * 2, 27793 height: T - (b + M) * 2 27794 }; 27795 if (t.isMultiline()) { 27796 var re = u_(m, { 27797 alignment: t.getAlignment(), 27798 fontSize: l ?? f, 27799 font: r, 27800 bounds: U 27801 }); 27802 V = re.lines, P = re.fontSize; 27803 } else if (t.isCombed()) { 27804 var re = HL(m, { 27805 fontSize: l ?? f, 27806 font: r, 27807 bounds: U, 27808 cellCount: (o = t.getMaxLength()) !== null && o !== void 0 ? o : 0 27809 }); 27810 V = re.cells, P = re.fontSize; 27811 } else { 27812 var re = cd(m, { 27813 alignment: t.getAlignment(), 27814 fontSize: l ?? f, 27815 font: r, 27816 bounds: U 27817 }); 27818 V = [re.line], P = re.fontSize; 27819 } 27820 var Q = (a = s ?? u) !== null && a !== void 0 ? a : x; 27821 ti(s || l !== void 0 ? e : t.acroField, Q, r, P); 27822 var ne = { 27823 x: 0 + b / 2, 27824 y: 0 + b / 2, 27825 width: D - b, 27826 height: T - b, 27827 borderWidth: b ?? 0, 27828 borderColor: p, 27829 textColor: Q, 27830 font: r.name, 27831 fontSize: P, 27832 color: N, 27833 textLines: V, 27834 padding: M 27835 }; 27836 return kt(_, i_(ne)); 27837}, YL = function(t, e, r) { 27838 var n, i, o, a = ei(e), s = ei(t.acroField), u = na(e), l = na(t.acroField), f = e.getRectangle(), h = e.getAppearanceCharacteristics(), g = e.getBorderStyle(), d = (n = t.getSelected()[0]) !== null && n !== void 0 ? n : "", m = (i = g?.getWidth()) !== null && i !== void 0 ? i : 0, b = Ao(h?.getRotation()), S = os(f, b), w = S.width, D = S.height, T = la(ht(ht({}, f), { rotation: b })), _ = Wt(0, 0, 0), x = an(h?.getBorderColor()), p = an(h?.getBackgroundColor()), N = 1, V = { 27839 x: m + N, 27840 y: m + N, 27841 width: w - (m + N) * 2, 27842 height: D - (m + N) * 2 27843 }, P = cd(d, { 27844 alignment: Tr.Left, 27845 fontSize: u ?? l, 27846 font: r, 27847 bounds: V 27848 }), M = P.line, U = P.fontSize, re = (o = a ?? s) !== null && o !== void 0 ? o : _; 27849 ti(a || u !== void 0 ? e : t.acroField, re, r, U); 27850 var Q = { 27851 x: 0 + m / 2, 27852 y: 0 + m / 2, 27853 width: w - m, 27854 height: D - m, 27855 borderWidth: m ?? 0, 27856 borderColor: x, 27857 textColor: re, 27858 font: r.name, 27859 fontSize: U, 27860 color: p, 27861 textLines: [M], 27862 padding: N 27863 }; 27864 return kt(T, i_(Q)); 27865}, ZL = function(t, e, r) { 27866 var n, i, o = ei(e), a = ei(t.acroField), s = na(e), u = na(t.acro
27866Field), l = e.getRectangle(), f = e.getAppearanceCharacteristics(), h = e.getBorderStyle(), g = (n = h?.getWidth()) !== null && n !== void 0 ? n : 0, d = Ao(f?.getRotation()), m = os(l, d), b = m.width, S = m.height, w = la(ht(ht({}, l), { rotation: d })), D = Wt(0, 0, 0), T = an(f?.getBorderColor()), _ = an(f?.getBackgroundColor()), x = t.getOptions(), p = t.getSelected(); 27867 t.isSorted() && x.sort(); 27868 for (var N = "", V = 0, P = x.length; V < P; V++) 27869 N += x[V], V < P - 1 && (N += ` 27870`); 27871 for (var M = 1, U = { 27872 x: g + M, 27873 y: g + M, 27874 width: b - (g + M) * 2, 27875 height: S - (g + M) * 2 27876 }, re = u_(N, { 27877 alignment: Tr.Left, 27878 fontSize: s ?? u, 27879 font: r, 27880 bounds: U 27881 }), Q = re.lines, ne = re.fontSize, ee = re.lineHeight, L = [], V = 0, P = Q.length; V < P; V++) { 27882 var Z = Q[V]; 27883 p.includes(Z.text) && L.push(V); 27884 } 27885 var G = Wt(153 / 255, 193 / 255, 218 / 255), se = (i = o ?? a) !== null && i !== void 0 ? i : D; 27886 return ti(o || s !== void 0 ? e : t.acroField, se, r, ne), kt(w, AL({ 27887 x: 0 + g / 2, 27888 y: 0 + g / 2, 27889 width: b - g, 27890 height: S - g, 27891 borderWidth: g ?? 0, 27892 borderColor: T, 27893 textColor: se, 27894 font: r.name, 27895 fontSize: ne, 27896 color: _, 27897 textLines: Q, 27898 lineHeight: ee, 27899 selectedColor: G, 27900 selectedLines: L, 27901 padding: M 27902 })); 27903}, c_ = ( 27904 /** @class */ 27905 function() { 27906 function t(e, r, n) { 27907 this.alreadyEmbedded = !1, te(e, "ref", [[zt, "PDFRef"]]), te(r, "doc", [[ia, "PDFDocument"]]), te(n, "embedder", [[IS, "PDFPageEmbedder"]]), this.ref = e, this.doc = r, this.width = n.width, this.height = n.height, this.embedder = n; 27908 } 27909 return t.prototype.scale = function(e) { 27910 return te(e, "factor", ["number"]), { width: this.width * e, height: this.height * e }; 27911 }, t.prototype.size = function() { 27912 return this.scale(1); 27913 }, t.prototype.embed = function() { 27914 return yt(this, void 0, void 0, function() { 27915 return bt(this, function(e) { 27916 switch (e.label) { 27917 case 0: 27918 return this.alreadyEmbedded ? [3, 2] : [4, this.embedder.embedIntoContext(this.doc.context, this.ref)]; 27919 case 1: 27920 e.sent(), this.alreadyEmbedded = !0, e.label = 2; 27921 case 2: 27922 return [ 27923 2 27924 /*return*/ 27925 ]; 27926 } 27927 }); 27928 }); 27929 }, t.of = function(e, r, n) { 27930 return new t(e, r, n); 27931 }, t; 27932 }() 27933), In = ( 27934 /** @class */ 27935 function() { 27936 function t(e, r, n) { 27937 this.modified = !0, te(e, "ref", [[zt, "PDFRef"]]), te(r, "doc", [[ia, "PDFDocument"]]), te(n, "embedder", [ 27938 [W0, "CustomFontEmbedder"], 27939 [rd, "StandardFontEmbedder"] 27940 ]), this.ref = e, this.doc = r, this.name = n.fontName, this.embedder = n; 27941 } 27942 return t.prototype.encodeText = function(e) { 27943 return te(e, "text", ["string"]), this.modified = !0, this.embedder.encodeText(e); 27944 }, t.prototype.widthOfTextAtSize = function(e, r) { 27945 return te(e, "text", ["string"]), te(r, "size", ["number"]), this.embedder.widthOfTextAtSize(e, r); 27946 }, t.prototype.heightAtSize = function(e, r) { 27947 var n; 27948 return te(e, "size", ["number"]), Ae(r?.descender, "options.descender", ["boolean"]), this.embedder.heightOfFontAtSize(e, { 27949 descender: (n = r?.descender) !== null && n !== void 0 ? n : !0 27950 }); 27951 }, t.prototype.sizeAtHeight = function(e) { 27952 return te(e, "height", ["number"]), this.embedder.sizeOfFontAtHeight(e); 27953 }, t.prototype.getCharacterSet = function() { 27954 return this.embedder instanceof rd ? this.embedder.encoding.supportedCodePoints : this.embedder.font.characterSet; 27955 }, t.prototype.embed = function() { 27956 return yt(this, void 0, void 0, function() { 27957 return bt(this, function(e) { 27958 switch (e.label) { 27959 case 0: 27960 return this.modified ? [4, this.embedder.embedIntoContext(this.doc.context, this.ref)] : [3, 2]; 27961 case 1: 27962 e.sent(), this.modified = !1, e.label = 2; 27963 case 2: 27964 return [ 27965 2 27966 /*return*/ 27967 ]; 27968 } 27969 }); 27970 }); 27971 }, t.of = function(e, r, n) { 27972 return new t(e, r, n); 27973 }, t; 27974 }() 27975), Ov = ( 27976 /** @class */ 27977 function() { 27978 function t(e, r, n) { 27979 te(e, "ref", [[zt, "PDFRef"]]), te(r, "doc", [[ia, "PDFDocument"]]), te(n, "embedder", [ 27980 [DS, "JpegEmbedder"], 27981 [PS, "PngEmbedder"] 27982 ]), this.ref = e, this.doc = r, this.width = n.width, this.height = n.height, this.embedder = n; 27983 } 27984 return t.prototype.scale = function(e) { 27985 return te(e, "factor", ["number"]), { width: this.width * e, height: this.height * e }; 27986 }, t.prototype.scaleToFit = function(e, r) { 27987 te(e, "width", ["number"]), te(r, "height", ["number"]); 27988 var n = e / this.width, i = r / this.height, o = Math.min(n, i); 27989 return this.scale(o); 27990 }, t.prototype.size = function() { 27991 return this.scale(1); 27992 }, t.prototype.embed = function() { 27993 return yt(this, void 0, void 0, function() { 27994 var e, r, n; 27995 return bt(this, function(i) { 27996 switch (i.label) { 27997 case 0: 27998 return this.embedder ? (this.embedTask || (e = this, r = e.doc, n = e.ref, this.embedTask = this.embedder.embedIntoContext(r.context, n)), [4, this.embedTask]) : [ 27999 2 28000 /*return*/ 28001 ]; 28002 case 1: 28003 return i.sent(), this.embedder = void 0, [ 28004 2 28005 /*return*/ 28006 ]; 28007 } 28008 }); 28009 }); 28010 }, t.of = function(e, r, n) { 28011 return new t(e, r, n); 28012 }, t; 28013 }() 28014), Jo; 28015(function(t) { 28016 t[t.Left = 0] = "Left", t[t.Center = 1] = "Center", t[t.Right = 2] = "Right"; 28017})(Jo || (Jo = {})); 28018var hl = function(t) { 28019 Ae(t?.x, "options.x", ["number"]), Ae(t?.y, "options.y", ["number"]), Ae(t?.width, "options.width", ["number"]), Ae(t?.height, "options.height", ["number"]), Ae(t?.textColor, "options.textColor", [ 28020 [Object, "Color"] 28021 ]), Ae(t?.backgroundColor, "options.backgroundColor", [ 28022 [Object, "Color"] 28023 ]), Ae(t?.borderColor, "options.borderColor", [ 28024 [Object, "Color"] 28025 ]), Ae(t?.borderWidth, "options.borderWidth", ["number"]), Ae(t?.rotate, "options.rotate", [[Object, "Rotation"]]); 28026}, ls = ( 28027 /** @class */ 28028 function() { 28029 function t(e, r, n) { 28030 te(e, "acroField", [[cl, "PDFAcroTerminal"]]), te(r, "ref", [[zt, "PDFRef"]]), te(n, "doc", [[ia, "PDFDocument"]]), this.acroField = e, this.ref = r, this.doc = n; 28031 } 28032 return t.prototype.getName = function() { 28033 var e; 28034 return (e = this.acroField.getFullyQualifiedName()) !== null && e !== void 0 ? e : ""; 28035 }, t.prototype.isReadOnly = function() { 28036 return this.acroField.hasFlag(fi.ReadOnly); 28037 }, t.prototype.enableReadOnly = function() { 28038 this.acroField.setFlagTo(fi.ReadOnly, !0); 28039 }, t.prototype.disableReadOnly = function() { 28040 this.acroField.setFlagTo(fi.ReadOnly, !1); 28041 }, t.prototype.isRequired = function() { 28042 return this.acroField.hasFlag(fi.Required); 28043 }, t.prototype.enableRequired = function() { 28044 this.acroField.setFlagTo(fi.Required, !0); 28045 }, t.prototype.disableRequired = function() { 28046 this.acroField.setFlagTo(fi.Required, !1); 28047 }, t.prototype.isExported = function() { 28048 return !this.acroField.hasFlag(fi.NoExport); 28049 }, t.prototype.enableExporting = function() { 28050 this.acroField.setFlagTo(fi.NoExport, !1); 28051 }, t.prototype.disableExporting = function() { 28052 this.acroField.setFlagTo(fi.NoExport, !0); 28053 }, t.prototype.needsAppearancesUpdate = function() { 28054 throw new Kn(this.constructor.name, "needsAppearancesUpdate"); 28055 }, t.prototype.defaultUpdateAppearances = function(e) { 28056 throw new Kn(this.constructor.name, "defaultUpdateAppearances"); 28057 }, t.prototype.markAsDirty = function() { 28058 this.doc.getForm().markFieldAsDirty(this.ref); 28059 }, t.prototype.markAsClean = function() { 28060 this.doc.getForm().markFieldAsClean(this.ref); 28061 }, t.prototype.isDirty = function() { 28062 return this.doc.getForm().fieldIsDirty(this.ref); 28063 }, t.prototype.createWidget = function(e) { 28064 var r, n = e.textColor, i = e.backgroundColor, o = e.borderColor, a = e.borderWidth, s = KS(e.rotate), u = e.caption, l = e.x, f = e.y, h = e.width + a, g = e.height + a, d = !!e.hidden, m = e.page; 28065 _S(s, "degreesAngle", 90); 28066 var b = _v.create(this.doc.context, this.ref), S = aL({ x: l, y: f, width: h, height: g }, a, s); 28067 b.setRectangle(S), m && b.setP(m); 28068 var w = b.getOrCreateAppearanceCharacteristics();
28069 i && w.setBackgroundColor(d1(i)), w.setRotation(s), u && w.setCaptions({ normal: u }), o && w.setBorderColor(d1(o)); 28070 var D = b.getOrCreateBorderStyle(); 28071 if (a !== void 0 && D.setWidth(a), b.setFlagTo(Su.Print, !0), b.setFlagTo(Su.Hidden, d), b.setFlagTo(Su.Invisible, !1), n) { 28072 var T = (r = this.acroField.getDefaultAppearance()) !== null && r !== void 0 ? r : "", _ = T + ` 28073` + ss(n).toString(); 28074 this.acroField.setDefaultAppearance(_); 28075 } 28076 return b; 28077 }, t.prototype.updateWidgetAppearanceWithFont = function(e, r, n) { 28078 var i = n.normal, o = n.rollover, a = n.down; 28079 this.updateWidgetAppearances(e, { 28080 normal: this.createAppearanceStream(e, i, r), 28081 rollover: o && this.createAppearanceStream(e, o, r), 28082 down: a && this.createAppearanceStream(e, a, r) 28083 }); 28084 }, t.prototype.updateOnOffWidgetAppearance = function(e, r, n) { 28085 var i = n.normal, o = n.rollover, a = n.down; 28086 this.updateWidgetAppearances(e, { 28087 normal: this.createAppearanceDict(e, i, r), 28088 rollover: o && this.createAppearanceDict(e, o, r), 28089 down: a && this.createAppearanceDict(e, a, r) 28090 }); 28091 }, t.prototype.updateWidgetAppearances = function(e, r) { 28092 var n = r.normal, i = r.rollover, o = r.down; 28093 e.setNormalAppearance(n), i ? e.setRolloverAppearance(i) : e.removeRolloverAppearance(), o ? e.setDownAppearance(o) : e.removeDownAppearance(); 28094 }, t.prototype.createAppearanceStream = function(e, r, n) { 28095 var i, o = this.acroField.dict.context, a = e.getRectangle(), s = a.width, u = a.height, l = n && { Font: (i = {}, i[n.name] = n.ref, i) }, f = o.formXObject(r, { 28096 Resources: l, 28097 BBox: o.obj([0, 0, s, u]), 28098 Matrix: o.obj([1, 0, 0, 1, 0, 0]) 28099 }), h = o.register(f); 28100 return h; 28101 }, t.prototype.createImageAppearanceStream = function(e, r, n) { 28102 var i, o, a = this.acroField.dict.context, s = e.getRectangle(), u = e.getAppearanceCharacteristics(), l = e.getBorderStyle(), f = (o = l?.getWidth()) !== null && o !== void 0 ? o : 0, h = Ao(u?.getRotation()), g = la(ht(ht({}, s), { rotation: h })), d = os(s, h), m = r.scaleToFit(d.width - f * 2, d.height - f * 2), b = { 28103 x: f, 28104 y: f, 28105 width: m.width, 28106 height: m.height, 28107 // 28108 rotate: st(0), 28109 xSkew: st(0), 28110 ySkew: st(0) 28111 }; 28112 n === Jo.Center ? (b.x += (d.width - f * 2) / 2 - m.width / 2, b.y += (d.height - f * 2) / 2 - m.height / 2) : n === Jo.Right && (b.x = d.width - f - m.width, b.y = d.height - f - m.height); 28113 var S = this.doc.context.addRandomSuffix("Image", 10), w = kt(g, n_(S, b)), D = { XObject: (i = {}, i[S] = r.ref, i) }, T = a.formXObject(w, { 28114 Resources: D, 28115 BBox: a.obj([0, 0, s.width, s.height]), 28116 Matrix: a.obj([1, 0, 0, 1, 0, 0]) 28117 }); 28118 return a.register(T); 28119 }, t.prototype.createAppearanceDict = function(e, r, n) { 28120 var i = this.acroField.dict.context, o = this.createAppearanceStream(e, r.on), a = this.createAppearanceStream(e, r.off), s = i.obj({}); 28121 return s.set(n, o), s.set(R.of("Off"), a), s; 28122 }, t; 28123 }() 28124), $l = ( 28125 /** @class */ 28126 function(t) { 28127 Ne(e, t); 28128 function e(r, n, i) { 28129 var o = t.call(this, r, n, i) || this; 28130 return te(r, "acroCheckBox", [ 28131 [Yd, "PDFAcroCheckBox"] 28132 ]), o.acroField = r, o; 28133 } 28134 return e.prototype.check = function() { 28135 var r, n = (r = this.acroField.getOnValue()) !== null && r !== void 0 ? r : R.of("Yes"); 28136 this.markAsDirty(), this.acroField.setValue(n); 28137 }, e.prototype.uncheck = function() { 28138 this.markAsDirty(), this.acroField.setValue(R.of("Off")); 28139 }, e.prototype.isChecked = function() { 28140 var r = this.acroField.getOnValue(); 28141 return !!r && r === this.acroField.getValue(); 28142 }, e.prototype.addToPage = function(r, n) { 28143 var i, o, a, s, u, l; 28144 te(r, "page", [[Wn, "PDFPage"]]), hl(n), n || (n = {}), "textColor" in n || (n.textColor = Wt(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Wt(1, 1, 1)), "borderColor" in n || (n.borderColor = Wt(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1); 28145 var f = this.createWidget({ 28146 x: (i = n.x) !== null && i !== void 0 ? i : 0, 28147 y: (o = n.y) !== null && o !== void 0 ? o : 0, 28148 width: (a = n.width) !== null && a !== void 0 ? a : 50, 28149 height: (s = n.height) !== null && s !== void 0 ? s : 50, 28150 textColor: n.textColor, 28151 backgroundColor: n.backgroundColor, 28152 borderColor: n.borderColor, 28153 borderWidth: (u = n.borderWidth) !== null && u !== void 0 ? u : 0, 28154 rotate: (l = n.rotate) !== null && l !== void 0 ? l : st(0), 28155 hidden: n.hidden, 28156 page: r.ref 28157 }), h = this.doc.context.register(f.dict); 28158 this.acroField.addWidget(h), f.setAppearanceState(R.of("Off")), this.updateWidgetAppearance(f, R.of("Yes")), r.n
28158ode.addAnnot(h); 28159 }, e.prototype.needsAppearancesUpdate = function() { 28160 for (var r, n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28161 var a = n[i], s = a.getAppearanceState(), u = (r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal; 28162 if (!(u instanceof mt) || s && !u.has(s)) 28163 return !0; 28164 } 28165 return !1; 28166 }, e.prototype.defaultUpdateAppearances = function() { 28167 this.updateAppearances(); 28168 }, e.prototype.updateAppearances = function(r) { 28169 var n; 28170 Ae(r, "provider", [Function]); 28171 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 28172 var s = i[o], u = (n = s.getOnValue()) !== null && n !== void 0 ? n : R.of("Yes"); 28173 u && this.updateWidgetAppearance(s, u, r); 28174 } 28175 this.markAsClean(); 28176 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 28177 var o = i ?? qL, a = dl(o(this, r)); 28178 this.updateOnOffWidgetAppearance(r, n, a); 28179 }, e.of = function(r, n, i) { 28180 return new e(r, n, i); 28181 }, e; 28182 }(ls) 28183), _f = ( 28184 /** @class */ 28185 function(t) { 28186 Ne(e, t); 28187 function e(r, n, i) { 28188 var o = t.call(this, r, n, i) || this; 28189 return te(r, "acroComboBox", [ 28190 [Zd, "PDFAcroComboBox"] 28191 ]), o.acroField = r, o; 28192 } 28193 return e.prototype.getOptions = function() { 28194 for (var r = this.acroField.getOptions(), n = new Array(r.length), i = 0, o = n.length; i < o; i++) { 28195 var a = r[i], s = a.display, u = a.value; 28196 n[i] = (s ?? u).decodeText(); 28197 } 28198 return n; 28199 }, e.prototype.getSelected = function() { 28200 for (var r = this.acroField.getValues(), n = new Array(r.length), i = 0, o = r.length; i < o; i++) 28201 n[i] = r[i].decodeText(); 28202 return n; 28203 }, e.prototype.setOptions = function(r) { 28204 te(r, "options", [Array]); 28205 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) 28206 n[i] = { value: ot.fromText(r[i]) }; 28207 this.acroField.setOptions(n); 28208 }, e.prototype.addOptions = function(r) { 28209 te(r, "options", ["string", Array]); 28210 for (var n = Array.isArray(r) ? r : [r], i = this.acroField.getOptions(), o = new Array(n.length), a = 0, s = n.length; a < s; a++) 28211 o[a] = { value: ot.fromText(n[a]) }; 28212 this.acroField.setOptions(i.concat(o)); 28213 }, e.prototype.select = function(r, n) { 28214 n === void 0 && (n = !1), te(r, "options", ["string", Array]), te(n, "merge", ["boolean"]); 28215 var i = Array.isArray(r) ? r : [r], o = this.getOptions(), a = i.find(function(h) { 28216 return !o.includes(h); 28217 }); 28218 a && this.enableEditing(), this.markAsDirty(), (i.length > 1 || i.length === 1 && n) && this.enableMultiselect(); 28219 for (var s = new Array(i.length), u = 0, l = i.length; u < l; u++) 28220 s[u] = ot.fromText(i[u]); 28221 if (n) { 28222 var f = this.acroField.getValues(); 28223 this.acroField.setValues(f.concat(s)); 28224 } else 28225 this.acroField.setValues(s); 28226 }, e.prototype.clear = function() { 28227 this.markAsDirty(), this.acroField.setValues([]); 28228 }, e.prototype.setFontSize = function(r) { 28229 Gd(r, "fontSize"), this.acroField.setFontSize(r), this.markAsDirty(); 28230 }, e.prototype.isEditable = function() { 28231 return this.acroField.hasFlag(Ut.Edit); 28232 }, e.prototype.enableEditing = function() { 28233 this.acroField.setFlagTo(Ut.Edit, !0); 28234 }, e.prototype.disableEditing = function() { 28235 this.acroField.setFlagTo(Ut.Edit, !1); 28236 }, e.prototype.isSorted = function() { 28237 return this.acroField.hasFlag(Ut.Sort); 28238 }, e.prototype.enableSorting = function() { 28239 this.acroField.setFlagTo(Ut.Sort, !0); 28240 }, e.prototype.disableSorting = function() { 28241 this.acroField.setFlagTo(Ut.Sort, !1); 28242 }, e.prototype.isMultiselect = function() { 28243 return this.acroField.hasFlag(Ut.MultiSelect); 28244 }, e.prototype.enableMultiselect = function() { 28245 this.acroField.setFlagTo(Ut.MultiSelect, !0); 28246 }, e.prototype.disableMultiselect = function() { 28247 this.acroField.setFlagTo(Ut.MultiSelect, !1); 28248 }, e.prototype.isSpellChecked = function() { 28249 return !this.acroField.hasFlag(Ut.DoNotSpellCheck); 28250 }, e.prototype.enableSpellChecking = function() { 28251 this.acroField.setFlagTo(Ut.DoNotSpellCheck, !1); 28252 }, e.prototype.disableSpellChecking = function() { 28253 this.acroField.setFlagTo(Ut.DoNotSpellCheck, !0); 28254 }, e.prototype.isSelectOnClick = function() { 28255 return this.acroField.hasFlag(Ut.CommitOnSelChange); 28256 }, e.prototype.enableSelectOnClick = function() { 28257 this.acroField.setFlagTo(Ut.CommitOnSelChange, !0); 28258 }, e.prototype.disableSelectOnClick = function() { 28259 this.acroField.setFlagTo(Ut.CommitOnSelChange, !1); 28260 }, e.prototype.addToPage = function(r, n) { 28261 var i, o, a, s, u, l, f; 28262 te(r, "page", [[Wn, "PDFPage"]]), hl(n), n || (n = {}), "textColor" in n || (n.textColor = Wt(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Wt(1, 1, 1)), "borderColor" in n || (n.borderColor = Wt(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1); 28263 var h = this.createWidget({ 28264 x: (i = n.x) !== null && i !== void 0 ? i : 0, 28265 y: (o = n.y) !== null && o !== void 0 ? o : 0, 28266 width: (a = n.width) !== null && a !== void 0 ? a : 200, 28267 height: (s = n.height) !== null && s !== void 0 ? s : 50, 28268 textColor: n.textColor, 28269 backgroundColor: n.backgroundColor, 28270 borderColor: n.borderColor, 28271 borderWidth: (u = n.borderWidth) !== null && u !== void 0 ? u : 0, 28272 rotate: (l = n.rotate) !== null && l !== void 0 ? l : st(0), 28273 hidden: n.hidden, 28274 page: r.ref 28275 }), g = this.doc.context.register(h.dict); 28276 this.acroField.addWidget(g); 28277 var d = (f = n.font) !== null && f !== void 0 ? f : this.doc.getForm().getDefaultFont();
28278 this.updateWidgetAppearance(h, d), r.node.addAnnot(g); 28279 }, e.prototype.needsAppearancesUpdate = function() { 28280 var r; 28281 if (this.isDirty()) 28282 return !0; 28283 for (var n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28284 var a = n[i], s = ((r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal) instanceof kn; 28285 if (!s) 28286 return !0; 28287 } 28288 return !1; 28289 }, e.prototype.defaultUpdateAppearances = function(r) { 28290 te(r, "font", [[In, "PDFFont"]]), this.updateAppearances(r); 28291 }, e.prototype.updateAppearances = function(r, n) { 28292 te(r, "font", [[In, "PDFFont"]]), Ae(n, "provider", [Function]); 28293 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 28294 var s = i[o]; 28295 this.updateWidgetAppearance(s, r, n); 28296 } 28297 this.markAsClean(); 28298 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 28299 var o = i ?? YL, a = dl(o(this, r, n)); 28300 this.updateWidgetAppearanceWithFont(r, n, a); 28301 }, e.of = function(r, n, i) { 28302 return new e(r, n, i); 28303 }, e; 28304 }(ls) 28305), Tf = ( 28306 /** @class */ 28307 function(t) { 28308 Ne(e, t); 28309 function e(r, n, i) { 28310 var o = t.call(this, r, n, i) || this; 28311 return te(r, "acroListBox", [[eh, "PDFAcroListBox"]]), o.acroField = r, o; 28312 } 28313 return e.prototype.getOptions = function() { 28314 for (var r = this.acroField.getOptions(), n = new Array(r.length), i = 0, o = n.length; i < o; i++) { 28315 var a = r[i], s = a.display, u = a.value; 28316 n[i] = (s ?? u).decodeText(); 28317 } 28318 return n; 28319 }, e.prototype.getSelected = function() { 28320 for (var r = this.acroField.getValues(), n = new Array(r.length), i = 0, o = r.length; i < o; i++) 28321 n[i] = r[i].decodeText(); 28322 return n; 28323 }, e.prototype.setOptions = function(r) { 28324 te(r, "options", [Array]), this.markAsDirty(); 28325 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) 28326 n[i] = { value: ot.fromText(r[i]) }; 28327 this.acroField.setOptions(n); 28328 }, e.prototype.addOptions = function(r) { 28329 te(r, "options", ["string", Array]), this.markAsDirty(); 28330 for (var n = Array.isArray(r) ? r : [r], i = this.acroField.getOptions(), o = new Array(n.length), a = 0, s = n.length; a < s; a++) 28331 o[a] = { value: ot.fromText(n[a]) }; 28332 this.acroField.setOptions(i.concat(o)); 28333 }, e.prototype.select = function(r, n) { 28334 n === void 0 && (n = !1), te(r, "options", ["string", Array]), te(n, "merge", ["boolean"]); 28335 var i = Array.isArray(r) ? r : [r], o = this.getOptions(); 28336 XM(i, "option", o), this.markAsDirty(), (i.length > 1 || i.length === 1 && n) && this.enableMultiselect(); 28337 for (var a = new Array(i.length), s = 0, u = i.length; s < u; s++) 28338 a[s] = ot.fromText(i[s]); 28339 if (n) { 28340 var l = this.acroField.getValues(); 28341 this.acroField.setValues(l.concat(a)); 28342 } else 28343 this.acroField.setValues(a); 28344 }, e.prototype.clear = function() { 28345 this.markAsDirty(), this.acroField.setValues([]); 28346 }, e.prototype.setFontSize = function(r) { 28347 Gd(r, "fontSize"), this.acroField.setFontSize(r), this.markAsDirty(); 28348 }, e.prototype.isSorted = function() { 28349 return this.acroField.hasFlag(Ut.Sort); 28350 }, e.prototype.enableSorting = function() { 28351 this.acroField.setFlagTo(Ut.Sort, !0); 28352 }, e.prototype.disableSorting = function() { 28353 this.acroField.setFlagTo(Ut.Sort, !1); 28354 }, e.prototype.isMultiselect = function() { 28355 return this.acroField.hasFlag(Ut.MultiSelect); 28356 }, e.prototype.enableMultiselect = function() { 28357 this.acroField.setFlagTo(Ut.MultiSelect, !0); 28358 }, e.prototype.disableMultiselect = function() { 28359 this.acroField.setFlagTo(Ut.MultiSelect, !1); 28360 }, e.prototype.isSelectOnClick = function() { 28361 return this.acroField.hasFlag(Ut.CommitOnSelChange); 28362 }, e.prototype.enableSelectOnClick = function() { 28363 this.acroField.setFlagTo(Ut.CommitOnSelChange, !0); 28364 }, e.prototype.disableSelectOnClick = function() { 28365 this.acroField.setFlagTo(Ut.CommitOnSelChange, !1); 28366 }, e.prototype.addToPage = function(r, n) { 28367 var i, o, a, s, u, l, f; 28368 te(r, "page", [[Wn, "PDFPage"]]), hl(n), n || (n = {}), "textColor" in n || (n.textColor = Wt(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Wt(1, 1, 1)), "borderColor" in n || (n.borderColor = Wt(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1); 28369 var h = this.createWidget({ 28370 x: (i = n.x) !== null && i !== void 0 ? i : 0, 28371 y: (o = n.y) !== null && o !== void 0 ? o : 0, 28372 width: (a = n.width) !== null && a !== void 0 ? a : 200, 28373 height: (s = n.height) !== null && s !== void 0 ? s : 100, 28374 textColor: n.textColor, 28375 backgroundColor: n.backgroundColor, 28376 borderColor: n.borderColor, 28377 borderWidth: (u = n.borderWidth) !== null && u !== void 0 ? u : 0, 28378 rotate: (l = n.rotate) !== null && l !== void 0 ? l : st(0), 28379 hidden: n.hidden, 28380 page: r.ref 28381 }), g = this.doc.context.register(h.dict); 28382 this.acroField.addWidget(g); 28383 var d = (f = n.font) !== null && f !== void 0 ? f : this.doc.getForm().getDefaultFont();
28384 this.updateWidgetAppearance(h, d), r.node.addAnnot(g); 28385 }, e.prototype.needsAppearancesUpdate = function() { 28386 var r; 28387 if (this.isDirty()) 28388 return !0; 28389 for (var n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28390 var a = n[i], s = ((r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal) instanceof kn; 28391 if (!s) 28392 return !0; 28393 } 28394 return !1; 28395 }, e.prototype.defaultUpdateAppearances = function(r) { 28396 te(r, "font", [[In, "PDFFont"]]), this.updateAppearances(r); 28397 }, e.prototype.updateAppearances = function(r, n) { 28398 te(r, "font", [[In, "PDFFont"]]), Ae(n, "provider", [Function]); 28399 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 28400 var s = i[o]; 28401 this.updateWidgetAppearance(s, r, n); 28402 } 28403 this.markAsClean(); 28404 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 28405 var o = i ?? ZL, a = dl(o(this, r, n)); 28406 this.updateWidgetAppearanceWithFont(r, n, a); 28407 }, e.of = function(r, n, i) { 28408 return new e(r, n, i); 28409 }, e; 28410 }(ls) 28411), eu = ( 28412 /** @class */ 28413 function(t) { 28414 Ne(e, t); 28415 function e(r, n, i) { 28416 var o = t.call(this, r, n, i) || this; 28417 return te(r, "acroRadioButton", [ 28418 [$d, "PDFAcroRadioButton"] 28419 ]), o.acroField = r, o; 28420 } 28421 return e.prototype.getOptions = function() { 28422 var r = this.acroField.getExportValues(); 28423 if (r) { 28424 for (var n = new Array(r.length), i = 0, o = r.length; i < o; i++) 28425 n[i] = r[i].decodeText(); 28426 return n; 28427 } 28428 for (var a = this.acroField.getOnValues(), s = new Array(a.length), i = 0, o = s.length; i < o; i++) 28429 s[i] = a[i].decodeText(); 28430 return s; 28431 }, e.prototype.getSelected = function() { 28432 var r = this.acroField.getValue(); 28433 if (r !== R.of("Off")) { 28434 var n = this.acroField.getExportValues(); 28435 if (n) { 28436 for (var i = this.acroField.getOnValues(), o = 0, a = i.length; o < a; o++) 28437 if (i[o] === r) 28438 return n[o].decodeText(); 28439 } 28440 return r.decodeText(); 28441 } 28442 }, e.prototype.select = function(r) { 28443 te(r, "option", ["string"]); 28444 var n = this.getOptions(); 28445 Xo(r, "option", n), this.markAsDirty(); 28446 var i = this.acroField.getOnValues(), o = this.acroField.getExportValues(); 28447 if (o) 28448 for (var a = 0, s = o.length; a < s; a++) 28449 o[a].decodeText() === r && this.acroField.setValue(i[a]); 28450 else 28451 for (var a = 0, s = i.length; a < s; a++) { 28452 var u = i[a]; 28453 u.decodeText() === r && this.acroField.setValue(u); 28454 } 28455 }, e.prototype.clear = function() { 28456 this.markAsDirty(), this.acroField.setValue(R.of("Off")); 28457 }, e.prototype.isOffToggleable = function() { 28458 return !this.acroField.hasFlag(zn.NoToggleToOff); 28459 }, e.prototype.enableOffToggling = function() { 28460 this.acroField.setFlagTo(zn.NoToggleToOff, !1); 28461 }, e.prototype.disableOffToggling = function() { 28462 this.acroField.setFlagTo(zn.NoToggleToOff, !0); 28463 }, e.prototype.isMutuallyExclusive = function() { 28464 return !this.acroField.hasFlag(zn.RadiosInUnison); 28465 }, e.prototype.enableMutualExclusion = function() { 28466 this.acroField.setFlagTo(zn.RadiosInUnison, !1); 28467 }, e.prototype.disableMutualExclusion = function() { 28468 this.acroField.setFlagTo(zn.RadiosInUnison, !0); 28469 }, e.prototype.addOptionToPage = function(r, n, i) { 28470 var o, a, s, u, l, f, h, g, d; 28471 te(r, "option", ["string"]), te(n, "page", [[Wn, "PDFPage"]]), hl(i); 28472 var m = this.createWidget({ 28473 x: (o = i?.x) !== null && o !== void 0 ? o : 0, 28474 y: (a = i?.y) !== null && a !== void 0 ? a : 0, 28475 width: (s = i?.width) !== null && s !== void 0 ? s : 50, 28476 height: (u = i?.height) !== null && u !== void 0 ? u : 50, 28477 textColor: (l = i?.textColor) !== null && l !== void 0 ? l : Wt(0, 0, 0), 28478 backgroundColor: (f = i?.backgroundColor) !== null && f !== void 0 ? f : Wt(1, 1, 1), 28479 borderColor: (h = i?.borderColor) !== null && h !== void 0 ? h : Wt(0, 0, 0), 28480 borderWidth: (g = i?.borderWidth) !== null && g !== void 0 ? g : 1, 28481 rotate: (d = i?.rotate) !== null && d !== void 0 ? d : st(0), 28482 hidden: i?.hidden, 28483 page: n.ref 28484 }), b = this.doc.context.register(m.dict), S = this.acroField.addWidgetWithOpt(b, ot.fromText(r), !this.isMutuallyExclusive()); 28485 m.setAppearanceState(R.of("Off")), this.updateWidgetAppearance(m, S), n.node.addAnnot(b); 28486 }, e.prototype.needsAppearancesUpdate = function() { 28487 for (var r, n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28488 var a = n[i], s = a.getAppearanceState(), u = (r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal; 28489 if (!(u instanceof mt) || s && !u.has(s)) 28490 return !0; 28491 } 28492 return !1; 28493 }, e.prototype.defaultUpdateAppearances = function() { 28494 this.updateAppearances(); 28495 }, e.prototype.updateAppearances = function(r) { 28496 Ae(r, "provider", [Function]); 28497 for (var n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28498 var a = n[i], s = a.getOnValue(); 28499 s && this.updateWidgetAppearance(a, s, r); 28500 } 28501 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 28502 var o = i ?? KL, a = dl(o(this, r)); 28503 this.updateOnOffWidgetAppearance(r, n, a); 28504 }, e.of = function(r, n, i) { 28505 return new e(r, n, i); 28506 }, e; 28507 }(ls) 28508), Av = ( 28509 /** @class */ 28510 function(t) { 28511 Ne(e, t); 28512 function e(r, n, i) { 28513 var o = t.call(this, r, n, i) || this; 28514 return te(r, "acroSignature", [ 28515 [K0, "PDFAcroSignature"] 28516 ]), o.acroField = r, o; 28517 } 28518 return e.prototype.needsAppearancesUpdate = function() { 28519 return !1; 28520 }, e.of = function(r, n, i) { 28521 return new e(r, n, i); 28522 }, e; 28523 }(ls) 28524), Cf = ( 28525 /** @class */ 28526 function(t) { 28527 Ne(e, t); 28528 function e(r, n, i) { 28529 var o = t.call(this, r, n, i) || this; 28530 return te(r, "acroText", [[Jd, "PDFAcroText"]]), o.acroField = r, o; 28531 } 28532 return e.prototype.getText = function() { 28533 var r = this.acroField.getValue(); 28534 if (!r && this.isRichFormatted()) 28535 throw new IL(this.getName()); 28536 return r?.decodeText(); 28537 }, e.prototype.setText = function(r) { 28538 Ae(r, "text", ["string"]); 28539 var n = this.getMaxLength(); 28540 if (n !== void 0 && r && r.length > n) 28541 throw new VL(r.length, n, this.getName()); 28542 this.markAsDirty(), this.disableRichFormatting(), r ? this.acroField.setValue(ot.fromText(r)) : this.acroField.removeValue(); 28543 }, e.prototype.getAlignment = function() { 28544 var r = this.acroField.getQuadding(); 28545 return r === 0 ? Tr.Left : r === 1 ? Tr.Center : r === 2 ? Tr.Right : Tr.Left; 28546 }, e.prototype.setAlignment = function(r) { 28547 Xo(r, "alignment", Tr), this.markAsDirty(), this.acroField.setQuadding(r); 28548 }, e.prototype.getMaxLength = function() { 28549 return this.acroField.getMaxLength(); 28550 }, e.prototype.setMaxLength = function(r) { 28551 if (ui(r, "maxLength", 0, Number.MAX_SAFE_INTEGER), this.markAsDirty(), r === void 0) 28552 this.acroField.removeMaxLength(); 28553 else { 28554 var n = this.getText(); 28555 if (n && n.length > r) 28556 throw new LL(n.length, r, this.getName()); 28557 this.acroField.setMaxLength(r); 28558 } 28559 }, e.prototype.removeMaxLength = function() { 28560 this.markAsDirty(), this.acroField.removeMaxLength(); 28561 }, e.prototype.setImage = function(r) { 28562 for (var n = this.getAlignment(), i = n === Tr.Center ? Jo.Center : n === Tr.Right ? Jo.Right : Jo.Left, o = this.acroField.getWidgets(), a = 0, s = o.length; a < s; a++) { 28563 var u = o[a], l = this.createImageAppearanceStream(u, r, i); 28564 this.updateWidgetAppearances(u, { normal: l }); 28565 } 28566 this.markAsClean(); 28567 }, e.prototype.setFontSize = function(r) { 28568 Gd(r, "fontSize"), this.acroField.setFontSize(r), this.markAsDirty(); 28569 }, e.prototype.isMultiline = function() { 28570 return this.acroField.hasFlag(lr.Multiline); 28571 }, e.prototype.enableMultiline = function() { 28572 this.markAsDirty(), this.acroField.setFlagTo(lr.Multiline, !0); 28573 }, e.prototype.disableMultiline = function() { 28574 this.markAsDirty(), this.acroField.setFlagTo(lr.Multiline, !1); 28575 }, e.prototype.isPassword = function() { 28576 return this.acroField.hasFlag(lr.Password); 28577 }, e.prototype.enablePassword = function() { 28578 this.acroField.setFlagTo(lr.Password, !0); 28579 }, e.prototype.disablePassword = function() { 28580 this.acroField.setFlagTo(lr.Password, !1); 28581 }, e.prototype.isFileSelector = function() { 28582 return this.acroField.hasFlag(lr.FileSelect); 28583 }, e.prototype.enableFileSelection = function() { 28584 this.acroField.setFlagTo(lr.FileSelect, !0); 28585 }, e.prototype.disableFileSelection = function() { 28586 this.acroField.setFlagTo(lr.FileSelect, !1); 28587 }, e.prototype.isSpellChecked = function() { 28588 return !this.acroField.hasFlag(lr.DoNotSpellCheck); 28589 }, e.prototype.enableSpellChecking = function() { 28590 this.acroField.setFlagTo(lr.DoNotSpellCheck, !1); 28591 }, e.prototype.disableSpellChecking = function() { 28592 this.acroField.setFlagTo(lr.DoNotSpellCheck, !0); 28593 }, e.prototype.isScrollable = function() { 28594 return !this.acroField.hasFlag(lr.DoNotScroll); 28595 }, e.prototype.enableScrolling = function() {
28596 this.acroField.setFlagTo(lr.DoNotScroll, !1); 28597 }, e.prototype.disableScrolling = function() { 28598 this.acroField.setFlagTo(lr.DoNotScroll, !0); 28599 }, e.prototype.isCombed = function() { 28600 return this.acroField.hasFlag(lr.Comb) && !this.isMultiline() && !this.isPassword() && !this.isFileSelector() && this.getMaxLength() !== void 0; 28601 }, e.prototype.enableCombing = function() { 28602 if (this.getMaxLength() === void 0) { 28603 var r = "PDFTextFields must have a max length in order to be combed"; 28604 console.warn(r); 28605 } 28606 this.markAsDirty(), this.disableMultiline(), this.disablePassword(), this.disableFileSelection(), this.acroField.setFlagTo(lr.Comb, !0); 28607 }, e.prototype.disableCombing = function() { 28608 this.markAsDirty(), this.acroField.setFlagTo(lr.Comb, !1); 28609 }, e.prototype.isRichFormatted = function() { 28610 return this.acroField.hasFlag(lr.RichText); 28611 }, e.prototype.enableRichFormatting = function() { 28612 this.acroField.setFlagTo(lr.RichText, !0); 28613 }, e.prototype.disableRichFormatting = function() { 28614 this.acroField.setFlagTo(lr.RichText, !1); 28615 }, e.prototype.addToPage = function(r, n) { 28616 var i, o, a, s, u, l, f; 28617 te(r, "page", [[Wn, "PDFPage"]]), hl(n), n || (n = {}), "textColor" in n || (n.textColor = Wt(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Wt(1, 1, 1)), "borderColor" in n || (n.borderColor = Wt(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1); 28618 var h = this.createWidget({ 28619 x: (i = n.x) !== null && i !== void 0 ? i : 0, 28620 y: (o = n.y) !== null && o !== void 0 ? o : 0, 28621 width: (a = n.width) !== null && a !== void 0 ? a : 200, 28622 height: (s = n.height) !== null && s !== void 0 ? s : 50, 28623 textColor: n.textColor, 28624 backgroundColor: n.backgroundColor, 28625 borderColor: n.borderColor, 28626 borderWidth: (u = n.borderWidth) !== null && u !== void 0 ? u : 0, 28627 rotate: (l = n.rotate) !== null && l !== void 0 ? l : st(0), 28628 hidden: n.hidden, 28629 page: r.ref 28630 }), g = this.doc.context.register(h.dict); 28631 this.acroField.addWidget(g); 28632 var d = (f = n.font) !== null && f !== void 0 ? f : this.doc.getForm().getDefaultFont(); 28633 this.updateWidgetAppearance(h, d), r.node.addAnnot(g); 28634 }, e.prototype.needsAppearancesUpdate = function() { 28635 var r; 28636 if (this.isDirty()) 28637 return !0; 28638 for (var n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 28639 var a = n[i], s = ((r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal) instanceof kn; 28640 if (!s) 28641 return !0; 28642 } 28643 return !1; 28644 }, e.prototype.defaultUpdateAppearances = function(r) { 28645 te(r, "font", [[In, "PDFFont"]]), this.updateAppearances(r); 28646 }, e.prototype.updateAppearances = function(r, n) { 28647 te(r, "font", [[In, "PDFFont"]]), Ae(n, "provider", [Function]); 28648 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 28649 var s = i[o]; 28650 this.updateWidgetAppearance(s, r, n); 28651 } 28652 this.markAsClean(); 28653 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 28654 var o = i ?? XL, a = dl(o(this, r, n)); 28655 this.updateWidgetAppearanceWithFont(r, n, a); 28656 }, e.of = function(r, n, i) { 28657 return new e(r, n, i); 28658 }, e; 28659 }(ls) 28660), fd; 28661(function(t) { 28662 t.Courier = "Courier", t.CourierBold = "Courier-Bold", t.CourierOblique = "Courier-Oblique", t.CourierBoldOblique = "Courier-BoldOblique", t.Helvetica = "Helvetica", t.HelveticaBold = "Helvetica-Bold", t.HelveticaOblique = "Helvetica-Oblique", t.HelveticaBoldOblique = "Helvetica-BoldOblique", t.TimesRoman = "Times-Roman", t.TimesRomanBold = "Times-Bold", t.TimesRomanItalic = "Times-Italic", t.TimesRomanBoldItalic = "Times-BoldItalic", t.Symbol = "Symbol", t.ZapfDingbats = "ZapfDingbats"; 28663})(fd || (fd = {})); 28664var JL = ( 28665 /** @class */ 28666 function() { 28667 function t(e, r) { 28668 var n = this; 28669 this.embedDefaultFont = function() { 28670 return n.doc.embedStandardFont(fd.Helvetica); 28671 }
28671, te(e, "acroForm", [[od, "PDFAcroForm"]]), te(r, "doc", [[ia, "PDFDocument"]]), this.acroForm = e, this.doc = r, this.dirtyFields = /* @__PURE__ */ new Set(), this.defaultFontCache = Eo.populatedBy(this.embedDefaultFont); 28672 } 28673 return t.prototype.hasXFA = function() { 28674 return this.acroForm.dict.has(R.of("XFA")); 28675 }, t.prototype.deleteXFA = function() { 28676 this.acroForm.dict.delete(R.of("XFA")); 28677 }, t.prototype.getFields = function() { 28678 for (var e = this.acroForm.getAllFields(), r = [], n = 0, i = e.length; n < i; n++) { 28679 var o = e[n], a = o[0], s = o[1], u = QL(a, s, this.doc); 28680 u && r.push(u); 28681 } 28682 return r; 28683 }, t.prototype.getFieldMaybe = function(e) { 28684 te(e, "name", ["string"]); 28685 for (var r = this.getFields(), n = 0, i = r.length; n < i; n++) { 28686 var o = r[n]; 28687 if (o.getName() === e) 28688 return o; 28689 } 28690 }, t.prototype.getField = function(e) { 28691 te(e, "name", ["string"]); 28692 var r = this.getFieldMaybe(e); 28693 if (r) 28694 return r; 28695 throw new FL(e); 28696 }, t.prototype.getButton = function(e) { 28697 te(e, "name", ["string"]); 28698 var r = this.getField(e); 28699 if (r instanceof Of) 28700 return r; 28701 throw new xa(e, Of, r); 28702 }, t.prototype.getCheckBox = function(e) { 28703 te(e, "name", ["string"]); 28704 var r = this.getField(e); 28705 if (r instanceof $l) 28706 return r; 28707 throw new xa(e, $l, r); 28708 }, t.prototype.getDropdown = function(e) { 28709 te(e, "name", ["string"]); 28710 var r = this.getField(e); 28711 if (r instanceof _f) 28712 return r; 28713 throw new xa(e, _f, r); 28714 }, t.prototype.getOptionList = function(e) { 28715 te(e, "name", ["string"]); 28716 var r = this.getField(e); 28717 if (r instanceof Tf) 28718 return r; 28719 throw new xa(e, Tf, r); 28720 }, t.prototype.getRadioGroup = function(e) { 28721 te(e, "name", ["string"]); 28722 var r = this.getField(e); 28723 if (r instanceof eu) 28724 return r; 28725 throw new xa(e, eu, r); 28726 }, t.prototype.getSignature = function(e) { 28727 te(e, "name", ["string"]); 28728 var r = this.getField(e); 28729 if (r instanceof Av) 28730 return r; 28731 throw new xa(e, Av, r); 28732 }, t.prototype.getTextField = function(e) { 28733 te(e, "name", ["string"]); 28734 var r = this.getField(e); 28735 if (r instanceof Cf) 28736 return r; 28737 throw new xa(e, Cf, r); 28738 }, t.prototype.createButton = function(e) { 28739 te(e, "name", ["string"]); 28740 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = Qd.create(this.doc.context); 28741 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), Of.of(i, i.ref, this.doc); 28742 }, t.prototype.createCheckBox = function(e) { 28743 te(e, "name", ["string"]); 28744 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = Yd.create(this.doc.context); 28745 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), $l.of(i, i.ref, this.doc); 28746 }, t.prototype.createDropdown = function(e) { 28747 te(e, "name", ["string"]); 28748 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = Zd.create(this.doc.context); 28749 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), _f.of(i, i.ref, this.doc); 28750 }, t.prototype.createOptionList = function(e) { 28751 te(e, "name", ["string"]); 28752 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = eh.create(this.doc.context); 28753 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), Tf.of(i, i.ref, this.doc); 28754 }, t.prototype.createRadioGroup = function(e) { 28755 te(e, "name", ["string"]); 28756 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = $d.create(this.doc.context); 28757 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), eu.of(i, i.ref, this.doc); 28758 }, t.prototype.createTextField = function(e) { 28759 te(e, "name", ["string"]); 28760 var r = ws(e), n = this.findOrCreateNonTerminals(r.nonTerminal), i = Jd.create(this.doc.context); 28761 return i.setPartialName(r.terminal), Ss(n, [i, i.ref], r.terminal), Cf.of(i, i.ref, this.doc); 28762 }, t.prototype.flatten = function(e) { 28763 e === void 0 && (e = { updateFieldAppearances: !0 }), e.updateFieldAppearances && this.updateFieldAppearances(); 28764 for (var r = this.getFields(), n = 0, i = r.length; n < i; n++) { 28765 for (var o = r[n], a = o.acroField.getWidgets(), s = 0, u = a.length; s < u; s++) { 28766 var l = a[s], f = this.findWidgetPage(l), h = this.findWidgetAppearanceRef(o, l), g = f.node.newXObject("FlatWidget", h), d = l.getRectangle(), m = kt([ 28767 Nr(), 28768 Gn(d.x, d.y) 28769 ], la(ht(ht({}, d), { rotation: 0 })), [ 28770 eg(g), 28771 kr()
28772 ]).filter(Boolean); 28773 f.pushOperators.apply(f, m); 28774 } 28775 this.removeField(o); 28776 } 28777 }, t.prototype.removeField = function(e) { 28778 for (var r = e.acroField.getWidgets(), n = /* @__PURE__ */ new Set(), i = 0, o = r.length; i < o; i++) { 28779 var a = r[i], s = this.findWidgetAppearanceRef(e, a), u = this.findWidgetPage(a); 28780 n.add(u), u.node.removeAnnot(s); 28781 } 28782 n.forEach(function(d) { 28783 return d.node.removeAnnot(e.ref); 28784 }), this.acroForm.removeField(e.acroField); 28785 for (var l = e.acroField.normalizedEntries().Kids, f = l.size(), h = 0; h < f; h++) { 28786 var g = l.get(h); 28787 g instanceof zt && this.doc.context.delete(g); 28788 } 28789 this.doc.context.delete(e.ref); 28790 }, t.prototype.updateFieldAppearances = function(e) { 28791 Ae(e, "font", [[In, "PDFFont"]]), e = e ?? this.getDefaultFont(); 28792 for (var r = this.getFields(), n = 0, i = r.length; n < i; n++) { 28793 var o = r[n]; 28794 o.needsAppearancesUpdate() && o.defaultUpdateAppearances(e); 28795 } 28796 }, t.prototype.markFieldAsDirty = function(e) { 28797 Ae(e, "fieldRef", [[zt, "PDFRef"]]), this.dirtyFields.add(e); 28798 }, t.prototype.markFieldAsClean = function(e) { 28799 Ae(e, "fieldRef", [[zt, "PDFRef"]]), this.dirtyFields.delete(e); 28800 }, t.prototype.fieldIsDirty = function(e) { 28801 return Ae(e, "fieldRef", [[zt, "PDFRef"]]), this.dirtyFields.has(e); 28802 }, t.prototype.getDefaultFont = function() { 28803 return this.defaultFontCache.access(); 28804 }, t.prototype.findWidgetPage = function(e) { 28805 var r = e.P(), n = this.doc.getPages().find(function(o) { 28806 return o.ref === r; 28807 }); 28808 if (n === void 0) { 28809 var i = this.doc.context.getObjectRef(e.dict); 28810 if (i === void 0) 28811 throw new Error("Could not find PDFRef for PDFObject"); 28812 if (n = this.doc.findPageForAnnotationRef(i), n === void 0) 28813 throw new Error("Could not find page for PDFRef " + i); 28814 } 28815 return n; 28816 }, t.prototype.findWidgetAppearanceRef = function(e, r) { 28817 var n, i = r.getNormalAppearance(); 28818 if (i instanceof mt && (e instanceof $l || e instanceof eu)) { 28819 var o = e.acroField.getValue(), a = (n = i.get(o)) !== null && n !== void 0 ? n : i.get(R.of("Off")); 28820 a instanceof zt && (i = a); 28821 } 28822 if (!(i instanceof zt)) { 28823 var s = e.getName(); 28824 throw new Error("Failed to extract appearance ref for: " + s); 28825 } 28826 return i; 28827 }, t.prototype.findOrCreateNonTerminals = function(e) { 28828 for (var r = [ 28829 this.acroForm 28830 ], n = 0, i = e.length; n < i; n++) { 28831 var o = e[n]; 28832 if (!o) 28833 throw new RL(o); 28834 var a = r[0], s = r[1], u = this.findNonTerminal(o, a); 28835 if (u) 28836 r = u; 28837 else { 28838 var l = id.create(this.doc.context); 28839 l.setPartialName(o), l.setParent(s); 28840 var f = this.doc.context.register(l.dict); 28841 a.addField(f), r = [l, f]; 28842 } 28843 } 28844 return r; 28845 }, t.prototype.findNonTerminal = function(e, r) { 28846 for (var n = r instanceof od ? this.acroForm.getFields() : G0(r.Kids()), i = 0, o = n.length; i < o; i++) { 28847 var a = n[i], s = a[0], u = a[1]; 28848 if (s.getPartialName() === e) { 28849 if (s instanceof id) 28850 return [s, u]; 28851 throw new o_(e); 28852 } 28853 } 28854 }, t.of = function(e, r) { 28855 return new t(e, r); 28856 }, t; 28857 }() 28858), QL = function(t, e, r) { 28859 if (t instanceof Qd) 28860 return Of.of(t, e, r); 28861 if (t instanceof Yd) 28862 return $l.of(t, e, r); 28863 if (t instanceof Zd) 28864 return _f.of(t, e, r); 28865 if (t instanceof eh) 28866 return Tf.of(t, e, r); 28867 if (t instanceof Jd) 28868 return Cf.of(t, e, r); 28869 if (t instanceof $d) 28870 return eu.of(t, e, r); 28871 if (t instanceof K0) 28872 return Av.of(t, e, r); 28873}, ws = function(t) { 28874 if (t.length === 0) 28875 throw new Error("PDF field names must not be empty strings"); 28876 for (var e = t.split("."), r = 0, n = e.length; r < n; r++) 28877 if (e[r] === "") 28878 throw new Error('Periods in PDF field names must be separated by at least one character: "' + t + '"'); 28879 return e.length === 1 ? { nonTerminal: [], terminal: e[0] } : { 28880 nonTerminal: e.slice(0, e.length - 1), 28881 terminal: e[e.length - 1] 28882 }; 28883}, Ss = function(t, e, r) { 28884 for (var n = t[0], i = t[1], o = e[0], a = e[1], s = n.normalizedEntries(), u = G0("Kids" in s ? s.Kids : s.Fields), l = 0, f = u.length; l < f; l++) 28885 if (u[l][0].getPartialName() === r) 28886 throw new o_(r); 28887 n.addField(a), o.setParent(i); 28888}, $L = { 28889 "4A0": [4767.87, 6740.79], 28890 "2A0": [3370.39, 4767.87], 28891 A0: [2383.94, 3370.39], 28892 A1: [1683.78, 2383.94], 28893 A2: [1190.55, 1683.78], 28894 A3: [841.89, 1190.55], 28895 A4: [595.28, 841.89], 28896 A5: [419.53, 595.28], 28897 A6: [297.64, 419.53], 28898 A7: [209.76, 297.64], 28899 A8: [147.4, 209.76], 28900 A9: [104.88, 147.4], 28901 A10: [73.7, 104.88], 28902 B0: [2834.65, 4008.19], 28903 B1: [2004.09, 2834.65], 28904 B2: [1417.32, 2004.09], 28905 B3: [1000.63, 1417.32], 28906 B4: [708.66, 1000.63], 28907 B5: [498.9, 708.66], 28908 B6: [354.33, 498.9], 28909 B7: [249.45, 354.33], 28910 B8: [175.75, 249.45], 28911 B9: [124.72, 175.75], 28912 B10: [87.87, 124.72], 28913 C0: [2599.37, 3676.54], 28914 C1: [1836.85, 2599.37], 28915 C2: [1298.27, 1836.85], 28916 C3: [918.43, 1298.27], 28917 C4: [649.13, 918.43], 28918 C5: [459.21, 649.13], 28919 C6: [323.15, 459.21], 28920 C7: [229.61, 323.15], 28921 C8: [161.57, 229.61], 28922 C9: [113.39, 161.57], 28923 C10: [79.37, 113.39], 28924 RA0: [2437.8, 3458.27], 28925 RA1: [1729.13, 2437.8], 28926 RA2: [1218.9, 1729.13], 28927 RA3: [864.57, 1218.9], 28928 RA4: [609.45, 864.57], 28929 SRA0: [2551.18, 3628.35], 28930 SRA1: [1814.17, 2551.18], 28931 SRA2: [1275.59, 1814.17], 28932 SRA3: [907.09, 1275.59], 28933 SRA4: [637.8, 907.09], 28934 Executive: [521.86, 756], 28935 Folio: [612, 936], 28936 Legal: [612, 1008], 28937 Letter: [612, 792], 28938 Tabloid: [792, 1224] 28939}, Nv; 28940(function(t) { 28941 t[t.Fastest = 1 / 0] = "Fastest", t[t.Fast = 1500] = "Fast", t[t.Medium = 500] = "Medium", t[t.Slow = 100] = "Slow"; 28942})(Nv || (Nv = {})); 28943var e8 = ( 28944 /** @class */ 28945 function() { 28946 function t(e, r, n) { 28947 this.alreadyEmbedded = !1, this.ref = e, this.doc = r, this.embedder = n; 28948 } 28949 return t.prototype.embed = function() { 28950 return yt(this, void 0, void 0, function() { 28951 var e, r, n, i, o; 28952 return bt(this, function(a) { 28953 switch (a.label) { 28954 case 0: 28955 return this.alreadyEmbedded ? [3, 2] : [4, this.embedder.embedIntoContext(this.doc.context, this.ref)]; 28956 case 1: 28957 e = a.sent(), this.doc.catalog.has(R.of("Names")) || this.doc.catalog.set(R.of("Names"), this.doc.context.obj({})), r = this.doc.catalog.lookup(R.of("Names"), mt), r.has(R.of("EmbeddedFiles")) || r.set(R.of("EmbeddedFiles"), this.doc.context.obj({})), n = r.lookup(R.of("EmbeddedFiles"), mt), n.has(R.of("Names")) || n.set(R.of("Names"), this.doc.context.obj([])), i = n.lookup(R.of("Names"), Lt), i.push(ot.fromText(this.embedder.fileName)), i.push(e), this.doc.catalog.has(R.of("AF")) || this.doc.catalog.set(R.of("AF"), this.doc.context.obj([])), o = this.doc.catalog.lookup(R.of("AF"), Lt), o.push(e), this.alreadyEmbedded = !0, a.label = 2; 28958 case 2: 28959 return [ 28960 2 28961 /*return*/ 28962 ]; 28963 } 28964 }); 28965 }); 28966 }, t.of = function(e, r, n) { 28967 return new t(e, r, n); 28968 }, t; 28969 }() 28970), t8 = ( 28971 /** @class */ 28972 function() { 28973 function t(e, r, n) { 28974 this.alreadyEmbedded = !1, this.ref = e, this.doc = r, this.embedder = n; 28975 } 28976 return t.prototype.embed = function() { 28977 return yt(this, void 0, void 0, function() { 28978 var e, r, n, i, o, a, s; 28979 return bt(this, function(u) { 28980 switch (u.label) { 28981 case 0: 28982 return this.alreadyEmbedded ? [3, 2] : (e = this.doc, r = e.catalog, n = e.context, [4, this.embedder.embedIntoContext(this.doc.context, this.ref)]); 28983 case 1: 28984 i = u.sent(), r.has(R.of("Names")) || r.set(R.of("Names"), n.obj({})), o = r.lookup(R.of("Names"), mt), o.has(R.of("JavaScript")) || o.set(R.of("JavaScript"), n.obj({})), a = o.lookup(R.of("JavaScript"), mt), a.has(R.of("Names")) || a.set(R.of("Names"), n.obj([])), s = a.lookup(R.of("Names"), Lt), s.push(ot.fromText(this.embedder.scriptName)), s.push(i), this.alreadyEmbedded = !0, u.label = 2; 28985 case 2: 28986 return [ 28987 2 28988 /*return*/ 28989 ]; 28990 } 28991 }); 28992 }); 28993 }, t.of = function(e, r, n) { 28994 return new t(e, r, n); 28995 }, t; 28996 }() 28997), r8 = ( 28998 /** @class */ 28999 function() { 29000 function t(e, r) { 29001 this.script = e, this.scriptName = r; 29002 } 29003 return t.for = function(e, r) { 29004 return new t(e, r); 29005 }, t.prototype.embedIntoContext = function(e, r) { 29006 return yt(this, void 0, void 0, function() { 29007 var n; 29008 return bt(this, function(i) { 29009 return n = e.obj({ 29010 Type: "Action", 29011 S: "JavaScript", 29012 JS: ot.fromText(this.script) 29013 }), r ? (e.assign(r, n), [2, r]) : [2, e.register(n)]; 29014 }); 29015 }); 29016 }, t; 29017 }() 29018), ia = ( 29019 /** @class */ 29020 function() { 29021 function t(e, r, n) { 29022 var i = this; 29023 if (this.defaultWordBreaks = [" "], this.computePages = function() { 29024 var o = []; 29025 return i.catalog.Pages().traverse(function(a, s) { 29026 if (a instanceof xo) { 29027 var u = i.pageMap.get(a); 29028 u || (u = Wn.of(a, s, i), i.pageMap.set(a, u)), o.push(u); 29029 } 29030 }), o; 29031 }, this.getOrCreateForm = function() { 29032 var o = i.catalog.getOrCreateAcroForm(); 29033 return JL.of(o, i); 29034 }, te(e, "context", [[wv, "PDFContext"]]), te(r, "ignoreEncryption", ["boolean"]), this.context = e, this.catalog = e.lookup(e.trailerInfo.Root), this.isEncrypted = !!e.lookup(e.trailerInfo.Encrypt), this.pageCache = Eo.populatedBy(this.computePages), this.pageMap = /* @__PURE__ */ new Map(), this.formCache = Eo.populatedBy(this.getOrCreateForm), this.fonts = [], this.images = [], this.embeddedPages = [], this.embeddedFiles = [], this.javaScripts = [], !r && this.isEncrypted) 29035 throw new NL(); 29036 n && this.updateInfoDict(); 29037 } 29038 return t.load = function(e, r) { 29039 return r === void 0 && (r = {}), yt(this, void 0, void 0, function() { 29040 var n, i, o, a, s, u, l, f, h, g, d, m; 29041 return bt(this, function(b) { 29042 switch (b.label) { 29043 case 0: 29044 return n = r.ignoreEncryption, i = n === void 0 ? !1 : n, o = r.parseSpeed, a = o === void 0 ? Nv.Slow : o, s = r.throwOnInvali
29044dObject, u = s === void 0 ? !1 : s, l = r.updateMetadata, f = l === void 0 ? !0 : l, h = r.capNumbers, g = h === void 0 ? !1 : h, te(e, "pdf", ["string", Uint8Array, ArrayBuffer]), te(i, "ignoreEncryption", ["boolean"]), te(a, "parseSpeed", ["number"]), te(u, "throwOnInvalidObject", ["boolean"]), d = Il(e), [4, iL.forBytesWithOptions(d, a, u, g).parseDocument()]; 29045 case 1: 29046 return m = b.sent(), [2, new t(m, i, f)]; 29047 } 29048 }); 29049 }); 29050 }, t.create = function(e) { 29051 return e === void 0 && (e = {}), yt(this, void 0, void 0, function() { 29052 var r, n, i, o, a, s; 29053 return bt(this, function(u) { 29054 return r = e.updateMetadata, n = r === void 0 ? !0 : r, i = wv.create(), o = US.withContext(i), a = i.register(o), s = BS.withContextAndPages(i, a), i.trailerInfo.Root = i.register(s), [2, new t(i, !1, n)]; 29055 }); 29056 }); 29057 }, t.prototype.registerFontkit = function(e) { 29058 this.fontkit = e; 29059 }, t.prototype.getForm = function() { 29060 var e = this.formCache.access(); 29061 return e.hasXFA() && (console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"), e.deleteXFA()), e; 29062 }, t.prototype.getTitle = function() { 29063 var e = this.getInfoDict().lookup(R.Title); 29064 if (e) 29065 return Mo(e), e.decodeText(); 29066 }, t.prototype.getAuthor = function() { 29067 var e = this.getInfoDict().lookup(R.Author); 29068 if (e) 29069 return Mo(e), e.decodeText(); 29070 }, t.prototype.getSubject = function() { 29071 var e = this.getInfoDict().lookup(R.Subject); 29072 if (e) 29073 return Mo(e), e.decodeText(); 29074 }, t.prototype.getKeywords = function() { 29075 var e = this.getInfoDict().lookup(R.Keywords); 29076 if (e) 29077 return Mo(e), e.decodeText(); 29078 }, t.prototype.getCreator = function() { 29079 var e = this.getInfoDict().lookup(R.Creator); 29080 if (e) 29081 return Mo(e), e.decodeText(); 29082 }, t.prototype.getProducer = function() { 29083 var e = this.getInfoDict().lookup(R.Producer); 29084 if (e) 29085 return Mo(e), e.decodeText(); 29086 }, t.prototype.getCreationDate = function() { 29087 var e = this.getInfoDict().lookup(R.CreationDate); 29088 if (e) 29089 return Mo(e), e.decodeDate(); 29090 }, t.prototype.getModificationDate = function() { 29091 var e = this.getInfoDict().lookup(R.ModDate); 29092 if (e) 29093 return Mo(e), e.decodeDate(); 29094 }, t.prototype.setTitle = function(e, r) { 29095 te(e, "title", ["string"]); 29096 var n = R.of("Title"); 29097 if (this.getInfoDict().set(n, ot.fromText(e)), r?.showInWindowTitleBar) { 29098 var i = this.catalog.getOrCreateViewerPreferences(); 29099 i.setDisplayDocTitle(!0); 29100 } 29101 }, t.prototype.setAuthor = function(e) { 29102 te(e, "author", ["string"]); 29103 var r = R.of("Author"); 29104 this.getInfoDict().set(r, ot.fromText(e)); 29105 }, t.prototype.setSubject = function(e) { 29106 te(e, "author", ["string"]); 29107 var r = R.of("Subject"); 29108 this.getInfoDict().set(r, ot.fromText(e)); 29109 }, t.prototype.setKeywords = function(e) { 29110 te(e, "keywords", [Array]); 29111 var r = R.of("Keywords"); 29112 this.getInfoDict().set(r, ot.fromText(e.join(" "))); 29113 }, t.prototype.setCreator = function(e) { 29114 te(e, "creator", ["string"]); 29115 var r = R.of("Creator"); 29116 this.getInfoDict().set(r, ot.fromText(e)); 29117 }, t.prototype.setProducer = function(e) { 29118 te(e, "creator", ["string"]); 29119 var r = R.of("Producer"); 29120 this.getInfoDict().set(r, ot.fromText(e)); 29121 }, t.prototype.setLanguage = function(e) { 29122 te(e, "language", ["string"]); 29123 var r = R.of("Lang"); 29124 this.catalog.set(r, Ht.of(e)); 29125 }, t.prototype.setCreationDate = function(e) { 29126 te(e, "creationDate", [[Date, "Date"]]); 29127 var r = R.of("CreationDate"); 29128 this.getInfoDict().set(r, Ht.fromDate(e)); 29129 }, t.prototype.setModificationDate = function(e) { 29130 te(e, "modificationDate", [[Date, "Date"]]); 29131 var r = R.of("ModDate"); 29132 this.getInfoDict().set(r, Ht.fromDate(e)); 29133 }, t.prototype.getPageCount = function() { 29134 return this.pageCount === void 0 && (this.pageCount = this.getPages().length), this.pageCount; 29135 }, t.prototype.getPages = function() { 29136 return this.pageCache.access(); 29137 }, t.prototype.getPage = function(e) { 29138 var r = this.getPages(); 29139 return Cn(e, "index", 0, r.length - 1), r[e]; 29140 }, t.prototype.getPageIndices = function() { 29141 return SR(0, this.getPageCount()); 29142 }, t.prototype.removePage = function(e) { 29143 var r = this.getPageCount(); 29144 if (this.pageCount === 0) 29145 throw new PL(); 29146 Cn(e, "index", 0, r - 1), this.catalog.removeLeafNode(e), this.pageCount = r - 1; 29147 }, t.prototype.addPage = function(e) { 29148 return te(e, "page", ["undefined", [Wn, "PDFPage"], Array]), this.insertPage(this.getPageCount(), e); 29149 }, t.prototype.insertPage = function(e, r) { 29150 var n = this.getPageCount(); 29151 if (Cn(e, "index", 0, n), te(r, "page", ["undefined", [Wn, "PDFPage"], Array]), !r || Array.isArray(r)) { 29152 var i = Array.isArray(r) ? r : $L.A4; 29153 r = Wn.create(this), r.setSize.apply(r, i); 29154 } else if (r.doc !== this) 29155 throw new DL(); 29156 var o = this.catalog.insertLeafNode(r.ref, e); 29157 return r.node.setParent(o), this.pageMap.set(r.node, r), this.pageCache.invalidate(), this.pageCount = n + 1, r; 29158 }, t.prototype.copyPages = function(e, r) { 29159 return yt(this, void 0, void 0, function() { 29160 var n, i, o, a, s, u, l, f; 29161 return bt(this, function(h) { 29162 switch (h.label) { 29163 case 0: 29164 return te(e, "srcDoc", [[t, "PDFDocument"]]), te(r, "indices", [Array]), [4, e.flush()]; 29165 case 1: 29166 for (h.sent(), n = t1.for(e.context, this.context), i = e.getPages(), o = new Array(r.length), a = 0, s = r.length; a < s; a++)
29167 u = i[r[a]], l = n.copy(u.node), f = this.context.register(l), o[a] = Wn.of(l, f, this); 29168 return [2, o]; 29169 } 29170 }); 29171 }); 29172 }, t.prototype.copy = function() { 29173 return yt(this, void 0, void 0, function() { 29174 var e, r, n, i; 29175 return bt(this, function(o) { 29176 switch (o.label) { 29177 case 0: 29178 return [4, t.create()]; 29179 case 1: 29180 return e = o.sent(), [4, e.copyPages(this, this.getPageIndices())]; 29181 case 2: 29182 for (r = o.sent(), n = 0, i = r.length; n < i; n++) 29183 e.addPage(r[n]); 29184 return this.getAuthor() !== void 0 && e.setAuthor(this.getAuthor()), this.getCreationDate() !== void 0 && e.setCreationDate(this.getCreationDate()), this.getCreator() !== void 0 && e.setCreator(this.getCreator()), this.getModificationDate() !== void 0 && e.setModificationDate(this.getModificationDate()), this.getProducer() !== void 0 && e.setProducer(this.getProducer()), this.getSubject() !== void 0 && e.setSubject(this.getSubject()), this.getTitle() !== void 0 && e.setTitle(this.getTitle()), e.defaultWordBreaks = this.defaultWordBreaks, [2, e]; 29185 } 29186 }); 29187 }); 29188 }, t.prototype.addJavaScript = function(e, r) { 29189 te(e, "name", ["string"]), te(r, "script", ["string"]); 29190 var n = r8.for(r, e), i = this.context.nextRef(), o = t8.of(i, this, n); 29191 this.javaScripts.push(o); 29192 }, t.prototype.attach = function(e, r, n) { 29193 return n === void 0 && (n = {}), yt(this, void 0, void 0, function() { 29194 var i, o, a, s; 29195 return bt(this, function(u) { 29196 return te(e, "attachment", ["string", Uint8Array, ArrayBuffer]), te(r, "name", ["string"]), Ae(n.mimeType, "mimeType", ["string"]), Ae(n.description, "description", ["string"]), Ae(n.creationDate, "options.creationDate", [Date]), Ae(n.modificationDate, "options.modificationDate", [ 29197 Date 29198 ]), Un(n.afRelationship, "options.afRelationship", Sv), i = Il(e), o = kV.for(i, r, n), a = this.context.nextRef(), s = e8.of(a, this, o), this.embeddedFiles.push(s), [ 29199 2 29200 /*return*/ 29201 ]; 29202 }); 29203 }); 29204 }, t.prototype.embedFont = function(e, r) { 29205 return r === void 0 && (r = {}), yt(this, void 0, void 0, function() { 29206 var n, i, o, a, s, u, l, f, h, g; 29207 return bt(this, function(d) { 29208 switch (d.label) { 29209 case 0: 29210 return n = r.subset, i = n === void 0 ? !1 : n, o = r.customName, a = r.features, te(e, "font", ["string", Uint8Array, ArrayBuffer]), te(i, "subset", ["boolean"]), Kb(e) ? (s = rd.for(e, o), [3, 7]) : [3, 1]; 29211 case 1: 29212 return TR(e) ? (u = Il(e), l = this.assertFontkit(), i ? [4, NV.for(l, u, o, a)] : [3, 3]) : [3, 6]; 29213 case 2: 29214 return f = d.sent(), [3, 5]; 29215 case 3: 29216 return [4, W0.for(l, u, o, a)]; 29217 case 4: 29218 f = d.sent(), d.label = 5; 29219 case 5: 29220 return s = f, [3, 7]; 29221 case 6: 29222 throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`"); 29223 case 7: 29224 return h = this.context.nextRef(), g = In.of(h, this, s), this.fonts.push(g), [2, g]; 29225 } 29226 }); 29227 }); 29228 }, t.prototype.embedStandardFont = function(e, r) { 29229 if (te(e, "font", ["string"]), !Kb(e)) 29230 throw new TypeError("`font` must be one of type `StandardFonts`"); 29231 var n = rd.for(e, r), i = this.context.nextRef(), o = In.of(i, this, n); 29232 return this.fonts.push(o), o; 29233 }, t.prototype.embedJpg = function(e) { 29234 return yt(this, void 0, void 0, function() { 29235 var r, n, i, o; 29236 return bt(this, function(a) { 29237 switch (a.label) { 29238 case 0: 29239 return te(e, "jpg", ["string", Uint8Array, ArrayBuffer]), r = Il(e), [4, DS.for(r)]; 29240 case 1: 29241 return n = a.sent(), i = this.context.nextRef(), o = Ov.of(i, this, n), this.images.push(o), [2, o]; 29242 } 29243 }); 29244 }); 29245 }, t.prototype.embedPng = function(e) { 29246 return yt(this, void 0, void 0, function() { 29247 var r, n, i, o; 29248 return bt(this, function(a) { 29249 switch (a.label) { 29250 case 0: 29251 return te(e, "png", ["string", Uint8Array, ArrayBuffer]), r = Il(e), [4, PS.for(r)]; 29252 case 1: 29253 return n = a.sent(), i = this.context.nextRef(), o = Ov.of(i, this, n), this.images.push(o), [2, o]; 29254 } 29255 }); 29256 }); 29257 }, t.prototype.embedPdf = function(e, r) { 29258 return r === void 0 && (r = [0]), yt(this, void 0, void 0, function() { 29259 var n, i, o; 29260 return bt(this, function(a) { 29261 switch (a.label) { 29262 case 0: 29263 return te(e, "pdf", [ 29264 "string", 29265 Uint8Array, 29266 ArrayBuffer, 29267 [t, "PDFDocument"] 29268 ]), te(r, "indices", [Array]), e instanceof t ? (i = e, [3, 3]) : [3, 1]; 29269 case 1: 29270 return [4, t.load(e)]; 29271 case 2: 29272 i = a.sent(), a.label = 3; 29273 case 3: 29274 return n = i, o = _R(n.getPages(), r), [2, this.embedPages(o)]; 29275 } 29276 }); 29277 }); 29278 }, t.prototype.embedPage = function(e, r, n) { 29279 return yt(this, void 0, void 0, function() { 29280 var i; 29281 return bt(this, function(o) { 29282 switch (o.label) { 29283 case 0: 29284 return te(e, "page", [[Wn, "PDFPage"]]), [4, this.embedPages([e], [r], [n])]; 29285 case 1: 29286 return i = o.sent()[0], [2, i]; 29287 } 29288 }); 29289 }); 29290 }, t.prototype.embedPages = function(e, r, n) { 29291 return r === void 0 && (r = []), n === void 0 && (n = []), yt(this, void 0, void 0, function() { 29292 var l, f, i, o, a, s, u, l, f, h, g, d, m, b, S; 29293 return bt(this, function(w) { 29294 switch (w.label) { 29295 case 0: 29296 if (e.length === 0) 29297 return [2, []]; 29298 for (l = 0, f = e.length - 1; l < f; l++) 29299 if (i = e[l], o = e[l + 1], i.node.context !== o.node.context) 29300 throw new rV(); 29301 a = e[0].node.context, s = a === this.context ? function(D) { 29302 return D; 29303 } : t1.for(a, this.context).copy, u = new Array(e.length), l = 0, f = e.length, w.label = 1; 29304 case 1: 29305 return l < f ? (h = s(e[l].node), g = r[l], d = n[l], [4, IS.for(h, g, d)]) : [3, 4]; 29306 case 2: 29307 m = w.sent(), b = this.context.nextRef(), u[l] = c_.of(b, this, m), w.label = 3; 29308 case 3: 29309 return l++, [3, 1]; 29310 case 4: 29311 return (S = this.embeddedPages).push.apply(S, u), [2, u]; 29312 } 29313 }); 29314 }); 29315 }, t.prototype.flush = function() { 29316 return yt(this, void 0, void 0, function() { 29317 return bt(this, function(e) { 29318 switch (e.label) { 29319 case 0: 29320 return [4, this.embedAll(this.fonts)]; 29321 case 1: 29322 return e.sent(), [4, this.embedAll(this.images)]; 29323 case 2: 29324 return e.sent(), [4, this.embedAll(this.embeddedPages)]; 29325 case 3: 29326 return e.sent(), [4, this.embedAll(this.embeddedFiles)]; 29327 case 4: 29328 return e.sent(), [4, this.embedAll(this.javaScripts)]; 29329 case 5: 29330 return e.sent(), [ 29331 2 29332 /*return*/ 29333 ]; 29334 } 29335 }); 29336 }); 29337 }, t.prototype.save = function(e) { 29338 return e === void 0 && (e = {}), yt(this, void 0, void 0, function() { 29339 var r, n, i, o, a, s, u, l, f, h; 29340 return bt(this, function(g) { 29341 switch (g.label) { 29342 case 0: 29343 return r = e.useObjectStreams, n = r === void 0 ? !0 : r, i = e.addDefaultPage, o = i === void 0 ? !0 : i, a = e.objectsPerTick, s = a === void 0 ? 50 : a, u = e.updateFieldAppearances, l = u === void 0 ? !0 : u, te(n, "useObjectStreams", ["boolean"]), te(o, "addDefaultPage", ["boolean"]), te(s, "objectsPerTick", ["number"]), te(l, "updateFieldAppearances", ["boolean"]), o && this.getPageCount() === 0 && this.addPage(), l && (f = this.formCache.getValue(), f && f.updateFieldAppearances()), [4, this.flush()]; 29344 case 1: 29345 return g.sent(), h = n ? SV : NS, [2, h.forContext(this.context, s).serializeToBuffer()]; 29346 } 29347 }); 29348 }); 29349 }, t.prototype.saveAsBase64 = function(e) { 29350 return e === void 0 && (e = {}), yt(this, void 0, void 0, function() { 29351 var r, n, i, o, a; 29352 return bt(this, function(s) { 29353 switch (s.label) { 29354 case 0: 29355 return r = e.dataUri, n = r === void 0 ? !1 : r, i = aR(e, ["dataUri"]), te(n, "dataUri", ["boolean"]), [4, this.save(i)]; 29356 case 1: 29357 return o = s.sent(), a = sR(o), [2, n ? "data:application/pdf;base64," + a : a]; 29358 } 29359 }); 29360 }); 29361 }, t.prototype.findPageForAnnotationRef = function(e) { 29362 for (var r = this.getPages(), n = 0, i = r.length; n < i; n++) { 29363 var o = r[n], a = o.node.Annots(); 29364 if (a?.indexOf(e) !== void 0) 29365 return o; 29366 } 29367 }, t.prototype.embedAll = function(e) { 29368 return yt(this, void 0, void 0, function() { 29369 var r, n; 29370 return bt(this, function(i) { 29371 switch (i.label) { 29372 case 0: 29373 r = 0, n = e.length, i.label = 1; 29374 case 1: 29375 return r < n ? [4, e[r].embed()] : [3, 4]; 29376 case 2: 29377 i.sent(), i.label = 3; 29378 case 3: 29379 return r++, [3, 1]; 29380 case 4: 29381 return [ 29382 2 29383 /*return*/ 29384 ]; 29385 } 29386 }); 29387 }); 29388 }, t.prototype.updateInfoDict = function() { 29389 var e = "pdf-lib (https://github.com/Hopding/pdf-lib)", r = /* @__PURE__ */ new Date(), n = this.getInfoDict(); 29390 this.setProducer(e), this.setModificationDate(r), n.get(R.of("Creator")) || this.setCreator(e), n.get(R.of("CreationDate")) || this.setCreationDate(r); 29391 }, t.prototype.getInfoDict = function() { 29392 var e = this.context.lookup(this.context.trailerInfo.Info); 29393 if (e instanceof mt) 29394 return e; 29395 var r = this.context.obj({}); 29396 return this.context.trailerInfo.Info = this.context.register(r), r; 29397 }, t.prototype.assertFontkit = function() { 29398 if (!this.fontkit) 29399 throw new kL(); 29400 return this.fontkit; 29401 }, t; 29402 }() 29403); 29404function Mo(t) { 29405 if (!(t instanceof ot) && !(t instanceof Ht)) 29406 throw new ed([ot, Ht], t); 29407} 29408var uo; 29409(function(t) { 29410 t.Normal = "Normal", t.Multiply = "Multiply", t.Screen = "Screen", t.Overlay = "Overlay", t.Darken = "Darken", t.Lighten = "Lighten", t.ColorDodge = "ColorDodge", t.ColorBurn = "ColorBurn", t.HardLight = "HardLight", t.SoftLight = "SoftLight", t.Difference = "Difference", t.Exclusion = "Exclusion"; 29411})(uo || (uo = {})); 29412var Wn = ( 29413 /** @class */ 29414 function() { 29415 function t(e, r, n) { 29416 this.fontSize = 24, this.fontColor = Wt(0, 0, 0), this.lineHeight = 24, this.x = 0, this.y = 0, te(e, "leafNode", [[xo, "PDFPageLeaf"]]), te(r, "ref", [[zt, "PDFRef"]]), te(n, "doc", [[ia, "PDFDocument"]]), this.node = e, this.ref = r, this.doc = n; 29417 } 29418 return t.prototype.setRotation = function(e) { 29419 var r = KS(e); 29420 _S(r, "degreesAngle", 90), this.node.set(R.of("Rotate"), this.doc.context.obj(r)); 29421 }, t.prototype.getRotation = function() { 29422 var e = this.node.Rotate(); 29423 return st(e ? e.asNumber() : 0); 29424 }, t.prototype.setSize = function(e, r) { 29425 te(e, "width", ["number"]), te(r, "height", ["number"]); 29426 var n = this.getMediaBox(); 29427 this.setMediaBox(n.x, n.y, e, r); 29428 var i = this.getCropBox(), o = this.getBleedBox(), a = this.getTrimBox(), s = this.getArtBox(), u = this.node.CropBox(), l = this.node.BleedBox(), f = this.node.TrimBox(), h = this.node.ArtBox(); 29429 u && Kc(i, n) && this.setCropBox(n.x, n.y, e, r), l && Kc(o, n) && this.setBleedBox(n.x, n.y, e, r), f && Kc(a, n) && this.setTrimBox(n.x, n.y, e, r), h && Kc(s, n) && this.setArtBox(n.x, n.y, e, r); 29430 }, t.prototype.setWidth = function(e) {
29431 te(e, "width", ["number"]), this.setSize(e, this.getSize().height); 29432 }, t.prototype.setHeight = function(e) { 29433 te(e, "height", ["number"]), this.setSize(this.getSize().width, e); 29434 }, t.prototype.setMediaBox = function(e, r, n, i) { 29435 te(e, "x", ["number"]), te(r, "y", ["number"]), te(n, "width", ["number"]), te(i, "height", ["number"]); 29436 var o = this.doc.context.obj([e, r, e + n, r + i]); 29437 this.node.set(R.MediaBox, o); 29438 }, t.prototype.setCropBox = function(e, r, n, i) { 29439 te(e, "x", ["number"]), te(r, "y", ["number"]), te(n, "width", ["number"]), te(i, "height", ["number"]); 29440 var o = this.doc.context.obj([e, r, e + n, r + i]); 29441 this.node.set(R.CropBox, o); 29442 }, t.prototype.setBleedBox = function(e, r, n, i) { 29443 te(e, "x", ["number"]), te(r, "y", ["number"]), te(n, "width", ["number"]), te(i, "height", ["number"]); 29444 var o = this.doc.context.obj([e, r, e + n, r + i]); 29445 this.node.set(R.BleedBox, o); 29446 }, t.prototype.setTrimBox = function(e, r, n, i) { 29447 te(e, "x", ["number"]), te(r, "y", ["number"]), te(n, "width", ["number"]), te(i, "height", ["number"]); 29448 var o = this.doc.context.obj([e, r, e + n, r + i]); 29449 this.node.set(R.TrimBox, o); 29450 }, t.prototype.setArtBox = function(e, r, n, i) { 29451 te(e, "x", ["number"]), te(r, "y", ["number"]), te(n, "width", ["number"]), te(i, "height", ["number"]); 29452 var o = this.doc.context.obj([e, r, e + n, r + i]); 29453 this.node.set(R.ArtBox, o); 29454 }, t.prototype.getSize = function() { 29455 var e = this.getMediaBox(), r = e.width, n = e.height; 29456 return { width: r, height: n }; 29457 }, t.prototype.getWidth = function() { 29458 return this.getSize().width; 29459 }, t.prototype.getHeight = function() { 29460 return this.getSize().height; 29461 }, t.prototype.getMediaBox = function() { 29462 var e = this.node.MediaBox(); 29463 return e.asRectangle(); 29464 }, t.prototype.getCropBox = function() { 29465 var e, r = this.node.CropBox(); 29466 return (e = r?.asRectangle()) !== null && e !== void 0 ? e : this.getMediaBox(); 29467 }, t.prototype.getBleedBox = function() { 29468 var e, r = this.node.BleedBox(); 29469 return (e = r?.asRectangle()) !== null && e !== void 0 ? e : this.getCropBox(); 29470 }, t.prototype.getTrimBox = function() { 29471 var e, r = this.node.TrimBox(); 29472 return (e = r?.asRectangle()) !== null && e !== void 0 ? e : this.getCropBox(); 29473 }, t.prototype.getArtBox = function() { 29474 var e, r = this.node.ArtBox(); 29475 return (e = r?.asRectangle()) !== null && e !== void 0 ? e : this.getCropBox(); 29476 }, t.prototype.translateContent = function(e, r) { 29477 te(e, "x", ["number"]), te(r, "y", ["number"]), this.node.normalize(), this.getContentStream(); 29478 var n = this.createContentStream(Nr(), Gn(e, r)), i = this.doc.context.register(n), o = this.createContentStream(kr()), a = this.doc.context.register(o); 29479 this.node.wrapContentStreams(i, a); 29480 }, t.prototype.scale = function(e, r) { 29481 te(e, "x", ["number"]), te(r, "y", ["number"]), this.setSize(this.getWidth() * e, this.getHeight() * r), this.scaleContent(e, r), this.scaleAnnotations(e, r); 29482 }, t.prototype.scaleContent = function(e, r) { 29483 te(e, "x", ["number"]), te(r, "y", ["number"]), this.node.normalize(), this.getContentStream(); 29484 var n = this.createContentStream(Nr(), Uu(e, r)), i = this.doc.context.register(n), o = this.createContentStream(kr()), a = this.doc.context.register(o); 29485 this.node.wrapContentStreams(i, a); 29486 }, t.prototype.scaleAnnotations = function(e, r) { 29487 te(e, "x", ["number"]), te(r, "y", ["number"]); 29488 var n = this.node.Annots(); 29489 if (n) 29490 for (var i = 0; i < n.size(); i++) { 29491 var o = n.lookup(i); 29492 o instanceof mt && this.scaleAnnot(o, e, r); 29493 } 29494 }, t.prototype.resetPosition = function() { 29495 this.getContentStream(!1), this.x = 0, this.y = 0; 29496 }, t.prototype.setFont = function(e) { 29497 te(e, "font", [[In, "PDFFont"]]), this.font = e, this.fontKey = this.node.newFontDictionary(this.font.name, this.font.ref); 29498 }, t.prototype.setFontSize = function(e) { 29499 te(e, "fontSize", ["number"]), this.fontSize = e; 29500 }, t.prototype.setFontColor = function(e) { 29501 te(e, "fontColor", [[Object, "Color"]]), this.fontColor = e; 29502 }, t.prototype.setLineHeight = function(e) { 29503 te(e, "lineHeight", ["number"]), this.lineHeight = e; 29504 }, t.prototype.getPosition = function() { 29505 return { x: this.x, y: this.y }; 29506 }, t.prototype.getX = function() { 29507 return this.x; 29508 }, t.prototype.getY = function() { 29509 return this.y; 29510 }, t.prototype.moveTo = function(e, r) { 29511 te(e, "x", ["number"]), te(r, "y", ["number"]), this.x = e, this.y = r; 29512 }, t.prototype.moveDown = function(e) { 29513 te(e, "yDecrease", ["number"]), this.y -= e; 29514 }, t.prototype.moveUp = function(e) { 29515 te(e, "yIncrease", ["number"]), this.y += e; 29516 }, t.prototype.moveLeft = function(e) { 29517 te(e, "xDecrease", ["number"]), this.x -= e; 29518 }, t.prototype.moveRight = function(e) { 29519 te(e, "xIncrease", ["number"]), this.x += e; 29520 }, t.prototype.pushOperators = function() { 29521 for (var e = [], r = 0; r < arguments.length; r++) 29522 e[r] = arguments[r]; 29523 SS(e, "operator", [[At, "PDFOperator"]]); 29524 var n = this.getContentStream(); 29525 n.push.apply(n, e); 29526 }, t.prototype.drawText = function(e, r) { 29527 var n, i, o, a, s, u, l; 29528 r === void 0 && (r = {}), te(e, "text", ["string"]), Ae(r.color, "options.color", [[Object, "Color"]]), ui(r.opacity, "opacity.opacity", 0, 1), Ae(r.font, "options.font", [[In, "PDFFont"]]), Ae(r.size, "options.size", ["number"]), Ae(r.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(r.xSkew, "options.xSkew", [[Object, "Rotation"]]), Ae(r.ySkew, "options.ySkew", [[Object, "Rotation"]]), Ae(r.x, "options.x", ["number"]), Ae(r.y, "options.y", ["number"]), Ae(r.lineHeight, "options.lineHeight", ["number"]), Ae(r.maxWidth, "options.maxWidth", ["number"]), Ae(r.wordBreaks, "options.wordBreaks", [Array]), Un(r.blendMode, "options.blendMode", uo);
29529 for (var f = this.setOrEmbedFont(r.font), h = f.oldFont, g = f.newFont, d = f.newFontKey, m = r.size || this.fontSize, b = r.wordBreaks || this.doc.defaultWordBreaks, S = function(N) { 29530 return g.widthOfTextAtSize(N, m); 29531 }, w = r.maxWidth === void 0 ? _w(ac(e)) : gR(e, b, r.maxWidth, S), D = new Array(w.length), T = 0, _ = w.length; T < _; T++) 29532 D[T] = g.encodeText(w[T]); 29533 var x = this.maybeEmbedGraphicsState({ 29534 opacity: r.opacity, 29535 blendMode: r.blendMode 29536 }), p = this.getContentStream(); 29537 p.push.apply(p, xL(D, { 29538 color: (n = r.color) !== null && n !== void 0 ? n : this.fontColor, 29539 font: d, 29540 size: m, 29541 rotate: (i = r.rotate) !== null && i !== void 0 ? i : st(0), 29542 xSkew: (o = r.xSkew) !== null && o !== void 0 ? o : st(0), 29543 ySkew: (a = r.ySkew) !== null && a !== void 0 ? a : st(0), 29544 x: (s = r.x) !== null && s !== void 0 ? s : this.x, 29545 y: (u = r.y) !== null && u !== void 0 ? u : this.y, 29546 lineHeight: (l = r.lineHeight) !== null && l !== void 0 ? l : this.lineHeight, 29547 graphicsState: x 29548 })), r.font && (h ? this.setFont(h) : this.resetFont()); 29549 }, t.prototype.drawImage = function(e, r) { 29550 var n, i, o, a, s, u, l; 29551 r === void 0 && (r = {}), te(e, "image", [[Ov, "PDFImage"]]), Ae(r.x, "options.x", ["number"]), Ae(r.y, "options.y", ["number"]), Ae(r.width, "options.width", ["number"]), Ae(r.height, "options.height", ["number"]), Ae(r.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(r.xSkew, "options.xSkew", [[Object, "Rotation"]]), Ae(r.ySkew, "options.ySkew", [[Object, "Rotation"]]), ui(r.opacity, "opacity.opacity", 0, 1), Un(r.blendMode, "options.blendMode", uo); 29552 var f = this.node.newXObject("Image", e.ref), h = this.maybeEmbedGraphicsState({ 29553 opacity: r.opacity, 29554 blendMode: r.blendMode 29555 }), g = this.getContentStream(); 29556 g.push.apply(g, n_(f, { 29557 x: (n = r.x) !== null && n !== void 0 ? n : this.x, 29558 y: (i = r.y) !== null && i !== void 0 ? i : this.y, 29559 width: (o = r.width) !== null && o !== void 0 ? o : e.size().width, 29560 height: (a = r.height) !== null && a !== void 0 ? a : e.size().height, 29561 rotate: (s = r.rotate) !== null && s !== void 0 ? s : st(0), 29562 xSkew: (u = r.xSkew) !== null && u !== void 0 ? u : st(0), 29563 ySkew: (l = r.ySkew) !== null && l !== void 0 ? l : st(0), 29564 graphicsState: h 29565 })); 29566 }, t.prototype.drawPage = function(e, r) { 29567 var n, i, o, a, s; 29568 r === void 0 && (r = {}), te(e, "embeddedPage", [ 29569 [c_, "PDFEmbeddedPage"] 29570 ]), Ae(r.x, "options.x", ["number"]), Ae(r.y, "options.y", ["number"]), Ae(r.xScale, "options.xScale", ["number"]), Ae(r.yScale, "options.yScale", ["number"]), Ae(r.width, "options.width", ["number"]), Ae(r.height, "options.height", ["number"]), Ae(r.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(r.xSkew, "options.xSkew", [[Object, "Rotation"]]), Ae(r.ySkew, "options.ySkew", [[Object, "Rotation"]]), ui(r.opacity, "opacity.opacity", 0, 1), Un(r.blendMode, "options.blendMode", uo); 29571 var u = this.node.newXObject("EmbeddedPdfPage", e.ref), l = this.maybeEmbedGraphicsState({ 29572 opacity: r.opacity, 29573 blendMode: r.blendMode 29574 }), f = r.width !== void 0 ? r.width / e.width : r.xScale !== void 0 ? r.xScale : 1, h = r.height !== void 0 ? r.height / e.height : r.yScale !== void 0 ? r.yScale : 1, g = this.getContentStream(); 29575 g.push.apply(g, wL(u, { 29576 x: (n = r.x) !== null && n !== void 0 ? n : this.x, 29577 y: (i = r.y) !== null && i !== void 0 ? i : this.y, 29578 xScale: f, 29579 yScale: h, 29580 rotate: (o = r.rotate) !== null && o !== void 0 ? o : st(0), 29581 xSkew: (a = r.xSkew) !== null && a !== void 0 ? a : st(0), 29582 ySkew: (s = r.ySkew) !== null && s !== void 0 ? s : st(0), 29583 graphicsState: l 29584 })); 29585 }, t.prototype.drawSvgPath = function(e, r) { 29586 var n, i, o, a, s, u, l, f, h; 29587 r === void 0 && (r = {}), te(e, "path", ["string"]), Ae(r.x, "options.x", ["number"]), Ae(r.y, "options.y", ["number"]), Ae(r.scale, "options.scale", ["number"]), Ae(r.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(r.borderWidth, "options.borderWidth", ["number"]), Ae(r.color, "options.color", [[Object, "Color"]]), ui(r.opacity, "opacity.opacity", 0, 1), Ae(r.borderColor, "options.borderColor", [ 29588 [Object, "Color"] 29589 ]), Ae(r.borderDashArray, "options.borderDashArray", [ 29590 Array 29591 ]), Ae(r.borderDashPhase, "options.borderDashPhase", [ 29592 "number" 29593 ]), Un(r.borderLineCap, "options.borderLineCap", Rs), ui(r.borderOpacity, "options.borderOpacity", 0, 1), Un(r.blendMode, "options.blendMode", uo); 29594 var g = this.maybeEmbedGraphicsState({ 29595 opacity: r.opacity, 29596 borderOpacity: r.borderOpacity, 29597 blendMode: r.blendMode 29598 }); 29599 !("color" in r) && !("borderColor" in r) && (r.borderColor = Wt(0, 0, 0)); 29600 var d = this.getContentStream(); 29601 d.push.apply(d, CL(e, { 29602 x: (n = r.x) !== null && n !== void 0 ? n : this.x, 29603 y: (i = r.y) !== null && i !== void 0 ? i : this.y, 29604 scale: r.scale, 29605 rotate: (o = r.rotate) !== null && o !== void 0 ? o : st(0), 29606 color: (a = r.color) !== null && a !== void 0 ? a : void 0, 29607 borderColor: (s = r.borderColor) !== null && s !== void 0 ? s : void 0, 29608 borderWidth: (u = r.borderWidth) !== null && u !== void 0 ? u : 0, 29609 borderDashArray: (l = r.borderDashArray) !== null && l !== void 0 ? l : void 0, 29610 borderDashPhase: (f = r.borderDashPhase) !== null && f !== void 0 ? f : void 0, 29611 borderLineCap: (h = r.borderLineCap) !== null && h !== void 0 ? h : void 0, 29612 graphicsState: g 29613 })); 29614 }, t.prototype.drawLine = function(e) { 29615 var r, n, i, o, a; 29616 te(e.start, "options.start", [ 29617 [Object, "{ x: number, y: number }"] 29618 ]), te(e.end, "options.end", [ 29619 [Object, "{ x: number, y: number }"] 29620 ]), te(e.start.x, "options.start.x", ["number"]), te(e.start.y, "options.start.y", ["number"]), te(e.end.x, "options.end.x", ["number"]), te(e.end.y, "options.end.y", ["number"]), Ae(e.thickness, "options.thickness", ["number"]), Ae(e.color, "options.color", [[Object, "Color"]]), Ae(e.dashArray, "options.dashArray", [Array]), Ae(e.dashPhase, "options.dashPhase", ["number"]), Un(e.lineCap, "options.lineCap", Rs), ui(e.opacity, "opacity.opacity", 0, 1), Un(e.blendMode, "options.blendMode", uo); 29621 var s = this.maybeEmbedGraphicsState({ 29622 borderOpacity: e.opacity, 29623 blendMode: e.blendMode 29624 }); 29625 "color" in e || (e.color = Wt(0, 0, 0)); 29626 var u = this.getContentStream(); 29627 u.push.apply(u, SL({ 29628 start: e.start, 29629 end: e.end, 29630 thickness: (r = e.thickness) !== null && r !== void 0 ? r : 1, 29631 color: (n = e.color) !== null && n !== void 0 ? n : void 0, 29632 dashArray: (i = e.dashArray) !== null && i !== void 0 ? i : void 0, 29633 dashPhase: (o = e.dashPhase) !== null && o !== void 0 ? o : void 0, 29634 lineCap: (a = e.lineCap) !== null && a !== void 0 ? a : void 0, 29635 graphicsState: s 29636 })); 29637 }, t.prototype.drawRectangle = function(e) { 29638 var r, n, i, o, a, s, u, l, f, h, g, d, m; 29639 e === void 0 && (e = {}), Ae(e.x, "options.x", ["number"]), Ae(e.y, "options.y", ["number"]), Ae(e.width, "options.width", ["number"]), Ae(e.height, "options.height", ["number"]), Ae(e.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(e.xSkew, "options.xSkew", [[Object, "Rotation"]]), Ae(e.ySkew, "options.ySkew", [[Object, "Rotation"]]), Ae(e.borderWidth, "options.borderWidth", ["number"]), Ae(e.color, "options.color", [[Object, "Color"]]), ui(e.opacity, "opacity.opacity", 0, 1), Ae(e.borderColor, "options.borderColor", [ 29640 [Object, "Color"] 29641 ]), Ae(e.borderDashArray, "options.borderDashArray", [ 29642 Array 29643 ]), Ae(e.borderDashPhase, "options.borderDashPhase", [ 29644 "number" 29645 ]), Un(e.borderLineCap, "options.borderLineCap", Rs), ui(e.borderOpacity, "options.borderOpacity", 0, 1), Un(e.blendMode, "options.blendMode", uo); 29646 var b = this.maybeEmbedGraphicsState({ 29647 opacity: e.opacity, 29648 borderOpacity: e.borderOpacity, 29649 blendMode: e.blendMode 29650 }); 29651 !("color" in e) && !("borderColor" in e) && (e.color = Wt(0, 0, 0)); 29652 var S = this.getContentStream(); 29653 S.push.apply(S, tl({ 29654 x: (r = e.x) !== null && r !== void 0 ? r : this.x, 29655 y: (n = e.y) !== null && n !== void 0 ? n : this.y, 29656 width: (i = e.width) !== null && i !== void 0 ? i : 150, 29657 height: (o = e.height) !== null && o !== void 0 ? o : 100, 29658 rotate: (a = e.rotate) !== null && a !== void 0 ? a : st(0), 29659 xSkew: (s = e.xSkew) !== null && s !== void 0 ? s : st(0),
29660 ySkew: (u = e.ySkew) !== null && u !== void 0 ? u : st(0), 29661 borderWidth: (l = e.borderWidth) !== null && l !== void 0 ? l : 0, 29662 color: (f = e.color) !== null && f !== void 0 ? f : void 0, 29663 borderColor: (h = e.borderColor) !== null && h !== void 0 ? h : void 0, 29664 borderDashArray: (g = e.borderDashArray) !== null && g !== void 0 ? g : void 0, 29665 borderDashPhase: (d = e.borderDashPhase) !== null && d !== void 0 ? d : void 0, 29666 graphicsState: b, 29667 borderLineCap: (m = e.borderLineCap) !== null && m !== void 0 ? m : void 0 29668 })); 29669 }, t.prototype.drawSquare = function(e) { 29670 e === void 0 && (e = {}); 29671 var r = e.size; 29672 Ae(r, "size", ["number"]), this.drawRectangle(ht(ht({}, e), { width: r, height: r })); 29673 }, t.prototype.drawEllipse = function(e) { 29674 var r, n, i, o, a, s, u, l, f, h, g; 29675 e === void 0 && (e = {}), Ae(e.x, "options.x", ["number"]), Ae(e.y, "options.y", ["number"]), Ae(e.xScale, "options.xScale", ["number"]), Ae(e.yScale, "options.yScale", ["number"]), Ae(e.rotate, "options.rotate", [[Object, "Rotation"]]), Ae(e.color, "options.color", [[Object, "Color"]]), ui(e.opacity, "opacity.opacity", 0, 1), Ae(e.borderColor, "options.borderColor", [ 29676 [Object, "Color"] 29677 ]), ui(e.borderOpacity, "options.borderOpacity", 0, 1), Ae(e.borderWidth, "options.borderWidth", ["number"]), Ae(e.borderDashArray, "options.borderDashArray", [ 29678 Array 29679 ]), Ae(e.borderDashPhase, "options.borderDashPhase", [ 29680 "number" 29681 ]), Un(e.borderLineCap, "options.borderLineCap", Rs), Un(e.blendMode, "options.blendMode", uo); 29682 var d = this.maybeEmbedGraphicsState({ 29683 opacity: e.opacity, 29684 borderOpacity: e.borderOpacity, 29685 blendMode: e.blendMode 29686 }); 29687 !("color" in e) && !("borderColor" in e) && (e.color = Wt(0, 0, 0)); 29688 var m = this.getContentStream(); 29689 m.push.apply(m, Cv({ 29690 x: (r = e.x) !== null && r !== void 0 ? r : this.x, 29691 y: (n = e.y) !== null && n !== void 0 ? n : this.y, 29692 xScale: (i = e.xScale) !== null && i !== void 0 ? i : 100, 29693 yScale: (o = e.yScale) !== null && o !== void 0 ? o : 100, 29694 rotate: (a = e.rotate) !== null && a !== void 0 ? a : void 0, 29695 color: (s = e.color) !== null && s !== void 0 ? s : void 0, 29696 borderColor: (u = e.borderColor) !== null && u !== void 0 ? u : void 0, 29697 borderWidth: (l = e.borderWidth) !== null && l !== void 0 ? l : 0, 29698 borderDashArray: (f = e.borderDashArray) !== null && f !== void 0 ? f : void 0, 29699 borderDashPhase: (h = e.borderDashPhase) !== null && h !== void 0 ? h : void 0, 29700 borderLineCap: (g = e.borderLineCap) !== null && g !== void 0 ? g : void 0, 29701 graphicsState: d 29702 })); 29703 }, t.prototype.drawCircle = function(e) { 29704 e === void 0 && (e = {}); 29705 var r = e.size, n = r === void 0 ? 100 : r; 29706 Ae(n, "size", ["number"]), this.drawEllipse(ht(ht({}, e), { xScale: n, yScale: n })); 29707 }, t.prototype.setOrEmbedFont = function(e) { 29708 var r = this.font, n = this.fontKey; 29709 e ? this.setFont(e) : this.getFont(); 29710 var i = this.font, o = this.fontKey; 29711 return { oldFont: r, oldFontKey: n, newFont: i, newFontKey: o }; 29712 }, t.prototype.getFont = function() { 29713 if (!this.font || !this.fontKey) { 29714 var e = this.doc.embedStandardFont(fd.Helvetica); 29715 this.setFont(e); 29716 } 29717 return [this.font, this.fontKey]; 29718 }, t.prototype.resetFont = function() { 29719 this.font = void 0, this.fontKey = void 0; 29720 }, t.prototype.getContentStream = function(e) { 29721 return e === void 0 && (e = !0), e && this.contentStream ? this.contentStream : (this.contentStream = this.createContentStream(), this.contentStreamRef = this.doc.context.register(this.contentStream), this.node.addContentStream(this.contentStreamRef), this.contentStream); 29722 }, t.prototype.createContentStream = function() { 29723 for (var e = [], r = 0; r < arguments.length; r++) 29724 e[r] = arguments[r]; 29725 var n = this.doc.context.obj({}), i = bu.of(n, e); 29726 return i; 29727 }, t.prototype.maybeEmbedGraphicsState = function(e) { 29728 var r = e.opacity, n = e.borderOpacity, i = e.blendMode; 29729 if (!(r === void 0 && n === void 0 && i === void 0)) { 29730 var o = this.doc.context.obj({ 29731 Type: "ExtGState", 29732 ca: r, 29733 CA: n, 29734 BM: i 29735 }), a = this.node.newExtGState("GS", o); 29736 return a; 29737 } 29738 }, t.prototype.scaleAnnot = function(e, r, n) { 29739 for (var i = ["RD", "CL", "Vertices", "QuadPoints", "L", "Rect"], o = 0, a = i.length; o < a; o++) { 29740 var s = e.lookup(R.of(i[o])); 29741 s instanceof Lt && s.scalePDFNumbers(r, n); 29742 } 29743 var u = e.lookup(R.of("InkList")); 29744 if (u instanceof Lt) 29745 for (var o = 0, a = u.size(); o < a; o++) { 29746 var l = u.lookup(o); 29747 l instanceof Lt && l.scalePDFNumbers(r, n); 29748 } 29749 }, t.of = function(e, r, n) { 29750 return new t(e, r, n); 29751 }, t.create = function(e) { 29752 te(e, "doc", [[ia, "PDFDocument"]]); 29753 var r = zt.of(-1), n = xo.withContextAndParent(e.context, r), i = e.context.register(n); 29754 return new t(n, i, e); 29755 }, t; 29756 }() 29757), n8 = ( 29758 /** @class */ 29759 function(t) { 29760 Ne(e, t); 29761 function e(r, n, i) { 29762 var o = t.call(this, r, n, i) || this; 29763 return te(r, "acroButton", [ 29764 [Qd, "PDFAcroPushButton"] 29765 ]), o.acroField = r, o; 29766 } 29767 return e.prototype.setImage = function(r, n) { 29768 n === void 0 && (n = Jo.Center); 29769 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 29770 var s = i[o], u = this.createImageAppearanceStream(s, r, n); 29771 this.updateWidgetAppearances(s, { normal: u }); 29772 } 29773 this.markAsClean(); 29774 }, e.prototype.setFontSize = function(r) { 29775 Gd(r, "fontSize"), this.acroField.setFontSize(r), this.markAsDirty(); 29776 }, e.prototype.addToPage = function(r, n, i) { 29777 var o, a, s, u, l, f, h, g, d, m, b; 29778 Ae(r, "text", ["string"]), Ae(n, "page", [[Wn, "PDFPage"]]), hl(i); 29779 var S = this.createWidget({ 29780 x: ((o = i?.x) !== null && o !== void 0 ? o : 0) - ((a = i?.borderWidth) !== null && a !== void 0 ? a : 0) / 2, 29781 y: ((s = i?.y) !== null && s !== void 0 ? s : 0) - ((u = i?.borderWidth) !== null && u !== void 0 ? u : 0) / 2, 29782 width: (l = i?.width) !== null && l !== void 0 ? l : 100, 29783 height: (f = i?.height) !== null && f !== void 0 ? f : 50, 29784 textColor: (h = i?.textColor) !== null && h !== void 0 ? h : Wt(0, 0, 0), 29785 backgroundColor: (g = i?.backgroundColor) !== null && g !== void 0 ? g : Wt(0.75, 0.75, 0.75), 29786 borderColor: i?.borderColor, 29787 borderWidth: (d = i?.borderWidth) !== null && d !== void 0 ? d : 0, 29788 rotate: (m = i?.rotate) !== null && m !== void 0 ? m : st(0), 29789 caption: r, 29790 hidden: i?.hidden, 29791 page: n.ref 29792 }), w = this.doc.context.register(S.dict); 29793 this.acroField.addWidget(w); 29794 var D = (b = i?.font) !== null && b !== void 0 ? b : this.doc.getForm().getDefaultFont(); 29795 this.updateWidgetAppearance(S, D), n.node.addAnnot(w); 29796 }, e.prototype.needsAppearancesUpdate = function() { 29797 var r; 29798 if (this.isDirty()) 29799 return !0; 29800 for (var n = this.acroField.getWidgets(), i = 0, o = n.length; i < o; i++) { 29801 var a = n[i], s = ((r = a.getAppearances()) === null || r === void 0 ? void 0 : r.normal) instanceof kn; 29802 if (!s) 29803 return !0; 29804 } 29805 return !1; 29806 }, e.prototype.defaultUpdateAppearances = function(r) { 29807 te(r, "font", [[In, "PDFFont"]]), this.updateAppearances(r); 29808 }, e.prototype.updateAppearances = function(r, n) { 29809 te(r, "font", [[In, "PDFFont"]]), Ae(n, "provider", [Function]); 29810 for (var i = this.acroField.getWidgets(), o = 0, a = i.length; o < a; o++) { 29811 var s = i[o]; 29812 this.updateWidgetAppearance(s, r, n); 29813 } 29814 }, e.prototype.updateWidgetAppearance = function(r, n, i) { 29815 var o = i ?? GL, a = dl(o(this, r, n)); 29816 this.updateWidgetAppearanceWithFont(r, n, a); 29817 }, e.of = function(r, n, i) { 29818 return new e(r, n, i); 29819 }, e; 29820 }(ls) 29821); 29822const Of = n8; 29823var f_ = { exports: {} }; 29824(function(t, e) { 29825 (function(r, n) { 29826 t.exports = n(); 29827 })(Qu, function() { 29828 return function r(n, i, o) { 29829 var a = window, s = "application/octet-stream", u = o || s, l = n, f = !i && !o && l, h = document.createElement("a"), g = function(N) { 29830 return String(N); 29831 }, d = a.Blob || a.MozBlob || a.WebKitBlob || g, m = i || "download", b, S; 29832 if (d = d.call ? d.bind(a) : Blob, String(this) === "true" && (l = [l, u], u = l[0], l = l[1]), f && f.length < 2048 && (m = f.split("/").pop().split("?")[0], h.href = f, h.href.indexOf(f) !== -1)) { 29833 var w = new XMLHttpRequest(); 29834 return w.open("GET", f, !0), w.responseType = "blob", w.onload = function(N) { 29835 r(N.target.response, m, s); 29836 }, setTimeout(function() { 29837 w.send(); 29838 }, 0), w; 29839 } 29840 if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(l)) 29841 if (l.length > 1024 * 1024 * 1.999 && d !== g) 29842 l = x(l), u = l.type || s; 29843 else 29844 return navigator.msSaveBlob ? ( 29845 // IE10 can't do a[download], only Blobs: 29846 navigator.msSaveBlob(x(l), m) 29847 ) : p(l); 29848 else if (/([\x80-\xff])/.test(l)) { 29849 var D = 0, T = new Uint8Array(l.length), _ = T.length; 29850 for (D; D < _; ++D) 29851 T[D] = l.charCodeAt(D); 29852 l = new d([T], { type: u }); 29853 } 29854 b = l instanceof d ? l : new d([l], { type: u }); 29855 function x(N) { 29856 var V = N.split(/[:;,]/), P = V[1], M = V[2] == "base64" ? atob : decodeURIComponent, U = M(V.pop()), re = U.length, Q = 0, ne = new Uint8Array(re); 29857 for (Q; Q < re; ++Q)
29858 ne[Q] = U.charCodeAt(Q); 29859 return new d([ne], { type: P }); 29860 } 29861 function p(N, V) { 29862 if ("download" in h) 29863 return h.href = N, h.setAttribute("download", m), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() { 29864 h.click(), document.body.removeChild(h), V === !0 && setTimeout(function() { 29865 a.URL.revokeObjectURL(h.href); 29866 }, 250); 29867 }, 66), !0; 29868 if (/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent)) 29869 return /^data:/.test(N) && (N = "data:" + N.replace(/^data:([\w\/\-\+]+)/, s)), window.open(N) || confirm(`Displaying New Document 29870 29871Use Save As... to download, then click back to return to this page.`) && (location.href = N), !0; 29872 var P = document.createElement("iframe"); 29873 document.body.appendChild(P), !V && /^data:/.test(N) && (N = "data:" + N.replace(/^data:([\w\/\-\+]+)/, s)), P.src = N, setTimeout(function() { 29874 document.body.removeChild(P); 29875 }, 333); 29876 } 29877 if (navigator.msSaveBlob) 29878 return navigator.msSaveBlob(b, m); 29879 if (a.URL) 29880 p(a.URL.createObjectURL(b), !0); 29881 else { 29882 if (typeof b == "string" || b.constructor === g) 29883 try { 29884 return p("data:" + u + ";base64," + a.btoa(b)); 29885 } catch { 29886 return p("data:" + u + "," + encodeURIComponent(b)); 29887 } 29888 S = new FileReader(), S.onload = function(N) { 29889 p(this.result); 29890 }, S.readAsDataURL(b); 29891 } 29892 return !0; 29893 }; 29894 }); 29895})(f_); 29896var i8 = f_.exports; 29897const o8 = /* @__PURE__ */ Qa(i8), a8 = ["name", "value"], wp = /* @__PURE__ */ Gu({ 29898 __name: "NumericInput", 29899 props: { 29900 value: { 29901 type: String, 29902 default: void 0 29903 }, 29904 name: { 29905 type: String, 29906 required: !0 29907 } 29908 }, 29909 setup(t) { 29910 const e = t, r = /* @__PURE__ */ wn(e, "name"), { 29911 value: n, 29912 handleChange: i, 29913 handleBlur: o 29914 } = dx(r, void 0, { 29915 initialValue: e.value 29916 }); 29917 function a(s) { 29918 const u = s.target, l = u.value.replace(/\D/g, ""); 29919 u.value !== l && (u.value = l), i(l, !1); 29920 } 29921 return (s, u) => (Qt(), er("input", { 29922 type: "text", 29923 name: r.value, 29924 value: ke(n), 29925 onInput: a, 29926 onBlur: u[0] || (u[0] = //@ts-ignore 29927 (...l) => ke(o) && ke(o)(...l)) 29928 }, null, 40, a8)); 29929 } 29930}), s8 = ["id"], l8 = { class: "product-finder" }, u8 = ["innerHTML"], c8 = { class: "d-flex flex-wrap gap-3" }, f8 = { class: "flex-fill" }, d8 = ["id", "name"], h8 = ["for"], p8 = ["id", "name"], v8 = ["for"], g8 = { 29931 key: 0, 29932 class: "checkProductOption" 29933}, m8 = { class: "form-check-checkbox" }, y8 = ["for"], b8 = { 29934 key: 0, 29935 class: "checkProductOption" 29936}, E8 = { class: "form-check-checkbox" }, x8 = ["for"], w8 = { 29937 key: 0, 29938 class: "checkProductOption" 29939}, S8 = { class: "form-check-checkbox" }, _8 = ["for"], T8 = { class: "flex-fill heizstrom-select invisible d-none d-lg-inline-block" }, C8 = { class: "input-group" }, O8 = { class: "row form-row" }, A8 = { class: "d-flex flex-wrap" }, N8 = { class: "col-12 col-md-6 col-lg-4 consumption-zip-col" }, k8 = { class: "col-12" }, D8 = ["for"], P8 = { class: "col-12" }, F8 = { class: "input-group" }, R8 = { 29940 key: 0, 29941 class: "col-12" 29942}, I8 = { class: "col-12" }, M8 = ["for"], V8 = { class: "input-group" }, L8 = ["id"], j8 = ["value", "disabled"], B8 = { class: "col-12 col-lg-4 consumption-slider-col" }, U8 = { class: "col-12" }, H8 = ["for"], z8 = { class: "col-12" }, W8 = ["id"], q8 = ["id", "aria-labelledby"], K8 = ["for"], G8 = ["id"], X8 = ["id", "aria-labelledby"], Y8 = ["for"], Z8 = ["id"], J8 = ["id", "aria-labelledby"], Q8 = ["for"], $8 = ["id"], ej = ["id", "aria-labelledby"], tj = ["for"], rj = ["id"], nj = ["id", "aria-labelledby"], ij = ["for"], oj = ["id"], aj = { class: "col-12 d-flex flex-row justify-content-between align-items-center slider-flex-row" }, sj = ["id"], lj = { class: "slider-range-section" }, uj = ["id", "aria-labelledby"], cj = ["id"], fj = ["id"], dj = ["id"], hj = { class: "col-12 col-md-6 col-lg-4 consumption-col" }, pj = { class: "col-12" }, vj = ["for"], gj = { class: "col-12" }, mj = { class: "input-group" }, yj = { class: "col-12 col-md-6 col-lg-4 consumption-col" }, bj = { class: "col-12" }, Ej = ["for"], xj = { class: "col-12" }, wj = { class: "input-group" }, Sj = { class: "col-12 mt-2" }, _j = { class: "input-group" }, Tj = { class: "row form-row consumption-calc-btn" }, Cj = { class: "col-12" }, Oj = { class: "float-start float-lg-end" }, Aj = ["disabled"], Nj = { key: 0 }, kj = { key: 1 }, Dj = { class: "text-center" }, Pj = ["id"], Fj = { 29943 key: 1, 29944 class: "alert alert-danger fade show mt-5", 29945 role: "alert" 29946}, Rj = ["innerHTML"], Ij = { key: 1 }, Mj = { key: 2 }, Vj = { 29947 key: 2, 29948 class: "alert alert-dismissible alert-warning fade show", 29949 role: "alert" 29950}, Lj = { key: 0 }, jj = ["data-amount-tariffs"], Bj = { 29951 class: "tariff-bullets", 29952 currentBullet: "1" 29953}, Uj = ["aria-label", "onClick"], Hj = { 29954 class: "d-flex flex-nowrap justify-content-between tariff-cards-display", 29955 "data-scroll-step": "0" 29956}, zj = ["innerHTML"], Wj = ["id"], qj = ["innerHTML"], Kj = { 29957 __name: "productSearch.ce", 29958 props: [ 29959 "widget", 29960 "mediatype", 29961 "customertype", 29962 // 'PRIVATE' || 'BUSINESS' 29963 "heatingcurrent", 29964 "carusage", 29965 "dynamicProduct", 29966 "heatingcurrenttype", 29967 // 'HEAT_PUMP' || 'NIGHT_STORAGE_HEATING' 29968 "tarifftype", 29969 "tariffexclusive", 29970 "context" 29971 ], 29972 setup(t) { 29973 var e = [1500, 2500, 3e3, 3500, 4e3], r = [5e3, 12e3, 18e3, 25e3, 3e4], n = 0, i = null, o = null, a = null; 29974 const s = /* @__PURE__ */ tr(!1), u = /* @__PURE__ */ tr({ codeNo: null, name: null, supplyAreaId: null, value: "" }), l = { codeNo: null, name: "Bitte wählen", supplyAreaId: null, value: "", disabled: !0 }, f = /* @__PURE__ */ tr([]); 29975 var h = !1; 29976 const g = /* @__PURE__ */ tr(!1), d = /* @__PURE__ */ tr({}); 29977 let m = !1, b = !1; 29978 const S = /* @__PURE__ */ tr(!1), w = /* @__PURE__ */ tr(!1), D = /* @__PURE__ */ tr(!0), T = /* @__PURE__ */ tr(null), _ = /* @__PURE__ */ tr({}), x = Vt(() => `${p.value}-`), p = Vt(() => ["", void 0, null].includes(G.context) ? `ps-${G.mediatype}` : `ps-${G.mediatype}-${G.context}`), N = "https://onlineservice.eins.de/powercommerce/eins/fo", V = "https://www.eins.de/privatkunden", P = "https://empfehlen-admin.pso-vertrieb.de/api/v1/eins/tracking/einsprung", M = !1; 29979 o0().createToken(); 29980 const re = YA(); 29981 re.checkMaintenance(); 29982 const { maintenanceChecked: Q } = Kl(re), { maintenanceMessage: ne } = Kl(re), ee = ZA(), { tariffsResult: L } = Kl(ee), { tariffDetails: Z } = Kl(ee); 29983 mN({ 29984 validateOnBlur: !1, 29985 validateOnChange: !1, 29986 validateOnInput: !1, 29987 validateOnModelUpdate: !1 29988 }); 29989 const G = t, se = window.location.search, de = new URLSearchParams(se); 29990 let Re = de.has("locationData") && de.has("consumption"); 29991 const ze = !(G.carusage == "true" || G.dynamicProduct == "true"), je = !(G.heatingcurrent == "true" || G.dynamicProduct == "true"), Le = M; 29992 let be = G.tarifftype, Ve = G.tariffexclusive === "true"; 29993 const { initAutocomplete: Be, hideAutocomplete: Pe, populateAutocomplete: $e } = UA(), rt = Vt(() => Ew().shape({ 29994 consumption: vf().typeError("Ihr Jahresverbrauch muss ganzzahlig sein.").positive("Ihr Jahresverbrauch darf nicht negativ sein.").integer("Ihr Jahresverbrauch muss ganzzahlig sein.").test( 29995 "required", 29996 "Bitte geben Sie Ihren Jahresverbrauch in kWh ein.", 29997 function(oe) { 29998 return oe || w.value; 29999 } 30000 ), 30001 consumptionHT: vf().typeError("Ihr Jahresverbrauch HT muss ganzzahlig sein.").positive("Ihr Jahresverbrauch HT darf nicht negativ sein.").integer("Ihr Jahresverbrauch HT muss ganzzahlig sein.").test( 30002 "required", 30003 "Bitte geben Sie Ihren Jahresverbrauch HT in kWh ein.", 30004 function(oe) { 30005 return oe || !w.value; 30006 } 30007 ), 30008 consumptionNT: vf().typeError("Ihr Jahresverbrauch NT muss ganzzahlig sein.").positive("Ihr Jahresverbrauch NT darf nicht negativ sein.").integer("Ihr Jahresverbrauch NT muss ganzzahlig sein.").test( 30009 "required", 30010 "Bitte geben Sie Ihren Jahresverbrauch NT in kWh ein.", 30011 function(oe) { 30012 return oe || !w.value; 30013 } 30014 ), 30015 locationData: pf().required("Postleitzahl und Wohnort sind erforderlich."), 30016 heatingCurrentSelection: pf().when("heatingCurrent", (oe, ye) => Y(`#${x.value}HeatingCurrent`).is(":checked") ? ye.required("Bitte wählen Sie eine Heizstromart aus.") : ye.notRequired()), 30017 systemOperatorSelection: pf().when("systemOperatorRequired", (oe, ye) => s.value && u.value.codeNo == null ? ye.required("Bitte wählen Sie Ihren Netzbetreiber aus.") : ye.notRequired()) 30018 })), _t = Vt(() => { 30019 const oe = /* @__PURE__ */ new Map(); 30020 return oe.set("private", `#${x.value}ProductSearchRadioCustomerTypePrivate`), oe.set("business", `#${x.value}ProductSearchRadioCustomerTypeBusiness`), oe.set("heating", `#${x.value}HeatingCurrent`), oe.set("carUsage", `#${x.value}CarUsage`), oe.set("dynamicProduct", `#${x.value}DynamicProduct`), oe; 30021 }); 30022 let ar = null; 30023 Y(function() { 30024 if (Y(`#${x.value}ProductSearchRadioCustomerTypePrivate`).on("change", function() { 30025 Y(this).is(":checked") && (_e(["private"]), Ue(["private"]), le(!1), j(), D.value = !0); 30026 }), Y(`#${x.value}ProductSearchRadioCustomerTypeBusiness`).on("change", function() { 30027 Y(this).is(":checked") && (_e(["business"]), Ue(["business"]), le(!1), j(), D.value = !1); 30028 }), Y(`#${x.value}CarUsage`).on("change", function() { 30029 const It = Y(this).is(":checked"); 30030 It ? (_e(["carUsage", "private"]), Ue(["carUsage", "private"]), le(!0), j(), D.value = !It) : Oe(); 30031 }), Y(`#${x.value}DynamicProduct`).on("change", function() { 30032 Y(this).is(":checked") ? (_e(["private"]), Ue(["dynamicProduct", "private"]), le(!1), j(), D.value = !0) : Oe(); 30033 }), Y(`#${x.value}HeatingCurrent`).on("change", function() { 30034 Y(this).prop("checked") ? (_e(["heating"]), Ue(["heating"]), le(!0), j(), D.value = !1) : Oe(); 30035 }), Y(`#${x.value}SliderMinus`).on("click", function() { 30036 var It = document.getElementById(`${x.value}SliderRange`).value; 30037 It != null && It >= 1 && Ee(It - 1), q(); 30038 }), Y(`#${x.value}SliderPlus`).on("click", function() { 30039 var It = 0; 30040 document.getElementById(`${x.value}SliderRange`).value != null && document.getElementById(`${x.value}Input-range-slider-value`).innerText.length > 0 && (It = document.getElementById(`${x.value}SliderRange`).value), parseInt(It) < 4 && (document.getElementById(`${x.value}Input-range-slider-value`).innerText.length > 0 ? Ee(parseInt(It) + 1) : Ee(parseInt(It))), q(); 30041 }), Y(`#${x.value}LocationData`).on("keyup change blur", function(It) { 30042 const dr = It.key; 30043 ["Enter", "ArrowUp", "ArrowDown"].includes(dr) || F(); 30044 }), ar = Tt(window.innerWidth), Y(window).on("resize", function() { 30045 ar != Tt(window.innerWidth) && Dr(), ar = Tt(window.innerWidth); 30046 }), Be(`${x.value}LocationData`), de.has("locationData")) { 30047 Y(`#${x.value}LocationData`).val(de.get("locationData")), T.value.setFieldValue("locationData", de.get("locationData")); 30048 var oe = de.get("locationData"), ye = oe.substring(0, 5), Je = oe.substring(6, oe.length); 30049 !isNaN(ye) && ye.length == 5 && (i = ye, Je && Je.length > 0 && (o = Je)); 30050 } 30051 if (de.has("heatingCurrent") && de.get("heatingCurrent") == "true" || G.heatingcurrent != null && G.heatingcurrent == "true") 30052 Y(`#${x.value}HeatingCurrent`).trigger("click"); 30053 else if (de.has("customerType") || G.customertype != null) { 30054 var cr = null;
30055 de.get("customerType") != null ? cr = de.get("customerType") : cr = G.customertype, Y(`#${p.value} input[name="${G.mediatype}ProductSearchRadioCustomerType"][value="${cr}"]`).trigger("click"); 30056 } 30057 if ((de.has("carUsage") && de.get("carUsage") == "true" || G.carusage != null && G.carusage == "true") && Y(`#${x.value}CarUsage`).trigger("click"), (de.has("dynamicProduct") && de.get("dynamicProduct") == "true" || G.dynamicProduct != null && G.dynamicProduct == "true") && Y(`#${x.value}DynamicProduct`).trigger("click"), de.has("consumption") && (Y(`#${x.value}Consumption`).val(de.get("consumption")), T.value.setFieldValue("consumption", de.get("consumption")), W()), de.has("consumptionHT") && (Y(`#${x.value}ConsumptionHT`).val(de.get("consumptionHT")), T.value.setFieldValue("consumptionHT", de.get("consumptionHT"))), de.has("consumptionNT") && (Y(`#${x.value}ConsumptionNT`).val(de.get("consumptionNT")), T.value.setFieldValue("consumptionNT", de.get("consumptionNT"))), de.has("heatingCurrentSelection") || G.heatingcurrenttype != null) { 30058 var Zr = null; 30059 de.get("heatingCurrentSelection") != null ? Zr = de.get("heatingCurrentSelection") : Zr = G.heatingcurrenttype, Y(`#${x.value}HeatingCurrentSelection`).val(Zr), T.value.setFieldValue("heatingCurrentSelection", Zr); 30060 } 30061 de.has("locationData") && (de.has("consumption") || de.has("consumptionHT") && de.has("consumptionNT")) && ve(!1, function() { 30062 Pr(); 30063 }), de.has("supplyAreaId") && (a = de.get("supplyAreaId")), de.get("tariffType") != null && (be = de.get("tariffType")), de.get("tariffExclusive") != null && (Ve = de.get("tariffExclusive") === "true"), Y(`#${x.value}Consumption`).on("keyup change blur", function() { 30064 W(), q(); 30065 }), Y(`#${x.value}ConsumptionHT,#${x.value}ConsumptionNT`).on("keyup change blur", function() { 30066 q(); 30067 }); 30068 }); 30069 function Tt(oe) { 30070 return oe <= 767 ? 1 : oe <= 991 ? 2 : 3; 30071 } 30072 function F() { 30073 d.value = {}, q(); 30074 var oe = ++n; 30075 Y(`#${x.value}LocationData`).val().length == 0 && (h = !1, s.value = !1), Y(`#${x.value}LocationData`).val().length == 5 && !isNaN(Y(`#${x.value}LocationData`).val()) && (i = Y(`#${x.value}LocationData`).val()), !h && Y(`#${x.value}LocationData`).val().length >= 3 ? K(Y(`#${x.value}LocationData`).val(), !1, "SUPPLYAREA", oe, function(ye) { 30076 var Je = ye.substr(0, 5), Ye = ye.substring(6, ye.length); 30077 !isNaN(Je) && Je.length == 5 && (i = Je, Ye && Ye.length > 0 && (o = Ye, ve())); 30078 }) : (Pe(), Ci()); 30079 } 30080 function q() { 30081 L.value = {}, Z.value = {}; 30082 } 30083 function K(oe, ye, Je, Ye, cr) { 30084 ce(oe, Je, function(Ze, fr, Zr) { 30085 Ye < n || (Ze == "AMBIGUOUS" || Ze == "POSSIBLE" ? Zr && Zr < 500 ? ($e(fr, cr), Zr && Zr > 10 ? (Y(`.${x.value}LocationData`).css("max-height", "230px"), Y(`.${x.value}LocationData`).css("overflow-x", "hidden"), Y(`.${x.value}LocationData`).css("overflow-y", "auto")) : (Y(`.${x.value}LocationData`).css("max-height", ""), Y(`.${x.value}LocationData`).css("overflow-x", ""), Y(`.${x.value}LocationData`).css("overflow-y", ""))) : Pe() : (Pe(), Ci())); 30086 }); 30087 } 30088 async function ce(oe, ye, Je) { 30089 ye != null && qo.getCachedJSON( 30090 N + "/portal/generalSupplyAreaSearch.json", 30091 { 30092 widget: !0, 30093 mediaType: G.mediatype.toUpperCase(), 30094 locationData: oe, 30095 searchType: ye 30096 }, 30097 function(Ye) { 30098 var cr = Ye.supply, Ze = Ye.options, fr = 0; 30099 Ze != null && Y.each(Ze, function(Zr, It) { 30100 fr++; 30101 }), Je(cr, Ze, fr); 30102 } 30103 ); 30104 } 30105 function ve(oe, ye) { 30106 ge(oe, function(Je, Ye, cr) { 30107 f.value = Ye.map((fr) => ({ codeNo: fr.right, name: fr.middle, supplyAreaId: fr.left, value: `${fr.left}|${fr.right}` })), Je == "POSSIBLE" && cr == 1 ? (s.value = !1, u.value = f.value[0]) : Je == "AMBIGUOUS" ? (s.value = !0, f.value = [l, ...f.value], u.value = f.value[0]) : Je == "NOT_POSSIBLE" && (s.value = !1, Ci()); 30108 const Ze = f.value.find((fr) => fr.supplyAreaId === a); 30109 Ze !== void 0 && (u.value = Ze), ye?.(); 30110 }); 30111 } 30112 function ge(oe, ye) { 30113 qo.getCachedJSON( 30114 N + "/portal/systemOperatorSearch.json", 30115 { 30116 checkSupply: !0, 30117 widget: !1, 30118 mediaType: G.mediatype.toUpperCase(), 30119 postalCode: i, 30120 cityWithDistrict: o, 30121 initialize: oe 30122 }, 30123 function(Je) { 30124 var Ye = Je.supply, cr = Je.supplyAreaAndSystemOperators, Ze = 0; 30125 cr != null && Y.each(cr, function(fr, Zr) { 30126 Ze++; 30127 }), ye(Ye, cr, Ze); 30128 } 30129 ); 30130 } 30131 function Ce() { 30132 document.getElementById(`${x.value}SliderRange`).value = 0, Y(`label[for^="${x.value}
30132PersonRadio"]`).removeClass("before-checked"), Y(`input[id^="${x.value}PersonRadio"]`).prop("checked", !1), document.getElementById(`${x.value}Input-range-slider-value`).innerText = ""; 30133 } 30134 function Ee(oe, ye = !0) { 30135 switch (ye && (G.mediatype == "power" ? T.value.setFieldValue("consumption", e[oe]) : T.value.setFieldValue("consumption", r[oe])), Y(`label[for^="${x.value}PersonRadio"]`).removeClass("before-checked"), Y(`input[id^="${x.value}PersonRadio"]`).prop("checked", !1), document.getElementById(`${x.value}SliderRange`).value = oe, He(document.getElementById(`${x.value}SliderRange`), document.getElementById(`${x.value}Input-range-slider-value`)), parseInt(oe)) { 30136 case 0: 30137 Y(`#${x.value}PersonRadio0`).trigger("click"), Y(`label[for^="${x.value}PersonRadio0"]`).addClass("before-checked"); 30138 break; 30139 case 1: 30140 Y(`#${x.value}PersonRadio1`).trigger("click"), Y(`label[for^="${x.value}PersonRadio0"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio1"]`).addClass("before-checked"); 30141 break; 30142 case 2: 30143 Y(`#${x.value}PersonRadio2`).trigger("click"), Y(`label[for^="${x.value}PersonRadio0"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio1"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio2"]`).addClass("before-checked"); 30144 break; 30145 case 3: 30146 Y(`#${x.value}PersonRadio3`).trigger("click"), Y(`label[for^="${x.value}PersonRadio0"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio1"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio2"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio3"]`).addClass("before-checked"); 30147 break; 30148 case 4: 30149 Y(`#${x.value}PersonRadio4`).trigger("click"), Y(`label[for^="${x.value}PersonRadio0"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio1"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio2"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio3"]`).addClass("before-checked"), Y(`label[for^="${x.value}PersonRadio4"]`).addClass("before-checked"); 30150 break; 30151 } 30152 } 30153 function W() { 30154 Ce(); 30155 const oe = parseInt(Y(`#${x.value}Consumption`).val()); 30156 if (!Number.isInteger(oe)) 30157 return; 30158 let ye = e; 30159 G.mediatype == "gas" && (ye = r); 30160 const Je = ye.findIndex((cr) => cr >= oe), Ye = Je === -1 ? ye.length - 1 : Je; 30161 Ee(Ye, !1); 30162 } 30163 function j() { 30164 T.value.setFieldValue("heatingCurrentSelection", null), ie(Y(`#${x.value}HeatingCurrent`).is(":checked")), q(); 30165 } 30166 function ie(oe) { 30167 oe ? Y(`#${p.value} .heizstrom-select`).removeClass("invisible d-none").addClass("visible d-inline-block") : Y(`#${p.value} .heizstrom-select`).removeClass("visible d-inline-block").addClass("invisible d-none"); 30168 } 30169 function le(oe) { 30170 w.value !== oe && Ie(), w.value && !oe && Ce(), w.value = oe; 30171 } 30172 function _e(oe) { 30173 Y(`#${p.value} .radios-customer-type,#${p.value} .product-finder-input-container.${G.mediatype}`).removeClass("private business heating carUsage").addClass(oe); 30174 } 30175 function Oe() { 30176 Y(`#${x.value}ProductSearchRadioCustomerTypePrivate`).prop("checked", !0).trigger("change"); 30177 } 30178 function Ie() { 30179 Y(`#${x.value}Consumption,#${x.value}ConsumptionHT,#${x.value}ConsumptionNT`).val(""); 30180 } 30181 function Ue(oe) { 30182 _t.value.forEach((ye, Je) => { 30183 const Ye = oe.includes(Je); 30184 Y(ye).prop("checked", Ye); 30185 }); 30186 } 30187 Y(function() { 30188 document.getElementById(`${x.value}SliderRange`).oninput = function() { 30189 He(this, document.getElementById(`${x.value}Input-range-slider-value`)), Ee(this.value); 30190 }, Y(`label[for^="${x.value}PersonRadio"]`).on("click", function() { 30191 He(document.getElementById(`${x.value}SliderRange`), document.getElementById(`${x.value}Input-range-slider-value`)); 30192 }); 30193 }); 30194 function He(oe, ye) { 30195 ye.innerText = parseInt(oe.value) + 1, ye.style.marginLeft = "calc(" + 100 / oe.getAttribute("max") * oe.value + "% - " + oe.value * 8 + "px)"; 30196 } 30197 function at(oe) { 30198 var ye = parseInt(Y(`#${p.value} .tariffs-display-container`).attr("data-amount-tariffs")), Je = parseInt(Y(`#${p.value} .tariff-cards-display`).attr("data-scroll-step")), Ye = Rm(ye, Y("body").outerWidth(!0)); 30199 if (ye != 1 && !(ye == 2 && Y("body").outerWidth(!0) >= 992) && !(ye == 3 && Y("body").outerWidth(!0) >= 992)) 30200 switch (oe) {
30201 case "left": 30202 Je + Ye > 0 && (Je = Je - 1, $t(Je, ye)); 30203 break; 30204 case "right": 30205 Je < 0 && (Je = Je + 1, $t(Je, ye)); 30206 break; 30207 default: 30208 $t(parseInt(oe), ye); 30209 } 30210 } 30211 function xt(oe) { 30212 const ye = parseInt(Y(`#${p.value} .tariff-bullets`).attr("currentBullet")); 30213 if (ye > oe) { 30214 const Je = ye - oe; 30215 for (let Ye = 0; Ye < Je; Ye++) 30216 at("right"); 30217 } else if (ye < oe) { 30218 const Je = oe - ye; 30219 for (let Ye = 0; Ye < Je; Ye++) 30220 at("left"); 30221 } 30222 } 30223 function $t(oe, ye) { 30224 var Je = Rm(ye, Y("body").outerWidth(!0)); 30225 Y("body").outerWidth(!0) >= 992 && Y(`#${p.value} .tariff-card:nth-child(2)`).css({ "margin-left": oe * Y(`#${p.value} .tariff-card:last-child`).outerWidth(!0) + 4 + "px" }), Y("body").outerWidth(!0) <= 991 && Y(`#${p.value} .tariff-card:nth-child(1)`).css({ "margin-left": oe * Y(`#${p.value} .tariff-card:last-child`).outerWidth(!0) + 4 + "px" }), Y(`#${p.value} .tariff-cards-display`).attr("data-scroll-step", oe), oe == 0 ? Y(`#${p.value} .tariff-switch-left`).addClass("inactive").attr("disabled", "disabled") : Y(`#${p.value} .tariff-switch-left`).removeClass("inactive").removeAttr("disabled"), oe + Je == 0 ? Y(`#${p.value} .tariff-switch-right`).hasClass("inactive") || Y(`#${p.value} .tariff-switch-right`).addClass("inactive").attr("disabled", "disabled") : Y(`#${p.value} .tariff-switch-right`).removeClass("inactive").removeAttr("disabled"), Y(`#${p.value} .tariff-bullets .tariff-bullet`).removeClass("active"); 30226 var Ye = oe * -1 + 1; 30227 Y(`#${p.value} .tariff-bullets`).attr("currentBullet", Ye), Y(`#${p.value} .tariff-bullets .tariff-bullet:nth-child(${Ye})`).addClass("active"); 30228 } 30229 function Dr() { 30230 var oe = parseInt(Y(`#${p.value} .tariffs-display-container`).attr("data-amount-tariffs")); 30231 oe > 1 && (Y(`#${p.value} .tariff-cards-display`).attr("data-scroll-step", "0"), Y(`#${p.value} .tariff-switch-right`).removeClass("inactive").removeAttr("disabled"), Y(`#${p.value} .tariff-switch-left`).addClass("inactive").attr("disabled", "disabled"), Y("body").outerWidth(!0) >= 992 && Y(`#${p.value} .tariff-card:nth-child(2)`).css({ "margin-left": "4px" }), Y("body").outerWidth(!0) <= 991 && Y(`#${p.value} .tariff-card:nth-child(1)`).css({ "margin-left": "4px" }), Y(`#${p.value} .tariff-bullets .tariff-bullet`).removeClass("active"), Y(`#${p.value} .tariff-bullets .tariff-bullet:nth-child(1)`).addClass("active")); 30232 } 30233 Ir(L, (oe, ye) => { 30234 oe != null && oe.length > 0 && oe[0].tariffs != null && oe[0].tariffs.length > 0 && (m = !0, b || (oe[0].tariffs.forEach((Je) => { 30235 Fm( 30236 Je, 30237 !1, 30238 Y(`#${x.value}HeatingCurrent`).is(":checked"), 30239 Y(`#${p.value} input[name="${G.mediatype}ProductSearchRadioCustomerType"]:checked`).val(), 30240 Y(`#${x.value}CarUsage`).is(":checked"), 30241 Y(`#${x.value}DynamicProduct`).is(":checked"), 30242 G.mediatype, 30243 Y(`#${x.value}LocationData`).val(), 30244 Y(`#${x.value}Consumption`).val(), 30245 Y(`#${x.value}ConsumptionHT`).val(), 30246 Y(`#${x.value}ConsumptionNT`).val(), 30247 u.value.codeNo, 30248 np.isKey("pso") 30249 ); 30250 }), b = !0), oe[0].tariffs.length === 1 && Mr(oe[0].tariffs[0].id)); 30251 }), Ir(Z, (oe, ye) => { 30252 oe.tariff != null && Fm( 30253 oe.tariff, 30254 !0, 30255 Y(`#${x.value}HeatingCurrent`).is(":checked"), 30256 Y(`#${p.value} input[name="${G.mediatype}ProductSearchRadioCustomerType"]:checked`).val(), 30257 Y(`#${x.value}CarUsage`).is(":checked"), 30258 Y(`#${x.value}DynamicProduct`).is(":checked"), 30259 G.mediatype, 30260 Y(`#${x.value}LocationData`).val(), 30261 Y(`#${x.value}Consumption`).val(), 30262 Y(`#${x.value}ConsumptionHT`).val(), 30263 Y(`#${x.value}ConsumptionNT`).val(), 30264 u.value.codeNo, 30265 np.isKey("pso") 30266 ); 30267 }); 30268 async function Ti(oe, { setErrors: ye }) { 30269 if (_.value = {}, L.value = {}, u.value.supplyAreaId == null) { 30270 d.value.noSupply = !0; 30271 return; 30272 } 30273 const Je = parseInt(Y(`#${x.value}Consumption`).val()); 30274 if (G.mediatype == "power" && Je > 1e5) { 30275 _.value = { message: 'Für einen Jahresverbrauch über 100.000 kWh unterbreiten wir Ihnen gern ein
30275individuelles Angebot. <a href="https://www.eins.de/geschaeftskunden/strom/" target="_blank">Weitere Informationen</a>' }; 30276 return; 30277 } else if (G.mediatype == "gas" && Je > 15e5) { 30278 _.value = { message: 'Für einen Jahresverbrauch über 1.500.000 kWh unterbreiten wir Ihnen gern ein individuelles Angebot. <a href="https://www.eins.de/geschaeftskunden/erdgas/" target="_blank">Weitere Informationen</a>' }; 30279 return; 30280 } 30281 Pr(); 30282 } 30283 function Pr() { 30284 if (G.widget != null && G.widget == "true") { 30285 const oe = new URL(V + (G.mediatype == "power" ? "/bestellstrecke-strom" : "/bestellstrecke-erdgas")); 30286 oe.searchParams.append("customerType", Y(`#${p.value} input[name="${G.mediatype}ProductSearchRadioCustomerType"]:checked`).val()), Y(`#${x.value}Consumption`).val() != null && Y(`#${x.value}Consumption`).val() != "" && oe.searchParams.append("consumption", Y(`#${x.value}Consumption`).val()), Y(`#${x.value}ConsumptionHT`).val() != null && Y(`#${x.value}ConsumptionHT`).val() != "" && oe.searchParams.append("consumptionHT", Y(`#${x.value}ConsumptionHT`).val()), Y(`#${x.value}ConsumptionNT`).val() != null && Y(`#${x.value}ConsumptionNT`).val() != "" && oe.searchParams.append("consumptionNT", Y(`#${x.value}ConsumptionNT`).val()), Y(`#${x.value}HeatingCurrent`).is(":checked") && oe.searchParams.append("heatingCurrent", "true"), Y(`#${x.value}CarUsage`).is(":checked") && oe.searchParams.append("carUsage", "true"), Y(`#${x.value}DynamicProduct`).is(":checked") && oe.searchParams.append("dynamicProduct", "true"), Y(`#${x.value}HeatingCurrentSelection`).val() != null && Y(`#${x.value}HeatingCurrentSelection`).val() != "" && oe.searchParams.append("heatingCurrentSelection", Y(`#${x.value}HeatingCurrentSelection`).val()), Y(`#${x.value}LocationData`).val() != null && oe.searchParams.append("locationData", Y(`#${x.value}LocationData`).val()), u.value.supplyAreaId != null && oe.searchParams.append("supplyAreaId", u.value.supplyAreaId), be != null && oe.searchParams.append("tariffType", be), Ve != null && oe.searchParams.append("tariffExclusive", Ve), location.href = oe.href; 30287 return; 30288 } else { 30289 g.value = !0, Re = !1, S.value = !1, b = !1; 30290 const oe = { 30291 customerType: Y(`#${p.value} input[name="${G.mediatype}ProductSearchRadioCustomerType"]:checked`).val(), 30292 mediaType: G.mediatype.toUpperCase(), 30293 supplyAreaId: u.value.supplyAreaId, 30294 postalCode: i, 30295 city: o, 30296 includeTariffTemplates: !0 30297 }; 30298 Y(`#${x.value}HeatingCurrent`).is(":checked") ? (oe.customerType = "HEATING_CURRENT", oe.promotionCode = Y(`#${x.value}HeatingCurrentSelection`).val(), oe.yearlyConsumptionHt = Y(`#${x.value}ConsumptionHT`).val(), oe.yearlyConsumptionLt = Y(`#${x.value}ConsumptionNT`).val()) : Y(`#${x.value}CarUsage`).is(":checked") ? (oe.promotionCode = "CAR_USAGE", oe.yearlyConsumptionHt = Y(`#${x.value}ConsumptionHT`).val(), oe.yearlyConsumptionLt = Y(`#${x.value}ConsumptionNT`).val()) : Y(`#${x.value}DynamicProduct`).is(":checked") ? (oe.promotionCode = "DYNAMIC_PRODUCT", oe.yearlyConsumption = Y(`#${x.value}Consumption`).val()) : oe.yearlyConsumption = Y(`#${x.value}Consumption`).val(), oe.systemOperatorCodeNo = u.value.codeNo, ee.getTariffs(oe, !0, be, Ve); 30299 } 30300 } 30301 function jt(oe) { 30302 oe.target.tagName.toLowerCase() === "a" && oe.target.getAttribute("type") == null && (Mr(oe.target.id), oe.preventDefault(), oe.stopPropagation()); 30303 } 30304 function Mr(oe) { 30305 S.value = !0, ee.getTariffDetails(ee.getTariff(oe)); 30306 } 30307 function us(oe) { 30308 if ((Y(oe.target).attr("id") == "close-process" || Y(oe.target).parents("#close-process").length > 0) && (S.value = !1), Y(oe.target).attr("id") == "nettoPriceButton") { 30309 let ye = Y(oe.target); 30310 Y(".nettoPrice").toggle(), ye.html().indexOf("einblenden") != -1 ? ye.html("Nettopreise ausblenden") : ye.html("Nettopreise einblenden"); 30311 } 30312 Y(oe.target).attr("href") != null && (Y(oe.target).attr("href").includes("Auftragsformular.pdf") || Y(oe.target).attr("href").includes("Preisblatt.pdf")) && (ko(Y(oe.target).attr("href")), oe.preventDefault(), oe.stopPropagation()), Y(oe.target).parents(".downloads").length == 0 && !Y(oe.srcElement).hasClass("btn-primary") && Y(oe.target).attr("href") == null && (oe.preventDefault(), oe.stopPropagation()); 30313 } 30314 function No(oe) {
30315 at(oe ? "right" : "left"); 30316 } 30317 function gc(oe) { 30318 (oe == "right" || oe == "left") && at(oe); 30319 } 30320 async function ko(oe) { 30321 const ye = await fetch(oe).then((It) => It.arrayBuffer()), Je = await ia.load(ye), Ye = Je.getForm(), cr = Ye.getFieldMaybe("VPN"); 30322 cr && cr.setText("Internet"); 30323 const Ze = Ye.getFieldMaybe("gültig_ab"); 30324 Ze && Ze.setText(qp(Z.value.tariff.validFrom).format("DD.MM.YYYY")); 30325 const fr = Ye.getFieldMaybe("Netzgebiet"); 30326 if (fr && fr.setText(u.value.name), Ri(Z.value.tariff, "ROLLING_PRICE_GUARANTEE") == "false") { 30327 const It = Z.value.tariff.tieredPrices; 30328 It.sort((Jr, br) => parseInt(Jr.template.consumptionFrom.value) < parseInt(br.template.consumptionFrom.value) ? -1 : parseInt(Jr.template.consumptionFrom.value) > parseInt(br.template.consumptionFrom.value) ? 1 : 0); 30329 let dr = 0; 30330 It.forEach((Jr) => { 30331 dr++, Jr.prices.forEach((br) => { 30332 if (br.type.value == "ENERGY_PRICE_SUPPLY") { 30333 const oi = dr == 1 ? "Arbeitspreis" : "Arbeitspreis" + dr, Vn = Ye.getFieldMaybe(oi + "_brutto"); 30334 Vn && Vn.setText(_r(parseFloat(br.grossPrice.value)).format("0.00").replace(" ", ".") + " ct"); 30335 const Ln = Ye.getFieldMaybe(oi + "_netto"); 30336 Ln && Ln.setText(_r(parseFloat(br.price.value)).format("0.00").replace(" ", ".") + " ct"); 30337 } else if (br.type.value == "ENERGY_PRICE_LT_SUPPLY") { 30338 const oi = dr == 1 ? "ArbeitspreisNT" : "ArbeitspreisNT" + dr, Vn = Ye.getFieldMaybe(oi + "_brutto"); 30339 Vn && Vn.setText(_r(parseFloat(br.grossPrice.value)).format("0.00").replace(" ", ".") + " ct"); 30340 const Ln = Ye.getFieldMaybe(oi + "_netto"); 30341 Ln && Ln.setText(_r(parseFloat(br.price.value)).format("0.00").replace(" ", ".") + " ct"); 30342 } else if (br.type.value == "PERIODICAL_BASE_PRICE_SUPPLY") { 30343 const oi = dr == 1 ? "Grundpreis" : "Grundpreis" + dr, Vn = Ye.getFieldMaybe(oi + "_brutto"); 30344 Vn && Vn.setText(_r(parseFloat(br.grossPrice.value)).format("0.00").replace(" ", ".") + " â¬/Jahr"); 30345 const Ln = Ye.getFieldMaybe(oi + "_netto"); 30346 Ln && Ln.setText(_r(parseFloat(br.price.value)).format("0.00").replace(" ", ".") + " â¬/Jahr"); 30347 } 30348 }); 30349 }); 30350 } else 30351 Z.value.tariff.calculatedPrices.forEach((It) => { 30352 if (It.type.value == "ENERGY_PRICE_SUPPLY") { 30353 const dr = Ye.getFieldMaybe("Arbeitspreis_brutto"); 30354 dr && dr.setText(_r(parseFloat(It.grossPrice.value)).format("0.00").replace(" ", ".") + " ct"); 30355 const Jr = Ye.getFieldMaybe("Arbeitspreis_netto"); 30356 Jr && Jr.setText(_r(parseFloat(It.price.value)).format("0.00").replace(" ", ".") + " ct"); 30357 } else if (It.type.value == "ENERGY_PRICE_LT_SUPPLY") { 30358 const dr = Ye.getFieldMaybe("ArbeitspreisNT_brutto"); 30359 dr && dr.setText(_r(parseFloat(It.grossPrice.value)).format("0.00").replace(" ", ".") + " ct"); 30360 const Jr = Ye.getFieldMaybe("ArbeitspreisNT_netto"); 30361 Jr && Jr.setText(_r(parseFloat(It.price.value)).format("0.00").replace(" ", ".") + " ct"); 30362 } else if (It.type.value == "PERIODICAL_BASE_PRICE_SUPPLY") { 30363 const dr = Ye.getFieldMaybe("Grundpreis_brutto"); 30364 dr && dr.setText(_r(parseFloat(It.grossPrice.value)).format("0.00").replace(" ", ".") + " â¬/Jahr"); 30365 const Jr = Ye.getFieldMaybe("Grundpreis_netto"); 30366 Jr && Jr.setText(_r(parseFloat(It.price.value)).format("0.00").replace(" ", ".") + " â¬/Jahr"); 30367 } 30368 }); 30369 Ye.flatten(); 30370 const Zr = await Je.save(); 30371 o8(Zr, oe.includes("Preisblatt.pdf") ? "Preisblatt.pdf" : "Auftragsformular.pdf", "application/pdf"); 30372 } 30373 function Ci() { 30374 u.value = { codeNo: null, name: null, supplyAreaId: null, value: "" }; 30375 } 30376 function sh() { 30377 new nc(document.getElementById(`${p.value}`), { 30378 html: !0, 30379 trigger: "click hover", 30380 container: `#${p.value}`, 30381 selector: ".btn-popover" 30382 }); 30383 } 30384 return Xu(() => { 30385 let oe = new URLSearchParams(document.location.search); 30386 if (oe.get("utm_source") != null && oe.get("utm_source") == "pso") { 30387 np.set("pso", !0, "30d"); 30388 let ye = document.createElement("script"); 30389 ye.setAttribute("src", P), document.body.appendChild(ye); 30390 } 30391 sh(); 30392 }), (oe, ye) => { 30393 const Je = DC("touch"); 30394 return Qt(), er("div", { 30395 id: p.value, 30396 class: wr(["eins-spa-scope", G.mediatype]) 30397 }, [ 30398 he("div", l8, [ 30399 St(ke(YN), { 30400 onSubmit: Ti, 30401 "validation-schema": rt.value, 30402 ref_key: "form", 30403 ref: T 30404 }, {
30405 default: io(({ errors: Ye, isSubmitting: cr }) => [ 30406 ke(ne) != null ? (Qt(), er("div", { 30407 key: 0, 30408 class: "maintenanceText", 30409 innerHTML: ke(ne) 30410 }, null, 8, u8)) : Qr("", !0), 30411 he("div", { 30412 class: wr("product-finder-input-container " + G.mediatype), 30413 style: vd(ke(Q) && ke(ne) == null ? "display:block;" : "display:none;") 30414 }, [ 30415 he("div", { 30416 class: wr("row form-row " + (G.mediatype == "gas" ? "hide" : "")) 30417 }, [ 30418 he("div", c8, [ 30419 he("div", f8, [ 30420 he("div", { 30421 class: wr("radios-customer-type private " + G.mediatype), 30422 role: "radiogroup", 30423 "aria-label": "Kundentyp-Auswahl" 30424 }, [ 30425 he("div", null, [ 30426 he("input", { 30427 id: `${x.value}ProductSearchRadioCustomerTypePrivate`, 30428 type: "radio", 30429 name: G.mediatype + "ProductSearchRadioCustomerType", 30430 value: "PRIVATE", 30431 checked: "" 30432 }, null, 8, d8), 30433 he("label", { 30434 for: `${x.value}ProductSearchRadioCustomerTypePrivate` 30435 }, [...ye[9] || (ye[9] = [ 30436 he("span", null, [ 30437 he("span") 30438 ], -1), 30439 he("div", { class: "radio-label" }, [ 30440 Cs("Privat"), 30441 he("span", { class: "d-none d-sm-inline" }, "kunde") 30442 ], -1) 30443 ])], 8, h8), 30444 he("input", { 30445 id: `${x.value}ProductSearchRadioCustomerTypeBusiness`, 30446 type: "radio", 30447 name: G.mediatype + "ProductSearchRadioCustomerType", 30448 value: "BUSINESS" 30449 }, null, 8, p8), 30450 he("label", { 30451 for: `${x.value}ProductSearchRadioCustomerTypeBusiness` 30452 }, [...ye[10] || (ye[10] = [ 30453 he("span", null, [ 30454 he("span") 30455 ], -1), 30456 he("div", { class: "radio-label" }, [ 30457 Cs("Geschäft"), 30458 he("span", { class: "d-none d-sm-inline" }, "skunde"), 30459 he("span", { class: "d-inline d-sm-none" }, "lich") 30460 ], -1) 30461 ])], 8, v8), 30462 ye[11] || (ye[11] = he("div", { class: "clearfix" }, null, -1)) 30463 ]) 30464 ], 2) 30465 ]), 30466 ye[16] || (ye[16] = he("div", { class: "clearfix w-100 d-block d-lg-none" }, null, -1)), 30467 he("div", null, [ 30468 ke(Le) ? (Qt(), er("div", g8, [ 30469 he("div", m8, [ 30470 St(ke(Al), { 30471 id: `${x.value}DynamicProduct`, 30472 name: "dynamicProduct", 30473 type: "checkbox", 30474 value: "false" 30475 }, null, 8, ["id"]), 30476 he("label", { 30477 for: `${x.value}DynamicProduct` 30478 }, [...ye[12] || (ye[12] = [ 30479 he("span", null, [ 30480 he("span") 30481 ], -1), 30482 he("div", { class: "checkbox-label" }, "Dynamischer Strom", -1) 30483 ])], 8, y8) 30484 ]) 30485 ])) : Qr("", !0) 30486 ]), 30487 he("div", null, [ 30488 je ? (Qt(), er("div", b8, [ 30489 he("div", E8, [ 30490 St(ke(Al), { 30491 id: `${x.value}CarUsage`, 30492 name: "carUsage", 30493 type: "checkbox", 30494 value: "false" 30495 }, null, 8, ["id"]), 30496 he("label", { 30497 for: `${x.value}CarUsage` 30498 }, [...ye[13] || (ye[13] = [ 30499 he("span", null, [ 30500 he("span") 30501 ], -1), 30502 he("div", { class: "checkbox-label" }, "Autostrom", -1) 30503 ])], 8, x8) 30504 ]) 30505 ])) : Qr("", !0) 30506 ]), 30507 he("div", null, [ 30508 ze ? (Qt(), er("div", w8, [ 30509 he("div", S8, [ 30510 St(ke(Al), { 30511 id: `${x.value}HeatingCurrent`, 30512 name: "heatingCurrent", 30513 type: "checkbox", 30514 value: "false" 30515 }, null, 8, ["id"]), 30516 he("label", { 30517 for: `${x.value}HeatingCurrent` 30518 }, [...ye[14] || (ye[14] = [ 30519 he("span", null, [ 30520 he("span") 30521 ], -1), 30522 he("div", { class: "checkbox-label" }, "Heizstrom", -1) 30523 ])], 8, _8) 30524 ]) 30525 ])) : Qr("", !0) 30526 ]), 30527 he("div", T8, [ 30528 he("div", C8, [ 30529 St(ke(Al), { 30530 id: `${x.value}HeatingCurrentSelection`, 30531 name: "heatingCurrentSelection",
30532 as: "select", 30533 class: wr(["form-control form-select", { "alert-danger": Ye.heatingCurrentSelection }]), 30534 "aria-label": "Heizstromart" 30535 }, { 30536 default: io(() => [...ye[15] || (ye[15] = [ 30537 he("option", { 30538 value: "", 30539 disabled: "", 30540 selected: "" 30541 }, "Bitte wählen", -1), 30542 he("option", { value: "HEAT_PUMP" }, "Wärmepumpe", -1), 30543 he("option", { value: "NIGHT_STORAGE_HEATING" }, "Nachtspeicherheizung", -1) 30544 ])]), 30545 _: 1 30546 }, 8, ["id", "class"]), 30547 St(ke(ps), { name: "heatingCurrentSelection" }, { 30548 default: io(({ message: Ze }) => [ 30549 St(Ro, { 30550 message: Ze, 30551 container: `#${p.value}` 30552 }, null, 8, ["message", "container"]) 30553 ]), 30554 _: 1 30555 }) 30556 ]) 30557 ]) 30558 ]) 30559 ], 2), 30560 he("div", O8, [ 30561 he("div", A8, [ 30562 he("div", N8, [ 30563 he("div", k8, [ 30564 he("label", { 30565 for: `${x.value}LocationData`, 30566 class: "col-form-label" 30567 }, "Postleitzahl oder Ort", 8, D8) 30568 ]), 30569 he("div", P8, [ 30570 he("div", F8, [ 30571 St(ke(Al), { 30572 id: `${x.value}LocationData`, 30573 name: "locationData", 30574 type: "text", 30575 class: wr(["form-control", { "alert-danger": Ye.locationData }]), 30576 placeholder: "PLZ/Ort", 30577 autocomplete: "off" 30578 }, null, 8, ["id", "class"]), 30579 St(ke(ps), { name: "locationData" }, { 30580 default: io(({ message: Ze }) => [ 30581 St(Ro, { 30582 message: Ze, 30583 container: `#${p.value}` 30584 }, null, 8, ["message", "container"]) 30585 ]), 30586 _: 1 30587 }) 30588 ]) 30589 ]), 30590 s.value ? (Qt(), er("div", R8, [ 30591 he("div", I8, [ 30592 he("label", { 30593 for: `${x.value}SystemOperatorSelection`, 30594 class: "col-form-label" 30595 }, "Netzbetreiber", 8, M8) 30596 ]), 30597 he("div", V8, [ 30598 Sl(he("select", { 30599 "onUpdate:modelValue": ye[0] || (ye[0] = (Ze) => u.value = Ze), 30600 id: `${x.value}SystemOperatorSelection`, 30601 name: "systemOperatorSelection", 30602 class: wr(["form-control form-select", { "alert-danger": Ye.systemOperatorSelection }]) 30603 }, [ 30604 (Qt(!0), er(En, null, Ph(f.value, (Ze) => (Qt(), er("option", { 30605 key: Ze.value, 30606 value: Ze, 30607 disabled: Ze.disabled 30608 }, Sp(Ze.name), 9, j8))), 128)) 30609 ], 10, L8), [ 30610 [QO, u.value] 30611 ]), 30612 St(ke(ps), { name: "systemOperatorSelection" }, { 30613 default: io(({ message: Ze }) => [ 30614 St(Ro, { 30615 message: Ze, 30616 container: `#${p.value}` 30617 }, null, 8, ["message", "container"]) 30618 ]), 30619 _: 1 30620 }) 30621 ]) 30622 ])) : Qr("", !0) 30623 ]), 30624 Sl(he("div", B8, [ 30625 he("div", U8, [ 30626 he("label", { 30627 for: `${x.value}ConsumptionSlider`, 30628 class: "col-form-label" 30629 }, "Personen im Haushalt", 8, H8) 30630 ]), 30631 he("div", z8, [ 30632 he("div", { 30633 id: `${x.value}ConsumptionSlider`, 30634 class: "d-flex justify-content-between align-content-center radio-persons-container", 30635 role: "radiogroup", 30636 "aria-label": "Auswahl Anzahl Personen" 30637 }, [ 30638 he("div", { 30639 onClick: ye[1] || (ye[1] = (Ze) => Ee(0)), 30640 class: "position-relative" 30641 }, [ 30642 he("input", { 30643 id: `${x.value}PersonRadio0`, 30644 class: "person-radio", 30645 type: "radio", 30646 name: "personRadio", 30647 value: "eineperson", 30648 "aria-labelledby": `${x.value}radioPerson0Desc` 30649 }, null, 8, q8), 30650 he("label", { 30651 for: `${x.value}PersonRadio0`, 30652 class: "person-radio-label" 30653 }, null, 8, K8), 30654 he("span", { 30655 id: `${x.value}radioPerson0Desc`, 30656 class: "visually-hidden" 30657 }, "Eine Person", 8, G8) 30658 ]), 30659 he("div", { 30660 onClick: ye[2] || (ye[2] = (Ze) => Ee(1)), 30661 class: "position-relative" 30662 }, [ 30663 he("input", { 30664 id: `${x.value}PersonRadio1`, 30665 class: "person-radio", 30666 type: "radio", 30667 name: "personRadio", 30668 value: "zweipersonen", 30669 "aria-labelledby": `${x.value}radioPerson1Desc` 30670 }, null, 8, X8), 30671 he("label", { 30672 for: `${x.value}PersonRadio1`, 30673 class: "person-radio-label" 30674 }, null, 8, Y8), 30675 he("span", { 30676 id: `${x.value}radioPerson1Desc`, 30677 class: "visually-hidden" 30678 }, "Zwei Personen", 8, Z8) 30679 ]), 30680 he("div", { 30681 onClick: ye[3] || (ye[3] = (Ze) => Ee(2)), 30682 class: "position-relative" 30683 }, [ 30684 he("input", { 30685 id: `${x.value}PersonRadio2`, 30686 class: "person-radio", 30687 type: "radio", 30688 name: "personRadio", 30689 value: "dreipersonen", 30690 "aria-labelledby": `${x.value}radioPerson2Desc` 30691 }, null, 8, J8), 30692 he("label", { 30693 for: `${x.value}PersonRadio2`, 30694 class: "person-radio-label" 30695 }, null, 8, Q8), 30696 he("span", { 30697 id: `${x.value}radioPerson2Desc`, 30698 class: "visually-hidden" 30699 }, "Drei Personen", 8, $8) 30700 ]), 30701 he("div", { 30702 onClick: ye[4] || (ye[4] = (Ze) => Ee(3)), 30703 class: "position-relative" 30704 }, [ 30705 he("input", { 30706 id: `${x.value}PersonRadio3`, 30707 class: "person-radio", 30708 type: "radio", 30709 name: "personRadio", 30710 value: "vierpersonen", 30711 "aria-labelledby": `${x.value}radioPerson3Desc` 30712 }, null, 8, ej), 30713 he("label", { 30714 for: `${x.value}PersonRadio3`, 30715 class: "person-radio-label" 30716 }, null, 8, tj), 30717 he("span", { 30718 id: `${x.value}radioPerson3Desc`, 30719 class: "visually-hidden" 30720 }, "Vier Personen", 8, rj) 30721 ]), 30722 he("div", { 30723 onClick: ye[5] || (ye[5] = (Ze) => Ee(4)), 30724 class: "position-relative" 30725 }, [ 30726 he("input", { 30727 id: `${x.value}PersonRadio4`, 30728 class: "person-radio", 30729 type: "radio", 30730 name: "personRadio", 30731 value: "fuenfpersonen", 30732 "aria-labelledby": `${x.value}radioPerson4Desc` 30733 }, null, 8, nj), 30734 he("label", { 30735 for: `${x.value}PersonRadio4`, 30736 class: "person-radio-label" 30737 }, null, 8, ij), 30738 he("span", { 30739 id: `${x.value}radioPerson4Desc`, 30740 class: "visually-hidden" 30741 }, "Fuenf Personen", 8, oj) 30742 ]) 30743 ], 8, W8) 30744 ]), 30745 he("div", aj, [ 30746 he("button", { 30747 id: `${x.value}SliderMinus`, 30748 type: "button", 30749 class: "slider-minus", 30750 "aria-label": "Minus Button" 30751 }, [...ye[17] || (ye[17] = [ 30752 he("i", { class: "fas fa-minus-square" }, null, -1) 30753 ])], 8, sj), 30754 he("section", lj, [ 30755 he("input", { 30756 type: "range", 30757 class: "form-range", 30758 min: "0", 30759 max: "4", 30760 step: "1", 30761 value: "0", 30762 id: `${x.value}SliderRange`, 30763 "aria-labelledby": `${x.value}sliderDescE` 30764 }, null, 8, uj), 30765 he("span", { 30766 id: `${x.value}Input-range-slider-value`, 30767 class: "input-range-slider-value" 30768 }, null, 8, cj) 30769 ]), 30770 he("button", { 30771 id: `${x.value}SliderPlus`, 30772 type: "button", 30773 class: "slider-plus", 30774 "aria-label": "Plus Button" 30775 }, [...ye[18] || (ye[18] = [ 30776 he("i", { class: "fas fa-plus-square" }, null, -1) 30777 ])], 8, fj), 30778 he("span", { 30779 id: `${x.value}sliderDescE`, 30780 class: "visually-hidden" 30781 }, [...ye[19] || (ye[19] = [ 30782 Cs("Jahresverbrauch in ", -1), 30783 he("abbr", { title: "Kilowattstunde" }, "kWh", -1) 30784 ])], 8, dj) 30785 ]) 30786 ], 512), [ 30787 [Mh, D.value] 30788 ]), 30789 Sl(he("div", hj, [ 30790 he("div", pj, [ 30791 he("label", { 30792 for: `${x.value}Consumption`, 30793 class: "col-form-label" 30794 }, "Jahresverbrauch", 8, vj) 30795 ]), 30796 he("div", gj, [ 30797 he("div", mj, [ 30798 St(wp, { 30799 id: `${x.value}Consumption`, 30800 name: "consumption", 30801 class: wr(["form-control", { "alert-danger": Ye.consumption }]), 30802 placeholder: "kWh/Jahr" 30803 }, null, 8, ["id", "class"]), 30804 St(ke(ps), { name: "consumption" }, {
30805 default: io(({ message: Ze }) => [ 30806 St(Ro, { 30807 message: Ze, 30808 container: `#${p.value}` 30809 }, null, 8, ["message", "container"]) 30810 ]), 30811 _: 1 30812 }) 30813 ]) 30814 ]) 30815 ], 512), [ 30816 [Mh, !w.value] 30817 ]), 30818 Sl(he("div", yj, [ 30819 he("div", bj, [ 30820 he("label", { 30821 for: `${x.value}ConsumptionHT`, 30822 class: "col-form-label" 30823 }, "Jahresverbrauch", 8, Ej) 30824 ]), 30825 he("div", xj, [ 30826 he("div", wj, [ 30827 St(wp, { 30828 id: `${x.value}ConsumptionHT`, 30829 name: "consumptionHT", 30830 class: wr(["form-control", { "alert-danger": Ye.consumptionHT }]), 30831 placeholder: "HT in kWh/Jahr" 30832 }, null, 8, ["id", "class"]), 30833 St(Ro, { 30834 message: "Hochtarif: Verbrauch am Tag", 30835 clazz: "info-default", 30836 class: wr({ hide: Ye.consumptionHT }), 30837 container: `#${p.value}` 30838 }, null, 8, ["class", "container"]), 30839 St(ke(ps), { name: "consumptionHT" }, { 30840 default: io(({ message: Ze }) => [ 30841 St(Ro, { 30842 message: Ze, 30843 container: `#${p.value}` 30844 }, null, 8, ["message", "container"]) 30845 ]), 30846 _: 1 30847 }) 30848 ]) 30849 ]), 30850 he("div", Sj, [ 30851 he("div", _j, [ 30852 St(wp, { 30853 id: `${x.value}ConsumptionNT`, 30854 name: "consumptionNT", 30855 class: wr(["form-control", { "alert-danger": Ye.consumptionNT }]), 30856 placeholder: "NT in kWh/Jahr" 30857 }, null, 8, ["id", "class"]), 30858 St(Ro, { 30859 message: "Niedertarif: Verbrauch in der Nacht", 30860 clazz: "info-default", 30861 class: wr({ hide: Ye.consumptionNT }), 30862 container: `#${p.value}` 30863 }, null, 8, ["class", "container"]), 30864 St(ke(ps), { name: "consumptionNT" }, { 30865 default: io(({ message: Ze }) => [ 30866 St(Ro, { 30867 message: Ze, 30868 container: `#${p.value}` 30869 }, null, 8, ["message", "container"]) 30870 ]), 30871 _: 1 30872 }) 30873 ]) 30874 ]) 30875 ], 512), [ 30876 [Mh, w.value] 30877 ]) 30878 ]) 30879 ]), 30880 he("div", Tj, [ 30881 he("div", Cj, [ 30882 he("div", Oj, [ 30883 he("button", { 30884 class: "btn btn-primary", 30885 disabled: cr || ke(L).loading || ke(Re) 30886 }, [ 30887 ke(m) ? Qr("", !0) : (Qt(), er("span", Nj, Sp(G.mediatype == "power" ? "Strom" : "Gas") + "-Angebot auswählen", 1)), 30888 ke(m) ? (Qt(), er("span", kj, "Neu berechnen")) : Qr("", !0) 30889 ], 8, Aj) 30890 ]) 30891 ]) 30892 ]), 30893 he("div", Dj, [ 30894 he("span", { 30895 id: `${x.value}TariffLoader`, 30896 class: wr("spinner-border " + (!ke(L).loading && !ke(Re) ? "hide" : "")), 30897 style: { color: "#D1540D" } 30898 }, null, 10, Pj) 30899 ])
30900 ], 6), 30901 _.value.message != null || ke(L).empty || ke(L).error ? (Qt(), er("div", Fj, [ 30902 _.value.message != null ? (Qt(), er("div", { 30903 key: 0, 30904 innerHTML: _.value.message 30905 }, null, 8, Rj)) : Qr("", !0), 30906 ke(L).empty ? (Qt(), er("div", Ij, [...ye[20] || (ye[20] = [ 30907 Cs(" Für Ihre Anfrage wurde leider kein passender Tarif gefunden. Gern erhalten Sie weitere Informationen bei unserem Kundenservice unter (0371) 525 â 2528. Wir sind von Montag bis Donnerstag in der Zeit zwischen 8 und 18 Uhr und am Freitag zwischen 8 und 15 Uhr für Sie da. Oder schreiben Sie uns eine E-Mail an ", -1), 30908 he("a", { href: "mailto:[email protected]" }, "[email protected]", -1), 30909 Cs(". ", -1) 30910 ])])) : Qr("", !0), 30911 ke(L).error ? (Qt(), er("div", Mj, " Bei der Ermittlung der Tarife ist ein Problem aufgetreten. ")) : Qr("", !0) 30912 ])) : Qr("", !0), 30913 d.value.noSupply ? (Qt(), er("div", Vj, [ 30914 ye[21] || (ye[21] = he("button", { 30915 class: "btn-close fa fa-times", 30916 "data-bs-dismiss": "alert", 30917 type: "button" 30918 }, null, -1)), 30919 d.value.noSupply ? (Qt(), er("div", Lj, " Ihre Adresse konnte nicht geprüft werden. Bitte nutzen Sie die angebotene Autovervollständigung und stellen Sie sicher, dass die Schreibweise korrekt ist. ")) : Qr("", !0) 30920 ])) : Qr("", !0), 30921 Sl((Qt(), er("div", null, [ 30922 ke(L).length && ke(L)[0].tariffs.length && !S.value ? (Qt(), er("div", { 30923 key: 0, 30924 class: "tariffs-display-container d-flex flex-column-reverse", 30925 "data-amount-tariffs": ke(L)[0].tariffs.length 30926 }, [ 30927 he("div", null, [ 30928 he("button", { 30929 type: "button", 30930 class: "tariff-switch-left inactive", 30931 disabled: "disabled", 30932 "aria-label": "vorherigen Tarif anzeigen", 30933 onClick: ye[6] || (ye[6] = (Ze) => No(!0)) 30934 }, [...ye[22] || (ye[22] = [ 30935 he("i", { class: "fas fa-chevron-left" }, null, -1) 30936 ])]), 30937 he("button", { 30938 type: "button", 30939 class: "tariff-switch-right", 30940 "aria-label": "Nächsten Tarif anzeigen", 30941 onClick: ye[7] || (ye[7] = (Ze) => No(!1)) 30942 }, [...ye[23] || (ye[23] = [ 30943 he("i", { class: "fas fa-chevron-right" }, null, -1) 30944 ])]) 30945 ]), 30946 he("ul", Bj, [ 30947 (Qt(!0), er(En, null, Ph(ke(L)[0].tariffs.length, (Ze) => (Qt(), er("li", { 30948 class: wr("tariff-bullet" + (Ze == 1 ? " active" : "")) 30949 }, [ 30950 he("button", { 30951 type: "button", 30952 "aria-label": `Tarif ${ke(L)[0].tariffs[Ze - 1].productName} anzeigen`, 30953 onClick: (fr) => xt(Ze) 30954 }, null, 8, Uj) 30955 ], 2))), 256)) 30956 ]), 30957 he("div", Hj, [ 30958 (Qt(!0), er(En, null, Ph(ke(L)[0].tariffs, (Ze) => (Qt(), er("div", { 30959 key: Ze.id, 30960 class: wr(["card tariff-card", { "recommended-tariff": Ze.isRecommended }]), 30961 onClick: jt, 30962 innerHTML: Ze.htmlOverview 30963 }, null, 10, zj))), 128)) 30964 ]) 30965 ], 8, jj)) : Qr("", !0) 30966 ])), [ 30967 [Je, gc, "swipe"] 30968 ]), 30969 ke(Z).tariff && S.value ? (Qt(), er("div", { 30970 key: 3, 30971 id: `${x.value}TariffDetails`, 30972 class: "tariffs-display-container product-details" 30973 }, [ 30974 he("div", { 30975 onClick: us, 30976 onContextmenu: ye[8] || (ye[8] = tA((...Ze) => oe.handler && oe.handler(...Ze), ["prevent"])), 30977 innerHTML: ke(Z).tariff.htmlDetails, 30978 class: "tariff-cards-display" 30979 }, null, 40, qj) 30980 ], 8, Wj)) : Qr("", !0) 30981 ]), 30982 _: 1 30983 }, 8, ["validation-schema"]) 30984 ]) 30985 ], 10, s8); 30986 }; 30987 } 30988}; 30989var Gj = { exports: {} }; 30990/*! @preserve 30991 * numeral.js 30992 * locales : 2.0.6 30993 * license : MIT 30994 * http://adamwdraper.github.com/Numeral-js/ 30995 */ 30996(function(t) { 30997 (function(e, r) { 30998 t.exports ? r(JE()) : r(e.numeral); 30999 })(Qu, function(e) { 31000 (function() { 31001 e.register("locale", "bg", { 31002 delimiters: { 31003 thousands: " ",
31004 decimal: "," 31005 }, 31006 abbreviations: { 31007 // I found these here http://www.unicode.org/cldr/charts/28/verify/numbers/bg.html 31008 thousand: "Ñ Ð¸Ð»", 31009 million: "млн", 31010 billion: "млÑд", 31011 trillion: "ÑÑлн" 31012 }, 31013 ordinal: function(r) { 31014 return ""; 31015 }, 31016 currency: { 31017 symbol: "лв" 31018 } 31019 }); 31020 })(), function() { 31021 e.register("locale", "chs", { 31022 delimiters: { 31023 thousands: ",", 31024 decimal: "." 31025 }, 31026 abbreviations: { 31027 thousand: "å", 31028 million: "ç¾ä¸", 31029 billion: "å亿", 31030 trillion: "å " 31031 }, 31032 ordinal: function(r) { 31033 return "."; 31034 }, 31035 currency: { 31036 symbol: "Â¥" 31037 } 31038 }); 31039 }(), function() { 31040 e.register("locale", "cs", { 31041 delimiters: { 31042 thousands: " ", 31043 decimal: "," 31044 }, 31045 abbreviations: { 31046 thousand: "tis.", 31047 million: "mil.", 31048 billion: "b", 31049 trillion: "t" 31050 }, 31051 ordinal: function() { 31052 return "."; 31053 }, 31054 currency: { 31055 symbol: "KÄ" 31056 } 31057 }); 31058 }(), function() { 31059 e.register("locale", "da-dk", { 31060 delimiters: { 31061 thousands: ".", 31062 decimal: "," 31063 }, 31064 abbreviations: { 31065 thousand: "k", 31066 million: "mio", 31067 billion: "mia", 31068 trillion: "b" 31069 }, 31070 ordinal: function(r) { 31071 return "."; 31072 }, 31073 currency: { 31074 symbol: "DKK" 31075 } 31076 }); 31077 }(), function() { 31078 e.register("locale", "de-ch", { 31079 delimiters: { 31080 thousands: " ", 31081 decimal: "," 31082 }, 31083 abbreviations: { 31084 thousand: "k", 31085 million: "m", 31086 billion: "b", 31087 trillion: "t" 31088 }, 31089 ordinal: function(r) { 31090 return "."; 31091 }, 31092 currency: { 31093 symbol: "CHF" 31094 } 31095 }); 31096 }(), function() { 31097 e.register("locale", "de", { 31098 delimiters: { 31099 thousands: " ", 31100 decimal: "," 31101 }, 31102 abbreviations: { 31103 thousand: "k", 31104 million: "m", 31105 billion: "b", 31106 trillion: "t" 31107 }, 31108 ordinal: function(r) { 31109 return "."; 31110 }, 31111 currency: { 31112 symbol: "â¬" 31113 } 31114 }); 31115 }(), function() { 31116 e.register("locale", "en-au", { 31117 delimiters: { 31118 thousands: ",", 31119 decimal: "." 31120 }, 31121 abbreviations: { 31122 thousand: "k", 31123 million: "m", 31124 billion: "b", 31125 trillion: "t" 31126 }, 31127 ordinal: function(r) { 31128 var n = r % 10; 31129 return ~~(r % 100 / 10) === 1 ? "th" : n === 1 ? "st" : n === 2 ? "nd" : n === 3 ? "rd" : "th"; 31130 }, 31131 currency: { 31132 symbol: "$" 31133 } 31134 }); 31135 }(), function() { 31136 e.register("locale", "en-gb", { 31137 delimiters: { 31138 thousands: ",", 31139 decimal: "." 31140 }, 31141 abbreviations: { 31142 thousand: "k", 31143 million: "m", 31144 billion: "b", 31145 trillion: "t" 31146 }, 31147 ordinal: function(r) { 31148 var n = r % 10; 31149 return ~~(r % 100 / 10) === 1 ? "th" : n === 1 ? "st" : n === 2 ? "nd" : n === 3 ? "rd" : "th"; 31150 }, 31151 currency: { 31152 symbol: "£" 31153 } 31154 }); 31155 }(), function() { 31156 e.register("locale", "en-za", { 31157 delimiters: { 31158 thousands: " ", 31159 decimal: "," 31160 }, 31161 abbreviations: { 31162 thousand: "k", 31163 million: "m", 31164 billion: "b", 31165 trillion: "t" 31166 }, 31167 ordinal: function(r) { 31168 var n = r % 10; 31169 return ~~(r % 100 / 10) === 1 ? "th" : n === 1 ? "st" : n === 2 ? "nd" : n === 3 ? "rd" : "th"; 31170 }, 31171 currency: { 31172 symbol: "R" 31173 } 31174 }); 31175 }(), function() { 31176 e.register("locale", "es-es", { 31177 delimiters: { 31178 thousands: ".",
31179 decimal: "," 31180 }, 31181 abbreviations: { 31182 thousand: "k", 31183 million: "mm", 31184 billion: "b", 31185 trillion: "t" 31186 }, 31187 ordinal: function(r) { 31188 var n = r % 10; 31189 return n === 1 || n === 3 ? "er" : n === 2 ? "do" : n === 7 || n === 0 ? "mo" : n === 8 ? "vo" : n === 9 ? "no" : "to"; 31190 }, 31191 currency: { 31192 symbol: "â¬" 31193 } 31194 }); 31195 }(), function() { 31196 e.register("locale", "es", { 31197 delimiters: { 31198 thousands: ".", 31199 decimal: "," 31200 }, 31201 abbreviations: { 31202 thousand: "k", 31203 million: "mm", 31204 billion: "b", 31205 trillion: "t" 31206 }, 31207 ordinal: function(r) { 31208 var n = r % 10; 31209 return n === 1 || n === 3 ? "er" : n === 2 ? "do" : n === 7 || n === 0 ? "mo" : n === 8 ? "vo" : n === 9 ? "no" : "to"; 31210 }, 31211 currency: { 31212 symbol: "$" 31213 } 31214 }); 31215 }(), function() { 31216 e.register("locale", "et", { 31217 delimiters: { 31218 thousands: " ", 31219 decimal: "," 31220 }, 31221 abbreviations: { 31222 thousand: " tuh", 31223 million: " mln", 31224 billion: " mld", 31225 trillion: " trl" 31226 }, 31227 ordinal: function(r) { 31228 return "."; 31229 }, 31230 currency: { 31231 symbol: "â¬" 31232 } 31233 }); 31234 }(), function() { 31235 e.register("locale", "fi", { 31236 delimiters: { 31237 thousands: " ", 31238 decimal: "," 31239 }, 31240 abbreviations: { 31241 thousand: "k", 31242 million: "M", 31243 billion: "G", 31244 trillion: "T" 31245 }, 31246 ordinal: function(r) { 31247 return "."; 31248 }, 31249 currency: { 31250 symbol: "â¬" 31251 } 31252 }); 31253 }(), function() { 31254 e.register("locale", "fr-ca", { 31255 delimiters: { 31256 thousands: " ", 31257 decimal: "," 31258 }, 31259 abbreviations: { 31260 thousand: "k", 31261 million: "M", 31262 billion: "G", 31263 trillion: "T" 31264 }, 31265 ordinal: function(r) { 31266 return r === 1 ? "er" : "e"; 31267 }, 31268 currency: { 31269 symbol: "$" 31270 } 31271 }); 31272 }(), function() { 31273 e.register("locale", "fr-ch", { 31274 delimiters: { 31275 thousands: "'", 31276 decimal: "." 31277 }, 31278 abbreviations: { 31279 thousand: "k", 31280 million: "m", 31281 billion: "b", 31282 trillion: "t" 31283 }, 31284 ordinal: function(r) { 31285 return r === 1 ? "er" : "e"; 31286 }, 31287 currency: { 31288 symbol: "CHF" 31289 } 31290 }); 31291 }(), function() { 31292 e.register("locale", "fr", { 31293 delimiters: { 31294 thousands: " ", 31295 decimal: "," 31296 }, 31297 abbreviations: { 31298 thousand: "k", 31299 million: "m", 31300 billion: "b", 31301 trillion: "t" 31302 }, 31303 ordinal: function(r) { 31304 return r === 1 ? "er" : "e"; 31305 }, 31306 currency: { 31307 symbol: "â¬" 31308 } 31309 }); 31310 }(), function() { 31311 e.register("locale", "hu", { 31312 delimiters: { 31313 thousands: " ", 31314 decimal: "," 31315 }, 31316 abbreviations: { 31317 thousand: "E", 31318 // ezer 31319 million: "M", 31320 // millió 31321 billion: "Mrd", 31322 // milliárd 31323 trillion: "T" 31324 // trillió 31325 }, 31326 ordinal: function(r) { 31327 return "."; 31328 }, 31329 currency: { 31330 symbol: " Ft" 31331 } 31332 }); 31333 }(), function() { 31334 e.register("locale", "it", { 31335 delimiters: { 31336 thousands: ".", 31337 decimal: "," 31338 }, 31339 abbreviations: { 31340 thousand: "mila", 31341 million: "mil", 31342 billion: "b", 31343 trillion: "t" 31344 }, 31345 ordinal: function(r) { 31346 return "º"; 31347 }, 31348 currency: { 31349 symbol: "â¬" 31350 } 31351 }); 31352 }(), function() { 31353 e.register("locale", "ja", { 31354 delimiters: { 31355 thousands: ",", 31356 decimal: "." 31357 }, 31358 abbreviations: { 31359 thousand: "å", 31360 million: "ç¾ä¸", 31361 billion: "åå", 31362 trillion: "å " 31363 }, 31364 ordinal: function(r) { 31365 return "."; 31366 }, 31367 currency: { 31368 symbol: "Â¥" 31369 } 31370 }); 31371 }(), function() { 31372 e.register("locale", "lv", { 31373 delimiters: { 31374 thousands: " ",
31375 decimal: "," 31376 }, 31377 abbreviations: { 31378 thousand: " tÅ«kst.", 31379 million: " milj.", 31380 billion: " mljrd.", 31381 trillion: " trilj." 31382 }, 31383 ordinal: function(r) { 31384 return "."; 31385 }, 31386 currency: { 31387 symbol: "â¬" 31388 } 31389 }); 31390 }(), function() { 31391 e.register("locale", "nl-be", { 31392 delimiters: { 31393 thousands: " ", 31394 decimal: "," 31395 }, 31396 abbreviations: { 31397 thousand: "k", 31398 million: " mln", 31399 billion: " mld", 31400 trillion: " bln" 31401 }, 31402 ordinal: function(r) { 31403 var n = r % 100; 31404 return r !== 0 && n <= 1 || n === 8 || n >= 20 ? "ste" : "de"; 31405 }, 31406 currency: { 31407 symbol: "⬠" 31408 } 31409 }); 31410 }(), function() { 31411 e.register("locale", "nl-nl", { 31412 delimiters: { 31413 thousands: ".", 31414 decimal: "," 31415 }, 31416 abbreviations: { 31417 thousand: "k", 31418 million: "mln", 31419 billion: "mrd", 31420 trillion: "bln" 31421 }, 31422 ordinal: function(r) { 31423 var n = r % 100; 31424 return r !== 0 && n <= 1 || n === 8 || n >= 20 ? "ste" : "de"; 31425 }, 31426 currency: { 31427 symbol: "⬠" 31428 } 31429 }); 31430 }(), function() { 31431 e.register("locale", "no", { 31432 delimiters: { 31433 thousands: " ", 31434 decimal: "," 31435 }, 31436 abbreviations: { 31437 thousand: "k", 31438 million: "m", 31439 billion: "b", 31440 trillion: "t" 31441 }, 31442 ordinal: function(r) { 31443 return "."; 31444 }, 31445 currency: { 31446 symbol: "kr" 31447 } 31448 }); 31449 }(), function() { 31450 e.register("locale", "pl", { 31451 delimiters: { 31452 thousands: " ", 31453 decimal: "," 31454 }, 31455 abbreviations: { 31456 thousand: "tys.", 31457 million: "mln", 31458 billion: "mld", 31459 trillion: "bln" 31460 }, 31461 ordinal: function(r) { 31462 return "."; 31463 }, 31464 currency: { 31465 symbol: "PLN" 31466 } 31467 }); 31468 }(), function() { 31469 e.register("locale", "pt-br", { 31470 delimiters: { 31471 thousands: ".", 31472 decimal: "," 31473 }, 31474 abbreviations: { 31475 thousand: "mil", 31476 million: "milhões", 31477 billion: "b", 31478 trillion: "t" 31479 }, 31480 ordinal: function(r) { 31481 return "º"; 31482 }, 31483 currency: { 31484 symbol: "R$" 31485 } 31486 }); 31487 }(), function() { 31488 e.register("locale", "pt-pt", { 31489 delimiters: { 31490 thousands: " ", 31491 decimal: "," 31492 }, 31493 abbreviations: { 31494 thousand: "k", 31495 million: "m", 31496 billion: "b", 31497 trillion: "t" 31498 }, 31499 ordinal: function(r) { 31500 return "º"; 31501 }, 31502 currency: { 31503 symbol: "â¬" 31504 } 31505 }); 31506 }(), function() { 31507 e.register("locale", "ru-ua", { 31508 delimiters: { 31509 thousands: " ", 31510 decimal: "," 31511 }, 31512 abbreviations: { 31513 thousand: "ÑÑÑ.", 31514 million: "млн", 31515 billion: "b", 31516 trillion: "t" 31517 }, 31518 ordinal: function() { 31519 return "."; 31520 }, 31521 currency: { 31522 symbol: "â´" 31523 } 31524 }); 31525 }(), function() { 31526 e.register("locale", "ru", { 31527 delimiters: { 31528 thousands: " ", 31529 decimal: "," 31530 }, 31531 abbreviations: { 31532 thousand: "ÑÑÑ.", 31533 million: "млн.", 31534 billion: "млÑд.", 31535 trillion: "ÑÑлн." 31536 }, 31537 ordinal: function() { 31538 return "."; 31539 }, 31540 currency: { 31541 symbol: "ÑÑб." 31542 } 31543 }); 31544 }(), function() { 31545 e.register("locale", "sk", { 31546 delimiters: { 31547 thousands: " ", 31548 decimal: "," 31549 }, 31550 abbreviations: { 31551 thousand: "tis.", 31552 million: "mil.", 31553 billion: "b", 31554 trillion: "t" 31555 }, 31556 ordinal: function() { 31557 return "."; 31558 }, 31559 currency: { 31560 symbol: "â¬" 31561 } 31562 }); 31563 }(), function() { 31564 e.register("locale", "sl", { 31565 delimiters: { 31566 thousands: ".",
31567 decimal: "," 31568 }, 31569 abbreviations: { 31570 thousand: "k", 31571 million: "mio", 31572 billion: "mrd", 31573 trillion: "trilijon" 31574 }, 31575 ordinal: function() { 31576 return "."; 31577 }, 31578 currency: { 31579 symbol: "â¬" 31580 } 31581 }); 31582 }(), function() { 31583 e.register("locale", "th", { 31584 delimiters: { 31585 thousands: ",", 31586 decimal: "." 31587 }, 31588 abbreviations: { 31589 thousand: "à¸à¸±à¸", 31590 million: "ลà¹à¸²à¸", 31591 billion: "à¸à¸±à¸à¸¥à¹à¸²à¸", 31592 trillion: "ลà¹à¸²à¸à¸¥à¹à¸²à¸" 31593 }, 31594 ordinal: function(r) { 31595 return "."; 31596 }, 31597 currency: { 31598 symbol: "฿" 31599 } 31600 }); 31601 }(), function() { 31602 var r = { 31603 1: "'inci", 31604 5: "'inci", 31605 8: "'inci", 31606 70: "'inci", 31607 80: "'inci", 31608 2: "'nci", 31609 7: "'nci", 31610 20: "'nci", 31611 50: "'nci", 31612 3: "'üncü", 31613 4: "'üncü", 31614 100: "'üncü", 31615 6: "'ncı", 31616 9: "'uncu", 31617 10: "'uncu", 31618 30: "'uncu", 31619 60: "'ıncı", 31620 90: "'ıncı" 31621 }; 31622 e.register("locale", "tr", { 31623 delimiters: { 31624 thousands: ".", 31625 decimal: "," 31626 }, 31627 abbreviations: { 31628 thousand: "bin", 31629 million: "milyon", 31630 billion: "milyar", 31631 trillion: "trilyon" 31632 }, 31633 ordinal: function(n) { 31634 if (n === 0) 31635 return "'ıncı"; 31636 var i = n % 10, o = n % 100 - i, a = n >= 100 ? 100 : null; 31637 return r[i] || r[o] || r[a]; 31638 }, 31639 currency: { 31640 symbol: "âº" 31641 } 31642 }); 31643 }(), function() { 31644 e.register("locale", "uk-ua", { 31645 delimiters: { 31646 thousands: " ", 31647 decimal: "," 31648 }, 31649 abbreviations: { 31650 thousand: "ÑиÑ.", 31651 million: "млн", 31652 billion: "млÑд", 31653 trillion: "блн" 31654 }, 31655 ordinal: function() { 31656 return ""; 31657 }, 31658 currency: { 31659 symbol: "â´" 31660 } 31661 }); 31662 }(), function() { 31663 e.register("locale", "vi", { 31664 delimiters: { 31665 thousands: ".", 31666 decimal: "," 31667 }, 31668 abbreviations: { 31669 thousand: " nghìn", 31670 million: " triá»u", 31671 billion: " tá»·", 31672 trillion: " nghìn tá»·" 31673 }, 31674 ordinal: function() { 31675 return "."; 31676 }, 31677 currency: { 31678 symbol: "â«" 31679 } 31680 }); 31681 }(); 31682 }); 31683})(Gj); 31684_r.locale("de"); 31685const Xj = ({ component: t = null, props: e = [], renderOptions: r = {} } = {}) => cA({ 31686 props: e, 31687 setup() { 31688 const n = nA(), i = MA(); 31689 n.use(i), n.use(jA); 31690 const o = Zi(); 31691 Object.assign(o.appContext, n._context), Object.assign(o.provides, n._context.provides); 31692 }, 31693 render: () => ku(t, r) 31694}, { shadowRoot: !1 }), Yj = { 31695 component: Kj, 31696 renderOptions: { ref: "component" } 31697}, Zj = Xj(Yj); 31698function Jj(t = "product-search") { 31699 customElements.get(t) === void 0 && customElements.define(t, Zj); 31700} 31701Jj(); 31702export { 31703 Zj as ProductSearch, 31704 Xj as createElementInstance 31705}; 31706//# sourceMappingURL=spa.mjs.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.