pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
22 lines • 157 kB
JavaScript
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2023 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @licend The above is the entire license notice for the
* JavaScript code in this page
*/
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("pdfjs-dist/image_decoders/pdf.image_decoders",[],t):"object"==typeof exports?exports["pdfjs-dist/image_decoders/pdf.image_decoders"]=t():e["pdfjs-dist/image_decoders/pdf.image_decoders"]=e.pdfjsImageDecoders=t()}(globalThis,(()=>(()=>{var e=[,(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.RenderingIntentFlag=t.PromiseCapability=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.MAX_IMAGE_SIZE_TO_CACHE=t.LINE_FACTOR=t.LINE_DESCENT_FACTOR=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FeatureTest=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.BASELINE_FACTOR=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationEditorType=t.AnnotationEditorPrefix=t.AnnotationEditorParamsType=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0;t.assert=function assert(e,t){e||unreachable(t)};t.bytesToString=function bytesToString(e){"object"==typeof e&&void 0!==(null==e?void 0:e.length)||unreachable("Invalid argument for bytesToString");const t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);const r=[];for(let i=0;i<t;i+=n){const o=Math.min(i+n,t),s=e.subarray(i,o);r.push(String.fromCharCode.apply(null,s))}return r.join("")};t.createValidAbsoluteUrl=function createValidAbsoluteUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);(null==t?void 0:t.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=stringToUTF8String(e)}catch(e){}}const r=t?new URL(e,t):new URL(e);if(function _isValidProtocol(e){switch(null==e?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null};t.getModificationDate=function getModificationDate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")};t.getVerbosityLevel=function getVerbosityLevel(){return i};t.info=function info(e){i>=r.INFOS&&console.log(`Info: ${e}`)};t.isArrayBuffer=function isArrayBuffer(e){return"object"==typeof e&&void 0!==(null==e?void 0:e.byteLength)};t.isArrayEqual=function isArrayEqual(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0};t.normalizeUnicode=function normalizeUnicode(e){if(!c){c=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu;l=new Map([["ſt","ſt"]])}return e.replaceAll(c,((e,t,n)=>t?t.normalize("NFKC"):l.get(n)))};t.objectFromMap=function objectFromMap(e){const t=Object.create(null);for(const[n,r]of e)t[n]=r;return t};t.objectSize=function objectSize(e){return Object.keys(e).length};t.setVerbosityLevel=function setVerbosityLevel(e){Number.isInteger(e)&&(i=e)};t.shadow=shadow;t.string32=function string32(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)};t.stringToBytes=stringToBytes;t.stringToPDFString=function stringToPDFString(e){if(e[0]>="ï"){let t;"þ"===e[0]&&"ÿ"===e[1]?t="utf-16be":"ÿ"===e[0]&&"þ"===e[1]?t="utf-16le":"ï"===e[0]&&"»"===e[1]&&"¿"===e[2]&&(t="utf-8");if(t)try{const n=new TextDecoder(t,{fatal:!0}),r=stringToBytes(e);return n.decode(r)}catch(e){warn(`stringToPDFString: "${e}".`)}}const t=[];for(let n=0,r=e.length;n<r;n++){const r=a[e.charCodeAt(n)];t.push(r?String.fromCharCode(r):e.charAt(n))}return t.join("")};t.stringToUTF8String=stringToUTF8String;t.unreachable=unreachable;t.utf8StringToString=function utf8StringToString(e){return unescape(encodeURIComponent(e))};t.warn=warn;if(!globalThis._pdfjsCompatibilityChecked){globalThis._pdfjsCompatibilityChecked=!0;n(2)}t.IDENTITY_MATRIX=[1,0,0,1,0,0];t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];t.MAX_IMAGE_SIZE_TO_CACHE=1e7;t.LINE_FACTOR=1.35;t.LINE_DESCENT_FACTOR=.35;t.BASELINE_FACTOR=.25925925925925924;t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};t.AnnotationEditorPrefix="pdfjs_internal_editor_";t.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};t.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};t.AnnotationReplyType={GROUP:"Group",REPLY:"R"};t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};t.PageActionEventType={O:"PageOpen",C:"PageClose"};const r={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=r;t.CMapCompressionType={NONE:0,BINARY:1};t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let i=r.WARNINGS;function warn(e){i>=r.WARNINGS&&console.log(`Warning: ${e}`)}function unreachable(e){throw new Error(e)}function shadow(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(e,t,{value:n,enumerable:!r,configurable:!0,writable:!1});return n}const o=function BaseExceptionClosure(){function BaseException(e,t){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=e;this.name=t}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();t.BaseException=o;t.PasswordException=class PasswordException extends o{constructor(e,t){super(e,"PasswordException");this.code=t}};t.UnknownErrorException=class UnknownErrorException extends o{constructor(e,t){super(e,"UnknownErrorException");this.details=t}};t.InvalidPDFException=class InvalidPDFException extends o{constructor(e){super(e,"InvalidPDFException")}};t.MissingPDFException=class MissingPDFException extends o{constructor(e){super(e,"MissingPDFException")}};t.UnexpectedResponseException=class UnexpectedResponseException extends o{constructor(e,t){super(e,"UnexpectedResponseException");this.status=t}};t.FormatError=class FormatError extends o{constructor(e){super(e,"FormatError")}};t.AbortException=class AbortException extends o{constructor(e){super(e,"AbortException")}};function stringToBytes(e){"string"!=typeof e&&unreachable("Invalid argument for stringToBytes");const t=e.length,n=new Uint8Array(t);for(let r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}t.FeatureTest=class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch(e){return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}static get platform(){return"undefined"==typeof navigator?shadow(this,"platform",{isWin:!1,isMac:!1}):shadow(this,"platform",{isWin:navigator.platform.includes("Win"),isMac:navigator.platform.includes("Mac")})}};const s=[...Array(256).keys()].map((e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,n){return`#${s[e]}${s[t]}${s[n]}`}static scaleMinMax(e,t){let n;if(e[0]){if(e[0]<0){n=t[0];t[0]=t[1];t[1]=n}t[0]*=e[0];t[1]*=e[0];if(e[3]<0){n=t[2];t[2]=t[3];t[3]=n}t[2]*=e[3];t[3]*=e[3]}else{n=t[0];t[0]=t[2];t[2]=n;n=t[1];t[1]=t[3];t[3]=n;if(e[1]<0){n=t[2];t[2]=t[3];t[3]=n}t[2]*=e[1];t[3]*=e[1];if(e[2]<0){n=t[0];t[0]=t[1];t[1]=n}t[0]*=e[2];t[1]*=e[2]}t[0]+=e[4];t[1]+=e[4];t[2]+=e[5];t[3]+=e[5]}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=Util.applyTransform(e,t),r=Util.applyTransform(e.slice(2,4),t),i=Util.applyTransform([e[0],e[3]],t),o=Util.applyTransform([e[2],e[1]],t);return[Math.min(n[0],r[0],i[0],o[0]),Math.min(n[1],r[1],i[1],o[1]),Math.max(n[0],r[0],i[0],o[0]),Math.max(n[1],r[1],i[1],o[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],i=e[2]*t[0]+e[3]*t[2],o=e[2]*t[1]+e[3]*t[3],s=(n+o)/2,a=Math.sqrt((n+o)**2-4*(n*o-i*r))/2,c=s+a||1,l=s-a||1;return[Math.sqrt(c),Math.sqrt(l)]}static normalizeRect(e){const t=e.slice(0);if(e[0]>e[2]){t[0]=e[2];t[2]=e[0]}if(e[1]>e[3]){t[1]=e[3];t[3]=e[1]}return t}static intersect(e,t){const n=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),r=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(n>r)return null;const i=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),o=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return i>o?null:[n,i,r,o]}static bezierBoundingBox(e,t,n,r,i,o,s,a){const c=[],l=[[],[]];let u,f,d,h,p,g,m,b;for(let l=0;l<2;++l){if(0===l){f=6*e-12*n+6*i;u=-3*e+9*n-9*i+3*s;d=3*n-3*e}else{f=6*t-12*r+6*o;u=-3*t+9*r-9*o+3*a;d=3*r-3*t}if(Math.abs(u)<1e-12){if(Math.abs(f)<1e-12)continue;h=-d/f;0<h&&h<1&&c.push(h)}else{m=f*f-4*d*u;b=Math.sqrt(m);if(!(m<0)){p=(-f+b)/(2*u);0<p&&p<1&&c.push(p);g=(-f-b)/(2*u);0<g&&g<1&&c.push(g)}}}let y,x=c.length;const w=x;for(;x--;){h=c[x];y=1-h;l[0][x]=y*y*y*e+3*y*y*h*n+3*y*h*h*i+h*h*h*s;l[1][x]=y*y*y*t+3*y*y*h*r+3*y*h*h*o+h*h*h*a}l[0][w]=e;l[1][w]=t;l[0][w+1]=s;l[1][w+1]=a;l[0].length=l[1].length=w+2;return[Math.min(...l[0]),Math.min(...l[1]),Math.max(...l[0]),Math.max(...l[1])]}}t.Util=Util;const a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function stringToUTF8String(e){return decodeURIComponent(escape(e))}t.PromiseCapability=class PromiseCapability{#e=!1;constructor(){this.promise=new Promise(((e,t)=>{this.resolve=t=>{this.#e=!0;e(t)};this.reject=e=>{this.#e=!0;t(e)}}))}get settled(){return this.#e}};let c=null,l=null},(e,t,n)=>{"use strict";var r=n(3);!function checkDOMMatrix(){!globalThis.DOMMatrix&&r.isNodeJS&&(globalThis.DOMMatrix=require("canvas").DOMMatrix)}();!function checkPath2D(){if(globalThis.Path2D||!r.isNodeJS)return;const{CanvasRenderingContext2D:e}=require("canvas"),{polyfillPath2D:t}=require("path2d-polyfill");globalThis.CanvasRenderingContext2D=e;t(globalThis)}();!function checkArrayAt(){Array.prototype.at||n(4)}();!function checkTypedArrayAt(){Uint8Array.prototype.at||n(78)}();!function checkStructuredClone(){globalThis.structuredClone||n(90)}()},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.isNodeJS=void 0;const n=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(e,t,n)=>{n(5);var r=n(77);e.exports=r("Array","at")},(e,t,n)=>{"use strict";var r=n(6),i=n(43),o=n(67),s=n(65),a=n(72);r({target:"Array",proto:!0},{at:function at(e){var t=i(this),n=o(t),r=s(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:t[a]}});a("at")},(e,t,n)=>{var r=n(7),i=n(8).f,o=n(47),s=n(51),a=n(41),c=n(59),l=n(71);e.exports=function(e,t){var n,u,f,d,h,p=e.target,g=e.global,m=e.stat;if(n=g?r:m?r[p]||a(p,{}):(r[p]||{}).prototype)for(u in t){d=t[u];f=e.dontCallGetSet?(h=i(n,u))&&h.value:n[u];if(!l(g?u:p+(m?".":"#")+u,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0);s(n,u,d,e)}}},function(e){var check=function(e){return e&&e.Math==Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||function(){return this}()||this||Function("return this")()},(e,t,n)=>{var r=n(9),i=n(11),o=n(13),s=n(14),a=n(15),c=n(21),l=n(42),u=n(45),f=Object.getOwnPropertyDescriptor;t.f=r?f:function getOwnPropertyDescriptor(e,t){e=a(e);t=c(t);if(u)try{return f(e,t)}catch(e){}if(l(e,t))return s(!i(o.f,e,t),e[t])}},(e,t,n)=>{var r=n(10);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},(e,t,n)=>{var r=n(12),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},(e,t,n)=>{var r=n(10);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function propertyIsEnumerable(e){var t=r(this,e);return!!t&&t.enumerable}:n},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,n)=>{var r=n(16),i=n(19);e.exports=function(e){return r(i(e))}},(e,t,n)=>{var r=n(17),i=n(10),o=n(18),s=Object,a=r("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?a(e,""):s(e)}:s},(e,t,n)=>{var r=n(12),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);e.exports=r?s:function(e){return function(){return o.apply(e,arguments)}}},(e,t,n)=>{var r=n(17),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},(e,t,n)=>{var r=n(20),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},e=>{e.exports=function(e){return null==e}},(e,t,n)=>{var r=n(22),i=n(26);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},(e,t,n)=>{var r=n(11),i=n(23),o=n(26),s=n(33),a=n(36),c=n(37),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,c=s(e,u);if(c){void 0===t&&(t="default");n=r(c,e,t);if(!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}void 0===t&&(t="number");return a(e,t)}},(e,t,n)=>{var r=n(24),i=n(25),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},(e,t,n)=>{var r=n(25),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},e=>{var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},(e,t,n)=>{var r=n(27),i=n(24),o=n(28),s=n(29),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,a(e))}},(e,t,n)=>{var r=n(7),i=n(24);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},(e,t,n)=>{var r=n(17);e.exports=r({}.isPrototypeOf)},(e,t,n)=>{var r=n(30);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,n)=>{var r=n(31),i=n(10),o=n(7).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(e,t,n)=>{var r,i,o=n(7),s=n(32),a=o.process,c=o.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(i=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1]));!i&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(i=+r[1]);e.exports=i},e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},(e,t,n)=>{var r=n(34),i=n(20);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},(e,t,n)=>{var r=n(24),i=n(35),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},(e,t,n)=>{var r=n(11),i=n(24),o=n(23),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&i(n=e.toString)&&!o(a=r(n,e)))return a;if(i(n=e.valueOf)&&!o(a=r(n,e)))return a;if("string"!==t&&i(n=e.toString)&&!o(a=r(n,e)))return a;throw s("Can't convert object to primitive value")}},(e,t,n)=>{var r=n(7),i=n(38),o=n(42),s=n(44),a=n(30),c=n(29),l=r.Symbol,u=i("wks"),f=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){o(u,e)||(u[e]=a&&o(l,e)?l[e]:f("Symbol."+e));return u[e]}},(e,t,n)=>{var r=n(39),i=n(40);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.30.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},e=>{e.exports=!1},(e,t,n)=>{var r=n(7),i=n(41),o="__core-js_shared__",s=r[o]||i(o,{});e.exports=s},(e,t,n)=>{var r=n(7),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},(e,t,n)=>{var r=n(17),i=n(43),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return o(i(e),t)}},(e,t,n)=>{var r=n(19),i=Object;e.exports=function(e){return i(r(e))}},(e,t,n)=>{var r=n(17),i=0,o=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},(e,t,n)=>{var r=n(9),i=n(10),o=n(46);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},(e,t,n)=>{var r=n(7),i=n(23),o=r.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},(e,t,n)=>{var r=n(9),i=n(48),o=n(14);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){e[t]=n;return e}},(e,t,n)=>{var r=n(9),i=n(45),o=n(49),s=n(50),a=n(21),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",h="writable";t.f=r?o?function defineProperty(e,t,n){s(e);t=a(t);s(n);if("function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);if(r&&r[h]){e[t]=n.value;n={configurable:d in n?n[d]:r[d],enumerable:f in n?n[f]:r[f],writable:!1}}}return l(e,t,n)}:l:function defineProperty(e,t,n){s(e);t=a(t);s(n);if(i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");"value"in n&&(e[t]=n.value);return e}},(e,t,n)=>{var r=n(9),i=n(10);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(e,t,n)=>{var r=n(23),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},(e,t,n)=>{var r=n(24),i=n(48),o=n(52),s=n(41);e.exports=function(e,t,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;r(n)&&o(n,l,a);if(a.global)c?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},(e,t,n)=>{var r=n(17),i=n(10),o=n(24),s=n(42),a=n(9),c=n(53).CONFIGURABLE,l=n(54),u=n(55),f=u.enforce,d=u.get,h=String,p=Object.defineProperty,g=r("".slice),m=r("".replace),b=r([].join),y=a&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),x=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===g(h(t),0,7)&&(t="["+m(h(t),/^Symbol\(([^)]*)\)/,"$1")+"]");n&&n.getter&&(t="get "+t);n&&n.setter&&(t="set "+t);(!s(e,"name")||c&&e.name!==t)&&(a?p(e,"name",{value:t,configurable:!0}):e.name=t);y&&n&&s(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);s(r,"source")||(r.source=b(x,"string"==typeof t?t:""));return e};Function.prototype.toString=w((function toString(){return o(this)&&d(this).source||l(this)}),"toString")},(e,t,n)=>{var r=n(9),i=n(42),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function something(){}.name,l=a&&(!r||r&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},(e,t,n)=>{var r=n(17),i=n(24),o=n(40),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)});e.exports=o.inspectSource},(e,t,n)=>{var r,i,o,s=n(56),a=n(7),c=n(23),l=n(47),u=n(42),f=n(40),d=n(57),h=n(58),p="Object already initialized",g=a.TypeError,m=a.WeakMap;if(s||f.state){var b=f.state||(f.state=new m);b.get=b.get;b.has=b.has;b.set=b.set;r=function(e,t){if(b.has(e))throw g(p);t.facade=e;b.set(e,t);return t};i=function(e){return b.get(e)||{}};o=function(e){return b.has(e)}}else{var y=d("state");h[y]=!0;r=function(e,t){if(u(e,y))throw g(p);t.facade=e;l(e,y,t);return t};i=function(e){return u(e,y)?e[y]:{}};o=function(e){return u(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},(e,t,n)=>{var r=n(7),i=n(24),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},(e,t,n)=>{var r=n(38),i=n(44),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},e=>{e.exports={}},(e,t,n)=>{var r=n(42),i=n(60),o=n(8),s=n(48);e.exports=function(e,t,n){for(var a=i(t),c=s.f,l=o.f,u=0;u<a.length;u++){var f=a[u];r(e,f)||n&&r(n,f)||c(e,f,l(t,f))}}},(e,t,n)=>{var r=n(27),i=n(17),o=n(61),s=n(70),a=n(50),c=i([].concat);e.exports=r("Reflect","ownKeys")||function ownKeys(e){var t=o.f(a(e)),n=s.f;return n?c(t,n(e)):t}},(e,t,n)=>{var r=n(62),i=n(69).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return r(e,i)}},(e,t,n)=>{var r=n(17),i=n(42),o=n(15),s=n(63).indexOf,a=n(58),c=r([].push);e.exports=function(e,t){var n,r=o(e),l=0,u=[];for(n in r)!i(a,n)&&i(r,n)&&c(u,n);for(;t.length>l;)i(r,n=t[l++])&&(~s(u,n)||c(u,n));return u}},(e,t,n)=>{var r=n(15),i=n(64),o=n(67),createMethod=function(e){return function(t,n,s){var a,c=r(t),l=o(c),u=i(s,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(e,t,n)=>{var r=n(65),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},(e,t,n)=>{var r=n(66);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},e=>{var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function trunc(e){var r=+e;return(r>0?n:t)(r)}},(e,t,n)=>{var r=n(68);e.exports=function(e){return r(e.length)}},(e,t,n)=>{var r=n(65),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,n)=>{var r=n(10),i=n(24),o=/#|\.prototype\./,isForced=function(e,t){var n=a[s(e)];return n==l||n!=c&&(i(t)?r(t):!!t)},s=isForced.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=isForced.data={},c=isForced.NATIVE="N",l=isForced.POLYFILL="P";e.exports=isForced},(e,t,n)=>{var r=n(37),i=n(73),o=n(48).f,s=r("unscopables"),a=Array.prototype;null==a[s]&&o(a,s,{configurable:!0,value:i(null)});e.exports=function(e){a[s][e]=!0}},(e,t,n)=>{var r,i=n(50),o=n(74),s=n(69),a=n(58),c=n(76),l=n(46),u=n(57),f="prototype",d="script",h=u("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+d+">"+e+"</"+d+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(""));e.close();var t=e.parentWindow.Object;e=null;return t},NullProtoObject=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&r?NullProtoObjectViaActiveX(r):function(){var e,t=l("iframe"),n="java"+d+":";t.style.display="none";c.appendChild(t);t.src=String(n);(e=t.contentWindow.document).open();e.write(scriptTag("document.F=Object"));e.close();return e.F}():NullProtoObjectViaActiveX(r);for(var e=s.length;e--;)delete NullProtoObject[f][s[e]];return NullProtoObject()};a[h]=!0;e.exports=Object.create||function create(e,t){var n;if(null!==e){EmptyConstructor[f]=i(e);n=new EmptyConstructor;EmptyConstructor[f]=null;n[h]=e}else n=NullProtoObject();return void 0===t?n:o.f(n,t)}},(e,t,n)=>{var r=n(9),i=n(49),o=n(48),s=n(50),a=n(15),c=n(75);t.f=r&&!i?Object.defineProperties:function defineProperties(e,t){s(e);for(var n,r=a(t),i=c(t),l=i.length,u=0;l>u;)o.f(e,n=i[u++],r[n]);return e}},(e,t,n)=>{var r=n(62),i=n(69);e.exports=Object.keys||function keys(e){return r(e,i)}},(e,t,n)=>{var r=n(27);e.exports=r("document","documentElement")},(e,t,n)=>{var r=n(7),i=n(17);e.exports=function(e,t){return i(r[e].prototype[t])}},(e,t,n)=>{n(79)},(e,t,n)=>{"use strict";var r=n(80),i=n(67),o=n(65),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function at(e){var t=s(this),n=i(t),r=o(e),a=r>=0?r:n+r;return a<0||a>=n?void 0:t[a]}))},(e,t,n)=>{"use strict";var r,i,o,s=n(81),a=n(9),c=n(7),l=n(24),u=n(23),f=n(42),d=n(82),h=n(35),p=n(47),g=n(51),m=n(84),b=n(28),y=n(85),x=n(87),w=n(37),v=n(44),T=n(55),S=T.enforce,E=T.get,C=c.Int8Array,I=C&&C.prototype,P=c.Uint8ClampedArray,A=P&&P.prototype,k=C&&y(C),O=I&&y(I),B=Object.prototype,_=c.TypeError,R=w("toStringTag"),M=v("TYPED_ARRAY_TAG"),D="TypedArrayConstructor",L=s&&!!x&&"Opera"!==d(c.opera),U=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(e){var t=y(e);if(u(t)){var n=E(t);return n&&f(n,D)?n[D]:getTypedArrayConstructor(t)}},isTypedArray=function(e){if(!u(e))return!1;var t=d(e);return f(N,t)||f(j,t)};for(r in N)(o=(i=c[r])&&i.prototype)?S(o)[D]=i:L=!1;for(r in j)(o=(i=c[r])&&i.prototype)&&(S(o)[D]=i);if(!L||!l(k)||k===Function.prototype){k=function TypedArray(){throw _("Incorrect invocation")};if(L)for(r in N)c[r]&&x(c[r],k)}if(!L||!O||O===B){O=k.prototype;if(L)for(r in N)c[r]&&x(c[r].prototype,O)}L&&y(A)!==O&&x(A,O);if(a&&!f(O,R)){U=!0;m(O,R,{configurable:!0,get:function(){return u(this)?this[M]:void 0}});for(r in N)c[r]&&p(c[r],M,r)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:U&&M,aTypedArray:function(e){if(isTypedArray(e))return e;throw _("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!x||b(k,e)))return e;throw _(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(a){if(n)for(var i in N){var o=c[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}O[e]&&!n||g(O,e,n?t:L&&I[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(a){if(x){if(n)for(r in N)if((i=c[r])&&f(i,e))try{delete i[e]}catch(e){}if(k[e]&&!n)return;try{return g(k,e,n?t:L&&k[e]||t)}catch(e){}}for(r in N)!(i=c[r])||i[e]&&!n||g(i,e,t)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(e){if(!u(e))return!1;var t=d(e);return"DataView"===t||f(N,t)||f(j,t)},isTypedArray:isTypedArray,TypedArray:k,TypedArrayPrototype:O}},e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},(e,t,n)=>{var r=n(83),i=n(24),o=n(18),s=n(37)("toStringTag"),a=Object,c="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?n:c?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},(e,t,n)=>{var r={};r[n(37)("toStringTag")]="z";e.exports="[object z]"===String(r)},(e,t,n)=>{var r=n(52),i=n(48);e.exports=function(e,t,n){n.get&&r(n.get,t,{getter:!0});n.set&&r(n.set,t,{setter:!0});return i.f(e,t,n)}},(e,t,n)=>{var r=n(42),i=n(24),o=n(43),s=n(57),a=n(86),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=o(e);if(r(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?u:null}},(e,t,n)=>{var r=n(10);e.exports=!r((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(e,t,n)=>{var r=n(88),i=n(50),o=n(89);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]);t=n instanceof Array}catch(e){}return function setPrototypeOf(n,r){i(n);o(r);t?e(n,r):n.__proto__=r;return n}}():void 0)},(e,t,n)=>{var r=n(17),i=n(34);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},(e,t,n)=>{var r=n(24),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},(e,t,n)=>{n(91);n(98);n(100);n(123);n(125);var r=n(137);e.exports=r.structuredClone},(e,t,n)=>{"use strict";var r=n(15),i=n(72),o=n(92),s=n(55),a=n(48).f,c=n(93),l=n(97),u=n(39),f=n(9),d="Array Iterator",h=s.set,p=s.getterFor(d);e.exports=c(Array,"Array",(function(e,t){h(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;if(!t||r>=t.length){e.target=void 0;return l(void 0,!0)}return l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var g=o.Arguments=o.Array;i("keys");i("values");i("entries");if(!u&&f&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(e){}},e=>{e.exports={}},(e,t,n)=>{"use strict";var r=n(6),i=n(11),o=n(39),s=n(53),a=n(24),c=n(94),l=n(85),u=n(87),f=n(96),d=n(47),h=n(51),p=n(37),g=n(92),m=n(95),b=s.PROPER,y=s.CONFIGURABLE,x=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,v=p("iterator"),T="keys",S="values",E="entries",returnThis=function(){return this};e.exports=function(e,t,n,s,p,m,C){c(n,t,s);var I,P,A,getIterationMethod=function(e){if(e===p&&R)return R;if(!w&&e in B)return B[e];switch(e){case T:return function keys(){return new n(this,e)};case S:return function values(){return new n(this,e)};case E:return function entries(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",O=!1,B=e.prototype,_=B[v]||B["@@iterator"]||p&&B[p],R=!w&&_||getIterationMethod(p),M="Array"==t&&B.entries||_;if(M&&(I=l(M.call(new e)))!==Object.prototype&&I.next){o||l(I)===x||(u?u(I,x):a(I[v])||h(I,v,returnThis));f(I,k,!0,!0);o&&(g[k]=returnThis)}if(b&&p==S&&_&&_.name!==S)if(!o&&y)d(B,"name",S);else{O=!0;R=function values(){return i(_,this)}}if(p){P={values:getIterationMethod(S),keys:m?R:getIterationMethod(T),entries:getIterationMethod(E)};if(C)for(A in P)(w||O||!(A in B))&&h(B,A,P[A]);else r({target:t,proto:!0,forced:w||O},P)}o&&!C||B[v]===R||h(B,v,R,{name:p});g[t]=R;return P}},(e,t,n)=>{"use strict";var r=n(95).IteratorPrototype,i=n(73),o=n(14),s=n(96),a=n(92),returnThis=function(){return this};e.exports=function(e,t,n,c){var l=t+" Iterator";e.prototype=i(r,{next:o(+!c,n)});s(e,l,!1,!0);a[l]=returnThis;return e}},(e,t,n)=>{"use strict";var r,i,o,s=n(10),a=n(24),c=n(23),l=n(73),u=n(85),f=n(51),d=n(37),h=n(39),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=u(u(o)))!==Object.prototype&&(r=i):g=!0);!c(r)||s((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=l(r));a(r[p])||f(r,p,(function(){return this}));e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},(e,t,n)=>{var r=n(48).f,i=n(42),o=n(37)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype);e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},e=>{e.exports=function(e,t){return{value:e,done:t}}},(e,t,n)=>{var r=n(83),i=n(51),o=n(99);r||i(Object.prototype,"toString",o,{unsafe:!0})},(e,t,n)=>{"use strict";var r=n(83),i=n(82);e.exports=r?{}.toString:function toString(){return"[object "+i(this)+"]"}},(e,t,n)=>{n(101)},(e,t,n)=>{"use strict";n(102)("Map",(function(e){return function Map(){return e(this,arguments.length?arguments[0]:void 0)}}),n(120))},(e,t,n)=>{"use strict";var r=n(6),i=n(7),o=n(17),s=n(71),a=n(51),c=n(103),l=n(110),u=n(117),f=n(24),d=n(20),h=n(23),p=n(10),g=n(118),m=n(96),b=n(119);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),x=-1!==e.indexOf("Weak"),w=y?"set":"add",v=i[e],T=v&&v.prototype,S=v,E={},fixMethod=function(e){var t=o(T[e]);a(T,e,"add"==e?function add(e){t(this,0===e?0:e);return this}:"delete"==e?function(e){return!(x&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function get(e){return x&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function has(e){return!(x&&!h(e))&&t(this,0===e?0:e)}:function set(e,n){t(this,0===e?0:e,n);return this})};if(s(e,!f(v)||!(x||T.forEach&&!p((function(){(new v).entries().next()}))))){S=n.getConstructor(t,e,y,w);c.enable()}else if(s(e,!0)){var C=new S,I=C[w](x?{}:-0,1)!=C,P=p((function(){C.has(1)})),A=g((function(e){new v(e)})),k=!x&&p((function(){for(var e=new v,t=5;t--;)e[w](t,t);return!e.has(-0)}));if(!A){(S=t((function(e,t){u(e,T);var n=b(new v,e,S);d(t)||l(t,n[w],{that:n,AS_ENTRIES:y});return n}))).prototype=T;T.constructor=S}if(P||k){fixMethod("delete");fixMethod("has");y&&fixMethod("get")}(k||I)&&fixMethod(w);x&&T.clear&&delete T.clear}E[e]=S;r({global:!0,constructor:!0,forced:S!=v},E);m(S,e);x||n.setStrong(S,e,y);return S}},(e,t,n)=>{var r=n(6),i=n(17),o=n(58),s=n(23),a=n(42),c=n(48).f,l=n(61),u=n(104),f=n(107),d=n(44),h=n(109),p=!1,g=d("meta"),m=0,setMetadata=function(e){c(e,g,{value:{objectID:"O"+m++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){};p=!0;var e=l.f,t=i([].splice),n={};n[g]=1;if(e(n).length){l.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===g){t(r,i,1);break}return r};r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f})}},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,g)){if(!f(e))return"F";if(!t)return"E";setMetadata(e)}return e[g].objectID},getWeakData:function(e,t){if(!a(e,g)){if(!f(e))return!0;if(!t)return!1;setMetadata(e)}return e[g].weakData},onFreeze:function(e){h&&p&&f(e)&&!a(e,g)&&setMetadata(e);return e}};o[g]=!0},(e,t,n)=>{var r=n(18),i=n(15),o=n(61).f,s=n(105),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function getOwnPropertyNames(e){return a&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return s(a)}}(e):o(i(e))}},(e,t,n)=>{var r=n(64),i=n(67),o=n(106),s=Array,a=Math.max;e.exports=function(e,t,n){for(var c=i(e),l=r(t,c),u=r(void 0===n?c:n,c),f=s(a(u-l,0)),d=0;l<u;l++,d++)o(f,d,e[l]);f.length=d;return f}},(e,t,n)=>{"use strict";var r=n(21),i=n(48),o=n(14);e.exports=function(e,t,n){var s=r(t);s in e?i.f(e,s,o(0,n)):e[s]=n}},(e,t,n)=>{var r=n(10),i=n(23),o=n(18),s=n(108),a=Object.isExtensible,c=r((function(){a(1)}));e.exports=c||s?function isExtensible(e){return!!i(e)&&((!s||"ArrayBuffer"!=o(e))&&(!a||a(e)))}:a},(e,t,n)=>{var r=n(10);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},(e,t,n)=>{var r=n(10);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},(e,t,n)=>{var r=n(111),i=n(11),o=n(50),s=n(35),a=n(113),c=n(67),l=n(28),u=n(114),f=n(115),d=n(116),h=TypeError,Result=function(e,t){this.stopped=e;this.result=t},p=Result.prototype;e.exports=function(e,t,n){var g,m,b,y,x,w,v,T=n&&n.that,S=!(!n||!n.AS_ENTRIES),E=!(!n||!n.IS_RECORD),C=!(!n||!n.IS_ITERATOR),I=!(!n||!n.INTERRUPTED),P=r(t,T),stop=function(e){g&&d(g,"normal",e);return new Result(!0,e)},callFn=function(e){if(S){o(e);return I?P(e[0],e[1],stop):P(e[0],e[1])}return I?P(e,stop):P(e)};if(E)g=e.iterator;else if(C)g=e;else{if(!(m=f(e)))throw h(s(e)+" is not iterable");if(a(m)){for(b=0,y=c(e);y>b;b++)if((x=callFn(e[b]))&&l(p,x))return x;return new Result(!1)}g=u(e,m)}w=E?e.next:g.next;for(;!(v=i(w,g)).done;){try{x=callFn(v.value)}catch(e){d(g,"throw",e)}if("object"==typeof x&&x&&l(p,x))return x}return new Result(!1)}},(e,t,n)=>{var r=n(112),i=n(34),o=n(12),s=r(r.bind);e.exports=function(e,t){i(e);return void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},(e,t,n)=>{var r=n(18),i=n(17);e.exports=function(e){if("Function"===r(e))return i(e)}},(e,t,n)=>{var r=n(37),i=n(92),o=r("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},(e,t,n)=>{var r=n(11),i=n(34),o=n(50),s=n(35),a=n(115),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(i(n))return o(r(n,e));throw c(s(e)+" is not iterable")}},(e,t,n)=>{var r=n(82),i=n(33),o=n(20),s=n(92),a=n(37)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[r(e)]}},(e,t,n)=>{var r=n(11),i=n(50),o=n(33);e.exports=function(e,t,n){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw n;return n}s=r(s,e)}catch(e){a=!0;s=e}if("throw"===t)throw n;if(a)throw s;i(s);return n}},(e,t,n)=>{var r=n(28),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},(e,t,n)=>{var r=n(37)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[r]=function(){return this};Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}};e(o)}catch(e){}return n}},(e,t,n)=>{var r=n(24),i=n(23),o=n(87);e.exports=function(e,t,n){var s,a;o&&r(s=t.constructor)&&s!==n&&i(a=s.prototype)&&a!==n.prototype&&o(e,a);return e}},(e,t,n)=>{"use strict";var r=n(73),i=n(84),o=n(121),s=n(111),a=n(117),c=n(20),l=n(110),u=n(93),f=n(97),d=n(122),h=n(9),p=n(103).fastKey,g=n(55),m=g.set,b=g.getterFor;e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,i){a(e,d);m(e,{type:t,index:r(null),first:void 0,last:void 0,size:0});h||(e.size=0);c(i)||l(i,e[u],{that:e,AS_ENTRIES:n})})),d=f.prototype,g=b(t),define=function(e,t,n){var r,i,o=g(e),s=getEntry(e,t);if(s)s.value=n;else{o.last=s={index:i=p(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1};o.first||(o.first=s);r&&(r.next=s);h?o.size++:e.size++;"F"!==i&&(o.index[i]=s)}return e},getEntry=function(e,t){var n,r=g(e),i=p(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};o(d,{clear:function clear(){for(var e=g(this),t=e.index,n=e.first;n;){n.removed=!0;n.previous&&(n.previous=n.previous.next=void 0);delete t[n.index];n=n.next}e.first=e.last=void 0;h?e.size=0:this.size=0},delete:function(e){var t=this,n=g(t),r=getEntry(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index];r.removed=!0;o&&(o.next=i);i&&(i.previous=o);n.first==r&&(n.first=i);n.last==r&&(n.last=o);h?n.size--:t.size--}return!!r},forEach:function forEach(e){for(var t,n=g(this),r=s(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;){r(t.value,t.key,this);for(;t&&t.removed;)t=t.previous}},has:function has(e){return!!getEntry(this,e)}});o(d,n?{get:function get(e){var t=getEntry(this,e);return t&&t.value},set:function set(e,t){return define(this,0===e?0:e,t)}}:{add:function add(e){return define(this,e=0===e?0:e,e)}});h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}});return f},setStrong:function(e,t,n){var r=t+" Iterator",i=b(t),o=b(r);u(e,t,(function(e,t){m(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;if(!e.target||!(e.last=n=n?n.next:e.state.first)){e.target=void 0;return f(void 0,!0)}return f("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1)}),n?"entries":"values",!n,!0);d(t)}}},(e,t,n)=>{var r=n(51);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},(e,t,n)=>{"use strict";var r=n(27),i=n(84),o=n(37),s=n(9),a=o("species");e.exports=function(e){var t=r(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},(e,t,n)=>{n(124)},(e,t,n)=>{"use strict";n(102)("Set",(function(e){return function Set(){return e(this,arguments.length?arguments[0]:void 0)}}),n(120))},(e,t,n)=>{var r,i=n(39),o=n(6),s=n(7),a=n(27),c=n(17),l=n(10),u=n(44),f=n(24),d=n(126),h=n(20),p=n(23),g=n(26),m=n(110),b=n(50),y=n(82),x=n(42),w=n(106),v=n(47),T=n(67),S=n(127),E=n(128),C=n(130),I=n(131),P=n(132),A=n(133),k=s.Object,O=s.Array,B=s.Date,_=s.Error,R=s.EvalError,M=s.RangeError,D=s.ReferenceError,L=s.SyntaxError,U=s.TypeError,N=s.URIError,j=s.PerformanceMark,H=s.WebAssembly,z=H&&H.CompileError||_,X=H&&H.LinkError||_,J=H&&H.RuntimeError||_,q=a("DOMException"),G=C.Map,W=C.has,Y=C.get,V=C.set,$=I.Set,K=I.add,Q=a("Object","keys"),Z=c([].push),ee=c((!0).valueOf),te=c(1..valueOf),ne=c("".valueOf),re=c(B.prototype.getTime),ie=u("structuredClone"),oe="DataCloneError",se="Transferring",checkBasicSemantic=function(e){return!l((function(){var t=new s.Set([7]),n=e(t),r=e(k(7));return n==t||!n.has(7)||"object"!=typeof r||7!=r}))&&e},checkErrorsCloning=function(e,t){return!l((function(){var n=new t,r=e({a:n,b:n});return!(r&&r.a===r.b&&r.a instanceof t&&r.a.stack===n.stack)}))},ae=s.structuredClone,ce=i||!checkErrorsCloning(ae,_)||!checkErrorsCloning(ae,q)||!(r=ae,!l((function(){var e=r(new s.AggregateError([1],ie,{cause:3}));return"AggregateError"!=e.name||1!=e.errors[0]||e.message!=ie||3!=e.cause}))),le=!ae&&checkBasicSemantic((function(e){return new j(ie,{detail:e}).detail})),ue=checkBasicSemantic(ae)||le,throwUncloneable=function(e){throw new q("Uncloneable type: "+e,oe)},throwUnpolyfillable=function(e,t){throw new q((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",oe)},tryNativeRestrictedStructuredClone=function(e,t){ue||throwUnpolyfillable(t);return ue(e)},structuredCloneInternal=function(e,t){g(e)&&throwUncloneable("Symbol");if(!p(e))return e;if(t){if(W(t,e))return Y(t,e)}else t=new G;var n,r,i,o,c,l,u,d,h,m,b,S=y(e),C=!1;switch(S){case"Array":i=O(T(e));C=!0;break;case"Object":i={};C=!0;break;case"Map":i=new G;C=!0;break;case"Set":i=new $;C=!0;break;case"RegExp":i=new RegExp(e.source,E(e));break;case"Error":switch(r=e.name){case"AggregateError":i=a("AggregateError")([]);break;case"EvalError":i=R();break;case"RangeError":i=M();break;case"ReferenceError":i=D();break;case"SyntaxError":i=L();break;case"TypeError":i=U();break;case"URIError":i=N();break;case"CompileError":i=z();break;case"LinkError":i=X();break;case"RuntimeError":i=J();break;default:i=_()}C=!0;break;case"DOMException":i=new q(e.message,e.name);C=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":n=s[S];p(n)||throwUnpolyfillable(S);i=new n(structuredCloneInternal(e.buffer,t),e.byteOffset,"DataView"===S?e.byteLength:e.length);break;case"DOMQuad":try{i=new DOMQuad(structuredCloneInternal(e.p1,t),structuredCloneInternal(e.p2,t),structuredCloneInternal(e.p3,t),structuredCloneInternal(e.p4,t))}catch(t){i=tryNativeRestrictedStructuredClone(e,S)}break;case"File":if(ue)try{i=ue(e);y(i)!==S&&(i=void 0)}catch(e){}if(!i)try{i=new File([e],e.name,e)}catch(e){}i||throwUnpolyfillable(S);break;case"FileList":if(o=function(){var e;try{e=new s.DataTransfer}catch(t){try{e=new s.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(c=0,l=T(e);c<l;c++)o.items.add(structuredCloneInternal(e[c],t));i=o.files}else i=tryNativeRestrictedStructuredClone(e,S);break;case"ImageData":try{i=new ImageData(structuredCloneInternal(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){i=tryNativeRestrictedStructuredClone(e,S)}break;default:if(ue)i=ue(e);else switch(S){case"BigInt":i=k(e.valueOf());break;case"Boolean":i=k(ee(e));break;case"Number":i=k(te(e));break;case"String":i=k(ne(e));break;case"Date":i=new B(re(e));break;case"ArrayBuffer":(n=s.DataView)||"function"==typeof e.slice||throwUnpolyfillable(S);try{if("function"!=typeof e.slice||e.resizable){l=e.byteLength;b="maxByteLength"in e?{maxByteLength:e.maxByteLength}:void 0;i=new ArrayBuffer(l,b);h=new n(e);m=new n(i);for(c=0;c<l;c++)m.setUint8(c,h.getUint8(c))}else i=e.slice(0)}catch(e){throw new q("ArrayBuffer is detached",oe)}break;case"SharedArrayBuffer":i=e;break;case"Blob":try{i=e.slice(0,e.size,e.type)}catch(e){throwUnpolyfillable(S)}break;case"DOMPoint":case"DOMPointReadOnly":n=s[S];try{i=n.fromPoint?n.fromPoint(e):new n(e.x,e.y,e.z,e.w)}catch(e){throwUnpolyfillable(S)}break;case"DOMRect":case"DOMRectReadOnly":n=s[S];try{i=n.fromRect?n.fromRect(e):new n(e.x,e.y,e.width,e.height)}catch(e){throwUnpolyfillable(S)}break;case"DOMMatrix":case"DOMMatrixReadOnly":n=s[S];try{i=n.fromMatrix?n.fromMatrix(e):new n(e)}catch(e){throwUnpolyfillable(S)}break;case"AudioData":case"VideoFrame":f(e.clone)||throwUnpolyfillable(S);try{i=e.clone()}catch(e){throwUncloneable(S)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":throwUnpolyfillable(S);default:throwUncloneable(S)}}V(t,e,i);if(C)switch(S){case"Array":case"Object":u=Q(e);for(c=0,l=T(u);c<l;c++){d=u[c];w(i,d,structuredCloneInternal(e[d],t))}break;case"Map":e.forEach((function(e,n){V(i,structuredCloneInternal(n,t),structuredCloneInternal(e,t))}));break;case"Set":e.forEach((function(e){K(i,structuredCloneInternal(e,t))}));break;case"Error":v(i,"message",structuredCloneInternal(e.message,t));x(e,"cause")&&v(i,"cause",structuredCloneInternal(e.cause,t));"AggregateError"==r&&(i.errors=structuredCloneIntern