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 • 374 kB
JavaScript
window.ngxZone.runOutsideAngular(() => {
/**
* @licstart The following is the entire license notice for the
* JavaScript code in this page
*
* Copyright 2022 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(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf",[],e):"object"==typeof exports?exports["pdfjs-dist/build/pdf"]=e():t["pdfjs-dist/build/pdf"]=t.pdfjsLib=e()}(globalThis,(()=>(()=>{var __webpack_modules__=[,(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.VerbosityLevel=e.Util=e.UnknownErrorException=e.UnexpectedResponseException=e.UNSUPPORTED_FEATURES=e.TextRenderingMode=e.StreamType=e.RenderingIntentFlag=e.PermissionFlag=e.PasswordResponses=e.PasswordException=e.PageActionEventType=e.OPS=e.MissingPDFException=e.LINE_FACTOR=e.InvalidPDFException=e.ImageKind=e.IDENTITY_MATRIX=e.FormatError=e.FontType=e.FeatureTest=e.FONT_IDENTITY_MATRIX=e.DocumentActionEventType=e.CMapCompressionType=e.BaseException=e.AnnotationType=e.AnnotationStateModelType=e.AnnotationReviewState=e.AnnotationReplyType=e.AnnotationMode=e.AnnotationMarkedState=e.AnnotationFlag=e.AnnotationFieldFlag=e.AnnotationEditorType=e.AnnotationEditorPrefix=e.AnnotationBorderStyleType=e.AnnotationActionEventType=e.AbortException=void 0;e.arrayByteLength=arrayByteLength;e.arraysToBytes=function arraysToBytes(t){const e=t.length;if(1===e&&t[0]instanceof Uint8Array)return t[0];let r=0;for(let n=0;n<e;n++)r+=arrayByteLength(t[n]);let n=0;const i=new Uint8Array(r);for(let r=0;r<e;r++){let e=t[r];e instanceof Uint8Array||(e="string"==typeof e?stringToBytes(e):new Uint8Array(e));const s=e.byteLength;i.set(e,n);n+=s}return i};e.assert=function assert(t,e){t||unreachable(e)};e.bytesToString=function bytesToString(t){"object"==typeof t&&null!==t&&void 0!==t.length||unreachable("Invalid argument for bytesToString");const e=t.length,r=8192;if(e<r)return String.fromCharCode.apply(null,t);const n=[];for(let i=0;i<e;i+=r){const s=Math.min(i+r,e),a=t.subarray(i,s);n.push(String.fromCharCode.apply(null,a))}return n.join("")};e.createPromiseCapability=function createPromiseCapability(){const t=Object.create(null);let e=!1;Object.defineProperty(t,"settled",{get:()=>e});t.promise=new Promise((function(r,n){t.resolve=function(t){e=!0;r(t)};t.reject=function(t){e=!0;n(t)}}));return t};e.createValidAbsoluteUrl=function createValidAbsoluteUrl(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!t)return null;try{if(r&&"string"==typeof t){if(r.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);e&&e.length>=2&&(t="http://".concat(t))}if(r.tryConvertEncoding)try{t=stringToUTF8String(t)}catch(t){}}const n=e?new URL(t,e):new URL(t);if(_isValidProtocol(n))return n}catch(t){}return null};e.escapeString=function escapeString(t){return t.replace(/([()\\\n\r])/g,(t=>"\n"===t?"\\n":"\r"===t?"\\r":"\\".concat(t)))};e.getModificationDate=function getModificationDate(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;const e=[t.getUTCFullYear().toString(),(t.getUTCMonth()+1).toString().padStart(2,"0"),t.getUTCDate().toString().padStart(2,"0"),t.getUTCHours().toString().padStart(2,"0"),t.getUTCMinutes().toString().padStart(2,"0"),t.getUTCSeconds().toString().padStart(2,"0")];return e.join("")};e.getVerbosityLevel=function getVerbosityLevel(){return i};e.info=function info(t){i>=n.INFOS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log("Info: ".concat(t)):Window&&Window.ngxConsole?Window.ngxConsole.log("Info: ".concat(t)):console.log("Info: ".concat(t)))};e.isArrayBuffer=function isArrayBuffer(t){return"object"==typeof t&&null!==t&&void 0!==t.byteLength};e.isArrayEqual=function isArrayEqual(t,e){if(t.length!==e.length)return!1;for(let r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0};e.isAscii=function isAscii(t){return/^[\x00-\x7F]*$/.test(t)};e.objectFromMap=function objectFromMap(t){const e=Object.create(null);for(const[r,n]of t)e[r]=n;return e};e.objectSize=function objectSize(t){return Object.keys(t).length};e.setVerbosityLevel=function setVerbosityLevel(t){Number.isInteger(t)&&(i=t)};e.shadow=shadow;e.string32=function string32(t){return String.fromCharCode(t>>24&255,t>>16&255,t>>8&255,255&t)};e.stringToBytes=stringToBytes;e.stringToPDFString=function stringToPDFString(t){if(t[0]>="ï"){let e;"þ"===t[0]&&"ÿ"===t[1]?e="utf-16be":"ÿ"===t[0]&&"þ"===t[1]?e="utf-16le":"ï"===t[0]&&"»"===t[1]&&"¿"===t[2]&&(e="utf-8");if(e)try{const r=new TextDecoder(e,{fatal:!0}),n=stringToBytes(t);return r.decode(n)}catch(t){warn('stringToPDFString: "'.concat(t,'".'))}}const e=[];for(let r=0,n=t.length;r<n;r++){const n=o[t.charCodeAt(r)];e.push(n?String.fromCharCode(n):t.charAt(r))}return e.join("")};e.stringToUTF16BEString=function stringToUTF16BEString(t){const e=["þÿ"];for(let r=0,n=t.length;r<n;r++){const n=t.charCodeAt(r);e.push(String.fromCharCode(n>>8&255),String.fromCharCode(255&n))}return e.join("")};e.stringToUTF8String=stringToUTF8String;e.unreachable=unreachable;e.utf8StringToString=function utf8StringToString(t){return unescape(encodeURIComponent(t))};e.warn=warn;r(2);r(77);r(91);r(113);r(114);r(135);r(136);r(140);r(141);r(147);r(172);e.IDENTITY_MATRIX=[1,0,0,1,0,0];e.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0];e.LINE_FACTOR=1.35;e.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};e.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};e.AnnotationEditorPrefix="pdfjs_internal_editor_";e.AnnotationEditorType={NONE:0,FREETEXT:3};e.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};e.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};e.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};e.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};e.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"};e.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"};e.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};e.AnnotationReplyType={GROUP:"Group",REPLY:"R"};e.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};e.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};e.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};e.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"};e.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};e.PageActionEventType={O:"PageOpen",C:"PageClose"};e.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};e.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const n={ERRORS:0,WARNINGS:1,INFOS:5};e.VerbosityLevel=n;e.CMapCompressionType={NONE:0,BINARY:1,STREAM:2};e.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,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};e.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",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"};e.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let i=n.WARNINGS;function warn(t){i>=n.WARNINGS&&("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?console.log("Warning: ".concat(t)):Window&&Window.ngxConsole?Window.ngxConsole.log("Warning: ".concat(t)):console.log("Warning: ".concat(t)))}function unreachable(t){throw new Error(t)}function _isValidProtocol(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":case"capacitor":return!0;default:return!1}}function shadow(t,e,r){Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!1});return r}const s=function BaseExceptionClosure(){function BaseException(t,e){this.constructor===BaseException&&unreachable("Cannot initialize BaseException.");this.message=t;this.name=e}BaseException.prototype=new Error;BaseException.constructor=BaseException;return BaseException}();e.BaseException=s;e.PasswordException=class PasswordException extends s{constructor(t,e){super(t,"PasswordException");this.code=e}};e.UnknownErrorException=class UnknownErrorException extends s{constructor(t,e){super(t,"UnknownErrorException");this.details=e}};e.InvalidPDFException=class InvalidPDFException extends s{constructor(t){super(t,"InvalidPDFException")}};e.MissingPDFException=class MissingPDFException extends s{constructor(t){super(t,"MissingPDFException")}};e.UnexpectedResponseException=class UnexpectedResponseException extends s{constructor(t,e){super(t,"UnexpectedResponseException");this.status=e}};e.FormatError=class FormatError extends s{constructor(t){super(t,"FormatError")}};e.AbortException=class AbortException extends s{constructor(t){super(t,"AbortException")}};function stringToBytes(t){"string"!=typeof t&&unreachable("Invalid argument for stringToBytes");const e=t.length,r=new Uint8Array(e);for(let n=0;n<e;++n)r[n]=255&t.charCodeAt(n);return r}function arrayByteLength(t){if(void 0!==t.length)return t.length;if(void 0!==t.byteLength)return t.byteLength;unreachable("Invalid argument for arrayByteLength")}e.FeatureTest=class FeatureTest{static get isLittleEndian(){return shadow(this,"isLittleEndian",function isLittleEndian(){const t=new Uint8Array(4);t[0]=1;return 1===new Uint32Array(t.buffer,0,1)[0]}())}static get isEvalSupported(){return shadow(this,"isEvalSupported",function isEvalSupported(){try{new Function("");return!0}catch(t){return!1}}())}static get isOffscreenCanvasSupported(){return shadow(this,"isOffscreenCanvasSupported","undefined"!=typeof OffscreenCanvas)}};const a=[...Array(256).keys()].map((t=>t.toString(16).padStart(2,"0")));class Util{static makeHexColor(t,e,r){return"#".concat(a[t]).concat(a[e]).concat(a[r])}static scaleMinMax(t,e){let r;if(t[0]){if(t[0]<0){r=e[0];e[0]=e[1];e[1]=r}e[0]*=t[0];e[1]*=t[0];if(t[3]<0){r=e[2];e[2]=e[3];e[3]=r}e[2]*=t[3];e[3]*=t[3]}else{r=e[0];e[0]=e[2];e[2]=r;r=e[1];e[1]=e[3];e[3]=r;if(t[1]<0){r=e[2];e[2]=e[3];e[3]=r}e[2]*=t[1];e[3]*=t[1];if(t[2]<0){r=e[0];e[0]=e[1];e[1]=r}e[0]*=t[2];e[1]*=t[2]}e[0]+=t[4];e[1]+=t[4];e[2]+=t[5];e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}static applyInverseTransform(t,e){const r=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/r,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/r]}static getAxialAlignedBoundingBox(t,e){const r=Util.applyTransform(t,e),n=Util.applyTransform(t.slice(2,4),e),i=Util.applyTransform([t[0],t[3]],e),s=Util.applyTransform([t[2],t[1]],e);return[Math.min(r[0],n[0],i[0],s[0]),Math.min(r[1],n[1],i[1],s[1]),Math.max(r[0],n[0],i[0],s[0]),Math.max(r[1],n[1],i[1],s[1])]}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static apply3dTransform(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}static singularValueDecompose2dScale(t){const e=[t[0],t[2],t[1],t[3]],r=t[0]*e[0]+t[1]*e[2],n=t[0]*e[1]+t[1]*e[3],i=t[2]*e[0]+t[3]*e[2],s=t[2]*e[1]+t[3]*e[3],a=(r+s)/2,o=Math.sqrt((r+s)**2-4*(r*s-i*n))/2,l=a+o||1,c=a-o||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(t){const e=t.slice(0);if(t[0]>t[2]){e[0]=t[2];e[2]=t[0]}if(t[1]>t[3]){e[1]=t[3];e[3]=t[1]}return e}static intersect(t,e){const r=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),n=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(r>n)return null;const i=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),s=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return i>s?null:[r,i,n,s]}static bezierBoundingBox(t,e,r,n,i,s,a,o){const l=[],c=[[],[]];let h,d,u,p,f,g,m,v;for(let c=0;c<2;++c){if(0===c){d=6*t-12*r+6*i;h=-3*t+9*r-9*i+3*a;u=3*r-3*t}else{d=6*e-12*n+6*s;h=-3*e+9*n-9*s+3*o;u=3*n-3*e}if(Math.abs(h)<1e-12){if(Math.abs(d)<1e-12)continue;p=-u/d;0<p&&p<1&&l.push(p)}else{m=d*d-4*u*h;v=Math.sqrt(m);if(!(m<0)){f=(-d+v)/(2*h);0<f&&f<1&&l.push(f);g=(-d-v)/(2*h);0<g&&g<1&&l.push(g)}}}let _,y=l.length;const b=y;for(;y--;){p=l[y];_=1-p;c[0][y]=_*_*_*t+3*_*_*p*r+3*_*p*p*i+p*p*p*a;c[1][y]=_*_*_*e+3*_*_*p*n+3*_*p*p*s+p*p*p*o}c[0][b]=t;c[1][b]=e;c[0][b+1]=a;c[1][b+1]=o;c[0].length=c[1].length=b+2;return[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}e.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(t){return decodeURIComponent(escape(t))}},(t,e,r)=>{"use strict";var n=r(3),i=r(65);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},(t,e,r)=>{var n=r(4),i=r(5).f,s=r(42),a=r(46),o=r(36),l=r(53),c=r(64);t.exports=function(t,e){var r,h,d,u,p,f=t.target,g=t.global,m=t.stat;if(r=g?n:m?n[f]||o(f,{}):(n[f]||{}).prototype)for(h in e){u=e[h];d=t.noTargetGet?(p=i(r,h))&&p.value:r[h];if(!c(g?h:f+(m?".":"#")+h,t.forced)&&void 0!==d){if(typeof u==typeof d)continue;l(u,d)}(t.sham||d&&d.sham)&&s(u,"sham",!0);a(r,h,u,t)}}},t=>{var check=function(t){return t&&t.Math==Math&&t};t.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")()},(t,e,r)=>{var n=r(6),i=r(8),s=r(10),a=r(11),o=r(12),l=r(17),c=r(37),h=r(40),d=Object.getOwnPropertyDescriptor;e.f=n?d:function getOwnPropertyDescriptor(t,e){t=o(t);e=l(e);if(h)try{return d(t,e)}catch(t){}if(c(t,e))return a(!i(s.f,t,e),t[e])}},(t,e,r)=>{var n=r(7);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},(t,e,r)=>{var n=r(9),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},(t,e,r)=>{var n=r(7);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function propertyIsEnumerable(t){var e=n(this,t);return!!e&&e.enumerable}:r},t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},(t,e,r)=>{var n=r(13),i=r(16);t.exports=function(t){return n(i(t))}},(t,e,r)=>{var n=r(4),i=r(14),s=r(7),a=r(15),o=n.Object,l=i("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?l(t,""):o(t)}:o},(t,e,r)=>{var n=r(9),i=Function.prototype,s=i.bind,a=i.call,o=n&&s.bind(a,a);t.exports=n?function(t){return t&&o(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},(t,e,r)=>{var n=r(14),i=n({}.toString),s=n("".slice);t.exports=function(t){return s(i(t),8,-1)}},(t,e,r)=>{var n=r(4).TypeError;t.exports=function(t){if(null==t)throw n("Can't call method on "+t);return t}},(t,e,r)=>{var n=r(18),i=r(21);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},(t,e,r)=>{var n=r(4),i=r(8),s=r(19),a=r(21),o=r(28),l=r(31),c=r(32),h=n.TypeError,d=c("toPrimitive");t.exports=function(t,e){if(!s(t)||a(t))return t;var r,n=o(t,d);if(n){void 0===e&&(e="default");r=i(n,t,e);if(!s(r)||a(r))return r;throw h("Can't convert object to primitive value")}void 0===e&&(e="number");return l(t,e)}},(t,e,r)=>{var n=r(20);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},t=>{t.exports=function(t){return"function"==typeof t}},(t,e,r)=>{var n=r(4),i=r(22),s=r(20),a=r(23),o=r(24),l=n.Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return s(e)&&a(e.prototype,l(t))}},(t,e,r)=>{var n=r(4),i=r(20),aFunction=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?aFunction(n[t]):n[t]&&n[t][e]}},(t,e,r)=>{var n=r(14);t.exports=n({}.isPrototypeOf)},(t,e,r)=>{var n=r(25);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(t,e,r)=>{var n=r(26),i=r(7);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},(t,e,r)=>{var n,i,s=r(4),a=r(27),o=s.process,l=s.Deno,c=o&&o.versions||l&&l.version,h=c&&c.v8;h&&(i=(n=h.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1]));!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]);t.exports=i},(t,e,r)=>{var n=r(22);t.exports=n("navigator","userAgent")||""},(t,e,r)=>{var n=r(29);t.exports=function(t,e){var r=t[e];return null==r?void 0:n(r)}},(t,e,r)=>{var n=r(4),i=r(20),s=r(30),a=n.TypeError;t.exports=function(t){if(i(t))return t;throw a(s(t)+" is not a function")}},(t,e,r)=>{var n=r(4).String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},(t,e,r)=>{var n=r(4),i=r(8),s=r(20),a=r(19),o=n.TypeError;t.exports=function(t,e){var r,n;if("string"===e&&s(r=t.toString)&&!a(n=i(r,t)))return n;if(s(r=t.valueOf)&&!a(n=i(r,t)))return n;if("string"!==e&&s(r=t.toString)&&!a(n=i(r,t)))return n;throw o("Can't convert object to primitive value")}},(t,e,r)=>{var n=r(4),i=r(33),s=r(37),a=r(39),o=r(25),l=r(24),c=i("wks"),h=n.Symbol,d=h&&h.for,u=l?h:h&&h.withoutSetter||a;t.exports=function(t){if(!s(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&s(h,t)?c[t]=h[t]:c[t]=l&&d?d(e):u(e)}return c[t]}},(t,e,r)=>{var n=r(34),i=r(35);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.3",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.3/LICENSE",source:"https://github.com/zloirock/core-js"})},t=>{t.exports=!1},(t,e,r)=>{var n=r(4),i=r(36),s="__core-js_shared__",a=n[s]||i(s,{});t.exports=a},(t,e,r)=>{var n=r(4),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},(t,e,r)=>{var n=r(14),i=r(38),s=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(t,e){return s(i(t),e)}},(t,e,r)=>{var n=r(4),i=r(16),s=n.Object;t.exports=function(t){return s(i(t))}},(t,e,r)=>{var n=r(14),i=0,s=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+s,36)}},(t,e,r)=>{var n=r(6),i=r(7),s=r(41);t.exports=!n&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},(t,e,r)=>{var n=r(4),i=r(19),s=n.document,a=i(s)&&i(s.createElement);t.exports=function(t){return a?s.createElement(t):{}}},(t,e,r)=>{var n=r(6),i=r(43),s=r(11);t.exports=n?function(t,e,r){return i.f(t,e,s(1,r))}:function(t,e,r){t[e]=r;return t}},(t,e,r)=>{var n=r(4),i=r(6),s=r(40),a=r(44),o=r(45),l=r(17),c=n.TypeError,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",f="writable";e.f=i?a?function defineProperty(t,e,r){o(t);e=l(e);o(r);if("function"==typeof t&&"prototype"===e&&"value"in r&&f in r&&!r.writable){var n=d(t,e);if(n&&n.writable){t[e]=r.value;r={configurable:p in r?r.configurable:n.configurable,enumerable:u in r?r.enumerable:n.enumerable,writable:!1}}}return h(t,e,r)}:h:function defineProperty(t,e,r){o(t);e=l(e);o(r);if(s)try{return h(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");"value"in r&&(t[e]=r.value);return t}},(t,e,r)=>{var n=r(6),i=r(7);t.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},(t,e,r)=>{var n=r(4),i=r(19),s=n.String,a=n.TypeError;t.exports=function(t){if(i(t))return t;throw a(s(t)+" is not an object")}},(t,e,r)=>{var n=r(4),i=r(20),s=r(37),a=r(42),o=r(36),l=r(47),c=r(48),h=r(52).CONFIGURABLE,d=c.get,u=c.enforce,p=String(String).split("String");(t.exports=function(t,e,r,l){var c,d=!!l&&!!l.unsafe,f=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,m=l&&void 0!==l.name?l.name:e;if(i(r)){"Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]");(!s(r,"name")||h&&r.name!==m)&&a(r,"name",m);(c=u(r)).source||(c.source=p.join("string"==typeof m?m:""))}if(t!==n){d?!g&&t[e]&&(f=!0):delete t[e];f?t[e]=r:a(t,e,r)}else f?t[e]=r:o(e,r)})(Function.prototype,"toString",(function toString(){return i(this)&&d(this).source||l(this)}))},(t,e,r)=>{var n=r(14),i=r(20),s=r(35),a=n(Function.toString);i(s.inspectSource)||(s.inspectSource=function(t){return a(t)});t.exports=s.inspectSource},(t,e,r)=>{var n,i,s,a=r(49),o=r(4),l=r(14),c=r(19),h=r(42),d=r(37),u=r(35),p=r(50),f=r(51),g="Object already initialized",m=o.TypeError,v=o.WeakMap;if(a||u.state){var _=u.state||(u.state=new v),y=l(_.get),b=l(_.has),A=l(_.set);n=function(t,e){if(b(_,t))throw new m(g);e.facade=t;A(_,t,e);return e};i=function(t){return y(_,t)||{}};s=function(t){return b(_,t)}}else{var x=p("state");f[x]=!0;n=function(t,e){if(d(t,x))throw new m(g);e.facade=t;h(t,x,e);return e};i=function(t){return d(t,x)?t[x]:{}};s=function(t){return d(t,x)}}t.exports={set:n,get:i,has:s,enforce:function(t){return s(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return r}}}},(t,e,r)=>{var n=r(4),i=r(20),s=r(47),a=n.WeakMap;t.exports=i(a)&&/native code/.test(s(a))},(t,e,r)=>{var n=r(33),i=r(39),s=n("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},t=>{t.exports={}},(t,e,r)=>{var n=r(6),i=r(37),s=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,o=i(s,"name"),l=o&&"something"===function something(){}.name,c=o&&(!n||n&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},(t,e,r)=>{var n=r(37),i=r(54),s=r(5),a=r(43);t.exports=function(t,e,r){for(var o=i(e),l=a.f,c=s.f,h=0;h<o.length;h++){var d=o[h];n(t,d)||r&&n(r,d)||l(t,d,c(e,d))}}},(t,e,r)=>{var n=r(22),i=r(14),s=r(55),a=r(63),o=r(45),l=i([].concat);t.exports=n("Reflect","ownKeys")||function ownKeys(t){var e=s.f(o(t)),r=a.f;return r?l(e,r(t)):e}},(t,e,r)=>{var n=r(56),i=r(62).concat("length","prototype");e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(t){return n(t,i)}},(t,e,r)=>{var n=r(14),i=r(37),s=r(12),a=r(57).indexOf,o=r(51),l=n([].push);t.exports=function(t,e){var r,n=s(t),c=0,h=[];for(r in n)!i(o,r)&&i(n,r)&&l(h,r);for(;e.length>c;)i(n,r=e[c++])&&(~a(h,r)||l(h,r));return h}},(t,e,r)=>{var n=r(12),i=r(58),s=r(60),createMethod=function(t){return function(e,r,a){var o,l=n(e),c=s(l),h=i(a,c);if(t&&r!=r){for(;c>h;)if((o=l[h++])!=o)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===r)return t||h||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},(t,e,r)=>{var n=r(59),i=Math.max,s=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):s(r,e)}},t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?r:e)(n)}},(t,e,r)=>{var n=r(61);t.exports=function(t){return n(t.length)}},(t,e,r)=>{var n=r(59),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(t,e)=>{e.f=Object.getOwnPropertySymbols},(t,e,r)=>{var n=r(7),i=r(20),s=/#|\.prototype\./,isForced=function(t,e){var r=o[a(t)];return r==c||r!=l&&(i(e)?n(e):!!e)},a=isForced.normalize=function(t){return String(t).replace(s,".").toLowerCase()},o=isForced.data={},l=isForced.NATIVE="N",c=isForced.POLYFILL="P";t.exports=isForced},(t,e,r)=>{"use strict";var n=r(8),i=r(14),s=r(66),a=r(69),o=r(70),l=r(33),c=r(71),h=r(48).get,d=r(75),u=r(76),p=l("native-string-replace",String.prototype.replace),f=RegExp.prototype.exec,g=f,m=i("".charAt),v=i("".indexOf),_=i("".replace),y=i("".slice),b=function(){var t=/a/,e=/b*/g;n(f,t,"a");n(f,e,"a");return 0!==t.lastIndex||0!==e.lastIndex}(),A=o.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(b||x||A||d||u)&&(g=function exec(t){var e,r,i,o,l,d,u,S=this,P=h(S),w=s(t),C=P.raw;if(C){C.lastIndex=S.lastIndex;e=n(g,C,w);S.lastIndex=C.lastIndex;return e}var k=P.groups,T=A&&S.sticky,E=n(a,S),R=S.source,M=0,O=w;if(T){E=_(E,"y","");-1===v(E,"g")&&(E+="g");O=y(w,S.lastIndex);if(S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==m(w,S.lastIndex-1))){R="(?: "+R+")";O=" "+O;M++}r=new RegExp("^(?:"+R+")",E)}x&&(r=new RegExp("^"+R+"$(?!\\s)",E));b&&(i=S.lastIndex);o=n(f,T?r:S,O);if(T)if(o){o.input=y(o.input,M);o[0]=y(o[0],M);o.index=S.lastIndex;S.lastIndex+=o[0].length}else S.lastIndex=0;else b&&o&&(S.lastIndex=S.global?o.index+o[0].length:i);x&&o&&o.length>1&&n(p,o[0],r,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(o[l]=void 0)}));if(o&&k){o.groups=d=c(null);for(l=0;l<k.length;l++)d[(u=k[l])[0]]=o[u[1]]}return o});t.exports=g},(t,e,r)=>{var n=r(4),i=r(67),s=n.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},(t,e,r)=>{var n=r(4),i=r(68),s=r(20),a=r(15),o=r(32)("toStringTag"),l=n.Object,c="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=l(t),o))?r:c?a(e):"Object"==(n=a(e))&&s(e.callee)?"Arguments":n}},(t,e,r)=>{var n={};n[r(32)("toStringTag")]="z";t.exports="[object z]"===String(n)},(t,e,r)=>{"use strict";var n=r(45);t.exports=function(){var t=n(this),e="";t.hasIndices&&(e+="d");t.global&&(e+="g");t.ignoreCase&&(e+="i");t.multiline&&(e+="m");t.dotAll&&(e+="s");t.unicode&&(e+="u");t.sticky&&(e+="y");return e}},(t,e,r)=>{var n=r(7),i=r(4).RegExp,s=n((function(){var t=i("a","y");t.lastIndex=2;return null!=t.exec("abcd")})),a=s||n((function(){return!i("a","y").sticky})),o=s||n((function(){var t=i("^r","gy");t.lastIndex=2;return null!=t.exec("str")}));t.exports={BROKEN_CARET:o,MISSED_STICKY:a,UNSUPPORTED_Y:s}},(t,e,r)=>{var n,i=r(45),s=r(72),a=r(62),o=r(51),l=r(74),c=r(41),h=r(50),d=h("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return"<script>"+t+"</"+"script>"},NullProtoObjectViaActiveX=function(t){t.write(scriptTag(""));t.close();var e=t.parentWindow.Object;t=null;return e},NullProtoObject=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}NullProtoObject="undefined"!=typeof document?document.domain&&n?NullProtoObjectViaActiveX(n):function(){var t,e=c("iframe");e.style.display="none";l.appendChild(e);e.src=String("javascript:");(t=e.contentWindow.document).open();t.write(scriptTag("document.F=Object"));t.close();return t.F}():NullProtoObjectViaActiveX(n);for(var t=a.length;t--;)delete NullProtoObject.prototype[a[t]];return NullProtoObject()};o[d]=!0;t.exports=Object.create||function create(t,e){var r;if(null!==t){EmptyConstructor.prototype=i(t);r=new EmptyConstructor;EmptyConstructor.prototype=null;r[d]=t}else r=NullProtoObject();return void 0===e?r:s.f(r,e)}},(t,e,r)=>{var n=r(6),i=r(44),s=r(43),a=r(45),o=r(12),l=r(73);e.f=n&&!i?Object.defineProperties:function defineProperties(t,e){a(t);for(var r,n=o(e),i=l(e),c=i.length,h=0;c>h;)s.f(t,r=i[h++],n[r]);return t}},(t,e,r)=>{var n=r(56),i=r(62);t.exports=Object.keys||function keys(t){return n(t,i)}},(t,e,r)=>{var n=r(22);t.exports=n("document","documentElement")},(t,e,r)=>{var n=r(7),i=r(4).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},(t,e,r)=>{var n=r(7),i=r(4).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},(t,e,r)=>{var n=r(4),i=r(78),s=r(79),a=r(80),o=r(42),l=r(32),c=l("iterator"),h=l("toStringTag"),d=a.values,handlePrototype=function(t,e){if(t){if(t[c]!==d)try{o(t,c,d)}catch(e){t[c]=d}t[h]||o(t,h,e);if(i[e])for(var r in a)if(t[r]!==a[r])try{o(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var u in i)handlePrototype(n[u]&&n[u].prototype,u);handlePrototype(s,"DOMTokenList")},t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},(t,e,r)=>{var n=r(41)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},(t,e,r)=>{"use strict";var n=r(12),i=r(81),s=r(82),a=r(48),o=r(43).f,l=r(83),c=r(34),h=r(6),d="Array Iterator",u=a.set,p=a.getterFor(d);t.exports=l(Array,"Array",(function(t,e){u(this,{type:d,target:n(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,r=t.kind,n=t.index++;if(!e||n>=e.length){t.target=void 0;return{value:void 0,done:!0}}return"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");var f=s.Arguments=s.Array;i("keys");i("values");i("entries");if(!c&&h&&"values"!==f.name)try{o(f,"name",{value:"values"})}catch(t){}},(t,e,r)=>{var n=r(32),i=r(71),s=r(43),a=n("unscopables"),o=Array.prototype;null==o[a]&&s.f(o,a,{configurable:!0,value:i(null)});t.exports=function(t){o[a][t]=!0}},t=>{t.exports={}},(t,e,r)=>{"use strict";var n=r(3),i=r(8),s=r(34),a=r(52),o=r(20),l=r(84),c=r(86),h=r(89),d=r(88),u=r(42),p=r(46),f=r(32),g=r(82),m=r(85),v=a.PROPER,_=a.CONFIGURABLE,y=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,A=f("iterator"),x="keys",S="values",P="entries",returnThis=function(){return this};t.exports=function(t,e,r,a,f,m,w){l(r,e,a);var C,k,T,getIterationMethod=function(t){if(t===f&&D)return D;if(!b&&t in M)return M[t];switch(t){case x:return function keys(){return new r(this,t)};case S:return function values(){return new r(this,t)};case P:return function entries(){return new r(this,t)}}return function(){return new r(this)}},E=e+" Iterator",R=!1,M=t.prototype,O=M[A]||M["@@iterator"]||f&&M[f],D=!b&&O||getIterationMethod(f),I="Array"==e&&M.entries||O;if(I&&(C=c(I.call(new t)))!==Object.prototype&&C.next){s||c(C)===y||(h?h(C,y):o(C[A])||p(C,A,returnThis));d(C,E,!0,!0);s&&(g[E]=returnThis)}if(v&&f==S&&O&&O.name!==S)if(!s&&_)u(M,"name",S);else{R=!0;D=function values(){return i(O,this)}}if(f){k={values:getIterationMethod(S),keys:m?D:getIterationMethod(x),entries:getIterationMethod(P)};if(w)for(T in k)(b||R||!(T in M))&&p(M,T,k[T]);else n({target:e,proto:!0,forced:b||R},k)}s&&!w||M[A]===D||p(M,A,D,{name:f});g[e]=D;return k}},(t,e,r)=>{"use strict";var n=r(85).IteratorPrototype,i=r(71),s=r(11),a=r(88),o=r(82),returnThis=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";t.prototype=i(n,{next:s(+!l,r)});a(t,c,!1,!0);o[c]=returnThis;return t}},(t,e,r)=>{"use strict";var n,i,s,a=r(7),o=r(20),l=r(71),c=r(86),h=r(46),d=r(32),u=r(34),p=d("iterator"),f=!1;[].keys&&("next"in(s=[].keys())?(i=c(c(s)))!==Object.prototype&&(n=i):f=!0);null==n||a((function(){var t={};return n[p].call(t)!==t}))?n={}:u&&(n=l(n));o(n[p])||h(n,p,(function(){return this}));t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},(t,e,r)=>{var n=r(4),i=r(37),s=r(20),a=r(38),o=r(50),l=r(87),c=o("IE_PROTO"),h=n.Object,d=h.prototype;t.exports=l?h.getPrototypeOf:function(t){var e=a(t);if(i(e,c))return e[c];var r=e.constructor;return s(r)&&e instanceof r?r.prototype:e instanceof h?d:null}},(t,e,r)=>{var n=r(7);t.exports=!n((function(){function F(){}F.prototype.constructor=null;return Object.getPrototypeOf(new F)!==F.prototype}))},(t,e,r)=>{var n=r(43).f,i=r(37),s=r(32)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype);t&&!i(t,s)&&n(t,s,{configurable:!0,value:e})}},(t,e,r)=>{var n=r(14),i=r(45),s=r(90);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]);e=r instanceof Array}catch(t){}return function setPrototypeOf(r,n){i(r);s(n);e?t(r,n):r.__proto__=n;return r}}():void 0)},(t,e,r)=>{var n=r(4),i=r(20),s=n.String,a=n.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+s(t)+" as a prototype")}},(t,e,r)=>{r(92)},(t,e,r)=>{"use strict";r(93);var n,i=r(3),s=r(6),a=r(95),o=r(4),l=r(96),c=r(14),h=r(72).f,d=r(46),u=r(97),p=r(37),f=r(98),g=r(99),m=r(107),v=r(94).codeAt,_=r(108),y=r(66),b=r(88),A=r(109),x=r(110),S=r(48),P=S.set,w=S.getterFor("URL"),C=x.URLSearchParams,k=x.getState,T=o.URL,E=o.TypeError,R=o.parseInt,M=Math.floor,O=Math.pow,D=c("".charAt),I=c(/./.exec),L=c([].join),N=c(1..toString),j=c([].pop),U=c([].push),G=c("".replace),B=c([].shift),W=c("".split),q=c("".slice),V=c("".toLowerCase),H=c([].unshift),z="Invalid scheme",X="Invalid host",Y="Invalid port",K=/[a-z]/i,J=/[\d+-.a-z]/i,Q=/\d/,$=/^0x/i,Z=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,rt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,it=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,st=/[\t\n\r]/g,serializeHost=function(t){var e,r,n,i;if("number"==typeof t){e=[];for(r=0;r<4;r++){H(e,t%256);t=M(t/256)}return L(e,".")}if("object"==typeof t){e="";n=function(t){for(var e=null,r=1,n=null,i=0,s=0;s<8;s++)if(0!==t[s]){if(i>r){e=n;r=i}n=null;i=0}else{null===n&&(n=s);++i}if(i>r){e=n;r=i}return e}(t);for(r=0;r<8;r++)if(!i||0!==t[r]){i&&(i=!1);if(n===r){e+=r?":":"::";i=!0}else{e+=N(t[r],16);r<7&&(e+=":")}}return"["+e+"]"}return t},at={},ot=f({},at,{" ":1,'"':1,"<":1,">":1,"`":1}),lt=f({},ot,{"#":1,"?":1,"{":1,"}":1}),ct=f({},lt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(t,e){var r=v(t,0);return r>32&&r<127&&!p(e,t)?t:encodeURIComponent(t)},ht={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(t,e){var r;return 2==t.length&&I(K,D(t,0))&&(":"==(r=D(t,1))||!e&&"|"==r)},startsWithWindowsDriveLetter=function(t){var e;return t.length>1&&isWindowsDriveLetter(q(t,0,2))&&(2==t.length||"/"===(e=D(t,2))||"\\"===e||"?"===e||"#"===e)},isSingleDot=function(t){return"."===t||"%2e"===V(t)},dt={},ut={},pt={},ft={},gt={},mt={},vt={},_t={},yt={},bt={},At={},xt={},St={},Pt={},wt={},Ct={},Ft={},kt={},Tt={},Et={},Rt={},URLState=function(t,e,r){var n,i,s,a=y(t);if(e){if(i=this.parse(a))throw E(i);this.searchParams=null}else{void 0!==r&&(n=new URLState(r,!0));if(i=this.parse(a,null,n))throw E(i);(s=k(new C)).bindURL(this);this.searchParams=s}};URLState.prototype={type:"URL",parse:function(t,e,r){var i,s,a,o,l,c=this,h=e||dt,d=0,u="",f=!1,v=!1,_=!1;t=y(t);if(!e){c.scheme="";c.username="";c.password="";c.host=null;c.port=null;c.path=[];c.query=null;c.fragment=null;c.cannotBeABaseURL=!1;t=G(t,it,"")}t=G(t,st,"");i=g(t);for(;d<=i.length;){s=i[d];switch(h){case dt:if(!s||!I(K,s)){if(e)return z;h=pt;continue}u+=V(s);h=ut;break;case ut:if(s&&(I(J,s)||"+"==s||"-"==s||"."==s))u+=V(s);else{if(":"!=s){if(e)return z;u="";h=pt;d=0;continue}if(e&&(c.isSpecial()!=p(ht,u)||"file"==u&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;c.scheme=u;if(e){c.isSpecial()&&ht[c.scheme]==c.port&&(c.port=null);return}u="";if("file"==c.scheme)h=Pt;else if(c.isSpecial()&&r&&r.scheme==c.scheme)h=ft;else if(c.isSpecial())h=_t;else if("/"==i[d+1]){h=gt;d++}else{c.cannotBeABaseURL=!0;U(c.path,"");h=Tt}}break;case pt:if(!r||r.cannotBeABaseURL&&"#"!=s)return z;if(r.cannotBeABaseURL&&"#"==s){c.scheme=r.scheme;c.path=m(r.path);c.query=r.query;c.fragment="";c.cannotBeABaseURL=!0;h=Rt;break}h="file"==r.scheme?Pt:mt;continue;case ft:if("/"!=s||"/"!=i[d+1]){h=mt;continue}h=yt;d++;break;case gt:if("/"==s){h=bt;break}h=kt;continue;case mt:c.scheme=r.scheme;if(s==n){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query=r.query}else if("/"==s||"\\"==s&&c.isSpecial())h=vt;else if("?"==s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query="";h=Et}else{if("#"!=s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.path.length--;h=kt;continue}c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;c.path=m(r.path);c.query=r.query;c.fragment="";h=Rt}break;case vt:if(!c.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){c.username=r.username;c.password=r.password;c.host=r.host;c.port=r.port;h=kt;continue}h=bt}else h=yt;break;case _t:h=yt;if("/"!=s||"/"!=D(u,d+1))continue;d++;break;case yt:if("/"!=s&&"\\"!=s){h=bt;continue}break;case bt:if("@"==s){f&&(u="%40"+u);f=!0;a=g(u);for(var b=0;b<a.length;b++){var A=a[b];if(":"!=A||_){var x=percentEncode(A,ct);_?c.password+=x:c.username+=x}else _=!0}u=""}else if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(f&&""==u)return"Invalid authority";d-=g(u).length+1;u="";h=At}else u+=s;break;case At:case xt:if(e&&"file"==c.scheme){h=Ct;continue}if(":"!=s||v){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()){if(c.isSpecial()&&""==u)return X;if(e&&""==u&&(c.includesCredentials()||null!==c.port))return;if(o=c.parseHost(u))return o;u="";h=Ft;if(e)return;continue}"["==s?v=!0:"]"==s&&(v=!1);u+=s}else{if(""==u)return X;if(o=c.parseHost(u))return o;u="";h=St;if(e==xt)return}break;case St:if(!I(Q,s)){if(s==n||"/"==s||"?"==s||"#"==s||"\\"==s&&c.isSpecial()||e){if(""!=u){var S=R(u,10);if(S>65535)return Y;c.port=c.isSpecial()&&S===ht[c.scheme]?null:S;u=""}if(e)return;h=Ft;continue}return Y}u+=s;break;case Pt:c.scheme="file";if("/"==s||"\\"==s)h=wt;else{if(!r||"file"!=r.scheme){h=kt;continue}if(s==n){c.host=r.host;c.path=m(r.path);c.query=r.query}else if("?"==s){c.host=r.host;c.path=m(r.path);c.query="";h=Et}else{if("#"!=s){if(!startsWithWindowsDriveLetter(L(m(i,d),""))){c.host=r.host;c.path=m(r.path);c.shortenPath()}h=kt;continue}c.host=r.host;c.path=m(r.path);c.query=r.query;c.fragment="";h=Rt}}break;case wt:if("/"==s||"\\"==s){h=Ct;break}r&&"file"==r.scheme&&!startsWithWindowsDriveLetter(L(m(i,d),""))&&(isWindowsDriveLetter(r.path[0],!0)?U(c.path,r.path[0]):c.host=r.host);h=kt;continue;case Ct:if(s==n||"/"==s||"\\"==s||"?"==s||"#"==s){if(!e&&isWindowsDriveLetter(u))h=kt;else if(""==u){c.host="";if(e)return;h=Ft}else{if(o=c.parseHost(u))return o;"localhost"==c.host&&(c.host="");if(e)return;u="";h=Ft}continue}u+=s;break;case Ft:if(c.isSpecial()){h=kt;if("/"!=s&&"\\"!=s)continue}else if(e||"?"!=s)if(e||"#"!=s){if(s!=n){h=kt;if("/"!=s)continue}}else{c.fragment="";h=Rt}else{c.query="";h=Et}break;case kt:if(s==n||"/"==s||"\\"==s&&c.isSpecial()||!e&&("?"==s||"#"==s)){if(".."===(l=V(l=u))||"%2e."===l||".%2e"===l||"%2e%2e"===l){c.shortenPath();"/"==s||"\\"==s&&c.isSpecial()||U(c.path,"")}else if(isSingleDot(u))"/"==s||"\\"==s&&c.isSpecial()||U(c.path,"");else{if("file"==c.scheme&&!c.path.length&&isWindowsDriveLetter(u)){c.host&&(c.host="");u=D(u,0)+":"}U(c.path,u)}u="";if("file"==c.scheme&&(s==n||"?"==s||"#"==s))for(;c.path.length>1&&""===c.path[0];)B(c.path);if("?"==s){c.query="";h=Et}else if("#"==s){c.fragment="";h=Rt}}else u+=percentEncode(s,lt);break;case Tt:if("?"==s){c.query="";h=Et}else if("#"==s){c.fragment="";h=Rt}else s!=n&&(c.path[0]+=percentEncode(s,at));break;case Et:if(e||"#"!=s)s!=n&&("'"==s&&c.isSpecial()?c.query+="%27":c.query+="#"==s?"%23":percentEncode(s,at));else{c.fragment="";h=Rt}break;case Rt:s!=n&&(c.fragment+=percentEncode(s,ot))}d++}},parseHost:function(t){var e,r,n;if("["==D(t,0)){if("]"!=D(t,t.length-1))return X;e=function(t){var e,r,n,i,s,a,o,l=[0,0,0,0,0,0,0,0],c=0,h=null,d=0,chr=function(){return D(t,d)};if(":"==chr()){if(":"!=D(t,1))return;d+=2;h=++c}for(;chr();){if(8==c)return;if(":"!=chr()){e=r=0;for(;r<4&&I(et,chr());){e=16*e+R(chr(),16);d++;r++}if("."==chr()){if(0==r)return;d-=r;if(c>6)return;n=0;for(;chr();){i=null;if(n>0){if(!("."==chr()&&n<4))return;d++}if(!I(Q,chr()))return;for(;I(Q,chr());){s=R(chr(),10);if(null===i)i=s;else{if(0==i)return;i=10*i+s}if(i>255)return;d++}l[c]=256*l[c]+i;2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==chr()){d++;if(!chr())return}else if(chr())return;l[c++]=e}else{if(null!==h)return;d++;h=++c}}if(null!==h){a=c-h;c=7;for(;0!=c&&a>0;){o=l[c];l[c--]=l[h+a-1];l[h+--a]=o}}else if(8!=c)return;return l}(q(t,1,-1));if(!e)return X;this.host=e}else if(this.isSpecial()){t=_(t);if(I(rt,t))return X;e=function(t){var e,r,n,i,s,a,o,l=W(t,".");l.length&&""==l[l.length-1]&&l.length--;if((e=l.length)>4)return t;r=[];for(n=0;n<e;n++){if(""==(i=l[n]))return t;s=10;if(i.length>1&&"0"==D(i,0)){s=I($,i)?16:8;i=q(i,8==s?1:2)}if(""===i)a=0;else{if(!I(10==s?tt:8==s?Z:et,i))return t;a=R(i,s)}U(r,a)}for(n=0;n<e;n++){a=r[n];if(n==e-1){if(a>=O(256,5-e))return null}else if(a>255)return null}o=j(r);for(n=0;n<r.length;n++)o+=r[n]*O(256,3-n);return o}(t);if(null===e)return X;this.host=e}else{if(I(nt,t))return X;e="";r=g(t);for(n=0;n<r.length;n++)e+=percentEncode(r[n],at);this.host=e}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(ht,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"==this.scheme&&1==e&&isWindowsDriveLetter(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,i=t.host,s=t.port,a=t.path,o=t.query,l=t.fragment,c=e+":";if(null!==i){c+="//";t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@");c+=serializeHost(i);null!==s&&(c+=":"+s)}else"file"==e&&(c+="//");c+=t.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"";null!==o&&(c+="?"+o);null!==l&&(c+="#"+l);return c},setHref:function(t){var e=this.parse(t);if(e)throw E(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"==t)try{return new Mt(t.path[0]).origin}catch(t){return"null"}return"file"!=t&&this.isSpecial()?t+"://"+serializeHost(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(y(t)+":",dt)},getUsername:function(){return this.username},setUsername:function(t){var e=g(y(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=percentEncode(e[r],ct)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(y(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=percentEncode(e[r],ct)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?serializeHost(t):serializeHost(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,At)},getHostname:function(){var t=this.host;return null===t?"":serializeHost(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,xt)},getPort:function(){var t=this.port;return null===t?"":y(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""==(t=y(t))?this.port=null:this.parse(t,St))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+L(t,"/"):""},setPathname:function(t){if(!this.cannotBeABaseURL){this.path=[];this.parse(t,Ft)}},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){if(""==(t=y(t)))this.query=null;else{"?"==D(t,0)&&(t=q(t,1));this.query="";this.parse(t,Et)}this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){if(""!=(t=y(t))){"#"==D(t,0)&&(t=q(t,1));this.fragment="";this.parse(t,Rt)}else this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Mt=function URL(t){var e=u(this,Ot),r=A(arguments.length,1)>1?arguments[1]:void 0,n=P(e,new URLState(t,!1,r));if(!s){e.href=n.serialize();e.origin=n.getOrigin();e.protocol=n.getProtocol();e.username=n.getUsername();e.password=n.getPassword();e.host=n.getHost();e.hostname=n.getHostname();e.port=n.getPort();e.pathname=n.getPathname();e.search=n.getSearch();e.searchParams=n.getSearchParams();e.hash=n.getHash()}},Ot=Mt.prototype,accessorDescriptor=function(t,e){return{get:function(){return w(this)[t]()},set:e&&function(t){return w(this)[e](t)},configurable:!0,enumerable:!0}};s&&h(Ot,{href:accessorDescriptor("serialize","setHref"),origin:accessorDescriptor("getOrigin"),protocol:accessorDescriptor("getProtocol","setProtocol"),username:accessorDescriptor("getUsername","setUsername"),password:accessorDescriptor("getPassword","setPassword"),host:accessorDescriptor("getHost","setHost"),hostname:accessorDescriptor("getHostname","setHostname"),port:accessorDescriptor("getPort","setPort"),pathname:accessorDescriptor("getPathname","setPathname"),search:accessorDescriptor("getSearch","setSearch"),searchParams:accessorDescriptor("getSearchParams"),hash:accessorDescriptor("getHash","setHash")});d(Ot,"toJSON",(function toJSON(){return w(this).serialize()}),{enumerable:!0});d(Ot,"toString",(function toString(){return w(this).serialize()}),{enumerable:!0});if(T){var Dt=T.createObjectURL,It=T.revokeObjectURL;Dt&&d(Mt,"createObjectURL",l(Dt,T));It&&d(Mt,"revokeObjectURL",l(It,T))}b(Mt,"URL");i({global:!0,forced:!a,sham:!s},{URL:Mt})},(t,e,r)=>{"use strict";var n=r(94).charAt,i=r(66),s=r(48),a=r(83),o="String Iterator",l=s.set,c=s.getterFor(o);a(String,"String",(function(t){l(this,{type:o,string:i(t),index:0})}),(function next(){var t,e=c(this),r=e.string,i=e.index;if(i>=r.length)return{value:void 0,done:!0};t=n(r,i);e.index+=t.length;return{value:t,done:!1}}))},(t,e,r)=>{var n=r(14),i=r(59),s=r(66),a=r(16),o=n("".charAt),l=n("".charCodeAt),c=n("".slice),createMethod=function(t){return function(e,r){var n,h,d=s(a(e)),u=i(r),p=d.length;return u<0||u>=p?t?"":void 0:(n=l(d,u))<55296||n>56319||u+1===p||(h=l(d,u+1))<56320||h>57343?t?o(d,u):n:t?c(d,u,u+2):h-56320+(n-55296<<10)+65536}};t.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},(t,e,r)=>{var n=r(7),i=r(32),s=r(34),a=i("iterator");t.exports=!n((function(){var t=new URL("b?a=1&b=2&c=