UNPKG

@digivorefr/html2pdf.js

Version:

Client-side HTML-to-PDF rendering using pure JS with html2canvas-pro

2 lines 73.4 kB
/*! For license information please see html2pdf.min.js.LICENSE.txt */ !function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("jspdf"),require("html2canvas-pro")):"function"==typeof define&&define.amd?define("html2pdf",["jspdf","html2canvas-pro"],o):"object"==typeof exports?exports.html2pdf=o(require("jspdf"),require("html2canvas-pro")):e.html2pdf=o(e.jspdf,e["html2canvas-pro"])}(self,(function(e,o){return function(){var t={"./src/plugin/hyperlinks.js":function(e,o,t){"use strict";t.r(o),t("./node_modules/core-js/modules/web.dom-collections.for-each.js"),t("./node_modules/core-js/modules/es.string.link.js");var n=t("./src/worker.js"),r=t("./src/utils.js"),s=[],i={toContainer:n.default.prototype.toContainer,toPdf:n.default.prototype.toPdf};n.default.prototype.toContainer=function(){return i.toContainer.call(this).then((function(){if(this.opt.enableLinks){var e=this.prop.container,o=e.querySelectorAll("a"),t=(0,r.unitConvert)(e.getBoundingClientRect(),this.prop.pageSize.k);s=[],Array.prototype.forEach.call(o,(function(e){for(var o=e.getClientRects(),n=0;n<o.length;n++){var i=(0,r.unitConvert)(o[n],this.prop.pageSize.k);i.left-=t.left,i.top-=t.top;var a=Math.floor(i.top/this.prop.pageSize.inner.height)+1,l=this.opt.margin[0]+i.top%this.prop.pageSize.inner.height,c=this.opt.margin[1]+i.left;s.push({page:a,top:l,left:c,clientRect:i,link:e})}}),this)}}))},n.default.prototype.toPdf=function(){return i.toPdf.call(this).then((function(){if(this.opt.enableLinks){s.forEach((function(e){this.prop.pdf.setPage(e.page),this.prop.pdf.link(e.left,e.top,e.clientRect.width,e.clientRect.height,{url:e.link.href})}),this);var e=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(e)}}))}},"./src/plugin/jspdf-plugin.js":function(e,o,t){"use strict";t.r(o),t("./node_modules/core-js/modules/es.symbol.js"),t("./node_modules/core-js/modules/es.symbol.description.js"),t("./node_modules/core-js/modules/es.object.to-string.js"),t("./node_modules/core-js/modules/es.symbol.iterator.js"),t("./node_modules/core-js/modules/es.array.iterator.js"),t("./node_modules/core-js/modules/es.string.iterator.js"),t("./node_modules/core-js/modules/web.dom-collections.iterator.js");var n=t("jspdf");function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.jsPDF.getPageSize=function(e,o,t){if("object"===r(e)){var n=e;e=n.orientation,o=n.unit||o,t=n.format||t}o=o||"mm",t=t||"a4",e=(""+(e||"P")).toLowerCase();var s=(""+t).toLowerCase(),i={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(o){case"pt":var a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+o}if(i.hasOwnProperty(s))var l=i[s][1]/a,c=i[s][0]/a;else try{l=t[1],c=t[0]}catch(e){throw new Error("Invalid format: "+t)}if("p"===e||"portrait"===e){if(e="p",c>l){var u=c;c=l,l=u}}else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",l>c&&(u=c,c=l,l=u)}return{width:c,height:l,unit:o,k:a}},o.default=n.jsPDF},"./src/plugin/pagebreaks.js":function(e,o,t){"use strict";t.r(o),t("./node_modules/core-js/modules/es.array.concat.js"),t("./node_modules/core-js/modules/es.array.slice.js"),t("./node_modules/core-js/modules/es.array.join.js"),t("./node_modules/core-js/modules/web.dom-collections.for-each.js"),t("./node_modules/core-js/modules/es.object.keys.js");var n=t("./src/worker.js"),r=t("./src/utils.js"),s={toContainer:n.default.prototype.toContainer};n.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},n.default.prototype.toContainer=function(){return s.toContainer.call(this).then((function(){var e=this.prop.container,o=this.prop.pageSize.inner.px.height,t=[].concat(this.opt.pagebreak.mode),n={avoidAll:-1!==t.indexOf("avoid-all"),css:-1!==t.indexOf("css"),legacy:-1!==t.indexOf("legacy")},s={},i=this;["before","after","avoid"].forEach((function(o){var t=n.avoidAll&&"avoid"===o;s[o]=t?[]:[].concat(i.opt.pagebreak[o]||[]),s[o].length>0&&(s[o]=Array.prototype.slice.call(e.querySelectorAll(s[o].join(", "))))}));var a=e.querySelectorAll(".html2pdf__page-break");a=Array.prototype.slice.call(a);var l=e.querySelectorAll("*");Array.prototype.forEach.call(l,(function(e){var t={before:!1,after:n.legacy&&-1!==a.indexOf(e),avoid:n.avoidAll};if(n.css){var i=window.getComputedStyle(e),l=["always","page","left","right"];t={before:t.before||-1!==l.indexOf(i.breakBefore||i.pageBreakBefore),after:t.after||-1!==l.indexOf(i.breakAfter||i.pageBreakAfter),avoid:t.avoid||-1!==["avoid","avoid-page"].indexOf(i.breakInside||i.pageBreakInside)}}Object.keys(t).forEach((function(o){t[o]=t[o]||-1!==s[o].indexOf(e)}));var c=e.getBoundingClientRect();if(t.avoid&&!t.before){var u=Math.floor(c.top/o),d=Math.floor(c.bottom/o),j=Math.abs(c.bottom-c.top)/o;d!==u&&j<=1&&(t.before=!0)}if(t.before){var p=(0,r.createElement)("div",{style:{display:"block",height:o-c.top%o+"px"}});e.parentNode.insertBefore(p,e)}t.after&&(p=(0,r.createElement)("div",{style:{display:"block",height:o-c.bottom%o+"px"}}),e.parentNode.insertBefore(p,e.nextSibling))}))}))}},"./src/utils.js":function(e,o,t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.r(o),t.d(o,{objType:function(){return r},createElement:function(){return s},cloneNode:function(){return i},unitConvert:function(){return a},toPx:function(){return l}}),t("./node_modules/core-js/modules/es.number.constructor.js"),t("./node_modules/core-js/modules/es.symbol.js"),t("./node_modules/core-js/modules/es.symbol.description.js"),t("./node_modules/core-js/modules/es.object.to-string.js"),t("./node_modules/core-js/modules/es.symbol.iterator.js"),t("./node_modules/core-js/modules/es.array.iterator.js"),t("./node_modules/core-js/modules/es.string.iterator.js"),t("./node_modules/core-js/modules/web.dom-collections.iterator.js");var r=function(e){var o=n(e);return"undefined"===o?"undefined":"string"===o||e instanceof String?"string":"number"===o||e instanceof Number?"number":"function"===o||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===o?"object":"unknown"},s=function(e,o){var t=document.createElement(e);if(o.className&&(t.className=o.className),o.innerHTML){t.innerHTML=o.innerHTML;for(var n=t.getElementsByTagName("script"),r=n.length;r-- >0;null)n[r].parentNode.removeChild(n[r])}for(var s in o.style)t.style[s]=o.style[s];return t},i=function e(o,t){for(var n=3===o.nodeType?document.createTextNode(o.nodeValue):o.cloneNode(!1),r=o.firstChild;r;r=r.nextSibling)!0!==t&&1===r.nodeType&&"SCRIPT"===r.nodeName||n.appendChild(e(r,t));return 1===o.nodeType&&("CANVAS"===o.nodeName?(n.width=o.width,n.height=o.height,n.getContext("2d").drawImage(o,0,0)):"TEXTAREA"!==o.nodeName&&"SELECT"!==o.nodeName||(n.value=o.value),n.addEventListener("load",(function(){n.scrollTop=o.scrollTop,n.scrollLeft=o.scrollLeft}),!0)),n},a=function(e,o){if("number"===r(e))return 72*e/96/o;var t={};for(var n in e)t[n]=72*e[n]/96/o;return t},l=function(e,o){return Math.floor(e*o/72*96)}},"./src/worker.js":function(e,o,t){"use strict";t.r(o),t("./node_modules/core-js/modules/es.object.assign.js"),t("./node_modules/core-js/modules/es.array.map.js"),t("./node_modules/core-js/modules/es.object.keys.js"),t("./node_modules/core-js/modules/es.array.concat.js"),t("./node_modules/core-js/modules/es.object.to-string.js"),t("./node_modules/core-js/modules/es.regexp.to-string.js"),t("./node_modules/core-js/modules/es.function.name.js"),t("./node_modules/core-js/modules/web.dom-collections.for-each.js");var n=t("jspdf"),r=t("html2canvas-pro"),s=t("./src/utils.js"),i=t("./node_modules/es6-promise/dist/es6-promise.js"),a=t.n(i)().Promise,l=function e(o){var t=Object.assign(e.convert(a.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(a.resolve(),t);return(n=n.setProgress(1,e,1,[e])).set(o)};(l.prototype=Object.create(a.prototype)).constructor=l,l.convert=function(e,o){return e.__proto__=o||l.prototype,e},l.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},l.prototype.from=function(e,o){return this.then((function(){switch(o=o||function(e){switch((0,s.objType)(e)){case"string":return"string";case"element":return e.nodeName.toLowerCase&&"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:(0,s.createElement)("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},l.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},l.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},o={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};e.opacity=0;var t=(0,s.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,s.createElement)("div",{className:"html2pdf__overlay",style:e}),this.prop.container=(0,s.createElement)("div",{className:"html2pdf__container",style:o}),this.prop.container.appendChild(t),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)}))},l.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then((function(){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,r(this.prop.container,e)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},l.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},l.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e=this.prop.canvas,o=this.opt,t=e.height,r=Math.floor(e.width*this.prop.pageSize.inner.ratio),s=Math.ceil(t/r),i=this.prop.pageSize.inner.height,a=document.createElement("canvas"),l=a.getContext("2d");a.width=e.width,a.height=r,this.prop.pdf=this.prop.pdf||new n.jsPDF(o.jsPDF);for(var c=0;c<s;c++){c===s-1&&t%r!=0&&(a.height=t%r,i=a.height*this.prop.pageSize.inner.width/a.width);var u=a.width,d=a.height;l.fillStyle="white",l.fillRect(0,0,u,d),l.drawImage(e,0,c*r,u,d,0,0,u,d),c&&this.prop.pdf.addPage();var j=a.toDataURL("image/"+o.image.type,o.image.quality);this.prop.pdf.addImage(j,o.image.type,o.margin[1],o.margin[0],this.prop.pageSize.inner.width,i)}}))},l.prototype.output=function(e,o,t){return"img"===(t=t||"pdf").toLowerCase()||"image"===t.toLowerCase()?this.outputImg(e,o):this.outputPdf(e,o)},l.prototype.outputPdf=function(e,o){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,o)}))},l.prototype.outputImg=function(e,o){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},l.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},l.prototype.set=function(e){if("object"!==(0,s.objType)(e))return this;var o=Object.keys(e||{}).map((function(o){switch(o){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return o in l.template.prop?function(){this.prop[o]=e[o]}:function(){this.opt[o]=e[o]}}}),this);return this.then((function(){return this.thenList(o)}))},l.prototype.get=function(e,o){return this.then((function(){var t=e in l.template.prop?this.prop[e]:this.opt[e];return o?o(t):t}))},l.prototype.setMargin=function(e){return this.then((function(){switch((0,s.objType)(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},l.prototype.setPageSize=function(e){return this.then((function(){(e=e||n.jsPDF.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:(0,s.toPx)(e.inner.width,e.k),height:(0,s.toPx)(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},l.prototype.setProgress=function(e,o,t,n){return null!=e&&(this.progress.val=e),null!=o&&(this.progress.state=o),null!=t&&(this.progress.n=t),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},l.prototype.updateProgress=function(e,o,t,n){return this.setProgress(e?this.progress.val+e:null,o||null,t?this.progress.n+t:null,n?this.progress.stack.concat(n):null)},l.prototype.then=function(e,o){var t=this;return this.thenCore(e,o,(function(e,o){return t.updateProgress(null,null,1,[e]),a.prototype.then.call(this,(function(o){return t.updateProgress(null,e),o})).then(e,o).then((function(e){return t.updateProgress(1),e}))}))},l.prototype.thenCore=function(e,o,t){t=t||a.prototype.then;var n=this;e&&(e=e.bind(n)),o&&(o=o.bind(n));var r=-1!==a.toString().indexOf("[native code]")&&"Promise"===a.name?n:l.convert(Object.assign({},n),a.prototype),s=t.call(r,e,o);return l.convert(s,n.__proto__)},l.prototype.thenExternal=function(e,o){return a.prototype.then.call(this,e,o)},l.prototype.thenList=function(e){var o=this;return e.forEach((function(e){o=o.thenCore(e)})),o},l.prototype.catch=function(e){e&&(e=e.bind(this));var o=a.prototype.catch.call(this,e);return l.convert(o,this)},l.prototype.catchExternal=function(e){return a.prototype.catch.call(this,e)},l.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},l.prototype.using=l.prototype.set,l.prototype.saveAs=l.prototype.save,l.prototype.export=l.prototype.output,l.prototype.run=l.prototype.then,o.default=l},"./node_modules/core-js/internals/a-function.js":function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"./node_modules/core-js/internals/a-possible-prototype.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"./node_modules/core-js/internals/add-to-unscopables.js":function(e,o,t){var n=t("./node_modules/core-js/internals/well-known-symbol.js"),r=t("./node_modules/core-js/internals/object-create.js"),s=t("./node_modules/core-js/internals/object-define-property.js"),i=n("unscopables"),a=Array.prototype;null==a[i]&&s.f(a,i,{configurable:!0,value:r(null)}),e.exports=function(e){a[i][e]=!0}},"./node_modules/core-js/internals/an-object.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js");e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},"./node_modules/core-js/internals/array-for-each.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/array-iteration.js").forEach,r=t("./node_modules/core-js/internals/array-method-is-strict.js")("forEach");e.exports=r?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-indexed-object.js"),r=t("./node_modules/core-js/internals/to-length.js"),s=t("./node_modules/core-js/internals/to-absolute-index.js"),i=function(e){return function(o,t,i){var a,l=n(o),c=r(l.length),u=s(i,c);if(e&&t!=t){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===t)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(e,o,t){var n=t("./node_modules/core-js/internals/function-bind-context.js"),r=t("./node_modules/core-js/internals/indexed-object.js"),s=t("./node_modules/core-js/internals/to-object.js"),i=t("./node_modules/core-js/internals/to-length.js"),a=t("./node_modules/core-js/internals/array-species-create.js"),l=[].push,c=function(e){var o=1==e,t=2==e,c=3==e,u=4==e,d=6==e,j=7==e,p=5==e||d;return function(f,m,h,y){for(var _,g,b=s(f),v=r(b),w=n(m,h,3),x=i(v.length),S=0,k=y||a,O=o?k(f,x):t||j?k(f,0):void 0;x>S;S++)if((p||S in v)&&(g=w(_=v[S],S,b),e))if(o)O[S]=g;else if(g)switch(e){case 3:return!0;case 5:return _;case 6:return S;case 2:l.call(O,_)}else switch(e){case 4:return!1;case 7:l.call(O,_)}return d?-1:c||u?u:O}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js"),r=t("./node_modules/core-js/internals/well-known-symbol.js"),s=t("./node_modules/core-js/internals/engine-v8-version.js"),i=r("species");e.exports=function(e){return s>=51||!n((function(){var o=[];return(o.constructor={})[i]=function(){return{foo:1}},1!==o[e](Boolean).foo}))}},"./node_modules/core-js/internals/array-method-is-strict.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/fails.js");e.exports=function(e,o){var t=[][e];return!!t&&n((function(){t.call(null,o||function(){throw 1},1)}))}},"./node_modules/core-js/internals/array-species-constructor.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js"),r=t("./node_modules/core-js/internals/is-array.js"),s=t("./node_modules/core-js/internals/well-known-symbol.js")("species");e.exports=function(e){var o;return r(e)&&("function"!=typeof(o=e.constructor)||o!==Array&&!r(o.prototype)?n(o)&&null===(o=o[s])&&(o=void 0):o=void 0),void 0===o?Array:o}},"./node_modules/core-js/internals/array-species-create.js":function(e,o,t){var n=t("./node_modules/core-js/internals/array-species-constructor.js");e.exports=function(e,o){return new(n(e))(0===o?0:o)}},"./node_modules/core-js/internals/classof-raw.js":function(e){var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-string-tag-support.js"),r=t("./node_modules/core-js/internals/classof-raw.js"),s=t("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=n?r:function(e){var o,t,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,o){try{return e[o]}catch(e){}}(o=Object(e),s))?t:i?r(o):"Object"==(n=r(o))&&"function"==typeof o.callee?"Arguments":n}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(e,o,t){var n=t("./node_modules/core-js/internals/has.js"),r=t("./node_modules/core-js/internals/own-keys.js"),s=t("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),i=t("./node_modules/core-js/internals/object-define-property.js");e.exports=function(e,o){for(var t=r(o),a=i.f,l=s.f,c=0;c<t.length;c++){var u=t[c];n(e,u)||a(e,u,l(o,u))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js");e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},"./node_modules/core-js/internals/create-html.js":function(e,o,t){var n=t("./node_modules/core-js/internals/require-object-coercible.js"),r=t("./node_modules/core-js/internals/to-string.js"),s=/"/g;e.exports=function(e,o,t,i){var a=r(n(e)),l="<"+o;return""!==t&&(l+=" "+t+'="'+r(i).replace(s,"&quot;")+'"'),l+">"+a+"</"+o+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,r=t("./node_modules/core-js/internals/object-create.js"),s=t("./node_modules/core-js/internals/create-property-descriptor.js"),i=t("./node_modules/core-js/internals/set-to-string-tag.js"),a=t("./node_modules/core-js/internals/iterators.js"),l=function(){return this};e.exports=function(e,o,t){var c=o+" Iterator";return e.prototype=r(n,{next:s(1,t)}),i(e,c,!1,!0),a[c]=l,e}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(e,o,t){var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/object-define-property.js"),s=t("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=n?function(e,o,t){return r.f(e,o,s(1,t))}:function(e,o,t){return e[o]=t,e}},"./node_modules/core-js/internals/create-property-descriptor.js":function(e){e.exports=function(e,o){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:o}}},"./node_modules/core-js/internals/create-property.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/to-property-key.js"),r=t("./node_modules/core-js/internals/object-define-property.js"),s=t("./node_modules/core-js/internals/create-property-descriptor.js");e.exports=function(e,o,t){var i=n(o);i in e?r.f(e,i,s(0,t)):e[i]=t}},"./node_modules/core-js/internals/define-iterator.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/export.js"),r=t("./node_modules/core-js/internals/create-iterator-constructor.js"),s=t("./node_modules/core-js/internals/object-get-prototype-of.js"),i=t("./node_modules/core-js/internals/object-set-prototype-of.js"),a=t("./node_modules/core-js/internals/set-to-string-tag.js"),l=t("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=t("./node_modules/core-js/internals/redefine.js"),u=t("./node_modules/core-js/internals/well-known-symbol.js"),d=t("./node_modules/core-js/internals/is-pure.js"),j=t("./node_modules/core-js/internals/iterators.js"),p=t("./node_modules/core-js/internals/iterators-core.js"),f=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,h=u("iterator"),y="keys",_="values",g="entries",b=function(){return this};e.exports=function(e,o,t,u,p,v,w){r(t,o,u);var x,S,k,O=function(e){if(e===p&&C)return C;if(!m&&e in E)return E[e];switch(e){case y:case _:case g:return function(){return new t(this,e)}}return function(){return new t(this)}},P=o+" Iterator",A=!1,E=e.prototype,T=E[h]||E["@@iterator"]||p&&E[p],C=!m&&T||O(p),L="Array"==o&&E.entries||T;if(L&&(x=s(L.call(new e)),f!==Object.prototype&&x.next&&(d||s(x)===f||(i?i(x,f):"function"!=typeof x[h]&&l(x,h,b)),a(x,P,!0,!0),d&&(j[P]=b))),p==_&&T&&T.name!==_&&(A=!0,C=function(){return T.call(this)}),d&&!w||E[h]===C||l(E,h,C),j[o]=C,p)if(S={values:O(_),keys:v?C:O(y),entries:O(g)},w)for(k in S)(m||A||!(k in E))&&c(E,k,S[k]);else n({target:o,proto:!0,forced:m||A},S);return S}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(e,o,t){var n=t("./node_modules/core-js/internals/path.js"),r=t("./node_modules/core-js/internals/has.js"),s=t("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),i=t("./node_modules/core-js/internals/object-define-property.js").f;e.exports=function(e){var o=n.Symbol||(n.Symbol={});r(o,e)||i(o,e,{value:s.f(e)})}},"./node_modules/core-js/internals/descriptors.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"./node_modules/core-js/internals/document-create-element.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/is-object.js"),s=n.document,i=r(s)&&r(s.createElement);e.exports=function(e){return i?s.createElement(e):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(e){e.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}},"./node_modules/core-js/internals/engine-user-agent.js":function(e,o,t){var n=t("./node_modules/core-js/internals/get-built-in.js");e.exports=n("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(e,o,t){var n,r,s=t("./node_modules/core-js/internals/global.js"),i=t("./node_modules/core-js/internals/engine-user-agent.js"),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u?r=(n=u.split("."))[0]<4?1:n[0]+n[1]:i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(r=n[1]),e.exports=r&&+r},"./node_modules/core-js/internals/enum-bug-keys.js":function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,s=t("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=t("./node_modules/core-js/internals/redefine.js"),a=t("./node_modules/core-js/internals/set-global.js"),l=t("./node_modules/core-js/internals/copy-constructor-properties.js"),c=t("./node_modules/core-js/internals/is-forced.js");e.exports=function(e,o){var t,u,d,j,p,f=e.target,m=e.global,h=e.stat;if(t=m?n:h?n[f]||a(f,{}):(n[f]||{}).prototype)for(u in o){if(j=o[u],d=e.noTargetGet?(p=r(t,u))&&p.value:t[u],!c(m?u:f+(h?".":"#")+u,e.forced)&&void 0!==d){if(typeof j==typeof d)continue;l(j,d)}(e.sham||d&&d.sham)&&s(j,"sham",!0),i(t,u,j,e)}}},"./node_modules/core-js/internals/fails.js":function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(e,o,t){var n=t("./node_modules/core-js/internals/a-function.js");e.exports=function(e,o,t){if(n(e),void 0===o)return e;switch(t){case 0:return function(){return e.call(o)};case 1:return function(t){return e.call(o,t)};case 2:return function(t,n){return e.call(o,t,n)};case 3:return function(t,n,r){return e.call(o,t,n,r)}}return function(){return e.apply(o,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,o){return arguments.length<2?r(n[e]):n[e]&&n[e][o]}},"./node_modules/core-js/internals/global.js":function(e){var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof global&&global)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-object.js"),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,o){return r.call(n(e),o)}},"./node_modules/core-js/internals/hidden-keys.js":function(e){e.exports={}},"./node_modules/core-js/internals/html.js":function(e,o,t){var n=t("./node_modules/core-js/internals/get-built-in.js");e.exports=n("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(e,o,t){var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/fails.js"),s=t("./node_modules/core-js/internals/document-create-element.js");e.exports=!n&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"./node_modules/core-js/internals/indexed-object.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js"),r=t("./node_modules/core-js/internals/classof-raw.js"),s="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?s.call(e,""):Object(e)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js"),r=t("./node_modules/core-js/internals/object-set-prototype-of.js");e.exports=function(e,o,t){var s,i;return r&&"function"==typeof(s=o.constructor)&&s!==t&&n(i=s.prototype)&&i!==t.prototype&&r(e,i),e}},"./node_modules/core-js/internals/inspect-source.js":function(e,o,t){var n=t("./node_modules/core-js/internals/shared-store.js"),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return r.call(e)}),e.exports=n.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(e,o,t){var n,r,s,i=t("./node_modules/core-js/internals/native-weak-map.js"),a=t("./node_modules/core-js/internals/global.js"),l=t("./node_modules/core-js/internals/is-object.js"),c=t("./node_modules/core-js/internals/create-non-enumerable-property.js"),u=t("./node_modules/core-js/internals/has.js"),d=t("./node_modules/core-js/internals/shared-store.js"),j=t("./node_modules/core-js/internals/shared-key.js"),p=t("./node_modules/core-js/internals/hidden-keys.js"),f="Object already initialized",m=a.WeakMap;if(i||d.state){var h=d.state||(d.state=new m),y=h.get,_=h.has,g=h.set;n=function(e,o){if(_.call(h,e))throw new TypeError(f);return o.facade=e,g.call(h,e,o),o},r=function(e){return y.call(h,e)||{}},s=function(e){return _.call(h,e)}}else{var b=j("state");p[b]=!0,n=function(e,o){if(u(e,b))throw new TypeError(f);return o.facade=e,c(e,b,o),o},r=function(e){return u(e,b)?e[b]:{}},s=function(e){return u(e,b)}}e.exports={set:n,get:r,has:s,enforce:function(e){return s(e)?r(e):n(e,{})},getterFor:function(e){return function(o){var t;if(!l(o)||(t=r(o)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return t}}}},"./node_modules/core-js/internals/is-array.js":function(e,o,t){var n=t("./node_modules/core-js/internals/classof-raw.js");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"./node_modules/core-js/internals/is-forced.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js"),r=/#|\.prototype\./,s=function(e,o){var t=a[i(e)];return t==c||t!=l&&("function"==typeof o?n(o):!!o)},i=s.normalize=function(e){return String(e).replace(r,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";e.exports=s},"./node_modules/core-js/internals/is-object.js":function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/internals/is-pure.js":function(e){e.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(e,o,t){var n=t("./node_modules/core-js/internals/get-built-in.js"),r=t("./node_modules/core-js/internals/use-symbol-as-uid.js");e.exports=r?function(e){return"symbol"==typeof e}:function(e){var o=n("Symbol");return"function"==typeof o&&Object(e)instanceof o}},"./node_modules/core-js/internals/iterators-core.js":function(e,o,t){"use strict";var n,r,s,i=t("./node_modules/core-js/internals/fails.js"),a=t("./node_modules/core-js/internals/object-get-prototype-of.js"),l=t("./node_modules/core-js/internals/create-non-enumerable-property.js"),c=t("./node_modules/core-js/internals/has.js"),u=t("./node_modules/core-js/internals/well-known-symbol.js"),d=t("./node_modules/core-js/internals/is-pure.js"),j=u("iterator"),p=!1;[].keys&&("next"in(s=[].keys())?(r=a(a(s)))!==Object.prototype&&(n=r):p=!0);var f=null==n||i((function(){var e={};return n[j].call(e)!==e}));f&&(n={}),d&&!f||c(n,j)||l(n,j,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},"./node_modules/core-js/internals/iterators.js":function(e){e.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(e,o,t){var n=t("./node_modules/core-js/internals/engine-v8-version.js"),r=t("./node_modules/core-js/internals/fails.js");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"./node_modules/core-js/internals/native-weak-map.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/inspect-source.js"),s=n.WeakMap;e.exports="function"==typeof s&&/native code/.test(r(s))},"./node_modules/core-js/internals/object-assign.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/fails.js"),s=t("./node_modules/core-js/internals/object-keys.js"),i=t("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=t("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=t("./node_modules/core-js/internals/to-object.js"),c=t("./node_modules/core-js/internals/indexed-object.js"),u=Object.assign,d=Object.defineProperty;e.exports=!u||r((function(){if(n&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},o={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach((function(e){o[e]=e})),7!=u({},e)[t]||s(u({},o)).join("")!=r}))?function(e,o){for(var t=l(e),r=arguments.length,u=1,d=i.f,j=a.f;r>u;)for(var p,f=c(arguments[u++]),m=d?s(f).concat(d(f)):s(f),h=m.length,y=0;h>y;)p=m[y++],n&&!j.call(f,p)||(t[p]=f[p]);return t}:u},"./node_modules/core-js/internals/object-create.js":function(e,o,t){var n,r=t("./node_modules/core-js/internals/an-object.js"),s=t("./node_modules/core-js/internals/object-define-properties.js"),i=t("./node_modules/core-js/internals/enum-bug-keys.js"),a=t("./node_modules/core-js/internals/hidden-keys.js"),l=t("./node_modules/core-js/internals/html.js"),c=t("./node_modules/core-js/internals/document-create-element.js"),u=t("./node_modules/core-js/internals/shared-key.js")("IE_PROTO"),d=function(){},j=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(j("")),e.close();var o=e.parentWindow.Object;return e=null,o},f=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}f=document.domain&&n?p(n):function(){var e,o=c("iframe");if(o.style)return o.style.display="none",l.appendChild(o),o.src=String("javascript:"),(e=o.contentWindow.document).open(),e.write(j("document.F=Object")),e.close(),e.F}()||p(n);for(var e=i.length;e--;)delete f.prototype[i[e]];return f()};a[u]=!0,e.exports=Object.create||function(e,o){var t;return null!==e?(d.prototype=r(e),t=new d,d.prototype=null,t[u]=e):t=f(),void 0===o?t:s(t,o)}},"./node_modules/core-js/internals/object-define-properties.js":function(e,o,t){var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/object-define-property.js"),s=t("./node_modules/core-js/internals/an-object.js"),i=t("./node_modules/core-js/internals/object-keys.js");e.exports=n?Object.defineProperties:function(e,o){s(e);for(var t,n=i(o),a=n.length,l=0;a>l;)r.f(e,t=n[l++],o[t]);return e}},"./node_modules/core-js/internals/object-define-property.js":function(e,o,t){var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/ie8-dom-define.js"),s=t("./node_modules/core-js/internals/an-object.js"),i=t("./node_modules/core-js/internals/to-property-key.js"),a=Object.defineProperty;o.f=n?a:function(e,o,t){if(s(e),o=i(o),s(t),r)try{return a(e,o,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(e[o]=t.value),e}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(e,o,t){var n=t("./node_modules/core-js/internals/descriptors.js"),r=t("./node_modules/core-js/internals/object-property-is-enumerable.js"),s=t("./node_modules/core-js/internals/create-property-descriptor.js"),i=t("./node_modules/core-js/internals/to-indexed-object.js"),a=t("./node_modules/core-js/internals/to-property-key.js"),l=t("./node_modules/core-js/internals/has.js"),c=t("./node_modules/core-js/internals/ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;o.f=n?u:function(e,o){if(e=i(e),o=a(o),c)try{return u(e,o)}catch(e){}if(l(e,o))return s(!r.f.call(e,o),e[o])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-indexed-object.js"),r=t("./node_modules/core-js/internals/object-get-own-property-names.js").f,s={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==s.call(e)?function(e){try{return r(e)}catch(e){return i.slice()}}(e):r(n(e))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(e,o,t){var n=t("./node_modules/core-js/internals/object-keys-internal.js"),r=t("./node_modules/core-js/internals/enum-bug-keys.js").concat("length","prototype");o.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(e,o){o.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(e,o,t){var n=t("./node_modules/core-js/internals/has.js"),r=t("./node_modules/core-js/internals/to-object.js"),s=t("./node_modules/core-js/internals/shared-key.js"),i=t("./node_modules/core-js/internals/correct-prototype-getter.js"),a=s("IE_PROTO"),l=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=r(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(e,o,t){var n=t("./node_modules/core-js/internals/has.js"),r=t("./node_modules/core-js/internals/to-indexed-object.js"),s=t("./node_modules/core-js/internals/array-includes.js").indexOf,i=t("./node_modules/core-js/internals/hidden-keys.js");e.exports=function(e,o){var t,a=r(e),l=0,c=[];for(t in a)!n(i,t)&&n(a,t)&&c.push(t);for(;o.length>l;)n(a,t=o[l++])&&(~s(c,t)||c.push(t));return c}},"./node_modules/core-js/internals/object-keys.js":function(e,o,t){var n=t("./node_modules/core-js/internals/object-keys-internal.js"),r=t("./node_modules/core-js/internals/enum-bug-keys.js");e.exports=Object.keys||function(e){return n(e,r)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(e,o){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);o.f=r?function(e){var o=n(this,e);return!!o&&o.enumerable}:t},"./node_modules/core-js/internals/object-set-prototype-of.js":function(e,o,t){var n=t("./node_modules/core-js/internals/an-object.js"),r=t("./node_modules/core-js/internals/a-possible-prototype.js");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,o=!1,t={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),o=t instanceof Array}catch(e){}return function(t,s){return n(t),r(s),o?e.call(t,s):t.__proto__=s,t}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/to-string-tag-support.js"),r=t("./node_modules/core-js/internals/classof.js");e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js");e.exports=function(e,o){var t,r;if("string"===o&&"function"==typeof(t=e.toString)&&!n(r=t.call(e)))return r;if("function"==typeof(t=e.valueOf)&&!n(r=t.call(e)))return r;if("string"!==o&&"function"==typeof(t=e.toString)&&!n(r=t.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(e,o,t){var n=t("./node_modules/core-js/internals/get-built-in.js"),r=t("./node_modules/core-js/internals/object-get-own-property-names.js"),s=t("./node_modules/core-js/internals/object-get-own-property-symbols.js"),i=t("./node_modules/core-js/internals/an-object.js");e.exports=n("Reflect","ownKeys")||function(e){var o=r.f(i(e)),t=s.f;return t?o.concat(t(e)):o}},"./node_modules/core-js/internals/path.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js");e.exports=n},"./node_modules/core-js/internals/redefine.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/create-non-enumerable-property.js"),s=t("./node_modules/core-js/internals/has.js"),i=t("./node_modules/core-js/internals/set-global.js"),a=t("./node_modules/core-js/internals/inspect-source.js"),l=t("./node_modules/core-js/internals/internal-state.js"),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,o,t,a){var l,c=!!a&&!!a.unsafe,j=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof t&&("string"!=typeof o||s(t,"name")||r(t,"name",o),(l=u(t)).source||(l.source=d.join("string"==typeof o?o:""))),e!==n?(c?!p&&e[o]&&(j=!0):delete e[o],j?e[o]=t:r(e,o,t)):j?e[o]=t:i(o,t)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||a(this)}))},"./node_modules/core-js/internals/regexp-flags.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/an-object.js");e.exports=function(){var e=n(this),o="";return e.global&&(o+="g"),e.ignoreCase&&(o+="i"),e.multiline&&(o+="m"),e.dotAll&&(o+="s"),e.unicode&&(o+="u"),e.sticky&&(o+="y"),o}},"./node_modules/core-js/internals/require-object-coercible.js":function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/internals/set-global.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js");e.exports=function(e,o){try{Object.defineProperty(n,e,{value:o,configurable:!0,writable:!0})}catch(t){n[e]=o}return o}},"./node_modules/core-js/internals/set-to-string-tag.js":function(e,o,t){var n=t("./node_modules/core-js/internals/object-define-property.js").f,r=t("./node_modules/core-js/internals/has.js"),s=t("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag");e.exports=function(e,o,t){e&&!r(e=t?e:e.prototype,s)&&n(e,s,{configurable:!0,value:o})}},"./node_modules/core-js/internals/shared-key.js":function(e,o,t){var n=t("./node_modules/core-js/internals/shared.js"),r=t("./node_modules/core-js/internals/uid.js"),s=n("keys");e.exports=function(e){return s[e]||(s[e]=r(e))}},"./node_modules/core-js/internals/shared-store.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/set-global.js"),s="__core-js_shared__",i=n[s]||r(s,{});e.exports=i},"./node_modules/core-js/internals/shared.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-pure.js"),r=t("./node_modules/core-js/internals/shared-store.js");(e.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(e,o,t){var n=t("./node_modules/core-js/internals/fails.js");e.exports=function(e){return n((function(){var o=""[e]('"');return o!==o.toLowerCase()||o.split('"').length>3}))}},"./node_modules/core-js/internals/string-multibyte.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-integer.js"),r=t("./node_modules/core-js/internals/to-string.js"),s=t("./node_modules/core-js/internals/require-object-coercible.js"),i=function(e){return function(o,t){var i,a,l=r(s(o)),c=n(t),u=l.length;return c<0||c>=u?e?"":void 0:(i=l.charCodeAt(c))<55296||i>56319||c+1===u||(a=l.charCodeAt(c+1))<56320||a>57343?e?l.charAt(c):i:e?l.slice(c,c+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},"./node_modules/core-js/internals/string-trim.js":function(e,o,t){var n=t("./node_modules/core-js/internals/require-object-coercible.js"),r=t("./node_modules/core-js/internals/to-string.js"),s="["+t("./node_modules/core-js/internals/whitespaces.js")+"]",i=RegExp("^"+s+s+"*"),a=RegExp(s+s+"*$"),l=function(e){return function(o){var t=r(n(o));return 1&e&&(t=t.replace(i,"")),2&e&&(t=t.replace(a,"")),t}};e.exports={start:l(1),end:l(2),trim:l(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-integer.js"),r=Math.max,s=Math.min;e.exports=function(e,o){var t=n(e);return t<0?r(t+o,0):s(t,o)}},"./node_modules/core-js/internals/to-indexed-object.js":function(e,o,t){var n=t("./node_modules/core-js/internals/indexed-object.js"),r=t("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return n(r(e))}},"./node_modules/core-js/internals/to-integer.js":function(e){var o=Math.ceil,t=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?t:o)(e)}},"./node_modules/core-js/internals/to-length.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-integer.js"),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(e,o,t){var n=t("./node_modules/core-js/internals/require-object-coercible.js");e.exports=function(e){return Object(n(e))}},"./node_modules/core-js/internals/to-primitive.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-object.js"),r=t("./node_modules/core-js/internals/is-symbol.js"),s=t("./node_modules/core-js/internals/ordinary-to-primitive.js"),i=t("./node_modules/core-js/internals/well-known-symbol.js")("toPrimitive");e.exports=function(e,o){if(!n(e)||r(e))return e;var t,a=e[i];if(void 0!==a){if(void 0===o&&(o="default"),t=a.call(e,o),!n(t)||r(t))return t;throw TypeError("Can't convert object to primitive value")}return void 0===o&&(o="number"),s(e,o)}},"./node_modules/core-js/internals/to-property-key.js":function(e,o,t){var n=t("./node_modules/core-js/internals/to-primitive.js"),r=t("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){var o=n(e,"string");return r(o)?o:String(o)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(e,o,t){var n={};n[t("./node_modules/core-js/internals/well-known-symbol.js")("toStringTag")]="z",e.exports="[object z]"===String(n)},"./node_modules/core-js/internals/to-string.js":function(e,o,t){var n=t("./node_modules/core-js/internals/is-symbol.js");e.exports=function(e){if(n(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},"./node_modules/core-js/internals/uid.js":function(e){var o=0,t=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++o+t).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(e,o,t){var n=t("./node_modules/core-js/internals/native-symbol.js");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(e,o,t){var n=t("./node_modules/core-js/internals/well-known-symbol.js");o.f=n},"./node_modules/core-js/internals/well-known-symbol.js":function(e,o,t){var n=t("./node_modules/core-js/internals/global.js"),r=t("./node_modules/core-js/internals/shared.js"),s=t("./node_modules/core-js/internals/has.js"),i=t("./node_modules/core-js/internals/uid.js"),a=t("./node_modules/core-js/internals/native-symbol.js"),l=t("./node_modules/core-js/internals/use-symbol-as-uid.js"),c=r("wks"),u=n.Symbol,d=l?u:u&&u.withoutSetter||i;e.exports=function(e){return s(c,e)&&(a||"string"==typeof c[e])||(a&&s(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},"./node_modules/core-js/internals/whitespaces.js":function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"./node_modules/core-js/modules/es.array.concat.js":function(e,o,t){"use strict";var n=t("./node_modules/core-js/internals/export.js"),r=t("./node_modules/core-js/internals/fails.js"),s=t("./node_modules/core-js/internals/is-array.js"),i=t("./node_modules/core-js/internals/is-object.js"),a=t("./node_modules/core-js/internals/to-object