UNPKG

ngx-extended-pdf-viewer

Version:

Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.

23 lines 793 kB
window.ngxZone.runOutsideAngular(() => { /** * @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?globalThis["pdfjs-dist/build/pdf"]=module.exports=t():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf",[],t):"object"==typeof exports?globalThis["pdfjs-dist/build/pdf"]=exports["pdfjs-dist/build/pdf"]=t():e["pdfjs-dist/build/pdf"]=e.pdfjsLib=t()}(globalThis,(()=>(()=>{var __webpack_modules__=[,(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.RenderingIntentFlag=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=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&&null!==e&&void 0!==e.length||unreachable("Invalid argument for bytesToString");const t=e.length,i=8192;if(t<i)return String.fromCharCode.apply(null,e);const n=[];for(let s=0;s<t;s+=i){const r=Math.min(s+i,t),a=e.subarray(s,r);n.push(String.fromCharCode.apply(null,a))}return n.join("")};t.createPromiseCapability=function createPromiseCapability(){const e=Object.create(null);let t=!1;Object.defineProperty(e,"settled",{get:()=>t});e.promise=new Promise((function(i,n){e.resolve=function(e){t=!0;i(e)};e.reject=function(e){t=!0;n(e)}}));return e};t.createValidAbsoluteUrl=function createValidAbsoluteUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(i&&"string"==typeof e){if(i.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t&&t.length>=2&&(e=`http://${e}`)}if(i.tryConvertEncoding)try{e=stringToUTF8String(e)}catch(e){}}const n=t?new URL(e,t):new URL(e);if(function _isValidProtocol(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":case"capacitor":return!0;default:return!1}}(n))return n}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 s};t.info=function info(e){s>=n.INFOS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log(`Info: ${e}`):Window&&Window.ngxConsole?Window.ngxConsole.log(`Info: ${e}`):console.log(`Info: ${e}`))};t.isArrayBuffer=function isArrayBuffer(e){return"object"==typeof e&&null!==e&&void 0!==e.byteLength};t.isArrayEqual=function isArrayEqual(e,t){if(e.length!==t.length)return!1;for(let i=0,n=e.length;i<n;i++)if(e[i]!==t[i])return!1;return!0};t.objectFromMap=function objectFromMap(e){const t=Object.create(null);for(const[i,n]of e)t[i]=n;return t};t.objectSize=function objectSize(e){return Object.keys(e).length};t.setVerbosityLevel=function setVerbosityLevel(e){Number.isInteger(e)&&(s=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 i=new TextDecoder(t,{fatal:!0}),n=stringToBytes(e);return i.decode(n)}catch(e){warn(`stringToPDFString: "${e}".`)}}const t=[];for(let i=0,n=e.length;i<n;i++){const n=o[e.charCodeAt(i)];t.push(n?String.fromCharCode(n):e.charAt(i))}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;i(2)}t.IDENTITY_MATRIX=[1,0,0,1,0,0];t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];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 n={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=n;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.UNSUPPORTED_FEATURES={forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let s=n.WARNINGS;function warn(e){s>=n.WARNINGS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log(`Warning: ${e}`):Window&&Window.ngxConsole?Window.ngxConsole.log(`Warning: ${e}`):console.log(`Warning: ${e}`))}function unreachable(e){throw new Error(e)}function shadow(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];Object.defineProperty(e,t,{value:i,enumerable:!n,configurable:!0,writable:!1});return i}const r=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=r;t.PasswordException=class PasswordException extends r{constructor(e,t){super(e,"PasswordException");this.code=t}};t.UnknownErrorException=class UnknownErrorException extends r{constructor(e,t){super(e,"UnknownErrorException");this.details=t}};t.InvalidPDFException=class InvalidPDFException extends r{constructor(e){super(e,"InvalidPDFException")}};t.MissingPDFException=class MissingPDFException extends r{constructor(e){super(e,"MissingPDFException")}};t.UnexpectedResponseException=class UnexpectedResponseException extends r{constructor(e,t){super(e,"UnexpectedResponseException");this.status=t}};t.FormatError=class FormatError extends r{constructor(e){super(e,"FormatError")}};t.AbortException=class AbortException extends r{constructor(e){super(e,"AbortException")}};function stringToBytes(e){"string"!=typeof e&&unreachable("Invalid argument for stringToBytes");const t=e.length,i=new Uint8Array(t);for(let n=0;n<t;++n)i[n]=255&e.charCodeAt(n);return i}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 a=[...Array(256).keys()].map((e=>e.toString(16).padStart(2,"0")));class Util{static makeHexColor(e,t,i){return`#${a[e]}${a[t]}${a[i]}`}static scaleMinMax(e,t){let i;if(e[0]){if(e[0]<0){i=t[0];t[0]=t[1];t[1]=i}t[0]*=e[0];t[1]*=e[0];if(e[3]<0){i=t[2];t[2]=t[3];t[3]=i}t[2]*=e[3];t[3]*=e[3]}else{i=t[0];t[0]=t[2];t[2]=i;i=t[1];t[1]=t[3];t[3]=i;if(e[1]<0){i=t[2];t[2]=t[3];t[3]=i}t[2]*=e[1];t[3]*=e[1];if(e[2]<0){i=t[0];t[0]=t[1];t[1]=i}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 i=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])/i,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/i]}static getAxialAlignedBoundingBox(e,t){const i=Util.applyTransform(e,t),n=Util.applyTransform(e.slice(2,4),t),s=Util.applyTransform([e[0],e[3]],t),r=Util.applyTransform([e[2],e[1]],t);return[Math.min(i[0],n[0],s[0],r[0]),Math.min(i[1],n[1],s[1],r[1]),Math.max(i[0],n[0],s[0],r[0]),Math.max(i[1],n[1],s[1],r[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]],i=e[0]*t[0]+e[1]*t[2],n=e[0]*t[1]+e[1]*t[3],s=e[2]*t[0]+e[3]*t[2],r=e[2]*t[1]+e[3]*t[3],a=(i+r)/2,o=Math.sqrt((i+r)**2-4*(i*r-s*n))/2,l=a+o||1,c=a-o||1;return[Math.sqrt(l),Math.sqrt(c)]}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 i=Math.max(Math.min(e[0],e[2]),Math.min(t[0],t[2])),n=Math.min(Math.max(e[0],e[2]),Math.max(t[0],t[2]));if(i>n)return null;const s=Math.max(Math.min(e[1],e[3]),Math.min(t[1],t[3])),r=Math.min(Math.max(e[1],e[3]),Math.max(t[1],t[3]));return s>r?null:[i,s,n,r]}static bezierBoundingBox(e,t,i,n,s,r,a,o){const l=[],c=[[],[]];let d,h,u,p,g,f,m,v;for(let c=0;c<2;++c){if(0===c){h=6*e-12*i+6*s;d=-3*e+9*i-9*s+3*a;u=3*i-3*e}else{h=6*t-12*n+6*r;d=-3*t+9*n-9*r+3*o;u=3*n-3*t}if(Math.abs(d)<1e-12){if(Math.abs(h)<1e-12)continue;p=-u/h;0<p&&p<1&&l.push(p)}else{m=h*h-4*u*d;v=Math.sqrt(m);if(!(m<0)){g=(-h+v)/(2*d);0<g&&g<1&&l.push(g);f=(-h-v)/(2*d);0<f&&f<1&&l.push(f)}}}let _,b=l.length;const w=b;for(;b--;){p=l[b];_=1-p;c[0][b]=_*_*_*e+3*_*_*p*i+3*_*p*p*s+p*p*p*a;c[1][b]=_*_*_*t+3*_*_*p*n+3*_*p*p*r+p*p*p*o}c[0][w]=e;c[1][w]=t;c[0][w+1]=a;c[1][w+1]=o;c[0].length=c[1].length=w+2;return[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}t.Util=Util;const o=[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))}},(e,t,i)=>{"use strict";!function checkNodeBtoa(){globalThis.btoa}();!function checkNodeAtob(){globalThis.atob}();!function checkDOMMatrix(){globalThis.DOMMatrix}();!function checkPath2D(){globalThis.Path2D}();!function checkReadableStream(){globalThis.ReadableStream}();!function checkArrayAt(){Array.prototype.at||i(3)}();!function checkTypedArrayAt(){Uint8Array.prototype.at||i(77)}();!function checkStructuredClone(){globalThis.structuredClone||i(87)}()},(e,t,i)=>{i(4);var n=i(76);e.exports=n("Array","at")},(e,t,i)=>{"use strict";var n=i(5),s=i(42),r=i(66),a=i(64),o=i(71);n({target:"Array",proto:!0},{at:function at(e){var t=s(this),i=r(t),n=a(e),o=n>=0?n:i+n;return o<0||o>=i?void 0:t[o]}});o("at")},(e,t,i)=>{var n=i(6),s=i(7).f,r=i(46),a=i(50),o=i(40),l=i(58),c=i(70);e.exports=function(e,t){var i,d,h,u,p,g=e.target,f=e.global,m=e.stat;if(i=f?n:m?n[g]||o(g,{}):(n[g]||{}).prototype)for(d in t){u=t[d];h=e.dontCallGetSet?(p=s(i,d))&&p.value:i[d];if(!c(f?d:g+(m?".":"#")+d,e.forced)&&void 0!==h){if(typeof u==typeof h)continue;l(u,h)}(e.sham||h&&h.sham)&&r(u,"sham",!0);a(i,d,u,e)}}},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}()||Function("return this")()},(e,t,i)=>{var n=i(8),s=i(10),r=i(12),a=i(13),o=i(14),l=i(20),c=i(41),d=i(44),h=Object.getOwnPropertyDescriptor;t.f=n?h:function getOwnPropertyDescriptor(e,t){e=o(e);t=l(t);if(d)try{return h(e,t)}catch(e){}if(c(e,t))return a(!s(r.f,e,t),e[t])}},(e,t,i)=>{var n=i(9);e.exports=!n((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,i)=>{var n=i(11),s=Function.prototype.call;e.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},(e,t,i)=>{var n=i(9);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},(e,t)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!i.call({1:2},1);t.f=s?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:i},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,i)=>{var n=i(15),s=i(18);e.exports=function(e){return n(s(e))}},(e,t,i)=>{var n=i(16),s=i(9),r=i(17),a=Object,o=n("".split);e.exports=s((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o(e,""):a(e)}:a},(e,t,i)=>{var n=i(11),s=Function.prototype,r=s.call,a=n&&s.bind.bind(r,r);e.exports=n?a:function(e){return function(){return r.apply(e,arguments)}}},(e,t,i)=>{var n=i(16),s=n({}.toString),r=n("".slice);e.exports=function(e){return r(s(e),8,-1)}},(e,t,i)=>{var n=i(19),s=TypeError;e.exports=function(e){if(n(e))throw s("Can't call method on "+e);return e}},e=>{e.exports=function(e){return null==e}},(e,t,i)=>{var n=i(21),s=i(25);e.exports=function(e){var t=n(e,"string");return s(t)?t:t+""}},(e,t,i)=>{var n=i(10),s=i(22),r=i(25),a=i(32),o=i(35),l=i(36),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!s(e)||r(e))return e;var i,l=a(e,d);if(l){void 0===t&&(t="default");i=n(l,e,t);if(!s(i)||r(i))return i;throw c("Can't convert object to primitive value")}void 0===t&&(t="number");return o(e,t)}},(e,t,i)=>{var n=i(23),s=i(24),r=s.all;e.exports=s.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===r}:function(e){return"object"==typeof e?null!==e:n(e)}},(e,t,i)=>{var n=i(24),s=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===s}:function(e){return"function"==typeof e}},e=>{var t="object"==typeof document&&document.all,i=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:i}},(e,t,i)=>{var n=i(26),s=i(23),r=i(27),a=i(28),o=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return s(t)&&r(t.prototype,o(e))}},(e,t,i)=>{var n=i(6),s=i(23),aFunction=function(e){return s(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?aFunction(n[e]):n[e]&&n[e][t]}},(e,t,i)=>{var n=i(16);e.exports=n({}.isPrototypeOf)},(e,t,i)=>{var n=i(29);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,i)=>{var n=i(30),s=i(9);e.exports=!!Object.getOwnPropertySymbols&&!s((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},(e,t,i)=>{var n,s,r=i(6),a=i(31),o=r.process,l=r.Deno,c=o&&o.versions||l&&l.version,d=c&&c.v8;d&&(s=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!s&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(s=+n[1]);e.exports=s},e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},(e,t,i)=>{var n=i(33),s=i(19);e.exports=function(e,t){var i=e[t];return s(i)?void 0:n(i)}},(e,t,i)=>{var n=i(23),s=i(34),r=TypeError;e.exports=function(e){if(n(e))return e;throw r(s(e)+" is not a function")}},e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},(e,t,i)=>{var n=i(10),s=i(23),r=i(22),a=TypeError;e.exports=function(e,t){var i,o;if("string"===t&&s(i=e.toString)&&!r(o=n(i,e)))return o;if(s(i=e.valueOf)&&!r(o=n(i,e)))return o;if("string"!==t&&s(i=e.toString)&&!r(o=n(i,e)))return o;throw a("Can't convert object to primitive value")}},(e,t,i)=>{var n=i(6),s=i(37),r=i(41),a=i(43),o=i(29),l=i(28),c=n.Symbol,d=s("wks"),h=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){r(d,e)||(d[e]=o&&r(c,e)?c[e]:h("Symbol."+e));return d[e]}},(e,t,i)=>{var n=i(38),s=i(39);(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},e=>{e.exports=!1},(e,t,i)=>{var n=i(6),s=i(40),r="__core-js_shared__",a=n[r]||s(r,{});e.exports=a},(e,t,i)=>{var n=i(6),s=Object.defineProperty;e.exports=function(e,t){try{s(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},(e,t,i)=>{var n=i(16),s=i(42),r=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return r(s(e),t)}},(e,t,i)=>{var n=i(18),s=Object;e.exports=function(e){return s(n(e))}},(e,t,i)=>{var n=i(16),s=0,r=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++s+r,36)}},(e,t,i)=>{var n=i(8),s=i(9),r=i(45);e.exports=!n&&!s((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},(e,t,i)=>{var n=i(6),s=i(22),r=n.document,a=s(r)&&s(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},(e,t,i)=>{var n=i(8),s=i(47),r=i(13);e.exports=n?function(e,t,i){return s.f(e,t,r(1,i))}:function(e,t,i){e[t]=i;return e}},(e,t,i)=>{var n=i(8),s=i(44),r=i(48),a=i(49),o=i(20),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h="enumerable",u="configurable",p="writable";t.f=n?r?function defineProperty(e,t,i){a(e);t=o(t);a(i);if("function"==typeof e&&"prototype"===t&&"value"in i&&p in i&&!i[p]){var n=d(e,t);if(n&&n[p]){e[t]=i.value;i={configurable:u in i?i[u]:n[u],enumerable:h in i?i[h]:n[h],writable:!1}}}return c(e,t,i)}:c:function defineProperty(e,t,i){a(e);t=o(t);a(i);if(s)try{return c(e,t,i)}catch(e){}if("get"in i||"set"in i)throw l("Accessors not supported");"value"in i&&(e[t]=i.value);return e}},(e,t,i)=>{var n=i(8),s=i(9);e.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(e,t,i)=>{var n=i(22),s=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw r(s(e)+" is not an object")}},(e,t,i)=>{var n=i(23),s=i(47),r=i(51),a=i(40);e.exports=function(e,t,i,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:t;n(i)&&r(i,c,o);if(o.global)l?e[t]=i:a(t,i);else{try{o.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:s.f(e,t,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return e}},(e,t,i)=>{var n=i(16),s=i(9),r=i(23),a=i(41),o=i(8),l=i(52).CONFIGURABLE,c=i(53),d=i(54),h=d.enforce,u=d.get,p=String,g=Object.defineProperty,f=n("".slice),m=n("".replace),v=n([].join),_=o&&!s((function(){return 8!==g((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,i){"Symbol("===f(p(t),0,7)&&(t="["+m(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]");i&&i.getter&&(t="get "+t);i&&i.setter&&(t="set "+t);(!a(e,"name")||l&&e.name!==t)&&(o?g(e,"name",{value:t,configurable:!0}):e.name=t);_&&i&&a(i,"arity")&&e.length!==i.arity&&g(e,"length",{value:i.arity});try{i&&a(i,"constructor")&&i.constructor?o&&g(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=h(e);a(n,"source")||(n.source=v(b,"string"==typeof t?t:""));return e};Function.prototype.toString=w((function toString(){return r(this)&&u(this).source||c(this)}),"toString")},(e,t,i)=>{var n=i(8),s=i(41),r=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=s(r,"name"),l=o&&"something"===function something(){}.name,c=o&&(!n||n&&a(r,"name").configurable);e.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},(e,t,i)=>{var n=i(16),s=i(23),r=i(39),a=n(Function.toString);s(r.inspectSource)||(r.inspectSource=function(e){return a(e)});e.exports=r.inspectSource},(e,t,i)=>{var n,s,r,a=i(55),o=i(6),l=i(22),c=i(46),d=i(41),h=i(39),u=i(56),p=i(57),g="Object already initialized",f=o.TypeError,m=o.WeakMap;if(a||h.state){var v=h.state||(h.state=new m);v.get=v.get;v.has=v.has;v.set=v.set;n=function(e,t){if(v.has(e))throw f(g);t.facade=e;v.set(e,t);return t};s=function(e){return v.get(e)||{}};r=function(e){return v.has(e)}}else{var _=u("state");p[_]=!0;n=function(e,t){if(d(e,_))throw f(g);t.facade=e;c(e,_,t);return t};s=function(e){return d(e,_)?e[_]:{}};r=function(e){return d(e,_)}}e.exports={set:n,get:s,has:r,enforce:function(e){return r(e)?s(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=s(t)).type!==e)throw f("Incompatible receiver, "+e+" required");return i}}}},(e,t,i)=>{var n=i(6),s=i(23),r=n.WeakMap;e.exports=s(r)&&/native code/.test(String(r))},(e,t,i)=>{var n=i(37),s=i(43),r=n("keys");e.exports=function(e){return r[e]||(r[e]=s(e))}},e=>{e.exports={}},(e,t,i)=>{var n=i(41),s=i(59),r=i(7),a=i(47);e.exports=function(e,t,i){for(var o=s(t),l=a.f,c=r.f,d=0;d<o.length;d++){var h=o[d];n(e,h)||i&&n(i,h)||l(e,h,c(t,h))}}},(e,t,i)=>{var n=i(26),s=i(16),r=i(60),a=i(69),o=i(49),l=s([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=r.f(o(e)),i=a.f;return i?l(t,i(e)):t}},(e,t,i)=>{var n=i(61),s=i(68).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,s)}},(e,t,i)=>{var n=i(16),s=i(41),r=i(14),a=i(62).indexOf,o=i(57),l=n([].push);e.exports=function(e,t){var i,n=r(e),c=0,d=[];for(i in n)!s(o,i)&&s(n,i)&&l(d,i);for(;t.length>c;)s(n,i=t[c++])&&(~a(d,i)||l(d,i));return d}},(e,t,i)=>{var n=i(14),s=i(63),r=i(66),createMethod=function(e){return function(t,i,a){var o,l=n(t),c=r(l),d=s(a,c);if(e&&i!=i){for(;c>d;)if((o=l[d++])!=o)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===i)return e||d||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(e,t,i)=>{var n=i(64),s=Math.max,r=Math.min;e.exports=function(e,t){var i=n(e);return i<0?s(i+t,0):r(i,t)}},(e,t,i)=>{var n=i(65);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},e=>{var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?i:t)(n)}},(e,t,i)=>{var n=i(67);e.exports=function(e){return n(e.length)}},(e,t,i)=>{var n=i(64),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,i)=>{var n=i(9),s=i(23),r=/#|\.prototype\./,isForced=function(e,t){var i=o[a(e)];return i==c||i!=l&&(s(t)?n(t):!!t)},a=isForced.normalize=function(e){return String(e).replace(r,".").toLowerCase()},o=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";e.exports=isForced},(e,t,i)=>{var n=i(36),s=i(72),r=i(47).f,a=n("unscopables"),o=Array.prototype;null==o[a]&&r(o,a,{configurable:!0,value:s(null)});e.exports=function(e){o[a][e]=!0}},(e,t,i)=>{var n,s=i(49),r=i(73),a=i(68),o=i(57),l=i(75),c=i(45),d=i(56),h="prototype",u="script",p=d("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(e){return"<"+u+">"+e+"</"+u+">"},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(""));e.close();var t=e.parentWindow.Object;e=null;return t},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):function(){var e,t=c("iframe"),i="java"+u+":";t.style.display="none";l.appendChild(t);t.src=String(i);(e=t.contentWindow.document).open();e.write(scriptTag("document.F=Object"));e.close();return e.F}():NullProtoObjectViaActiveX(n);for(var e=a.length;e--;)delete NullProtoObject[h][a[e]];return NullProtoObject()};o[p]=!0;e.exports=Object.create||function create(e,t){var i;if(null!==e){EmptyConstructor[h]=s(e);i=new EmptyConstructor;EmptyConstructor[h]=null;i[p]=e}else i=NullProtoObject();return void 0===t?i:r.f(i,t)}},(e,t,i)=>{var n=i(8),s=i(48),r=i(47),a=i(49),o=i(14),l=i(74);t.f=n&&!s?Object.defineProperties:function defineProperties(e,t){a(e);for(var i,n=o(t),s=l(t),c=s.length,d=0;c>d;)r.f(e,i=s[d++],n[i]);return e}},(e,t,i)=>{var n=i(61),s=i(68);e.exports=Object.keys||function keys(e){return n(e,s)}},(e,t,i)=>{var n=i(26);e.exports=n("document","documentElement")},(e,t,i)=>{var n=i(6),s=i(16);e.exports=function(e,t){return s(n[e].prototype[t])}},(e,t,i)=>{i(78)},(e,t,i)=>{"use strict";var n=i(79),s=i(66),r=i(64),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function at(e){var t=a(this),i=s(t),n=r(e),o=n>=0?n:i+n;return o<0||o>=i?void 0:t[o]}))},(e,t,i)=>{"use strict";var n,s,r,a=i(80),o=i(8),l=i(6),c=i(23),d=i(22),h=i(41),u=i(81),p=i(34),g=i(46),f=i(50),m=i(47).f,v=i(27),_=i(83),b=i(85),w=i(36),y=i(43),P=i(54),S=P.enforce,A=P.get,E=l.Int8Array,x=E&&E.prototype,C=l.Uint8ClampedArray,M=C&&C.prototype,T=E&&_(E),k=x&&_(x),I=Object.prototype,D=l.TypeError,R=w("toStringTag"),L=y("TYPED_ARRAY_TAG"),O="TypedArrayConstructor",N=a&&!!b&&"Opera"!==u(l.opera),B=!1,G={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(e){var t=_(e);if(d(t)){var i=A(t);return i&&h(i,O)?i[O]:getTypedArrayConstructor(t)}},isTypedArray=function(e){if(!d(e))return!1;var t=u(e);return h(G,t)||h(V,t)};for(n in G)(r=(s=l[n])&&s.prototype)?S(r)[O]=s:N=!1;for(n in V)(r=(s=l[n])&&s.prototype)&&(S(r)[O]=s);if(!N||!c(T)||T===Function.prototype){T=function TypedArray(){throw D("Incorrect invocation")};if(N)for(n in G)l[n]&&b(l[n],T)}if(!N||!k||k===I){k=T.prototype;if(N)for(n in G)l[n]&&b(l[n].prototype,k)}N&&_(M)!==k&&b(M,k);if(o&&!h(k,R)){B=!0;m(k,R,{get:function(){return d(this)?this[L]:void 0}});for(n in G)l[n]&&g(l[n],L,n)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:B&&L,aTypedArray:function(e){if(isTypedArray(e))return e;throw D("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(T,e)))return e;throw D(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,i,n){if(o){if(i)for(var s in G){var r=l[s];if(r&&h(r.prototype,e))try{delete r.prototype[e]}catch(i){try{r.prototype[e]=t}catch(e){}}}k[e]&&!i||f(k,e,i?t:N&&x[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,i){var n,s;if(o){if(b){if(i)for(n in G)if((s=l[n])&&h(s,e))try{delete s[e]}catch(e){}if(T[e]&&!i)return;try{return f(T,e,i?t:N&&T[e]||t)}catch(e){}}for(n in G)!(s=l[n])||s[e]&&!i||f(s,e,t)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(e){if(!d(e))return!1;var t=u(e);return"DataView"===t||h(G,t)||h(V,t)},isTypedArray:isTypedArray,TypedArray:T,TypedArrayPrototype:k}},e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},(e,t,i)=>{var n=i(82),s=i(23),r=i(17),a=i(36)("toStringTag"),o=Object,l="Arguments"==r(function(){return arguments}());e.exports=n?r:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=o(e),a))?i:l?r(t):"Object"==(n=r(t))&&s(t.callee)?"Arguments":n}},(e,t,i)=>{var n={};n[i(36)("toStringTag")]="z";e.exports="[object z]"===String(n)},(e,t,i)=>{var n=i(41),s=i(23),r=i(42),a=i(56),o=i(84),l=a("IE_PROTO"),c=Object,d=c.prototype;e.exports=o?c.getPrototypeOf:function(e){var t=r(e);if(n(t,l))return t[l];var i=t.constructor;return s(i)&&t instanceof i?i.prototype:t instanceof c?d:null}},(e,t,i)=>{var n=i(9);e.exports=!n((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(e,t,i)=>{var n=i(16),s=i(49),r=i(86);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]);t=i instanceof Array}catch(e){}return function setPrototypeOf(i,n){s(i);r(n);t?e(i,n):i.__proto__=n;return i}}():void 0)},(e,t,i)=>{var n=i(23),s=String,r=TypeError;e.exports=function(e){if("object"==typeof e||n(e))return e;throw r("Can't set "+s(e)+" as a prototype")}},(e,t,i)=>{i(88);i(95);i(97);i(120);i(122);var n=i(133);e.exports=n.structuredClone},(e,t,i)=>{"use strict";var n=i(14),s=i(71),r=i(89),a=i(54),o=i(47).f,l=i(90),c=i(94),d=i(38),h=i(8),u="Array Iterator",p=a.set,g=a.getterFor(u);e.exports=l(Array,"Array",(function(e,t){p(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=g(this),t=e.target,i=e.kind,n=e.index++;if(!t||n>=t.length){e.target=void 0;return c(void 0,!0)}return c("keys"==i?n:"values"==i?t[n]:[n,t[n]],!1)}),"values");var f=r.Arguments=r.Array;s("keys");s("values");s("entries");if(!d&&h&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(e){}},e=>{e.exports={}},(e,t,i)=>{"use strict";var n=i(5),s=i(10),r=i(38),a=i(52),o=i(23),l=i(91),c=i(83),d=i(85),h=i(93),u=i(46),p=i(50),g=i(36),f=i(89),m=i(92),v=a.PROPER,_=a.CONFIGURABLE,b=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,y=g("iterator"),P="keys",S="values",A="entries",returnThis=function(){return this};e.exports=function(e,t,i,a,g,m,E){l(i,t,a);var x,C,M,getIterationMethod=function(e){if(e===g&&R)return R;if(!w&&e in I)return I[e];switch(e){case P:return function keys(){return new i(this,e)};case S:return function values(){return new i(this,e)};case A:return function entries(){return new i(this,e)}}return function(){return new i(this)}},T=t+" Iterator",k=!1,I=e.prototype,D=I[y]||I["@@iterator"]||g&&I[g],R=!w&&D||getIterationMethod(g),L="Array"==t&&I.entries||D;if(L&&(x=c(L.call(new e)))!==Object.prototype&&x.next){r||c(x)===b||(d?d(x,b):o(x[y])||p(x,y,returnThis));h(x,T,!0,!0);r&&(f[T]=returnThis)}if(v&&g==S&&D&&D.name!==S)if(!r&&_)u(I,"name",S);else{k=!0;R=function values(){return s(D,this)}}if(g){C={values:getIterationMethod(S),keys:m?R:getIterationMethod(P),entries:getIterationMethod(A)};if(E)for(M in C)(w||k||!(M in I))&&p(I,M,C[M]);else n({target:t,proto:!0,forced:w||k},C)}r&&!E||I[y]===R||p(I,y,R,{name:g});f[t]=R;return C}},(e,t,i)=>{"use strict";var n=i(92).IteratorPrototype,s=i(72),r=i(13),a=i(93),o=i(89),returnThis=function(){return this};e.exports=function(e,t,i,l){var c=t+" Iterator";e.prototype=s(n,{next:r(+!l,i)});a(e,c,!1,!0);o[c]=returnThis;return e}},(e,t,i)=>{"use strict";var n,s,r,a=i(9),o=i(23),l=i(22),c=i(72),d=i(83),h=i(50),u=i(36),p=i(38),g=u("iterator"),f=!1;[].keys&&("next"in(r=[].keys())?(s=d(d(r)))!==Object.prototype&&(n=s):f=!0);!l(n)||a((function(){var e={};return n[g].call(e)!==e}))?n={}:p&&(n=c(n));o(n[g])||h(n,g,(function(){return this}));e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},(e,t,i)=>{var n=i(47).f,s=i(41),r=i(36)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype);e&&!s(e,r)&&n(e,r,{configurable:!0,value:t})}},e=>{e.exports=function(e,t){return{value:e,done:t}}},(e,t,i)=>{var n=i(82),s=i(50),r=i(96);n||s(Object.prototype,"toString",r,{unsafe:!0})},(e,t,i)=>{"use strict";var n=i(82),s=i(81);e.exports=n?{}.toString:function toString(){return"[object "+s(this)+"]"}},(e,t,i)=>{i(98)},(e,t,i)=>{"use strict";i(99)("Map",(function(e){return function Map(){return e(this,arguments.length?arguments[0]:void 0)}}),i(117))},(e,t,i)=>{"use strict";var n=i(5),s=i(6),r=i(16),a=i(70),o=i(50),l=i(100),c=i(107),d=i(114),h=i(23),u=i(19),p=i(22),g=i(9),f=i(115),m=i(93),v=i(116);e.exports=function(e,t,i){var _=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),w=_?"set":"add",y=s[e],P=y&&y.prototype,S=y,A={},fixMethod=function(e){var t=r(P[e]);o(P,e,"add"==e?function add(e){t(this,0===e?0:e);return this}:"delete"==e?function(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:"get"==e?function get(e){return b&&!p(e)?void 0:t(this,0===e?0:e)}:"has"==e?function has(e){return!(b&&!p(e))&&t(this,0===e?0:e)}:function set(e,i){t(this,0===e?0:e,i);return this})};if(a(e,!h(y)||!(b||P.forEach&&!g((function(){(new y).entries().next()}))))){S=i.getConstructor(t,e,_,w);l.enable()}else if(a(e,!0)){var E=new S,x=E[w](b?{}:-0,1)!=E,C=g((function(){E.has(1)})),M=f((function(e){new y(e)})),T=!b&&g((function(){for(var e=new y,t=5;t--;)e[w](t,t);return!e.has(-0)}));if(!M){(S=t((function(e,t){d(e,P);var i=v(new y,e,S);u(t)||c(t,i[w],{that:i,AS_ENTRIES:_});return i}))).prototype=P;P.constructor=S}if(C||T){fixMethod("delete");fixMethod("has");_&&fixMethod("get")}(T||x)&&fixMethod(w);b&&P.clear&&delete P.clear}A[e]=S;n({global:!0,constructor:!0,forced:S!=y},A);m(S,e);b||i.setStrong(S,e,_);return S}},(e,t,i)=>{var n=i(5),s=i(16),r=i(57),a=i(22),o=i(41),l=i(47).f,c=i(60),d=i(101),h=i(104),u=i(43),p=i(106),g=!1,f=u("meta"),m=0,setMetadata=function(e){l(e,f,{value:{objectID:"O"+m++,weakData:{}}})},v=e.exports={enable:function(){v.enable=function(){};g=!0;var e=c.f,t=s([].splice),i={};i[f]=1;if(e(i).length){c.f=function(i){for(var n=e(i),s=0,r=n.length;s<r;s++)if(n[s]===f){t(n,s,1);break}return n};n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f})}},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,f)){if(!h(e))return"F";if(!t)return"E";setMetadata(e)}return e[f].objectID},getWeakData:function(e,t){if(!o(e,f)){if(!h(e))return!0;if(!t)return!1;setMetadata(e)}return e[f].weakData},onFreeze:function(e){p&&g&&h(e)&&!o(e,f)&&setMetadata(e);return e}};r[f]=!0},(e,t,i)=>{var n=i(17),s=i(14),r=i(60).f,a=i(102),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function getOwnPropertyNames(e){return o&&"Window"==n(e)?function(e){try{return r(e)}catch(e){return a(o)}}(e):r(s(e))}},(e,t,i)=>{var n=i(63),s=i(66),r=i(103),a=Array,o=Math.max;e.exports=function(e,t,i){for(var l=s(e),c=n(t,l),d=n(void 0===i?l:i,l),h=a(o(d-c,0)),u=0;c<d;c++,u++)r(h,u,e[c]);h.length=u;return h}},(e,t,i)=>{"use strict";var n=i(20),s=i(47),r=i(13);e.exports=function(e,t,i){var a=n(t);a in e?s.f(e,a,r(0,i)):e[a]=i}},(e,t,i)=>{var n=i(9),s=i(22),r=i(17),a=i(105),o=Object.isExtensible,l=n((function(){o(1)}));e.exports=l||a?function isExtensible(e){return!!s(e)&&((!a||"ArrayBuffer"!=r(e))&&(!o||o(e)))}:o},(e,t,i)=>{var n=i(9);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},(e,t,i)=>{var n=i(9);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},(e,t,i)=>{var n=i(108),s=i(10),r=i(49),a=i(34),o=i(110),l=i(66),c=i(27),d=i(111),h=i(112),u=i(113),p=TypeError,Result=function(e,t){this.stopped=e;this.result=t},g=Result.prototype;e.exports=function(e,t,i){var f,m,v,_,b,w,y,P=i&&i.that,S=!(!i||!i.AS_ENTRIES),A=!(!i||!i.IS_RECORD),E=!(!i||!i.IS_ITERATOR),x=!(!i||!i.INTERRUPTED),C=n(t,P),stop=function(e){f&&u(f,"normal",e);return new Result(!0,e)},callFn=function(e){if(S){r(e);return x?C(e[0],e[1],stop):C(e[0],e[1])}return x?C(e,stop):C(e)};if(A)f=e.iterator;else if(E)f=e;else{if(!(m=h(e)))throw p(a(e)+" is not iterable");if(o(m)){for(v=0,_=l(e);_>v;v++)if((b=callFn(e[v]))&&c(g,b))return b;return new Result(!1)}f=d(e,m)}w=A?e.next:f.next;for(;!(y=s(w,f)).done;){try{b=callFn(y.value)}catch(e){u(f,"throw",e)}if("object"==typeof b&&b&&c(g,b))return b}return new Result(!1)}},(e,t,i)=>{var n=i(109),s=i(33),r=i(11),a=n(n.bind);e.exports=function(e,t){s(e);return void 0===t?e:r?a(e,t):function(){return e.apply(t,arguments)}}},(e,t,i)=>{var n=i(17),s=i(16);e.exports=function(e){if("Function"===n(e))return s(e)}},(e,t,i)=>{var n=i(36),s=i(89),r=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(s.Array===e||a[r]===e)}},(e,t,i)=>{var n=i(10),s=i(33),r=i(49),a=i(34),o=i(112),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?o(e):t;if(s(i))return r(n(i,e));throw l(a(e)+" is not iterable")}},(e,t,i)=>{var n=i(81),s=i(32),r=i(19),a=i(89),o=i(36)("iterator");e.exports=function(e){if(!r(e))return s(e,o)||s(e,"@@iterator")||a[n(e)]}},(e,t,i)=>{var n=i(10),s=i(49),r=i(32);e.exports=function(e,t,i){var a,o;s(e);try{if(!(a=r(e,"return"))){if("throw"===t)throw i;return i}a=n(a,e)}catch(e){o=!0;a=e}if("throw"===t)throw i;if(o)throw a;s(a);return i}},(e,t,i)=>{var n=i(27),s=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw s("Incorrect invocation")}},(e,t,i)=>{var n=i(36)("iterator"),s=!1;try{var r=0,a={next:function(){return{done:!!r++}},return:function(){s=!0}};a[n]=function(){return this};Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!s)return!1;var i=!1;try{var r={};r[n]=function(){return{next:function(){return{done:i=!0}}}};e(r)}catch(e){}return i}},(e,t,i)=>{var n=i(23),s=i(22),r=i(85);e.exports=function(e,t,i){var a,o;r&&n(a=t.constructor)&&a!==i&&s(o=a.prototype)&&o!==i.prototype&&r(e,o);return e}},(e,t,i)=>{"use strict";var n=i(47).f,s=i(72),r=i(118),a=i(108),o=i(114),l=i(19),c=i(107),d=i(90),h=i(94),u=i(119),p=i(8),g=i(100).fastKey,f=i(54),m=f.set,v=f.getterFor;e.exports={getConstructor:function(e,t,i,d){var h=e((function(e,n){o(e,u);m(e,{type:t,index:s(null),first:void 0,last:void 0,size:0});p||(e.size=0);l(n)||c(n,e[d],{that:e,AS_ENTRIES:i})})),u=h.prototype,f=v(t),define=function(e,t,i){var n,s,r=f(e),a=getEntry(e,t);if(a)a.value=i;else{r.last=a={index:s=g(t,!0),key:t,value:i,previous:n=r.last,next:void 0,removed:!1};r.first||(r.first=a);n&&(n.next=a);p?r.size++:e.size++;"F"!==s&&(r.index[s]=a)}return e},getEntry=function(e,t){var i,n=f(e),s=g(t);if("F"!==s)return n.index[s];for(i=n.first;i;i=i.next)if(i.key==t)return i};r(u,{clear:function clear(){for(var e=f(this),t=e.index,i=e.first;i;){i.removed=!0;i.previous&&(i.previous=i.previous.next=void 0);delete t[i.index];i=i.next}e.first=e.last=void 0;p?e.size=0:this.size=0},delete:function(e){var t=this,i=f(t),n=getEntry(t,e);if(n){var s=n.next,r=n.previous;delete i.index[n.index];n.removed=!0;r&&(r.next=s);s&&(s.previous=r);i.first==n&&(i.first=s);i.last==n&&(i.last=r);p?i.size--:t.size--}return!!n},forEach:function forEach(e){for(var t,i=f(this),n=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:i.first;){n(t.value,t.key,this);for(;t&&t.removed;)t=t.previous}},has:function has(e){return!!getEntry(this,e)}});r(u,i?{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)}});p&&n(u,"size",{get:function(){return f(this).size}});return h},setStrong:function(e,t,i){var n=t+" Iterator",s=v(t),r=v(n);d(e,t,(function(e,t){m(this,{type:n,target:e,state:s(e),kind:t,last:void 0})}),(function(){for(var e=r(this),t=e.kind,i=e.last;i&&i.removed;)i=i.previous;if(!e.target||!(e.last=i=i?i.next:e.state.first)){e.target=void 0;return h(void 0,!0)}return h("keys"==t?i.key:"values"==t?i.value:[i.key,i.value],!1)}),i?"entries":"values",!i,!0);u(t)}}},(e,t,i)=>{var n=i(50);e.exports=function(e,t,i){for(var s in t)n(e,s,t[s],i);return e}},(e,t,i)=>{"use strict";var n=i(26),s=i(47),r=i(36),a=i(8),o=r("species");e.exports=function(e){var t=n(e),i=s.f;a&&t&&!t[o]&&i(t,o,{configurable:!0,get:function(){return this}})}},(e,t,i)=>{i(121)},(e,t,i)=>{"use strict";i(99)("Set",(function(e){return function Set(){return e(this,arguments.length?arguments[0]:void 0)}}),i(117))},(e,t,i)=>{var n,s=i(38),r=i(5),a=i(6),o=i(26),l=i(16),c=i(9),d=i(43),h=i(23),u=i(123),p=i(19),g=i(22),f=i(25),m=i(107),v=i(49),_=i(81),b=i(41),w=i(103),y=i(46),P=i(66),S=i(124),A=i(125),E=i(127),x=i(128),C=i(129),M=i(30),T=i(130),k=i(131),I=i(132),D=a.Object,R=a.Array,L=a.Date,O=a.Error,N=a.EvalError,B=a.RangeError,G=a.ReferenceError,V=a.SyntaxError,W=a.TypeError,U=a.URIError,j=a.PerformanceMark,H=a.WebAssembly,z=H&&H.CompileError||O,q=H&&H.LinkError||O,$=H&&H.RuntimeError||O,X=o("DOMException"),K=E.Map,Y=E.has,Q=E.get,Z=E.set,J=x.Set,ee=x.add,te=o("Object","keys"),ie=l([].push),ne=l((!0).valueOf),se=l(1..valueOf),re=l("".valueOf),ae=l(L.prototype.getTime),oe=d("structuredClone"),le="DataCloneError",ce="Transferring",checkBasicSemantic=function(e){return!c((function(){var t=new a.Set([7]),i=e(t),n=e(D(7));return i==t||!i.has(7)||"object"!=typeof n||7!=n}))&&e},checkErrorsCloning=function(e,t){return!c((function(){var i=new t,n=e({a:i,b:i});return!(n&&n.a===n.b&&n.a instanceof t&&n.a.stack===i.stack)}))},de=a.structuredClone,he=s||!checkErrorsCloning(de,O)||!checkErrorsCloning(de,X)||!(n=de,!c((function(){var e=n(new a.AggregateError([1],oe,{cause:3}));return"AggregateError"!=e.name||1!=e.errors[0]||e.message!=oe||3!=e.cause}))),ue=!de&&checkBasicSemantic((function(e){return new j(oe,{detail:e}).detail})),pe=checkBasicSemantic(de)||ue,throwUncloneable=function(e){throw new X("Uncloneable type: "+e,le)},throwUnpolyfillable=function(e,t){throw new X((t||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",le)},structuredCloneInternal=function(e,t){f(e)&&throwUncloneable("Symbol");if(!g(e))return e;if(t){if(Y(t,e))return Q(t,e)}else t=new K;var i,n,s,r,l,c,d,u,p,m,v=_(e),S=!1;switch(v){case"Array":s=R(P(e));S=!0;break;case"Object":s={};S=!0;break;case"Map":s=new K;S=!0;break;case"Set":s=new J;S=!0;break;case"RegExp":s=new RegExp(e.source,A(e));break;case"Error":switch(n=e.name){case"AggregateError":s=o("AggregateError")([]);break;case"EvalError":s=N();break;case"RangeError":s=B();break;case"ReferenceError":s=G();break;case"SyntaxError":s=V();break;case"TypeError":s=W();break;case"URIError":s=U();break;case"CompileError":s=z();break;case"LinkError":s=q();break;case"RuntimeError":s=$();break;default:s=O()}S=!0;break;case"DOMException":s=new X(e.message,e.name);S=!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":i=a[v];g(i)||throwUnpolyfillable(v);s=new i(structuredCloneInternal(e.buffer,t),e.byteOffset,"DataView"===v?e.byteLength:e.length);break;case"DOMQuad":try{s=new DOMQuad(structuredCloneInternal(e.p1,t),structuredCloneInternal(e.p2,t),structuredCloneInternal(e.p3,t),structuredCloneInternal(e.p4,t))}catch(t){pe?s=pe(e):throwUnpolyfillable(v)}break;case"FileList":if(r=function(){var e;try{e=new a.DataTransfer}catch(t){try{e=new a.ClipboardEvent("").clipboardData}catch(e){}}return e&&e.items&&e.files?e:null}()){for(l=0,c=P(e);l<c;l++)r.items.add(structuredCloneInternal(e[l],t));s=r.files}else pe?s=pe(e):throwUnpolyfillable(v);break;case"ImageData":try{s=new ImageData(structuredCloneInternal(e.data,t),e.width,e.height,{colorSpace:e.colorSpace})}catch(t){pe?s=pe(e):throwUnpolyfillable(v)}break;default:if(pe)s=pe(e);else switch(v){case"BigInt":s=D(e.valueOf());break;case"Boolean":s=D(ne(e));break;case"Number":s=D(se(e));break;case"String":s=D(re(e));break;case"Date":s=new L(ae(e));break;case"ArrayBuffer":(i=a.DataView)||"function"==typeof e.slice||throwUnpolyfillable(v);try{if("function"==typeof e.slice)s=e.slice(0);else{c=e.byteLength;s=new ArrayBuffer(c);p=new i(e);m=new i(s);for(l=0;l<c;l++)m.setUint8(l,p.getUint8(l))}}catch(e){throw new X("ArrayBuffer is detached",le)}break;case"SharedArrayBuffer":s=e;break;case"Blob":try{s=e.slice(0,e.size,e.type)}catch(e){throwUnpolyfillable(v)}break;case"DOMPoint":case"DOMPointReadOnly":i=a[v];try{s=i.fromPoint?i.fromPoint(e):new i(e.x,e.y,e.z,e.w)}catch(e){throwUnpolyfillable(v)}break;case"DOMRect":case"DOMRectReadOnly":i=a[v];try{s=i.fromRect?i.fromRect(e):new i(e.x,e.y,e.width,e.height)}catch(e){throwUnpolyfillable(v)}break;case"DOMMatrix":case"DOMMatrixReadOnly":i=a[v];try{s=i.fromMatrix?i.fromMatrix(e):new i(e)}catch(e){throwUnpolyfillable(v)}break;case"AudioData":case"VideoFrame":h(e.clone)||throwUnpolyfillable(v);try{s=e.clone()}catch(e){throwUncloneable(v)}break;case"File":try{s=new File([e],e.name,e)}catch(e){throwUnpolyfillable(v)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":throwUnpolyfillable(v);default:throwUncloneable(v)}}Z(t,e,s);if(S)switch(v){case"Array":case"Object":d=te(e);for(l=0,c=P(d);l<c;l++){u=d[l];w(s,u,structuredCloneInternal(e[u],t))}break;case"Map":e.forEach((function(e,i){Z(s,structuredCloneInternal(i,t),structuredCloneInternal(e,t))}));break;case"Set":e.forEach((function(e){ee(s,structuredCloneInternal(e,t))}));break;case"Error":y(s,"message",structuredCloneInternal(e.message,t));b(e,"cause")&&y(s,"cause",structuredCloneInternal(e.cause,t));"AggregateError"==n&&(s.errors=structuredCloneInternal(e.errors,t));case"DOMException":C&&y(s,"stack",structuredCloneInternal(e.stack,t))}return s},ge=de&&!c((function(){if(k&&M>92||I&&M>94||T&&M>97)return!1;var e=new ArrayBuffer(8),t=de(e,{transfer:[e]});return 0!=e.byteLength||8!=t.byteLength})),tryToTransfer=fu