WGNW commited on
Commit
3ec53f0
1 Parent(s): cabc969

Upload 36 files

Browse files
Files changed (36) hide show
  1. 404.html +1 -0
  2. Solid_black.png +0 -0
  3. _next/static/Ir9WKnum2xVmhZw3HfoAx/_buildManifest.js +1 -0
  4. _next/static/Ir9WKnum2xVmhZw3HfoAx/_ssgManifest.js +1 -0
  5. _next/static/chunks/12.2245e6e037fcf5cb.js +1 -0
  6. _next/static/chunks/590caa2a.66f426e0dccf530e.js +12 -0
  7. _next/static/chunks/6139e184.961bc22caabc9bfd.js +1 -0
  8. _next/static/chunks/638-5d42aa82992ec559.js +1 -0
  9. _next/static/chunks/69-b3591fd8ad0215ce.js +0 -0
  10. _next/static/chunks/766.0cd721cdb05598ed.js +0 -0
  11. _next/static/chunks/app/_not-found-3a6664d6ed4f34ee.js +1 -0
  12. _next/static/chunks/app/layout-1e2531562bbbfedd.js +1 -0
  13. _next/static/chunks/app/page-44e8a5d218409204.js +1 -0
  14. _next/static/chunks/b2db8554.64d1a60571cad9c0.js +0 -0
  15. _next/static/chunks/fd9d1056-b57bdf07fd4ec92b.js +0 -0
  16. _next/static/chunks/framework-aec844d2ccbe7592.js +0 -0
  17. _next/static/chunks/main-af6fe37d2ff14a49.js +0 -0
  18. _next/static/chunks/main-app-41b03c9112f03abf.js +1 -0
  19. _next/static/chunks/pages/_app-75f6107b0260711c.js +1 -0
  20. _next/static/chunks/pages/_error-9a890acb1e81c3fc.js +1 -0
  21. _next/static/chunks/polyfills-c67a75d1b6f99dc8.js +1 -0
  22. _next/static/chunks/webpack-f84c1b8d3b892260.js +1 -0
  23. _next/static/css/bdaffc311a423cbd.css +3 -0
  24. _next/static/media/05a31a2ca4975f99-s.woff2 +0 -0
  25. _next/static/media/513657b02c5c193f-s.woff2 +0 -0
  26. _next/static/media/51ed15f9841b9f9d-s.woff2 +0 -0
  27. _next/static/media/c9a5bc6a7c948fb0-s.p.woff2 +0 -0
  28. _next/static/media/d6b16ce4a6175f26-s.woff2 +0 -0
  29. _next/static/media/ec159349637c90ad-s.woff2 +0 -0
  30. _next/static/media/fd4db3eb5472fc27-s.woff2 +0 -0
  31. favicon.ico +0 -0
  32. index.html +1 -19
  33. index.txt +6 -0
  34. next.svg +1 -0
  35. placeholder.svg +1 -0
  36. vercel.svg +1 -0
404.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/bdaffc311a423cbd.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f84c1b8d3b892260.js" crossorigin=""/><script src="/_next/static/chunks/fd9d1056-b57bdf07fd4ec92b.js" async="" crossorigin=""></script><script src="/_next/static/chunks/69-b3591fd8ad0215ce.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-41b03c9112f03abf.js" async="" crossorigin=""></script><title>404: This page could not be found.</title><title>Create Next App</title><meta name="description" content="Generated by create next app"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-f84c1b8d3b892260.js" crossorigin="" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/bdaffc311a423cbd.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[7690,[],\"\"]\n6:I[5613,[],\"\"]\n7:I[1778,[],\"\"]\nd:I[8955,[],\"\"]\n8:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n9:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\na:{\"display\":\"inline-block\"}\nb:{\"fontSize\":14,\"fontWeigh"])</script><script>self.__next_f.push([1,"t\":400,\"lineHeight\":\"49px\",\"margin\":0}\ne:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/bdaffc311a423cbd.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"Ir9WKnum2xVmhZw3HfoAx\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$9\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$a\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$b\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]}],null]],\"initialHead\":[false,\"$Lc\"],\"globalErrorComponent\":\"$d\",\"missingSlots\":\"$We\"}]]\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"meta\",\"4\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
Solid_black.png ADDED
_next/static/Ir9WKnum2xVmhZw3HfoAx/_buildManifest.js ADDED
@@ -0,0 +1 @@
 
 
1
+ self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-9a890acb1e81c3fc.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
_next/static/Ir9WKnum2xVmhZw3HfoAx/_ssgManifest.js ADDED
@@ -0,0 +1 @@
 
 
1
+ self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
_next/static/chunks/12.2245e6e037fcf5cb.js ADDED
@@ -0,0 +1 @@
 
 
1
+ !function(){var t,e,n,r,o,i,u,c,a={2525:function(){},7147:function(){},1418:function(){},3380:function(){},319:function(){},8386:function(){},3342:function(){},436:function(t,e,n){"use strict";var r=n(1008);r.OBj.allowLocalModels=!1;class o{static async getInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===this.instance&&(this.instance=(0,r.EUT)(this.task,this.model,{progress_callback:t})),this.instance}}o.task="image-to-image",o.model="Xenova/swin2SR-classical-sr-x2-64",o.instance=null,self.addEventListener("message",async t=>{let e=await o.getInstance(t=>{self.postMessage(t)}),n=await e(t.data.image,{callback_function:t=>{self.postMessage({status:"update",output:t})}});self.postMessage({status:"complete",output:n})})}},s={};function f(t){var e=s[t];if(void 0!==e)return e.exports;var n=s[t]={exports:{}},r=!0;try{a[t](n,n.exports,f),r=!1}finally{r&&delete s[t]}return n.exports}f.m=a,f.x=function(){var t=f.O(void 0,[165,132,15,766],function(){return f(436)});return f.O(t)},t=[],f.O=function(e,n,r,o){if(n){o=o||0;for(var i=t.length;i>0&&t[i-1][2]>o;i--)t[i]=t[i-1];t[i]=[n,r,o];return}for(var u=1/0,i=0;i<t.length;i++){for(var n=t[i][0],r=t[i][1],o=t[i][2],c=!0,a=0;a<n.length;a++)u>=o&&Object.keys(f.O).every(function(t){return f.O[t](n[a])})?n.splice(a--,1):(c=!1,o<u&&(u=o));if(c){t.splice(i--,1);var s=r();void 0!==s&&(e=s)}}return e},n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},f.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var o=Object.create(null);f.r(o);var i={};e=e||[null,n({}),n([]),n(n)];for(var u=2&r&&t;"object"==typeof u&&!~e.indexOf(u);u=n(u))Object.getOwnPropertyNames(u).forEach(function(e){i[e]=function(){return t[e]}});return i.default=function(){return t},f.d(o,i),o},f.d=function(t,e){for(var n in e)f.o(e,n)&&!f.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},f.f={},f.e=function(t){return Promise.all(Object.keys(f.f).reduce(function(e,n){return f.f[n](t,e),e},[]))},f.u=function(t){return"static/chunks/"+(({15:"b2db8554",132:"6139e184",165:"590caa2a"})[t]||t)+"."+({15:"64d1a60571cad9c0",132:"961bc22caabc9bfd",165:"66f426e0dccf530e",766:"0cd721cdb05598ed"})[t]+".js"},f.miniCssF=function(t){},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),f.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},f.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},f.tt=function(){return void 0===r&&(r={createScriptURL:function(t){return t}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(r=trustedTypes.createPolicy("nextjs#bundler",r))),r},f.tu=function(t){return f.tt().createScriptURL(t)},f.p="/_next/",o={12:1},f.f.i=function(t,e){o[t]||importScripts(f.tu(f.p+f.u(t)))},u=(i=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push.bind(i),i.push=function(t){var e=t[0],n=t[1],r=t[2];for(var i in n)f.o(n,i)&&(f.m[i]=n[i]);for(r&&r(f);e.length;)o[e.pop()]=1;u(t)},c=f.x,f.x=function(){return Promise.all([165,132,15,766].map(f.e,f)).then(c)},_N_E=f.x()}();
_next/static/chunks/590caa2a.66f426e0dccf530e.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{930:function(e,t,s){s.d(t,{t2:function(){return e7}});var n=s(8375),i=s(8577),r=s(7488),o=s(5118),a=s(2586),l=s(9215);async function c(e,t){let s=await Promise.all([(0,i.yM)(e,"tokenizer.json",!0,t),(0,i.yM)(e,"tokenizer_config.json",!0,t)]);return null!==t.legacy&&(s[1].legacy=t.legacy),s}function h(e,t=!0){if(void 0!==e.Regex){let t=e.Regex.replace(/\\([#&~])/g,"$1");for(let[e,s]of g)t=t.replaceAll(e,s);return RegExp(t,"gu")}if(void 0===e.String)return console.warn("Unknown pattern type:",e),null;{let s=(0,n.hr)(e.String);return RegExp(t?s:`(${s})`,"gu")}}function u(e){return new Map(Object.entries(e))}function d(e){let t=e.dims;switch(t.length){case 1:return e.tolist();case 2:if(1!==t[0])throw Error("Unable to decode tensor with `batch size !== 1`. Use `tokenizer.batch_decode(...)` for batched inputs.");return e.tolist()[0];default:throw Error(`Expected tensor to have 1-2 dimensions, got ${t.length}.`)}}function _(e){return e.replace(/ \./g,".").replace(/ \?/g,"?").replace(/ \!/g,"!").replace(/ ,/g,",").replace(/ \' /g,"'").replace(/ n\'t/g,"n't").replace(/ \'m/g,"'m").replace(/ \'s/g,"'s").replace(/ \'ve/g,"'ve").replace(/ \'re/g,"'re")}function p(e){return e.replace(/[\u0300-\u036f]/g,"")}let f="\\p{P}\\u0021-\\u002F\\u003A-\\u0040\\u005B-\\u0060\\u007B-\\u007E",g=new Map([["(?i:'s|'t|'re|'ve|'m|'ll|'d)","(?:'([sS]|[tT]|[rR][eE]|[vV][eE]|[mM]|[lL][lL]|[dD]))"]]);class m{constructor(e){this.content=e.content,this.id=e.id,this.single_word=e.single_word??!1,this.lstrip=e.lstrip??!1,this.rstrip=e.rstrip??!1,this.special=e.special??!1,this.normalized=e.normalized??null}}class k extends n.Ag{constructor(e){super(),this.config=e,this.vocab=[],this.tokens_to_ids=new Map,this.unk_token_id=void 0,this.unk_token=void 0,this.end_of_word_suffix=void 0,this.fuse_unk=this.config.fuse_unk??!1}static fromConfig(e,...t){switch(e.type){case"WordPiece":return new x(e);case"Unigram":return new w(e,...t);case"BPE":return new v(e);default:if(e.vocab)return new z(e,...t);throw Error(`Unknown TokenizerModel type: ${e.type}`)}}_call(e){let t=this.encode(e);return this.fuse_unk&&(t=function(e,t,s){let n=[],i=0;for(;i<e.length;){if(n.push(e[i]),(s.get(e[i])??t)!==t){++i;continue}for(;i<e.length&&(s.get(e[i])??t)===t;)++i}return n}(t,this.unk_token_id,this.tokens_to_ids)),t}encode(e){throw Error("encode should be implemented in subclass.")}convert_tokens_to_ids(e){return e.map(e=>this.tokens_to_ids.get(e)??this.unk_token_id)}convert_ids_to_tokens(e){return e.map(e=>this.vocab[e]??this.unk_token)}}class x extends k{constructor(e){for(let[t,s]of(super(e),this.tokens_to_ids=u(e.vocab),this.unk_token_id=this.tokens_to_ids.get(e.unk_token),this.unk_token=e.unk_token,this.max_input_chars_per_word=e.max_input_chars_per_word??100,this.vocab=Array(this.tokens_to_ids.size),this.tokens_to_ids))this.vocab[s]=t}encode(e){let t=[];for(let s of e){let e=[...s];if(e.length>this.max_input_chars_per_word){t.push(this.unk_token);continue}let n=!1,i=0,r=[];for(;i<e.length;){let t=e.length,s=null;for(;i<t;){let n=e.slice(i,t).join("");if(i>0&&(n=this.config.continuing_subword_prefix+n),this.tokens_to_ids.has(n)){s=n;break}--t}if(null===s){n=!0;break}r.push(s),i=t}n?t.push(this.unk_token):t.push(...r)}return t}}class w extends k{constructor(e,t){super(e);let s=e.vocab.length;this.vocab=Array(s),this.scores=Array(s);for(let t=0;t<s;++t){let s=e.vocab[t];this.vocab[t]=s[0],this.scores[t]=s[1]}this.unk_token_id=e.unk_id,this.unk_token=this.vocab[e.unk_id],this.tokens_to_ids=new Map(this.vocab.map((e,t)=>[e,t])),this.bosToken=" ",this.bosTokenId=this.tokens_to_ids.get(this.bosToken),this.eosToken=t.eos_token,this.eosTokenId=this.tokens_to_ids.get(this.eosToken),this.unkToken=this.vocab[this.unk_token_id],this.minScore=(0,r.VV)(this.scores)[0],this.unkScore=this.minScore-10,this.scores[this.unk_token_id]=this.unkScore,this.trie=new a.GA,this.trie.extend(this.vocab),this.fuse_unk=!0}populateNodes(e){let t=e.sentence,s=t.length,n=0;for(;n<s;){let s=!1,i=[];for(let r of this.trie.commonPrefixSearch(t.slice(n))){i.push(r);let t=this.tokens_to_ids.get(r),o=this.scores[t],a=r.length;e.insert(n,a,o,t),s||1!==a||(s=!0)}s||e.insert(n,1,this.unkScore,this.unk_token_id),n+=1}}tokenize(e){let t=new a.pQ(e,this.bosTokenId,this.eosTokenId);return this.populateNodes(t),t.tokens()}encode(e){let t=[];for(let s of e){let e=this.tokenize(s);t.push(...e)}return t}}let y=(()=>{let e=[...Array.from({length:94},(e,t)=>t+33),...Array.from({length:12},(e,t)=>t+161),...Array.from({length:82},(e,t)=>t+174)],t=e.slice(),s=0;for(let n=0;n<256;++n)e.includes(n)||(e.push(n),t.push(256+s),s+=1);let n=t.map(e=>String.fromCharCode(e));return Object.fromEntries(e.map((e,t)=>[e,n[t]]))})(),b=(0,n.$2)(y);class v extends k{constructor(e){for(let[t,s]of(super(e),this.BPE_SPLIT_TOKEN=" ",this.tokens_to_ids=u(e.vocab),this.unk_token_id=this.tokens_to_ids.get(e.unk_token),this.unk_token=e.unk_token,this.vocab=Array(this.tokens_to_ids.size),this.tokens_to_ids))this.vocab[s]=t;this.bpe_ranks=new Map(e.merges.map((e,t)=>[e,t])),this.merges=e.merges.map(e=>e.split(this.BPE_SPLIT_TOKEN)),this.end_of_word_suffix=e.end_of_word_suffix,this.continuing_subword_suffix=e.continuing_subword_suffix??null,this.byte_fallback=this.config.byte_fallback??!1,this.byte_fallback&&(this.text_encoder=new TextEncoder),this.cache=new Map}bpe(e){if(0===e.length)return[];let t=this.cache.get(e);if(void 0!==t)return t;let s=Array.from(e);this.end_of_word_suffix&&(s[s.length-1]+=this.end_of_word_suffix);let n=[];if(s.length>1){let e=new a.Z3((e,t)=>e.score<t.score),t={token:s[0],bias:0,prev:null,next:null},i=t;for(let t=1;t<s.length;++t){let n={bias:t/s.length,token:s[t],prev:i,next:null};i.next=n,this._add_node(e,i),i=n}for(;!e.isEmpty();){let s=e.pop();if(s.deleted||!s.next||s.next.deleted)continue;if(s.deleted=!0,s.next.deleted=!0,s.prev){let e={...s.prev};s.prev.deleted=!0,s.prev=e,e.prev?e.prev.next=e:t=e}let n={token:s.token+s.next.token,bias:s.bias,prev:s.prev,next:s.next.next};n.prev?(n.prev.next=n,this._add_node(e,n.prev)):t=n,n.next&&(n.next.prev=n,this._add_node(e,n))}for(let e=t;null!==e;e=e.next)n.push(e.token)}else n=s;if(this.continuing_subword_suffix)for(let e=0;e<n.length-1;++e)n[e]+=this.continuing_subword_suffix;return this.cache.set(e,n),n}_add_node(e,t){let s=this.bpe_ranks.get(t.token+this.BPE_SPLIT_TOKEN+t.next.token);void 0!==s&&(t.score=s+t.bias,e.push(t))}encode(e){let t=[];for(let s of e)for(let e of this.bpe(s))this.tokens_to_ids.has(e)?t.push(e):this.byte_fallback?t.push(...Array.from(this.text_encoder.encode(e)).map(e=>`<0x${e.toString(16).toUpperCase().padStart(2,"0")}>`)):t.push(this.unk_token);return t}}class z extends k{constructor(e,t){for(let[s,n]of(super(e),this.tokens_to_ids=u(t.target_lang?e.vocab[t.target_lang]:e.vocab),this.bos_token=t.bos_token,this.bos_token_id=this.tokens_to_ids.get(this.bos_token),this.eos_token=t.eos_token,this.eos_token_id=this.tokens_to_ids.get(this.eos_token),this.pad_token=t.pad_token,this.pad_token_id=this.tokens_to_ids.get(this.pad_token),this.unk_token=t.unk_token,this.unk_token_id=this.tokens_to_ids.get(this.unk_token),this.vocab=Array(this.tokens_to_ids.size),this.tokens_to_ids))this.vocab[n]=s}encode(e){return e}}class S extends n.Ag{constructor(e){super(),this.config=e}static fromConfig(e){if(null===e)return null;switch(e.type){case"BertNormalizer":return new N(e);case"Precompiled":return new eo(e);case"Sequence":return new R(e);case"Replace":return new A(e);case"NFC":return new E(e);case"NFKC":return new T(e);case"NFKD":return new C(e);case"Strip":return new M(e);case"StripAccents":return new P(e);case"Lowercase":return new $(e);case"Prepend":return new j(e);default:throw Error(`Unknown Normalizer type: ${e.type}`)}}normalize(e){throw Error("normalize should be implemented in subclass.")}_call(e){return this.normalize(e)}}class A extends S{normalize(e){let t=h(this.config.pattern);return null===t?e:e.replaceAll(t,this.config.content)}}class E extends S{normalize(e){return e=e.normalize("NFC")}}class T extends S{normalize(e){return e=e.normalize("NFKC")}}class C extends S{normalize(e){return e=e.normalize("NFKD")}}class M extends S{normalize(e){return this.config.strip_left&&this.config.strip_right?e=e.trim():(this.config.strip_left&&(e=e.trimStart()),this.config.strip_right&&(e=e.trimEnd())),e}}class P extends S{normalize(e){return e=p(e)}}class $ extends S{normalize(e){return e=e.toLowerCase()}}class j extends S{normalize(e){return e=this.config.prepend+e}}class R extends S{constructor(e){super(e),this.normalizers=e.normalizers.map(e=>S.fromConfig(e))}normalize(e){return this.normalizers.reduce((e,t)=>t.normalize(e),e)}}class N extends S{_tokenize_chinese_chars(e){let t=[];for(let s=0;s<e.length;++s){let n=e[s],i=n.charCodeAt(0);this._is_chinese_char(i)?(t.push(" "),t.push(n),t.push(" ")):t.push(n)}return t.join("")}_is_chinese_char(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=63744&&e<=64255||e>=194560&&e<=195103}stripAccents(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}_is_control(e){switch(e){case" ":case"\n":case"\r":return!1;default:return/^\p{Cc}|\p{Cf}|\p{Co}|\p{Cs}$/u.test(e)}}_clean_text(e){let t=[];for(let s of e){let e=s.charCodeAt(0);0===e||65533===e||this._is_control(s)||(/^\s$/.test(s)?t.push(" "):t.push(s))}return t.join("")}normalize(e){return this.config.clean_text&&(e=this._clean_text(e)),this.config.handle_chinese_chars&&(e=this._tokenize_chinese_chars(e)),this.config.lowercase?(e=e.toLowerCase(),!1!==this.config.strip_accents&&(e=this.stripAccents(e))):this.config.strip_accents&&(e=this.stripAccents(e)),e}}class F extends n.Ag{static fromConfig(e){if(null===e)return null;switch(e.type){case"BertPreTokenizer":return new L(e);case"Sequence":return new ea(e);case"Whitespace":return new el(e);case"WhitespaceSplit":return new ec(e);case"Metaspace":return new ei(e);case"ByteLevel":return new U(e);case"Split":return new O(e);case"Punctuation":return new W(e);case"Digits":return new G(e);case"Replace":return new eh(e);default:throw Error(`Unknown PreTokenizer type: ${e.type}`)}}pre_tokenize_text(e,t){throw Error("pre_tokenize_text should be implemented in subclass.")}pre_tokenize(e,t){return(Array.isArray(e)?e.map(e=>this.pre_tokenize_text(e,t)):this.pre_tokenize_text(e,t)).flat()}_call(e,t){return this.pre_tokenize(e,t)}}class L extends F{constructor(e){super(),this.pattern=RegExp(`[^\\s${f}]+|[${f}]`,"gu")}pre_tokenize_text(e,t){return e.trim().match(this.pattern)||[]}}class U extends F{constructor(e){super(),this.config=e,this.add_prefix_space=this.config.add_prefix_space,this.trim_offsets=this.config.trim_offsets,this.use_regex=this.config.use_regex??!0,this.pattern=/'s|'t|'re|'ve|'m|'ll|'d| ?\p{L}+| ?\p{N}+| ?[^\s\p{L}\p{N}]+|\s+(?!\S)|\s+/gu,this.byte_encoder=y,this.text_encoder=new TextEncoder}pre_tokenize_text(e,t){return this.add_prefix_space&&!e.startsWith(" ")&&(e=" "+e),(this.use_regex?e.match(this.pattern)||[]:[e]).map(e=>Array.from(this.text_encoder.encode(e),e=>this.byte_encoder[e]).join(""))}}class O extends F{constructor(e){super(),this.config=e,this.pattern=h(this.config.pattern,this.config.invert)}pre_tokenize_text(e,t){return null===this.pattern?[]:this.config.invert?e.match(this.pattern)||[]:function(e,t){let s=[],n=0;for(let i of e.matchAll(t)){let t=i[0];n<i.index&&s.push(e.slice(n,i.index)),t.length>0&&s.push(t),n=i.index+t.length}return n<e.length&&s.push(e.slice(n)),s}(e,this.pattern)}}class W extends F{constructor(e){super(),this.config=e,this.pattern=RegExp(`[^${f}]+|[${f}]+`,"gu")}pre_tokenize_text(e,t){return e.match(this.pattern)||[]}}class G extends F{constructor(e){super(),this.config=e;let t=`[^\\d]+|\\d${this.config.individual_digits?"":"+"}`;this.pattern=RegExp(t,"gu")}pre_tokenize_text(e,t){return e.match(this.pattern)||[]}}class I extends n.Ag{constructor(e){super(),this.config=e}static fromConfig(e){if(null===e)return null;switch(e.type){case"TemplateProcessing":return new q(e);case"ByteLevel":return new Y(e);case"RobertaProcessing":return new D(e);case"BertProcessing":return new B(e);default:throw Error(`Unknown PostProcessor type: ${e.type}`)}}post_process(e,...t){throw Error("post_process should be implemented in subclass.")}_call(e,...t){return this.post_process(e,...t)}}class B extends I{constructor(e){super(e),this.cls=e.cls[0],this.sep=e.sep[0]}post_process(e,t=null,{add_special_tokens:s=!0}={}){s&&(e=(0,n.eG)([this.cls],e,[this.sep]));let i=Array(e.length).fill(0);if(null!==t){let r=s&&this instanceof D?[this.sep]:[],o=s?[this.sep]:[];e=(0,n.eG)(e,r,t,o),i=(0,n.eG)(i,Array(t.length+r.length+o.length).fill(1))}return{tokens:e,token_type_ids:i}}}class D extends B{}class q extends I{constructor(e){super(e),this.single=e.single,this.pair=e.pair}post_process(e,t=null,{add_special_tokens:s=!0}={}){let i=null===t?this.single:this.pair,r=[],o=[];for(let a of i)"SpecialToken"in a?s&&(r.push(a.SpecialToken.id),o.push(a.SpecialToken.type_id)):"Sequence"in a&&("A"===a.Sequence.id?(r=(0,n.eG)(r,e),o=(0,n.eG)(o,Array(e.length).fill(a.Sequence.type_id))):"B"===a.Sequence.id&&(r=(0,n.eG)(r,t),o=(0,n.eG)(o,Array(t.length).fill(a.Sequence.type_id))));return{tokens:r,token_type_ids:o}}}class Y extends I{post_process(e,t=null){return t&&(e=(0,n.eG)(e,t)),{tokens:e}}}class K extends n.Ag{constructor(e){super(),this.config=e,this.added_tokens=[],this.end_of_word_suffix=null,this.trim_offsets=e.trim_offsets}static fromConfig(e){if(null===e)return null;switch(e.type){case"WordPiece":return new Q(e);case"Metaspace":return new er(e);case"ByteLevel":return new X(e);case"Replace":return new Z(e);case"ByteFallback":return new V(e);case"Fuse":return new H(e);case"Strip":return new J(e);case"Sequence":return new et(e);case"CTC":return new ee(e);case"BPEDecoder":return new es(e);default:throw Error(`Unknown Decoder type: ${e.type}`)}}_call(e){return this.decode(e)}decode(e){return this.decode_chain(e).join("")}decode_chain(e){throw Error("`decode_chain` should be implemented in subclass.")}}class Z extends K{decode_chain(e){let t=h(this.config.pattern);return null===t?e:e.map(e=>e.replaceAll(t,this.config.content))}}class V extends K{constructor(e){super(e),this.text_decoder=new TextDecoder}decode_chain(e){let t=[],s=[];for(let n of e){let e=null;if(6===n.length&&n.startsWith("<0x")&&n.endsWith(">")){let t=parseInt(n.slice(3,5),16);isNaN(t)||(e=t)}if(null!==e)s.push(e);else{if(s.length>0){let e=this.text_decoder.decode(Uint8Array.from(s));t.push(e),s=[]}t.push(n)}}if(s.length>0){let e=this.text_decoder.decode(Uint8Array.from(s));t.push(e),s=[]}return t}}class H extends K{decode_chain(e){return[e.join("")]}}class J extends K{constructor(e){super(e),this.content=this.config.content,this.start=this.config.start,this.stop=this.config.stop}decode_chain(e){return e.map(e=>{let t=0;for(let s=0;s<this.start;++s){if(e[s]===this.content){t=s+1;continue}break}let s=e.length;for(let t=0;t<this.stop;++t){let n=e.length-t-1;if(e[n]===this.content){s=n;continue}break}return e.slice(t,s)})}}class Q extends K{constructor(e){super(e),this.cleanup=e.cleanup}decode_chain(e){return e.map((e,t)=>(0!==t&&(e=e.startsWith(this.config.prefix)?e.replace(this.config.prefix,""):" "+e),this.cleanup&&(e=_(e)),e))}}class X extends K{constructor(e){super(e),this.byte_decoder=b,this.text_decoder=new TextDecoder("utf-8",{fatal:!1,ignoreBOM:!0}),this.end_of_word_suffix=null}convert_tokens_to_string(e){let t=e.join(""),s=new Uint8Array([...t].map(e=>this.byte_decoder[e]));return this.text_decoder.decode(s)}decode_chain(e){let t=[],s=[];for(let n of e)void 0!==this.added_tokens.find(e=>e.content===n)?(s.length>0&&(t.push(this.convert_tokens_to_string(s)),s=[]),t.push(n)):s.push(n);return s.length>0&&t.push(this.convert_tokens_to_string(s)),t}}class ee extends K{constructor(e){super(e),this.pad_token=this.config.pad_token,this.word_delimiter_token=this.config.word_delimiter_token,this.cleanup=this.config.cleanup}convert_tokens_to_string(e){if(0===e.length)return"";let t=[e[0]];for(let s=1;s<e.length;++s)e[s]!==t.at(-1)&&t.push(e[s]);let s=t.filter(e=>e!==this.pad_token).join("");return this.cleanup&&(s=_(s).replaceAll(this.word_delimiter_token," ").trim()),s}decode_chain(e){return[this.convert_tokens_to_string(e)]}}class et extends K{constructor(e){super(e),this.decoders=e.decoders.map(e=>K.fromConfig(e))}decode_chain(e){return this.decoders.reduce((e,t)=>t.decode_chain(e),e)}}class es extends K{constructor(e){super(e),this.suffix=this.config.suffix}decode_chain(e){return e.map((t,s)=>t.replaceAll(this.suffix,s===e.length-1?"":" "))}}class en extends K{decode_chain(e){let t="";for(let s=1;s<e.length;s+=2)t+=e[s];return[t]}}class ei extends F{constructor(e){super(),this.addPrefixSpace=e.add_prefix_space,this.replacement=e.replacement,this.strRep=e.str_rep||this.replacement,this.prepend_scheme=e.prepend_scheme??"always"}pre_tokenize_text(e,{section_index:t}={}){let s=e.replaceAll(" ",this.strRep);return this.addPrefixSpace&&!s.startsWith(this.replacement)&&("always"===this.prepend_scheme||"first"===this.prepend_scheme&&0===t)&&(s=this.strRep+s),[s]}}class er extends K{constructor(e){super(e),this.addPrefixSpace=e.add_prefix_space,this.replacement=e.replacement}decode_chain(e){let t=[];for(let s=0;s<e.length;++s){let n=e[s].replaceAll(this.replacement," ");this.addPrefixSpace&&0==s&&n.startsWith(" ")&&(n=n.substring(1)),t.push(n)}return t}}class eo extends S{constructor(e){super(e),this.charsmap=e.precompiled_charsmap}normalize(e){return e=(e=(e=e.replace(/[\u0001-\u0008\u000B\u000E-\u001F\u007F\u008F\u009F]/gm,"")).replace(/[\u0009\u000A\u000C\u000D\u1680\u200B\u200C\u200E\u200F\u2028\u2029\u2581\uFEFF\uFFFD]/gm," ")).includes("~")?e.split("~").map(e=>e.normalize("NFKC")).join("~"):e.normalize("NFKC")}}class ea extends F{constructor(e){super(),this.tokenizers=e.pretokenizers.map(e=>F.fromConfig(e))}pre_tokenize_text(e,t){return this.tokenizers.reduce((e,s)=>s.pre_tokenize(e,t),[e])}}class el extends F{constructor(e){super()}pre_tokenize_text(e,t){return e.match(/\w+|[^\w\s]+/g)||[]}}class ec extends F{constructor(e){super()}pre_tokenize_text(e,t){return e.match(/\S+/g)||[]}}class eh extends F{constructor(e){super(),this.config=e,this.pattern=h(this.config.pattern),this.content=this.config.content}pre_tokenize_text(e,t){return null===this.pattern?[e]:[e.replaceAll(this.pattern,this.config.content)]}}let eu=["bos_token","eos_token","unk_token","sep_token","pad_token","cls_token","mask_token"];class ed extends n.Ag{return_token_type_ids=!1;_default_chat_template=`{% for message in messages %}{{'<|im_start|>' + message['role'] + '
2
+ ' + message['content'] + '<|im_end|>' + '
3
+ '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
4
+ ' }}{% endif %}`;constructor(e,t){for(let s of(super(),this._tokenizer_config=t,this.normalizer=S.fromConfig(e.normalizer),this.pre_tokenizer=F.fromConfig(e.pre_tokenizer),this.model=k.fromConfig(e.model,t),this.post_processor=I.fromConfig(e.post_processor),this.decoder=K.fromConfig(e.decoder),this.special_tokens=[],this.all_special_ids=[],this.added_tokens=[],e.added_tokens)){let e=new m(s);this.added_tokens.push(e),this.model.tokens_to_ids.set(e.content,e.id),this.model.vocab[e.id]=e.content,e.special&&(this.special_tokens.push(e.content),this.all_special_ids.push(e.id))}this.additional_special_tokens=t.additional_special_tokens??[],this.special_tokens.push(...this.additional_special_tokens),this.special_tokens=[...new Set(this.special_tokens)],this.decoder&&(this.decoder.added_tokens=this.added_tokens,this.decoder.end_of_word_suffix=this.model.end_of_word_suffix),this.added_tokens_regex=this.added_tokens.length>0?new RegExp(this.added_tokens.map(e=>`${e.lstrip?"\\s*":""}(${(0,n.hr)(e.content)})${e.rstrip?"\\s*":""}`).join("|")):null,this.mask_token=this.getToken("mask_token"),this.mask_token_id=this.model.tokens_to_ids.get(this.mask_token),this.pad_token=this.getToken("pad_token","eos_token"),this.pad_token_id=this.model.tokens_to_ids.get(this.pad_token),this.sep_token=this.getToken("sep_token"),this.sep_token_id=this.model.tokens_to_ids.get(this.sep_token),this.unk_token=this.getToken("unk_token"),this.unk_token_id=this.model.tokens_to_ids.get(this.unk_token),this.model_max_length=t.model_max_length,this.remove_space=t.remove_space,this.clean_up_tokenization_spaces=t.clean_up_tokenization_spaces??!0,this.do_lowercase_and_remove_accent=t.do_lowercase_and_remove_accent??!1,this.padding_side="right",this.legacy=!1,this.chat_template=t.chat_template??null,this._compiled_template_cache=new Map}getToken(...e){for(let t of e){let e=this._tokenizer_config[t];if(e){if("object"!=typeof e)return e;if("AddedToken"===e.__type)return e.content;throw Error(`Unknown token: ${e}`)}}return null}static async from_pretrained(e,{progress_callback:t=null,config:s=null,cache_dir:n=null,local_files_only:i=!1,revision:r="main",legacy:o=null}={}){return new this(...await c(e,{progress_callback:t,config:s,cache_dir:n,local_files_only:i,revision:r,legacy:o}))}_call(e,{text_pair:t=null,add_special_tokens:s=!0,padding:i=!1,truncation:a=null,max_length:l=null,return_tensor:c=!0}={}){let h;let u=Array.isArray(e);if(u){if(0===e.length)throw Error("text array must be non-empty");if(null!==t){if(Array.isArray(t)){if(e.length!==t.length)throw Error("text and text_pair must have the same length")}else throw Error("text_pair must also be an array");h=e.map((e,n)=>this._encode_plus(e,t[n],{add_special_tokens:s}))}else h=e.map(e=>this._encode_plus(e,null,{add_special_tokens:s}))}else{if(null===e)throw Error("text may not be null");if(Array.isArray(t))throw Error("When specifying `text_pair`, since `text` is a string, `text_pair` must also be a string (i.e., not an array).");h=[this._encode_plus(e,t,{add_special_tokens:s})]}if(null===l?l="max_length"===i?this.model_max_length:(0,r.Fp)(h.map(e=>e.input_ids.length))[0]:a||console.warn("Truncation was not explicitly activated but `max_length` is provided a specific value, please use `truncation=true` to explicitly truncate examples to max length."),l=Math.min(l,this.model_max_length),i||a)for(let e=0;e<h.length;++e)h[e].input_ids.length!==l&&(h[e].input_ids.length>l?a&&function(e,t){for(let s of Object.keys(e))e[s].length=t}(h[e],l):i&&function(e,t,s,i){for(let r of Object.keys(e)){let o=t-e[r].length,a=s(r),l=Array(o).fill(a);e[r]="right"===i?(0,n.eG)(e[r],l):(0,n.eG)(l,e[r])}}(h[e],l,e=>"input_ids"===e?this.pad_token_id:0,this.padding_side));let d={};if(c){if(!(i&&a)&&h.some(e=>{for(let t of Object.keys(e))if(e[t].length!==h[0][t]?.length)return!0;return!1}))throw Error("Unable to create tensor, you should probably activate truncation and/or padding with 'padding=true' and 'truncation=true' to have batched tensors with the same length.");let e=[h.length,h[0].input_ids.length];for(let t of Object.keys(h[0]))d[t]=new o.es("int64",BigInt64Array.from(h.flatMap(e=>e[t]).map(BigInt)),e)}else{for(let e of Object.keys(h[0]))d[e]=h.map(t=>t[e]);if(!u)for(let e of Object.keys(d))d[e]=d[e][0]}return d}_encode_text(e){return null===e?null:(this.added_tokens_regex?e.split(this.added_tokens_regex).filter(e=>e):[e]).map((e,t)=>{if(void 0!==this.added_tokens.find(t=>t.content===e))return e;{if(!0===this.remove_space&&(e=e.trim().split(/\s+/).join(" ")),this.do_lowercase_and_remove_accent&&(e=p(e.toLowerCase())),null!==this.normalizer&&(e=this.normalizer(e)),0===e.length)return[];let s=null!==this.pre_tokenizer?this.pre_tokenizer(e,{section_index:t}):[e];return this.model(s)}}).flat()}_encode_plus(e,t=null,{add_special_tokens:s=!0}={}){let i=this._encode_text(e),r=this._encode_text(t),o=this.post_processor?this.post_processor(i,r,{add_special_tokens:s}):{tokens:(0,n.eG)(i??[],r??[])},a=this.model.convert_tokens_to_ids(o.tokens),l={input_ids:a,attention_mask:Array(a.length).fill(1)};return this.return_token_type_ids&&o.token_type_ids&&(l.token_type_ids=o.token_type_ids),l}encode(e,t=null,{add_special_tokens:s=!0}={}){let{input_ids:n}=this._encode_plus(e,t,{add_special_tokens:s});return n}batch_decode(e,t={}){return e instanceof o.es&&(e=e.tolist()),e.map(e=>this.decode(e,t))}decode(e,t={}){if(e instanceof o.es&&(e=d(e)),!Array.isArray(e)||0===e.length||!(0,n.Wy)(e[0]))throw Error("token_ids must be a non-empty array of integers.");return this.decode_single(e,t)}decode_single(e,{skip_special_tokens:t=!1,clean_up_tokenization_spaces:s=null}){let n=this.model.convert_ids_to_tokens(e);t&&(n=n.filter(e=>!this.special_tokens.includes(e)));let i=this.decoder?this.decoder(n):n.join(" ");return this.decoder&&this.decoder.end_of_word_suffix&&(i=i.replaceAll(this.decoder.end_of_word_suffix," "),t&&(i=i.trim())),(s??this.clean_up_tokenization_spaces)&&(i=_(i)),i}get default_chat_template(){return this._warned_about_chat_template||(console.warn("No chat template is defined for this tokenizer - using a default chat template that implements the ChatML format. If the default is not appropriate for your model, please set `tokenizer.chat_template` to an appropriate template. See https://huggingface.co/docs/transformers/main/chat_templating for more information."),this._warned_about_chat_template=!0),this._default_chat_template}apply_chat_template(e,{chat_template:t=null,add_generation_prompt:s=!1,tokenize:n=!0,padding:i=!1,truncation:r=!1,max_length:o=null,return_tensor:a=!0}={}){t??=this.chat_template??this.default_chat_template;let c=this._compiled_template_cache.get(t);void 0===c&&(c=new l.YS(t),this._compiled_template_cache.set(t,c));let h=Object.create(null);for(let e of eu){let t=this.getToken(e);t&&(h[e]=t)}let u=c.render({messages:e,add_generation_prompt:s,...h});return n?this._call(u,{add_special_tokens:!1,padding:i,truncation:r,max_length:o,return_tensor:a}).input_ids:u}}class e_ extends ed{return_token_type_ids=!0}class ep extends ed{return_token_type_ids=!0}class ef extends ed{return_token_type_ids=!0}class eg extends ed{return_token_type_ids=!0}class em extends ed{return_token_type_ids=!0}class ek extends ed{return_token_type_ids=!0}class ex extends ed{return_token_type_ids=!0}class ew extends ed{return_token_type_ids=!0}class ey extends ed{return_token_type_ids=!0}class eb extends ed{}class ev extends ed{}class ez extends ed{return_token_type_ids=!0;constructor(e,t){super(e,t),console.warn('WARNING: `XLMTokenizer` is not yet supported by Hugging Face\'s "fast" tokenizers library. Therefore, you may experience slightly inaccurate results.')}}class eS extends ed{return_token_type_ids=!0}class eA extends ed{}class eE extends ed{_default_chat_template='{% for message in messages %}" "{{ message.content }}{{ eos_token }}" "{% endfor %}'}class eT extends ed{}class eC extends ed{constructor(e,t){super(e,t),this.languageRegex=/^[a-z]{2}_[A-Z]{2}$/,this.language_codes=this.special_tokens.filter(e=>this.languageRegex.test(e)),this.lang_to_token=e=>e}_build_translation_inputs(e,t,s){return eI(this,e,t,s)}}class eM extends eC{}class eP extends ed{}class e$ extends eE{constructor(e,t){let s=".,!?…。,、।۔،",n=e.pre_tokenizer?.pretokenizers[0]?.pattern;n&&n.Regex===` ?[^(\\s|[${s}])]+`&&(n.Regex=` ?[^\\s${s}]+`),super(e,t)}}class ej extends ed{_default_chat_template=`{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% elif USE_DEFAULT_PROMPT == true and not '<<SYS>>' in messages[0]['content'] %}{% set loop_messages = messages %}{% set system_message = 'DEFAULT_SYSTEM_MESSAGE' %}{% else %}{% set loop_messages = messages %}{% set system_message = false %}{% endif %}{% for message in loop_messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if loop.index0 == 0 and system_message != false %}{% set content = '<<SYS>>
5
+ ' + system_message + '
6
+ <</SYS>>
7
+
8
+ ' + message['content'] %}{% else %}{% set content = message['content'] %}{% endif %}{% if message['role'] == 'user' %}{{ bos_token + '[INST] ' + content.strip() + ' [/INST]' }}{% elif message['role'] == 'system' %}{{ '<<SYS>>
9
+ ' + content.strip() + '
10
+ <</SYS>>
11
+
12
+ ' }}{% elif message['role'] == 'assistant' %}{{ ' ' + content.strip() + ' ' + eos_token }}{% endif %}{% endfor %}`;DEFAULT_SYSTEM_PROMPT="You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.";constructor(e,t){super(e,t),this.use_default_system_prompt=t.use_default_system_prompt??!1,this.legacy=t.legacy??!0,this.legacy||(this.normalizer=null,this.pre_tokenizer=new ei({replacement:"▁",add_prefix_space:!0,prepend_scheme:"first"}))}_encode_text(e){if(null===e)return null;if(this.legacy||0===e.length)return super._encode_text(e);let t=super._encode_text("▁"+e.replaceAll("▁"," "));return t.length>1&&"▁"===t[0]&&this.special_tokens.includes(t[1])&&(t=t.slice(1)),t}get default_chat_template(){return super.default_chat_template.replaceAll("USE_DEFAULT_PROMPT",this.use_default_system_prompt?"true":"false").replaceAll("DEFAULT_SYSTEM_MESSAGE",this.DEFAULT_SYSTEM_PROMPT.replaceAll("\n","\\n").replaceAll("'","\\'"))}}class eR extends ej{}class eN extends ed{}class eF extends ed{}class eL extends ed{}class eU extends ed{}class eO extends ed{}class eW extends ed{}class eG extends ed{_default_chat_template="{% if messages[0]['role'] == 'system' %}{{ raise_exception('System role not supported') }}{% endif %}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{{ raise_exception('Conversation roles must alternate user/assistant/user/assistant/...') }}{% endif %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}"}function eI(e,t,s,n){if(!("language_codes"in e)||!Array.isArray(e.language_codes))throw Error("Tokenizer must have `language_codes` attribute set and it should be an array of language ids.");if(!("languageRegex"in e)||!(e.languageRegex instanceof RegExp))throw Error("Tokenizer must have `languageRegex` attribute set and it should be a regular expression.");if(!("lang_to_token"in e)||"function"!=typeof e.lang_to_token)throw Error("Tokenizer must have `lang_to_token` attribute set and it should be a function.");let i=n.src_lang,r=n.tgt_lang;if(!e.language_codes.includes(r))throw Error(`Target language code "${r}" is not valid. Must be one of: {${e.language_codes.join(", ")}}`);if(void 0!==i){if(!e.language_codes.includes(i))throw Error(`Source language code "${i}" is not valid. Must be one of: {${e.language_codes.join(", ")}}`);for(let t of e.post_processor.config.single)if("SpecialToken"in t&&e.languageRegex.test(t.SpecialToken.id)){t.SpecialToken.id=e.lang_to_token(i);break}}return n.forced_bos_token_id=e.model.convert_tokens_to_ids([e.lang_to_token(r)])[0],e._call(t,s)}class eB extends ed{constructor(e,t){super(e,t),this.languageRegex=/^[a-z]{3}_[A-Z][a-z]{3}$/,this.language_codes=this.special_tokens.filter(e=>this.languageRegex.test(e)),this.lang_to_token=e=>e}_build_translation_inputs(e,t,s){return eI(this,e,t,s)}}class eD extends ed{constructor(e,t){super(e,t),this.languageRegex=/^__[a-z]{2,3}__$/,this.language_codes=this.special_tokens.filter(e=>this.languageRegex.test(e)).map(e=>e.slice(2,-2)),this.lang_to_token=e=>`__${e}__`}_build_translation_inputs(e,t,s){return eI(this,e,t,s)}}let eq=[["en","english"],["zh","chinese"],["de","german"],["es","spanish"],["ru","russian"],["ko","korean"],["fr","french"],["ja","japanese"],["pt","portuguese"],["tr","turkish"],["pl","polish"],["ca","catalan"],["nl","dutch"],["ar","arabic"],["sv","swedish"],["it","italian"],["id","indonesian"],["hi","hindi"],["fi","finnish"],["vi","vietnamese"],["he","hebrew"],["uk","ukrainian"],["el","greek"],["ms","malay"],["cs","czech"],["ro","romanian"],["da","danish"],["hu","hungarian"],["ta","tamil"],["no","norwegian"],["th","thai"],["ur","urdu"],["hr","croatian"],["bg","bulgarian"],["lt","lithuanian"],["la","latin"],["mi","maori"],["ml","malayalam"],["cy","welsh"],["sk","slovak"],["te","telugu"],["fa","persian"],["lv","latvian"],["bn","bengali"],["sr","serbian"],["az","azerbaijani"],["sl","slovenian"],["kn","kannada"],["et","estonian"],["mk","macedonian"],["br","breton"],["eu","basque"],["is","icelandic"],["hy","armenian"],["ne","nepali"],["mn","mongolian"],["bs","bosnian"],["kk","kazakh"],["sq","albanian"],["sw","swahili"],["gl","galician"],["mr","marathi"],["pa","punjabi"],["si","sinhala"],["km","khmer"],["sn","shona"],["yo","yoruba"],["so","somali"],["af","afrikaans"],["oc","occitan"],["ka","georgian"],["be","belarusian"],["tg","tajik"],["sd","sindhi"],["gu","gujarati"],["am","amharic"],["yi","yiddish"],["lo","lao"],["uz","uzbek"],["fo","faroese"],["ht","haitian creole"],["ps","pashto"],["tk","turkmen"],["nn","nynorsk"],["mt","maltese"],["sa","sanskrit"],["lb","luxembourgish"],["my","myanmar"],["bo","tibetan"],["tl","tagalog"],["mg","malagasy"],["as","assamese"],["tt","tatar"],["haw","hawaiian"],["ln","lingala"],["ha","hausa"],["ba","bashkir"],["jw","javanese"],["su","sundanese"]],eY=new Map(eq),eK=new Map([...eq.map(([e,t])=>[t,e]),["burmese","my"],["valencian","ca"],["flemish","nl"],["haitian","ht"],["letzeburgesch","lb"],["pushto","ps"],["panjabi","pa"],["moldavian","ro"],["moldovan","ro"],["sinhalese","si"],["castilian","es"]]);class eZ extends ed{_default_chat_template='{% for message in messages %}" "{{ message.content }}{{ eos_token }}" "{% endfor %}';_decode_asr(e,{return_timestamps:t=!1,return_language:s=!1,time_precision:n=null,force_full_sequences:i=!0}={}){if(null===n)throw Error("Must specify time_precision");let o=null,a="word"===t;function l(){return{language:o,timestamp:[null,null],text:""}}let c=[],h=l(),u=0,d=this.model.convert_tokens_to_ids(["<|notimestamps|>"])[0]+1,_=[],p=[],f=!1,g=null,m=new Set(this.all_special_ids);for(let s of e){let e=s.tokens,i=a?s.token_timestamps:null,k=null,x=d;if("stride"in s){let[t,i,r]=s.stride;if(u-=i,g=t-r,i&&(x=i/n+d),r)for(let t=e.length-1;t>=0;--t){let s=e[t];if(s>=d){if(null!==k&&(s-d)*n<g)break;k=s}}}let w=[],y=[];for(let s=0;s<e.length;++s){let g=e[s];if(m.has(g)){let e=this.decode([g]),s=eY.get(e.slice(2,-2));if(void 0!==s){if(null!==o&&s!==o&&!t){_.push(w);let e=this.findLongestCommonSequence(_)[0],t=this.decode(e);h.text=t,c.push(h),_=[],w=[],h=l()}o=h.language=s}}else if(g>=d){let e=(g-d)*n+u,t=(0,r.NM)(e,2);if(null!==k&&g>=k)f=!0;else if(f||_.length>0&&g<x)f=!1;else if(null===h.timestamp[0])h.timestamp[0]=t;else if(t===h.timestamp[0]);else{h.timestamp[1]=t,_.push(w),a&&p.push(y);let[e,s]=this.findLongestCommonSequence(_,p),n=this.decode(e);h.text=n,a&&(h.words=this.collateWordTimestamps(e,s,o)),c.push(h),_=[],w=[],p=[],y=[],h=l()}}else if(w.push(g),a){let e,t=(0,r.NM)(i[s]+u,2);e=s+1<i.length?(0,r.NM)(i[s+1]+u,2):null,y.push([t,e])}}if("stride"in s){let[e,t,n]=s.stride;u+=e-n}w.length>0?(_.push(w),a&&p.push(y)):_.every(e=>0===e.length)&&(h=l(),_=[],w=[],p=[],y=[])}if(_.length>0){if(i&&t)throw Error("Whisper did not predict an ending timestamp, which can happen if audio is cut off in the middle of a word. Also make sure WhisperTimeStampLogitsProcessor was used during generation.");let[e,s]=this.findLongestCommonSequence(_,p),n=this.decode(e);h.text=n,a&&(h.words=this.collateWordTimestamps(e,s,o)),c.push(h)}let k=Object.create(null),x=c.map(e=>e.text).join("");if(t||s){for(let e=0;e<c.length;++e){let n=c[e];t||delete n.timestamp,s||delete n.language}if(a){let e=[];for(let t of c)for(let s of t.words)e.push(s);k={chunks:e}}else k={chunks:c}}return[x,k]}findLongestCommonSequence(e,t=null){let s=e[0],n=s.length,i=[],r=Array.isArray(t)&&t.length>0,o=r?[]:null,a=r?t[0]:null;for(let l=1;l<e.length;++l){let c=e[l],h=0,u=[n,n,0,0],d=c.length;for(let e=1;e<n+d;++e){let t=e/1e4,i=Math.max(0,n-e),r=Math.min(n,n+d-e),o=s.slice(i,r),a=Math.max(0,e-n),l=Math.min(d,e),_=c.slice(a,l);if(o.length!==_.length)throw Error("There is a bug within whisper `decode_asr` function, please report it. Dropping to prevent bad inference.");let p=o.filter((e,t)=>e===_[t]).length,f=p/e+t;p>1&&f>h&&(h=f,u=[i,r,a,l])}let[_,p,f,g]=u,m=Math.floor((p+_)/2),k=Math.floor((g+f)/2);i.push(...s.slice(0,m)),n=(s=c.slice(k)).length,r&&(o.push(...a.slice(0,m)),a=t[l].slice(k))}return(i.push(...s),r)?(o.push(...a),[i,o]):[i,[]]}collateWordTimestamps(e,t,s){let[n,i,r]=this.combineTokensIntoWords(e,s),o=[];for(let e=0;e<n.length;++e){let s=r[e];o.push({text:n[e],timestamp:[t[s.at(0)][0],t[s.at(-1)][1]]})}return o}combineTokensIntoWords(e,t,s="\"'“\xa1\xbf([{-",n="\"'.。,,!!??::”)]}、"){let i,r,o;return["chinese","japanese","thai","lao","myanmar"].includes(t=t??"english")?[i,r,o]=this.splitTokensOnUnicode(e):[i,r,o]=this.splitTokensOnSpaces(e),this.mergePunctuations(i,r,o,s,n)}decode(e,t){let s;return t&&t.decode_with_timestamps?(e instanceof o.es&&(e=d(e)),s=this.decodeWithTimestamps(e,t)):s=super.decode(e,t),s}decodeWithTimestamps(e,t){let s=t?.time_precision??.02,n=Array.from(this.all_special_ids).at(-1)+1,i=[[]];for(let t of e)if(t>=n){let e=(0,r.NM)((t-n)*s,2);i.push(`<|${e}|>`),i.push([])}else i[i.length-1].push(t);return(i=i.map(e=>"string"==typeof e?e:super.decode(e,t))).join("")}splitTokensOnUnicode(e){let t=this.decode(e,{decode_with_timestamps:!0}),s=[],n=[],i=[],r=[],o=[],a=0;for(let l=0;l<e.length;++l){let c=e[l];r.push(c),o.push(l);let h=this.decode(r,{decode_with_timestamps:!0});h.includes("�")&&"�"!==t[a+h.indexOf("�")]||(s.push(h),n.push(r),i.push(o),r=[],o=[],a+=h.length)}return[s,n,i]}splitTokensOnSpaces(e){let[t,s,n]=this.splitTokensOnUnicode(e),i=[],r=[],o=[],a=RegExp(`^[${f}]$`,"gu");for(let e=0;e<t.length;++e){let l=t[e],c=s[e],h=n[e],u=c[0]>=this.model.tokens_to_ids.get("<|endoftext|>"),d=l.startsWith(" "),_=l.trim(),p=a.test(_);if(u||d||p||0===i.length)i.push(l),r.push(c),o.push(h);else{let e=i.length-1;i[e]+=l,r[e].push(...c),o[e].push(...h)}}return[i,r,o]}mergePunctuations(e,t,s,i,r){let o=structuredClone(e),a=structuredClone(t),l=structuredClone(s),c=o.length-2,h=o.length-1;for(;c>=0;)o[c].startsWith(" ")&&i.includes(o[c].trim())?(o[h]=o[c]+o[h],a[h]=(0,n.eG)(a[c],a[h]),l[h]=(0,n.eG)(l[c],l[h]),o[c]="",a[c]=[],l[c]=[]):h=c,--c;for(c=0,h=1;h<o.length;)!o[c].endsWith(" ")&&r.includes(o[h])?(o[c]+=o[h],a[c]=(0,n.eG)(a[c],a[h]),l[c]=(0,n.eG)(l[c],l[h]),o[h]="",a[h]=[],l[h]=[]):c=h,++h;return[o.filter(e=>e),a.filter(e=>e.length>0),l.filter(e=>e.length>0)]}get_decoder_prompt_ids({language:e=null,task:t=null,no_timestamps:s=!0}={}){let n=[];if(e){e=e.toLowerCase();let t=eK.get(e);if(void 0===t){if(eY.has(e))t=e;else{let t=2===e.length?eY.keys():eY.values();throw Error(`Language "${e}" is not supported. Must be one of: ${JSON.stringify(t)}`)}}let s=this.model.tokens_to_ids.get(`<|${t}|>`);if(void 0===s)throw Error(`Unable to find language "${t}" in model vocabulary. Please report this issue at https://github.com/xenova/transformers.js/issues/new/choose.`);n.push(s)}else n.push(null);if(t){if("transcribe"!==(t=t.toLowerCase())&&"translate"!==t)throw Error(`Task "${t}" is not supported. Must be one of: ["transcribe", "translate"]`);let e=this.model.tokens_to_ids.get(`<|${t}|>`);if(void 0===e)throw Error(`Unable to find task "${t}" in model vocabulary. Please report this issue at https://github.com/xenova/transformers.js/issues/new/choose.`);n.push(e)}else n.push(null);if(s){let e=this.model.tokens_to_ids.get("<|notimestamps|>");if(void 0===e)throw Error('Unable to find "<|notimestamps|>" in model vocabulary. Please report this issue at https://github.com/xenova/transformers.js/issues/new/choose.');n.push(e)}return n.map((e,t)=>[t+1,e]).filter(e=>null!==e[1])}}class eV extends ed{}class eH extends ed{}class eJ extends ed{}class eQ extends ed{constructor(e,t){super(e,t),this.languageRegex=/^(>>\w+<<)\s*/g,this.supported_language_codes=this.model.vocab.filter(e=>this.languageRegex.test(e)),console.warn('WARNING: `MarianTokenizer` is not yet supported by Hugging Face\'s "fast" tokenizers library. Therefore, you may experience slightly inaccurate results.')}_encode_text(e){if(null===e)return null;let[t,...s]=e.trim().split(this.languageRegex);if(0===s.length)return super._encode_text(t);if(2===s.length){let[e,t]=s;return this.supported_language_codes.includes(e)||console.warn(`Unsupported language code "${e}" detected, which may lead to unexpected behavior. Should be one of: ${JSON.stringify(this.supported_language_codes)}`),(0,n.eG)([e],super._encode_text(t))}}}class eX extends ed{}class e0 extends ed{_default_chat_template="{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not loop.last %}{{ ' ' }}{% endif %}{% endfor %}{{ eos_token }}"}class e1 extends e0{}class e2 extends ed{}class e3 extends ed{}class e8 extends ed{constructor(e,t){super(e,t),this.decoder=new en({})}}class e7{static TOKENIZER_CLASS_MAPPING={T5Tokenizer:eA,DistilBertTokenizer:eb,CamembertTokenizer:ev,DebertaTokenizer:em,DebertaV2Tokenizer:ek,BertTokenizer:e_,HerbertTokenizer:ex,ConvBertTokenizer:ew,RoFormerTokenizer:ey,XLMTokenizer:ez,ElectraTokenizer:eS,MobileBertTokenizer:ef,SqueezeBertTokenizer:eg,AlbertTokenizer:ep,GPT2Tokenizer:eE,BartTokenizer:eT,MBartTokenizer:eC,MBart50Tokenizer:eM,RobertaTokenizer:eP,WhisperTokenizer:eZ,CodeGenTokenizer:eV,CLIPTokenizer:eH,SiglipTokenizer:eJ,MarianTokenizer:eQ,BloomTokenizer:e$,NllbTokenizer:eB,M2M100Tokenizer:eD,LlamaTokenizer:ej,CodeLlamaTokenizer:eR,XLMRobertaTokenizer:eN,MPNetTokenizer:eF,FalconTokenizer:eL,GPTNeoXTokenizer:eU,EsmTokenizer:eO,Wav2Vec2CTCTokenizer:eX,BlenderbotTokenizer:e0,BlenderbotSmallTokenizer:e1,SpeechT5Tokenizer:e2,NougatTokenizer:e3,VitsTokenizer:e8,Qwen2Tokenizer:eW,GemmaTokenizer:eG,PreTrainedTokenizer:ed};static async from_pretrained(e,{quantized:t=!0,progress_callback:s=null,config:n=null,cache_dir:i=null,local_files_only:r=!1,revision:o="main",legacy:a=null}={}){let[l,h]=await c(e,{quantized:t,progress_callback:s,config:n,cache_dir:i,local_files_only:r,revision:o,legacy:a}),u=h.tokenizer_class?.replace(/Fast$/,"")??"PreTrainedTokenizer",d=this.TOKENIZER_CLASS_MAPPING[u];return d||(console.warn(`Unknown tokenizer class "${u}", attempting to construct from base class.`),d=ed),new d(l,h)}}}}]);
_next/static/chunks/6139e184.961bc22caabc9bfd.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[132],{5227:function(e,s,t){t.d(s,{$Bv:function(){return aR},$Sz:function(){return aE},DcG:function(){return aU},ENH:function(){return aX},En$:function(){return aj},Hqk:function(){return aN},K2m:function(){return aK},Kf0:function(){return aT},LdW:function(){return aQ},OjJ:function(){return aO},S2d:function(){return aH},U$$:function(){return a$},Zn:function(){return aW},hY6:function(){return aJ},hZO:function(){return aD},lbf:function(){return aI},o$X:function(){return aB},t78:function(){return aG},tLj:function(){return az},wiU:function(){return aV},z6E:function(){return aq}});var n=t(3785),a=t(8375),i=t(8577),o=t(3848),r=t(5118),l=t(222),c=t(1008);let{InferenceSession:d,Tensor:_,env:u}=l.ONNX,h={EncoderOnly:0,EncoderDecoder:1,Seq2Seq:2,Vision2Seq:3,DecoderOnly:4,MaskGeneration:5},m=new Map,p=new Map,f=new Map;async function g(e,s,t){let n=`onnx/${s}${t.quantized?"_quantized":""}.onnx`,a=await (0,i.st)(e,n,!0,t);try{return await d.create(a,{executionProviders:l.p})}catch(e){if(1===l.p.length&&"wasm"===l.p[0])throw e;return console.warn(e),console.warn("Something went wrong during model construction (most likely a missing operation). Using `wasm` as a fallback. "),await d.create(a,{executionProviders:["wasm"]})}}async function w(e,s){let t=function(e,s){let t=Object.create(null),n=[];for(let a of e.inputNames){let e=s[a];if(!(e instanceof r.es)){n.push(a);continue}t[a]=u.wasm.proxy?e.clone():e}if(n.length>0)throw Error(`An error occurred during model execution: "Missing the following inputs: ${n.join(", ")}.`);let a=Object.keys(s).length,i=e.inputNames.length;if(a>i){let t=Object.keys(s).filter(s=>!e.inputNames.includes(s));console.warn(`WARNING: Too many inputs were provided (${a} > ${i}). The following inputs will be ignored: "${t.join(", ")}".`)}return t}(e,s);try{let s=await e.run(t);return s=function e(s){for(let t in s)s[t]instanceof _?s[t]=new r.es(s[t]):"object"==typeof s[t]&&e(s[t]);return s}(s)}catch(e){throw console.error(`An error occurred during model execution: "${e}".`),console.error("Inputs given to model:",t),e}}function x(e,s){let t=e.config.pad_token_id??null,n=e.config.eos_token_id??null;(0,a.Wy)(n)&&(n=[n]);let i=-1!==s.indexOf(t),o=null===n||!n.includes(t);if(!i||!o)return(0,r.r6)(s);{let e=BigInt64Array.from(s.data.map(e=>e!=t));return new r.es("int64",e,s.dims)}}function y(e,s,t){if(!e.inputNames.includes("position_ids"))return;let n=new BigInt64Array(s.attention_mask.data.length);for(let e=0;e<s.attention_mask.dims[0];++e){let t=e*s.attention_mask.dims[1],a=BigInt(0);for(let e=0;e<s.attention_mask.dims[1];++e){let i=t+e;0n===s.attention_mask.data[i]?n[i]=BigInt(1):(n[i]=a,a+=s.attention_mask.data[i])}}s.position_ids=new r.es("int64",n,s.attention_mask.dims),t&&(s.position_ids=s.position_ids.slice(null,-1).unsqueeze_(-1))}function M(e){return new r.es("bool",[e],[1])}async function k(e,s){let{encoder_outputs:t,past_key_values:n}=s;t||(t=(await C(e,s)).last_hidden_state);let a={input_ids:s.decoder_input_ids,encoder_hidden_states:t},i=!!n;e.decoder_merged_session.inputNames.includes("use_cache_branch")&&(a.use_cache_branch=M(i)),e.decoder_merged_session.inputNames.includes("encoder_attention_mask")&&(a.encoder_attention_mask=s.attention_mask),y(e.decoder_merged_session,a,i),e.addPastKeyValues(a,n);let o=await w(e.decoder_merged_session,a);return new aZ({logits:o.logits,past_key_values:n=e.getPastKeyValues(o,n),encoder_outputs:t,...e.getAttentions(o)})}function b(e,s,t,n){let a=[],i=0,o=e.requires_attention_mask??!0,l=t.decoder_input_ids??t.decoder_start_token_id??t.bos_token_id??t.eos_token_id;for(let t of(l instanceof r.es?l=l.tolist().flat():Array.isArray(l)||(l=[l]),s)){t.dims=[1,...t.dims];let s={inputs:t,encoder_outputs:null,prev_model_outputs:null,output_token_ids:l,done:!1,score:0,id:i++};o&&(s.attention_mask=x(e,t)),a.push(s)}return a}async function v(e,s){let t=e.main_input_name,n=s.output_token_ids;s.prev_model_outputs&&(n=n.slice(-1));let a={[t]:s.inputs,decoder_input_ids:function(e){if(e instanceof r.es)return e;if(0===e.length)throw Error("items must be non-empty");if(!Array.isArray(e[0]))return new r.es("int64",BigInt64Array.from(e.map(e=>BigInt(e))),[1,e.length]);if(e.some(s=>s.length!==e[0].length))throw Error("Unable to create tensor, you should probably activate truncation and/or padding with 'padding=True' and/or 'truncation=True' to have batched tensors with the same length.");return new r.es("int64",BigInt64Array.from(e.flat().map(e=>BigInt(e))),[e.length,e[0].length])}(n),encoder_outputs:s.encoder_outputs,past_key_values:s.prev_model_outputs?.past_key_values};s.attention_mask&&(a.attention_mask=s.attention_mask);let i=await e.forward(a);return s.prev_model_outputs=i,s.encoder_outputs=i.encoder_outputs,i}function S(e,s){e.output_token_ids=[...e.output_token_ids,s]}async function C(e,s){let t=Object.create(null);for(let n of e.session.inputNames)t[n]=s[n];return e.session.inputNames.includes("token_type_ids")&&!t.token_type_ids&&(t.token_type_ids=new r.es("int64",new BigInt64Array(t.input_ids.data.length),t.input_ids.dims)),await w(e.session,t)}async function F(e,s){let{input_ids:t,past_key_values:n,attention_mask:a}=s,i={input_ids:t,attention_mask:a??x(e,t)},o=!!n;e.session.inputNames.includes("use_cache_branch")&&(i.use_cache_branch=M(o)),y(e.session,i,o),e.addPastKeyValues(i,n);let r=await w(e.session,i);return{logits:r.logits,past_key_values:n=e.getPastKeyValues(r,n)}}function A(e,s,t,n,a){let i=[],o=0;for(let t of s){let s,r=t.tolist().map(Number);t.dims=[1,...t.dims],a?(s=a[o]).dims=[1,...s.dims]:s=x(e,t);let l={input:t,model_input_ids:t,attention_mask:s,prev_model_outputs:null,output_token_ids:r,num_output_tokens:n,done:!1,score:0,id:o++};i.push(l)}return i}async function L(e,s){let t=new BigInt64Array(s.output_token_ids.length).fill(1n),n={input_ids:s.model_input_ids,attention_mask:new r.es("int64",t,[1,t.length]),past_key_values:s.prev_model_outputs?.past_key_values},a=await e.forward(n);return s.prev_model_outputs=a,a}function P(e,s){e.output_token_ids=[...e.output_token_ids,s],e.model_input_ids=new r.es("int64",[BigInt(s)],[1,1])}class E extends a.Ag{main_input_name="input_ids";constructor(e,s){super(),this.config=e,this.session=s;let t=f.get(this.constructor),n=m.get(t);this.can_generate=!1,this._runBeam=null,this._getStartBeams=null,this._updateBeam=null,this._forward=null,n===h.DecoderOnly?(this.can_generate=!0,this._runBeam=L,this._getStartBeams=A,this._updateBeam=P,this._forward=F):n===h.Seq2Seq||n===h.Vision2Seq?(this.can_generate=!0,this._runBeam=v,this._getStartBeams=b,this._updateBeam=S,this._forward=k):(h.EncoderDecoder,this._forward=C)}async dispose(){let e=[];for(let s of Object.keys(this)){let t=this[s];t instanceof d&&e.push(t.handler.dispose())}return await Promise.all(e)}static async from_pretrained(e,{quantized:s=!0,progress_callback:t=null,config:a=null,cache_dir:o=null,local_files_only:r=!1,revision:l="main",model_file_name:c=null}={}){let d,_={quantized:s,progress_callback:t,config:a,cache_dir:o,local_files_only:r,revision:l,model_file_name:c},u=f.get(this),p=m.get(u);return p===h.DecoderOnly?d=await Promise.all([n.z.from_pretrained(e,_),g(e,_.model_file_name??"decoder_model_merged",_),(0,i.yM)(e,"generation_config.json",!1,_)]):p===h.Seq2Seq||p===h.Vision2Seq?d=await Promise.all([n.z.from_pretrained(e,_),g(e,"encoder_model",_),g(e,"decoder_model_merged",_),(0,i.yM)(e,"generation_config.json",!1,_)]):p===h.MaskGeneration?d=await Promise.all([n.z.from_pretrained(e,_),g(e,"vision_encoder",_),g(e,"prompt_encoder_mask_decoder",_)]):p===h.EncoderDecoder?d=await Promise.all([n.z.from_pretrained(e,_),g(e,"encoder_model",_),g(e,"decoder_model_merged",_)]):(p!==h.EncoderOnly&&console.warn(`Model type for '${u??a?.model_type}' not found, assuming encoder-only architecture. Please report this at https://github.com/xenova/transformers.js/issues/new/choose.`),d=await Promise.all([n.z.from_pretrained(e,_),g(e,_.model_file_name??"model",_)])),new this(...d)}async _call(e){return await this.forward(e)}async forward(e){return await this._forward(this,e)}_get_logits_processor(e,s,t=null){let n=new o.Jm;if(null!==e.repetition_penalty&&1!==e.repetition_penalty&&n.push(new o.Jj(e.repetition_penalty)),null!==e.no_repeat_ngram_size&&e.no_repeat_ngram_size>0&&n.push(new o.jF(e.no_repeat_ngram_size)),null!==e.bad_words_ids&&n.push(new o.AE(e.bad_words_ids,e.eos_token_id)),null!==e.min_length&&null!==e.eos_token_id&&e.min_length>0&&n.push(new o.ez(e.min_length,e.eos_token_id)),null!==e.min_new_tokens&&null!==e.eos_token_id&&e.min_new_tokens>0&&n.push(new o.CJ(s,e.min_new_tokens,e.eos_token_id)),null!==e.forced_bos_token_id&&n.push(new o.C9(e.forced_bos_token_id)),null!==e.forced_eos_token_id&&n.push(new o.dZ(e.max_length,e.forced_eos_token_id)),null!==e.begin_suppress_tokens){let t=s>1||null===e.forced_bos_token_id?s:s+1;null!==e.forced_decoder_ids&&(t+=e.forced_decoder_ids[e.forced_decoder_ids.length-1][0]),n.push(new o.GU(e.begin_suppress_tokens,t))}return null!==e.forced_decoder_ids&&n.push(new o.E(e.forced_decoder_ids)),null!==t&&n.extend(t),n}_get_generation_config(e){let s=new o.aP(this.config);return"generation_config"in this&&Object.assign(s,this.generation_config),null!==e&&Object.assign(s,e),s}async generate(e,s=null,t=null,{inputs_attention_mask:n=null}={}){let i;if(!this.can_generate){let e=f.get(this.constructor),s=`The current model class (${e}) is not compatible with \`.generate()\`, as it doesn't have a language model head.`,t=this.config.model_type,n=am.get(t)??ah.get(t)??al.get(t)??ag.get(t);throw n&&(s+=` Please use the following class instead: '${n[0]}'`),Error(s)}if(!(e instanceof r.es)&&!(0,a.fU)(e)&&!Array.isArray(e))throw Error(`\`inputs\` must be a Tensor, TypedArray, or Array, but is "${e.constructor.name}".`);if(this.config.is_encoder_decoder)i=0;else if(0===(i=e instanceof r.es?e.dims.at(-1):e.length))throw Error("Must supply a non-empty array of input token ids.");s=this._get_generation_config(s),t=t??new o.Jm,t=this._get_logits_processor(s,i,t);let l=s.eos_token_id;null===l||Array.isArray(l)||(l=[l]);let c=1,d=1+(s.max_new_tokens??1/0),_=Number.isInteger(s.max_length)&&(s.max_new_tokens??null)===null,u=o.Z4.getSampler(s),h=this.getStartBeams(e,s,c,n);for(;h.some(e=>!e.done)&&c<d;){let e=[];for(let n of h){if(n.done){e.push(n);continue}if(_&&n.output_token_ids.length>=s.max_length){n.done=!0,e.push(n);continue}let a=await this.runBeam(n);s.output_attentions&&this.addAttentionsToBeam(n,a),s.output_scores;let i=a.logits.slice(null,-1,null);for(let[s,a]of(t(n.output_token_ids,i),u(i))){let t={...n};this.updateBeam(t,s),t.score+=a,l&&l.includes(s)&&(t.done=!0),e.push(t)}}++c,h=(e=this.groupBeams(e).map(e=>e.sort((e,s)=>s.score-e.score).slice(0,s.num_beams))).flat(),s.callback_function&&s.callback_function(h)}let m=this.groupBeams(h),p=e=>m.map(t=>s.num_return_sequences>1?t.slice(0,s.num_return_sequences).map(s=>s[e]):[t[0][e]]).flat(),g=p("output_token_ids");return s.return_dict_in_generate?{sequences:g,decoder_attentions:p("decoder_attentions"),cross_attentions:p("cross_attentions")}:g}addAttentionsToBeam(e,s){if(this.config.is_encoder_decoder){if(!s.cross_attentions||0===s.cross_attentions.length)throw Error("`output_attentions` is true, but the model did not produce cross-attentions. This is most likely because the model was not exported with `output_attentions=True`.");e.cross_attentions||(e.cross_attentions=[]),e.cross_attentions.push(s.cross_attentions)}if(!s.decoder_attentions||0===s.decoder_attentions.length)throw Error("`output_attentions` is true, but the model did not produce decoder-attentions. This is most likely because the model was not exported with `output_attentions=True`.");e.decoder_attentions||(e.decoder_attentions=[]),e.decoder_attentions.push(s.decoder_attentions)}groupBeams(e){let s=Object.create(null);for(let t of e)void 0===s[t.id]?s[t.id]=[t]:s[t.id].push(t);return Object.values(s)}getPastKeyValues(e,s){let t=Object.create(null);for(let n in e)if(n.startsWith("present")){let a=n.replace("present","past_key_values");s&&n.includes("encoder")?t[a]=s[a]:t[a]=e[n]}return t}getAttentions(e){let s=Object.create(null);for(let t of["cross_attentions","decoder_attentions"]){let n=[];for(let s in e)s.startsWith(t)&&(n[s.split(".").pop()]=e[s]);s[t]=n}return s}addPastKeyValues(e,s){if(s)Object.assign(e,s);else if(this.config.is_encoder_decoder&&(this.add_encoder_pkv??!0)){let s=[1,this.num_encoder_heads,0,this.encoder_dim_kv],t=[1,this.num_decoder_heads,0,this.decoder_dim_kv];for(let n=0;n<this.num_decoder_layers;++n)e[`past_key_values.${n}.encoder.key`]=new r.es("float32",[],s),e[`past_key_values.${n}.encoder.value`]=new r.es("float32",[],s),e[`past_key_values.${n}.decoder.key`]=new r.es("float32",[],t),e[`past_key_values.${n}.decoder.value`]=new r.es("float32",[],t)}else if("falcon"===this.config.model_type){let s=[1*this.num_heads,0,this.dim_kv];for(let t=0;t<this.num_layers;++t)e[`past_key_values.${t}.key`]=new r.es("float32",[],s),e[`past_key_values.${t}.value`]=new r.es("float32",[],s)}else if(this.config.multi_query){let s=[1*this.num_heads,0,2*this.dim_kv];for(let t=0;t<this.num_layers;++t)e[`past_key_values.${t}.key_value`]=new r.es("float32",[],s)}else if("bloom"===this.config.model_type){let s=[1*this.num_heads,this.dim_kv,0],t=[1*this.num_heads,0,this.dim_kv];for(let n=0;n<this.num_layers;++n)e[`past_key_values.${n}.key`]=new r.es("float32",[],s),e[`past_key_values.${n}.value`]=new r.es("float32",[],t)}else{let s=[1,this.num_heads,0,this.dim_kv];for(let t=0;t<this.num_layers;++t)e[`past_key_values.${t}.key`]=new r.es("float32",[],s),e[`past_key_values.${t}.value`]=new r.es("float32",[],s)}}getStartBeams(e,s,t,n){return this._getStartBeams(this,e,s,t,n)}async runBeam(e){return await this._runBeam(this,e)}updateBeam(e,s){return this._updateBeam(e,s)}}class B{}class O extends E{}class T extends O{}class D extends O{async _call(e){return new a0(await super._call(e))}}class I extends O{async _call(e){return new aY(await super._call(e))}}class q extends O{async _call(e){return new a2(await super._call(e))}}class N extends O{async _call(e){return new a1(await super._call(e))}}class G extends E{}class V extends G{}class z extends E{}class j extends z{}class $ extends z{async _call(e){return new a0(await super._call(e))}}class R extends z{async _call(e){return new aY(await super._call(e))}}class W extends z{async _call(e){return new a2(await super._call(e))}}class Q extends z{async _call(e){return new a1(await super._call(e))}}class X extends E{}class K extends X{}class U extends X{async _call(e){return new a0(await super._call(e))}}class H extends X{async _call(e){return new aY(await super._call(e))}}class J extends X{async _call(e){return new a2(await super._call(e))}}class Z extends X{async _call(e){return new a1(await super._call(e))}}class Y extends E{}class ee extends Y{}class es extends Y{async _call(e){return new a0(await super._call(e))}}class et extends Y{async _call(e){return new aY(await super._call(e))}}class en extends Y{async _call(e){return new a2(await super._call(e))}}class ea extends Y{async _call(e){return new a1(await super._call(e))}}class ei extends E{}class eo extends ei{}class er extends ei{async _call(e){return new a0(await super._call(e))}}class el extends ei{async _call(e){return new aY(await super._call(e))}}class ec extends ei{async _call(e){return new a2(await super._call(e))}}class ed extends ei{async _call(e){return new a1(await super._call(e))}}class e_ extends E{}class eu extends e_{}class eh extends e_{async _call(e){return new a0(await super._call(e))}}class em extends e_{async _call(e){return new aY(await super._call(e))}}class ep extends e_{async _call(e){return new a2(await super._call(e))}}class ef extends e_{async _call(e){return new a1(await super._call(e))}}class eg extends E{}class ew extends eg{}class ex extends eg{async _call(e){return new a0(await super._call(e))}}class ey extends eg{async _call(e){return new aY(await super._call(e))}}class eM extends eg{async _call(e){return new a2(await super._call(e))}}class ek extends eg{async _call(e){return new a1(await super._call(e))}}class eb extends E{}class ev extends eb{}class eS extends eb{async _call(e){return new aY(await super._call(e))}}class eC extends eb{async _call(e){return new a2(await super._call(e))}}class eF extends eb{async _call(e){return new a1(await super._call(e))}}class eA extends eb{async _call(e){return new a0(await super._call(e))}}class eL extends E{}class eP extends eL{}class eE extends eL{async _call(e){return new a0(await super._call(e))}}class eB extends eL{async _call(e){return new aY(await super._call(e))}}class eO extends eL{async _call(e){return new a2(await super._call(e))}}class eT extends E{}class eD extends eT{}class eI extends eT{async _call(e){return new a0(await super._call(e))}}class eq extends eT{async _call(e){return new aY(await super._call(e))}}class eN extends eT{async _call(e){return new a1(await super._call(e))}}class eG extends E{}class eV extends eG{}class ez extends eG{async _call(e){return new a0(await super._call(e))}}class ej extends eG{async _call(e){return new aY(await super._call(e))}}class e$ extends eG{async _call(e){return new a2(await super._call(e))}}class eR extends eG{async _call(e){return new a1(await super._call(e))}}class eW extends E{}class eQ extends eW{}class eX extends eW{async _call(e){return new a0(await super._call(e))}}class eK extends eW{async _call(e){return new aY(await super._call(e))}}class eU extends eW{async _call(e){return new a1(await super._call(e))}}class eH extends E{}class eJ extends eH{}class eZ extends eH{async _call(e){return new aY(await super._call(e))}}class eY extends eH{async _call(e){return new a1(await super._call(e))}}class e2 extends eH{async _call(e){return new a0(await super._call(e))}}class e0 extends E{}class e1 extends e0{}class e3 extends e0{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.num_decoder_layers,this.num_decoder_heads=this.config.num_heads,this.decoder_dim_kv=this.config.d_kv,this.num_encoder_layers=this.config.num_layers,this.num_encoder_heads=this.config.num_heads,this.encoder_dim_kv=this.config.d_kv}}class e5 extends E{}class e4 extends e5{}class e6 extends e5{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.num_decoder_layers,this.num_decoder_heads=this.config.num_heads,this.decoder_dim_kv=this.config.d_kv,this.num_encoder_layers=this.config.num_layers,this.num_encoder_heads=this.config.num_heads,this.encoder_dim_kv=this.config.d_kv}}class e8 extends E{}class e7 extends e8{}class e9 extends e8{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.num_decoder_layers,this.num_decoder_heads=this.config.num_heads,this.decoder_dim_kv=this.config.d_kv,this.num_encoder_layers=this.config.num_layers,this.num_encoder_heads=this.config.num_heads,this.encoder_dim_kv=this.config.d_kv}}class se extends E{}class ss extends se{}class st extends se{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class sn extends se{async _call(e){return new aY(await super._call(e))}}class sa extends E{}class si extends sa{}class so extends sa{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class sr extends sa{async _call(e){return new aY(await super._call(e))}}class sl extends sa{constructor(e,s,t){super(e,s),this.generation_config=t,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class sc extends E{}class sd extends sc{}class s_ extends sc{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class su extends E{}class sh extends su{}class sm extends su{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class sp extends E{}class sf extends sp{}class sg extends sp{async _call(e){return new a0(await super._call(e))}}class sw extends sp{async _call(e){return new aY(await super._call(e))}}class sx extends sp{async _call(e){return new a2(await super._call(e))}}class sy extends sp{async _call(e){return new a1(await super._call(e))}}class sM extends E{}class sk extends sM{}class sb extends sM{async _call(e){return new a0(await super._call(e))}}class sv extends sM{async _call(e){return new aY(await super._call(e))}}class sS extends sM{async _call(e){return new a2(await super._call(e))}}class sC extends sM{async _call(e){return new a1(await super._call(e))}}class sF extends E{}class sA extends sF{}class sL extends sF{async _call(e){return new a0(await super._call(e))}}class sP extends sF{async _call(e){return new aY(await super._call(e))}}class sE extends sF{async _call(e){return new a2(await super._call(e))}}class sB extends sF{async _call(e){return new a1(await super._call(e))}}class sO extends E{}class sT extends sO{}class sD extends sO{}class sI extends E{}class sq extends sI{}class sN extends sI{requires_attention_mask=!1;main_input_name="input_features";constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}async generate(e,s=null,t=null){if(s=this._get_generation_config(s),s.return_timestamps??=!1,s.return_timestamps&&(t=[new o.Pg(s)]),s.return_token_timestamps&&(s.output_attentions=!0,s.return_dict_in_generate=!0,"translate"===s.task&&console.warn("Token-level timestamps may not be reliable for task 'translate'."),!s.alignment_heads))throw Error("Model generation config has no `alignment_heads`, token-level timestamps not available. See https://gist.github.com/hollance/42e32852f24243b748ae6bc1f985b13a on how to add this property to the generation config.");let n=await super.generate(e,s,t);return s.return_token_timestamps&&s.alignment_heads&&(n.token_timestamps=this._extract_token_timestamps(n,s.alignment_heads,s.num_frames)),n}_extract_token_timestamps(e,s,t=null,n=.02){if(!e.cross_attentions)throw Error("Model outputs must contain cross attentions to extract timestamps. This is most likely because the model was not exported with `output_attentions=True`.");let i=this.config.median_filter_width;void 0===i&&(console.warn("Model config has no `median_filter_width`, using default value of 7."),i=7);let o=e.cross_attentions.map(e=>{let n=Array.from({length:this.config.decoder_layers},(s,t)=>(0,r.d3)(e.map(e=>e[t]),2)),a=(0,r.kn)(s.map(([e,s])=>t?n[e].slice(null,s,null,[0,t]):n[e].slice(null,s)));a=a.transpose(1,0,2,3);let[o,l]=(0,r.f3)(a,-2,0,!0),d=a.clone();for(let e=0;e<d.dims[0];++e){let s=d[e];for(let t=0;t<s.dims[0];++t){let n=s[t],a=o[e][t][0],r=l[e][t][0];for(let e=0;e<n.dims[0];++e){let s=n[e];for(let e=0;e<s.data.length;++e)s.data[e]=(s.data[e]-r.data[e])/a.data[e];s.data.set((0,c.qCb)(s.data,i))}}}return(0,r.J6)(d,1)}),l=[e.sequences.length,e.sequences[0].length],d=new r.es("float32",new Float32Array(l[0]*l[1]),l);for(let e=0;e<l[0];++e){let s=o[e].neg().squeeze_(0),[t,i]=(0,r.Ks)(s),l=Array.from({length:t.length-1},(e,s)=>t[s+1]-t[s]),c=(0,a.eG)([1],l).map(e=>!!e),_=[];for(let e=0;e<c.length;++e)c[e]&&_.push(i[e]*n);d[e].data.set(_,1)}return d}}class sG extends E{main_input_name="pixel_values";constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n;let a=this.config.encoder,i=this.config.decoder,o=a.model_type;(ai.get(o)??ao.get(o))||console.warn(`Model type for encoder '${o}' not found, assuming encoder-only architecture. Please report this at https://github.com/xenova/transformers.js/issues/new/choose.`);let r=am.get(i.model_type);if(!r)throw Error(`Unable to construct \`VisionEncoderDecoder\` due to unsupported decoder: "${this.config.decoder.model_type}"`);let l=new r[1](i,t,n);this.add_encoder_pkv="num_decoder_layers"in l,this.add_encoder_pkv?(this.num_decoder_layers=l.num_decoder_layers,this.num_decoder_heads=l.num_decoder_heads,this.decoder_dim_kv=l.decoder_dim_kv,this.num_encoder_layers=l.num_encoder_layers,this.num_encoder_heads=l.num_encoder_heads,this.encoder_dim_kv=l.encoder_dim_kv):(this.num_layers=l.num_layers,this.num_heads=l.num_heads,this.dim_kv=l.dim_kv)}}class sV extends E{}class sz extends sV{}class sj extends sV{static async from_pretrained(e,s={}){return s.model_file_name??="text_model",super.from_pretrained(e,s)}}class s$ extends sV{static async from_pretrained(e,s={}){return s.model_file_name??="vision_model",super.from_pretrained(e,s)}}class sR extends E{}class sW extends sR{}class sQ extends sR{static async from_pretrained(e,s={}){return s.model_file_name??="text_model",super.from_pretrained(e,s)}}class sX extends sV{static async from_pretrained(e,s={}){return s.model_file_name??="vision_model",super.from_pretrained(e,s)}}class sK extends E{}class sU extends sK{}class sH extends E{}class sJ extends sH{}class sZ extends sH{}class sY extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_head,this.num_layers=this.config.n_layer,this.dim_kv=this.config.n_embd/this.num_heads}}class s2 extends sY{}class s0 extends sY{}class s1 extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_heads,this.num_layers=this.config.num_layers,this.dim_kv=this.config.hidden_size/this.num_heads}}class s3 extends s1{}class s5 extends s1{}class s4 extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.num_heads}}class s6 extends s4{}class s8 extends s4{}class s7 extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_head,this.num_layers=this.config.n_layer,this.dim_kv=this.config.n_embd/this.num_heads}}class s9 extends s7{}class te extends s7{}class ts extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_head,this.num_layers=this.config.n_layer,this.dim_kv=this.config.n_embd/this.num_heads}}class tt extends ts{}class tn extends ts{}class ta extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_head,this.num_layers=this.config.n_layer,this.dim_kv=this.config.n_embd/this.num_heads}}class ti extends ta{}class to extends ta{}class tr extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_key_value_heads??this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.config.num_attention_heads}}class tl extends tr{}class tc extends tr{}class td extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_key_value_heads??this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.config.num_attention_heads}}class t_ extends td{}class tu extends td{}class th extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.num_heads}}class tm extends th{}class tp extends th{}class tf extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_head,this.num_layers=this.config.n_layer,this.dim_kv=this.config.hidden_size/this.num_heads}}class tg extends tf{}class tw extends tf{}class tx extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.n_heads,this.num_layers=this.config.n_layers,this.dim_kv=this.config.d_model/this.num_heads}}class ty extends tx{}class tM extends tx{}class tk extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.num_heads}}class tb extends tk{}class tv extends tk{}class tS extends E{}class tC extends tS{}class tF extends tS{async _call(e){return new aY(await super._call(e))}}class tA extends E{}class tL extends tA{async _call(e){return new a5(await super._call(e))}}class tP extends E{}class tE extends tP{}class tB extends tP{async _call(e){return new aY(await super._call(e))}}class tO extends E{}class tT extends tO{}class tD extends tO{}class tI extends E{}class tq extends tI{}class tN extends tI{}class tG extends E{}class tV extends tG{}class tz extends tG{async _call(e){return new aY(await super._call(e))}}class tj extends E{}class t$ extends tj{}class tR extends tj{async _call(e){return new tQ(await super._call(e))}}class tW extends tj{async _call(e){return new tX(await super._call(e))}}class tQ extends B{constructor({logits:e,pred_boxes:s}){super(),this.logits=e,this.pred_boxes=s}}class tX extends B{constructor({logits:e,pred_boxes:s,pred_masks:t}){super(),this.logits=e,this.pred_boxes=s,this.pred_masks=t}}class tK extends E{}class tU extends tK{}class tH extends tK{async _call(e){return new tJ(await super._call(e))}}class tJ extends tQ{}class tZ extends E{}class tY extends tZ{}class t2 extends tZ{async _call(e){return new aY(await super._call(e))}}class t0 extends E{}class t1 extends t0{}class t3 extends t0{async _call(e){return new aY(await super._call(e))}}class t5 extends E{}class t4 extends t5{}class t6 extends t5{async _call(e){return new aY(await super._call(e))}}class t8 extends E{}class t7 extends t8{}class t9 extends t8{}class ne extends E{}class ns extends ne{}class nt extends ne{}class nn extends E{}class na extends nn{}class ni extends E{}class no extends ni{}class nr extends ni{}class nl extends E{}class nc extends nl{}class nd extends E{}class n_ extends nd{}class nu extends nd{async _call(e){return new aY(await super._call(e))}}class nh extends E{}class nm extends nh{}class np extends nh{async _call(e){return new aY(await super._call(e))}}class nf extends E{}class ng extends nf{}class nw extends nf{async _call(e){return new aY(await super._call(e))}}class nx extends E{}class ny extends nx{}class nM extends nx{async _call(e){return new nk(await super._call(e))}}class nk extends B{constructor({logits:e,pred_boxes:s}){super(),this.logits=e,this.pred_boxes=s}}class nb extends E{}class nv extends nb{constructor(e,s,t){super(e,s),this.prompt_encoder_mask_decoder=t}async get_image_embeddings({pixel_values:e}){return await C(this,{pixel_values:e})}async forward(e){if(e.image_embeddings&&e.image_positional_embeddings||(e={...e,...await this.get_image_embeddings(e)}),!e.input_labels){let s=e.input_points.dims.slice(0,-1),t=s.reduce((e,s)=>e*s,1);e.input_labels=new r.es("int64",new BigInt64Array(t).fill(1n),s)}return await w(this.prompt_encoder_mask_decoder,{input_points:e.input_points,input_labels:e.input_labels,image_embeddings:e.image_embeddings,image_positional_embeddings:e.image_positional_embeddings})}async _call(e){return new nS(await super._call(e))}}class nS extends B{constructor({iou_scores:e,pred_masks:s}){super(),this.iou_scores=e,this.pred_masks=s}}class nC extends E{}class nF extends nC{}class nA extends nC{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class nL extends E{}class nP extends nL{}class nE extends nL{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.d_model/this.num_encoder_heads}}class nB extends E{}class nO extends nB{}class nT extends nB{async _call(e){return new a3(await super._call(e))}}class nD extends nB{async _call(e){return new aY(await super._call(e))}}class nI extends E{}class nq extends nI{}class nN extends nI{async _call(e){return new a3(await super._call(e))}}class nG extends nI{async _call(e){return new aY(await super._call(e))}}class nV extends nB{}class nz extends nB{async _call(e){return new a3(await super._call(e))}}class nj extends nB{async _call(e){return new aY(await super._call(e))}}class n$ extends E{}class nR extends n${}class nW extends n${async _call(e){return new a3(await super._call(e))}}class nQ extends n${async _call(e){return new aY(await super._call(e))}}class nX extends E{}class nK extends nX{}class nU extends nX{constructor(e,s,t,n){super(e,s),this.decoder_merged_session=t,this.generation_config=n,this.num_decoder_layers=this.config.decoder_layers,this.num_decoder_heads=this.config.decoder_attention_heads,this.decoder_dim_kv=this.config.hidden_size/this.num_decoder_heads,this.num_encoder_layers=this.config.encoder_layers,this.num_encoder_heads=this.config.encoder_attention_heads,this.encoder_dim_kv=this.config.hidden_size/this.num_encoder_heads}async generate_speech(e,s,{threshold:t=.5,minlenratio:n=0,maxlenratio:a=20,vocoder:i=null}={}){let{encoder_outputs:o,encoder_attention_mask:l}=await C(this,{input_ids:e}),c=o.dims[1]/this.config.reduction_factor,d=Math.floor(c*a),_=Math.floor(c*n),u=this.config.num_mel_bins,h=[],m=null,p=null,f=0;for(;;){++f;let e={use_cache_branch:M(!!p),output_sequence:p?p.output_sequence_out:new r.es("float32",new Float32Array(u),[1,1,u]),encoder_attention_mask:l,speaker_embeddings:s,encoder_hidden_states:o};this.addPastKeyValues(e,m),p=await w(this.decoder_merged_session,e),m=this.getPastKeyValues(p,m);let{prob:n,spectrum:a}=p;if(h.push(a),f>=_&&(Array.from(n.data).filter(e=>e>=t).length>0||f>=d))break}let g=(0,r.d3)(h),{waveform:x}=await w(i.session,{spectrogram:g});return{spectrogram:g,waveform:x}}}class nH extends E{main_input_name="spectrogram"}class nJ extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_encoder_layers=this.num_decoder_layers=this.config.decoder_layers,this.num_encoder_heads=this.num_decoder_heads=this.config.decoder_attention_heads,this.encoder_dim_kv=this.decoder_dim_kv=this.config.d_model/this.num_decoder_heads}}class nZ extends nJ{}class nY extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_key_value_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.config.num_attention_heads}}class n2 extends nY{}class n0 extends nY{}class n1 extends E{constructor(e,s,t){super(e,s),this.generation_config=t,this.config.pad_token_id=this.config.eos_token_id,this.num_heads=this.config.num_attention_heads,this.num_layers=this.config.num_hidden_layers,this.dim_kv=this.config.hidden_size/this.config.num_attention_heads}}class n3 extends n1{}class n5 extends n1{}class n4 extends E{}class n6 extends n4{}class n8 extends n4{static async from_pretrained(e,s={}){return s.model_file_name??="text_model",super.from_pretrained(e,s)}}class n7 extends n4{static async from_pretrained(e,s={}){return s.model_file_name??="audio_model",super.from_pretrained(e,s)}}class n9 extends E{}class ae extends n9{async _call(e){return new a4(await super._call(e))}}class as extends E{}class at extends as{}class an extends as{}class aa{static MODEL_CLASS_MAPPINGS=null;static BASE_IF_FAIL=!1;static async from_pretrained(e,{quantized:s=!0,progress_callback:t=null,config:a=null,cache_dir:i=null,local_files_only:o=!1,revision:r="main",model_file_name:l=null}={}){let c={quantized:s,progress_callback:t,config:a,cache_dir:i,local_files_only:o,revision:r,model_file_name:l};if(a=await n.z.from_pretrained(e,c),c.config||(c.config=a),!this.MODEL_CLASS_MAPPINGS)throw Error("`MODEL_CLASS_MAPPINGS` not implemented for this type of `AutoClass`: "+this.name);for(let s of this.MODEL_CLASS_MAPPINGS){let t=s.get(a.model_type);if(t)return await t[1].from_pretrained(e,c)}if(this.BASE_IF_FAIL)return console.warn(`Unknown model class "${a.model_type}", attempting to construct from base class.`),await E.from_pretrained(e,c);throw Error(`Unsupported model type: ${a.model_type}`)}}let ai=new Map([["bert",["BertModel",T]],["nomic_bert",["NomicBertModel",V]],["roformer",["RoFormerModel",j]],["electra",["ElectraModel",ee]],["esm",["EsmModel",eP]],["convbert",["ConvBertModel",K]],["camembert",["CamembertModel",eo]],["deberta",["DebertaModel",eu]],["deberta-v2",["DebertaV2Model",ew]],["mpnet",["MPNetModel",eV]],["albert",["AlbertModel",eJ]],["distilbert",["DistilBertModel",ev]],["roberta",["RobertaModel",sf]],["xlm",["XLMModel",sk]],["xlm-roberta",["XLMRobertaModel",sA]],["clap",["ClapModel",n6]],["clip",["CLIPModel",sz]],["clipseg",["CLIPSegModel",sJ]],["chinese_clip",["ChineseCLIPModel",sU]],["siglip",["SiglipModel",sW]],["mobilebert",["MobileBertModel",eD]],["squeezebert",["SqueezeBertModel",eQ]],["wav2vec2",["Wav2Vec2Model",nO]],["wav2vec2-bert",["Wav2Vec2BertModel",nq]],["hubert",["HubertModel",nV]],["wavlm",["WavLMModel",nR]],["audio-spectrogram-transformer",["ASTModel",sT]],["vits",["VitsModel",ae]],["detr",["DetrModel",t$]],["table-transformer",["TableTransformerModel",tU]],["vit",["ViTModel",tC]],["mobilevit",["MobileViTModel",tE]],["owlvit",["OwlViTModel",tT]],["owlv2",["Owlv2Model",tq]],["beit",["BeitModel",tV]],["deit",["DeiTModel",tY]],["convnext",["ConvNextModel",n_]],["convnextv2",["ConvNextV2Model",nm]],["dinov2",["Dinov2Model",ng]],["resnet",["ResNetModel",t1]],["swin",["SwinModel",t4]],["swin2sr",["Swin2SRModel",t7]],["donut-swin",["DonutSwinModel",nc]],["yolos",["YolosModel",ny]],["dpt",["DPTModel",ns]],["glpn",["GLPNModel",no]],["hifigan",["SpeechT5HifiGan",nH]]]),ao=new Map([["t5",["T5Model",e1]],["longt5",["LongT5Model",e4]],["mt5",["MT5Model",e7]],["bart",["BartModel",ss]],["mbart",["MBartModel",si]],["marian",["MarianModel",nF]],["whisper",["WhisperModel",sq]],["m2m_100",["M2M100Model",nP]],["blenderbot",["BlenderbotModel",sd]],["blenderbot-small",["BlenderbotSmallModel",sh]]]),ar=new Map([["bloom",["BloomModel",tg]],["gpt2",["GPT2Model",s2]],["gptj",["GPTJModel",s9]],["gpt_bigcode",["GPTBigCodeModel",tt]],["gpt_neo",["GPTNeoModel",s3]],["gpt_neox",["GPTNeoXModel",s6]],["codegen",["CodeGenModel",ti]],["llama",["LlamaModel",tl]],["qwen2",["Qwen2Model",t_]],["phi",["PhiModel",tm]],["mpt",["MptModel",ty]],["opt",["OPTModel",tb]],["mistral",["MistralModel",n2]],["falcon",["FalconModel",n3]]]),al=new Map([["speecht5",["SpeechT5ForSpeechToText",nK]],["whisper",["WhisperForConditionalGeneration",sN]]]),ac=new Map([["speecht5",["SpeechT5ForTextToSpeech",nU]]]),ad=new Map([["vits",["VitsModel",ae]]]),a_=new Map([["bert",["BertForSequenceClassification",I]],["roformer",["RoFormerForSequenceClassification",R]],["electra",["ElectraForSequenceClassification",et]],["esm",["EsmForSequenceClassification",eB]],["convbert",["ConvBertForSequenceClassification",H]],["camembert",["CamembertForSequenceClassification",el]],["deberta",["DebertaForSequenceClassification",em]],["deberta-v2",["DebertaV2ForSequenceClassification",ey]],["mpnet",["MPNetForSequenceClassification",ej]],["albert",["AlbertForSequenceClassification",eZ]],["distilbert",["DistilBertForSequenceClassification",eS]],["roberta",["RobertaForSequenceClassification",sw]],["xlm",["XLMForSequenceClassification",sv]],["xlm-roberta",["XLMRobertaForSequenceClassification",sP]],["bart",["BartForSequenceClassification",sn]],["mbart",["MBartForSequenceClassification",sr]],["mobilebert",["MobileBertForSequenceClassification",eq]],["squeezebert",["SqueezeBertForSequenceClassification",eK]]]),au=new Map([["bert",["BertForTokenClassification",q]],["roformer",["RoFormerForTokenClassification",W]],["electra",["ElectraForTokenClassification",en]],["esm",["EsmForTokenClassification",eO]],["convbert",["ConvBertForTokenClassification",J]],["camembert",["CamembertForTokenClassification",ec]],["deberta",["DebertaForTokenClassification",ep]],["deberta-v2",["DebertaV2ForTokenClassification",eM]],["mpnet",["MPNetForTokenClassification",e$]],["distilbert",["DistilBertForTokenClassification",eC]],["roberta",["RobertaForTokenClassification",sx]],["xlm",["XLMForTokenClassification",sS]],["xlm-roberta",["XLMRobertaForTokenClassification",sE]]]),ah=new Map([["t5",["T5ForConditionalGeneration",e3]],["longt5",["LongT5ForConditionalGeneration",e6]],["mt5",["MT5ForConditionalGeneration",e9]],["bart",["BartForConditionalGeneration",st]],["mbart",["MBartForConditionalGeneration",so]],["marian",["MarianMTModel",nA]],["m2m_100",["M2M100ForConditionalGeneration",nE]],["blenderbot",["BlenderbotForConditionalGeneration",s_]],["blenderbot-small",["BlenderbotSmallForConditionalGeneration",sm]]]),am=new Map([["bloom",["BloomForCausalLM",tw]],["gpt2",["GPT2LMHeadModel",s0]],["gptj",["GPTJForCausalLM",te]],["gpt_bigcode",["GPTBigCodeForCausalLM",tn]],["gpt_neo",["GPTNeoForCausalLM",s5]],["gpt_neox",["GPTNeoXForCausalLM",s8]],["codegen",["CodeGenForCausalLM",to]],["llama",["LlamaForCausalLM",tc]],["qwen2",["Qwen2ForCausalLM",tu]],["phi",["PhiForCausalLM",tp]],["mpt",["MptForCausalLM",tM]],["opt",["OPTForCausalLM",tv]],["mbart",["MBartForCausalLM",sl]],["mistral",["MistralForCausalLM",n0]],["falcon",["FalconForCausalLM",n5]],["trocr",["TrOCRForCausalLM",nZ]]]),ap=new Map([["bert",["BertForMaskedLM",D]],["roformer",["RoFormerForMaskedLM",$]],["electra",["ElectraForMaskedLM",es]],["esm",["EsmForMaskedLM",eE]],["convbert",["ConvBertForMaskedLM",U]],["camembert",["CamembertForMaskedLM",er]],["deberta",["DebertaForMaskedLM",eh]],["deberta-v2",["DebertaV2ForMaskedLM",ex]],["mpnet",["MPNetForMaskedLM",ez]],["albert",["AlbertForMaskedLM",e2]],["distilbert",["DistilBertForMaskedLM",eA]],["roberta",["RobertaForMaskedLM",sg]],["xlm",["XLMWithLMHeadModel",sb]],["xlm-roberta",["XLMRobertaForMaskedLM",sL]],["mobilebert",["MobileBertForMaskedLM",eI]],["squeezebert",["SqueezeBertForMaskedLM",eX]]]),af=new Map([["bert",["BertForQuestionAnswering",N]],["roformer",["RoFormerForQuestionAnswering",Q]],["electra",["ElectraForQuestionAnswering",ea]],["convbert",["ConvBertForQuestionAnswering",Z]],["camembert",["CamembertForQuestionAnswering",ed]],["deberta",["DebertaForQuestionAnswering",ef]],["deberta-v2",["DebertaV2ForQuestionAnswering",ek]],["mpnet",["MPNetForQuestionAnswering",eR]],["albert",["AlbertForQuestionAnswering",eY]],["distilbert",["DistilBertForQuestionAnswering",eF]],["roberta",["RobertaForQuestionAnswering",sy]],["xlm",["XLMForQuestionAnswering",sC]],["xlm-roberta",["XLMRobertaForQuestionAnswering",sB]],["mobilebert",["MobileBertForQuestionAnswering",eN]],["squeezebert",["SqueezeBertForQuestionAnswering",eU]]]),ag=new Map([["vision-encoder-decoder",["VisionEncoderDecoderModel",sG]]]),aw=new Map([["vision-encoder-decoder",["VisionEncoderDecoderModel",sG]]]),ax=new Map([["vit",["ViTForImageClassification",tF]],["mobilevit",["MobileViTForImageClassification",tB]],["beit",["BeitForImageClassification",tz]],["deit",["DeiTForImageClassification",t2]],["convnext",["ConvNextForImageClassification",nu]],["convnextv2",["ConvNextV2ForImageClassification",np]],["dinov2",["Dinov2ForImageClassification",nw]],["resnet",["ResNetForImageClassification",t3]],["swin",["SwinForImageClassification",t6]],["segformer",["SegformerForImageClassification",at]]]),ay=new Map([["detr",["DetrForObjectDetection",tR]],["table-transformer",["TableTransformerForObjectDetection",tH]],["yolos",["YolosForObjectDetection",nM]]]),aM=new Map([["owlvit",["OwlViTForObjectDetection",tD]],["owlv2",["Owlv2ForObjectDetection",tN]]]),ak=new Map([["detr",["DetrForSegmentation",tW]],["clipseg",["CLIPSegForImageSegmentation",sZ]]]),ab=new Map([["segformer",["SegformerForSemanticSegmentation",an]]]),av=new Map([["sam",["SamModel",nv]]]),aS=new Map([["wav2vec2",["Wav2Vec2ForCTC",nT]],["wav2vec2-bert",["Wav2Vec2BertForCTC",nN]],["wavlm",["WavLMForCTC",nW]],["hubert",["HubertForCTC",nz]]]),aC=new Map([["wav2vec2",["Wav2Vec2ForSequenceClassification",nD]],["wav2vec2-bert",["Wav2Vec2BertForSequenceClassification",nG]],["wavlm",["WavLMForSequenceClassification",nQ]],["hubert",["HubertForSequenceClassification",nj]],["audio-spectrogram-transformer",["ASTForAudioClassification",sD]]]),aF=new Map([["vitmatte",["VitMatteForImageMatting",tL]]]),aA=new Map([["swin2sr",["Swin2SRForImageSuperResolution",t9]]]),aL=new Map([["dpt",["DPTForDepthEstimation",nt]],["depth_anything",["DepthAnythingForDepthEstimation",na]],["glpn",["GLPNForDepthEstimation",nr]]]),aP=[[ai,h.EncoderOnly],[ao,h.EncoderDecoder],[ar,h.DecoderOnly],[a_,h.EncoderOnly],[au,h.EncoderOnly],[ah,h.Seq2Seq],[al,h.Seq2Seq],[am,h.DecoderOnly],[ap,h.EncoderOnly],[af,h.EncoderOnly],[ag,h.Vision2Seq],[ax,h.EncoderOnly],[ak,h.EncoderOnly],[ab,h.EncoderOnly],[aF,h.EncoderOnly],[aA,h.EncoderOnly],[aL,h.EncoderOnly],[ay,h.EncoderOnly],[aM,h.EncoderOnly],[av,h.MaskGeneration],[aS,h.EncoderOnly],[aC,h.EncoderOnly],[ac,h.Seq2Seq],[ad,h.EncoderOnly]];for(let[e,s]of aP)for(let[t,n]of e.values())m.set(t,s),f.set(n,t),p.set(t,n);for(let[e,s,t]of[["CLIPTextModelWithProjection",sj,h.EncoderOnly],["CLIPVisionModelWithProjection",s$,h.EncoderOnly],["SiglipTextModel",sQ,h.EncoderOnly],["SiglipVisionModel",sX,h.EncoderOnly],["ClapTextModelWithProjection",n8,h.EncoderOnly],["ClapAudioModelWithProjection",n7,h.EncoderOnly]])m.set(e,t),f.set(s,e),p.set(e,s);class aE extends aa{static MODEL_CLASS_MAPPINGS=aP.map(e=>e[0]);static BASE_IF_FAIL=!0}class aB extends aa{static MODEL_CLASS_MAPPINGS=[a_]}class aO extends aa{static MODEL_CLASS_MAPPINGS=[au]}class aT extends aa{static MODEL_CLASS_MAPPINGS=[ah]}class aD extends aa{static MODEL_CLASS_MAPPINGS=[al]}class aI extends aa{static MODEL_CLASS_MAPPINGS=[ac]}class aq extends aa{static MODEL_CLASS_MAPPINGS=[ad]}class aN extends aa{static MODEL_CLASS_MAPPINGS=[am]}class aG extends aa{static MODEL_CLASS_MAPPINGS=[ap]}class aV extends aa{static MODEL_CLASS_MAPPINGS=[af]}class az extends aa{static MODEL_CLASS_MAPPINGS=[ag]}class aj extends aa{static MODEL_CLASS_MAPPINGS=[ax]}class a$ extends aa{static MODEL_CLASS_MAPPINGS=[ak]}class aR extends aa{static MODEL_CLASS_MAPPINGS=[ab]}class aW extends aa{static MODEL_CLASS_MAPPINGS=[ay]}class aQ extends aa{static MODEL_CLASS_MAPPINGS=[aM]}class aX extends aa{static MODEL_CLASS_MAPPINGS=[aS]}class aK extends aa{static MODEL_CLASS_MAPPINGS=[aC]}class aU extends aa{static MODEL_CLASS_MAPPINGS=[aw]}class aH extends aa{static MODEL_CLASS_MAPPINGS=[aA]}class aJ extends aa{static MODEL_CLASS_MAPPINGS=[aL]}class aZ extends B{constructor({logits:e,past_key_values:s,encoder_outputs:t,decoder_attentions:n=null,cross_attentions:a=null}){super(),this.logits=e,this.past_key_values=s,this.encoder_outputs=t,this.decoder_attentions=n,this.cross_attentions=a}}class aY extends B{constructor({logits:e}){super(),this.logits=e}}class a2 extends B{constructor({logits:e}){super(),this.logits=e}}class a0 extends B{constructor({logits:e}){super(),this.logits=e}}class a1 extends B{constructor({start_logits:e,end_logits:s}){super(),this.start_logits=e,this.end_logits=s}}class a3 extends B{constructor({logits:e}){super(),this.logits=e}}class a5 extends B{constructor({alphas:e}){super(),this.alphas=e}}class a4 extends B{constructor({waveform:e,spectrogram:s}){super(),this.waveform=e,this.spectrogram=s}}}}]);
_next/static/chunks/638-5d42aa82992ec559.js ADDED
@@ -0,0 +1 @@
 
 
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[638],{1749:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return v}});let o=r(6921),n=r(1884),l=r(7437),i=n._(r(2265)),a=o._(r(4887)),s=o._(r(2251)),d=r(8630),c=r(6906),u=r(337);r(6184);let f=r(6993),p=o._(r(536)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function b(e,t,r,o,n,l){let i=null==e?void 0:e.src;e&&e["data-loaded-src"]!==i&&(e["data-loaded-src"]=i,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let o=!1,n=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>o,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{o=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}}))}function g(e){let[t,r]=i.version.split(".",2),o=parseInt(t,10),n=parseInt(r,10);return o>18||18===o&&n>=3?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let h=(0,i.forwardRef)((e,t)=>{let{src:r,srcSet:o,sizes:n,height:a,width:s,decoding:d,className:c,style:u,fetchPriority:f,placeholder:p,loading:m,unoptimized:h,fill:y,onLoadRef:v,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:j,onLoad:k,onError:z,..._}=e;return(0,l.jsx)("img",{..._,...g(f),loading:m,width:s,height:a,decoding:d,"data-nimg":y?"fill":"1",className:c,style:u,sizes:n,srcSet:o,src:r,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(z&&(e.src=e.src),e.complete&&b(e,p,v,w,x,h))},[r,p,v,w,x,z,h,t]),onLoad:e=>{b(e.currentTarget,p,v,w,x,h)},onError:e=>{j(!0),"empty"!==p&&x(!0),z&&z(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,o={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,o),null):(0,l.jsx)(s.default,{children:(0,l.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...o},"__nimg-"+r.src+r.srcSet+r.sizes)})}let v=(0,i.forwardRef)((e,t)=>{let r=(0,i.useContext)(f.RouterContext),o=(0,i.useContext)(u.ImageConfigContext),n=(0,i.useMemo)(()=>{let e=m||o||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[o]),{onLoad:a,onLoadingComplete:s}=e,b=(0,i.useRef)(a);(0,i.useEffect)(()=>{b.current=a},[a]);let g=(0,i.useRef)(s);(0,i.useEffect)(()=>{g.current=s},[s]);let[v,w]=(0,i.useState)(!1),[x,j]=(0,i.useState)(!1),{props:k,meta:z}=(0,d.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:v,showAltText:x});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(h,{...k,unoptimized:z.unoptimized,placeholder:z.placeholder,fill:z.fill,onLoadRef:b,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:j,ref:t}),z.priority?(0,l.jsx)(y,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5827:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return o}});let o=r(6921)._(r(2265)).default.createContext({})},3044:function(e,t){function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:o=!1}=void 0===e?{}:e;return t||r&&o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},8630:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),r(6184);let o=r(7160),n=r(6906);function l(e){return void 0!==e.default}function i(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var r;let a,s,d,{src:c,sizes:u,unoptimized:f=!1,priority:p=!1,loading:m,className:b,quality:g,width:h,height:y,fill:v=!1,style:w,onLoad:x,onLoadingComplete:j,placeholder:k="empty",blurDataURL:z,fetchPriority:_,layout:C,objectFit:S,objectPosition:P,lazyBoundary:O,lazyRoot:E,...M}=e,{imgConf:I,showAltText:A,blurComplete:R,defaultLoader:N}=t,G=I||n.imageConfigDefault;if("allSizes"in G)a=G;else{let e=[...G.deviceSizes,...G.imageSizes].sort((e,t)=>e-t),t=G.deviceSizes.sort((e,t)=>e-t);a={...G,allSizes:e,deviceSizes:t}}let D=M.loader||N;delete M.loader,delete M.srcSet;let T="__next_img_default"in D;if(T){if("custom"===a.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=D;D=t=>{let{config:r,...o}=t;return e(o)}}if(C){"fill"===C&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[C];t&&!u&&(u=t)}let U="",W=i(h),L=i(y);if("object"==typeof(r=c)&&(l(r)||void 0!==r.src)){let e=l(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(s=e.blurWidth,d=e.blurHeight,z=z||e.blurDataURL,U=e.src,!v){if(W||L){if(W&&!L){let t=W/e.width;L=Math.round(e.height*t)}else if(!W&&L){let t=L/e.height;W=Math.round(e.width*t)}}else W=e.width,L=e.height}}let $=!p&&("lazy"===m||void 0===m);(!(c="string"==typeof c?c:U)||c.startsWith("data:")||c.startsWith("blob:"))&&(f=!0,$=!1),a.unoptimized&&(f=!0),T&&c.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(f=!0),p&&(_="high");let B=i(g),F=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:S,objectPosition:P}:{},A?{}:{color:"transparent"},w),V=R||"empty"===k?null:"blur"===k?'url("data:image/svg+xml;charset=utf-8,'+(0,o.getImageBlurSvg)({widthInt:W,heightInt:L,blurWidth:s,blurHeight:d,blurDataURL:z||"",objectFit:F.objectFit})+'")':'url("'+k+'")',q=V?{backgroundSize:F.objectFit||"cover",backgroundPosition:F.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},H=function(e){let{config:t,src:r,unoptimized:o,width:n,quality:l,sizes:i,loader:a}=e;if(o)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:d}=function(e,t,r){let{deviceSizes:o,allSizes:n}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let o;o=e.exec(r);o)t.push(parseInt(o[2]));if(t.length){let e=.01*Math.min(...t);return{widths:n.filter(t=>t>=o[0]*e),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof t?{widths:o,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))],kind:"x"}}(t,n,i),c=s.length-1;return{sizes:i||"w"!==d?i:"100vw",srcSet:s.map((e,o)=>a({config:t,src:r,quality:l,width:e})+" "+("w"===d?e:o+1)+d).join(", "),src:a({config:t,src:r,quality:l,width:s[c]})}}({config:a,src:c,unoptimized:f,width:W,quality:B,sizes:u,loader:D});return{props:{...M,loading:$?"lazy":m,fetchPriority:_,width:W,height:L,decoding:"async",className:b,style:{...F,...q},sizes:H.sizes,srcSet:H.srcSet,src:H.src},meta:{unoptimized:f,priority:p,placeholder:k,fill:v}}}},2251:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return u},default:function(){return b}});let o=r(6921),n=r(1884),l=r(7437),i=n._(r(2265)),a=o._(r(7392)),s=r(5827),d=r(7484),c=r(3044);function u(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(6184);let p=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(u(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,o={};return n=>{let l=!0,i=!1;if(n.key&&"number"!=typeof n.key&&n.key.indexOf("$")>0){i=!0;let t=n.key.slice(n.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(n.type){case"title":case"base":t.has(n.type)?l=!1:t.add(n.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(n.props.hasOwnProperty(t)){if("charSet"===t)r.has(t)?l=!1:r.add(t);else{let e=n.props[t],r=o[t]||new Set;("name"!==t||!i)&&r.has(e)?l=!1:(r.add(e),o[t]=r)}}}}return l}}()).reverse().map((e,t)=>{let o=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:o})})}let b=function(e){let{children:t}=e,r=(0,i.useContext)(s.AmpStateContext),o=(0,i.useContext)(d.HeadManagerContext);return(0,l.jsx)(a.default,{reduceComponentsToState:m,headManager:o,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7160:function(e,t){function r(e){let{widthInt:t,heightInt:r,blurWidth:o,blurHeight:n,blurDataURL:l,objectFit:i}=e,a=o?40*o:t,s=n?40*n:r,d=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+d+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(d?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},337:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let o=r(6921)._(r(2265)),n=r(6906),l=o.default.createContext(n.imageConfigDefault)},6906:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return o}});let r=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},536:function(e,t){function r(e){let{config:t,src:r,width:o,quality:n}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+o+"&q="+(n||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r.__next_img_default=!0;let o=r},6993:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return o}});let o=r(6921)._(r(2265)).default.createContext(null)},7392:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let o=r(2265),n="undefined"==typeof window,l=n?()=>{}:o.useLayoutEffect,i=n?()=>{}:o.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let n=o.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}if(n){var s;null==t||null==(s=t.mountedInstances)||s.add(e.children),a()}return l(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),l(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},6316:function(e,t,r){function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}r.d(t,{g7:function(){return l}});var n=r(2265);let l=(0,n.forwardRef)((e,t)=>{let{children:r,...l}=e,a=n.Children.toArray(r),d=a.find(s);if(d){let e=d.props.children,r=a.map(t=>t!==d?t:n.Children.count(e)>1?n.Children.only(null):(0,n.isValidElement)(e)?e.props.children:null);return(0,n.createElement)(i,o({},l,{ref:t}),(0,n.isValidElement)(e)?(0,n.cloneElement)(e,void 0,r):null)}return(0,n.createElement)(i,o({},l,{ref:t}),r)});l.displayName="Slot";let i=(0,n.forwardRef)((e,t)=>{let{children:r,...o}=e;return(0,n.isValidElement)(r)?(0,n.cloneElement)(r,{...function(e,t){let r={...t};for(let o in t){let n=e[o],l=t[o];/^on[A-Z]/.test(o)?n&&l?r[o]=(...e)=>{l(...e),n(...e)}:n&&(r[o]=n):"style"===o?r[o]={...n,...l}:"className"===o&&(r[o]=[n,l].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props),ref:t?function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(t,r.ref):r.ref}):n.Children.count(r)>1?n.Children.only(null):null});i.displayName="SlotClone";let a=({children:e})=>(0,n.createElement)(n.Fragment,null,e);function s(e){return(0,n.isValidElement)(e)&&e.type===a}},7742:function(e,t,r){r.d(t,{j:function(){return l}});let o=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,n=function(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,o,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(o=e(t[r]))&&(n&&(n+=" "),n+=o);else for(r in t)t[r]&&(n&&(n+=" "),n+=r)}return n}(e))&&(o&&(o+=" "),o+=t);return o},l=(e,t)=>r=>{var l;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:a}=t,s=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let l=o(t)||o(n);return i[e][l]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,o]=t;return void 0===o||(e[r]=o),e},{});return n(e,s,null==t?void 0:null===(l=t.compoundVariants)||void 0===l?void 0:l.reduce((e,t)=>{let{class:r,className:o,...n}=t;return Object.entries(n).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...d}[t]):({...a,...d})[t]===r})?[...e,r,o]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},3167:function(e,t,r){r.d(t,{W:function(){return o}});function o(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=function e(t){var r,o,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(r=0;r<l;r++)t[r]&&(o=e(t[r]))&&(n&&(n+=" "),n+=o)}else for(o in t)t[o]&&(n&&(n+=" "),n+=o)}return n}(e))&&(o&&(o+=" "),o+=t);return o}},1367:function(e,t,r){r.d(t,{m6:function(){return G}});let o=/^\[(.+)\]$/;function n(e,t){let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}let l=/\s+/;function i(){let e,t,r=0,o="";for(;r<arguments.length;)(e=arguments[r++])&&(t=function e(t){let r;if("string"==typeof t)return t;let o="";for(let n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);return o}(e))&&(o&&(o+=" "),o+=t);return o}function a(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let s=/^\[(?:([a-z-]+):)?(.+)\]$/i,d=/^\d+\/\d+$/,c=new Set(["px","full","screen"]),u=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,f=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,p=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,m=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function g(e){return y(e)||c.has(e)||d.test(e)}function h(e){return M(e,"length",I)}function y(e){return!!e&&!Number.isNaN(Number(e))}function v(e){return M(e,"number",y)}function w(e){return!!e&&Number.isInteger(Number(e))}function x(e){return e.endsWith("%")&&y(e.slice(0,-1))}function j(e){return s.test(e)}function k(e){return u.test(e)}let z=new Set(["length","size","percentage"]);function _(e){return M(e,z,A)}function C(e){return M(e,"position",A)}let S=new Set(["image","url"]);function P(e){return M(e,S,N)}function O(e){return M(e,"",R)}function E(){return!0}function M(e,t,r){let o=s.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):r(o[2]))}function I(e){return f.test(e)&&!p.test(e)}function A(){return!1}function R(e){return m.test(e)}function N(e){return b.test(e)}let G=function(e){let t,r,a;let s=function(l){var i;return r=(t={cache:function(e){if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,o=new Map;function n(n,l){r.set(n,l),++t>e&&(t=0,o=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}}((i=[].reduce((e,t)=>t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,r=1===t.length,o=t[0],n=t.length;return function(e){let l;let i=[],a=0,s=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===a){if(c===o&&(r||e.slice(d,d+n)===t)){i.push(e.slice(s,d)),s=d+n;continue}if("/"===c){l=d;continue}}"["===c?a++:"]"===c&&a--}let d=0===i.length?e:e.substring(s),c=d.startsWith("!"),u=c?d.substring(1):d;return{modifiers:i,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:l&&l>s?l-s:void 0}}}(i),...function(e){let t=function(e){var t;let{theme:r,prefix:o}=e,l={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),o?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?o+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[o+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,r,o,l){t.forEach(t=>{if("string"==typeof t){(""===t?r:n(r,t)).classGroupId=o;return}if("function"==typeof t){if(t.isThemeGetter){e(t(l),r,o,l);return}r.validators.push({validator:t,classGroupId:o});return}Object.entries(t).forEach(([t,i])=>{e(i,n(r,t),o,l)})})})(t,l,e,r)}),l}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:l}=e;return{getClassGroupId:function(e){let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(t,r){if(0===t.length)return r.classGroupId;let o=t[0],n=r.nextPart.get(o),l=n?e(t.slice(1),n):void 0;if(l)return l;if(0===r.validators.length)return;let i=t.join("-");return r.validators.find(({validator:e})=>e(i))?.classGroupId}(r,t)||function(e){if(o.test(e)){let t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){let o=r[e]||[];return t&&l[e]?[...o,...l[e]]:o}}}(i)}).cache.get,a=t.cache.set,s=d,d(l)};function d(e){let o=r(e);if(o)return o;let n=function(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:n}=t,i=new Set;return e.trim().split(l).map(e=>{let{modifiers:t,hasImportantModifier:n,baseClassName:l,maybePostfixModifierPosition:i}=r(e),a=o(i?l.substring(0,i):l),s=!!i;if(!a){if(!i||!(a=o(l)))return{isTailwindClass:!1,originalClassName:e};s=!1}let d=(function(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:n?d+"!":d,classGroupId:a,originalClassName:e,hasPostfixModifier:s}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:r,hasPostfixModifier:o}=e,l=t+r;return!i.has(l)&&(i.add(l),n(r,o).forEach(e=>i.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,t);return a(e,n),n}return function(){return s(i.apply(null,arguments))}}(function(){let e=a("colors"),t=a("spacing"),r=a("blur"),o=a("brightness"),n=a("borderColor"),l=a("borderRadius"),i=a("borderSpacing"),s=a("borderWidth"),d=a("contrast"),c=a("grayscale"),u=a("hueRotate"),f=a("invert"),p=a("gap"),m=a("gradientColorStops"),b=a("gradientColorStopPositions"),z=a("inset"),S=a("margin"),M=a("opacity"),I=a("padding"),A=a("saturate"),R=a("scale"),N=a("sepia"),G=a("skew"),D=a("space"),T=a("translate"),U=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",j,t],$=()=>[j,t],B=()=>["",g,h],F=()=>["auto",y,j],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],J=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",j],X=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[y,v],K=()=>[y,j];return{cacheSize:500,separator:":",theme:{colors:[E],spacing:[g,h],blur:["none","",k,j],brightness:Z(),borderColor:[e],borderRadius:["none","","full",k,j],borderSpacing:$(),borderWidth:B(),contrast:Z(),grayscale:Y(),hueRotate:K(),invert:Y(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[x,h],inset:L(),margin:L(),opacity:Z(),padding:$(),saturate:Z(),scale:Z(),sepia:Y(),skew:K(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":X()}],"break-before":[{"break-before":X()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...V(),j]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[z]}],"inset-x":[{"inset-x":[z]}],"inset-y":[{"inset-y":[z]}],start:[{start:[z]}],end:[{end:[z]}],top:[{top:[z]}],right:[{right:[z]}],bottom:[{bottom:[z]}],left:[{left:[z]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",w,j]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",w,j]}],"grid-cols":[{"grid-cols":[E]}],"col-start-end":[{col:["auto",{span:["full",w,j]},j]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[E]}],"row-start-end":[{row:["auto",{span:[w,j]},j]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[D]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[D]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,h]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",v]}],"font-family":[{font:[E]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",y,v]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",g,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",g,h]}],"underline-offset":[{"underline-offset":["auto",g,j]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...V(),C]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",_]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},P]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[g,j]}],"outline-w":[{outline:[g,h]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[g,h]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,O]}],"shadow-color":[{shadow:[E]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":H()}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",k,j]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[A]}],sepia:[{sepia:[N]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[A]}],"backdrop-sepia":[{"backdrop-sepia":[N]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[w,j]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[G]}],"skew-y":[{"skew-y":[G]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[g,h,v]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})}}]);
_next/static/chunks/69-b3591fd8ad0215ce.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/766.0cd721cdb05598ed.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/app/_not-found-3a6664d6ed4f34ee.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[540],{3155:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found",function(){return n(4032)}])},4032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}}),n(6921);let o=n(7437);n(2265);let r={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function i(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("title",{children:"404: This page could not be found."}),(0,o.jsx)("div",{style:r.error,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,o.jsx)("h1",{className:"next-error-h1",style:r.h1,children:"404"}),(0,o.jsx)("div",{style:r.desc,children:(0,o.jsx)("h2",{style:r.h2,children:"This page could not be found."})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){e.O(0,[971,69,744],function(){return e(e.s=3155)}),_N_E=e.O()}]);
_next/static/chunks/app/layout-1e2531562bbbfedd.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{495:function(n,e,t){Promise.resolve().then(t.t.bind(t,3385,23)),Promise.resolve().then(t.t.bind(t,8822,23))},3385:function(){},8822:function(n){n.exports={style:{fontFamily:"'__Inter_aaf875', '__Inter_Fallback_aaf875'",fontStyle:"normal"},className:"__className_aaf875"}}},function(n){n.O(0,[971,69,744],function(){return n(n.s=495)}),_N_E=n.O()}]);
_next/static/chunks/app/page-44e8a5d218409204.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{5305:function(e,r,t){Promise.resolve().then(t.t.bind(t,1749,23)),Promise.resolve().then(t.bind(t,1260))},1260:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return g}});var s=t(7437),a=t(2265),n=t(6316),i=t(7742),o=t(3167),c=t(1367);let d=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=a.forwardRef((e,r)=>{let{className:t,variant:a,size:i,asChild:l=!1,...u}=e,f=l?n.g7:"button";return(0,s.jsx)(f,{className:function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,c.m6)((0,o.W)(r))}(d({variant:a,size:i,className:t})),ref:r,...u})});function u(e){let{text:r,percentage:t}=e;return t=null!=t?t:0,(0,s.jsx)("div",{className:"progress-container",children:(0,s.jsxs)("div",{className:"progress-bar",style:{width:"".concat(t,"%")},children:[r," (","".concat(t.toFixed(2),"%"),")"]})})}function f(e){return(0,s.jsxs)("svg",{...e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),(0,s.jsx)("circle",{cx:"9",cy:"9",r:"2"}),(0,s.jsx)("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]})}l.displayName="Button";var g=function(){let[e,r]=(0,a.useState)(!0),[n,i]=(0,a.useState)(!1),[o,c]=(0,a.useState)([]),[d,g]=(0,a.useState)("/Solid_black.png"),x=(0,a.useRef)(null),h=(0,a.useRef)(null),m=async e=>{let r=e.target.files[0];if(!r)return;let t=new FileReader;t.readAsDataURL(r),t.onload=e=>{2===t.readyState&&g(e.target.result)}};return(0,a.useEffect)(()=>{h.current||(h.current=new Worker(t.tu(new URL(t.p+t.u(12),t.b)),{type:void 0}));let e=e=>{switch(e.data.status){case"initiate":r(!1),c(r=>[...r,e.data]);break;case"progress":c(r=>r.map(r=>r.file===e.data.file?{...r,progress:e.data.progress}:r));break;case"done":c(r=>r.filter(r=>r.file!==e.data.file));break;case"ready":r(!0);break;case"update":setOutput(e.data.output);break;case"complete":i(!1)}};return h.current.addEventListener("message",e),()=>h.current.removeEventListener("message",e)}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"w-full max-w-sm space-y-2",children:(0,s.jsx)("div",{className:"border-dashed border-2 border-gray-200 rounded-lg w-full p-4 flex items-center justify-center border-gray-300 dark:border-gray-800",children:(0,s.jsxs)("div",{className:"flex flex-col items-center space-y-2",children:[(0,s.jsx)(f,{className:"w-12 h-12"}),(0,s.jsx)("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:"Drag and drop your image here"}),(0,s.jsx)("span",{className:"text-xs text-gray-500 dark:text-gray-400",children:"or"}),(0,s.jsx)(l,{size:"sm",onClick:()=>x.current.click(),children:"Choose file"}),(0,s.jsx)("input",{type:"file",name:"image_URL",id:"input-file",accept:"image/*",style:{display:"none"},ref:x,onChange:m})]})})}),(0,s.jsx)(l,{disabled:n,onClick:()=>{i(!0),h.current.postMessage({image:d})},children:"Upscale 2x"}),o.map(e=>(0,s.jsx)("div",{children:(0,s.jsx)(u,{text:e.file,percentage:e.progress})},e.file)),(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)("img",{alt:"Result Image",className:"rounded-lg",src:d,style:{objectFit:"cover"}})})]})}}},function(e){e.O(0,[638,971,69,744],function(){return e(e.s=5305)}),_N_E=e.O()}]);
_next/static/chunks/b2db8554.64d1a60571cad9c0.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/fd9d1056-b57bdf07fd4ec92b.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/framework-aec844d2ccbe7592.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/main-af6fe37d2ff14a49.js ADDED
The diff for this file is too large to render. See raw diff
 
_next/static/chunks/main-app-41b03c9112f03abf.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{6330:function(e,n,t){Promise.resolve().then(t.t.bind(t,7690,23)),Promise.resolve().then(t.t.bind(t,8955,23)),Promise.resolve().then(t.t.bind(t,5613,23)),Promise.resolve().then(t.t.bind(t,1902,23)),Promise.resolve().then(t.t.bind(t,1778,23)),Promise.resolve().then(t.t.bind(t,7831,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[971,69],function(){return n(5317),n(6330)}),_N_E=e.O()}]);
_next/static/chunks/pages/_app-75f6107b0260711c.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{1597:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return u(7174)}])}},function(n){var _=function(_){return n(n.s=_)};n.O(0,[774,179],function(){return _(1597),_(4546)}),_N_E=n.O()}]);
_next/static/chunks/pages/_error-9a890acb1e81c3fc.js ADDED
@@ -0,0 +1 @@
 
 
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{1981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(5103)}])}},function(n){n.O(0,[888,774,179],function(){return n(n.s=1981)}),_N_E=n.O()}]);
_next/static/chunks/polyfills-c67a75d1b6f99dc8.js ADDED
@@ -0,0 +1 @@
 
 
1
+ !function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e(function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||F(this)})}),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i<r.length;i++){var a=r[i];w(t,a)||n(t,a,o(e,a))}},At=/#|\.prototype\./,Ot=function(t,e){var r=jt[Rt(t)];return r==It||r!=Pt&&("function"==typeof e?o(e):!!e)},Rt=Ot.normalize=function(t){return String(t).replace(At,".").toLowerCase()},jt=Ot.data={},Pt=Ot.NATIVE="N",It=Ot.POLYFILL="P",Tt=Ot,kt=R.f,Lt=function(t,e){var r,o,i,a,u,s=t.target,c=t.global,f=t.stat;if(r=c?n:f?n[s]||k(s,{}):(n[s]||{}).prototype)for(o in e){if(a=e[o],i=t.noTargetGet?(u=kt(r,o))&&u.value:r[o],!Tt(c?o:s+(f?".":"#")+o,t.forced)&&void 0!==i){if(typeof a==typeof i)continue;xt(a,i)}(t.sham||i&&i.sham)&&T(a,"sham",!0),rt(r,o,a,t)}},Ut=function(t){return Object(v(t))},Mt=Math.min,_t=[].copyWithin||function(t,e){var r=Ut(this),n=ft(r.length),o=pt(t,n),i=pt(e,n),a=arguments.length>2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i<o&&o<i+u&&(s=-1,i+=u-1,o+=u-1);u-- >0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt=V("IE_PROTO"),$t=function(){},Vt=function(t){return"<script>"+t+"<\/script>"},Ht=function(){try{tt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;Ht=tt?function(t){t.write(Vt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(tt):((e=x("iframe")).style.display="none",Kt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Vt("document.F=Object")),t.close(),t.F);for(var r=mt.length;r--;)delete Ht.prototype[mt[r]];return Ht()};H[Gt]=!0;var Xt=Object.create||function(t,e){var r;return null!==t?($t.prototype=j(t),r=new $t,$t.prototype=null,r[Gt]=t):r=Ht(),void 0===e?r:Wt(r,e)},Yt=qt("unscopables"),Jt=Array.prototype;null==Jt[Yt]&&I.f(Jt,Yt,{configurable:!0,value:Xt(null)});var Qt=function(t){Jt[Yt][t]=!0};Lt({target:"Array",proto:!0},{copyWithin:_t}),Qt("copyWithin");var Zt=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},te=function(t,e,r){if(Zt(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},ee=Function.call,re=function(t,e,r){return te(ee,n[t].prototype[e],r)};re("Array","copyWithin"),Lt({target:"Array",proto:!0},{fill:function(t){for(var e=Ut(this),r=ft(e.length),n=arguments.length,o=pt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:pt(i,r);a>o;)e[o++]=t;return e}}),Qt("fill"),re("Array","fill");var ne=Array.isArray||function(t){return"Array"==h(t)},oe=qt("species"),ie=function(t,e){var r;return ne(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ne(r.prototype)?y(r)&&null===(r=r[oe])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},ae=[].push,ue=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,s,c,f){for(var l,h,p=Ut(u),v=d(p),g=te(s,c,3),y=ft(v.length),m=0,b=f||ie,w=e?b(u,y):r?b(u,0):void 0;y>m;m++)if((a||m in v)&&(h=g(l=v[m],m,p),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:ae.call(w,l)}else if(o)return!1;return i?-1:n||o?o:w}},se={forEach:ue(0),map:ue(1),filter:ue(2),some:ue(3),every:ue(4),find:ue(5),findIndex:ue(6)},ce=Object.defineProperty,fe={},le=function(t){throw t},he=function(t,e){if(w(fe,t))return fe[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:le,u=w(e,1)?e[1]:void 0;return fe[t]=!!r&&!o(function(){if(n&&!i)return!0;var t={length:-1};n?ce(t,1,{enumerable:!0,get:le}):t[1]=1,r.call(t,a,u)})},pe=se.find,de="find",ve=!0,ge=he(de);de in[]&&Array(1).find(function(){ve=!1}),Lt({target:"Array",proto:!0,forced:ve||!ge},{find:function(t){return pe(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt(de),re("Array","find");var ye=se.findIndex,me="findIndex",be=!0,we=he(me);me in[]&&Array(1).findIndex(function(){be=!1}),Lt({target:"Array",proto:!0,forced:be||!we},{findIndex:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt(me),re("Array","findIndex");var Se=function(t,e,r,n,o,i,a,u){for(var s,c=o,f=0,l=!!a&&te(a,u,3);f<n;){if(f in r){if(s=l?l(r[f],f,e):r[f],i>0&&ne(s))c=Se(t,e,s,ft(s.length),c,i-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Ee=Se;Lt({target:"Array",proto:!0},{flatMap:function(t){var e,r=Ut(this),n=ft(r.length);return Zt(t),(e=ie(r,0)).length=Ee(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),Qt("flatMap"),re("Array","flatMap"),Lt({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Ut(this),r=ft(e.length),n=ie(e,0);return n.length=Ee(n,e,e,r,0,void 0===t?1:st(t)),n}}),Qt("flat"),re("Array","flat");var xe,Ae,Oe,Re=function(t){return function(e,r){var n,o,i=String(v(e)),a=st(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},je={codeAt:Re(!1),charAt:Re(!0)},Pe=!o(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Ie=V("IE_PROTO"),Te=Object.prototype,ke=Pe?Object.getPrototypeOf:function(t){return t=Ut(t),w(t,Ie)?t[Ie]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Te:null},Le=qt("iterator"),Ue=!1;[].keys&&("next"in(Oe=[].keys())?(Ae=ke(ke(Oe)))!==Object.prototype&&(xe=Ae):Ue=!0),null==xe&&(xe={}),w(xe,Le)||T(xe,Le,function(){return this});var Me={IteratorPrototype:xe,BUGGY_SAFARI_ITERATORS:Ue},_e=I.f,Ne=qt("toStringTag"),Ce=function(t,e,r){t&&!w(t=r?t:t.prototype,Ne)&&_e(t,Ne,{configurable:!0,value:e})},Fe={},Be=Me.IteratorPrototype,De=function(){return this},qe=function(t,e,r){var n=e+" Iterator";return t.prototype=Xt(Be,{next:f(1,r)}),Ce(t,n,!1),Fe[n]=De,t},ze=function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},We=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),ze(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),Ke=Me.IteratorPrototype,Ge=Me.BUGGY_SAFARI_ITERATORS,$e=qt("iterator"),Ve="keys",He="values",Xe="entries",Ye=function(){return this},Je=function(t,e,r,n,o,i,a){qe(r,e,n);var u,s,c,f=function(t){if(t===o&&v)return v;if(!Ge&&t in p)return p[t];switch(t){case Ve:case He:case Xe:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",h=!1,p=t.prototype,d=p[$e]||p["@@iterator"]||o&&p[o],v=!Ge&&d||f(o),g="Array"==e&&p.entries||d;if(g&&(u=ke(g.call(new t)),Ke!==Object.prototype&&u.next&&(ke(u)!==Ke&&(We?We(u,Ke):"function"!=typeof u[$e]&&T(u,$e,Ye)),Ce(u,l,!0))),o==He&&d&&d.name!==He&&(h=!0,v=function(){return d.call(this)}),p[$e]!==v&&T(p,$e,v),Fe[e]=v,o)if(s={values:f(He),keys:i?v:f(Ve),entries:f(Xe)},a)for(c in s)(Ge||h||!(c in p))&&rt(p,c,s[c]);else Lt({target:e,proto:!0,forced:Ge||h},s);return s},Qe=je.charAt,Ze="String Iterator",tr=et.set,er=et.getterFor(Ze);Je(String,"String",function(t){tr(this,{type:Ze,string:String(t),index:0})},function(){var t,e=er(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=Qe(r,n),e.index+=t.length,{value:t,done:!1})});var rr=function(t,e,r,n){try{return n?e(j(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&j(o.call(t)),e}},nr=qt("iterator"),or=Array.prototype,ir=function(t){return void 0!==t&&(Fe.Array===t||or[nr]===t)},ar=function(t,e,r){var n=m(e);n in t?I.f(t,n,f(0,r)):t[n]=r},ur={};ur[qt("toStringTag")]="z";var sr="[object z]"===String(ur),cr=qt("toStringTag"),fr="Arguments"==h(function(){return arguments}()),lr=sr?h: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=Object(t),cr))?r:fr?h(e):"Object"==(n=h(e))&&"function"==typeof e.callee?"Arguments":n},hr=qt("iterator"),pr=function(t){if(null!=t)return t[hr]||t["@@iterator"]||Fe[lr(t)]},dr=function(t){var e,r,n,o,i,a,u=Ut(t),s="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=pr(u),p=0;if(l&&(f=te(f,c>2?arguments[2]:void 0,2)),null==h||s==Array&&ir(h))for(r=new s(e=ft(u.length));e>p;p++)a=l?f(u[p],p):u[p],ar(r,p,a);else for(i=(o=h.call(u)).next,r=new s;!(n=i.call(o)).done;p++)a=l?rr(o,f,[n.value,p],!0):n.value,ar(r,p,a);return r.length=p,r},vr=qt("iterator"),gr=!1;try{var yr=0,mr={next:function(){return{done:!!yr++}},return:function(){gr=!0}};mr[vr]=function(){return this},Array.from(mr,function(){throw 2})}catch(t){}var br=function(t,e){if(!e&&!gr)return!1;var r=!1;try{var n={};n[vr]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},wr=!br(function(t){Array.from(t)});Lt({target:"Array",stat:!0,forced:wr},{from:dr});var Sr=vt.includes,Er=he("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:!Er},{includes:function(t){return Sr(this,t,arguments.length>1?arguments[1]:void 0)}}),Qt("includes"),re("Array","includes");var xr="Array Iterator",Ar=et.set,Or=et.getterFor(xr),Rr=Je(Array,"Array",function(t,e){Ar(this,{type:xr,target:g(t),index:0,kind:e})},function(){var t=Or(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");Fe.Arguments=Fe.Array,Qt("keys"),Qt("values"),Qt("entries"),re("Array","values");var jr=o(function(){function t(){}return!(Array.of.call(t)instanceof t)});Lt({target:"Array",stat:!0,forced:jr},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)ar(r,t,arguments[t++]);return r.length=e,r}});var Pr=qt("hasInstance"),Ir=Function.prototype;Pr in Ir||I.f(Ir,Pr,{value:function(t){if("function"!=typeof this||!y(t))return!1;if(!y(this.prototype))return t instanceof this;for(;t=ke(t);)if(this.prototype===t)return!0;return!1}}),qt("hasInstance");var Tr=Function.prototype,kr=Tr.toString,Lr=/^\s*function ([^ (]*)/,Ur="name";i&&!(Ur in Tr)&&(0,I.f)(Tr,Ur,{configurable:!0,get:function(){try{return kr.call(this).match(Lr)[1]}catch(t){return""}}});var Mr=!o(function(){return Object.isExtensible(Object.preventExtensions({}))}),_r=e(function(t){var e=I.f,r=G("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!w(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return Mr&&a.REQUIRED&&o(t)&&!w(t,r)&&i(t),t}};H[r]=!0}),Nr=e(function(t){var e=function(t,e){this.stopped=t,this.result=e},r=t.exports=function(t,r,n,o,i){var a,u,s,c,f,l,h,p=te(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=pr(t)))throw TypeError("Target is not iterable");if(ir(u)){for(s=0,c=ft(t.length);c>s;s++)if((f=o?p(j(h=t[s])[0],h[1]):p(t[s]))&&f instanceof e)return f;return new e(!1)}a=u.call(t)}for(l=a.next;!(h=l.call(a)).done;)if("object"==typeof(f=rr(a,p,h.value,o))&&f&&f instanceof e)return f;return new e(!1)};r.stop=function(t){return new e(!0,t)}}),Cr=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Fr=function(t,e,r){var n,o;return We&&"function"==typeof(n=e.constructor)&&n!==r&&y(o=n.prototype)&&o!==r.prototype&&We(t,o),t},Br=function(t,e,r){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",s=n[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=c[t];rt(c,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Tt(t,"function"!=typeof s||!(a||c.forEach&&!o(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,i,u),_r.REQUIRED=!0;else if(Tt(t,!0)){var p=new f,d=p[u](a?{}:-0,1)!=p,v=o(function(){p.has(1)}),g=br(function(t){new s(t)}),m=!a&&o(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(e,r){Cr(e,f,t);var n=Fr(new s,e,f);return null!=r&&Nr(r,n[u],n,i),n})).prototype=c,c.constructor=f),(v||m)&&(h("delete"),h("has"),i&&h("get")),(m||d)&&h(u),a&&c.clear&&delete c.clear}return l[t]=f,Lt({global:!0,forced:f!=s},l),Ce(f,t),a||r.setStrong(f,t,i),f},Dr=function(t,e,r){for(var n in e)rt(t,n,e[n],r);return t},qr=qt("species"),zr=function(t){var e=it(t);i&&e&&!e[qr]&&(0,I.f)(e,qr,{configurable:!0,get:function(){return this}})},Wr=I.f,Kr=_r.fastKey,Gr=et.set,$r=et.getterFor,Vr={getConstructor:function(t,e,r,n){var o=t(function(t,a){Cr(t,o,e),Gr(t,{type:e,index:Xt(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=a&&Nr(a,t[n],t,r)}),a=$r(e),u=function(t,e,r){var n,o,u=a(t),c=s(t,e);return c?c.value=r:(u.last=c={index:o=Kr(e,!0),key:e,value:r,previous:n=u.last,next:void 0,removed:!1},u.first||(u.first=c),n&&(n.next=c),i?u.size++:t.size++,"F"!==o&&(u.index[o]=c)),t},s=function(t,e){var r,n=a(t),o=Kr(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return Dr(o.prototype,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=s(e,t);if(n){var o=n.next,u=n.previous;delete r.index[n.index],n.removed=!0,u&&(u.next=o),o&&(o.previous=u),r.first==n&&(r.first=o),r.last==n&&(r.last=u),i?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=te(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),Dr(o.prototype,r?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),i&&Wr(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=$r(e),i=$r(n);Je(t,e,function(t,e){Gr(this,{type:n,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},r?"entries":"values",!r,!0),zr(e)}},Hr=Br("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Vr);sr||rt(Object.prototype,"toString",sr?{}.toString:function(){return"[object "+lr(this)+"]"},{unsafe:!0});var Xr={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},Yr=qt("iterator"),Jr=qt("toStringTag"),Qr=Rr.values;for(var Zr in Xr){var tn=n[Zr],en=tn&&tn.prototype;if(en){if(en[Yr]!==Qr)try{T(en,Yr,Qr)}catch(t){en[Yr]=Qr}if(en[Jr]||T(en,Jr,Zr),Xr[Zr])for(var rn in Rr)if(en[rn]!==Rr[rn])try{T(en,rn,Rr[rn])}catch(t){en[rn]=Rr[rn]}}}var nn=function(t){var e,r,n,o,i=arguments.length,a=i>1?arguments[1]:void 0;return Zt(this),(e=void 0!==a)&&Zt(a),null==t?new this:(r=[],e?(n=0,o=te(a,i>2?arguments[2]:void 0,2),Nr(t,function(t){r.push(o(t,n++))})):Nr(t,r.push,r),new this(r))};Lt({target:"Map",stat:!0},{from:nn});var on=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)};Lt({target:"Map",stat:!0},{of:on});var an=function(){for(var t,e=j(this),r=Zt(e.delete),n=!0,o=0,i=arguments.length;o<i;o++)t=r.call(e,arguments[o]),n=n&&t;return!!n};Lt({target:"Map",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}});var un=function(t){var e=pr(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return j(e.call(t))},sn=function(t){return Map.prototype.entries.call(t)};Lt({target:"Map",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return!Nr(r,function(t,r){if(!n(r,t,e))return Nr.stop()},void 0,!0,!0).stopped}});var cn=qt("species"),fn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[cn])?e:Zt(r)};Lt({target:"Map",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,function(t,r){n(r,t,e)&&i.call(o,t,r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,function(t,r){if(n(r,t,e))return Nr.stop(r)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{findKey:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,function(t,r){if(n(r,t,e))return Nr.stop(t)},void 0,!0,!0).result}}),Lt({target:"Map",stat:!0},{groupBy:function(t,e){var r=new this;Zt(e);var n=Zt(r.has),o=Zt(r.get),i=Zt(r.set);return Nr(t,function(t){var a=e(t);n.call(r,a)?o.call(r,a).push(t):i.call(r,a,[t])}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{includes:function(t){return Nr(sn(j(this)),function(e,r){if((n=r)===(o=t)||n!=n&&o!=o)return Nr.stop();var n,o},void 0,!0,!0).stopped}}),Lt({target:"Map",stat:!0},{keyBy:function(t,e){var r=new this;Zt(e);var n=Zt(r.set);return Nr(t,function(t){n.call(r,e(t),t)}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{keyOf:function(t){return Nr(sn(j(this)),function(e,r){if(r===t)return Nr.stop(e)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapKeys:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,function(t,r){i.call(o,n(r,t,e),r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapValues:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Map"))),i=Zt(o.set);return Nr(r,function(t,r){i.call(o,t,n(r,t,e))},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{merge:function(t){for(var e=j(this),r=Zt(e.set),n=0;n<arguments.length;)Nr(arguments[n++],r,e,!0);return e}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=sn(e),n=arguments.length<2,o=n?void 0:arguments[1];if(Zt(t),Nr(r,function(r,i){n?(n=!1,o=i):o=t(o,i,r,e)},void 0,!0,!0),n)throw TypeError("Reduce of empty map with no initial value");return o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=sn(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,function(t,r){if(n(r,t,e))return Nr.stop()},void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{update:function(t,e){var r=j(this),n=arguments.length;Zt(e);var o=r.has(t);if(!o&&n<3)throw TypeError("Updating absent value");var i=o?r.get(t):Zt(n>2?arguments[2]:void 0)(t,r);return r.set(t,e(i,t,r)),r}});var ln=function(t,e){var r,n=j(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e&&"function"!=typeof o)throw TypeError("At least one callback required");return n.has(t)?(r=n.get(t),"function"==typeof e&&(r=e(r),n.set(t,r))):"function"==typeof o&&(r=o(),n.set(t,r)),r};Lt({target:"Map",proto:!0,real:!0,forced:q},{upsert:ln}),Lt({target:"Map",proto:!0,real:!0,forced:q},{updateOrInsert:ln});var hn="\t\n\v\f\r                 \u2028\u2029\ufeff",pn="["+hn+"]",dn=RegExp("^"+pn+pn+"*"),vn=RegExp(pn+pn+"*$"),gn=function(t){return function(e){var r=String(v(e));return 1&t&&(r=r.replace(dn,"")),2&t&&(r=r.replace(vn,"")),r}},yn={start:gn(1),end:gn(2),trim:gn(3)},mn=wt.f,bn=R.f,wn=I.f,Sn=yn.trim,En="Number",xn=n.Number,An=xn.prototype,On=h(Xt(An))==En,Rn=function(t){var e,r,n,o,i,a,u,s,c=m(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=Sn(c)).charCodeAt(0))||45===e){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,n)}return+c};if(Tt(En,!xn(" 0o1")||!xn("0b1")||xn("+0x1"))){for(var jn,Pn=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof Pn&&(On?o(function(){An.valueOf.call(r)}):h(r)!=En)?Fr(new xn(Rn(e)),r,Pn):Rn(e)},In=i?mn(xn):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Tn=0;In.length>Tn;Tn++)w(xn,jn=In[Tn])&&!w(Pn,jn)&&wn(Pn,jn,bn(xn,jn));Pn.prototype=An,An.constructor=Pn,rt(n,En,Pn)}Lt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var kn=n.isFinite;Lt({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&kn(t)}});var Ln=Math.floor,Un=function(t){return!y(t)&&isFinite(t)&&Ln(t)===t};Lt({target:"Number",stat:!0},{isInteger:Un}),Lt({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Mn=Math.abs;Lt({target:"Number",stat:!0},{isSafeInteger:function(t){return Un(t)&&Mn(t)<=9007199254740991}}),Lt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Lt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var _n=yn.trim,Nn=n.parseFloat,Cn=1/Nn(hn+"-0")!=-Infinity?function(t){var e=_n(String(t)),r=Nn(e);return 0===r&&"-"==e.charAt(0)?-0:r}:Nn;Lt({target:"Number",stat:!0,forced:Number.parseFloat!=Cn},{parseFloat:Cn});var Fn=yn.trim,Bn=n.parseInt,Dn=/^[+-]?0[Xx]/,qn=8!==Bn(hn+"08")||22!==Bn(hn+"0x16")?function(t,e){var r=Fn(String(t));return Bn(r,e>>>0||(Dn.test(r)?16:10))}:Bn;Lt({target:"Number",stat:!0,forced:Number.parseInt!=qn},{parseInt:qn});var zn=c.f,Wn=function(t){return function(e){for(var r,n=g(e),o=zt(n),a=o.length,u=0,s=[];a>u;)r=o[u++],i&&!zn.call(n,r)||s.push(t?[r,n[r]]:n[r]);return s}},Kn={entries:Wn(!0),values:Wn(!1)},Gn=Kn.entries;Lt({target:"Object",stat:!0},{entries:function(t){return Gn(t)}}),Lt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=R.f,i=Et(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&ar(a,e,r);return a}});var $n=o(function(){zt(1)});Lt({target:"Object",stat:!0,forced:$n},{keys:function(t){return zt(Ut(t))}});var Vn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Lt({target:"Object",stat:!0},{is:Vn});var Hn=Kn.values;Lt({target:"Object",stat:!0},{values:function(t){return Hn(t)}});var Xn=it("Reflect","apply"),Yn=Function.apply,Jn=!o(function(){Xn(function(){})});Lt({target:"Reflect",stat:!0,forced:Jn},{apply:function(t,e,r){return Zt(t),j(r),Xn?Xn(t,e,r):Yn.call(t,e,r)}});var Qn=[].slice,Zn={},to=function(t,e,r){if(!(e in Zn)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";Zn[e]=Function("C,a","return new C("+n.join(",")+")")}return Zn[e](t,r)},eo=Function.bind||function(t){var e=Zt(this),r=Qn.call(arguments,1),n=function(){var o=r.concat(Qn.call(arguments));return this instanceof n?to(e,o.length,o):e.apply(t,o)};return y(e.prototype)&&(n.prototype=e.prototype),n},ro=it("Reflect","construct"),no=o(function(){function t(){}return!(ro(function(){},[],t)instanceof t)}),oo=!o(function(){ro(function(){})}),io=no||oo;Lt({target:"Reflect",stat:!0,forced:io,sham:io},{construct:function(t,e){Zt(t),j(e);var r=arguments.length<3?t:Zt(arguments[2]);if(oo&&!no)return ro(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(eo.apply(t,n))}var o=r.prototype,i=Xt(y(o)?o:Object.prototype),a=Function.apply.call(t,i,e);return y(a)?a:i}});var ao=o(function(){Reflect.defineProperty(I.f({},1,{value:1}),1,{value:2})});Lt({target:"Reflect",stat:!0,forced:ao,sham:!i},{defineProperty:function(t,e,r){j(t);var n=m(e,!0);j(r);try{return I.f(t,n,r),!0}catch(t){return!1}}});var uo=R.f;Lt({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=uo(j(t),e);return!(r&&!r.configurable)&&delete t[e]}}),Lt({target:"Reflect",stat:!0},{get:function t(e,r){var n,o,i=arguments.length<3?e:arguments[2];return j(e)===i?e[r]:(n=R.f(e,r))?w(n,"value")?n.value:void 0===n.get?void 0:n.get.call(i):y(o=ke(e))?t(o,r,i):void 0}}),Lt({target:"Reflect",stat:!0,sham:!i},{getOwnPropertyDescriptor:function(t,e){return R.f(j(t),e)}}),Lt({target:"Reflect",stat:!0,sham:!Pe},{getPrototypeOf:function(t){return ke(j(t))}}),Lt({target:"Reflect",stat:!0},{has:function(t,e){return e in t}});var so=Object.isExtensible;Lt({target:"Reflect",stat:!0},{isExtensible:function(t){return j(t),!so||so(t)}}),Lt({target:"Reflect",stat:!0},{ownKeys:Et}),Lt({target:"Reflect",stat:!0,sham:!Mr},{preventExtensions:function(t){j(t);try{var e=it("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}});var co=o(function(){var t=I.f({},"a",{configurable:!0});return!1!==Reflect.set(ke(t),"a",1,t)});Lt({target:"Reflect",stat:!0,forced:co},{set:function t(e,r,n){var o,i,a=arguments.length<4?e:arguments[3],u=R.f(j(e),r);if(!u){if(y(i=ke(e)))return t(i,r,n,a);u=f(0)}if(w(u,"value")){if(!1===u.writable||!y(a))return!1;if(o=R.f(a,r)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,I.f(a,r,o)}else I.f(a,r,f(0,n));return!0}return void 0!==u.set&&(u.set.call(a,n),!0)}}),We&&Lt({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){j(t),ze(e);try{return We(t,e),!0}catch(t){return!1}}});var fo=_r.getWeakData,lo=et.set,ho=et.getterFor,po=se.find,vo=se.findIndex,go=0,yo=function(t){return t.frozen||(t.frozen=new mo)},mo=function(){this.entries=[]},bo=function(t,e){return po(t.entries,function(t){return t[0]===e})};mo.prototype={get:function(t){var e=bo(this,t);if(e)return e[1]},has:function(t){return!!bo(this,t)},set:function(t,e){var r=bo(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=vo(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var wo={getConstructor:function(t,e,r,n){var o=t(function(t,i){Cr(t,o,e),lo(t,{type:e,id:go++,frozen:void 0}),null!=i&&Nr(i,t[n],t,r)}),i=ho(e),a=function(t,e,r){var n=i(t),o=fo(j(e),!0);return!0===o?yo(n).set(e,r):o[n.id]=r,t};return Dr(o.prototype,{delete:function(t){var e=i(this);if(!y(t))return!1;var r=fo(t);return!0===r?yo(e).delete(t):r&&w(r,e.id)&&delete r[e.id]},has:function(t){var e=i(this);if(!y(t))return!1;var r=fo(t);return!0===r?yo(e).has(t):r&&w(r,e.id)}}),Dr(o.prototype,r?{get:function(t){var e=i(this);if(y(t)){var r=fo(t);return!0===r?yo(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},So=e(function(t){var e,r=et.enforce,o=!n.ActiveXObject&&"ActiveXObject"in n,i=Object.isExtensible,a=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},u=t.exports=Br("WeakMap",a,wo);if(D&&o){e=wo.getConstructor(a,"WeakMap",!0),_r.REQUIRED=!0;var s=u.prototype,c=s.delete,f=s.has,l=s.get,h=s.set;Dr(s,{delete:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),c.call(this,t)||n.frozen.delete(t)}return c.call(this,t)},has:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)||n.frozen.has(t)}return f.call(this,t)},get:function(t){if(y(t)&&!i(t)){var n=r(this);return n.frozen||(n.frozen=new e),f.call(this,t)?l.call(this,t):n.frozen.get(t)}return l.call(this,t)},set:function(t,n){if(y(t)&&!i(t)){var o=r(this);o.frozen||(o.frozen=new e),f.call(this,t)?h.call(this,t,n):o.frozen.set(t,n)}else h.call(this,t,n);return this}})}}),Eo=z("metadata"),xo=Eo.store||(Eo.store=new So),Ao=function(t,e,r){var n=xo.get(t);if(!n){if(!r)return;xo.set(t,n=new Hr)}var o=n.get(e);if(!o){if(!r)return;n.set(e,o=new Hr)}return o},Oo={store:xo,getMap:Ao,has:function(t,e,r){var n=Ao(e,r,!1);return void 0!==n&&n.has(t)},get:function(t,e,r){var n=Ao(e,r,!1);return void 0===n?void 0:n.get(t)},set:function(t,e,r,n){Ao(r,n,!0).set(t,e)},keys:function(t,e){var r=Ao(t,e,!1),n=[];return r&&r.forEach(function(t,e){n.push(e)}),n},toKey:function(t){return void 0===t||"symbol"==typeof t?t:String(t)}},Ro=Oo.toKey,jo=Oo.set;Lt({target:"Reflect",stat:!0},{defineMetadata:function(t,e,r){var n=arguments.length<4?void 0:Ro(arguments[3]);jo(t,e,j(r),n)}});var Po=Oo.toKey,Io=Oo.getMap,To=Oo.store;Lt({target:"Reflect",stat:!0},{deleteMetadata:function(t,e){var r=arguments.length<3?void 0:Po(arguments[2]),n=Io(j(e),r,!1);if(void 0===n||!n.delete(t))return!1;if(n.size)return!0;var o=To.get(e);return o.delete(r),!!o.size||To.delete(e)}});var ko=Oo.has,Lo=Oo.get,Uo=Oo.toKey,Mo=function(t,e,r){if(ko(t,e,r))return Lo(t,e,r);var n=ke(e);return null!==n?Mo(t,n,r):void 0};Lt({target:"Reflect",stat:!0},{getMetadata:function(t,e){var r=arguments.length<3?void 0:Uo(arguments[2]);return Mo(t,j(e),r)}});var _o=Br("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Vr),No=Oo.keys,Co=Oo.toKey,Fo=function(t,e){var r=No(t,e),n=ke(t);if(null===n)return r;var o,i,a=Fo(n,e);return a.length?r.length?(o=new _o(r.concat(a)),Nr(o,(i=[]).push,i),i):a:r};Lt({target:"Reflect",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:Co(arguments[1]);return Fo(j(t),e)}});var Bo=Oo.get,Do=Oo.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Do(arguments[2]);return Bo(t,j(e),r)}});var qo=Oo.keys,zo=Oo.toKey;Lt({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:zo(arguments[1]);return qo(j(t),e)}});var Wo=Oo.has,Ko=Oo.toKey,Go=function(t,e,r){if(Wo(t,e,r))return!0;var n=ke(e);return null!==n&&Go(t,n,r)};Lt({target:"Reflect",stat:!0},{hasMetadata:function(t,e){var r=arguments.length<3?void 0:Ko(arguments[2]);return Go(t,j(e),r)}});var $o=Oo.has,Vo=Oo.toKey;Lt({target:"Reflect",stat:!0},{hasOwnMetadata:function(t,e){var r=arguments.length<3?void 0:Vo(arguments[2]);return $o(t,j(e),r)}});var Ho=Oo.toKey,Xo=Oo.set;Lt({target:"Reflect",stat:!0},{metadata:function(t,e){return function(r,n){Xo(t,e,j(r),Ho(n))}}});var Yo=qt("match"),Jo=function(t){var e;return y(t)&&(void 0!==(e=t[Yo])?!!e:"RegExp"==h(t))},Qo=function(){var t=j(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Zo(t,e){return RegExp(t,e)}var ti=o(function(){var t=Zo("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),ei=o(function(){var t=Zo("^r","gy");return t.lastIndex=2,null!=t.exec("str")}),ri={UNSUPPORTED_Y:ti,BROKEN_CARET:ei},ni=I.f,oi=wt.f,ii=et.set,ai=qt("match"),ui=n.RegExp,si=ui.prototype,ci=/a/g,fi=/a/g,li=new ui(ci)!==ci,hi=ri.UNSUPPORTED_Y;if(i&&Tt("RegExp",!li||hi||o(function(){return fi[ai]=!1,ui(ci)!=ci||ui(fi)==fi||"/a/i"!=ui(ci,"i")}))){for(var pi=function(t,e){var r,n=this instanceof pi,o=Jo(t),i=void 0===e;if(!n&&o&&t.constructor===pi&&i)return t;li?o&&!i&&(t=t.source):t instanceof pi&&(i&&(e=Qo.call(t)),t=t.source),hi&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=Fr(li?new ui(t,e):ui(t,e),n?this:si,pi);return hi&&r&&ii(a,{sticky:r}),a},di=function(t){t in pi||ni(pi,t,{configurable:!0,get:function(){return ui[t]},set:function(e){ui[t]=e}})},vi=oi(ui),gi=0;vi.length>gi;)di(vi[gi++]);si.constructor=pi,pi.prototype=si,rt(n,"RegExp",pi)}zr("RegExp");var yi="toString",mi=RegExp.prototype,bi=mi.toString;(o(function(){return"/a/b"!=bi.call({source:"a",flags:"b"})})||bi.name!=yi)&&rt(RegExp.prototype,yi,function(){var t=j(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in mi)?Qo.call(t):r)},{unsafe:!0});var wi=RegExp.prototype.exec,Si=String.prototype.replace,Ei=wi,xi=function(){var t=/a/,e=/b*/g;return wi.call(t,"a"),wi.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Ai=ri.UNSUPPORTED_Y||ri.BROKEN_CARET,Oi=void 0!==/()??/.exec("")[1];(xi||Oi||Ai)&&(Ei=function(t){var e,r,n,o,i=this,a=Ai&&i.sticky,u=Qo.call(i),s=i.source,c=0,f=t;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(s="(?: "+s+")",f=" "+f,c++),r=new RegExp("^(?:"+s+")",u)),Oi&&(r=new RegExp("^"+s+"$(?!\\s)",u)),xi&&(e=i.lastIndex),n=wi.call(a?r:i,f),a?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:xi&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Oi&&n&&n.length>1&&Si.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n});var Ri=Ei;Lt({target:"RegExp",proto:!0,forced:/./.exec!==Ri},{exec:Ri}),i&&("g"!=/./g.flags||ri.UNSUPPORTED_Y)&&I.f(RegExp.prototype,"flags",{configurable:!0,get:Qo});var ji=et.get,Pi=RegExp.prototype;i&&ri.UNSUPPORTED_Y&&(0,I.f)(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==Pi){if(this instanceof RegExp)return!!ji(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}});var Ii,Ti,ki=(Ii=!1,(Ti=/[ac]/).exec=function(){return Ii=!0,/./.exec.apply(this,arguments)},!0===Ti.test("abc")&&Ii),Li=/./.test;Lt({target:"RegExp",proto:!0,forced:!ki},{test:function(t){if("function"!=typeof this.exec)return Li.call(this,t);var e=this.exec(t);if(null!==e&&!y(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}});var Ui=qt("species"),Mi=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),_i="$0"==="a".replace(/./,"$0"),Ni=qt("replace"),Ci=!!/./[Ni]&&""===/./[Ni]("a","$0"),Fi=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Bi=function(t,e,r,n){var i=qt(t),a=!o(function(){var e={};return e[i]=function(){return 7},7!=""[t](e)}),u=a&&!o(function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Ui]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e});if(!a||!u||"replace"===t&&(!Mi||!_i||Ci)||"split"===t&&!Fi){var s=/./[i],c=r(i,""[t],function(t,e,r,n,o){return e.exec===Ri?a&&!o?{done:!0,value:s.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:_i,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ci}),f=c[1];rt(String.prototype,t,c[0]),rt(RegExp.prototype,i,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&T(RegExp.prototype[i],"sham",!0)},Di=je.charAt,qi=function(t,e,r){return e+(r?Di(t,e).length:1)},zi=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==h(t))throw TypeError("RegExp#exec called on incompatible receiver");return Ri.call(t,e)};Bi("match",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this);if(!o.global)return zi(o,i);var a=o.unicode;o.lastIndex=0;for(var u,s=[],c=0;null!==(u=zi(o,i));){var f=String(u[0]);s[c]=f,""===f&&(o.lastIndex=qi(i,ft(o.lastIndex),a)),c++}return 0===c?null:s}]});var Wi=Math.max,Ki=Math.min,Gi=Math.floor,$i=/\$([$&'`]|\d\d?|<[^>]*>)/g,Vi=/\$([$&'`]|\d\d?)/g;Bi("replace",2,function(t,e,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(r,n){var o=v(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var s=r(e,t,this,n);if(s.done)return s.value}var c=j(t),f=String(this),l="function"==typeof n;l||(n=String(n));var h=c.global;if(h){var p=c.unicode;c.lastIndex=0}for(var d=[];;){var v=zi(c,f);if(null===v)break;if(d.push(v),!h)break;""===String(v[0])&&(c.lastIndex=qi(f,ft(c.lastIndex),p))}for(var g,y="",m=0,b=0;b<d.length;b++){v=d[b];for(var w=String(v[0]),S=Wi(Ki(st(v.index),f.length),0),E=[],x=1;x<v.length;x++)E.push(void 0===(g=v[x])?g:String(g));var A=v.groups;if(l){var O=[w].concat(E,S,f);void 0!==A&&O.push(A);var R=String(n.apply(void 0,O))}else R=u(w,f,S,E,A,n);S>=m&&(y+=f.slice(m,S)+R,m=S+w.length)}return y+f.slice(m)}];function u(t,r,n,o,i,a){var u=n+t.length,s=o.length,c=Vi;return void 0!==i&&(i=Ut(i),c=$i),e.call(a,c,function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=i[a.slice(1,-1)];break;default:var f=+a;if(0===f)return e;if(f>s){var l=Gi(f/10);return 0===l?e:l<=s?void 0===o[l-1]?a.charAt(1):o[l-1]+a.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}}),Bi("search",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this),a=o.lastIndex;Vn(a,0)||(o.lastIndex=0);var u=zi(o,i);return Vn(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]});var Hi=[].push,Xi=Math.min,Yi=4294967295,Ji=!o(function(){return!RegExp(Yi,"y")});Bi("split",2,function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(v(this)),o=void 0===r?Yi:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Jo(t))return e.call(n,t,o);for(var i,a,u,s=[],c=0,f=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(i=Ri.call(f,n))&&!((a=f.lastIndex)>c&&(s.push(n.slice(c,i.index)),i.length>1&&i.index<n.length&&Hi.apply(s,i.slice(1)),u=i[0].length,c=a,s.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return c===n.length?!u&&f.test("")||s.push(""):s.push(n.slice(c)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=v(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=j(t),u=String(this),s=fn(a,RegExp),c=a.unicode,f=new s(Ji?a:"^(?:"+a.source+")",(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Ji?"y":"g")),l=void 0===o?Yi:o>>>0;if(0===l)return[];if(0===u.length)return null===zi(f,u)?[u]:[];for(var h=0,p=0,d=[];p<u.length;){f.lastIndex=Ji?p:0;var v,g=zi(f,Ji?u:u.slice(p));if(null===g||(v=Xi(ft(f.lastIndex+(Ji?0:p)),u.length))===h)p=qi(u,p,c);else{if(d.push(u.slice(h,p)),d.length===l)return d;for(var y=1;y<=g.length-1;y++)if(d.push(g[y]),d.length===l)return d;p=h=v}}return d.push(u.slice(h)),d}]},!Ji),Lt({target:"Set",stat:!0},{from:nn}),Lt({target:"Set",stat:!0},{of:on});var Qi=function(){for(var t=j(this),e=Zt(t.add),r=0,n=arguments.length;r<n;r++)e.call(t,arguments[r]);return t};Lt({target:"Set",proto:!0,real:!0,forced:q},{addAll:function(){return Qi.apply(this,arguments)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}});var Zi=function(t){return Set.prototype.values.call(t)};Lt({target:"Set",proto:!0,real:!0,forced:q},{every:function(t){var e=j(this),r=Zi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return!Nr(r,function(t){if(!n(t,t,e))return Nr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{difference:function(t){var e=j(this),r=new(fn(e,it("Set")))(e),n=Zt(r.delete);return Nr(t,function(t){n.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=Zi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Set"))),i=Zt(o.add);return Nr(r,function(t){n(t,t,e)&&i.call(o,t)},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=Zi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,function(t){if(n(t,t,e))return Nr.stop(t)},void 0,!1,!0).result}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{intersection:function(t){var e=j(this),r=new(fn(e,it("Set"))),n=Zt(e.has),o=Zt(r.add);return Nr(t,function(t){n.call(e,t)&&o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isDisjointFrom:function(t){var e=j(this),r=Zt(e.has);return!Nr(t,function(t){if(!0===r.call(e,t))return Nr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSubsetOf:function(t){var e=un(this),r=j(t),n=r.has;return"function"!=typeof n&&(r=new(it("Set"))(t),n=Zt(r.has)),!Nr(e,function(t){if(!1===n.call(r,t))return Nr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSupersetOf:function(t){var e=j(this),r=Zt(e.has);return!Nr(t,function(t){if(!1===r.call(e,t))return Nr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{join:function(t){var e=j(this),r=Zi(e),n=void 0===t?",":String(t),o=[];return Nr(r,o.push,o,!1,!0),o.join(n)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{map:function(t){var e=j(this),r=Zi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3),o=new(fn(e,it("Set"))),i=Zt(o.add);return Nr(r,function(t){i.call(o,n(t,t,e))},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=Zi(e),n=arguments.length<2,o=n?void 0:arguments[1];if(Zt(t),Nr(r,function(r){n?(n=!1,o=r):o=t(o,r,r,e)},void 0,!1,!0),n)throw TypeError("Reduce of empty set with no initial value");return o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=Zi(e),n=te(t,arguments.length>1?arguments[1]:void 0,3);return Nr(r,function(t){if(n(t,t,e))return Nr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{symmetricDifference:function(t){var e=j(this),r=new(fn(e,it("Set")))(e),n=Zt(r.delete),o=Zt(r.add);return Nr(t,function(t){n.call(r,t)||o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{union:function(t){var e=j(this),r=new(fn(e,it("Set")))(e);return Nr(t,Zt(r.add),r),r}});var ta,ea,ra=it("navigator","userAgent")||"",na=n.process,oa=na&&na.versions,ia=oa&&oa.v8;ia?ea=(ta=ia.split("."))[0]+ta[1]:ra&&(!(ta=ra.match(/Edge\/(\d+)/))||ta[1]>=74)&&(ta=ra.match(/Chrome\/(\d+)/))&&(ea=ta[1]);var aa=ea&&+ea,ua=qt("species"),sa=qt("isConcatSpreadable"),ca=9007199254740991,fa="Maximum allowed index exceeded",la=aa>=51||!o(function(){var t=[];return t[sa]=!1,t.concat()[0]!==t}),ha=aa>=51||!o(function(){var t=[];return(t.constructor={})[ua]=function(){return{foo:1}},1!==t.concat(Boolean).foo}),pa=function(t){if(!y(t))return!1;var e=t[sa];return void 0!==e?!!e:ne(t)};Lt({target:"Array",proto:!0,forced:!la||!ha},{concat:function(t){var e,r,n,o,i,a=Ut(this),u=ie(a,0),s=0;for(e=-1,n=arguments.length;e<n;e++)if(pa(i=-1===e?a:arguments[e])){if(s+(o=ft(i.length))>ca)throw TypeError(fa);for(r=0;r<o;r++,s++)r in i&&ar(u,s,i[r])}else{if(s>=ca)throw TypeError(fa);ar(u,s++,i)}return u.length=s,u}});var da=wt.f,va={}.toString,ga="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ya={f:function(t){return ga&&"[object Window]"==va.call(t)?function(t){try{return da(t)}catch(t){return ga.slice()}}(t):da(g(t))}},ma={f:qt},ba=I.f,wa=function(t){var e=nt.Symbol||(nt.Symbol={});w(e,t)||ba(e,t,{value:ma.f(t)})},Sa=se.forEach,Ea=V("hidden"),xa="Symbol",Aa=qt("toPrimitive"),Oa=et.set,Ra=et.getterFor(xa),ja=Object.prototype,Pa=n.Symbol,Ia=it("JSON","stringify"),Ta=R.f,ka=I.f,La=ya.f,Ua=c.f,Ma=z("symbols"),_a=z("op-symbols"),Na=z("string-to-symbol-registry"),Ca=z("symbol-to-string-registry"),Fa=z("wks"),Ba=n.QObject,Da=!Ba||!Ba.prototype||!Ba.prototype.findChild,qa=i&&o(function(){return 7!=Xt(ka({},"a",{get:function(){return ka(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=Ta(ja,e);n&&delete ja[e],ka(t,e,r),n&&t!==ja&&ka(ja,e,n)}:ka,za=function(t,e){var r=Ma[t]=Xt(Pa.prototype);return Oa(r,{type:xa,tag:t,description:e}),i||(r.description=e),r},Wa=Ct?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Pa},Ka=function(t,e,r){t===ja&&Ka(_a,e,r),j(t);var n=m(e,!0);return j(r),w(Ma,n)?(r.enumerable?(w(t,Ea)&&t[Ea][n]&&(t[Ea][n]=!1),r=Xt(r,{enumerable:f(0,!1)})):(w(t,Ea)||ka(t,Ea,f(1,{})),t[Ea][n]=!0),qa(t,n,r)):ka(t,n,r)},Ga=function(t,e){j(t);var r=g(e),n=zt(r).concat(Xa(r));return Sa(n,function(e){i&&!$a.call(r,e)||Ka(t,e,r[e])}),t},$a=function(t){var e=m(t,!0),r=Ua.call(this,e);return!(this===ja&&w(Ma,e)&&!w(_a,e))&&(!(r||!w(this,e)||!w(Ma,e)||w(this,Ea)&&this[Ea][e])||r)},Va=function(t,e){var r=g(t),n=m(e,!0);if(r!==ja||!w(Ma,n)||w(_a,n)){var o=Ta(r,n);return!o||!w(Ma,n)||w(r,Ea)&&r[Ea][n]||(o.enumerable=!0),o}},Ha=function(t){var e=La(g(t)),r=[];return Sa(e,function(t){w(Ma,t)||w(H,t)||r.push(t)}),r},Xa=function(t){var e=t===ja,r=La(e?_a:g(t)),n=[];return Sa(r,function(t){!w(Ma,t)||e&&!w(ja,t)||n.push(Ma[t])}),n};if(Nt||(Pa=function(){if(this instanceof Pa)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=G(t),r=function(t){this===ja&&r.call(_a,t),w(this,Ea)&&w(this[Ea],e)&&(this[Ea][e]=!1),qa(this,e,f(1,t))};return i&&Da&&qa(ja,e,{configurable:!0,set:r}),za(e,t)},rt(Pa.prototype,"toString",function(){return Ra(this).tag}),rt(Pa,"withoutSetter",function(t){return za(G(t),t)}),c.f=$a,I.f=Ka,R.f=Va,wt.f=ya.f=Ha,St.f=Xa,ma.f=function(t){return za(qt(t),t)},i&&(ka(Pa.prototype,"description",{configurable:!0,get:function(){return Ra(this).description}}),rt(ja,"propertyIsEnumerable",$a,{unsafe:!0}))),Lt({global:!0,wrap:!0,forced:!Nt,sham:!Nt},{Symbol:Pa}),Sa(zt(Fa),function(t){wa(t)}),Lt({target:xa,stat:!0,forced:!Nt},{for:function(t){var e=String(t);if(w(Na,e))return Na[e];var r=Pa(e);return Na[e]=r,Ca[r]=e,r},keyFor:function(t){if(!Wa(t))throw TypeError(t+" is not a symbol");if(w(Ca,t))return Ca[t]},useSetter:function(){Da=!0},useSimple:function(){Da=!1}}),Lt({target:"Object",stat:!0,forced:!Nt,sham:!i},{create:function(t,e){return void 0===e?Xt(t):Ga(Xt(t),e)},defineProperty:Ka,defineProperties:Ga,getOwnPropertyDescriptor:Va}),Lt({target:"Object",stat:!0,forced:!Nt},{getOwnPropertyNames:Ha,getOwnPropertySymbols:Xa}),Lt({target:"Object",stat:!0,forced:o(function(){St.f(1)})},{getOwnPropertySymbols:function(t){return St.f(Ut(t))}}),Ia){var Ya=!Nt||o(function(){var t=Pa();return"[null]"!=Ia([t])||"{}"!=Ia({a:t})||"{}"!=Ia(Object(t))});Lt({target:"JSON",stat:!0,forced:Ya},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(y(e)||void 0!==t)&&!Wa(t))return ne(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Wa(e))return e}),o[1]=e,Ia.apply(null,o)}})}Pa.prototype[Aa]||T(Pa.prototype,Aa,Pa.prototype.valueOf),Ce(Pa,xa),H[Ea]=!0,wa("asyncIterator");var Ja=I.f,Qa=n.Symbol;if(i&&"function"==typeof Qa&&(!("description"in Qa.prototype)||void 0!==Qa().description)){var Za={},tu=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof tu?new Qa(t):void 0===t?Qa():Qa(t);return""===t&&(Za[e]=!0),e};xt(tu,Qa);var eu=tu.prototype=Qa.prototype;eu.constructor=tu;var ru=eu.toString,nu="Symbol(test)"==String(Qa("test")),ou=/^Symbol\((.*)\)[^)]+$/;Ja(eu,"description",{configurable:!0,get:function(){var t=y(this)?this.valueOf():this,e=ru.call(t);if(w(Za,t))return"";var r=nu?e.slice(7,-1):e.replace(ou,"$1");return""===r?void 0:r}}),Lt({global:!0,forced:!0},{Symbol:tu})}wa("hasInstance"),wa("isConcatSpreadable"),wa("iterator"),wa("match"),wa("matchAll"),wa("replace"),wa("search"),wa("species"),wa("split"),wa("toPrimitive"),wa("toStringTag"),wa("unscopables"),Ce(Math,"Math",!0),Ce(n.JSON,"JSON",!0),wa("asyncDispose"),wa("dispose"),wa("observable"),wa("patternMatch"),wa("replaceAll"),ma.f("asyncIterator");var iu=je.codeAt;Lt({target:"String",proto:!0},{codePointAt:function(t){return iu(this,t)}}),re("String","codePointAt");var au,uu=function(t){if(Jo(t))throw TypeError("The method doesn't accept regular expressions");return t},su=qt("match"),cu=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[su]=!1,"/./"[t](e)}catch(t){}}return!1},fu=R.f,lu="".endsWith,hu=Math.min,pu=cu("endsWith"),du=!(pu||(au=fu(String.prototype,"endsWith"),!au||au.writable));Lt({target:"String",proto:!0,forced:!du&&!pu},{endsWith:function(t){var e=String(v(this));uu(t);var r=arguments.length>1?arguments[1]:void 0,n=ft(e.length),o=void 0===r?n:hu(ft(r),n),i=String(t);return lu?lu.call(e,i,o):e.slice(o-i.length,o)===i}}),re("String","endsWith");var vu=String.fromCharCode,gu=String.fromCodePoint;Lt({target:"String",stat:!0,forced:!!gu&&1!=gu.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],pt(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?vu(e):vu(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}}),Lt({target:"String",proto:!0,forced:!cu("includes")},{includes:function(t){return!!~String(v(this)).indexOf(uu(t),arguments.length>1?arguments[1]:void 0)}}),re("String","includes");var yu="".repeat||function(t){var e=String(v(this)),r="",n=st(t);if(n<0||Infinity==n)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},mu=Math.ceil,bu=function(t){return function(e,r,n){var o,i,a=String(v(e)),u=a.length,s=void 0===n?" ":String(n),c=ft(r);return c<=u||""==s?a:((i=yu.call(s,mu((o=c-u)/s.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},wu={start:bu(!1),end:bu(!0)},Su=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(ra),Eu=wu.start;Lt({target:"String",proto:!0,forced:Su},{padStart:function(t){return Eu(this,t,arguments.length>1?arguments[1]:void 0)}}),re("String","padStart");var xu=wu.end;Lt({target:"String",proto:!0,forced:Su},{padEnd:function(t){return xu(this,t,arguments.length>1?arguments[1]:void 0)}}),re("String","padEnd"),Lt({target:"String",stat:!0},{raw:function(t){for(var e=g(t.raw),r=ft(e.length),n=arguments.length,o=[],i=0;r>i;)o.push(String(e[i++])),i<n&&o.push(String(arguments[i]));return o.join("")}}),Lt({target:"String",proto:!0},{repeat:yu}),re("String","repeat");var Au=R.f,Ou="".startsWith,Ru=Math.min,ju=cu("startsWith"),Pu=!ju&&!!function(){var t=Au(String.prototype,"startsWith");return t&&!t.writable}();Lt({target:"String",proto:!0,forced:!Pu&&!ju},{startsWith:function(t){var e=String(v(this));uu(t);var r=ft(Ru(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return Ou?Ou.call(e,n,r):e.slice(r,r+n.length)===n}}),re("String","startsWith");var Iu=function(t){return o(function(){return!!hn[t]()||"​…᠎"!="​…᠎"[t]()||hn[t].name!==t})},Tu=yn.start,ku=Iu("trimStart"),Lu=ku?function(){return Tu(this)}:"".trimStart;Lt({target:"String",proto:!0,forced:ku},{trimStart:Lu,trimLeft:Lu}),re("String","trimLeft");var Uu=yn.end,Mu=Iu("trimEnd"),_u=Mu?function(){return Uu(this)}:"".trimEnd;Lt({target:"String",proto:!0,forced:Mu},{trimEnd:_u,trimRight:_u}),re("String","trimRight");var Nu=qt("iterator"),Cu=!o(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Nu]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),Fu=Object.assign,Bu=Object.defineProperty,Du=!Fu||o(function(){if(i&&1!==Fu({b:1},Fu(Bu({},"a",{enumerable:!0,get:function(){Bu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=Fu({},t)[r]||zt(Fu({},e)).join("")!=n})?function(t,e){for(var r=Ut(t),n=arguments.length,o=1,a=St.f,u=c.f;n>o;)for(var s,f=d(arguments[o++]),l=a?zt(f).concat(a(f)):zt(f),h=l.length,p=0;h>p;)s=l[p++],i&&!u.call(f,s)||(r[s]=f[s]);return r}:Fu,qu=2147483647,zu=/[^\0-\u007E]/,Wu=/[.\u3002\uFF0E\uFF61]/g,Ku="Overflow: input needs wider integers to process",Gu=Math.floor,$u=String.fromCharCode,Vu=function(t){return t+22+75*(t<26)},Hu=function(t,e,r){var n=0;for(t=r?Gu(t/700):t>>1,t+=Gu(t/e);t>455;n+=36)t=Gu(t/35);return Gu(n+36*t/(t+38))},Xu=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var o=t.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=t.charCodeAt(r++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),r--)}else e.push(o)}return e}(t);var r,n,o=t.length,i=128,a=0,u=72;for(r=0;r<t.length;r++)(n=t[r])<128&&e.push($u(n));var s=e.length,c=s;for(s&&e.push("-");c<o;){var f=qu;for(r=0;r<t.length;r++)(n=t[r])>=i&&n<f&&(f=n);var l=c+1;if(f-i>Gu((qu-a)/l))throw RangeError(Ku);for(a+=(f-i)*l,i=f,r=0;r<t.length;r++){if((n=t[r])<i&&++a>qu)throw RangeError(Ku);if(n==i){for(var h=a,p=36;;p+=36){var d=p<=u?1:p>=u+26?26:p-u;if(h<d)break;var v=h-d,g=36-d;e.push($u(Vu(d+v%g))),h=Gu(v/g)}e.push($u(Vu(h))),u=Hu(a,l,c==s),a=0,++c}}++a,++i}return e.join("")},Yu=it("fetch"),Ju=it("Headers"),Qu=qt("iterator"),Zu="URLSearchParams",ts="URLSearchParamsIterator",es=et.set,rs=et.getterFor(Zu),ns=et.getterFor(ts),os=/\+/g,is=Array(4),as=function(t){return is[t-1]||(is[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},us=function(t){try{return decodeURIComponent(t)}catch(e){return t}},ss=function(t){var e=t.replace(os," "),r=4;try{return decodeURIComponent(e)}catch(t){for(;r;)e=e.replace(as(r--),us);return e}},cs=/[!'()~]|%20/g,fs={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ls=function(t){return fs[t]},hs=function(t){return encodeURIComponent(t).replace(cs,ls)},ps=function(t,e){if(e)for(var r,n,o=e.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),t.push({key:ss(n.shift()),value:ss(n.join("="))}))},ds=function(t){this.entries.length=0,ps(this.entries,t)},vs=function(t,e){if(t<e)throw TypeError("Not enough arguments")},gs=qe(function(t,e){es(this,{type:ts,iterator:un(rs(t).entries),kind:e})},"Iterator",function(){var t=ns(this),e=t.kind,r=t.iterator.next(),n=r.value;return r.done||(r.value="keys"===e?n.key:"values"===e?n.value:[n.key,n.value]),r}),ys=function(){Cr(this,ys,Zu);var t,e,r,n,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,f=this,l=[];if(es(f,{type:Zu,entries:l,updateURL:function(){},updateSearchParams:ds}),void 0!==c)if(y(c))if("function"==typeof(t=pr(c)))for(r=(e=t.call(c)).next;!(n=r.call(e)).done;){if((a=(i=(o=un(j(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");l.push({key:a.value+"",value:u.value+""})}else for(s in c)w(c,s)&&l.push({key:s,value:c[s]+""});else ps(l,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},ms=ys.prototype;Dr(ms,{append:function(t,e){vs(arguments.length,2);var r=rs(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){vs(arguments.length,1);for(var e=rs(this),r=e.entries,n=t+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;e.updateURL()},get:function(t){vs(arguments.length,1);for(var e=rs(this).entries,r=t+"",n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){vs(arguments.length,1);for(var e=rs(this).entries,r=t+"",n=[],o=0;o<e.length;o++)e[o].key===r&&n.push(e[o].value);return n},has:function(t){vs(arguments.length,1);for(var e=rs(this).entries,r=t+"",n=0;n<e.length;)if(e[n++].key===r)return!0;return!1},set:function(t,e){vs(arguments.length,1);for(var r,n=rs(this),o=n.entries,i=!1,a=t+"",u=e+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=u));i||o.push({key:a,value:u}),n.updateURL()},sort:function(){var t,e,r,n=rs(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(t=i[r],e=0;e<r;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=rs(this).entries,n=te(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((e=r[o++]).value,e.key,this)},keys:function(){return new gs(this,"keys")},values:function(){return new gs(this,"values")},entries:function(){return new gs(this,"entries")}},{enumerable:!0}),rt(ms,Qu,ms.entries),rt(ms,"toString",function(){for(var t,e=rs(this).entries,r=[],n=0;n<e.length;)t=e[n++],r.push(hs(t.key)+"="+hs(t.value));return r.join("&")},{enumerable:!0}),Ce(ys,Zu),Lt({global:!0,forced:!Cu},{URLSearchParams:ys}),Cu||"function"!=typeof Yu||"function"!=typeof Ju||Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,r,n,o=[t];return arguments.length>1&&(y(e=arguments[1])&&lr(r=e.body)===Zu&&((n=e.headers?new Ju(e.headers):new Ju).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=Xt(e,{body:f(0,String(r)),headers:f(0,n)})),o.push(e)),Yu.apply(this,o)}});var bs,ws={URLSearchParams:ys,getState:rs},Ss=je.codeAt,Es=n.URL,xs=ws.URLSearchParams,As=ws.getState,Os=et.set,Rs=et.getterFor("URL"),js=Math.floor,Ps=Math.pow,Is="Invalid scheme",Ts="Invalid host",ks="Invalid port",Ls=/[A-Za-z]/,Us=/[\d+-.A-Za-z]/,Ms=/\d/,_s=/^(0x|0X)/,Ns=/^[0-7]+$/,Cs=/^\d+$/,Fs=/^[\dA-Fa-f]+$/,Bs=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,Ds=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,qs=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,zs=/[\u0009\u000A\u000D]/g,Ws=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return Ts;if(!(r=Gs(e.slice(1,-1))))return Ts;t.host=r}else if(Zs(t)){if(e=function(t){var e,r,n=[],o=t.toLowerCase().replace(Wu,".").split(".");for(e=0;e<o.length;e++)n.push(zu.test(r=o[e])?"xn--"+Xu(r):r);return n.join(".")}(e),Bs.test(e))return Ts;if(null===(r=Ks(e)))return Ts;t.host=r}else{if(Ds.test(e))return Ts;for(r="",n=dr(e),o=0;o<n.length;o++)r+=Js(n[o],Vs);t.host=r}},Ks=function(t){var e,r,n,o,i,a,u,s=t.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(e=s.length)>4)return t;for(r=[],n=0;n<e;n++){if(""==(o=s[n]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=_s.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Cs:8==i?Ns:Fs).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n<e;n++)if(a=r[n],n==e-1){if(a>=Ps(256,5-e))return null}else if(a>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*Ps(256,3-n);return u},Gs=function(t){var e,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,h=function(){return t.charAt(l)};if(":"==h()){if(":"!=t.charAt(1))return;l+=2,f=++c}for(;h();){if(8==c)return;if(":"!=h()){for(e=r=0;r<4&&Fs.test(h());)e=16*e+parseInt(h(),16),l++,r++;if("."==h()){if(0==r)return;if(l-=r,c>6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!Ms.test(h()))return;for(;Ms.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s},$s=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=js(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},Vs={},Hs=Du({},Vs,{" ":1,'"':1,"<":1,">":1,"`":1}),Xs=Du({},Hs,{"#":1,"?":1,"{":1,"}":1}),Ys=Du({},Xs,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Js=function(t,e){var r=Ss(t,0);return r>32&&r<127&&!w(e,t)?t:encodeURIComponent(t)},Qs={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Zs=function(t){return w(Qs,t.scheme)},tc=function(t){return""!=t.username||""!=t.password},ec=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},rc=function(t,e){var r;return 2==t.length&&Ls.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},nc=function(t){var e;return t.length>1&&rc(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},oc=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&rc(e[0],!0)||e.pop()},ic=function(t){return"."===t||"%2e"===t.toLowerCase()},ac={},uc={},sc={},cc={},fc={},lc={},hc={},pc={},dc={},vc={},gc={},yc={},mc={},bc={},wc={},Sc={},Ec={},xc={},Ac={},Oc={},Rc={},jc=function(t,e,r,n){var o,i,a,u,s,c=r||ac,f=0,l="",h=!1,p=!1,d=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(qs,"")),e=e.replace(zs,""),o=dr(e);f<=o.length;){switch(i=o[f],c){case ac:if(!i||!Ls.test(i)){if(r)return Is;c=sc;continue}l+=i.toLowerCase(),c=uc;break;case uc:if(i&&(Us.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return Is;l="",c=sc,f=0;continue}if(r&&(Zs(t)!=w(Qs,l)||"file"==l&&(tc(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=l,r)return void(Zs(t)&&Qs[t.scheme]==t.port&&(t.port=null));l="","file"==t.scheme?c=bc:Zs(t)&&n&&n.scheme==t.scheme?c=cc:Zs(t)?c=pc:"/"==o[f+1]?(c=fc,f++):(t.cannotBeABaseURL=!0,t.path.push(""),c=Ac)}break;case sc:if(!n||n.cannotBeABaseURL&&"#"!=i)return Is;if(n.cannotBeABaseURL&&"#"==i){t.scheme=n.scheme,t.path=n.path.slice(),t.query=n.query,t.fragment="",t.cannotBeABaseURL=!0,c=Rc;break}c="file"==n.scheme?bc:lc;continue;case cc:if("/"!=i||"/"!=o[f+1]){c=lc;continue}c=dc,f++;break;case fc:if("/"==i){c=vc;break}c=xc;continue;case lc:if(t.scheme=n.scheme,i==bs)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query;else if("/"==i||"\\"==i&&Zs(t))c=hc;else if("?"==i)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query="",c=Oc;else{if("#"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.path.pop(),c=xc;continue}t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Rc}break;case hc:if(!Zs(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,c=xc;continue}c=vc}else c=dc;break;case pc:if(c=dc,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case dc:if("/"!=i&&"\\"!=i){c=vc;continue}break;case vc:if("@"==i){h&&(l="%40"+l),h=!0,a=dr(l);for(var v=0;v<a.length;v++){var g=a[v];if(":"!=g||d){var y=Js(g,Ys);d?t.password+=y:t.username+=y}else d=!0}l=""}else if(i==bs||"/"==i||"?"==i||"#"==i||"\\"==i&&Zs(t)){if(h&&""==l)return"Invalid authority";f-=dr(l).length+1,l="",c=gc}else l+=i;break;case gc:case yc:if(r&&"file"==t.scheme){c=Sc;continue}if(":"!=i||p){if(i==bs||"/"==i||"?"==i||"#"==i||"\\"==i&&Zs(t)){if(Zs(t)&&""==l)return Ts;if(r&&""==l&&(tc(t)||null!==t.port))return;if(u=Ws(t,l))return u;if(l="",c=Ec,r)return;continue}"["==i?p=!0:"]"==i&&(p=!1),l+=i}else{if(""==l)return Ts;if(u=Ws(t,l))return u;if(l="",c=mc,r==yc)return}break;case mc:if(!Ms.test(i)){if(i==bs||"/"==i||"?"==i||"#"==i||"\\"==i&&Zs(t)||r){if(""!=l){var m=parseInt(l,10);if(m>65535)return ks;t.port=Zs(t)&&m===Qs[t.scheme]?null:m,l=""}if(r)return;c=Ec;continue}return ks}l+=i;break;case bc:if(t.scheme="file","/"==i||"\\"==i)c=wc;else{if(!n||"file"!=n.scheme){c=xc;continue}if(i==bs)t.host=n.host,t.path=n.path.slice(),t.query=n.query;else if("?"==i)t.host=n.host,t.path=n.path.slice(),t.query="",c=Oc;else{if("#"!=i){nc(o.slice(f).join(""))||(t.host=n.host,t.path=n.path.slice(),oc(t)),c=xc;continue}t.host=n.host,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Rc}}break;case wc:if("/"==i||"\\"==i){c=Sc;break}n&&"file"==n.scheme&&!nc(o.slice(f).join(""))&&(rc(n.path[0],!0)?t.path.push(n.path[0]):t.host=n.host),c=xc;continue;case Sc:if(i==bs||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&rc(l))c=xc;else if(""==l){if(t.host="",r)return;c=Ec}else{if(u=Ws(t,l))return u;if("localhost"==t.host&&(t.host=""),r)return;l="",c=Ec}continue}l+=i;break;case Ec:if(Zs(t)){if(c=xc,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=bs&&(c=xc,"/"!=i))continue}else t.fragment="",c=Rc;else t.query="",c=Oc;break;case xc:if(i==bs||"/"==i||"\\"==i&&Zs(t)||!r&&("?"==i||"#"==i)){if(".."===(s=(s=l).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(oc(t),"/"==i||"\\"==i&&Zs(t)||t.path.push("")):ic(l)?"/"==i||"\\"==i&&Zs(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&rc(l)&&(t.host&&(t.host=""),l=l.charAt(0)+":"),t.path.push(l)),l="","file"==t.scheme&&(i==bs||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",c=Oc):"#"==i&&(t.fragment="",c=Rc)}else l+=Js(i,Xs);break;case Ac:"?"==i?(t.query="",c=Oc):"#"==i?(t.fragment="",c=Rc):i!=bs&&(t.path[0]+=Js(i,Vs));break;case Oc:r||"#"!=i?i!=bs&&("'"==i&&Zs(t)?t.query+="%27":t.query+="#"==i?"%23":Js(i,Vs)):(t.fragment="",c=Rc);break;case Rc:i!=bs&&(t.fragment+=Js(i,Hs))}f++}},Pc=function(t){var e,r,n=Cr(this,Pc,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),u=Os(n,{type:"URL"});if(void 0!==o)if(o instanceof Pc)e=Rs(o);else if(r=jc(e={},String(o)))throw TypeError(r);if(r=jc(u,a,null,e))throw TypeError(r);var s=u.searchParams=new xs,c=As(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(n.href=Tc.call(n),n.origin=kc.call(n),n.protocol=Lc.call(n),n.username=Uc.call(n),n.password=Mc.call(n),n.host=_c.call(n),n.hostname=Nc.call(n),n.port=Cc.call(n),n.pathname=Fc.call(n),n.search=Bc.call(n),n.searchParams=Dc.call(n),n.hash=qc.call(n))},Ic=Pc.prototype,Tc=function(){var t=Rs(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",tc(t)&&(c+=r+(n?":"+n:"")+"@"),c+=$s(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},kc=function(){var t=Rs(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Zs(t)?e+"://"+$s(t.host)+(null!==r?":"+r:""):"null"},Lc=function(){return Rs(this).scheme+":"},Uc=function(){return Rs(this).username},Mc=function(){return Rs(this).password},_c=function(){var t=Rs(this),e=t.host,r=t.port;return null===e?"":null===r?$s(e):$s(e)+":"+r},Nc=function(){var t=Rs(this).host;return null===t?"":$s(t)},Cc=function(){var t=Rs(this).port;return null===t?"":String(t)},Fc=function(){var t=Rs(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Bc=function(){var t=Rs(this).query;return t?"?"+t:""},Dc=function(){return Rs(this).searchParams},qc=function(){var t=Rs(this).fragment;return t?"#"+t:""},zc=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&Wt(Ic,{href:zc(Tc,function(t){var e=Rs(this),r=String(t),n=jc(e,r);if(n)throw TypeError(n);As(e.searchParams).updateSearchParams(e.query)}),origin:zc(kc),protocol:zc(Lc,function(t){var e=Rs(this);jc(e,String(t)+":",ac)}),username:zc(Uc,function(t){var e=Rs(this),r=dr(String(t));if(!ec(e)){e.username="";for(var n=0;n<r.length;n++)e.username+=Js(r[n],Ys)}}),password:zc(Mc,function(t){var e=Rs(this),r=dr(String(t));if(!ec(e)){e.password="";for(var n=0;n<r.length;n++)e.password+=Js(r[n],Ys)}}),host:zc(_c,function(t){var e=Rs(this);e.cannotBeABaseURL||jc(e,String(t),gc)}),hostname:zc(Nc,function(t){var e=Rs(this);e.cannotBeABaseURL||jc(e,String(t),yc)}),port:zc(Cc,function(t){var e=Rs(this);ec(e)||(""==(t=String(t))?e.port=null:jc(e,t,mc))}),pathname:zc(Fc,function(t){var e=Rs(this);e.cannotBeABaseURL||(e.path=[],jc(e,t+"",Ec))}),search:zc(Bc,function(t){var e=Rs(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",jc(e,t,Oc)),As(e.searchParams).updateSearchParams(e.query)}),searchParams:zc(Dc),hash:zc(qc,function(t){var e=Rs(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",jc(e,t,Rc)):e.fragment=null})}),rt(Ic,"toJSON",function(){return Tc.call(this)},{enumerable:!0}),rt(Ic,"toString",function(){return Tc.call(this)},{enumerable:!0}),Es){var Wc=Es.createObjectURL,Kc=Es.revokeObjectURL;Wc&&rt(Pc,"createObjectURL",function(t){return Wc.apply(Es,arguments)}),Kc&&rt(Pc,"revokeObjectURL",function(t){return Kc.apply(Es,arguments)})}Ce(Pc,"URL"),Lt({global:!0,forced:!Cu,sham:!i},{URL:Pc}),Lt({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}}),Lt({target:"WeakMap",stat:!0},{from:nn}),Lt({target:"WeakMap",stat:!0},{of:on}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}}),Lt({target:"WeakMap",proto:!0,real:!0,forced:q},{upsert:ln}),Br("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},wo),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{addAll:function(){return Qi.apply(this,arguments)}}),Lt({target:"WeakSet",proto:!0,real:!0,forced:q},{deleteAll:function(){return an.apply(this,arguments)}}),Lt({target:"WeakSet",stat:!0},{from:nn}),Lt({target:"WeakSet",stat:!0},{of:on});var Gc,$c,Vc,Hc=n.Promise,Xc=/(iphone|ipod|ipad).*applewebkit/i.test(ra),Yc=n.location,Jc=n.setImmediate,Qc=n.clearImmediate,Zc=n.process,tf=n.MessageChannel,ef=n.Dispatch,rf=0,nf={},of=function(t){if(nf.hasOwnProperty(t)){var e=nf[t];delete nf[t],e()}},af=function(t){return function(){of(t)}},uf=function(t){of(t.data)},sf=function(t){n.postMessage(t+"",Yc.protocol+"//"+Yc.host)};Jc&&Qc||(Jc=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return nf[++rf]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Gc(rf),rf},Qc=function(t){delete nf[t]},"process"==h(Zc)?Gc=function(t){Zc.nextTick(af(t))}:ef&&ef.now?Gc=function(t){ef.now(af(t))}:tf&&!Xc?(Vc=($c=new tf).port2,$c.port1.onmessage=uf,Gc=te(Vc.postMessage,Vc,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(sf)||"file:"===Yc.protocol?Gc="onreadystatechange"in x("script")?function(t){Kt.appendChild(x("script")).onreadystatechange=function(){Kt.removeChild(this),of(t)}}:function(t){setTimeout(af(t),0)}:(Gc=sf,n.addEventListener("message",uf,!1)));var cf,ff,lf,hf,pf,df,vf,gf,yf={set:Jc,clear:Qc},mf=R.f,bf=yf.set,wf=n.MutationObserver||n.WebKitMutationObserver,Sf=n.process,Ef=n.Promise,xf="process"==h(Sf),Af=mf(n,"queueMicrotask"),Of=Af&&Af.value;Of||(cf=function(){var t,e;for(xf&&(t=Sf.domain)&&t.exit();ff;){e=ff.fn,ff=ff.next;try{e()}catch(t){throw ff?hf():lf=void 0,t}}lf=void 0,t&&t.enter()},xf?hf=function(){Sf.nextTick(cf)}:wf&&!Xc?(pf=!0,df=document.createTextNode(""),new wf(cf).observe(df,{characterData:!0}),hf=function(){df.data=pf=!pf}):Ef&&Ef.resolve?(vf=Ef.resolve(void 0),gf=vf.then,hf=function(){gf.call(vf,cf)}):hf=function(){bf.call(n,cf)});var Rf,jf,Pf,If,Tf=Of||function(t){var e={fn:t,next:void 0};lf&&(lf.next=e),ff||(ff=e,hf()),lf=e},kf=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=Zt(e),this.reject=Zt(r)},Lf={f:function(t){return new kf(t)}},Uf=function(t,e){if(j(t),y(e)&&e.constructor===t)return e;var r=Lf.f(t);return(0,r.resolve)(e),r.promise},Mf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},_f=yf.set,Nf=qt("species"),Cf="Promise",Ff=et.get,Bf=et.set,Df=et.getterFor(Cf),qf=Hc,zf=n.TypeError,Wf=n.document,Kf=n.process,Gf=it("fetch"),$f=Lf.f,Vf=$f,Hf="process"==h(Kf),Xf=!!(Wf&&Wf.createEvent&&n.dispatchEvent),Yf="unhandledrejection",Jf=Tt(Cf,function(){if(F(qf)===String(qf)){if(66===aa)return!0;if(!Hf&&"function"!=typeof PromiseRejectionEvent)return!0}if(aa>=51&&/native code/.test(qf))return!1;var t=qf.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[Nf]=e,!(t.then(function(){})instanceof e)}),Qf=Jf||!br(function(t){qf.all(t).catch(function(){})}),Zf=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},tl=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;Tf(function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,s,c,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&ol(t,e),e.rejection=1),!0===l?u=o:(d&&d.enter(),u=l(o),d&&(d.exit(),c=!0)),u===f.promise?p(zf("Promise-chain cycle")):(s=Zf(u))?s.call(u,h,p):h(u)):p(o)}catch(t){d&&!c&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&rl(t,e)})}},el=function(t,e,r){var o,i;Xf?((o=Wf.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):t===Yf&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},rl=function(t,e){_f.call(n,function(){var r,n=e.value;if(nl(e)&&(r=Mf(function(){Hf?Kf.emit("unhandledRejection",n,t):el(Yf,t,n)}),e.rejection=Hf||nl(e)?2:1,r.error))throw r.value})},nl=function(t){return 1!==t.rejection&&!t.parent},ol=function(t,e){_f.call(n,function(){Hf?Kf.emit("rejectionHandled",t):el("rejectionhandled",t,e.value)})},il=function(t,e,r,n){return function(o){t(e,r,o,n)}},al=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,tl(t,e,!0))},ul=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw zf("Promise can't be resolved itself");var o=Zf(r);o?Tf(function(){var n={done:!1};try{o.call(r,il(ul,t,n,e),il(al,t,n,e))}catch(r){al(t,n,r,e)}}):(e.value=r,e.state=1,tl(t,e,!1))}catch(r){al(t,{done:!1},r,e)}}};Jf&&(qf=function(t){Cr(this,qf,Cf),Zt(t),Rf.call(this);var e=Ff(this);try{t(il(ul,this,e),il(al,this,e))}catch(t){al(this,e,t)}},(Rf=function(t){Bf(this,{type:Cf,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Dr(qf.prototype,{then:function(t,e){var r=Df(this),n=$f(fn(this,qf));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Hf?Kf.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&tl(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),jf=function(){var t=new Rf,e=Ff(t);this.promise=t,this.resolve=il(ul,t,e),this.reject=il(al,t,e)},Lf.f=$f=function(t){return t===qf||t===Pf?new jf(t):Vf(t)},"function"==typeof Hc&&(If=Hc.prototype.then,rt(Hc.prototype,"then",function(t,e){var r=this;return new qf(function(t,e){If.call(r,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof Gf&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Uf(qf,Gf.apply(n,arguments))}}))),Lt({global:!0,wrap:!0,forced:Jf},{Promise:qf}),Ce(qf,Cf,!1),zr(Cf),Pf=it(Cf),Lt({target:Cf,stat:!0,forced:Jf},{reject:function(t){var e=$f(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:Cf,stat:!0,forced:Jf},{resolve:function(t){return Uf(this,t)}}),Lt({target:Cf,stat:!0,forced:Qf},{all:function(t){var e=this,r=$f(e),n=r.resolve,o=r.reject,i=Mf(function(){var r=Zt(e.resolve),i=[],a=0,u=1;Nr(t,function(t){var s=a++,c=!1;i.push(void 0),u++,r.call(e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=$f(e),n=r.reject,o=Mf(function(){var o=Zt(e.resolve);Nr(t,function(t){o.call(e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Lt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=Lf.f(e),n=r.resolve,o=r.reject,i=Mf(function(){var r=Zt(e.resolve),o=[],i=0,a=1;Nr(t,function(t){var u=i++,s=!1;o.push(void 0),a++,r.call(e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var sl=!!Hc&&o(function(){Hc.prototype.finally.call({then:function(){}},function(){})});Lt({target:"Promise",proto:!0,real:!0,forced:sl},{finally:function(t){var e=fn(this,it("Promise")),r="function"==typeof t;return this.then(r?function(r){return Uf(e,t()).then(function(){return r})}:t,r?function(r){return Uf(e,t()).then(function(){throw r})}:t)}}),"function"!=typeof Hc||Hc.prototype.finally||rt(Hc.prototype,"finally",it("Promise").prototype.finally);var cl=et.set,fl=et.getterFor("AggregateError"),ll=function(t,e){var r=this;if(!(r instanceof ll))return new ll(t,e);We&&(r=We(new Error(e),ke(r)));var n=[];return Nr(t,n.push,n),i?cl(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==e&&T(r,"message",String(e)),r};ll.prototype=Xt(Error.prototype,{constructor:f(5,ll),message:f(5,""),name:f(5,"AggregateError")}),i&&I.f(ll.prototype,"errors",{get:function(){return fl(this).errors},configurable:!0}),Lt({global:!0},{AggregateError:ll}),Lt({target:"Promise",stat:!0},{try:function(t){var e=Lf.f(this),r=Mf(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var hl="No one promise resolved";Lt({target:"Promise",stat:!0},{any:function(t){var e=this,r=Lf.f(e),n=r.resolve,o=r.reject,i=Mf(function(){var r=Zt(e.resolve),i=[],a=0,u=1,s=!1;Nr(t,function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then(function(t){f||s||(s=!0,n(t))},function(t){f||s||(f=!0,i[c]=t,--u||o(new(it("AggregateError"))(i,hl)))})}),--u||o(new(it("AggregateError"))(i,hl))});return i.error&&o(i.value),r.promise}}),re("Promise","finally");var pl="URLSearchParams"in self,dl="Symbol"in self&&"iterator"in Symbol,vl="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),gl="FormData"in self,yl="ArrayBuffer"in self;if(yl)var ml=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],bl=ArrayBuffer.isView||function(t){return t&&ml.indexOf(Object.prototype.toString.call(t))>-1};function wl(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Sl(t){return"string"!=typeof t&&(t=String(t)),t}function El(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return dl&&(e[Symbol.iterator]=function(){return e}),e}function xl(t){this.map={},t instanceof xl?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Al(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Ol(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Rl(t){var e=new FileReader,r=Ol(e);return e.readAsArrayBuffer(t),r}function jl(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Pl(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:vl&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:gl&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:pl&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():yl&&vl&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=jl(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):yl&&(ArrayBuffer.prototype.isPrototypeOf(t)||bl(t))?this._bodyArrayBuffer=jl(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):pl&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},vl&&(this.blob=function(){var t=Al(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Al(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(Rl)}),this.text=function(){var t=Al(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=Ol(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},gl&&(this.formData=function(){return this.text().then(kl)}),this.json=function(){return this.text().then(JSON.parse)},this}xl.prototype.append=function(t,e){t=wl(t),e=Sl(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},xl.prototype.delete=function(t){delete this.map[wl(t)]},xl.prototype.get=function(t){return t=wl(t),this.has(t)?this.map[t]:null},xl.prototype.has=function(t){return this.map.hasOwnProperty(wl(t))},xl.prototype.set=function(t,e){this.map[wl(t)]=Sl(e)},xl.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},xl.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),El(t)},xl.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),El(t)},xl.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),El(t)},dl&&(xl.prototype[Symbol.iterator]=xl.prototype.entries);var Il=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Tl(t,e){var r,n,o=(e=e||{}).body;if(t instanceof Tl){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new xl(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new xl(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),Il.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function kl(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function Ll(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new xl(e.headers),this.url=e.url||"",this._initBody(t)}Tl.prototype.clone=function(){return new Tl(this,{body:this._bodyInit})},Pl.call(Tl.prototype),Pl.call(Ll.prototype),Ll.prototype.clone=function(){return new Ll(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new xl(this.headers),url:this.url})},Ll.error=function(){var t=new Ll(null,{status:0,statusText:""});return t.type="error",t};var Ul=[301,302,303,307,308];Ll.redirect=function(t,e){if(-1===Ul.indexOf(e))throw new RangeError("Invalid status code");return new Ll(null,{status:e,headers:{location:t}})};var Ml=self.DOMException;try{new Ml}catch(t){(Ml=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Ml.prototype.constructor=Ml}function _l(t,e){return new Promise(function(r,n){var o=new Tl(t,e);if(o.signal&&o.signal.aborted)return n(new Ml("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new xl,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new Ll("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new Ml("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&vl&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}_l.polyfill=!0,self.fetch||(self.fetch=_l,self.Headers=xl,self.Request=Tl,self.Response=Ll);var Nl=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable;function Bl(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}var Dl=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=Bl(t),i=1;i<arguments.length;i++){for(var a in r=Object(arguments[i]))Cl.call(r,a)&&(o[a]=r[a]);if(Nl){n=Nl(r);for(var u=0;u<n.length;u++)Fl.call(r,n[u])&&(o[n[u]]=r[n[u]])}}return o};Object.assign=Dl}();
_next/static/chunks/webpack-f84c1b8d3b892260.js ADDED
@@ -0,0 +1 @@
 
 
1
+ !function(){"use strict";var e,t,r,n,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}},n=!0;try{a[e](r,r.exports,s),n=!1}finally{n&&delete l[e]}return r.exports}s.m=a,e=[],s.O=function(t,r,n,o){if(r){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var r=e[u][0],n=e[u][1],o=e[u][2],c=!0,f=0;f<r.length;f++)i>=o&&Object.keys(s.O).every(function(e){return s.O[e](r[f])})?r.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=n();void 0!==a&&(t=a)}}return t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,n){if(1&n&&(e=this(e)),8&n||"object"==typeof e&&e&&(4&n&&e.__esModule||16&n&&"function"==typeof e.then))return e;var o=Object.create(null);s.r(o);var u={};t=t||[null,r({}),r([]),r(r)];for(var i=2&n&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},s.d(o,u),o},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce(function(t,r){return s.f[r](e,t),t},[]))},s.u=function(e){return"static/chunks/"+e+".2245e6e037fcf5cb.js"},s.miniCssF=function(e){return"static/css/bdaffc311a423cbd.css"},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="_N_E:",s.l=function(e,t,r,u){if(n[e]){n[e].push(t);return}if(void 0!==r)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",o+r),i.src=s.tu(e)),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},s.tu=function(e){return s.tt().createScriptURL(e)},s.p="/_next/",s.b=document.baseURI||self.location.href,i={272:0},s.f.j=function(e,t){var r=s.o(i,e)?i[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(272!=e){var n=new Promise(function(t,n){r=i[e]=[t,n]});t.push(r[2]=n);var o=s.p+s.u(e),u=Error();s.l(o,function(t){if(s.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",u.name="ChunkLoadError",u.type=n,u.request=o,r[1](u)}},"chunk-"+e,e)}else i[e]=0}},s.O.j=function(e){return 0===i[e]},c=function(e,t){var r,n,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(r in u)s.o(u,r)&&(s.m[r]=u[r]);if(c)var a=c(s)}for(e&&e(t);f<o.length;f++)n=o[f],s.o(i,n)&&i[n]&&i[n][0](),i[n]=0;return s.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f))}();
_next/static/css/bdaffc311a423cbd.css ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ /*
2
+ ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
3
+ */*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.static{position:static}.mt-4{margin-top:1rem}.flex{display:flex}.inline-flex{display:inline-flex}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-9{height:2.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-full{width:100%}.max-w-sm{max-width:24rem}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-dashed{border-style:dashed}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.text-center{text-align:center}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.underline-offset-4{text-underline-offset:4px}.outline{outline-style:solid}.ring-offset-white{--tw-ring-offset-color:#fff}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0) scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0) scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}:root{--foreground-rgb:0,0,0;--background-start-rgb:214,219,220;--background-end-rgb:255,255,255}@media (prefers-color-scheme:dark){:root{--foreground-rgb:255,255,255;--background-start-rgb:0,0,0;--background-end-rgb:0,0,0}}body{color:rgb(var(--foreground-rgb));background:linear-gradient(to bottom,transparent,rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb))}.hover\:underline:hover{text-decoration-line:underline}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible\:ring-gray-950:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(3 7 18/var(--tw-ring-opacity))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}@media (prefers-color-scheme:dark){.dark\:border-gray-800{--tw-border-opacity:1;border-color:rgb(31 41 55/var(--tw-border-opacity))}.dark\:text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.dark\:ring-offset-gray-950{--tw-ring-offset-color:#030712}.dark\:focus-visible\:ring-gray-300:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(209 213 219/var(--tw-ring-opacity))}}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ec159349637c90ad-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/513657b02c5c193f-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_aaf875;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_aaf875{font-family:__Inter_aaf875,__Inter_Fallback_aaf875;font-style:normal}
_next/static/media/05a31a2ca4975f99-s.woff2 ADDED
Binary file (10.5 kB). View file
 
_next/static/media/513657b02c5c193f-s.woff2 ADDED
Binary file (17.6 kB). View file
 
_next/static/media/51ed15f9841b9f9d-s.woff2 ADDED
Binary file (22.5 kB). View file
 
_next/static/media/c9a5bc6a7c948fb0-s.p.woff2 ADDED
Binary file (46.6 kB). View file
 
_next/static/media/d6b16ce4a6175f26-s.woff2 ADDED
Binary file (80 kB). View file
 
_next/static/media/ec159349637c90ad-s.woff2 ADDED
Binary file (27.3 kB). View file
 
_next/static/media/fd4db3eb5472fc27-s.woff2 ADDED
Binary file (12.8 kB). View file
 
favicon.ico ADDED
index.html CHANGED
@@ -1,19 +1 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="/Solid_black.png"/><link rel="stylesheet" href="/_next/static/css/bdaffc311a423cbd.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-f84c1b8d3b892260.js" crossorigin=""/><script src="/_next/static/chunks/fd9d1056-b57bdf07fd4ec92b.js" async="" crossorigin=""></script><script src="/_next/static/chunks/69-b3591fd8ad0215ce.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-41b03c9112f03abf.js" async="" crossorigin=""></script><script src="/_next/static/chunks/638-5d42aa82992ec559.js" async=""></script><script src="/_next/static/chunks/app/page-44e8a5d218409204.js" async=""></script><title>Create Next App</title><meta name="description" content="Generated by create next app"/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main><div class="flex flex-col items-center space-y-4"><div class="text-center space-y-2"><h1 class="text-3xl font-bold">Image Upscaler</h1><p class="text-sm text-gray-500 dark:text-gray-400">Upload an image to upscale it</p></div><div class="w-full max-w-sm space-y-2"><div class="border-dashed border-2 border-gray-200 rounded-lg w-full p-4 flex items-center justify-center border-gray-300 dark:border-gray-800"><div class="flex flex-col items-center space-y-2"><svg class="w-12 h-12" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect><circle cx="9" cy="9" r="2"></circle><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"></path></svg><span class="text-xs text-gray-500 dark:text-gray-400">Drag and drop your image here</span><span class="text-xs text-gray-500 dark:text-gray-400">or</span><button class="inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300 bg-primary text-primary-foreground hover:bg-primary/90 h-9 rounded-md px-3">Choose file</button><input type="file" id="input-file" accept="image/*" style="display:none" name="image_URL"/></div></div></div><button class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">Upscale 2x</button><div class="mt-4"><img alt="Result Image" class="rounded-lg" src="/Solid_black.png" style="object-fit:cover"/></div></div></main><script src="/_next/static/chunks/webpack-f84c1b8d3b892260.js" crossorigin="" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/bdaffc311a423cbd.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[7690,[],\"\"]\n6:I[1260,[\"638\",\"static/chunks/638-5d42aa82992ec559.js\",\"931\",\"static/chunks/app/page-44e8a5d218409204.js\"],\"\"]\n7:I[5613,[],\"\"]\n8:I[1778,[],\"\"]\na:I[8955,[],\"\"]\nb:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/bdaffc311a423cbd.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"Ir9WKnum2xVmhZw3HfoAx\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[\"$\",\"main\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex flex-col items-center space-y-4\",\"children\":[[\"$\",\"div\",null,{\"className\":\"text-center space-y-2\",\"children\":[[\"$\",\"h1\",null,{\"className\":\"text-3xl font-bold\",\"children\":\"Image Upscaler\"}],[\"$\",\"p\",null,{\"className\":\"text-sm text-gray-500 dark:text-gray-400\",\"children\":\"Upload an image to upscale it\"}]]}],[\"$\",\"$L6\",null,{}]]}]}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]}],null]],\"initialHead\":[false,\"$L9\"],\"globalErrorComponent\":\"$a\",\"missingSlots\":\"$Wb\"}]]\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Create Next App\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Generated by create next app\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
index.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ 2:I[1260,["638","static/chunks/638-5d42aa82992ec559.js","931","static/chunks/app/page-44e8a5d218409204.js"],""]
2
+ 3:I[5613,[],""]
3
+ 4:I[1778,[],""]
4
+ 0:["Ir9WKnum2xVmhZw3HfoAx",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","main",null,{"children":["$","div",null,{"className":"flex flex-col items-center space-y-4","children":[["$","div",null,{"className":"text-center space-y-2","children":[["$","h1",null,{"className":"text-3xl font-bold","children":"Image Upscaler"}],["$","p",null,{"className":"text-sm text-gray-500 dark:text-gray-400","children":"Upload an image to upscale it"}]]}],["$","$L2",null,{}]]}]}],null]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_aaf875","children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/bdaffc311a423cbd.css","precedence":"next","crossOrigin":""}]],"$L5"]]]]
5
+ 5:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Create Next App"}],["$","meta","3",{"name":"description","content":"Generated by create next app"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","5",{"name":"next-size-adjust"}]]
6
+ 1:null
next.svg ADDED
placeholder.svg ADDED
vercel.svg ADDED