Spaces:
Running
Running
feat: Using bun
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- 404.html +0 -0
- _next/static/{UK4_LsC65D_d_sZP_6S_5 → T4kgNp_52zYV_hplOcNWG}/_buildManifest.js +0 -0
- _next/static/{UK4_LsC65D_d_sZP_6S_5 → T4kgNp_52zYV_hplOcNWG}/_ssgManifest.js +0 -0
- _next/static/chunks/107-a2d03d0af5235836.js +0 -10
- _next/static/chunks/143-a7c9eb267a2325a2.js +0 -7
- _next/static/chunks/143-c7b592a3726d7fed.js +8 -0
- _next/static/chunks/{190-fbd7e2ae978b3f7a.js → 190-74c2ef00dd22af5b.js} +0 -0
- _next/static/chunks/466-8cc490905f2721ca.js +0 -0
- _next/static/chunks/466-f54fd63f687cc06e.js +0 -0
- _next/static/chunks/{50bd76a3-3480b2f334cc5792.js → 50bd76a3-7f4929e6d77cc44d.js} +0 -0
- _next/static/chunks/{590caa2a-69a13df2d4716a9e.js → 590caa2a-59a62e414f0cb318.js} +3 -3
- _next/static/chunks/{6139e184-0267cebb3003fcd3.js → 6139e184-f911fd69801d47e5.js} +0 -0
- _next/static/chunks/755-7de149ecff927fc3.js +10 -0
- _next/static/chunks/853-9e79209ace0b06cf.js +0 -0
- _next/static/chunks/876-318ea795d18aa12d.js +1 -0
- _next/static/chunks/876-502e9e9269cbab5a.js +0 -1
- _next/static/chunks/946-a8fc9ef4b57da2f1.js +0 -0
- _next/static/chunks/app/[model]/{layout-889e22c304268157.js → layout-81c98ff8b290c9fd.js} +1 -1
- _next/static/chunks/app/[model]/page-1ad28b3ad643ed0e.js +1 -0
- _next/static/chunks/app/[model]/page-7fa5ce95c1379084.js +0 -1
- _next/static/chunks/app/_not-found/{page-c5dd59427aa64169.js → page-3a53a291d7cc6d0c.js} +1 -1
- _next/static/chunks/app/layout-29d12073e48dc3e9.js +0 -1
- _next/static/chunks/app/layout-f833b5332569507c.js +1 -0
- _next/static/chunks/{fd9d1056-33d9a072d21d5daf.js → fd9d1056-81dbe5a32ad27c5b.js} +0 -0
- _next/static/chunks/{framework-aec844d2ccbe7592.js → framework-f66176bb897dc684.js} +0 -0
- _next/static/chunks/main-2c670bfcddc87928.js +0 -0
- _next/static/chunks/main-bf01c87702a52976.js +0 -0
- images/adaptive-icon.png +0 -0
- images/android-icon-192x192.png +0 -0
- images/android-icon-512x512.png +0 -0
- images/apple-icon-16x16.png +0 -0
- images/apple-icon-32x32.png +0 -0
- images/apple-icon.png +0 -0
- images/favicon.png +0 -0
- images/icon.png +0 -0
- images/safari-pinned-tab.svg +0 -18
- images/share.png +0 -0
- vercel.svg → images/vercel.svg +0 -0
- index.html +0 -0
- index.txt +4 -4
- manifest.json +6 -6
- nllb200.html +0 -0
- nllb200.txt +6 -6
- sw.js +1 -1
- vietai.html +269 -1
- vietai.txt +6 -6
- vinaien2vi.html +269 -1
- vinaien2vi.txt +6 -6
- vinaivi2en.html +269 -1
- vinaivi2en.txt +6 -6
404.html
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/{UK4_LsC65D_d_sZP_6S_5 → T4kgNp_52zYV_hplOcNWG}/_buildManifest.js
RENAMED
File without changes
|
_next/static/{UK4_LsC65D_d_sZP_6S_5 → T4kgNp_52zYV_hplOcNWG}/_ssgManifest.js
RENAMED
File without changes
|
_next/static/chunks/107-a2d03d0af5235836.js
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[107],{542:function(e,t,r){r.d(t,{G:function(){return m}});var o=r(281),l=r(9087),s=r(7449),n=r.n(s),a=r(2265);let i=["light","dark"],u="(prefers-color-scheme: dark)",h=(e,t)=>{let r;if(!(typeof window>"u")){try{r=localStorage.getItem(e)||void 0}catch{}return r||t}},d=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");var c=r(1636),f=r(2281);let m=(0,a.memo)(({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:s=!0,storageKey:n="theme",themes:m=i,defaultTheme:b=r?"system":"light",attribute:p="class",skipNextHead:k,onChangeTheme:v,value:y={dark:"t_dark",light:"t_light"},children:w})=>{let[$,C]=(0,a.useState)(()=>h(n,b)),[S,_]=(0,a.useState)(()=>h(n)),O=y?Object.values(y):m,j=(0,l.z)(r=>{let o=d(r),l=()=>_(o);t?l():a.startTransition(()=>l()),"system"!==$||e||E(o,!1)}),E=(0,l.z)((e,t=!0,o=!0)=>{let l=y?.[e]||e;if(t)try{localStorage.setItem(n,e)}catch{}if("system"===e&&r){let e=d();l=y?.[e]||e}if(v?.(l.replace("t_","")),o){let e=document.documentElement;"class"===p?(e.classList.remove(...O),e.classList.add(l)):e.setAttribute(p,l)}});(0,o.LI)(()=>{let e=window.matchMedia(u);return e.addListener(j),j(e),()=>{e.removeListener(j)}},[]);let T=(0,l.z)(t=>{e?E(t,!0,!1):E(t),C(t)});(0,a.useEffect)(()=>{let e=e=>{e.key===n&&T(e.newValue||b)};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[b,T,n]),(0,o.LI)(()=>{if(!s)return;let t=e&&i.includes(e)?e:$&&i.includes($)?$:"system"===$&&S||null;("u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")!==(t||"light")&&document.documentElement.style.setProperty("color-scheme",t)},[s,$,S,e]);let P=(0,l.z)(()=>{let e="dark"===S?["system","light","dark"]:["system","dark","light"];T(e[(e.indexOf($)+1)%e.length])}),x=r?S:void 0,M=(0,a.useMemo)(()=>({theme:$,current:$,set:T,toggle:P,forcedTheme:e,resolvedTheme:"system"===$?S:$,themes:r?[...m,"system"]:m,systemTheme:x}),[$,T,P,e,S,r,m,x]);return(0,f.jsxs)(c.m.Provider,{value:M,children:[(0,f.jsx)(g,{forcedTheme:e,storageKey:n,systemTheme:S,attribute:p,value:y,enableSystem:r,defaultTheme:b,attrs:O,skipNextHead:k}),(0,a.useMemo)(()=>w,[w])]})}),g=(0,a.memo)(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:o,defaultTheme:l,value:s,attrs:a,skipNextHead:i})=>{let h="class"===r?`var d=document.documentElement.classList;${a.map(e=>`d.remove('${e}')`).join(";")};`:"var d=document.documentElement;",d=(e,t)=>{e=s?.[e]||e;let o=t?e:`'${e}'`;return"class"===r?`d.add(${o})`:`d.setAttribute('${r}', ${o})`},c="system"===l,m=(0,f.jsx)(f.Fragment,{children:e?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){${h}${d(e)}}()`}},"next-themes-script"):o?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try {${h}var e=localStorage.getItem('${t}');${c?"":d(l)+";"}if("system"===e||(!e&&${c})){var t="${u}",m=window.matchMedia(t);m.media!==t||m.matches?${d("dark")}:${d("light")}}else if(e) ${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}catch(e){}}()`}},"next-themes-script"):(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try{${h}var e=localStorage.getItem("${t}");if(e){${s?`var x=${JSON.stringify(s)};`:""}${d(s?"x[e]":"e",!0)}}else{${d(l)};}}catch(t){}}();`}},"next-themes-script")});return i?m:(0,f.jsx)(n(),{children:m})},(e,t)=>e.forcedTheme===t.forcedTheme)},1636:function(e,t,r){r.d(t,{m:function(){return o}});let o=(0,r(2265).createContext)({toggle:()=>{},set:e=>{},themes:[]})},9010:function(e,t,r){r.d(t,{U:function(){return s}});var o=r(281),l=r(2265);let s=({fallback:e="light"}={})=>{let t=e;if(o.C5){let r=[...document.documentElement.classList];t=r.includes("t_dark")?"dark":r.includes("t_light")?"light":e}return(0,l.useState)(t)}},1542:function(e,t,r){r.d(t,{P:function(){return s}});var o=r(2265),l=r(1636);let s=()=>(0,o.useContext)(l.m)},6463:function(e,t,r){var o=r(1169);r.o(o,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return o.permanentRedirect}}),r.o(o,"useParams")&&r.d(t,{useParams:function(){return o.useParams}}),r.o(o,"usePathname")&&r.d(t,{usePathname:function(){return o.usePathname}}),r.o(o,"useSearchParams")&&r.d(t,{useSearchParams:function(){return o.useSearchParams}}),r.o(o,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return o.useServerInsertedHTML}})},7449:function(e,t){function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),("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)},7376:function(e,t,r){r.d(t,{vc:function(){return ev}});let o={ussel:"userSelect",cur:"cursor",pe:"pointerEvents",col:"color",ff:"fontFamily",fos:"fontSize",fost:"fontStyle",fow:"fontWeight",ls:"letterSpacing",lh:"lineHeight",ta:"textAlign",tt:"textTransform",ww:"wordWrap",ac:"alignContent",ai:"alignItems",als:"alignSelf",b:"bottom",bg:"backgroundColor",bbc:"borderBottomColor",bblr:"borderBottomLeftRadius",bbrr:"borderBottomRightRadius",bbw:"borderBottomWidth",blc:"borderLeftColor",blw:"borderLeftWidth",bc:"borderColor",br:"borderRadius",bs:"borderStyle",brw:"borderRightWidth",brc:"borderRightColor",btc:"borderTopColor",btlr:"borderTopLeftRadius",btrr:"borderTopRightRadius",btw:"borderTopWidth",bw:"borderWidth",dsp:"display",f:"flex",fb:"flexBasis",fd:"flexDirection",fg:"flexGrow",fs:"flexShrink",fw:"flexWrap",h:"height",jc:"justifyContent",l:"left",m:"margin",mah:"maxHeight",maw:"maxWidth",mb:"marginBottom",mih:"minHeight",miw:"minWidth",ml:"marginLeft",mr:"marginRight",mt:"marginTop",mx:"marginHorizontal",my:"marginVertical",o:"opacity",ov:"overflow",p:"padding",pb:"paddingBottom",pl:"paddingLeft",pos:"position",pr:"paddingRight",pt:"paddingTop",px:"paddingHorizontal",py:"paddingVertical",r:"right",shac:"shadowColor",shar:"shadowRadius",shof:"shadowOffset",shop:"shadowOpacity",t:"top",w:"width",zi:"zIndex"};function l(e){return Object.entries(e)}function s(e){return Object.fromEntries(e)}o.bls="borderLeftStyle",o.brs="borderRightStyle",o.bts="borderTopStyle",o.bbs="borderBottomStyle",o.bxs="boxSizing",o.bxsh="boxShadow",o.ox="overflowX",o.oy="overflowY";let n=e=>"function"==typeof e?{name:e.name||"unnamed",mask:e}:e,a=(e,t)=>{let{skip:r}=t;return Object.fromEntries(Object.entries(e).filter(([e])=>!r||!(e in r)).map(([e,r])=>[e,function(e,t,r){let o,l=r.overrideStrategy,s=r.overrideSwap?.[e];if("u">typeof s)o=s,l="swap";else{let t=r.overrideShift?.[e];if("u">typeof t)o=t,l="shift";else{let t=r.override?.[e];"u">typeof t&&(o=t,l=r.overrideStrategy)}}return typeof o>"u"||"string"==typeof o?t:"swap"===l?o:t}(e,r,t)]))},i=()=>({name:"inverse-mask",mask:(e,t)=>a(s(l(e).map(([e,t])=>[e,-t])),t)}),u=({inverse:e}={},t)=>({name:"shift-mask",mask:(r,o)=>{let{override:l,overrideStrategy:s="shift",max:n,palette:i,min:u=0,strength:h=1}={...t,...o},d=Object.entries(r),c=n??(i?Object.values(i).length-1:1/0),f={};for(let[t,r]of d){if("string"==typeof r)continue;if("number"==typeof l?.[t]){let e=l[t];f[t]="shift"===s?r+e:e;continue}if("string"==typeof l?.[t]){f[t]=l[t];continue}let o=0===r?1/r!=-1/0:r>=0,n=r+h*(o?1:-1)*(e?-1:1),a=o?Math.max(u,Math.min(c,n)):Math.min(-u,Math.max(-c,n));f[t]=a}return a(f,o)}}),h=e=>({name:"soften-mask",mask:u({},e).mask}),d=e=>({name:"strengthen-mask",mask:u({inverse:!0},e).mask}),c=new Map,f=(e,t)=>c.get(t||JSON.stringify(e)),m=(e,t)=>{let r={...t,cache:new Map};c.set(t.name||JSON.stringify(e),r),c.set(JSON.stringify(t.definition),r)},g=new Map;function b(e,t,r,o,l=!1){let s=l?"":JSON.stringify([o,e,t,r]);if(!l&&g.has(s))return g.get(s);let n={...Object.fromEntries(Object.entries(t).map(([t,r])=>[t,p(e,r)])),...r?.nonInheritedValues};return m(n,{palette:e,definition:t,options:r,name:o}),s&&g.set(s,n),n}let p=(e,t)=>{if(!e)throw Error("No palette!");if("string"==typeof t)return t;let r=e.length-1;return e[Math.min(Math.max(0,(0===t?1/t!=-1/0:t>=0)?t:r+t),r)]};function k(e,t,r={},o){let l={...r.skip};if(e.options?.nonInheritedValues)for(let t in e.options.nonInheritedValues)l[t]=1;let s={parentName:o,palette:e.palette,...r,skip:l},n=t.mask(e.definition,s),a=b(e.palette,n);return{...e,cache:new Map,definition:n,theme:a}}class v{constructor(e){this.state=e}addPalettes(e){return this.state.palettes={...this.state.palettes,...e},this}addTemplates(e){return this.state.templates={...this.state.templates,...e},this}addMasks(e){return this.state.masks={...this.state.masks,...s(l(e).map(([e,t])=>[e,n(t)]))},this}_addedThemes=[];addThemes(e){return this._addedThemes.push({type:"themes",args:[e]}),this.state.themes={...this.state.themes,...e},this}addComponentThemes(e,t){return this.addChildThemes(e,t),this}addChildThemes(e,t){let r=this.state.themes;if(!r)throw Error("No themes defined yet, use addThemes first to set your base themes");this._addedThemes.push({type:"childThemes",args:[e,t]});let o=Object.keys(r),l=Object.keys(e),s=Object.fromEntries(o.flatMap(r=>{let o=t?.avoidNestingWithin;return o&&o.some(e=>r.startsWith(e)||r.endsWith(e))?[]:l.map(t=>{let o=`${r}_${t}`,l=e[t];return"avoidNestingWithin"in l&&l.avoidNestingWithin.some(e=>r.startsWith(e)||r.endsWith(e))?null:[o,l]}).filter(Boolean)})),n={...this.state.themes,...s};return this.state.themes=n,this}build(){if(!this.state.themes)return{};let e={},t=[];for(let r in this.state.themes){let o=r.split("_"),l=o.slice(0,o.length-1).join("_"),s=this.state.themes[r],n=Array.isArray(s)?s.find(e=>!e.parent||l.endsWith(e.parent)||l.startsWith(e.parent))||null:s;if(n){if("theme"in n)e[r]=n.theme;else if("mask"in n)t.push({parentName:l,themeName:r,mask:n});else{let{palette:t="",template:s,...a}=n;if(this.state.themes[l],!this.state.palettes)throw Error(`No palettes defined for theme with palette expected: ${r}`);let i=this.state.palettes[t||""],u=`${l}_${t}`;for(;!i&&u;)u in this.state.palettes?(i=this.state.palettes[u],t=u):u=u.split("_").slice(0,-1).join("_");if(!i)throw Error("No palette for theme");let h=this.state.templates?.[s]??this.state.templates?.[`${o[0]}_${s}`];if(!h)throw Error(`No template for theme ${r}: ${s}`);e[r]=function(e,t,r,o,l,s=!1){if(!e[t])throw Error(`No pallete: ${t}`);let n={...r};for(let o in r){let l=r[o];if("string"==typeof l&&"$"===l[0]){let[r,s]=l.split("."),a=r.slice(1),i=t.split("_")[0],u=e[a]||e[`${i}_${a}`];if(u){let e=p(u,+s);"u">typeof e&&(n[o]=e)}}}return b(e[t],n,o,l,s)}(this.state.palettes,t,h,a,r,!0)}}}for(let{mask:r,themeName:o,parentName:l}of t){let t=e[l];if(!t)continue;let{mask:s,...n}=r,a=this.state.masks?.[s];if(!a)throw Error(`No mask ${s}`);let i=this.state.themes[l];if(i&&"childOptions"in i){let{mask:e,...t}=i.childOptions;e&&(a=this.state.masks?.[e]),Object.assign(n,t)}e[o]=function(e,t,r={},o,l){let s=f(e,o);if(!s)throw Error("❌ Err2");let n=k(s,t,r,o);return m(n.theme,{definition:n.definition,palette:s.palette,name:l}),n.theme}(t,a,n,l,o)}return e}}let y=(...e)=>({name:"combine-mask",mask:(t,r)=>{let o=f(t,r.parentName),l;for(let s of e){if(!o)throw Error(`Nothing returned from mask: ${o}, for template: ${t} and mask: ${s.toString()}, given opts ${JSON.stringify(r,null,2)}`);let e=k(o,s,r);o=e,l=e.theme}return l}});h(),h({strength:2}),h({strength:3}),d(),i(),y(i(),h({strength:2})),y(i(),h({strength:3})),y(i(),h({strength:4})),y(i(),d({strength:2})),n((e,t)=>{let r=d().mask(e,t),o=h().mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),n((e,t)=>{let r=h({strength:2}).mask(e,t),o=h({strength:1}).mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),n((e,t)=>{let r=h({strength:2}).mask(e,t);return{...h({strength:3}).mask(e,t),borderColor:r.borderColor,borderColorHover:r.borderColorHover,borderColorPress:r.borderColorPress,borderColorFocus:r.borderColorFocus}}),n((e,t)=>{let r=a(e,t),o=h().mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),n((e,t)=>{let r=a(e,t),o=h({strength:2}).mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}});var w,$,C=r(7104);let S={blue:{blue1:"hsl(206, 100%, 99.2%)",blue2:"hsl(210, 100%, 98.0%)",blue3:"hsl(209, 100%, 96.5%)",blue4:"hsl(210, 98.8%, 94.0%)",blue5:"hsl(209, 95.0%, 90.1%)",blue6:"hsl(209, 81.2%, 84.5%)",blue7:"hsl(208, 77.5%, 76.9%)",blue8:"hsl(206, 81.9%, 65.3%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(208, 100%, 47.3%)",blue11:"hsl(211, 100%, 43.2%)",blue12:"hsl(211, 100%, 15.0%)"},gray:{gray1:"hsl(0, 0%, 99.0%)",gray2:"hsl(0, 0%, 97.3%)",gray3:"hsl(0, 0%, 95.1%)",gray4:"hsl(0, 0%, 93.0%)",gray5:"hsl(0, 0%, 90.9%)",gray6:"hsl(0, 0%, 88.7%)",gray7:"hsl(0, 0%, 85.8%)",gray8:"hsl(0, 0%, 78.0%)",gray9:"hsl(0, 0%, 56.1%)",gray10:"hsl(0, 0%, 52.3%)",gray11:"hsl(0, 0%, 43.5%)",gray12:"hsl(0, 0%, 9.0%)"},green:{green1:"hsl(136, 50.0%, 98.9%)",green2:"hsl(138, 62.5%, 96.9%)",green3:"hsl(139, 55.2%, 94.5%)",green4:"hsl(140, 48.7%, 91.0%)",green5:"hsl(141, 43.7%, 86.0%)",green6:"hsl(143, 40.3%, 79.0%)",green7:"hsl(146, 38.5%, 69.0%)",green8:"hsl(151, 40.2%, 54.1%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(152, 57.5%, 37.6%)",green11:"hsl(153, 67.0%, 28.5%)",green12:"hsl(155, 40.0%, 14.0%)"},orange:{orange1:"hsl(24, 70.0%, 99.0%)",orange2:"hsl(24, 83.3%, 97.6%)",orange3:"hsl(24, 100%, 95.3%)",orange4:"hsl(25, 100%, 92.2%)",orange5:"hsl(25, 100%, 88.2%)",orange6:"hsl(25, 100%, 82.8%)",orange7:"hsl(24, 100%, 75.3%)",orange8:"hsl(24, 94.5%, 64.3%)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 46.5%)",orange11:"hsl(24, 100%, 37.0%)",orange12:"hsl(15, 60.0%, 17.0%)"},pink:{pink1:"hsl(322, 100%, 99.4%)",pink2:"hsl(323, 100%, 98.4%)",pink3:"hsl(323, 86.3%, 96.5%)",pink4:"hsl(323, 78.7%, 94.2%)",pink5:"hsl(323, 72.2%, 91.1%)",pink6:"hsl(323, 66.3%, 86.6%)",pink7:"hsl(323, 62.0%, 80.1%)",pink8:"hsl(323, 60.3%, 72.4%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(322, 63.9%, 50.7%)",pink11:"hsl(322, 75.0%, 46.0%)",pink12:"hsl(320, 70.0%, 13.5%)"},purple:{purple1:"hsl(280, 65.0%, 99.4%)",purple2:"hsl(276, 100%, 99.0%)",purple3:"hsl(276, 83.1%, 97.0%)",purple4:"hsl(275, 76.4%, 94.7%)",purple5:"hsl(275, 70.8%, 91.8%)",purple6:"hsl(274, 65.4%, 87.8%)",purple7:"hsl(273, 61.0%, 81.7%)",purple8:"hsl(272, 60.0%, 73.5%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(272, 46.8%, 50.3%)",purple11:"hsl(272, 50.0%, 45.8%)",purple12:"hsl(272, 66.0%, 16.0%)"},red:{red1:"hsl(359, 100%, 99.4%)",red2:"hsl(359, 100%, 98.6%)",red3:"hsl(360, 100%, 96.8%)",red4:"hsl(360, 97.9%, 94.8%)",red5:"hsl(360, 90.2%, 91.9%)",red6:"hsl(360, 81.7%, 87.8%)",red7:"hsl(359, 74.2%, 81.7%)",red8:"hsl(359, 69.5%, 74.3%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 69.4%, 55.2%)",red11:"hsl(358, 65.0%, 48.7%)",red12:"hsl(354, 50.0%, 14.6%)"},yellow:{yellow1:"hsl(60, 54.0%, 98.5%)",yellow2:"hsl(52, 100%, 95.5%)",yellow3:"hsl(55, 100%, 90.9%)",yellow4:"hsl(54, 100%, 86.6%)",yellow5:"hsl(52, 97.9%, 82.0%)",yellow6:"hsl(50, 89.4%, 76.1%)",yellow7:"hsl(47, 80.4%, 68.0%)",yellow8:"hsl(48, 100%, 46.1%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(50, 100%, 48.5%)",yellow11:"hsl(42, 100%, 29.0%)",yellow12:"hsl(40, 55.0%, 13.5%)"}},_={blue:{blue1:"hsl(212, 35.0%, 9.2%)",blue2:"hsl(216, 50.0%, 11.8%)",blue3:"hsl(214, 59.4%, 15.3%)",blue4:"hsl(214, 65.8%, 17.9%)",blue5:"hsl(213, 71.2%, 20.2%)",blue6:"hsl(212, 77.4%, 23.1%)",blue7:"hsl(211, 85.1%, 27.4%)",blue8:"hsl(211, 89.7%, 34.1%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(209, 100%, 60.6%)",blue11:"hsl(210, 100%, 66.1%)",blue12:"hsl(206, 98.0%, 95.8%)"},gray:{gray1:"hsl(0, 0%, 8.5%)",gray2:"hsl(0, 0%, 11.0%)",gray3:"hsl(0, 0%, 13.6%)",gray4:"hsl(0, 0%, 15.8%)",gray5:"hsl(0, 0%, 17.9%)",gray6:"hsl(0, 0%, 20.5%)",gray7:"hsl(0, 0%, 24.3%)",gray8:"hsl(0, 0%, 31.2%)",gray9:"hsl(0, 0%, 43.9%)",gray10:"hsl(0, 0%, 49.4%)",gray11:"hsl(0, 0%, 62.8%)",gray12:"hsl(0, 0%, 93.0%)"},green:{green1:"hsl(146, 30.0%, 7.4%)",green2:"hsl(155, 44.2%, 8.4%)",green3:"hsl(155, 46.7%, 10.9%)",green4:"hsl(154, 48.4%, 12.9%)",green5:"hsl(154, 49.7%, 14.9%)",green6:"hsl(154, 50.9%, 17.6%)",green7:"hsl(153, 51.8%, 21.8%)",green8:"hsl(151, 51.7%, 28.4%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(151, 49.3%, 46.5%)",green11:"hsl(151, 50.0%, 53.2%)",green12:"hsl(137, 72.0%, 94.0%)"},orange:{orange1:"hsl(30, 70.0%, 7.2%)",orange2:"hsl(28, 100%, 8.4%)",orange3:"hsl(26, 91.1%, 11.6%)",orange4:"hsl(25, 88.3%, 14.1%)",orange5:"hsl(24, 87.6%, 16.6%)",orange6:"hsl(24, 88.6%, 19.8%)",orange7:"hsl(24, 92.4%, 24.0%)",orange8:"hsl(25, 100%, 29.0%)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 58.5%)",orange11:"hsl(24, 100%, 62.2%)",orange12:"hsl(24, 97.0%, 93.2%)"},pink:{pink1:"hsl(318, 25.0%, 9.6%)",pink2:"hsl(319, 32.2%, 11.6%)",pink3:"hsl(319, 41.0%, 16.0%)",pink4:"hsl(320, 45.4%, 18.7%)",pink5:"hsl(320, 49.0%, 21.1%)",pink6:"hsl(321, 53.6%, 24.4%)",pink7:"hsl(321, 61.1%, 29.7%)",pink8:"hsl(322, 74.9%, 37.5%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(323, 72.8%, 59.2%)",pink11:"hsl(325, 90.0%, 66.4%)",pink12:"hsl(322, 90.0%, 95.8%)"},purple:{purple1:"hsl(284, 20.0%, 9.6%)",purple2:"hsl(283, 30.0%, 11.8%)",purple3:"hsl(281, 37.5%, 16.5%)",purple4:"hsl(280, 41.2%, 20.0%)",purple5:"hsl(279, 43.8%, 23.3%)",purple6:"hsl(277, 46.4%, 27.5%)",purple7:"hsl(275, 49.3%, 34.6%)",purple8:"hsl(272, 52.1%, 45.9%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(273, 57.3%, 59.1%)",purple11:"hsl(275, 80.0%, 71.0%)",purple12:"hsl(279, 75.0%, 95.7%)"},red:{red1:"hsl(353, 23.0%, 9.8%)",red2:"hsl(357, 34.4%, 12.0%)",red3:"hsl(356, 43.4%, 16.4%)",red4:"hsl(356, 47.6%, 19.2%)",red5:"hsl(356, 51.1%, 21.9%)",red6:"hsl(356, 55.2%, 25.9%)",red7:"hsl(357, 60.2%, 31.8%)",red8:"hsl(358, 65.0%, 40.4%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 85.3%, 64.0%)",red11:"hsl(358, 100%, 69.5%)",red12:"hsl(351, 89.0%, 96.0%)"},yellow:{yellow1:"hsl(45, 100%, 5.5%)",yellow2:"hsl(46, 100%, 6.7%)",yellow3:"hsl(45, 100%, 8.7%)",yellow4:"hsl(45, 100%, 10.4%)",yellow5:"hsl(47, 100%, 12.1%)",yellow6:"hsl(49, 100%, 14.3%)",yellow7:"hsl(49, 90.3%, 18.4%)",yellow8:"hsl(50, 100%, 22.0%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(54, 100%, 68.0%)",yellow11:"hsl(48, 100%, 47.0%)",yellow12:"hsl(53, 100%, 91.0%)"}},O="rgba(0,0,0,0.04)",j="rgba(0,0,0,0.085)",E="rgba(0,0,0,0.2)",T="rgba(0,0,0,0.3)",P={..._.blue,..._.gray,..._.green,..._.orange,..._.pink,..._.purple,..._.red,..._.yellow},x={...S.blue,...S.gray,...S.green,...S.orange,...S.pink,...S.purple,...S.red,...S.yellow},M={white0:"rgba(255,255,255,0)",white075:"rgba(255,255,255,0.75)",white05:"rgba(255,255,255,0.5)",white025:"rgba(255,255,255,0.25)",black0:"rgba(10,10,10,0)",black075:"rgba(10,10,10,0.75)",black05:"rgba(10,10,10,0.5)",black025:"rgba(10,10,10,0.25)",white1:"#fff",white2:"#f8f8f8",white3:"hsl(0, 0%, 96.3%)",white4:"hsl(0, 0%, 94.1%)",white5:"hsl(0, 0%, 92.0%)",white6:"hsl(0, 0%, 90.0%)",white7:"hsl(0, 0%, 88.5%)",white8:"hsl(0, 0%, 81.0%)",white9:"hsl(0, 0%, 56.1%)",white10:"hsl(0, 0%, 50.3%)",white11:"hsl(0, 0%, 42.5%)",white12:"hsl(0, 0%, 9.0%)",black1:"#050505",black2:"#151515",black3:"#191919",black4:"#232323",black5:"#282828",black6:"#323232",black7:"#424242",black8:"#494949",black9:"#545454",black10:"#626262",black11:"#a5a5a5",black12:"#fff",...X(x,"Light"),...X(P,"Dark")},H=(()=>{let e=(e,t=0)=>e.replace("%)",`%, ${t})`).replace("hsl(","hsla("),t=(t,r)=>{let o=Object.values(t),l=o.length-4,s=Object.values(r),n=s[0],a=s[s.length-1];return[n,e(o[0],0),e(o[0],.25),e(o[0],.5),e(o[0],.75),...o,e(o[l],.75),e(o[l],.5),e(o[l],.25),e(o[l],0),a]},r={light:M.blue4Light,dark:M.blue4Dark},o=[r.light,M.white0,M.white025,M.white05,M.white075,M.white1,M.white2,M.white3,M.white4,M.white5,M.white6,M.white7,M.white8,M.white9,M.white10,M.white11,M.white12,M.black075,M.black05,M.black025,M.black0,r.dark],l=[r.dark,M.black0,M.black025,M.black05,M.black075,M.black1,M.black2,M.black3,M.black4,M.black5,M.black6,M.black7,M.black8,M.black9,M.black10,M.black11,M.black12,M.white075,M.white05,M.white025,M.white0,r.light],s=q(S),n=K(s.map((e,r)=>[`light_${e}`,t(S[e],S[s[(r+1)%s.length]])])),a=q(_),i=K(a.map((e,r)=>[`dark_${e}`,t(_[e],S[a[(r+1)%a.length]])]));return{light:o,dark:l,...{...n,...i}}})(),F=e=>{let t="light"===e?-1:1,r=-t,o={accentBackground:0,accentColor:-0,background0:1,background025:2,background05:3,background075:4,color1:5,color2:6,color3:7,color4:8,color5:9,color6:10,color7:11,color8:12,color9:13,color10:14,color11:15,color12:16,color0:-1,color025:-2,color05:-3,color075:-4,background:5,backgroundHover:5+t,backgroundPress:5+r,backgroundFocus:5+r,borderColor:8,borderColorHover:8+t,borderColorPress:8+r,borderColorFocus:8,color:-5,colorHover:-6,colorPress:-5,colorFocus:-6,colorTransparent:-1,placeholderColor:-8,outlineColor:-2},l={background:o.background+1,backgroundHover:o.backgroundHover+1,backgroundPress:o.backgroundPress+1,backgroundFocus:o.backgroundFocus+1,borderColor:o.borderColor+1,borderColorHover:o.borderColorHover+1,borderColorFocus:o.borderColorFocus+1,borderColorPress:o.borderColorPress+1},s={background:o.background+2,backgroundHover:o.backgroundHover+2,backgroundPress:o.backgroundPress+2,backgroundFocus:o.backgroundFocus+2,borderColor:o.borderColor+2,borderColorHover:o.borderColorHover+2,borderColorFocus:o.borderColorFocus+2,borderColorPress:o.borderColorPress+2},n={background:o.background+3,backgroundHover:o.backgroundHover+3,backgroundPress:o.backgroundPress+3,backgroundFocus:o.backgroundFocus+3,borderColor:o.borderColor+3,borderColorHover:o.borderColorHover+3,borderColorFocus:o.borderColorFocus+3,borderColorPress:o.borderColorPress+3},a={background:o.background+5,backgroundHover:o.background+5,backgroundPress:o.backgroundPress+5,backgroundFocus:o.backgroundFocus+5},i={...a,borderColor:a.background,borderColorHover:a.backgroundHover,borderColorFocus:a.backgroundFocus,borderColorPress:a.backgroundPress},u={color:l.background,colorHover:l.backgroundHover,colorPress:l.backgroundPress,colorFocus:l.backgroundFocus,background:o.color,backgroundHover:o.colorHover,backgroundPress:o.colorPress,backgroundFocus:o.colorFocus,borderColor:o.color-2,borderColorHover:o.color-3,borderColorFocus:o.color-4,borderColorPress:o.color-5},h={...u,background:o.color-2,backgroundHover:o.colorHover-2,backgroundPress:o.colorPress-2,backgroundFocus:o.colorFocus-2,borderColor:o.color-2-2,borderColorHover:o.color-3-2,borderColorFocus:o.color-4-2,borderColorPress:o.color-5-2},d={color:o.color-1,colorHover:o.colorHover-1,colorPress:o.colorPress-1,colorFocus:o.colorFocus-1},c={color:o.color-2,colorHover:o.colorHover-2,colorPress:o.colorPress-2,colorFocus:o.colorFocus-2};return{base:o,alt1:d,alt2:c,surface1:l,surface2:s,surface3:n,inverseSurface1:u,inverseActive:h,surfaceActive:i}},L=F("light"),R=F("dark"),I={...K(q(L).map(e=>[`light_${e}`,L[e]])),...K(q(R).map(e=>[`dark_${e}`,R[e]]))},A={light:{...x,shadowColor:j,shadowColorHover:j,shadowColorPress:O,shadowColorFocus:O},dark:{...P,shadowColor:T,shadowColorHover:T,shadowColorPress:E,shadowColorFocus:E}},W=[{parent:"light",theme:{background:"rgba(0,0,0,0.5)"}},{parent:"dark",theme:{background:"rgba(0,0,0,0.8)"}}],N=[{parent:"active",template:"inverseActive"},{parent:"",template:"inverseSurface1"}],z=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface1"}],B=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface2"}],D=new v({}).addPalettes(H).addTemplates(I).addThemes({light:{template:"base",palette:"light",nonInheritedValues:A.light},dark:{template:"base",palette:"dark",nonInheritedValues:A.dark}}).addChildThemes({orange:{palette:"orange",template:"base"},yellow:{palette:"yellow",template:"base"},green:{palette:"green",template:"base"},blue:{palette:"blue",template:"base"},purple:{palette:"purple",template:"base"},pink:{palette:"pink",template:"base"},red:{palette:"red",template:"base"},gray:{palette:"gray",template:"base"}}).addChildThemes({alt1:{template:"alt1"},alt2:{template:"alt2"},active:{template:"surface3"},surface1:{template:"surface1"},surface2:{template:"surface2"},surface3:{template:"surface3"},surface4:{template:"surfaceActive"}}).addComponentThemes({ListItem:{template:"surface1"},SelectTrigger:z,Card:z,Button:[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface3"}],Checkbox:B,Switch:B,SwitchThumb:N,TooltipContent:B,Progress:{template:"surface1"},RadioGroupItem:B,TooltipArrow:{template:"surface1"},SliderTrackActive:{template:"surface3"},SliderTrack:{template:"surface1"},SliderThumb:N,Tooltip:N,ProgressIndicator:N,SheetOverlay:W,DialogOverlay:W,ModalOverlay:W,Input:z,TextArea:z},{avoidNestingWithin:["alt1","alt2","surface1","surface2","surface3","surface4"]}).build(),V={$0:0,"$0.25":2,"$0.5":4,"$0.75":8,$1:20,"$1.5":24,$2:28,"$2.5":32,$3:36,"$3.5":40,$4:44,$true:44,"$4.5":48,$5:52,$6:64,$7:74,$8:84,$9:94,$10:104,$11:124,$12:144,$13:164,$14:184,$15:204,$16:224,$17:224,$18:244,$19:264,$20:284},G=Object.entries(V).map(([e,t])=>[e,0===t?0:2===t?.5:4===t?1:8===t?1.5:t<=16?Math.round(.333*t):Math.floor(.7*t-12)]),U=G.slice(1).map(([e,t])=>[`-${e.slice(1)}`,-t]),J=(w={color:M,radius:{0:0,1:3,2:5,3:7,4:9,true:9,5:10,6:16,7:19,8:22,9:26,10:34,11:42,12:50},zIndex:{0:0,1:100,2:200,3:300,4:400,5:500},space:{...Object.fromEntries(G),...Object.fromEntries(U)},size:V},(0,C.D)(w));function X(e,t){return Object.fromEntries(Object.entries(e).map(([e,r])=>[`${e}${t}`,r]))}function K(e){return Object.fromEntries(e)}function q(e){return Object.keys(e)}var Y=r(281),Q=r(1333),Z=r(5390),ee=r(2265);let et="cubic-bezier(0.215, 0.610, 0.355, 1.000)",er=function(e){let t=new WeakMap;return{animations:e,usePresence:Z.oO,ResetPresence:Z.il,supportsCSSVars:!0,useAnimatedNumber(e){let[r,o]=(0,ee.useState)(e);return{getInstance:()=>o,getValue:()=>r,setValue(e,r,l){o(e);let s=t.get(o);s&&s.forEach(t=>t(e)),l?.()},stop(){}}},useAnimatedNumberReaction({value:e},r){(0,ee.useEffect)(()=>{let o=e.getInstance(),l=t.get(o);if(!l){let e=new Set;t.set(o,e),l=e}return l.add(r),()=>{l?.delete(r)}},[])},useAnimatedNumberStyle:(e,t)=>t(e.getValue()),useAnimations:({props:t,presence:r,style:o,componentState:l,stateRef:s})=>{l.unmounted;let n=r?.[0]===!1,a=r?.[1],[i,u]=[].concat(t.animation),h=e[i],d=t.animateOnly??["all"];return(0,Y.LI)(()=>{let e=s.current.host;if(!a||!n||!e)return;let t=()=>{a?.()};return e.addEventListener("transitionend",t),e.addEventListener("transitioncancel",t),()=>{e.removeEventListener("transitionend",t),e.removeEventListener("transitioncancel",t)}},[a,n]),h?(Array.isArray(o.transform)&&(o.transform=(0,Q.m)(o.transform)),o.transition=d.map(t=>{let r=e[u?.[t]]??h;return`${t} ${r}`}).join(", "),{style:o}):null}}}({"75ms":"ease-in 75ms","100ms":"ease-in 100ms","200ms":"ease-in 200ms",bouncy:"ease-in 200ms",superBouncy:"ease-in 500ms",lazy:"ease-in 1000ms",medium:"ease-in 300ms",slow:"ease-in 500ms",quick:`${et} 400ms`,quicker:`${et} 300ms`,quickest:`${et} 200ms`,tooltip:"ease-in 400ms"}),eo=["100","200","300","400","500","600","700","800","900"],el=(e,t,r)=>{if("string"==typeof e)return e;let o=Object.keys(e),l=e[o[0]];return Object.fromEntries([...new Set([...t,...o])].map(t=>{let o=e[t]??r??l;return l=o,r=o,[t,o]}))},es=e=>{let t=Object.keys(e.size);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,o])=>[r,el(o,"face"===r?eo:t,"face"===r?{normal:e.family}:void 0)])))};var en=r(2202);let ea=(e={},{sizeLineHeight:t=e=>e+10,sizeSize:r=e=>1*e}={})=>{let o=Object.fromEntries(Object.entries({...ei,...e.size}).map(([e,t])=>[e,r(+t)]));return es({family:Y.$L?'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif':"Inter",lineHeight:Object.fromEntries(Object.entries(o).map(([e,r])=>[e,t((0,en.Ve)(r))])),weight:{4:"300"},letterSpacing:{4:0},...e,size:o})},ei={1:11,2:12,3:13,4:14,true:14,5:16,6:18,7:20,8:23,9:30,10:46,11:55,12:62,13:72,14:92,15:114,16:134},eu={1:11,2:12,3:13,4:14,5:15,6:16,7:18,8:21,9:28,10:42,11:52,12:62,13:72,14:92,15:114,16:124},eh={1:10,2:11,3:12,4:14,5:15,6:16,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124},ed=((e={})=>es({family:Y.$L?"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace":"Silkscreen",size:eu,lineHeight:Object.fromEntries(Object.entries(e.size||eu).map(([e,t])=>[e,"number"==typeof t?Math.round(1.2*t+6):t])),weight:{4:"300"},letterSpacing:{4:1,5:3,6:3,9:-2,10:-3,12:-4},...e}))(),ec=ea({size:{5:13,6:15,9:32,10:44},transform:{6:"uppercase",7:"none"},weight:{6:"400",7:"700"},color:{6:"$colorFocus",7:"$color"},letterSpacing:{5:2,6:1,7:0,8:0,9:-1,10:-1.5,12:-2,14:-3,15:-4},face:{700:{normal:"InterBold"},800:{normal:"InterBold"},900:{normal:"InterBold"}}},{sizeLineHeight:e=>Math.round(1.1*e+(e<30?10:5))}),ef=ea({weight:{1:"400",7:"600"}},{sizeSize:e=>Math.round(e),sizeLineHeight:e=>Math.round(1.1*e+(e>=12?8:4))}),em=function(e,t={},{sizeLineHeight:r=e=>1.35*e}={}){let o=t.size||eh;return es({family:e,size:o,lineHeight:Object.fromEntries(Object.entries(o).map(([e,t])=>[e,r(+t)])),weight:{0:"300"},letterSpacing:{4:0},...t})}('"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',{weight:{1:"500"},size:{1:11,2:12,3:13,4:14,5:16,6:18,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124}},{sizeLineHeight:e=>1.5*e});var eg=r(9533);let eb=globalThis.matchMedia,ep=($={xl:{maxWidth:1650},lg:{maxWidth:1280},md:{maxWidth:1020},sm:{maxWidth:800},xs:{maxWidth:660},xxs:{maxWidth:390},gtXs:{minWidth:661},gtSm:{minWidth:801},gtMd:{minWidth:1021},gtLg:{minWidth:1281},gtXl:{minWidth:1651}},(0,eg.D)(eb),$);var ek=r(357);globalThis.global||=globalThis;let ev={animations:er,defaultFont:"body",shouldAddPrefersColorThemes:!0,themeClassNameOnRoot:!0,themes:"true"===ek.env.TAMAGUI_OPTIMIZE_THEMES?{}:D,media:ep,shorthands:o,tokens:J,fonts:{heading:ec,body:ef,mono:em,silkscreen:ed},mediaQueryDefaultActive:{xl:!0,lg:!0,md:!0,sm:!0,xs:!0,xxs:!1},selectionStyles:e=>e.color5?{backgroundColor:e.color5,color:e.color11}:null}},7104:function(e,t,r){r.d(t,{D:function(){return n}});var o=r(8338),l=r(2202);let s=new WeakMap,n=(e,t="",r=!1)=>{if(s.has(e))return e;let a={},i=0;for(let s in e){i++;let u=e[s],h="$"===s[0],d=h?s:`$${s}`,c=h?d.slice(1):s;if((0,l.cG)(u)){a[c]=u;continue}let f=(0,o.M)(c),m=r?f.slice(0,2):i;if(m=t?`${t}-${m}`:f,u&&"object"==typeof u){a[c]=n(e[c],m,!1);continue}let g=(0,l.cG)(u)?u:(0,l.Os)({val:u,name:m,key:d});a[c]=g}return s.set(a,!0),a}},3742:function(e,t,r){r.d(t,{KO:function(){return u}});var o=r(2265),l=r(9910);let s=(0,o.createContext)(void 0),n=e=>{let t=(0,o.useContext)(s);return(null==e?void 0:e.store)||t||(0,l.K7)()},a=e=>"function"==typeof(null==e?void 0:e.then),i=o.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e});function u(e,t){return[function(e,t){let r=n(t),[[l,s,u],h]=(0,o.useReducer)(t=>{let o=r.get(e);return Object.is(t[0],o)&&t[1]===r&&t[2]===e?t:[o,r,e]},void 0,()=>[r.get(e),r,e]),d=l;(s!==r||u!==e)&&(h(),d=r.get(e));let c=null==t?void 0:t.delay;return(0,o.useEffect)(()=>{let t=r.sub(e,()=>{if("number"==typeof c){setTimeout(h,c);return}h()});return h(),t},[r,e,c]),(0,o.useDebugValue)(d),a(d)?i(d):d}(e,t),function(e,t){let r=n(t);return(0,o.useCallback)(function(){for(var t=arguments.length,o=Array(t),l=0;l<t;l++)o[l]=arguments[l];if(!("write"in e))throw Error("not writable atom");return r.set(e,...o)},[r,e])}(e,t)]}},9910:function(e,t,r){let o;r.d(t,{K7:function(){return C},cn:function(){return s}});let l=0;function s(e,t){let r=`atom${++l}`,o={toString:()=>r};return"function"==typeof e?o.read=e:(o.init=e,o.read=n,o.write=a),t&&(o.write=t),o}function n(e){return e(this)}function a(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}let i=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,u=e=>"init"in e,h=e=>!!e.write,d=new WeakMap,c=(e,t)=>{d.set(e,t),e.catch(()=>{}).finally(()=>d.delete(e))},f=(e,t)=>{let r=d.get(e);r&&(d.delete(e),r(t))},m=(e,t)=>{e.status="fulfilled",e.value=t},g=(e,t)=>{e.status="rejected",e.reason=t},b=e=>"function"==typeof(null==e?void 0:e.then),p=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),k=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),v=e=>!!e&&"v"in e&&e.v instanceof Promise,y=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,w=e=>{if("e"in e)throw e.e;return e.v},$=()=>{let e,t;let r=new WeakMap,o=new WeakMap,l=[],s=new WeakMap;e=new Set,t=new Set;let n=e=>r.get(e),a=(e,t)=>{t.d.forEach((t,r)=>{var o;if(!s.has(r)){let e=n(r);null==(o=l[l.length-1])||o.add(r),s.set(r,[e,new Set]),e&&a(r,e)}s.get(r)[1].add(e)})},d=(e,t)=>{var o;Object.freeze(t);let i=n(e);if(r.set(e,t),s.has(e)||(null==(o=l[l.length-1])||o.add(e),s.set(e,[i,new Set]),a(e,t)),v(i)){let e="v"in t?t.v instanceof Promise?t.v:Promise.resolve(t.v):Promise.reject(t.e);i.v!==e&&f(i.v,e)}},$=(e,t,r,o)=>{let l=new Map(o?t.d:null),s=!1;r.forEach((r,o)=>{!r&&i(e,o)&&(r=t),r?(l.set(o,r),t.d.get(o)!==r&&(s=!0)):console.warn("[Bug] atom state not found")}),(s||t.d.size!==l.size)&&(t.d=l)},C=(e,t,r,o)=>{let l=n(e),s={d:(null==l?void 0:l.d)||new Map,v:t};if(r&&$(e,s,r,o),p(l,s)&&l.d===s.d)return l;if(v(l)&&v(s)&&y(l,s)){if(l.d===s.d)return l;s.v=l.v}return d(e,s),s},S=(e,t,r,l)=>{if(b(t)){let s;let a=()=>{let t=n(e);if(!v(t)||t.v!==i)return;let l=C(e,i,r);o.has(e)&&t.d!==l.d&&H(e,l,t.d)},i=new Promise((e,r)=>{let o=!1;t.then(t=>{o||(o=!0,m(i,t),e(t),a())},e=>{o||(o=!0,g(i,e),r(e),a())}),s=t=>{o||(o=!0,t.then(e=>m(i,e),e=>g(i,e)),e(t))}});return i.orig=t,i.status="pending",c(i,e=>{e&&s(e),null==l||l()}),C(e,i,r,!0)}return C(e,t,r)},_=(e,t,r)=>{let o=n(e),l={d:(null==o?void 0:o.d)||new Map,e:t};return(r&&$(e,l,r),k(o,l)&&o.d===l.d)?o:(d(e,l),l)},O=(e,t)=>{let r,l;let s=n(e);if(!t&&s&&(o.has(e)||Array.from(s.d).every(([t,r])=>{if(t===e)return!0;let o=O(t);return o===r||p(o,r)})))return s;let a=new Map,d=!0;try{let t=e.read(t=>{if(i(e,t)){let e=n(t);if(e)return a.set(t,e),w(e);if(u(t))return a.set(t,void 0),t.init;throw Error("no atom init")}let r=O(t);return a.set(t,r),w(r)},{get signal(){return r||(r=new AbortController),r.signal},get setSelf(){return h(e)||console.warn("setSelf function cannot be used with read-only atom"),!l&&h(e)&&(l=(...t)=>{if(d&&console.warn("setSelf function cannot be called in sync"),!d)return T(e,...t)}),l}});return S(e,t,a,()=>null==r?void 0:r.abort())}catch(t){return _(e,t,a)}finally{d=!1}},j=e=>{let t=e=>{var t,r;let l=new Set(null==(t=o.get(e))?void 0:t.t);return null==(r=s.get(e))||r[1].forEach(e=>{l.add(e)}),l},r=[],l=new Set,a=e=>{if(!l.has(e)){for(let r of(l.add(e),t(e)))e!==r&&a(r);r.push(e)}};a(e);let i=new Set([e]);for(let e=r.length-1;e>=0;--e){let t=r[e],o=n(t);if(!o)continue;let l=!1;for(let e of o.d.keys())if(e!==t&&i.has(e)){l=!0;break}l&&!p(o,O(t,!0))&&i.add(t)}},E=(t,...r)=>t.write(e=>w(O(e)),(r,...o)=>{let s;let a=l.length>0;if(a||l.push(new Set([r])),i(t,r)){if(!u(r))throw Error("atom not writable");p(n(r),S(r,o[0]))||j(r)}else s=E(r,...o);if(!a){let t=F(l.pop());e.forEach(e=>e({type:"async-write",flushed:t}))}return s},...r),T=(t,...r)=>{l.push(new Set([t]));let o=E(t,...r),s=F(l.pop());return e.forEach(e=>e({type:"write",flushed:s})),o},P=(e,r,l)=>{var s;let a=o.get(e);if(a)return r&&a.t.add(r),a;let i=l||[];null==(s=n(e))||s.d.forEach((t,r)=>{r!==e&&P(r,e,i)}),O(e);let u={t:new Set(r&&[r]),l:new Set};if(o.set(e,u),t.add(e),h(e)&&e.onMount){let{onMount:t}=e;i.push(()=>{let r=t((...t)=>T(e,...t));r&&(u.u=r)})}return l||i.forEach(e=>e()),u},x=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),M=(e,r)=>{if(!x(e,r))return;let l=r.u;l&&l(),o.delete(e),t.delete(e);let s=n(e);s?(v(s)&&f(s.v),s.d.forEach((t,r)=>{if(r!==e){let t=o.get(r);t&&(t.t.delete(e),M(r,t))}})):console.warn("[Bug] could not find atom state to unmount",e)},H=(e,t,r)=>{let l=new Set(t.d.keys()),s=new Set;null==r||r.forEach((t,r)=>{if(l.has(r)){l.delete(r);return}s.add(r);let n=o.get(r);n&&n.t.delete(e)}),l.forEach(t=>{P(t,e)}),s.forEach(e=>{let t=o.get(e);t&&M(e,t)})},F=e=>{let t;t=new Set;let r=[],l=e=>{var t;if(!s.has(e))return;let[o,a]=s.get(e);s.delete(e),r.push([e,o]),a.forEach(l),null==(t=n(e))||t.d.forEach((e,t)=>l(t))};return e.forEach(l),r.forEach(([e,r])=>{let l=n(e);if(!l){console.warn("[Bug] no atom state to flush");return}if(l!==r){let s=o.get(e);s&&l.d!==(null==r?void 0:r.d)&&H(e,l,null==r?void 0:r.d),s&&!(!v(r)&&(p(r,l)||k(r,l)))&&(s.l.forEach(e=>e()),t.add(e))}}),t};return{get:e=>w(O(e)),set:T,sub:(t,r)=>{let o=P(t),l=F([t]),s=o.l;return s.add(r),e.forEach(e=>e({type:"sub",flushed:l})),()=>{s.delete(r),M(t,o),e.forEach(e=>e({type:"unsub"}))}},dev_subscribe_store:t=>(e.add(t),()=>{e.delete(t)}),dev_get_mounted_atoms:()=>t.values(),dev_get_atom_state:e=>r.get(e),dev_get_mounted:e=>o.get(e),dev_restore_atoms:t=>{for(let[e,r]of(l.push(new Set),t))u(e)&&(S(e,r),j(e));let r=F(l.pop());e.forEach(e=>e({type:"restore",flushed:r}))}}};Symbol("CONTINUE_PROMISE");let C=()=>(o||(o=$(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=o),globalThis.__JOTAI_DEFAULT_STORE__!==o&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),o)},1564:function(e,t,r){r.d(t,{_:function(){return w}});var o=r(281),l=r(5986),s=r(7104),n=r(8338),a=r(9242),i=r(2202),u=r(357);let h=e=>{c.set((0,i.Ve)(e),e)},d=(e,t=!1)=>`--${u.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,i.bK)(e.name,!1)}:${t||"number"!=typeof e.val?e.val:`${e.val}px`}`,c=new Map;var f=r(357);let m=".t_dark",g=".t_light",b=e=>e===m||e===g||e.startsWith(".t_dark ")||e.startsWith(".t_light ");var p=r(7393);let k={};var v=r(9097);let y=new WeakMap,w=function(e){let t;if(y.has(e))return e;let r={},u=(0,s.D)(e.tokens||{});if(e.tokens){let e={};for(let t in u){r[t]={},e[t]={};let o=u[t];for(let l in o){let s=o[l],n=`$${l}`;r[t][n]=s,e[t][n]=s,e[t][l]=s}}(0,l.d0)(e)}if(e.themes){let o=0===Object.keys(e.themes).length;t=(0,p.jc)(o,r)}(0,p.OJ)();let w=null,$;if(e.fonts){let t=Object.fromEntries(Object.entries(e.fonts).map(([e,t])=>[e,(0,s.D)(t,"f",!0)]));$=(()=>{let e={};for(let r in t){let o=function(e){let t={};for(let r in e){let o=e[r];if("family"===r||"face"===r)t[r]=o;else for(let e in t[r]={},o){let l=o[e];l.val?.[0]==="$"&&(l=l.val),t[r][`$${e}`]=l}}return t}(t[r]);e[`$${r}`]=o,!w&&o.size&&(w=new Set(Object.keys(o.size)))}return e})()}let C={},S=(()=>{let r=[],s=[],p={};for(let e in u)for(let t in u[e]){let r=u[e][t];C[`$${e}.${t}`]=r,o.$L&&(h(r),s.push(d(r,"zIndex"===e)))}if(o.$L){let t=function(e,t=""){return`:root${t} {${o}${[...e].join(`;${o}`)}${o}}`};for(let e in $){let t=$[e],[r,o]=e.includes("_")?e.split("_"):[e],l=function(e){let t=[];for(let r in e)if("face"!==r){if("family"===r){let o=e[r];h(o),t.push(d(o))}else for(let o in e[r])if("string"!=typeof e[r][o]){let l=e[r][o];h(l),t.push(d(l))}}return t}(t);p[e]={name:r.slice(1),declarations:l,language:o}}let o=e.cssStyleSeparator||"";if(r.push(t(s)),p)for(let e in p){let{name:o,declarations:l,language:s="default"}=p[e],n=`.font_${o}`,a=`:root .t_lang-${o}-${s} ${n}`,i=t(l,"default"===s?` ${n}, ${a}`:a);r.push(i)}}let v={...e.themes},y=t??function(e){let t=[],r=new Map;for(let o in e){let l=o.startsWith("dark")?"dark":o.startsWith("light")?"light":"",s=e[o],n=l+JSON.stringify(s);if(r.has(n)){r.get(n).names.push(o);continue}let a={...s};for(let e in a)!function(e,t){let r=e[t];(0,i.cG)(r)?r.name!==t&&(e[t]=(0,i.Os)({key:r.name,name:t,val:r.val})):e[t]=(0,i.Os)({key:t,name:t,val:r})}(a,e);let u={names:[o],theme:a};t.push(u),r.set(n,u)}return t}(v);return{themes:function(e){for(let{names:t,theme:r}of e)for(let e of t)k[e]=r;let t={};for(let{names:r,theme:o}of e)for(let e of r){let r=function(e,t){let r=[],o=e.split("_").slice(0,-1).map(e=>(r.push(e),r.join("_"))),s=o.length;return new Proxy(t,{get(e,t){if(!t||"undefined"==t||Reflect.has(e,t))return Reflect.get(e,t);for(let e=s-1;e>=0;e--){let r=k[o[e]];if(r&&Reflect.has(r,t))return Reflect.get(r,t)}return(0,l.p_)(t)}})}(e,o);t[e]=r}return t}(y),cssRuleSets:r,getThemeRulesSets(){let t=[];if(o.$L)for(let{names:r,theme:o}of y)t=[...t,...function(e){let t=[];if(!f.env.TAMAGUI_DOES_SSR_CSS||"mutates-themes"===f.env.TAMAGUI_DOES_SSR_CSS||"false"===f.env.TAMAGUI_DOES_SSR_CSS){let{config:r,themeName:o,theme:l,names:s}=e,u=e.hasDarkLight??(r.themes&&("light"in r.themes||"dark"in r.themes)),h=`.${a.nx}`,d="";for(let e in l){let t=l[e],r=null;r=c.has(t.val)?c.get(t.val).variable:t.val,d+=`--${f.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,n.M)(e,40)}:${r};`}let p="dark"===o,k="light"===o,v=s.map(e=>`${h}${e}`),y=new Set(p||k?v:[]);if(u){let e=r.maxDarkLightNesting??3;for(let t of s){let r=p||t.startsWith("dark_"),o=!r&&(k||t.startsWith("light_"));if(!(r||o)){y.add(`${h}${t}`);continue}let l=`${h}${t.replace(/^(dark|light)_/,"")}`,[s,n]=r?["dark","light"]:["light","dark"],a=Math.round(1.5*e);for(let e=0;e<a;e++){let t=e%2==1;if(t&&e<3)continue;let r=Array(e+1).fill(0).map((e,t)=>`${h}${t%2==0?s:n}`),o=r.length>1?r.slice(1):r;if(t){let[e,t,...r]=o;o=[t,...r,t]}let a=l===o[o.length-1]?"":l;y.add(`${o.join(" ")} ${a}`.trim())}}}let w=[...y].sort((e,t)=>e.localeCompare(t)),$=`${w.map(e=>`:root${b(e)&&r.themeClassNameOnRoot?"":" "}${e}`).join(", ")} {${d}}`;if(t.push($),r.shouldAddPrefersColorThemes){let e=l.background?`background:${(0,i.lk)(l.background)};`:"",r=l.color?`color:${(0,i.lk)(l.color)}`:"",s=`body{${e}${r}}`,n=o.startsWith("dark"),a=`${w.map(e=>e==m||e===g?":root":n&&e.startsWith(g)||!n&&e.startsWith(m)?void 0:e.replace(/^\.t_(dark|light) /,"").trim()).filter(Boolean).join(", ")} {${d}}`,u=`@media(prefers-color-scheme:${n?"dark":"light"}){
|
2 |
-
${s}
|
3 |
-
${a}
|
4 |
-
}`;t.push(u)}if(r.selectionStyles){let e=r.selectionStyles(l);if(e){let r=v.map(e=>`${e} ::selection`).join(", "),o=Object.entries(e).flatMap(([e,t])=>t?`${"backgroundColor"===e?"background":e}:${(0,i.lk)(t)}`:[]).join(";");if(o){let e=`${r}{${o}}`;t.push(e)}}}}return t}({config:e,themeName:r[0],names:r,theme:o})];return t}}})(),_=e.shorthands||{},O=-1,j=(e={})=>{let{separator:t=`
|
5 |
-
`,sinceLastCall:r,exclude:o}=e;if(r&&O>=0){let e=(0,p.UY)();return O=e.length,e.slice(O).join(t)}O=0;let l=(0,p.UY)().join(t);return"design-system"===o?l:`._ovs-contain {overscroll-behavior:contain;}
|
6 |
-
.is_Text .is_Text {display:inline-flex;}
|
7 |
-
._dsp_contents {display:contents;}
|
8 |
-
${S.cssRuleSets.join(t)}
|
9 |
-
${o?"":S.getThemeRulesSets().join(t)}
|
10 |
-
${l}`},E=e.defaultFont||e.fonts&&("body"in e.fonts?"body":"");!E&&e.fonts&&(E=Object.keys(e.fonts)[0]),E?.[0]==="$"&&(E=E.slice(1));let T=`$${E}`,P={fonts:{},onlyAllowShorthands:!1,fontLanguages:[],animations:{},media:{},...e,unset:{fontFamily:e.defaultFont?T:void 0,...e.unset},settings:{webContainerType:"inline-size",...e.settings},tokens:u,shorthands:_,inverseShorthands:_?Object.fromEntries(Object.entries(_).map(([e,t])=>[t,e])):{},themes:S.themes,fontsParsed:$||{},themeConfig:S,tokensParsed:r,parsed:!0,getNewCSS:e=>j({...e,sinceLastCall:!0}),getCSS:j,defaultFont:T,fontSizeTokens:w||new Set,specificTokens:C};return(0,v.jl)(P),(0,l.v6)(P),y.set(P,!0),l.zG.size&&(l.zG.forEach(e=>e(P)),l.zG.clear()),P}},6608:function(e,t,r){r.d(t,{r:function(){return f}});var o=r(281),l=r(2265),s=r(7562),n=r(9097),a=r(9242),i=r(1130),u=r(2281);let h=e=>(o.C5&&(0,l.useLayoutEffect)(()=>{if(e.disableRootThemeClass)return;let t=`${a.nx}${e.defaultTheme}`,r=e.themeClassNameOnRoot?document.documentElement:document.body;return r.classList.add(t),()=>{r.classList.remove(t)}},[e.defaultTheme,e.disableRootThemeClass,e.themeClassNameOnRoot]),(0,u.jsx)(i.Q,{className:e.className,name:e.defaultTheme,forceClassName:!e.disableRootThemeClass,_isRoot:!0,children:e.children}));function d({children:e,disableInjectCSS:t,config:r,...a}){return(0,n.yL)(),o.C5&&l.useInsertionEffect(()=>{if(r&&(r.disableSSR||document.documentElement.classList.contains("t_unmounted")&&document.documentElement.classList.remove("t_unmounted"),!t)){let e=document.createElement("style");return e.appendChild(document.createTextNode(r.getCSS())),document.head.appendChild(e),()=>{document.head.removeChild(e)}}},[r,t]),(0,u.jsx)(s.s.Provider,{animationDriver:r?.animations,children:(0,u.jsx)(h,{themeClassNameOnRoot:r?.themeClassNameOnRoot,disableRootThemeClass:r?.disableRootThemeClass,...a,defaultTheme:a.defaultTheme??(r?Object.keys(r.themes)[0]:""),children:e})})}d.displayName="TamaguiProvider";var c=r(4624);let f=({children:e,...t})=>(0,u.jsx)(d,{...t,children:(0,u.jsx)(c.Xp,{shouldAddRootHost:!0,children:e})})}}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_next/static/chunks/143-a7c9eb267a2325a2.js
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[143],{44:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;return Math.round(255*n(o,i,e+1/3))<<24|Math.round(255*n(o,i,e))<<16|Math.round(255*n(o,i,e-1/3))<<8}let i="[-+]?\\d*\\.?\\d+",o=i+"%";function a(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function u(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function f(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function d(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+a(i,i,i)),rgba:RegExp("rgba("+l(i,i,i,i)+"|"+s(i,i,i,i)+")"),hsl:RegExp("hsl"+a(i,o,o)),hsla:RegExp("hsla("+l(i,o,o,i)+"|"+s(i,o,o,i)+")"),hwb:RegExp("hwb"+a(i,o,o)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(u(p[1])<<24|u(p[2])<<16|u(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(u(p[6])<<24|u(p[7])<<16|u(p[8])<<8|f(p[9]))>>>0:(u(p[2])<<24|u(p[3])<<16|u(p[4])<<8|f(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),d(p[2]),d(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),d(p[7]),d(p[8]))|f(p[9]))>>>0:(r(c(p[2]),d(p[3]),d(p[4]))|f(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),d(p[2]),d(p[3])))>>>0:null}},7961:function(){void 0===globalThis.__DEV__&&(globalThis.__DEV__=!1)},357:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(8081)},8081:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],u=!1,c=-1;function f(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&d())}function d(){if(!u){var e=s(f);u=!0;for(var t=l.length;t;){for(r=l,l=[];++c<t;)r&&r[c].run();c=-1,t=l.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||u||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9046:function(e,t,n){"use strict";n.d(t,{FE:function(){return i},ex:function(){return o}});var r=n(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},281:function(e,t,n){"use strict";n.d(t,{ob:function(){return p},Dt:function(){return f},C5:function(){return s},s:function(){return d},sk:function(){return a},wT:function(){return c},$L:function(){return i},LI:function(){return l}});var r=n(2265);let i=!0,o="u">typeof window,a=!o,s=o,l=a?r.useEffect:r.useLayoutEffect,u=("u">typeof navigator&&/Chrome/.test(navigator.userAgent||""),s&&("ontouchstart"in window||navigator.maxTouchPoints>0)),c=!i||u,f=!1,d=!1,p="web"},2166:function(e,t,n){"use strict";n.d(t,{Kq:function(){return ei},xv:function(){return eo},G7:function(){return er}});var r=n(2265);let i="__reactResponderId",o=!!("u">typeof window&&window.document&&window.document.createElement),a=e=>{if(e&&1===e.nodeType&&e.getBoundingClientRect)return e.getBoundingClientRect()};function s(e){let t=[];for(;null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}let l=()=>{},u={},c=[];function f(e){return e>20?e%20:e}function d(e,t){let n,r=!1,i,o,s=e.changedTouches,d=e.type,p=!0===e.metaKey,h=!0===e.shiftKey,m=s?.[0].force||0,g=f(s?.[0].identifier||0),y=s?.[0].clientX||e.clientX,b=s?.[0].clientY||e.clientY,v=s?.[0].pageX||e.pageX,S=s?.[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):l,x=e.timeStamp;function $(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:f(e.identifier),get locationX(){return C(e.clientX)},get locationY(){return E(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=s)i=$(s),o=$(e.touches);else{let t=[{force:m,identifier:g,get locationX(){return C(y)},get locationY(){return E(b)},pageX:v,pageY:S,target:e.target,timestamp:x}];i=t,o="mouseup"===d||"dragstart"===d?c:t}let T={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:u,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>r,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:p,shiftKey:h,changedTouches:i,force:m,identifier:g,get locationX(){return C(y)},get locationY(){return E(b)},pageX:v,pageY:S,target:e.target,timestamp:x,touches:o,type:d},persist:l,preventDefault:w,stopPropagation(){r=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function C(e){if(n=n||a(T.currentTarget))return e-n.left}function E(e){if(n=n||a(T.currentTarget))return e-n.top}return T}function p(e){return"touchstart"===e||"mousedown"===e}function h(e){return"touchmove"===e||"mousemove"===e}function m(e){return"touchend"===e||"mouseup"===e||g(e)}function g(e){return"touchcancel"===e||"dragstart"===e}class y{_touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};recordTouchTrack(e,t){let n=this._touchHistory;if(h(e))t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch move without a touch start.
|
2 |
-
`,`Touch Move: ${S(e)}
|
3 |
-
`,`Touch Bank: ${w(t)}`)})(e,n));else if(p(e))t.changedTouches.forEach(e=>(function(e,t){let n=v(e),r=t.touchBank[n];r?(r.touchActive=!0,r.startPageX=e.pageX,r.startPageY=e.pageY,r.startTimeStamp=b(e),r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=b(e),r.previousPageX=e.pageX,r.previousPageY=e.pageY,r.previousTimeStamp=b(e)):t.touchBank[n]={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:b(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:b(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:b(e)},t.mostRecentTimeStamp=b(e)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(m(e)&&(t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!1,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch end without a touch start.
|
4 |
-
`,`Touch End: ${S(e)}
|
5 |
-
`,`Touch Bank: ${w(t)}`)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches)){let{touchBank:e}=n;for(let t=0;t<e.length;t++)if(e[t]?.touchActive){n.indexOfSingleActiveTouch=t;break}}}get touchHistory(){return this._touchHistory}}function b(e){return e.timeStamp||e.timestamp}function v({identifier:e}){return null==e&&console.error("Touch object is missing identifier."),e}function S(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:b(e)})}function w(e){let{touchBank:t}=e,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=` (original size: ${t.length})`),n}let x={},$=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],T=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],C={touchstart:$,mousedown:$,touchmove:T,mousemove:T,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},E={id:null,idPath:null,node:null},R=new Map,k=!1,P=0,N={id:null,node:null,idPath:null},O=new y;function L(e){return R.get(e)??x}function _(e){let t=e.type,n=e.target;if("touchstart"===t&&(k=!0),("touchmove"===t||P>1)&&(k=!1),"mousedown"===t&&k||"mousemove"===t&&k||"mousemove"===t&&P<1)return;if(k&&"mouseup"===t){0===P&&(k=!1);return}let r=p(t)&&function(e){let{altKey:t,button:n,buttons:r,ctrlKey:i,type:o}=e,a=!1===t&&!1===i;return!!("touchstart"===o||"touchmove"===o||"mousedown"===o&&(0===n||1===r)&&a||"mousemove"===o&&1===r&&a)}(e),o=h(t),a=m(t),l="scroll"===t,u="select"===t||"selectionchange"===t,c=d(e,O);(r||o||a)&&(e.touches?P=e.touches.length:r?P=1:a&&(P=0),O.recordTouchTrack(t,c.nativeEvent));let f=function(e){let t=[],n=[],r="selectionchange"===e.type?s(window.getSelection()?.anchorNode):null!=e.composedPath?e.composedPath():s(e.target);for(let e=0;e<r.length;e++){let o=r[e],a=null!=o?o[i]:null;null!=a&&(t.push(a),n.push(o))}return{idPath:t,nodePath:n}}(e),y=!1,b;if(r||o||l&&P>0){let t=N.idPath,n=f.idPath;if(null!=t&&null!=n){let e=function(e,t){let n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;let i=e[0],o=0,a=t[0],s=0;n-r>0&&(i=e[o=n-r],n=r),r-n>0&&(a=t[s=r-n],r=n);let l=n;for(;l--;){if(i===a)return i;i=e[o++],a=t[s++]}return null}(t,n);if(null!=e){let t=n.indexOf(e)+(e===N.id?1:0);f={idPath:n.slice(t),nodePath:f.nodePath.slice(t)}}else f=null}null!=f&&null!=(b=function(e,t,n){let r=C[t.type];if(null!=r){let{idPath:i,nodePath:o}=e,a=r[0],s=r[1],{bubbles:l}=r[2],u=(e,t,r)=>{let o=L(e)[r];if(null!=o&&(n.currentTarget=t,!0===o(n))){let n=i.slice(i.indexOf(e));return{id:e,node:t,idPath:n}}};for(let e=i.length-1;e>=0;e--){let t=u(i[e],o[e],a);if(null!=t)return t;if(!0===n.isPropagationStopped())return}if(l)for(let e=0;e<i.length;e++){let t=u(i[e],o[e],s);if(null!=t)return t;if(!0===n.isPropagationStopped())return}else{let e=i[0],n=o[0];if(t.target===n)return u(e,n,s)}}}(f,e,c))&&(function(e,t){let{id:n,node:r}=N,{id:i,node:o}=t,{onResponderGrant:a,onResponderReject:s}=L(i);if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==n)null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),N=t;else{let{onResponderTerminate:i,onResponderTerminationRequest:l}=L(n),u=!0;null!=l&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===l(e)&&(u=!1)),u?(null!=i&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminate",i(e)),null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),N=t):null!=s&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",s(e))}}(c,b),y=!0)}if(null!=N.id&&null!=N.node){let{id:i,node:s}=N,{onResponderStart:f,onResponderMove:d,onResponderEnd:p,onResponderRelease:h,onResponderTerminate:m,onResponderTerminationRequest:b}=L(i);if(c.bubbles=!1,c.cancelable=!1,c.currentTarget=s,r)null!=f&&(c.dispatchConfig.registrationName="onResponderStart",f(c));else if(o)null!=d&&(c.dispatchConfig.registrationName="onResponderMove",d(c));else{let r=g(t)||"contextmenu"===t||"blur"===t&&n===window||"blur"===t&&n.contains(s)&&e.relatedTarget!==s||l&&0===P||l&&n.contains(s)&&n!==s||u&&("selectionchange"===e.type?function(){let e=window.getSelection();if(!e)return!1;let t=e.toString(),n=e.anchorNode,r=e.focusNode,i=n&&n.nodeType===window.Node.TEXT_NODE||r&&r.nodeType===window.Node.TEXT_NODE;return t.length>=1&&t!==`
|
6 |
-
`&&!!i}():"select"===e.type),i=a&&!r&&!function(e,t){if(!t||0===t.length)return!1;for(let n=0;n<t.length;n++){let r=t[n].target;if(null!=r&&e.contains(r))return!0}return!1}(s,e.touches);if(a&&null!=p&&(c.dispatchConfig.registrationName="onResponderEnd",p(c)),i&&(null!=h&&(c.dispatchConfig.registrationName="onResponderRelease",h(c)),N=E),r){let e=!0;("contextmenu"===t||"scroll"===t||"selectionchange"===t)&&(y?e=!1:null!=b&&(c.dispatchConfig.registrationName="onResponderTerminationRequest",!1===b(c)&&(e=!1))),e&&(null!=m&&(c.dispatchConfig.registrationName="onResponderTerminate",m(c)),N=E,k=!1,P=0)}}}}let A=["blur","scroll"],M=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"],j=Symbol();function I(e){N.id===e&&function(){let{id:e,node:t}=N;if(null!=e&&null!=t){let{onResponderTerminate:n}=L(e);if(null!=n){let e=d({},O);e.currentTarget=t,n(e)}N=E}k=!1,P=0}(),R.has(e)&&R.delete(e)}let W={};var z=n(4283),F=n(8338),Y=n(9242);let B=(0,n(9100).LM)({acceptsClassName:!0,defaultProps:Y.tn,validStyles:F.Qn});var D=n(5566),V=n(8475);function X(){return null}var H=n(281);let G=e=>{if(!(!e||1!==e.nodeType))return e.getBoundingClientRect?.()},U=new WeakMap,K=new Set,Q=null;if("u">typeof window&&"ResizeObserver"in window&&(Q=new ResizeObserver(e=>{for(let{target:t}of e){let e=U.get(t);if("function"!=typeof e)return;q(t).then(t=>{e(t)})}}),"function"==typeof window.addEventListener)){let e;window.addEventListener("resize",()=>{clearTimeout(e),e=setTimeout(()=>{K.forEach(e=>e())},4)})}let q=async e=>new Promise(t=>{J(e,null,(n,r,i,o,a,s)=>{t({nativeEvent:{layout:{x:n,y:r,width:i,height:o,left:a,top:s},target:e},timeStamp:Date.now()})})}),Z=new WeakMap,J=(e,t,n)=>{let r=t||e?.parentNode;if(r instanceof HTMLElement){let t=Date.now();Z.set(e,t),Promise.all([et(e),et(r)]).then(([r,i])=>{if(i&&r&&Z.get(e)===t){let{x:e,y:t,width:o,height:a,left:s,top:l}=ee(r,i);n(e,t,o,a,s,l)}})}},ee=(e,t)=>{let{height:n,left:r,top:i,width:o}=e;return{x:r-t.left,y:i-t.top,width:o,height:n,left:r,top:i}},et=e=>new Promise(t=>{let n=setTimeout(function(){t(G(e))},10);new IntersectionObserver((e,r)=>{clearTimeout(n),r.disconnect(),t(e[0]?.boundingClientRect)},{threshold:1e-4}).observe(e)}),en=e=>{let t=G(e);if(!t)return;let{x:n,y:r,top:i,left:o}=t;return{x:n,y:r,width:e.offsetWidth,height:e.offsetHeight,top:i,left:o}};X(),(0,z.b)({getBaseViews:X,usePropsTransform(e,t,n,a){{let l="string"==typeof e,{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:p,onResponderReject:h,onResponderRelease:m,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:$,onStartShouldSetResponderCapture:T,collapsable:C,focusable:E,accessible:k,accessibilityDisabled:P,onLayout:N,hrefAttrs:O,...L}=t;if(a||l){var s;let e=(0,r.useMemo)(()=>({get current(){return n.current.host}}),[n]);(0,H.LI)(()=>{let t=e.current;t&&(t.measure||=e=>J(t,null,e),t.measureLayout||=(e,n)=>J(t,e,n),t.measureInWindow||=e=>{t&&setTimeout(()=>{let{height:n,left:r,top:i,width:o}=en(t);e(r,i,o,n)},0)})},[e]),s=l?N:void 0,(0,H.LI)(()=>{if(!s)return;let t=e.current;t&&U.set(t,s)},[e,s]),(0,H.LI)(()=>{if(!Q)return;let t=e.current;if(!t||!U.has(t))return;let n=()=>{q(t).then(s)};return K.add(n),Q.observe(t),()=>{K.delete(n),Q?.unobserve(t)}},[e]),function(e,t=W){let n=r.useId(),a=r.useRef(!1);r.useEffect(()=>(o&&!window[j]&&(window.addEventListener("blur",_),M.forEach(e=>{document.addEventListener(e,_)}),A.forEach(e=>{document.addEventListener(e,_,!0)}),window[j]=!0),()=>{I(n)}),[n]),r.useEffect(()=>{let{onMoveShouldSetResponder:r,onMoveShouldSetResponderCapture:o,onScrollShouldSetResponder:s,onScrollShouldSetResponderCapture:l,onSelectionChangeShouldSetResponder:u,onSelectionChangeShouldSetResponderCapture:c,onStartShouldSetResponder:f,onStartShouldSetResponderCapture:d}=t,p=e.current;null!=r||null!=o||null!=s||null!=l||null!=u||null!=c||null!=f||null!=d?(null!=p&&(p[i]=n),R.set(n,t),a.current=!0):a.current&&(I(n),a.current=!1)},[t,e,n])}(e,l?{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:p,onResponderReject:h,onResponderRelease:m,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:$,onStartShouldSetResponderCapture:T}:void 0)}if(l){if(L.href&&O){let{download:e,rel:t,target:n}=O;null!=e&&(L.download=e),t&&(L.rel=t),"string"==typeof n&&(L.target="_"!==n.charAt(0)?`_${n}`:n)}return L}}},useEvents(e,t,{pseudos:n},r,i){}});let er=B,ei=D.K,eo=V.x},8338:function(e,t,n){"use strict";n.d(t,{Mj:function(){return a},M:function(){return i},cC:function(){return m},FB:function(){return h},hT:function(){return p},Dc:function(){return f},O0:function(){return c},CV:function(){return u},M6:function(){return g},Qn:function(){return y},$e:function(){return S}});let r=new Map,i=(e,t=10)=>{if(r.has(e))return r.get(e);let n=0,i="",a=e.length;for(let r=0;r<a;r++){let s=e.charCodeAt(r);if("strict"!==t&&(46===s&&(i+="d0t"),(s>=65&&s<=90||s>=97&&s<=122||95===s||45===s||s>=48&&s<=57)&&a<=t)){i+=e[r];continue}n=o(n,e[r])}let s=i+(n?Math.abs(n):"");return r.size>1e4&&r.clear(),r.set(e,s),s},o=(e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0;function a(e,t,{checkDefaultPrevented:n=!0}={}){return e&&t?r=>{if(e?.(r),!r||!(n&&"defaultPrevented"in r)||"defaultPrevented"in r&&!r.defaultPrevented)return t?.(r)}:t||e||void 0}var s=n(281);let l={color:!0,textDecorationColor:!0,textShadowColor:!0},u={radius:{borderRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderStartStartRadius:!0,borderStartEndRadius:!0,borderEndStartRadius:!0,borderEndEndRadius:!0},size:{width:!0,height:!0,minWidth:!0,minHeight:!0,maxWidth:!0,maxHeight:!0},zIndex:{zIndex:!0},color:{backgroundColor:!0,borderColor:!0,borderBlockStartColor:!0,borderBlockEndColor:!0,borderBlockColor:!0,borderBottomColor:!0,borderTopColor:!0,borderLeftColor:!0,borderRightColor:!0,borderEndColor:!0,borderStartColor:!0,shadowColor:!0,...l,outlineColor:!0}},c={WebkitLineClamp:!0,animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},f={x:!0,y:!0,scale:!0,perspective:!0,scaleX:!0,scaleY:!0,skewX:!0,skewY:!0,matrix:!0,rotate:!0,rotateY:!0,rotateX:!0,rotateZ:!0},d={backfaceVisibility:!0,borderBottomEndRadius:!0,borderBottomStartRadius:!0,borderBottomWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderStyle:!0,borderTopEndRadius:!0,borderTopStartRadius:!0,borderTopWidth:!0,borderWidth:!0,transform:!0,transformOrigin:!0,alignContent:!0,alignItems:!0,alignSelf:!0,borderEndWidth:!0,borderStartWidth:!0,bottom:!0,display:!0,end:!0,flexBasis:!0,flexDirection:!0,flexWrap:!0,gap:!0,columnGap:!0,rowGap:!0,justifyContent:!0,left:!0,margin:!0,marginBlockEnd:!0,marginBlockStart:!0,marginInlineEnd:!0,marginInline:!0,marginInlineStart:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,overflow:!0,padding:!0,paddingBottom:!0,paddingInline:!0,paddingBlock:!0,paddingBlockStart:!0,paddingInlineEnd:!0,paddingInlineStart:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,position:!0,right:!0,start:!0,top:!0,direction:!0,shadowOffset:!0,shadowRadius:!0,...u.color,...u.radius,...u.size,...u.radius,...f,...c,borderBottomStyle:!0,borderTopStyle:!0,borderLeftStyle:!0,borderRightStyle:!0,overflowX:!0,overflowY:!0,userSelect:!0,cursor:!0,contain:!0,pointerEvents:!0,boxSizing:!0,boxShadow:!0,outlineStyle:!0,outlineOffset:!0,outlineWidth:!0,touchAction:!0,...s.Dt?{elevationAndroid:!0}:{}},p={fontFamily:!0,fontSize:!0,fontStyle:!0,fontWeight:!0,letterSpacing:!0,lineHeight:!0,textTransform:!0,textAlign:!0,textDecorationLine:!0,textDecorationStyle:!0,...l,textShadowOffset:!0,textShadowRadius:!0,whiteSpace:!0,wordWrap:!0,textOverflow:!0,textDecorationDistance:!0,userSelect:!0,selectable:!0,cursor:!0,WebkitLineClamp:!0,WebkitBoxOrient:!0},h={...d,...p},m=h,g={enterStyle:!0,exitStyle:!0,hoverStyle:!0,pressStyle:!0,focusStyle:!0,disabledStyle:!0,focusVisibleStyle:!0},y={...g,...d};var b=n(2265);let v=Symbol(),S=(e,t)=>{let n=(()=>{if(e[v]){let t=(0,b.forwardRef)((t,n)=>(0,b.createElement)(e,{...t,ref:n}));for(let n in e){let r=e[n];t[n]=r&&"object"==typeof r?{...r}:r}}return e})();return Object.assign(n,t),n[v]=!0,n}},4624:function(e,t,n){"use strict";let r;n.d(t,{h_:function(){return u},$2:function(){return C},b5:function(){return E},Xp:function(){return $}}),n(7961);var i=n(281),o=n(5377),a=n(2265),s=n(4887),l=n(2281);let u=a.memo(({host:e=globalThis.document?.body,...t})=>{let n=(0,l.jsx)(o.FA,{contain:"strict",fullscreen:!0,position:i.$L?"fixed":"absolute",maxWidth:i.$L?"100vw":"100%",maxHeight:i.$L?"100vh":"100%",pointerEvents:"none",...t}),[r,u]=a.useState(null);return(0,i.LI)(()=>{u(e)},[e]),r&&t.children?(0,s.createPortal)(n,r):null});var c=n(9087),f=n(6616),d=((r=d||{})[r.REGISTER_HOST=0]="REGISTER_HOST",r[r.DEREGISTER_HOST=1]="DEREGISTER_HOST",r[r.ADD_UPDATE_PORTAL=2]="ADD_UPDATE_PORTAL",r[r.REMOVE_PORTAL=3]="REMOVE_PORTAL",r);let p={},h=(e,t)=>(t in e||(e[t]=[]),e),m=(e,t)=>(delete e[t],e),g=(e,t,n,r)=>{t in e||(e=h(e,t));let i=e[t].findIndex(e=>e.name===n);return -1!==i?e[t][i].node=r:e[t].push({name:n,node:r}),e},y=(e,t,n)=>{if(!(t in e))return console.info(`Failed to remove portal '${n}', '${t}' was not registered!`),e;let r=e[t].findIndex(e=>e.name===n);return -1!==r&&e[t].splice(r,1),e},b=(e,t)=>{let{type:n}=t;switch(n){case 0:return h({...e},t.hostName);case 1:return m({...e},t.hostName);case 2:return g({...e},t.hostName,t.portalName,t.node);case 3:return y({...e},t.hostName,t.portalName);default:return e}},v=(0,a.createContext)(null),S=(0,a.createContext)(null),w=e=>{let t=(0,a.useContext)(v);if(null===t)throw Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");return t[e]||[]},x=(e="root")=>{let t=(0,a.useContext)(S);if(null===t)throw Error("'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.");let n=(0,a.useCallback)(()=>{t({type:0,hostName:e})},[]),r=(0,a.useCallback)(()=>{t({type:1,hostName:e})},[]),i=(0,a.useCallback)((n,r)=>{t({type:2,hostName:e,portalName:n,node:r})},[]);return{registerHost:n,deregisterHost:r,addPortal:i,updatePortal:i,removePortal:(0,a.useCallback)(n=>{t({type:3,hostName:e,portalName:n})},[])}},$=(0,a.memo)(({rootHostName:e="root",shouldAddRootHost:t=!0,children:n})=>{let[r,i]=(0,a.useReducer)(b,p),o=(0,a.useMemo)(()=>e=>{(0,a.startTransition)(()=>{i(e)})},[i]);return(0,l.jsx)(S.Provider,{value:o,children:(0,l.jsxs)(v.Provider,{value:r,children:[n,t&&(0,l.jsx)(C,{name:e})]})})});$.displayName="PortalProvider";let T=e=>(0,l.jsx)(l.Fragment,{children:e}),C=(0,a.memo)(e=>{let{name:t,forwardProps:n,render:r=T}=e,i=!(0,f.S)(),o=w(t),{registerHost:s,deregisterHost:l}=x(e.name);return(0,a.useEffect)(()=>{if(!i)return s(),()=>{l()}},[i]),r(n?o.map(e=>{let t=e.node;return n?a.Children.map(t,e=>a.isValidElement(e)?a.cloneElement(e,{key:e.key,...n}):e):t}):o.map(e=>e.node))});C.displayName="PortalHost";let E=(0,a.memo)(e=>{let{name:t,hostName:n,handleOnMount:r,handleOnUnmount:o,handleOnUpdate:s,children:l}=e,{addPortal:u,removePortal:f}=x(n),d=(0,a.useId)(),p=t||d,h=(0,c.z)(()=>{r?r(()=>u(p,l)):u(p,l)}),m=(0,c.z)(()=>{o?o(()=>f(p)):f(p)}),g=(0,c.z)(()=>{s?s(()=>u(p,l)):u(p,l)});return(0,i.LI)(()=>(h(),()=>{m()}),[]),(0,a.useEffect)(()=>{g()},[l]),null});E.displayName="Portal"},5377:function(e,t,n){"use strict";n.d(t,{FA:function(){return l},Xu:function(){return a},sL:function(){return u}});var r=n(4975),i=n(2166),o=n(8587);let a={position:"absolute",top:0,left:0,right:0,bottom:0},s={fullscreen:{true:a},elevation:{"...size":o.y,":number":o.y},inset:e=>e&&"object"==typeof e?e:{top:e,left:e,bottom:e,right:e}},l=(0,r.z)(i.G7,{flexDirection:"column",variants:s});l.displayName="YStack";let u=(0,r.z)(i.G7,{flexDirection:"row",variants:s});u.displayName="XStack",(0,r.z)(l,{position:"relative"},{neverFlatten:!0,isZStack:!0}).displayName="ZStack"},8587:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(2202),i=n(281);let o=(e,t)=>{if(!e)return;let{tokens:n}=t,i=n.size[e];return a((0,r.cG)(i)?+i.val:e,t)},a=(e,{theme:t,tokens:n})=>{let o=0;if(!0===e){let e=(0,r.Ve)(n.size.true);o="number"==typeof e?e:10}else o=+e;if(0===o)return;let[a,s]=[Math.round(o/4+1),Math.round(o/2+2)];return{shadowColor:t.shadowColor,shadowRadius:s,shadowOffset:{height:a,width:0},...i.Dt?{elevationAndroid:2*a}:{}}}},6616:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(2265);let i=()=>{},o=()=>i;function a(e){return(0,r.useSyncExternalStore)(o,()=>e??!0,()=>!1)}},9087:function(e,t,n){"use strict";n.d(t,{z:function(){return a},X:function(){return o}});var r=n(281),i=n(2265);function o(e,t,n){let o=(0,i.useRef)(t??e);return(0,r.LI)(()=>{o.current=e}),(0,i.useCallback)(n?(...e)=>o.current?.apply(null,e):()=>o.current,[])}function a(e){return o(e,s,!0)}let s=()=>{throw Error("Cannot call an event handler while rendering.")}},5390:function(e,t,n){"use strict";n.d(t,{Oy:function(){return o},il:function(){return a},oO:function(){return s}});var r=n(2265),i=n(2281);let o=(0,r.createContext)(null),a=e=>(0,i.jsx)(o.Provider,{value:null,children:e.children});function s(){let e=(0,r.useContext)(o);if(!e)return[!0,null,e];let{id:t,isPresent:n,onExitComplete:i,register:a}=e;return(0,r.useEffect)(()=>a(t),[]),!n&&i?[!1,()=>i?.(t),e]:[!0,void 0,e]}},5986:function(e,t,n){"use strict";let r,i;n.d(t,{RC:function(){return p},Wi:function(){return d},d0:function(){return l},iE:function(){return s},lz:function(){return u},p_:function(){return c},v6:function(){return a},xC:function(){return m},zG:function(){return h}});var o=n(281);let a=e=>{r=e},s=()=>{if(!r)throw Error("Err0");return r};function l(e){i=e}let u=({prefixed:e}={})=>{let{tokens:t,tokensParsed:n}=r;return!1===e?t:!0===e?n:i},c=(e,t)=>r.specificTokens[e]??(t?i[t]?.[e]:i[Object.keys(i).find(t=>i[t][e])||""]?.[e]),f=(e,t,n=o.$L)=>{let r=c(e,t);return n?r?.variable:r?.val},d=(e,t)=>{if(!("unset"===e||"auto"===e))return f(e,t,!1)},p=()=>r.themes,h=new Set,m=e=>{r?e(r):h.add(e)}},9242:function(e,t,n){"use strict";n.d(t,{L2:function(){return r},nx:function(){return i},tn:function(){return o},zm:function(){return a}});let r="_",i="t_",o={},a={display:"flex",alignItems:"stretch",flexDirection:"column",flexBasis:"auto",boxSizing:"border-box",position:"relative",minHeight:0,minWidth:0,flexShrink:0};Object.assign(o,a)},7562:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(925).i)({disableSSR:void 0,inText:!1,language:null,animationDriver:null,groups:{emit:null,subscribe:null,state:{}}})},9100:function(e,t,n){"use strict";let r,i;n.d(t,{LZ:function(){return W},LM:function(){return j},P9:function(){return z},En:function(){return X},Ee:function(){return A}});var o=n(9046),a=n(281),s=n(8338),l=n(6616),u=n(2265),c=n(5986),f=n(9242),d=n(7562),p=n(2202);let h={hover:!1,press:!1,pressIn:!1,focus:!1,focusVisible:!1,unmounted:!0,disabled:!1},m={...h,unmounted:!1},g={...h,unmounted:"should-enter"};var y=n(3820),b=n(8075),v=n(1616),S=n(9097),w=n(7440);let x=(e,t,n)=>{let r={};for(let i in e)$(r,e,t,i,n);if(t)for(let e in t)$(r,t,void 0,e,n);return r};function $(e,t,n,r,i){let o=i?.[r]||null,a=t[r];if(r in w.Qy||S.Lk.has(r)){e[r]={...e[r],...a};return}n&&(r in n||o&&o in n)||(e[o||r]=a)}var T=n(9235),C=n(8411),E=n(4283),R=n(2281);let k=(0,u.forwardRef)(function(e,t){let{children:n,...r}=e;if((0,u.isValidElement)(n)){let e=function(e,t){let n=e.props,r={...n},i="string"==typeof e.type;if(i)for(let e in P)e in t&&(t[P[e]]=t[e],delete t[e]);for(let e in n){let o=t[e],a=n[e];i&&e in P&&(e=P[e],delete r[e]),N.test(e)?r[e]=(0,s.Mj)(a,o):"style"===e?r[e]={...o,...a}:"className"===e&&(r[e]=[o,a].filter(Boolean).join(" "))}return{...t,...r}}(n,r);return(0,u.cloneElement)(n,n.type.avoidForwardRef?e:{...e,ref:(0,o.FE)(t,n.ref)})}return u.Children.count(n)>1?u.Children.only(null):null});k.displayName="Slot";let P=a.$L?{onPress:"onClick",onPressOut:"onMouseUp",onPressIn:"onMouseDown"}:{},N=/^on[A-Z]/;var O=n(1130),L=n(357);let _=new Set;if("u">typeof document){let e=()=>{_.forEach(e=>e(e=>e.press||e.pressIn?{...e,press:!1,pressIn:!1}:e)),_.clear()};addEventListener("mouseup",e),addEventListener("touchend",e),addEventListener("touchcancel",e)}let A=(e,{animationDriver:t,groups:n},r,i)=>{var o;let s=t?.useAnimations,c=(0,u.useRef)({}),f=!!("animation"in e||e.style&&Object.keys(o=e.style).some(e=>{let t=o[e];return t&&"object"==typeof t&&"_animation"in t})),d=t?.supportsCSSVars,p=c.current,b=!!(f&&!r.isHOC&&s||p.hasAnimated),S=!a.sk&&b;S&&!p.hasAnimated&&(p.hasAnimated=!0);let w=!!i?.disableSSR||(0,l.S)(),x=S&&!1!==e.animatePresence&&t?.usePresence?.()||null,$=x?.[2],T=$?.isPresent===!1,C=$?.isPresent===!0&&!1!==$.initial,E=!!e.enterStyle,R=f&&t?.isReactNative,k=r.isReactNative,P=S;k||!R||r.isHOC||w||(P=!1,p.willHydrate=!0);let N=!w||!p.host,O=E||C?N?g:h:m,L=V(e);null!=L&&(O.disabled=L);let _=(0,u.useState)(O),A=e.forceStyle?{..._[0],[e.forceStyle]:!0}:_[0],M=_[1];L!==A.disabled&&(A.disabled=L,L&&Object.assign(A,m),M({...A}));let j=(0,y.JL)(M,L,e.debug);if(w&&"should-enter"===A.unmounted&&(A.unmounted=!0),$&&P&&w&&r.variants){let{enterVariant:t,exitVariant:n,enterExitVariant:i,custom:o}=$;(0,v.B)(o)&&Object.assign(e,o);let a=n??i,s=t??i;A.unmounted&&s&&r.variants[s]?e[s]=!0:T&&a&&(e[a]=n!==i)}let I=!!(!a.$L||P&&!d||!r.acceptsClassName||e.disableClassName&&w),W=e.group;if(W&&!p.group){let e=new Set;p.group={listeners:e,emit(t,n){e.forEach(e=>e(t,n))},subscribe:t=>(e.add(t),()=>{e.delete(t)})}}if(W){let e=n.state,t=j;j=n=>{t(n),p.group.emit(W,{pseudo:n});let r={...e[W],...n};e[W]=r}}return{curStateRef:p,disabled:L,groupName:W,hasAnimationProp:f,hasEnterStyle:E,isAnimated:P,isExiting:T,isHydrated:w,presence:x,presenceState:$,setState:M,setStateShallow:j,shouldAvoidClasses:I,state:A,stateRef:c,supportsCSSVars:d,willBeAnimated:S,willBeAnimatedClient:b}},M={value:!1};function j(e){let{componentName:t}=e,n=null,l=e.defaultProps;(0,c.xC)(e=>{if(n=e,t){let n=e.defaultProps?.[t];n&&(l={...n,...l})}});let{Component:f,isText:h,isZStack:g,isHOC:y,validStyles:v={},variants:w={}}=e,$=(0,u.forwardRef)((t,$)=>{let T,P,N,j,W;let F=(0,u.useContext)(d.s),{context:Y,isReactNative:B}=e;if(Y){N=(0,u.useContext)(Y);let{inverseShorthands:e}=(0,c.iE)();for(let n in Y.props){let r=t[n]??t[e[n]]??l?.[n]??l?.[e[n]];void 0===r?N&&(n in v||n in w)&&((T||={})[n]=N[n]):(P||={})[n]=r}}let V=T?{...l,...T}:l,H=t;V&&(H=x(V,t));let G=H.debug,U=H.componentName||e.componentName;L.env.TAMAGUI_IS_CORE_NODE;let K=F.animationDriver,Q=K?.useAnimations,{curStateRef:q,disabled:Z,groupName:J,hasAnimationProp:ee,hasEnterStyle:et,isAnimated:en,isExiting:er,isHydrated:ei,presence:eo,presenceState:ea,setState:es,setStateShallow:el,shouldAvoidClasses:eu,state:ec,stateRef:ef,supportsCSSVars:ed,willBeAnimated:ep,willBeAnimatedClient:eh}=A(H,F,e,n),em=!!t.forceStyle,eg=eu||em,ey=!!(a.$L&&h&&F.inText),eb=!f||"string"==typeof f,ev=H.tag,eS=a.$L&&eb&&ev||f,ew=h?r||eS||"span":i||eS||(ey?"span":"div");K&&en&&(ew=K[h?"Text":"View"]||ew);let ex=H["data-disable-theme"]||y;H.themeShallow&&(q.themeShallow=!0);let e$={name:H.theme,componentName:U,disable:ex,shallow:q.themeShallow,inverse:H.themeInverse,debug:G};"boolean"==typeof q.isListeningToTheme&&(e$.shouldUpdate=()=>ef.current.isListeningToTheme);let[eT,eC]=(0,C.WU)(e$);ew=f||ew;let eE=(0,S.GS)(ef,F);(0,p.zY)(!1);let eR={mediaState:eE,noClassNames:eg,resolveValues:en&&!ed||y&&!1==ec.unmounted&&ee?"value":"auto",isExiting:er,isAnimated:en},ek=(0,b.DP)(H,e,eC,eT?.state?.name||"",ec,eR,null,F,ew,G);H.group&&"hide"===H.untilMeasured&&!q.hasMeasured&&(ek.style||={},ek.style.opacity=0),q.isListeningToTheme=ek.dynamicThemeAccess;let eP=ek.hasMedia&&Array.isArray(ek.hasMedia),eN=(0,p.yx)()||eP||eg&&!0===ek.hasMedia,eO=eP?ek.hasMedia:null;(0,S.Zv)(ef,{enabled:eN,keys:eO});let{viewProps:eL,pseudos:e_,style:eA,classNames:eM,space:ej}=ek,eI=H,{asChild:eW,children:ez,themeShallow:eF,spaceDirection:eY,onPress:eB,onLongPress:eD,onPressIn:eV,onPressOut:eX,onHoverIn:eH,onHoverOut:eG,onMouseUp:eU,onMouseDown:eK,onMouseEnter:eQ,onMouseLeave:eq,onFocus:eZ,onBlur:eJ,separator:e0,forceStyle:e1,onClick:e2,theme:e5,defaultVariants:e3,...e4}=eL,e9=e4;if(!eb&&H.forceStyle&&(e9.forceStyle=H.forceStyle),y&&e5&&(e9.theme=e5),ew.acceptTagProp&&(e9.tag=ev),(ed?eh:ep)&&Q&&!y){let t=Q({props:eI,style:eA||{},presence:eo,componentState:ec,styleProps:eR,theme:eT.state?.theme,pseudos:e_||null,staticConfig:e,stateRef:ef});(en||ed)&&t&&(j=t.style,e9.style=j)}J&&(e4.onLayout=(0,s.Mj)(e4.onLayout,e=>{ef.current.group.emit(J,{layout:e.nativeEvent.layout}),ef.current.hasMeasured||"hide"!==H.untilMeasured||es(e=>({...e})),ef.current.hasMeasured=!0})),e9=E.P.usePropsTransform?.(ew,e4,ef,q.willHydrate)||e4,q.composedRef||(q.composedRef=(0,o.FE)(e=>ef.current.host=e,$)),e9.ref=q.composedRef;let{pseudoGroups:e8,mediaGroups:e7}=ek,e6=()=>el({press:!1,pressIn:!1});(0,u.useEffect)(()=>{if(Z)return;if(ec.unmounted){el({unmounted:!1});return}let e=X({disabled:Z,componentContext:F,setStateShallow:el,state:ec,mediaGroups:e7,pseudoGroups:e8});return()=>{e?.(),_.delete(es)}},[Z,e8?Object.keys([...e8]).join(""):0,e7?Object.keys([...e7]).join(""):0]);let te=!Z&&eg&&e_?.pressStyle,tt=!Z&&eg&&e_?.focusStyle,tn=!Z&&eg&&e_?.focusVisibleStyle,tr=!!(te||tt||tn||eZ||eJ),ti=!!(J||te||eB||eX||eV||eK||eU||eD||e2||e_?.focusVisibleStyle),to=!Z&&eg&&e_?.hoverStyle,ta=!!(J||to||eH||eG),ts=a.$L&&!!(J||ta||eQ||eq),tl=!Z&&!H.asChild&&!!(tr||ti||ts||te||to||tt),tu=!!(J||te),tc=tl?{onPressOut:ti?e=>{e6(),eX?.(e),eU?.(e)}:void 0,...(ts||ti)&&{onMouseEnter:e=>{let t={};ta&&(t.hover=!0),tu&&ec.pressIn&&(t.press=!0),el(t),eH?.(e),eQ?.(e)},onMouseLeave:e=>{let t={};ta&&(t.hover=!1),tu&&ec.pressIn&&(t.press=!1,t.pressIn=!1),el(t),eG?.(e),eq?.(e)}},onPressIn:ti?e=>{(te||J)&&el({press:!0,pressIn:!0}),eV?.(e),eK?.(e),a.$L&&_.add(es)}:void 0,onPress:ti?e=>{e6(),a.$L&&e2?.(e),eB?.(e),eD?.(e)}:void 0,...tr&&{onFocus:e=>{e_?.focusVisibleStyle?setTimeout(()=>{el({focus:!0,focusVisible:!!M.value})},0):el({focus:!0,focusVisible:!1}),eZ?.(e)},onBlur:e=>{el({focus:!1,focusVisible:!1}),eJ?.(e)}}}:null;tc&&!B&&Object.assign(e9,I(tc)),E.P.useEvents?.(e9,tc,ek,el,e);let tf=H.spaceDirection||"both",td=!ez||eW?ez:z({separator:e0,children:ez,space:ej,direction:tf,isZStack:g,debug:G});eW&&(ew=k,Object.assign(e9,I({onPress:eB,onLongPress:eD,onPressIn:eV,onPressOut:eX,onMouseUp:eU,onMouseDown:eK,onMouseEnter:eQ,onMouseLeave:eq},"web"===eW||"except-style-web"===eW))),E.P.useChildren&&(W=E.P.useChildren(ew,td,e9,tc,e)),td=W||(0,u.createElement)(ew,e9,td);let tp=n?.animations?.ResetPresence;tp&&ep&&(et||ea)&&td&&"string"!=typeof td&&(td=(0,R.jsx)(tp,{children:td}));let th=q.group,tm=(0,u.useMemo)(()=>{if(!(!th||!J))return th.listeners.clear(),{...F.groups,state:{...F.groups.state,[J]:{pseudo:m,layout:{width:D(ek.style?.width),height:D(ek.style?.height)}}},emit:th.emit,subscribe:th.subscribe}},[J]);if(J&&tm&&(td=(0,R.jsx)(d.s.Provider,{...F,groups:tm,children:td})),td=ex?td:(0,O.u)(eT,td,e$,!1),B&&!eW&&(td=(0,R.jsx)("span",{className:"_dsp_contents",...ei&&tc&&I(tc),children:td})),e.context){let t=e.context.props;for(let e in t)(e9.style&&e in e9.style||e in e9)&&((P||={})[e]=e9.style?.[e]??e9[e])}if(P){let t=e.context.Provider;td=(0,R.jsx)(t,{...N,...P,children:td})}return td});e.componentName&&($.displayName=e.componentName);let P=$;function N(t){return{...e,...t,neverFlatten:!0,isHOC:!0,isStyledHOC:!1}}function j(e,t){let n=e.render?.length===2?e:(0,u.forwardRef)(e),r=N(t?.staticConfig);return n=t?.disableTheme?n:(0,T.Y)(n,r),L.env.TAMAGUI_MEMOIZE_STYLEABLE&&(n=(0,u.memo)(n)),n.staticConfig=r,n.styleable=j,n}return(L.env.TAMAGUI_FORCE_MEMO||e.memo)&&(P=(0,u.memo)(P)),P.staticConfig=e,P.extractable=function(e,t){return e.staticConfig=N(t),e.styleable=j,e},P.styleable=j,P}function I(e,t=!0){return{onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,[t?"onClick":"onPress"]:e.onPress,onMouseDown:e.onPressIn,onMouseUp:e.onPressOut,onTouchStart:e.onPressIn,onTouchEnd:e.onPressOut,onFocus:e.onFocus,onBlur:e.onBlur}}a.$L&&globalThis.document&&(document.addEventListener("keydown",()=>{M.value=!0}),document.addEventListener("mousedown",()=>{M.value=!1}),document.addEventListener("mousemove",()=>{M.value=!1}));let W=j({acceptsClassName:!0,memo:!0,componentName:"Spacer",validStyles:s.Qn,defaultProps:{...f.tn,tag:"span",size:!0,pointerEvents:"none"},variants:{size:{"...":(e,{tokens:t})=>{e=!0===e?"$true":e;let n=t.space[e]??e;return{width:n,height:n,minWidth:n,minHeight:n}}},flex:{true:{flexGrow:1}},direction:{horizontal:{height:0,minHeight:0},vertical:{width:0,minWidth:0},both:{}}}});function z(e){let{isZStack:t,children:n,space:r,direction:i,spaceFlex:o,separator:a}=e,s=!!(r||o),l=null!=a;if(!(s||l||t))return n;let c=u.Children.toArray(n);if(c.length<=1&&!t&&!c[0]?.type?.shouldForwardSpace)return c;let f=[];for(let[e,n]of c.entries()){let l=null==n||Array.isArray(n)&&0===n.length;if(!l&&u.isValidElement(n)&&n.type?.shouldForwardSpace&&(n=u.cloneElement(n,{space:r,spaceFlex:o,separator:a,key:n.key})),l||!n||n.key&&!t?f.push(n):f.push((0,R.jsx)(u.Fragment,{children:t?(0,R.jsx)(B,{children:n}):n},e)),Y(n)&&0===e||t)continue;let d=c[e+1];d&&!Y(d)&&(a?(s&&f.push(F({key:`_${e}_00tmgui`,direction:i,space:r,spaceFlex:o})),f.push(u.isValidElement(a)?u.cloneElement(a,{key:`sep_${e}`}):a),s&&f.push(F({key:`_${e}01tmgui`,direction:i,space:r,spaceFlex:o}))):f.push(F({key:`_${e}02tmgui`,direction:i,space:r,spaceFlex:o})))}return f}function F({key:e,direction:t,space:n,spaceFlex:r}){return(0,R.jsx)(W,{size:n,direction:t,..."u">typeof r&&{flex:!0===r?1:!1===r?0:r}},e)}function Y(e){let t=e?.type;return t?.isVisuallyHidden||t?.isUnspaced}let B=j({defaultProps:{...f.tn,flexDirection:"column",position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"box-none"}}),D=e=>"string"!=typeof e?e:+e.replace("px",""),V=e=>e.disabled||e.accessibilityState?.disabled||e["aria-disabled"]||e.accessibilityDisabled||!1,X=({disabled:e=!1,setStateShallow:t,pseudoGroups:n,mediaGroups:r,componentContext:i,state:o})=>{if(n||r){let e={pseudo:{},media:{}};return i.groups?.subscribe((i,{layout:a,pseudo:s})=>{if(s&&n?.has(String(i)))Object.assign(e.pseudo,s),l();else if(a&&r){let t=Object.fromEntries([...r].map(e=>[e,(0,S.yj)(e,a)])),n=y.xK(e.media,t);n!==e.media&&(Object.assign(e.media,n),l())}function l(){t({group:{...o.group,[i]:e}})}})}}},2202:function(e,t,n){"use strict";n.d(t,{E0:function(){return d},Os:function(){return u},Ve:function(){return g},bK:function(){return y},cG:function(){return f},lk:function(){return c},yx:function(){return m},zY:function(){return h}});var r=n(281),i=n(8338),o=n(5986),a=n(357);let s="isVar";function l(e){return`var(--${a.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${e})`}let u=(e,t=!1)=>{if(!t&&f(e))return e;let{key:n,name:o,val:a}=e;return{[s]:!0,key:n,name:t?"":(0,i.M)(o,40),val:a,variable:r.$L?t?l(o):y(o):""}};function c(e,t=!1){return f(e)?!t&&r.$L&&e.variable?e.variable:`${e.val}`:`${e||""}`}function f(e){return e&&"object"==typeof e&&s in e}function d(e){return(h(!0),f(e))?c(e):c((0,o.iE)().tokensParsed[e]??e)}let p=!1,h=e=>p=e,m=()=>p;function g(e){return f(e)?(h(!0),e.val):e}let y=(e,t=!0)=>{let n=(0,i.M)(e,60);return t?l(n):n}},9033:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(2265).createContext)(1)},3820:function(e,t,n){"use strict";function r(e,t,n){return r=>e(e=>i(e,r,t,n))}function i(e,t,n,r){return n||!e||!t||o(e,t)?e||t:{...e,...t}}function o(e,t){for(let n in t)if(e[n]!==t[n])return!1;return!0}n.d(t,{JL:function(){return r},N2:function(){return o},xK:function(){return i}})},925:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(2265);let i=new WeakMap;var o=n(2281);function a(e){let t=(0,r.createContext)(e),n=t.Provider,a=new Map;return t.Provider=({children:t,scope:s,...l})=>{let u=(0,r.useMemo)(()=>({...e,...l}),[function(e){let t="";for(let n in e){t+=n;let r=e[n],o=typeof r;if(r&&("object"===o||"function"===o)){if(i.has(r))t+=i.get(r);else{let e=Math.random();i.set(r,e),t+=e}}else t+=o+r}return t}(l)]),c=n;if(s){let t=a.get(s);t||(t=(0,r.createContext)(e),a.set(s,t)),c=t.Provider}return(0,o.jsx)(c,{value:u,children:t})},t.props=e,t.context=t,t.useStyledContext=e=>{let n=e?a.get(e):t;return(0,r.useContext)(n)},t}},8075:function(e,t,n){"use strict";let r,i;n.d(t,{DP:function(){return ep}});var o=n(281),a=n(8338),s=n(2265),l=n(5986);let u={};{let e={Hidden:!0,ActiveDescendant:!0,Atomic:!0,AutoComplete:!0,Busy:!0,Checked:!0,ColumnCount:"colcount",ColumnIndex:"colindex",ColumnSpan:"colspan",Current:!0,Details:!0,ErrorMessage:!0,Expanded:!0,HasPopup:!0,Invalid:!0,Label:!0,Level:!0,Modal:!0,Multiline:!0,MultiSelectable:!0,Orientation:!0,Owns:!0,Placeholder:!0,PosInSet:!0,Pressed:!0,RoleDescription:!0,RowCount:!0,RowIndex:!0,RowSpan:!0,Selected:!0,SetSize:!0,Sort:!0,ValueMax:!0,ValueMin:!0,ValueNow:!0,ValueText:!0};for(let t in e){let n=e[t];!0===n&&(n=t.toLowerCase()),u[`accessibility${t}`]=`aria-${n}`}}var c=n(9242),f=n(9097);function d(e){let t=(0,f.om)(),[n,r,i,o]=e.split("-"),a=i in t?i:void 0;return{name:r,pseudo:a?o:i,media:a}}let p=null,h=null,m={press:"active"},g=(e,t,n,r,i,o)=>{let{property:a,identifier:s,rules:u}=e,c=(0,l.iE)(),g=c.settings.mediaPropOrder,y="theme"===r,b="group"===r,v=y||"platform"===r||b,S=s.slice(0,s.indexOf("-")+1),w=`${S}_${t.replace("-","")}${i?"0":""}_`,x="",$,T,C=s.replace(S,w),E=u.map(e=>e.replace(s,C)).join(";");if(v){let e=Array((o||0)+(b?1:0)).fill(":root").join("");if(y||b){let n=d(t),r=n?.name;$=n?.media,b&&(T=r);let i=E.indexOf(":root"),o=E.lastIndexOf("{"),a=E.slice(i,o),s=c.themeClassNameOnRoot&&y?"":" ",l=n.pseudo?m[n.pseudo]||n.pseudo:void 0,u=l?`:${l}`:"",f=`:root${e}${s}`,p=`.t_${(b?"group_":"")+r}${u}`,h=`${f}${p} ${a.replace(":root","")}`;x=E.replace(a,h)}else x=`${e}${E}`}if(!v||$){if(!h){let e=Object.keys(n);h=Object.fromEntries(e.map(e=>[e,(0,f.yS)(n[e])])),g||(p=Object.fromEntries(e.map((e,t)=>[e,Array(t+1).fill(":root").join("")])))}let e=$||t,r=h[e],a=`${i?"not all and ":""}${r}`,s=$?"":g?Array(o).fill(":root").join(""):p[e],l=$?`@container ${T}`:"@media";$&&(E=x),x=E.includes(l)?E.replace("{",` and ${a} {`).replace("and screen and","and"):`${l} ${a}{${s}${E}}`,$&&(x=`@supports (contain: ${c.settings.webContainerType||"inline-size"}) {${x}}`)}return{property:a,rules:[x],identifier:C}},y={height:0,width:0};var b=n(2117);function v(e){for(let t in(null!=e.shadowRadius||e.shadowColor||null!=e.shadowOpacity||e.shadowOffset)&&Object.assign(e,function({shadowColor:e,shadowOffset:t,shadowOpacity:n,shadowRadius:r}){let{height:i,width:o}=t||y;return{shadowOffset:{width:o||0,height:i||0},shadowRadius:r||0,shadowColor:(0,b.ut)(e,1),shadowOpacity:n??(e?b.HY(e)?.a:1)}}(e)),w)t in e&&(e[w[t]]||="solid")}let S=o.$L?null:"borderStyle",w={borderWidth:"borderStyle",borderBottomWidth:S||"borderBottomStyle",borderTopWidth:S||"borderTopStyle",borderLeftWidth:S||"borderLeftStyle",borderRightWidth:S||"borderRightStyle"};var x=n(8829),$=n(7440),T=n(1333);function C(e){k(e);let t=[];for(let n in e){let r=e[n];if(n in $.Qy)r&&t.push(...E(r,$.Qy[n]));else{let r=R(e,n);r&&t.push(r)}}return t}let E=(e,t)=>{k(e);let n=[];for(let r in e){let i=R(e,r,t);i&&n.push(i)}return n},R=(e,t,n)=>{let i=e[t];if(null==i)return;"transform"===t&&Array.isArray(e.transform)&&(i=(0,T.m)(i));let o=(0,x.Y)(i,t),s=(0,a.M)(`${o}`),u=n?`0${n.name}-`:"";r||=(0,l.iE)();let c=`_${r.inverseShorthands[t]||t}-${u}${s}`,f=function(e,t,n,r){let i=r?"disabled"===r.name?"[aria-disabled]":`:${r.name}`:"",o=r?r?.selector?`${r?.selector} .${e}`:`${_[r.name]} .${e}${i}`:`:root .${e}`,a=!!r,s=[];switch(t){case"placeholderTextColor":{let e=P([["color",n],["opacity",1]],a);s.push(`${o}::placeholder${e}`);break}case"backgroundClip":case"userSelect":{let e=`Webkit${t[0].toUpperCase()}${t.slice(1)}`,r=P([[t,n],[e,n]],a);s.push(`${o}${r}`);break}case"pointerEvents":{let e=n;"auto"===n||"box-only"===n?(e="auto","box-only"===n&&s.push(`${o}>*${M}`)):("none"===n||"box-none"===n)&&(e="none","box-none"===n&&s.push(`${o}>*${A}`));let t=P([["pointerEvents",e]],!0);s.push(`${o}${t}`);break}default:{let e=P([[t,n]],a);s.push(`${o}${e}`)}}return r?.name==="hover"&&(s=s.map(e=>`@media (hover) {${e}}`)),s}(c,t,o,n);return{property:t,pseudo:n?.name,identifier:c,rules:f,value:o}};function k(e){let{shadowOffset:t,shadowRadius:n,shadowColor:r,shadowOpacity:i}=e;if(n||r){let o=t||y,a=(0,x.Y)(o.width),s=(0,x.Y)(o.height),l=(0,x.Y)(n),u=(0,b.ut)(r,i),c=`${a} ${s} ${l} ${u}`;e.boxShadow=e.boxShadow?`${e.boxShadow}, ${c}`:c,delete e.shadowOffset,delete e.shadowRadius,delete e.shadowColor,delete e.shadowOpacity}let{textShadowColor:o,textShadowOffset:a,textShadowRadius:s}=e;if(o||a||s){let{height:t,width:n}=a||y,r=s||0,i=(0,x.Y)(o,"textShadowColor");if(i&&(0!==t||0!==n||0!==r)){let o=(0,x.Y)(r),a=(0,x.Y)(n),s=(0,x.Y)(t);e.textShadow=`${a} ${s} ${o} ${i}`}delete e.textShadowColor,delete e.textShadowOffset,delete e.textShadowRadius}}function P(e,t=!1){let n="";for(let[r,i]of e)n+=`${L(r)}:${i}${t?" !important":""};`;return`{${n}}`}let N={},O=e=>`-${e.toLowerCase()}`,L=e=>{if(e in N)return N[e];let t=e.replace(/[A-Z]/g,O);return N[e]=t,t},_=(()=>{let e={};for(let t in $.Qy){let n=$.Qy[t];e[n.name]=`${[...Array(n.priority)].map(()=>":root").join("")} `}return e})(),A=P([["pointerEvents","auto"]],!0),M=P([["pointerEvents","none"]],!0);var j=n(7393),I=n(2202);function W(e,t){if("flex"===e)return[["flexGrow",t],["flexShrink",1],["flexBasis","auto"]];switch(e){case"textAlignVertical":return[["verticalAlign","center"===t?"middle":t]];case"writingDirection":return[["direction",t]]}if(e in D)return D[e].map(e=>[e,t])}let z=["Top","Right","Bottom","Left"],F=["Right","Left"],Y=["Top","Bottom"],B=["X","Y"],D={borderColor:["TopColor","RightColor","BottomColor","LeftColor"],borderRadius:["TopLeftRadius","TopRightRadius","BottomRightRadius","BottomLeftRadius"],borderWidth:["TopWidth","RightWidth","BottomWidth","LeftWidth"],margin:z,marginHorizontal:F,marginVertical:Y,overscrollBehavior:B,padding:z,paddingHorizontal:F,paddingVertical:Y,...o.$L&&{borderStyle:["TopStyle","RightStyle","BottomStyle","LeftStyle"],overflow:B}};for(let e in D){let t=e.slice(0,/[A-Z]/.exec(e)?.index??e.length);D[e]=D[e].map(e=>`${t}${e}`)}var V=n(1616);let X=new WeakMap;function H(e,t){if(X.has(t))return X.get(t);let n={...e,...Object.fromEntries(Object.entries(t).map(([t,n])=>{if("default"===n)return[];let r=`$${t}_${n}`;return[`$${t}`,e[r]]}))};return X.set(t,n),n}let G={untilMeasured:1,animation:1,space:1,animateOnly:1,disableClassName:1,debug:1,componentName:1,disableOptimization:1,tag:1,style:1,group:1,themeInverse:1,animatePresence:1};var U=n(357);let K=(e,t,n,r)=>{if(er=null,"elevationAndroid"===e)return;if("unset"===t){let r=n.conf.unset?.[e];if(null==r)return;t=r}let i=n.styleProps.fallbackProps||r,o=i?new Proxy(n,{get:(e,t)=>"curProps"===t?i:Reflect.get(e,t)}):n,{conf:a,styleProps:s,fontFamily:l,staticConfig:u,skipThemeTokenResolution:c}=o,{variants:f}=u;if(!s.noExpand&&f&&e in f){o.curProps[e]=t;let n=Q(e,t,s,o,"");if(n)return n}if(s.disableExpandShorthands||e in a.shorthands&&(e=a.shorthands[e]),t&&("$"===t[0]?t=ei(e,t,s.resolveValues,o):(0,I.cG)(t)&&(t=eo(e,t,s.resolveValues))),null!=t){let n=(s.noExpand?null:W(e,t))||[[e,t]];return"fontFamily"===e&&er&&Z.set(n,er),n}},Q=(e,t,n,r,i)=>{let o;let{staticConfig:a,conf:s,debug:l}=r,{variants:u}=a;if(!u)return;let c=function(e,t,n){if("function"==typeof e)return e;let r=e[t];if(r)return r;if(null!=t){let{tokensParsed:r}=n;for(let{name:n,spreadName:i}of et)if(i in e&&t in r[n])return e[i];let i=e["...fontSize"];if(i&&n.fontSizeTokens.has(t))return i}return e[`:${typeof t}`]||e["..."]}(u[e],t,s);if(!c){if("1"===U.env.TAMAGUI_WARN_ON_MISSING_VARIANT&&"boolean"!=typeof t){let n=a.componentName||"[UnnamedComponent]";console.warn(`No variant found: ${n} has variant "${e}", but no matching value "${t}"`)}return}if("function"==typeof c&&(c=c(t,function(e){let{curProps:t,props:n,conf:r,context:i,theme:o}=e,a=r.fontsParsed;i?.language&&(a=H(r.fontsParsed,i.language));let s=(0,I.Ve)(e.fontFamily||e.curProps.fontFamily||e.conf.defaultFont),l=a[s]||a[e.conf.defaultFont];return{fonts:a,tokens:r.tokensParsed,theme:o,fontFamily:s,font:l,props:new Proxy(n,{get(e,n){for(let i of[n,r.inverseShorthands[n]])if(i)return Reflect.has(t,i)?Reflect.get(t,i):Reflect.get(e,i)}})}}(r))),(0,V.B)(c)){let t=c.fontFamily||c[s.inverseShorthands.fontFamily];t&&(o=function(e,t){if((0,I.cG)(e)){let n=q.get(e);if(n)return n;for(let n in t.fontsParsed){let r=t.fontsParsed[n].family;if((0,I.cG)(r)&&(q.set(r,n),r===e))return n}}else if("string"==typeof e&&"$"===e[0])return e}(t,s),r.fontFamily=o),c=ee(e,c,n,r,i)}if(c){let e=Object.entries(function e(t,n=!1){let r={};for(let i in t){let o=t[i];if(null==o)continue;if(i in $.Qy||"$"===i[0]&&(0,V.B)(o)){r[i]=e(o,n);continue}let a=n?o:(0,x.Y)(o,i),s=W(i,a);s?Object.assign(r,Object.fromEntries(s)):r[i]=a}return v(r),r}(c,!!n.noNormalize));return o&&"$"===o[0]&&Z.set(e,(0,I.Ve)(o)),e}},q=new WeakMap,Z=new WeakMap,J=e=>e&&Z.get(e),ee=(e,t,n,r,i)=>{let{conf:o,staticConfig:a,debug:s,theme:l}=r,{variants:u}=a,c={};for(let a in t){let s=o.shorthands[a]||a,l=t[a];if(!(!n.noSkip&&s in G)){if(n.noExpand)c[s]=l;else if(u&&s in u){if(r.curProps[s]=l,i&&i===e)c[s]="$"===l[0]?ei(s,l,n.resolveValues,r):l;else{let t=Q(s,l,n,r,e);if(t)for(let[e,n]of t)null!=n&&(e in $.Qy?(c[e]??={},Object.assign(c[e],n)):c[e]=n)}continue}if((0,I.cG)(l)){c[s]=eo(s,l,n.resolveValues);continue}if("string"==typeof l){let e="$"===l[0]?ei(s,l,n.resolveValues,r):l;c[s]=e;continue}if((0,V.B)(l)){let t=ee(s,l,n,r,e);c[s]??={},Object.assign(c[s],t)}else c[s]=l}}return c},et=["size","color","radius","space","zIndex"].map(e=>({name:e,spreadName:`...${e}`})),en={fontSize:"size",fontWeight:"weight"},er=null,ei=(e,t,n="none",r)=>{if("none"===n)return t;let{theme:i,conf:o=(0,l.iE)(),context:s,fontFamily:u,staticConfig:c}=r,f=o.tokensParsed,d,p=!1,h=c?.accept?.[e];if(h){let e=i?.[t]??f[h][t];null!=e&&(n="value",d=e,p=!0)}if(i&&t in i){if(d=i[t],r.skipThemeTokenResolution&&d?.val)return t;p=!0}else{if(t in o.specificTokens)p=!0,d=o.specificTokens[t];else{switch(e){case"fontFamily":d=(s?.language?H(o.fontsParsed,s.language):o.fontsParsed)[t]?.family||t,er=t,p=!0;break;case"fontSize":case"lineHeight":case"letterSpacing":case"fontWeight":{let n=o.defaultFont||"$body",r=u||n;if(r){let i=s?.language?H(o.fontsParsed,s.language):o.fontsParsed;d=(i[r]||i[n])?.[en[e]||e]?.[t]||t,p=!0}}}for(let n in a.CV)if(e in a.CV[n]){let e=f[n][t];null!=e&&(d=e,p=!0)}}if(!p){let e=f.space[t];null!=e&&(d=e,p=!0)}}if(p)return eo(e,d,n)};function eo(e,t,n){if("none"===n)return t;if((0,I.cG)(t)){if("value"===n)return t.val;let e=t?.get;return"function"==typeof e?e("web"===n?"web":void 0):t.variable}return t}var ea=n(357);function es(e,t){return(t.validStyles||(t.isText||t.isInput?a.FB:a.Qn))[e]||t.accept?.[e]}let el=(e,t,n,r,s,p,h,m,y,b,S)=>{i=i||(0,l.iE)(),o.$L&&p.isAnimated&&i.animations.isReactNative&&!p.noNormalize&&(p.noNormalize="values");let{shorthands:w}=i,{isHOC:R,isText:P,isInput:N,variants:O,isReactNative:L,inlineProps:_,inlineWhenUnflattened:A,parentStaticConfig:M,acceptsClassName:I}=t,W={},z=p.mediaState||f.nA,F={},Y=I&&o.$L&&!p.noClassNames,B=[],D={},V={},X=null,H=e.space,U=!1,Q,q,Z,ee=(e.className,0),et={curProps:{},classNames:D,conf:i,props:e,styleProps:p,componentState:s,staticConfig:t,style:null,theme:n,usedKeys:F,viewProps:W,context:m,debug:b,skipThemeTokenResolution:S};for(let n in e){let l=n,h=e[n];if(t.accept&&("style"===t.accept[l]||"textStyle"===t.accept[l])&&"object"==typeof h){let e=ef(et,l,h,p.noClassNames);W[l]=e;continue}if(p.disableExpandShorthands||l in w&&(l=w[l]),"className"===l||l in F||e.asChild&&c.zm[l]===h)continue;if(l in G&&!p.noSkip&&!R){if("group"===l){let e=`t_group_${h}`,t=i.settings.webContainerType||"inline-size";eh(B,{identifier:e,property:"container",rules:[`.${e} { container-name: ${h}; container-type: ${t}; }`]})}continue}let b=typeof h,v=es(l,t);if(v&&"string"===b&&"_"===h[0]){let e=l in a.Qn,t=!e&&l.includes("-")&&a.Qn[l.split("-")[0]];if(e||t){Y?(eu(V,D,l,h,t),et.style&&delete et.style[l]):(et.style||={},et.style[l]=(0,x.R)(l,h),delete D[l]);continue}}if(h!==e[l]&&(et.curProps[l]=h),"dataSet"===l){for(let e in h)W[`data-${eb(e)}`]=h[e];continue}if(!p.noExpand){if("disabled"===l&&!0===h&&(W["aria-disabled"]=!0,("button"===y||"form"===y||"input"===y||"select"===y||"textarea"===y)&&(W.disabled=!0),!O?.disabled))continue;if("testID"===l){W[L?l:"data-testid"]=h;continue}if("id"===l||"nativeID"===l){W.id=h;continue}let e=!1;if(L){if(l in u||l.startsWith("accessibility")){W[l]=h;continue}}else{if(e=!0,l in u){W[u[l]]=h;continue}switch(l){case"accessibilityRole":"none"===h?W.role="presentation":W.role=ew[h]||h;continue;case"accessibilityLabelledBy":case"accessibilityFlowTo":case"accessibilityControls":case"accessibilityDescribedBy":W[`aria-${l.replace("accessibility","").toLowerCase()}`]=Array.isArray(h)?h.join(" "):h;continue;case"accessibilityKeyShortcuts":Array.isArray(h)&&(W["aria-keyshortcuts"]=h.join(" "));continue;case"accessibilityLiveRegion":W["aria-live"]="none"===h?"off":h;continue;case"accessibilityReadOnly":W["aria-readonly"]=h,("input"===y||"select"===y||"textarea"===y)&&(W.readOnly=!0);continue;case"accessibilityRequired":W["aria-required"]=h,("input"===y||"select"===y||"textarea"===y)&&(W.required=h);continue;default:e=!1}}if(e)continue}let S=l in w,T=!v&&O&&l in O,k=S||v||T,A=l in a.M6,j=!k&&!A&&(0,f._z)(l),I=!!(j||A);if(I&&l.startsWith("$group-")){let e=l.split("-")[1];m?.groups.subscribe&&!m?.groups.state[e]&&(l=l.replace("$group-","$group-true-"))}let en=v||I||T&&!p.noExpand||S;if(en&&("except-style"===e.asChild||"except-style-web"===e.asChild))continue;let er=!en||R&&M?.variants&&l in M.variants||_?.has(l),ei=M?.variants?.[l],eo=!!(R&&(S||v||I||ei||l in G));if((er||eo)&&(ex(W,l,h,I),!T)||!p.noSkip&&l in G)continue;(P||N)&&h&&("fontFamily"===l||l===w.fontFamily)&&h in i.fontsParsed&&(et.fontFamily=h);let ea=I||!T&&!v,el=ea?null:K(l,h,et);if(!ea){if(!el)continue;let e=J(el);e&&(et.fontFamily=e)}let ed=l,ep=h,em=el?el.length:1;for(let n=0;n<em;n++){if(el){let[e,t]=el[n];ed=e,ep=t}if(null!=ep&&!(ed in F)){if(I=!!((j=!(A=ed in a.M6)&&!v&&(0,f._z)(ed))||A),T=O&&ed in O,_?.has(ed)&&(W[ed]=e[ed]??ep),p.noExpand&&A||R&&(I||M?.variants?.[l])){ex(W,ed,ep,I);continue}if(A){if(!ep)continue;let e=ef(et,ed,ep,p.noClassNames),t=$.Qy[ed],n="enterStyle"===ed,r="exitStyle"===ed;if(!t)continue;if(Y||(X||={},X[ed]||={}),Y&&!r)for(let n of E(e,t)){let e=`${n.property}-${t.name}`;e in F||(eh(B,n),eu(V,D,e,n.identifier,I,!0))}if(!Y||r||n){let i=!1===s[t.stateKey||t.name];r&&(i=!p.isExiting),n&&(i="should-enter"===s.unmounted||!s.unmounted);let o=t.priority;for(let t in e){let n=e[t];if(i){let e=eg[t];null==e||t in F||et.style&&t in et.style||ec(et,t,e)}else o>=(F[t]||0)&&(X||={},X[ed]||={},X[ed][t]=n,ec(et,t,n))}if(!i)for(let e in ep){let t=w[e]||e;F[t]=Math.max(o,F[t]||0)}}continue}if(j){if(!ep)continue;if("platform"===j){let e=ed.slice(10);if(e!==o.ob&&"web"!==e)continue}U||=!0;let e=ed.slice(1),t=ep.space;if((t||!Y)&&(Array.isArray(U)||(U=[]),U.push(e)),Y){let n=ef(et,ed,ep,!1);if(t&&(delete n.space,z[e])){let t=(0,f.ae)(e,"space",F,!0);t&&(H=ep.space,F.space=t)}let r=C(n),i=ee;for(let t of(ee+=1,r)){let n=g(t,e,f.aN,j,!1,i),r=`${t.property}-${e}${t.pseudo||""}`;r in F||(eh(B,n),eu(V,D,r,n.identifier,!0,!0))}}else{let t=ef(et,ed,ep,!0),n="theme"===j,i="group"===j;if(!n&&"platform"!==j&&!i&&!z[e])continue;let o=0;if(n){Q=!0;let t=e.slice(6);if(!(r===t||r.startsWith(t)))continue}else if(i){let t=d(e),n=t.name,r=m?.groups.state[n];if(!r)continue;let i=t.pseudo,a=t.media,l=s.group?.[n];if(a){(Z||=new Set).add(a);let e=l?.media,t=e?.[a];if(!e&&r.layout&&(t=(0,f.yj)(a,r.layout)),!t)continue;o=2}if(i){if((q||=new Set).add(n),!(l||m.groups.state[n]).pseudo?.[i])continue;o=$.MX[i]}}for(let n in t){if("space"===n){H=h.space;continue}et.style||={},function(e,t,n,r,i,o,a){let s=(0,f.ae)(t,n,i,o);a&&(s=(s||0)+a),null!==s&&(i[n]=s,ec(e,n,r))}(et,e,n,t[n],F,z[e],o),"fontFamily"===ed&&(et.fontFamily=t.fontFamily)}}continue}if(!R&&es(ed,t)){ec(et,ed,ep);continue}T||(W[ed]=ep)}}}if(!1!==p.noNormalize&&(et.style&&(v(et.style),o.$L&&!t.isReactNative&&k(et.style)),et.flatTransforms&&(et.style||={},Object.entries(et.flatTransforms).sort(([e],[t])=>e.localeCompare(t)).forEach(([e,t])=>{ev(et.style,e,t,!0)})),h)){if(Y)for(let e in h.classNames){let t=h.classNames[e];et.style&&e in et.style||e in D||(D[e]=t)}if(!Y)for(let e in h.style)e in D||et.style&&e in et.style||(et.style||={},et.style[e]=h.style[e])}if(!p.noNormalize&&!t.isReactNative&&!t.isHOC&&(!p.isAnimated||i.animations.supportsCSSVars)&&Array.isArray(et.style?.transform)&&(et.style.transform=(0,T.m)(et.style.transform)),et.style&&Y){let t;if(!et.style.$$css){for(let n of C(et.style)){let r=n.property,i=p.isAnimated&&p.noClassNames&&(!e.animateOnly||e.animateOnly.includes(r)),o=!i&&!p.isAnimated&&e.animateOnly?.includes(r);i?(t||={})[r]=et.style[r]:o?(t||={})[r]=n.value:(eh(B,n),eu(V,D,r,n.identifier,!1,!0))}et.style=t||{}}if(V)for(let e in V){if(!V[e])continue;let[t,n]=V[e],r=`_transform${t}`;if(o.C5&&!j.MD[r]){let t=`.${r} { transform: ${n}; }`;eh(B,{identifier:r,rules:[t],property:e})}D[e]=r}}if(!L&&null==W.tabIndex){let t=W.focusable??W.accessible;W.focusable&&delete W.focusable;let n=W.role;!1===t&&(W.tabIndex="-1"),"a"===y||"button"===y||"input"===y||"select"===y||"textarea"===y?(!1===t||!0===e.accessibilityDisabled)&&(W.tabIndex="-1"):("button"===n||"checkbox"===n||"link"===n||"radio"===n||"textbox"===n||"switch"===n)&&!1!==t&&(W.tabIndex="0"),t&&(W.tabIndex="0",delete W.focusable)}let en=e.style;if(en){if(R)W.style=e$(en);else{let e=Array.isArray(en),t=e?en.length:1;for(let n=0;n<t;n++){let t=e?en[n]:en;t&&(t.$$css?Object.assign(et.classNames,t):(et.style||={},Object.assign(et.style,e$(t))))}}}let er={space:H,hasMedia:U,fontFamily:et.fontFamily,viewProps:W,style:et.style,pseudos:X,classNames:D,rulesToInsert:B,dynamicThemeAccess:Q,pseudoGroups:q,mediaGroups:Z},ei=e.asChild;if(!("except-style"===ei||"except-style-web"===ei)){let n=et.style;{let r=P||N?et.fontFamily||t.defaultProps?.fontFamily:null;r&&"$"===r[0]&&(r=r.slice(1));let o=r?`font_${r}`:"",a=e.group?`t_group_${e.group}`:"",s=e.componentName||t.componentName,l=e.asChild||!s?"":`is_${s}`,u=[];l&&u.push(l),o&&u.push(o),D&&u.push(Object.values(D).join(" ")),a&&u.push(a),e.className&&u.push(e.className);let c=u.join(" ");if(p.noMergeStyle)c&&(W.className=c);else if(p.isAnimated&&!i.animations.supportsCSSVars&&L)n&&(W.style=n);else if(L){let e={$$css:!0};for(let t of c.split(" "))e[t]=t;W.style=[...Array.isArray(n)?n:[n],e]}else c&&(W.className=c),n&&(W.style=n)}}return er};function eu(e,t,n,r,i=!1,a=!1){if(r){if(!a&&"_"===r[0]&&r.startsWith("_transform-")){let t=i?n:"transform",a=j.MD[r];!o.C5||a||((0,j.jc)(),(a=j.MD[r])||!o.$L||"_"===r[0]||(a=r)),e[t]||=["",""],e[t][0]+=r.replace("_transform",""),a&&(e[t][1]+=a)}else t[n]=r}}function ec(e,t,n,r=!1){let{classNames:i,viewProps:s,usedKeys:l,styleProps:u,staticConfig:c}=e;if(o.$L&&n?.[0]==="_")i[t]=n,l[t]||=1;else if(t in a.Dc)e.flatTransforms||={},e.flatTransforms[t]=n;else{let i=!o.$L||r||u.noNormalize?n:(0,x.Y)(n,t);c.accept&&t in c.accept?s[t]=i:(e.style||={},e.style[t]=i)}}let ef=(e,t,n,r)=>{let{staticConfig:i,props:o,conf:s,styleProps:l}=e,u={};for(let c in n){let f=n[c],d=K(c=s.shorthands[c]||c,f,e,{...o,...o[t]});if(!(!d||!i.isHOC&&c in G&&!l.noSkip))for(let[e,t]of d)!r&&e in a.Dc?ev(u,e,t):u[e]=l.noNormalize?t:(0,x.Y)(t,c)}return l.noNormalize||v(u),u},ed=o.$L?s.useInsertionEffect||o.LI:()=>{},ep=(e,t,n,r,i,o,a,s,l,u)=>{let c=el(e,t,n,r,i,o,a,s,l,u);return ed(()=>{(0,j._N)(c.rulesToInsert)},[c.rulesToInsert]),c};function eh(e,t){(0,j.Jt)(t.identifier)&&((0,j.GU)(t.identifier,t.rules),e.push(t))}let em=ea.env.TAMAGUI_DEFAULT_COLOR||"rgba(0,0,0,0)",eg={...Object.fromEntries(Object.entries(a.CV.color).map(([e,t])=>[e,em])),opacity:1,scale:1,rotate:"0deg",rotateY:"0deg",rotateX:"0deg",x:0,y:0,borderRadius:0},ey=e=>`-${e.toLowerCase()}`,eb=e=>e.replace(/[A-Z]/g,ey),ev=(e,t,n,r=!1)=>{"string"!=typeof e.transform&&(e.transform||=[],e.transform[r?"unshift":"push"]({[eS[t]||t]:n}))},eS={x:"translateX",y:"translateY"},ew={adjustable:"slider",header:"heading",image:"img",link:"link",none:"presentation",summary:"region"};function ex(e,t,n,r=!1){if(r){let r={...e[t],...n};delete e[t],e[t]=r}else e[t]=n}function e$(e){let t={};for(let n in e){let r=e[n];n in a.Dc?ev(t,n,r):t[n]=(0,x.Y)(r,n)}return o.$L&&Array.isArray(t.transform)&&(t.transform=(0,T.m)(t.transform)),v(t),t}},7393:function(e,t,n){"use strict";n.d(t,{GU:function(){return E},Jt:function(){return P},MD:function(){return c},OJ:function(){return h},UY:function(){return d},_N:function(){return R},jc:function(){return g},tN:function(){return f}});var r=n(281),i=n(2202),o=n(357);let a=new WeakMap,s=new Map,l={},u={},c={},f=()=>l,d=()=>Object.values(u);function p(e,t,n){let r=t.indexOf("transform:");if(-1===r)return;let i=t.indexOf(";"),o=t.slice(r+10,i);if(!c[e])return c[e]=o,!0}function h(){r.C5&&new MutationObserver(e=>{for(let t of e)if(t instanceof HTMLStyleElement&&t.sheet||t instanceof HTMLLinkElement&&t.href.endsWith(".css")){g();break}}).observe(document.head,{childList:!0})}let m=null;function g(e=!1,t){let n;if(!r.C5)return;let i=document.styleSheets||[],o=m,a=new Set(i);if(document.styleSheets){for(let r of a)if(r){let i=S(r,!1,e,t);i&&(n=i)}m=a}if(o)for(let e of o)e&&!a.has(e)&&S(e,!0);return n}function y(e,t=!1){let n=(s.get(e)||0)+(t?-1:1);return s.set(e,n),n}let b=o.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES,v=b?+b:250;function S(e,t=!1,n=!1,r){let s;try{if(!(s=e.cssRules))return}catch{return}let u=$(s[0],n)?.[0],c=$(s[s.length-1],n)?.[0],f=`${s.length}${u}${c}`,d=a.get(e);if(!t&&d===f)return;let h=s.length,m=0,g;for(let e=0;e<h;e++){let a=s[e];if(!(a instanceof CSSStyleRule))continue;let u=$(a,n);if(u)m=0;else{if(++m>v)return;continue}let[c,f,d]=u;if(d){let e=function(e,t){let n=e.selectorText.split(",");if(!n.length)return;if(t&&!w)for(let e in w={},t.color){let n=t.color[e];w[n.name]=n.val}let r=(e.cssText||"").slice(e.selectorText.length+2,-1).trim().split(";"),a={};for(let e of r){let t;let n=e.indexOf(":");if(-1===n)continue;let r=e.indexOf("--"),s=e.slice(-1===r?0:r+2,n);o.env.TAMAGUI_CSS_VARIABLE_PREFIX&&(s=s.replace(o.env.TAMAGUI_CSS_VARIABLE_PREFIX,""));let l=e.slice(n+2);if(l.startsWith("var(")){let e=l.slice(6,-1),n=w[e];n?t=n:(x||=getComputedStyle(document.body),t=x.getPropertyValue("--"+e))}else t=l;a[s]=(0,i.Os)({key:s,name:s,val:t},!0)}let s={names:[],theme:a};for(let e of n){let[t,n,r,i,o]=e.match(/(.t_(light|dark))?[\s]?(.t_([a-z0-9_]+))[\s]*$/i)||[],a=o&&r&&r!==o?`${r}_${o}`:o||r;!a||s.names.includes(a)||"light_dark"===a||"dark_light"===a||s.names.push(a)}return s}(f,r);e&&(g||=[]).push(e);continue}let h=y(c,t);t?0===h&&delete l[c]:c in l||(!c.startsWith("_transform-")||p(c,f.cssText,f))&&(l[c]=f.cssText)}return a.set(e,f),g}let w,x=null;function $(e,t=!1){if(e instanceof CSSStyleRule){let n=e.selectorText;if(":"===n[0]&&"r"===n[1]){if(n.startsWith(":root ._"))return[T(n),e];if(t&&(n.startsWith(":root.t_")||n.startsWith(":root .t_")))return[n.slice(0,20),e,!0]}}else if(e instanceof CSSMediaRule)return e.cssRules.length>1?void 0:$(e.cssRules[0])}let T=e=>{let t=e.slice(7);return e.includes(":")?t.replace(/:[a-z]+$/,""):t},C=r.C5?document.head.appendChild(document.createElement("style")).sheet:null;function E(e,t){return!(e in u)&&(u[e]=t.join(" "),!e.startsWith("_transform-")||p(e,t[0]))}function R(e){if(!(!e.length||!C)){for(let{identifier:t,rules:n}of e)if(P(t))for(let e of(l[t]=n.join(`
|
7 |
-
`),y(t),E(t,n),n))try{C.insertRule(e,C.cssRules.length)}catch(e){console.error("Error inserting CSS",e)}}}let k=o.env.TAMAGUI_INSERT_SELECTOR_TRIES?+o.env.TAMAGUI_INSERT_SELECTOR_TRIES:2;function P(e){let t=s.get(e);return void 0===t||t<k}},1616:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});let r=e=>e&&!Array.isArray(e)&&"object"==typeof e},9533:function(e,t,n){"use strict";n.d(t,{D:function(){return i},L:function(){return r}});let r="u">typeof window&&window.matchMedia||function(e){return{match:(e,t)=>!1,addListener(){},removeListener(){},matches:!1}};function i(e){}},2117:function(e,t,n){"use strict";n.d(t,{HY:function(){return s},ut:function(){return a}});var r=n(44),i=n.t(r,2);let o=r||i,a=(e,t)=>{if(e){if("$"===e[0])return e;if(e.startsWith("var(")){if("number"==typeof t&&t<1)return`color-mix(in srgb, ${e} ${100*t}%, transparent)`}else{let n=s(e);if(n){let e=`${n.r},${n.g},${n.b}`;return 1===t?`rgb(${e})`:`rgba(${e},${t??n.a??1})`}}return e}},s=e=>{let t=o(e);if(null!=t)return{r:Math.round((4278190080&t)>>>24),g:Math.round((16711680&t)>>>16),b:Math.round((65280&t)>>>8),a:((255&t)>>>0)/255}}},8829:function(e,t,n){"use strict";n.d(t,{R:function(){return u},Y:function(){return s}});var r=n(281),i=n(8338),o=n(7393);let a={...i.cC,translateX:!0,translateY:!0};function s(e,t=""){if(!r.$L||i.O0[t]||t&&!a[t]||"boolean"==typeof e)return e;let n=e;return e&&"object"==typeof e?e:("number"==typeof e?n=`${e}px`:t&&(n=`${n}`),n)}let l={};function u(e,t){let n;let r=(0,o.tN)()[t];if(l[r])return l[r];if(!r)return;let a=r.replace(/.*:/,"").replace(/;.*/,"").trim();return n=a.startsWith("var(")?a:i.O0[e]?+a:a.endsWith("px")?+a.replace("px",""):a,l[r]=n,n}},7440:function(e,t,n){"use strict";n.d(t,{MX:function(){return r},Qy:function(){return i}});let r={hover:1,press:2,focus:3,focusVisible:3,disabled:4},i={hoverStyle:{name:"hover",priority:1},pressStyle:{name:"active",stateKey:"press",priority:2},focusVisibleStyle:{name:"focus-visible",priority:3,stateKey:"focusVisible"},focusStyle:{name:"focus",priority:3},disabledStyle:{name:"disabled",priority:4,stateKey:"disabled"},enterStyle:{name:"enter",selector:".t_unmounted",priority:4},exitStyle:{name:"exit",priority:5}}},9235:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n(2265),i=n(1130),o=n(2281);function a(e,t){let n=(0,r.forwardRef)(function(n,r){let{themeInverse:a,theme:s,componentName:l,themeReset:u,...c}=n,f=(0,o.jsx)(e,{ref:r,...c,"data-disable-theme":!0});return(0,o.jsx)(i.Q,{componentName:l||t?.componentName,name:s,"disable-child-theme":!0,debug:n.debug,inverse:a,reset:u,children:f})});return n.displayName=`Themed(${e?.displayName||e?.name||"Anonymous"})`,n}},1333:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(8829);function i(e){return e.map(e=>{let t=Object.keys(e)[0],n=e[t];return"matrix"===t||"matrix3d"===t?`${t}(${n.join(",")})`:`${t}(${(0,r.Y)(n,t)})`}).join(" ")}},9097:function(e,t,n){"use strict";let r,i;n.d(t,{jl:function(){return v},om:function(){return d},ae:function(){return N},_z:function(){return h},yj:function(){return A},Lk:function(){return p},yS:function(){return _},aN:function(){return f},nA:function(){return c},Zv:function(){return R},yL:function(){return w},GS:function(){return P}});var o=n(281),a=n(2265),s=n(5986),l=n(9533),u=n(7440);let c={},f={},d=()=>c,p=new Set,h=e=>{if(p.has(e))return!0;if("$"===e[0]){if(e.startsWith("$platform-"))return"platform";if(e.startsWith("$theme-"))return"theme";if(e.startsWith("$group-"))return"group"}return!1},m=Object.keys(u.Qy).length,g=e=>(0,s.iE)().settings.mediaPropOrder?m:i.indexOf(e)+100,y=new Set,b=0,v=e=>{let{media:t,mediaQueryDefaultActive:n}=e;if(t){for(let e in b++,t)c[e]=n?.[e]||!1,p.add(`$${e}`);Object.assign(f,t),r={...c},i=Object.keys(t),e.disableSSR?w():C()}},S=-1;function w(){if(!(o.$L&&o.sk)&&S!==b)for(let e in S=b,y.forEach(e=>e()),y.clear(),f){let t=function(){let t=!!r().matches;t!==c[e]&&(c={...c,[e]:t},C())},n=_(f[e],e),r=()=>(0,l.L)(n),i=r();if(!i)throw Error("⚠️ No match");i.addListener(t),y.add(()=>{i.removeListener(t)}),t()}}let x=new Set,$=!1,T=-1;function C(){$&&T===b||(T=b,$=!0,Promise.resolve().then(()=>{$=!1,x.forEach(e=>e(c))}))}let E=new WeakMap;function R(e,t){return E.set(e,t)}function k(e){return x.add(e),()=>x.delete(e)}function P(e,t){let n=(0,a.useRef)(),i=((t?.disableSSR??(0,s.iE)().disableSSR)||!o.$L?c:r)||{},l=(0,a.useSyncExternalStore)(k,()=>{if(!n.current)return i;let{touched:t,prev:r}=n.current,o=e?E.get(e):void 0;if(o&&!1===o.enabled)return r;let a=o?.keys??((!o||o.enabled)&&t?[...t]:null);return!a||a?.every(e=>c[e]===r[e])?r:(n.current.prev=c,c)},()=>i);return new Proxy(l,{get:(e,t)=>("string"==typeof t&&(n.current||={prev:i},n.current.touched||=new Set,n.current.touched.add(t)),Reflect.get(l,t))})}let N=(e,t,n,r)=>{let i=(0,s.iE)(),o=r&&!i.settings.mediaPropOrder?g(e):m;return!n[t]||o>n[t]?o:null},O=new WeakMap,L={};function _(e,t){if("string"==typeof e)return e;if(O.has(e))return O.get(e);let n=Object.entries(e).map(([e,t])=>(e=e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).toLowerCase(),"string"==typeof t||"number"==typeof t&&/[height|width]$/.test(e)&&(t=`${t}px`),`(${e}: ${t})`)).join(" and ");return t&&(L[t]=n),O.set(e,n),n}function A(e,t){let n=f[e];return Object.keys(n).every(e=>{let r=+n[e],i=e.startsWith("max"),o=t[e.endsWith("Width")?"width":"height"];return i?o<r:o>r})}},8411:function(e,t,n){"use strict";let r;n.d(t,{q4:function(){return T},fe:function(){return E},Fg:function(){return y},WU:function(){return b}});var i=n(281),o=n(2265),a=n(5986),s=n(2202),l=n(9242);let u={name:""};function c(e){return!!(e.name||e.componentName||e.inverse||e.reset)}let f=0;class d{constructor(e={},t){if(this.props=e,f=(f+1)%Number.MAX_VALUE,this.id=f,"root"===t){this.updateStateFromProps(e,!1);return}if(!t)throw"❌ 000";if(this.parentManager=t,!this.updateStateFromProps(e,!1))return t}id=0;themeListeners=new Set;parentManager=null;state=u;updateStateFromProps(e=this.props||{},t=!0){if(this.props=e,e.forceTheme)return this.state.theme=e.forceTheme,this.state.name=e.name||"",this.updateState(this.state,!0),this.state;let n=this.getStateIfChanged(e);if(n)return this.updateState(n,t),n}updateState(e,t=!0){this.state=e,this._allKeys=null,t&&queueMicrotask(()=>{this.notify()})}getStateIfChanged(e=this.props,t=this.state,n=this.parentManager){let r=this.getState(e,n);return t&&t!==u&&!r?n?.state:this.getStateShouldChange(r,t)?r:void 0}getStateShouldChange(e,t=this.state){return!(!e?.theme||e.theme===t?.theme)}getState(e=this.props,t=this.parentManager){return function(e,t){if(e.name&&e.reset)throw Error("❌004");if(!c(e))return null;let n=(0,a.RC)(),[r,o]=function(e){let t=[],n=[],r=e;for(;r;)n.push(r),r.state.isComponent&&t.push(r),r=r.parentManager;return[n,t]}(t),s=!!t?.state.isComponent,u=e.reset&&!s?1:0,f=r[u],d=r[u+1];if(!f&&e.reset)return null;let{componentName:h}=e,m=null,g=f?.state.name||"";f?.state.isComponent&&(g=g.replace(/_[A-Z][A-Za-z]+/,""));let y=e.reset?g:e.name||"",b=o.map(e=>e?.state.name||"");s&&b.shift();let v=g.split(l.L2),S=v.length,w=e.componentName&&!y?S:0;for(let t=S;t>=w;t--){let r=v.slice(0,t).join(l.L2);e.inverse&&(r=p(r));let o=[];if(r&&r!==g&&r.includes(y)&&o.push(r),y&&o.unshift(r?`${r}_${y}`:y),1===t){let e=o.findIndex(e=>!e.includes("_"));e>0&&o.splice(e,0,y)}if(h&&!e.reset){let e=v.length,n=[];if(y&&e>1){let e=v[0];n.push(`${e}_${y}_${h}`)}if(n.push(`${r}_${h}`),y){if(t>e){let e=v.slice(0,t-1).join(l.L2);if(e){let t=`${e}_${y}_${h}`;n.unshift(t)}}let i=`${r}_${y}_${h}`;n.unshift(i)}o=[...n,...o,...b]}let a=o.find(e=>e in n);if(a){let e=a.split("_"),[t,...r]=e,o=e[e.length-1],s=o[0]===o[0].toUpperCase(),u="light"===t?"light":"dark"===t?"dark":void 0,c=l.nx,p=i.$L?`${c}sub_theme ${c}${u&&r.length?r.join("_"):t}`:"";m={name:a,parentName:(f||d)?.state?.name,theme:n[a],className:p,isComponent:s,scheme:u};break}}return m}(e,t)||null}_allKeys=null;get allKeys(){return this._allKeys||=new Set([...this.parentManager?.allKeys||[],...Object.keys(this.state.theme||{})]),this._allKeys}notify(e=!1){this.themeListeners.forEach(t=>t(this.state.name,this,e))}onChangeTheme(e,t){return this.themeListeners.add(e),()=>{this.themeListeners.delete(e)}}}let p=e=>e.startsWith("light")?e.replace(/^light/,"dark"):e.replace(/^dark/,"light");var h=n(9033),m=n(3820);let g={name:null},y=(e=g)=>{let[t,n]=b(e);return n||function(){if(r)return r;let e=(0,a.iE)(),t=e.themes.light?"light":Object.keys(e.themes)[0];return r=v({theme:e.themes[t],name:t})}()},b=e=>{let t=(0,o.useRef)([]),n=E(e,!1,t.current,i.sk?void 0:()=>e.shouldUpdate?.()??(t.current.length>0||void 0)),{themeManager:r,state:a}=n;return[n,(0,o.useMemo)(()=>r&&a?.theme?v(a,e.deopt,r,t.current,e.debug):{},[a?.theme,r,e.deopt,e.debug])]};function v({theme:e,name:t,scheme:n},r=!1,i,o,l){return e?((0,a.iE)(),new Proxy(e,{has:(t,n)=>!!Reflect.has(e,n)||("string"==typeof n?("$"===n[0]&&(n=n.slice(1)),i?.allKeys.has(n)):void 0),get(t,n){if("undefined"!==n&&"string"==typeof n){let t="$"===n[0]?n.slice(1):n,r=e[t];if(r&&"object"==typeof r)return new Proxy(r,{get(e,n){if("val"===n)o&&!o.includes(t)&&o.push(t);else if("get"===n)return e=>(0,s.E0)(r);return Reflect.get(r,n)}})}return Reflect.get(t,n)}})):{}}let S=new Set,w=new WeakMap,x={},$=e=>x[e],T=e=>w.get($(e)),C=e=>{if(!x[e.id]){let t=x[e.id]={};w.set(t,e)}},E=(e,t=!1,n,r)=>{let{disable:s}=e,l=T((0,o.useContext)(h.s));if(!t&&!l||s)return{isNewTheme:!1,state:l?.state,themeManager:l};let[u,f]=(0,o.useState)($),{state:p,mounted:g,isNewTheme:y,themeManager:b,inversed:v}=u,w=!!(!u.mounted&&e.inverse);function x(t=b,n,i=p,o=!1){let a=r?.();if(!t||!o&&!1===a)return;let s=n||t.getState(e,l);if(o||s&&!(!0!==a&&!t.getStateShouldChange(s,i)))return s}if(i.sk||(0,o.useEffect)(()=>{if(!b)return;if(e.inverse&&!g){f(e=>$({...e,mounted:!0}));return}(y||x(b))&&(S.add(b),f($));let t=b.onChangeTheme((e,t,n)=>{n&&f(e=>$(e,!0))}),i=l?.onChangeTheme((t,i,o)=>{let a=o||r?.()||e.deopt||void 0;(a??!!(n?.length||y))&&f(e=>$(e,a))},b.id);return()=>{t(),i?.(),y&&S.delete(b)}},[b,l,y,e.componentName,e.inverse,e.name,e.reset,g]),i.$L&&w)return{isNewTheme:!1,inversed:!1,themeManager:l,state:{name:"",...l?.state,className:""}};return{state:p,isNewTheme:y,inversed:v,themeManager:b};function $(o,s=!1){if(o&&r?.()===!1&&!s)return o;let u=l,f;if(c(e)){let r=()=>new d(e,t?"root":l);if(o?.themeManager){u=o.themeManager;let i=s||!!n?.length,a=u.getState(e,l),c=x(u,a,o.state,i);c?(f=c,o.isNewTheme||t?u.updateState(c):u=r()):o.isNewTheme&&l&&!a&&(u=l)}else f={...(u=r()).state}}let p=!!(u!==l||e.inverse);p&&C(u);let h=!!i.$L&&!(0,a.iE)().disableSSR,g=!h||t||o?.mounted;f||(p?f=u.state:(f=l.state,u=l));let y=o?.inversed,b=!!p&&f.scheme!==l?.state.scheme||(h?null==y&&null:e.inverse),v={themeManager:u,isNewTheme:p,mounted:g,inversed:b},S=o&&!s&&(0,m.N2)(o,v)&&(0,m.N2)(o.state,f);return o&&S?o:(v.state=f,v)}}},4283:function(e,t,n){"use strict";n.d(t,{P:function(){return r},b:function(){return i}});let r={};function i(e){Object.assign(r,e)}},4975:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(9100);let i=(e,t,n=0)=>{let r={};for(let o in t){let a=e?.[o],s=t[o];a&&"function"!=typeof s?a&&!s?r[o]=a[o]:0===n?r[o]=i(a,s,n+1):r[o]={...a,...s}:r[o]=s}return{...e,...r}},o=new WeakMap,a={Image:{isReactNative:!0,inlineProps:new Set(["src","width","height"])},Text:{isReactNative:!0,isText:!0},TextInput:{isReactNative:!0,isInput:!0,isText:!0},default:{isReactNative:!0}};function s(e,t,n){let s=e.staticConfig,l=!!s&&!(s.isReactNative||s.isHOC),u=s?.isHOC&&!s?.isStyledHOC||l?e:s?.Component||e,c=s?void 0:function(e){if(e)return e.getSize&&e.prefetch?a.Image:"Text"===e.displayName&&e.render?a.Text:e.render&&("ScrollView"===e.displayName||"View"===e.displayName)?a.default:e.State?.blurTextInput?a.TextInput:o.get(e)}(u),f=!!(c||n?.isReactNative||s?.isReactNative),d=(()=>{if(t){let{variants:e,name:r,defaultVariants:o,acceptsClassName:a,context:d,...p}=t;o&&(p={...o,...p}),s&&(s.isHOC&&!s.isStyledHOC||(p={...s.defaultProps,...p},s.variants&&(e=i(s.variants,e)))),s?.isHOC&&r&&(p.componentName=r);let h=!!(n?.isText||s?.isText),m=a??(l||f||s?.isHOC&&s?.acceptsClassName),g={...s,...n,...!l&&{Component:u},variants:e,defaultProps:p,defaultVariants:o,componentName:r||s?.componentName,isReactNative:f,isText:h,acceptsClassName:m,context:d,...c,isStyledHOC:!!s?.isHOC,parentStaticConfig:s};return(p.children||!m||d)&&(g.neverFlatten=!0),g}})(),p=(0,r.LM)(d||{});for(let t in e)"propTypes"!==t&&(t in p||(p[t]=e[t]));return p}},5566:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(8338),i=n(9242);let o=(0,n(9100).LM)({acceptsClassName:!0,defaultProps:i.tn,validStyles:r.Qn});o.displayName="Stack"},8475:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(8338),i=n(9100);let o={maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a=(0,i.LM)({acceptsClassName:!0,isText:!0,defaultProps:{fontFamily:"unset",display:"inline",boxSizing:"border-box",wordWrap:"break-word",whiteSpace:"pre-wrap",margin:0},inlineWhenUnflattened:new Set(["fontFamily"]),variants:{numberOfLines:{1:o,":number":e=>e>=1?{WebkitLineClamp:e,WebkitBoxOrient:"vertical",display:"-webkit-box",overflow:"hidden"}:null},selectable:{true:{userSelect:"text",cursor:"text"},false:{userSelect:"none",cursor:"default"}},ellipse:{true:o},ellipsis:{true:o}},validStyles:{...r.Qn,...r.hT}});a.displayName="Text"},1130:function(e,t,n){"use strict";n.d(t,{Q:function(){return u},u:function(){return c}});var r=n(281),i=n(2265),o=n(2202),a=n(9033),s=n(8411),l=n(2281);let u=(0,i.forwardRef)(function({children:e,...t},n){if(t.disable)return e;let r=!!t._isRoot,o=(0,s.fe)(t,r),a=t["disable-child-theme"]?i.Children.map(e,e=>(0,i.cloneElement)(e,{"data-disable-theme":!0})):e;if(n)try{i.Children.only(a),a=(0,i.cloneElement)(a,{ref:n})}catch{}return c(o,a,t,r)});function c(e,t,n,s=!1){let{themeManager:c,isNewTheme:d}=e;if(!c)throw Error("❌ 005");let{shallow:p,forceClassName:h}=n,m=(0,i.useRef)(!1),g=d||n.inverse||m.current||h||s;if(g&&(m.current=!0),!g)return t;let y=t;p&&(y=i.Children.toArray(t).map(e=>(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,(0,l.jsx)(u,{name:c.state.parentName,children:e.props.children})):e));let b=(0,l.jsx)(a.s.Provider,{value:c.id,children:y});return!1===h?b:r.$L?function({children:e,themeState:t,forceClassName:n,isRoot:r}){if(r&&!1===n)return e;let i=t.inversed,{className:a,style:s}=function(e,t=!1){if(!e.isNewTheme)return{className:"",style:f};let n=e.state?.theme&&e.isNewTheme?(0,o.lk)(e.state.theme.color):"",r=e.state?.className||"";return t&&(r=r.replace("t_sub_theme","")),{style:n?{color:n}:void 0,className:r}}(t,r),u=(0,l.jsx)("span",{className:`${a} _dsp_contents is_Theme`,style:s,children:e});if(null!=i||n){let e=t.state?.name||"",n=e.startsWith("light")?"t_light is_inversed":e.startsWith("dark")?"t_dark is_inversed":"";u=(0,l.jsx)("span",{className:`${i?n:""} _dsp_contents`,children:u})}return u}({children:b,themeState:e,forceClassName:h,isRoot:s}):b}u.displayName="Theme",u.avoidForwardRef=!0;let f={}}}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_next/static/chunks/143-c7b592a3726d7fed.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[143],{44:function(e){"use strict";let t;function n(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function r(e,t,r){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;return Math.round(255*n(o,i,e+1/3))<<24|Math.round(255*n(o,i,e))<<16|Math.round(255*n(o,i,e-1/3))<<8}let i="[-+]?\\d*\\.?\\d+",o=i+"%";function a(...e){return"\\(\\s*("+e.join(")\\s*,?\\s*(")+")\\s*\\)"}function l(...e){return"\\(\\s*("+e.slice(0,e.length-1).join(")\\s*,?\\s*(")+")\\s*/\\s*("+e[e.length-1]+")\\s*\\)"}function s(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}function u(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function c(e){return(parseFloat(e)%360+360)%360/360}function f(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function d(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}e.exports=function(e){let p;if("number"==typeof e)return e>>>0===e&&e>=0&&e<=4294967295?e:null;if("string"!=typeof e)return null;let h=(void 0===t&&(t={rgb:RegExp("rgb"+a(i,i,i)),rgba:RegExp("rgba("+s(i,i,i,i)+"|"+l(i,i,i,i)+")"),hsl:RegExp("hsl"+a(i,o,o)),hsla:RegExp("hsla("+s(i,o,o,i)+"|"+l(i,o,o,i)+")"),hwb:RegExp("hwb"+a(i,o,o)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/}),t);if(p=h.hex6.exec(e))return parseInt(p[1]+"ff",16)>>>0;let m=function(e){switch(e){case"transparent":return 0;case"aliceblue":return 4042850303;case"antiquewhite":return 4209760255;case"aqua":case"cyan":return 16777215;case"aquamarine":return 2147472639;case"azure":return 4043309055;case"beige":return 4126530815;case"bisque":return 4293182719;case"black":return 255;case"blanchedalmond":return 4293643775;case"blue":return 65535;case"blueviolet":return 2318131967;case"brown":return 2771004159;case"burlywood":return 3736635391;case"burntsienna":return 3934150143;case"cadetblue":return 1604231423;case"chartreuse":return 2147418367;case"chocolate":return 3530104575;case"coral":return 4286533887;case"cornflowerblue":return 1687547391;case"cornsilk":return 4294499583;case"crimson":return 3692313855;case"darkblue":return 35839;case"darkcyan":return 9145343;case"darkgoldenrod":return 3095792639;case"darkgray":case"darkgrey":return 2846468607;case"darkgreen":return 6553855;case"darkkhaki":return 3182914559;case"darkmagenta":return 2332068863;case"darkolivegreen":return 1433087999;case"darkorange":return 4287365375;case"darkorchid":return 2570243327;case"darkred":return 2332033279;case"darksalmon":return 3918953215;case"darkseagreen":return 2411499519;case"darkslateblue":return 1211993087;case"darkslategray":case"darkslategrey":return 793726975;case"darkturquoise":return 13554175;case"darkviolet":return 2483082239;case"deeppink":return 4279538687;case"deepskyblue":return 12582911;case"dimgray":case"dimgrey":return 1768516095;case"dodgerblue":return 512819199;case"firebrick":return 2988581631;case"floralwhite":return 4294635775;case"forestgreen":return 579543807;case"fuchsia":case"magenta":return 4278255615;case"gainsboro":return 3705462015;case"ghostwhite":return 4177068031;case"gold":return 4292280575;case"goldenrod":return 3668254975;case"gray":case"grey":return 2155905279;case"green":return 8388863;case"greenyellow":return 2919182335;case"honeydew":return 4043305215;case"hotpink":return 4285117695;case"indianred":return 3445382399;case"indigo":return 1258324735;case"ivory":return 4294963455;case"khaki":return 4041641215;case"lavender":return 3873897215;case"lavenderblush":return 4293981695;case"lawngreen":return 2096890111;case"lemonchiffon":return 4294626815;case"lightblue":return 2916673279;case"lightcoral":return 4034953471;case"lightcyan":return 3774873599;case"lightgoldenrodyellow":return 4210742015;case"lightgray":case"lightgrey":return 3553874943;case"lightgreen":return 2431553791;case"lightpink":return 4290167295;case"lightsalmon":return 4288707327;case"lightseagreen":return 548580095;case"lightskyblue":return 2278488831;case"lightslategray":case"lightslategrey":return 2005441023;case"lightsteelblue":return 2965692159;case"lightyellow":return 4294959359;case"lime":return 16711935;case"limegreen":return 852308735;case"linen":return 4210091775;case"maroon":return 2147483903;case"mediumaquamarine":return 1724754687;case"mediumblue":return 52735;case"mediumorchid":return 3126187007;case"mediumpurple":return 2473647103;case"mediumseagreen":return 1018393087;case"mediumslateblue":return 2070474495;case"mediumspringgreen":return 16423679;case"mediumturquoise":return 1221709055;case"mediumvioletred":return 3340076543;case"midnightblue":return 421097727;case"mintcream":return 4127193855;case"mistyrose":return 4293190143;case"moccasin":return 4293178879;case"navajowhite":return 4292783615;case"navy":return 33023;case"oldlace":return 4260751103;case"olive":return 2155872511;case"olivedrab":return 1804477439;case"orange":return 4289003775;case"orangered":return 4282712319;case"orchid":return 3664828159;case"palegoldenrod":return 4008225535;case"palegreen":return 2566625535;case"paleturquoise":return 2951671551;case"palevioletred":return 3681588223;case"papayawhip":return 4293907967;case"peachpuff":return 4292524543;case"peru":return 3448061951;case"pink":return 4290825215;case"plum":return 3718307327;case"powderblue":return 2967529215;case"purple":return 2147516671;case"rebeccapurple":return 1714657791;case"red":return 4278190335;case"rosybrown":return 3163525119;case"royalblue":return 1097458175;case"saddlebrown":return 2336560127;case"salmon":return 4202722047;case"sandybrown":return 4104413439;case"seagreen":return 780883967;case"seashell":return 4294307583;case"sienna":return 2689740287;case"silver":return 3233857791;case"skyblue":return 2278484991;case"slateblue":return 1784335871;case"slategray":case"slategrey":return 1887473919;case"snow":return 4294638335;case"springgreen":return 16744447;case"steelblue":return 1182971135;case"tan":return 3535047935;case"teal":return 8421631;case"thistle":return 3636451583;case"tomato":return 4284696575;case"turquoise":return 1088475391;case"violet":return 4001558271;case"wheat":return 4125012991;case"white":return 4294967295;case"whitesmoke":return 4126537215;case"yellow":return 4294902015;case"yellowgreen":return 2597139199}return null}(e);return null!=m?m:(p=h.rgb.exec(e))?(u(p[1])<<24|u(p[2])<<16|u(p[3])<<8|255)>>>0:(p=h.rgba.exec(e))?void 0!==p[6]?(u(p[6])<<24|u(p[7])<<16|u(p[8])<<8|f(p[9]))>>>0:(u(p[2])<<24|u(p[3])<<16|u(p[4])<<8|f(p[5]))>>>0:(p=h.hex3.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+"ff",16)>>>0:(p=h.hex8.exec(e))?parseInt(p[1],16)>>>0:(p=h.hex4.exec(e))?parseInt(p[1]+p[1]+p[2]+p[2]+p[3]+p[3]+p[4]+p[4],16)>>>0:(p=h.hsl.exec(e))?(255|r(c(p[1]),d(p[2]),d(p[3])))>>>0:(p=h.hsla.exec(e))?void 0!==p[6]?(r(c(p[6]),d(p[7]),d(p[8]))|f(p[9]))>>>0:(r(c(p[2]),d(p[3]),d(p[4]))|f(p[5]))>>>0:(p=h.hwb.exec(e))?(255|function(e,t,r){if(t+r>=1){let e=Math.round(255*t/(t+r));return e<<24|e<<16|e<<8}return Math.round(255*(n(0,1,e+1/3)*(1-t-r)+t))<<24|Math.round(255*(n(0,1,e)*(1-t-r)+t))<<16|Math.round(255*(n(0,1,e-1/3)*(1-t-r)+t))<<8}(c(p[1]),d(p[2]),d(p[3])))>>>0:null}},7961:function(){void 0===globalThis.__DEV__&&(globalThis.__DEV__=!1)},357:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(8081)},8081:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s=[],u=!1,c=-1;function f(){u&&r&&(u=!1,r.length?s=r.concat(s):c=-1,s.length&&d())}function d(){if(!u){var e=l(f);u=!0;for(var t=s.length;t;){for(r=s,s=[];++c<t;)r&&r[c].run();c=-1,t=s.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new p(e,t)),1!==s.length||u||l(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,r),a=!1}finally{a&&delete n[e]}return o.exports}r.ab="//";var i=r(229);e.exports=i}()},9046:function(e,t,n){"use strict";n.d(t,{FE:function(){return i},ex:function(){return o}});var r=n(2265);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):e&&(e.current=t)})}function o(...e){return r.useCallback(i(...e),e)}},281:function(e,t,n){"use strict";n.d(t,{ob:function(){return p},Dt:function(){return f},C5:function(){return l},s:function(){return d},sk:function(){return a},wT:function(){return c},$L:function(){return i},LI:function(){return s}});var r=n(2265);let i=!0,o="u">typeof window,a=!o,l=o,s=a?r.useEffect:r.useLayoutEffect,u=("u">typeof navigator&&/Chrome/.test(navigator.userAgent||""),l&&("ontouchstart"in window||navigator.maxTouchPoints>0)),c=!i||u,f=!1,d=!1,p="web"},2166:function(e,t,n){"use strict";n.d(t,{Kq:function(){return ei},xv:function(){return eo},G7:function(){return er}});var r=n(2265);let i="__reactResponderId",o=!!("u">typeof window&&window.document&&window.document.createElement),a=e=>{if(e&&1===e.nodeType&&e.getBoundingClientRect)return e.getBoundingClientRect()};function l(e){let t=[];for(;null!=e&&e!==document.body;)t.push(e),e=e.parentNode;return t}let s=()=>{},u={},c=[];function f(e){return e>20?e%20:e}function d(e,t){let n,r=!1,i,o,l=e.changedTouches,d=e.type,p=!0===e.metaKey,h=!0===e.shiftKey,m=l?.[0].force||0,g=f(l?.[0].identifier||0),y=l?.[0].clientX||e.clientX,b=l?.[0].clientY||e.clientY,v=l?.[0].pageX||e.pageX,S=l?.[0].pageY||e.pageY,w="function"==typeof e.preventDefault?e.preventDefault.bind(e):s,x=e.timeStamp;function T(e){return Array.prototype.slice.call(e).map(e=>({force:e.force,identifier:f(e.identifier),get locationX(){return $(e.clientX)},get locationY(){return E(e.clientY)},pageX:e.pageX,pageY:e.pageY,target:e.target,timestamp:x}))}if(null!=l)i=T(l),o=T(e.touches);else{let t=[{force:m,identifier:g,get locationX(){return $(y)},get locationY(){return E(b)},pageX:v,pageY:S,target:e.target,timestamp:x}];i=t,o="mouseup"===d||"dragstart"===d?c:t}let C={bubbles:!0,cancelable:!0,currentTarget:null,defaultPrevented:e.defaultPrevented,dispatchConfig:u,eventPhase:e.eventPhase,isDefaultPrevented:()=>e.defaultPrevented,isPropagationStopped:()=>r,isTrusted:e.isTrusted,nativeEvent:{altKey:!1,ctrlKey:!1,metaKey:p,shiftKey:h,changedTouches:i,force:m,identifier:g,get locationX(){return $(y)},get locationY(){return E(b)},pageX:v,pageY:S,target:e.target,timestamp:x,touches:o,type:d},persist:s,preventDefault:w,stopPropagation(){r=!0},target:e.target,timeStamp:x,touchHistory:t.touchHistory};function $(e){if(n=n||a(C.currentTarget))return e-n.left}function E(e){if(n=n||a(C.currentTarget))return e-n.top}return C}function p(e){return"touchstart"===e||"mousedown"===e}function h(e){return"touchmove"===e||"mousemove"===e}function m(e){return"touchend"===e||"mouseup"===e||g(e)}function g(e){return"touchcancel"===e||"dragstart"===e}class y{_touchHistory={touchBank:[],numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};recordTouchTrack(e,t){let n=this._touchHistory;if(h(e))t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!0,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch move without a touch start.
|
2 |
+
`,`Touch Move: ${S(e)}
|
3 |
+
`,`Touch Bank: ${w(t)}`)})(e,n));else if(p(e))t.changedTouches.forEach(e=>(function(e,t){let n=v(e),r=t.touchBank[n];r?(r.touchActive=!0,r.startPageX=e.pageX,r.startPageY=e.pageY,r.startTimeStamp=b(e),r.currentPageX=e.pageX,r.currentPageY=e.pageY,r.currentTimeStamp=b(e),r.previousPageX=e.pageX,r.previousPageY=e.pageY,r.previousTimeStamp=b(e)):t.touchBank[n]={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:b(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:b(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:b(e)},t.mostRecentTimeStamp=b(e)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches&&(n.indexOfSingleActiveTouch=t.touches[0].identifier);else if(m(e)&&(t.changedTouches.forEach(e=>(function(e,t){let n=t.touchBank[v(e)];n?(n.touchActive=!1,n.previousPageX=n.currentPageX,n.previousPageY=n.currentPageY,n.previousTimeStamp=n.currentTimeStamp,n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=b(e),t.mostRecentTimeStamp=b(e)):console.warn(`Cannot record touch end without a touch start.
|
4 |
+
`,`Touch End: ${S(e)}
|
5 |
+
`,`Touch Bank: ${w(t)}`)})(e,n)),n.numberActiveTouches=t.touches.length,1===n.numberActiveTouches)){let{touchBank:e}=n;for(let t=0;t<e.length;t++)if(e[t]?.touchActive){n.indexOfSingleActiveTouch=t;break}}}get touchHistory(){return this._touchHistory}}function b(e){return e.timeStamp||e.timestamp}function v({identifier:e}){return null==e&&console.error("Touch object is missing identifier."),e}function S(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:b(e)})}function w(e){let{touchBank:t}=e,n=JSON.stringify(t.slice(0,20));return t.length>20&&(n+=` (original size: ${t.length})`),n}let x={},T=["onStartShouldSetResponderCapture","onStartShouldSetResponder",{bubbles:!0}],C=["onMoveShouldSetResponderCapture","onMoveShouldSetResponder",{bubbles:!0}],$={touchstart:T,mousedown:T,touchmove:C,mousemove:C,scroll:["onScrollShouldSetResponderCapture","onScrollShouldSetResponder",{bubbles:!1}]},E={id:null,idPath:null,node:null},k=new Map,R=!1,P=0,A={id:null,node:null,idPath:null},_=new y;function O(e){return k.get(e)??x}function N(e){let t=e.type,n=e.target;if("touchstart"===t&&(R=!0),("touchmove"===t||P>1)&&(R=!1),"mousedown"===t&&R||"mousemove"===t&&R||"mousemove"===t&&P<1)return;if(R&&"mouseup"===t){0===P&&(R=!1);return}let r=p(t)&&function(e){let{altKey:t,button:n,buttons:r,ctrlKey:i,type:o}=e,a=!1===t&&!1===i;return!!("touchstart"===o||"touchmove"===o||"mousedown"===o&&(0===n||1===r)&&a||"mousemove"===o&&1===r&&a)}(e),o=h(t),a=m(t),s="scroll"===t,u="select"===t||"selectionchange"===t,c=d(e,_);(r||o||a)&&(e.touches?P=e.touches.length:r?P=1:a&&(P=0),_.recordTouchTrack(t,c.nativeEvent));let f=function(e){let t=[],n=[],r="selectionchange"===e.type?l(window.getSelection()?.anchorNode):null!=e.composedPath?e.composedPath():l(e.target);for(let e=0;e<r.length;e++){let o=r[e],a=null!=o?o[i]:null;null!=a&&(t.push(a),n.push(o))}return{idPath:t,nodePath:n}}(e),y=!1,b;if(r||o||s&&P>0){let t=A.idPath,n=f.idPath;if(null!=t&&null!=n){let e=function(e,t){let n=e.length,r=t.length;if(0===n||0===r||e[n-1]!==t[r-1])return null;let i=e[0],o=0,a=t[0],l=0;n-r>0&&(i=e[o=n-r],n=r),r-n>0&&(a=t[l=r-n],r=n);let s=n;for(;s--;){if(i===a)return i;i=e[o++],a=t[l++]}return null}(t,n);if(null!=e){let t=n.indexOf(e)+(e===A.id?1:0);f={idPath:n.slice(t),nodePath:f.nodePath.slice(t)}}else f=null}null!=f&&null!=(b=function(e,t,n){let r=$[t.type];if(null!=r){let{idPath:i,nodePath:o}=e,a=r[0],l=r[1],{bubbles:s}=r[2],u=(e,t,r)=>{let o=O(e)[r];if(null!=o&&(n.currentTarget=t,!0===o(n))){let n=i.slice(i.indexOf(e));return{id:e,node:t,idPath:n}}};for(let e=i.length-1;e>=0;e--){let t=u(i[e],o[e],a);if(null!=t)return t;if(!0===n.isPropagationStopped())return}if(s)for(let e=0;e<i.length;e++){let t=u(i[e],o[e],l);if(null!=t)return t;if(!0===n.isPropagationStopped())return}else{let e=i[0],n=o[0];if(t.target===n)return u(e,n,l)}}}(f,e,c))&&(function(e,t){let{id:n,node:r}=A,{id:i,node:o}=t,{onResponderGrant:a,onResponderReject:l}=O(i);if(e.bubbles=!1,e.cancelable=!1,e.currentTarget=o,null==n)null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),A=t;else{let{onResponderTerminate:i,onResponderTerminationRequest:s}=O(n),u=!0;null!=s&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminationRequest",!1===s(e)&&(u=!1)),u?(null!=i&&(e.currentTarget=r,e.dispatchConfig.registrationName="onResponderTerminate",i(e)),null!=a&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderGrant",a(e)),A=t):null!=l&&(e.currentTarget=o,e.dispatchConfig.registrationName="onResponderReject",l(e))}}(c,b),y=!0)}if(null!=A.id&&null!=A.node){let{id:i,node:l}=A,{onResponderStart:f,onResponderMove:d,onResponderEnd:p,onResponderRelease:h,onResponderTerminate:m,onResponderTerminationRequest:b}=O(i);if(c.bubbles=!1,c.cancelable=!1,c.currentTarget=l,r)null!=f&&(c.dispatchConfig.registrationName="onResponderStart",f(c));else if(o)null!=d&&(c.dispatchConfig.registrationName="onResponderMove",d(c));else{let r=g(t)||"contextmenu"===t||"blur"===t&&n===window||"blur"===t&&n.contains(l)&&e.relatedTarget!==l||s&&0===P||s&&n.contains(l)&&n!==l||u&&("selectionchange"===e.type?function(){let e=window.getSelection();if(!e)return!1;let t=e.toString(),n=e.anchorNode,r=e.focusNode,i=n&&n.nodeType===window.Node.TEXT_NODE||r&&r.nodeType===window.Node.TEXT_NODE;return t.length>=1&&t!==`
|
6 |
+
`&&!!i}():"select"===e.type),i=a&&!r&&!function(e,t){if(!t||0===t.length)return!1;for(let n=0;n<t.length;n++){let r=t[n].target;if(null!=r&&e.contains(r))return!0}return!1}(l,e.touches);if(a&&null!=p&&(c.dispatchConfig.registrationName="onResponderEnd",p(c)),i&&(null!=h&&(c.dispatchConfig.registrationName="onResponderRelease",h(c)),A=E),r){let e=!0;("contextmenu"===t||"scroll"===t||"selectionchange"===t)&&(y?e=!1:null!=b&&(c.dispatchConfig.registrationName="onResponderTerminationRequest",!1===b(c)&&(e=!1))),e&&(null!=m&&(c.dispatchConfig.registrationName="onResponderTerminate",m(c)),A=E,R=!1,P=0)}}}}let L=["blur","scroll"],I=["mousedown","mousemove","mouseup","dragstart","touchstart","touchmove","touchend","touchcancel","contextmenu","select","selectionchange"],M=Symbol();function j(e){A.id===e&&function(){let{id:e,node:t}=A;if(null!=e&&null!=t){let{onResponderTerminate:n}=O(e);if(null!=n){let e=d({},_);e.currentTarget=t,n(e)}A=E}R=!1,P=0}(),k.has(e)&&k.delete(e)}let W={};var B=n(4283),z=n(8338),F=n(9242);let Y=(0,n(5902).LM)({acceptsClassName:!0,defaultProps:F.tn,validStyles:z.Qn});var D=n(5566),V=n(8475);function X(){return null}var H=n(281);let G=e=>{if(!(!e||1!==e.nodeType))return e.getBoundingClientRect?.()},U=new WeakMap,K=new Set,Q=null;if("u">typeof window&&"ResizeObserver"in window&&(Q=new ResizeObserver(e=>{for(let{target:t}of e){let e=U.get(t);if("function"!=typeof e)return;q(t).then(t=>{e(t)})}}),"function"==typeof window.addEventListener)){let e;window.addEventListener("resize",()=>{clearTimeout(e),e=setTimeout(()=>{K.forEach(e=>e())},4)})}let q=async e=>new Promise(t=>{J(e,null,(n,r,i,o,a,l)=>{t({nativeEvent:{layout:{x:n,y:r,width:i,height:o,left:a,top:l},target:e},timeStamp:Date.now()})})}),Z=new WeakMap,J=(e,t,n)=>{let r=t||e?.parentNode;if(r instanceof HTMLElement){let t=Date.now();Z.set(e,t),Promise.all([et(e),et(r)]).then(([r,i])=>{if(i&&r&&Z.get(e)===t){let{x:e,y:t,width:o,height:a,left:l,top:s}=ee(r,i);n(e,t,o,a,l,s)}})}},ee=(e,t)=>{let{height:n,left:r,top:i,width:o}=e;return{x:r-t.left,y:i-t.top,width:o,height:n,left:r,top:i}},et=e=>new Promise(t=>{let n=setTimeout(function(){t(G(e))},10);new IntersectionObserver((e,r)=>{clearTimeout(n),r.disconnect(),t(e[0]?.boundingClientRect)},{threshold:1e-4}).observe(e)}),en=e=>{let t=G(e);if(!t)return;let{x:n,y:r,top:i,left:o}=t;return{x:n,y:r,width:e.offsetWidth,height:e.offsetHeight,top:i,left:o}};X(),(0,B.b)({getBaseViews:X,usePropsTransform(e,t,n,a){{let s="string"==typeof e,{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:p,onResponderReject:h,onResponderRelease:m,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:T,onStartShouldSetResponderCapture:C,collapsable:$,focusable:E,accessible:R,accessibilityDisabled:P,onLayout:A,hrefAttrs:_,...O}=t;if(a||s){var l;let e=(0,r.useMemo)(()=>({get current(){return n.current.host}}),[n]);(0,H.LI)(()=>{let t=e.current;t&&(t.measure||=e=>J(t,null,e),t.measureLayout||=(e,n)=>J(t,e,n),t.measureInWindow||=e=>{t&&setTimeout(()=>{let{height:n,left:r,top:i,width:o}=en(t);e(r,i,o,n)},0)})},[e]),l=s?A:void 0,(0,H.LI)(()=>{if(!l)return;let t=e.current;t&&U.set(t,l)},[e,l]),(0,H.LI)(()=>{if(!Q)return;let t=e.current;if(!t||!U.has(t))return;let n=()=>{q(t).then(l)};return K.add(n),Q.observe(t),()=>{K.delete(n),Q?.unobserve(t)}},[e]),function(e,t=W){let n=r.useId(),a=r.useRef(!1);r.useEffect(()=>(o&&!window[M]&&(window.addEventListener("blur",N),I.forEach(e=>{document.addEventListener(e,N)}),L.forEach(e=>{document.addEventListener(e,N,!0)}),window[M]=!0),()=>{j(n)}),[n]),r.useEffect(()=>{let{onMoveShouldSetResponder:r,onMoveShouldSetResponderCapture:o,onScrollShouldSetResponder:l,onScrollShouldSetResponderCapture:s,onSelectionChangeShouldSetResponder:u,onSelectionChangeShouldSetResponderCapture:c,onStartShouldSetResponder:f,onStartShouldSetResponderCapture:d}=t,p=e.current;null!=r||null!=o||null!=l||null!=s||null!=u||null!=c||null!=f||null!=d?(null!=p&&(p[i]=n),k.set(n,t),a.current=!0):a.current&&(j(n),a.current=!1)},[t,e,n])}(e,s?{onMoveShouldSetResponder:u,onMoveShouldSetResponderCapture:c,onResponderEnd:f,onResponderGrant:d,onResponderMove:p,onResponderReject:h,onResponderRelease:m,onResponderStart:g,onResponderTerminate:y,onResponderTerminationRequest:b,onScrollShouldSetResponder:v,onScrollShouldSetResponderCapture:S,onSelectionChangeShouldSetResponder:w,onSelectionChangeShouldSetResponderCapture:x,onStartShouldSetResponder:T,onStartShouldSetResponderCapture:C}:void 0)}if(s){if(O.href&&_){let{download:e,rel:t,target:n}=_;null!=e&&(O.download=e),t&&(O.rel=t),"string"==typeof n&&(O.target="_"!==n.charAt(0)?`_${n}`:n)}return O}}},useEvents(e,t,{pseudos:n},r,i){}});let er=Y,ei=D.K,eo=V.x},8338:function(e,t,n){"use strict";n.d(t,{Mj:function(){return a},M:function(){return i},cC:function(){return m},FB:function(){return h},hT:function(){return p},Dc:function(){return f},O0:function(){return c},CV:function(){return u},M6:function(){return g},Qn:function(){return y},$e:function(){return S}});let r=new Map,i=(e,t=10)=>{if(r.has(e))return r.get(e);let n=0,i="",a=e.length;for(let r=0;r<a;r++){let l=e.charCodeAt(r);if("strict"!==t&&(46===l&&(i+="d0t"),(l>=65&&l<=90||l>=97&&l<=122||95===l||45===l||l>=48&&l<=57)&&a<=t)){i+=e[r];continue}n=o(n,e[r])}let l=i+(n?Math.abs(n):"");return r.size>1e4&&r.clear(),r.set(e,l),l},o=(e,t)=>Math.imul(31,e)+t.charCodeAt(0)|0;function a(e,t,{checkDefaultPrevented:n=!0}={}){return e&&t?r=>{if(e?.(r),!r||!(n&&"defaultPrevented"in r)||"defaultPrevented"in r&&!r.defaultPrevented)return t?.(r)}:t||e||void 0}var l=n(281);let s={color:!0,textDecorationColor:!0,textShadowColor:!0},u={radius:{borderRadius:!0,borderTopLeftRadius:!0,borderTopRightRadius:!0,borderBottomLeftRadius:!0,borderBottomRightRadius:!0,borderStartStartRadius:!0,borderStartEndRadius:!0,borderEndStartRadius:!0,borderEndEndRadius:!0},size:{width:!0,height:!0,minWidth:!0,minHeight:!0,maxWidth:!0,maxHeight:!0,blockSize:!0,minBlockSize:!0,maxBlockSize:!0,inlineSize:!0,minInlineSize:!0,maxInlineSize:!0},zIndex:{zIndex:!0},color:{backgroundColor:!0,borderColor:!0,borderBlockStartColor:!0,borderBlockEndColor:!0,borderBlockColor:!0,borderBottomColor:!0,borderInlineColor:!0,borderInlineStartColor:!0,borderInlineEndColor:!0,borderTopColor:!0,borderLeftColor:!0,borderRightColor:!0,borderEndColor:!0,borderStartColor:!0,shadowColor:!0,...s,outlineColor:!0,caretColor:!0}},c={WebkitLineClamp:!0,animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridRowEnd:!0,gridRowGap:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridColumnStart:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},f={x:!0,y:!0,scale:!0,perspective:!0,scaleX:!0,scaleY:!0,skewX:!0,skewY:!0,matrix:!0,rotate:!0,rotateY:!0,rotateX:!0,rotateZ:!0},d={backfaceVisibility:!0,borderBottomEndRadius:!0,borderBottomStartRadius:!0,borderBottomWidth:!0,borderLeftWidth:!0,borderRightWidth:!0,borderBlockWidth:!0,borderBlockEndWidth:!0,borderBlockStartWidth:!0,borderInlineWidth:!0,borderInlineEndWidth:!0,borderInlineStartWidth:!0,borderStyle:!0,borderBlockStyle:!0,borderBlockEndStyle:!0,borderBlockStartStyle:!0,borderInlineStyle:!0,borderInlineEndStyle:!0,borderInlineStartStyle:!0,borderTopEndRadius:!0,borderTopStartRadius:!0,borderTopWidth:!0,borderWidth:!0,transform:!0,transformOrigin:!0,alignContent:!0,alignItems:!0,alignSelf:!0,borderEndWidth:!0,borderStartWidth:!0,bottom:!0,display:!0,end:!0,flexBasis:!0,flexDirection:!0,flexWrap:!0,gap:!0,columnGap:!0,rowGap:!0,justifyContent:!0,left:!0,margin:!0,marginBlock:!0,marginBlockEnd:!0,marginBlockStart:!0,marginInline:!0,marginInlineStart:!0,marginInlineEnd:!0,marginBottom:!0,marginEnd:!0,marginHorizontal:!0,marginLeft:!0,marginRight:!0,marginStart:!0,marginTop:!0,marginVertical:!0,overflow:!0,padding:!0,paddingBottom:!0,paddingInline:!0,paddingBlock:!0,paddingBlockStart:!0,paddingInlineEnd:!0,paddingInlineStart:!0,paddingEnd:!0,paddingHorizontal:!0,paddingLeft:!0,paddingRight:!0,paddingStart:!0,paddingTop:!0,paddingVertical:!0,position:!0,right:!0,start:!0,top:!0,inset:!0,insetBlock:!0,insetBlockEnd:!0,insetBlockStart:!0,insetInline:!0,insetInlineEnd:!0,insetInlineStart:!0,direction:!0,shadowOffset:!0,shadowRadius:!0,...u.color,...u.radius,...u.size,...u.radius,...f,...c,backdropFilter:!0,background:!0,backgroundAttachment:!0,backgroundBlendMode:!0,backgroundClip:!0,backgroundColor:!0,backgroundImage:!0,backgroundOrigin:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundSize:!0,borderBottomStyle:!0,borderImage:!0,borderLeftStyle:!0,borderRightStyle:!0,borderTopStyle:!0,boxShadow:!0,boxSizing:!0,caretColor:!0,clipPath:!0,contain:!0,content:!0,cursor:!0,filter:!0,float:!0,mask:!0,maskBorder:!0,maskBorderMode:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorderSlice:!0,maskBorderSource:!0,maskBorderWidth:!0,maskClip:!0,maskComposite:!0,maskImage:!0,maskMode:!0,maskOrigin:!0,maskPosition:!0,maskRepeat:!0,maskSize:!0,maskType:!0,mixBlendMode:!0,objectFit:!0,objectPosition:!0,outlineOffset:!0,outlineStyle:!0,outlineWidth:!0,overflowBlock:!0,overflowInline:!0,overflowX:!0,overflowY:!0,pointerEvents:!0,scrollbarWidth:!0,textEmphasis:!0,touchAction:!0,transformStyle:!0,userSelect:!0,...l.Dt?{elevationAndroid:!0}:{}},p={fontFamily:!0,fontSize:!0,fontStyle:!0,fontWeight:!0,letterSpacing:!0,lineHeight:!0,textTransform:!0,textAlign:!0,textDecorationLine:!0,textDecorationStyle:!0,...s,textShadowOffset:!0,textShadowRadius:!0,userSelect:!0,selectable:!0,verticalAlign:!0,whiteSpace:!0,wordWrap:!0,textOverflow:!0,textDecorationDistance:!0,cursor:!0,WebkitLineClamp:!0,WebkitBoxOrient:!0},h={...d,...p},m=h,g={enterStyle:!0,exitStyle:!0,hoverStyle:!0,pressStyle:!0,focusStyle:!0,disabledStyle:!0,focusVisibleStyle:!0},y={...g,...d};var b=n(2265);let v=Symbol(),S=(e,t)=>{let n=(()=>{if(e[v]){let t=(0,b.forwardRef)((t,n)=>(0,b.createElement)(e,{...t,ref:n}));for(let n in e){let r=e[n];t[n]=r&&"object"==typeof r?{...r}:r}}return e})();return Object.assign(n,t),n[v]=!0,n}},4624:function(e,t,n){"use strict";let r;n.d(t,{h_:function(){return u},$2:function(){return C},b5:function(){return $},Xp:function(){return x}}),n(7961);var i=n(281),o=n(5377),a=n(2265),l=n(4887),s=n(2281);let u=a.memo(({host:e=globalThis.document?.body,...t})=>{let n=(0,s.jsx)(o.FA,{contain:"strict",fullscreen:!0,position:i.$L?"fixed":"absolute",maxWidth:i.$L?"100vw":"100%",maxHeight:i.$L?"100vh":"100%",pointerEvents:"none",...t}),[r,u]=a.useState(null);return a.useEffect(()=>{u(e)},[e]),r&&t.children?(0,l.createPortal)(n,r):null});var c=n(9087),f=((r=f||{})[r.REGISTER_HOST=0]="REGISTER_HOST",r[r.DEREGISTER_HOST=1]="DEREGISTER_HOST",r[r.ADD_UPDATE_PORTAL=2]="ADD_UPDATE_PORTAL",r[r.REMOVE_PORTAL=3]="REMOVE_PORTAL",r);let d={},p=(e,t)=>(t in e||(e[t]=[]),e),h=(e,t)=>(delete e[t],e),m=(e,t,n,r)=>{t in e||(e=p(e,t));let i=e[t].findIndex(e=>e.name===n);return -1!==i?e[t][i].node=r:e[t].push({name:n,node:r}),e},g=(e,t,n)=>{if(!(t in e))return console.info(`Failed to remove portal '${n}', '${t}' was not registered!`),e;let r=e[t].findIndex(e=>e.name===n);return -1!==r&&e[t].splice(r,1),e},y=(e,t)=>{let{type:n}=t;switch(n){case 0:return p({...e},t.hostName);case 1:return h({...e},t.hostName);case 2:return m({...e},t.hostName,t.portalName,t.node);case 3:return g({...e},t.hostName,t.portalName);default:return e}},b=(0,a.createContext)(null),v=(0,a.createContext)(null),S=e=>{let t=(0,a.useContext)(b);if(null===t)throw Error("'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.");return t[e]||[]},w=(e="root")=>{let t=(0,a.useContext)(v);if(null===t)throw Error("'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.");let n=(0,a.useCallback)(()=>{t({type:0,hostName:e})},[]),r=(0,a.useCallback)(()=>{t({type:1,hostName:e})},[]),i=(0,a.useCallback)((n,r)=>{t({type:2,hostName:e,portalName:n,node:r})},[]);return{registerHost:n,deregisterHost:r,addPortal:i,updatePortal:i,removePortal:(0,a.useCallback)(n=>{t({type:3,hostName:e,portalName:n})},[])}},x=(0,a.memo)(({rootHostName:e="root",shouldAddRootHost:t=!0,children:n})=>{let[r,i]=(0,a.useReducer)(y,d),o=(0,a.useMemo)(()=>e=>{(0,a.startTransition)(()=>{i(e)})},[i]);return(0,s.jsx)(v.Provider,{value:o,children:(0,s.jsxs)(b.Provider,{value:r,children:[n,t&&(0,s.jsx)(C,{name:e})]})})});x.displayName="PortalProvider";let T=e=>(0,s.jsx)(s.Fragment,{children:e}),C=(0,a.memo)(e=>{let{name:t,forwardProps:n,render:r=T}=e,i=S(t),{registerHost:o,deregisterHost:l}=w(e.name);return(0,a.useEffect)(()=>{if(!(typeof window>"u"))return o(),()=>{l()}},[]),r(n?i.map(e=>{let t=e.node;return n?a.Children.map(t,e=>a.isValidElement(e)?a.cloneElement(e,{key:e.key,...n}):e):t}):i.map(e=>e.node))});C.displayName="PortalHost";let $=(0,a.memo)(e=>{let{name:t,hostName:n,handleOnMount:r,handleOnUnmount:o,handleOnUpdate:l,children:s}=e,{addPortal:u,removePortal:f}=w(n),d=(0,a.useId)(),p=t||d,h=(0,c.z)(()=>{r?r(()=>u(p,s)):u(p,s)}),m=(0,c.z)(()=>{o?o(()=>f(p)):f(p)}),g=(0,c.z)(()=>{l?l(()=>u(p,s)):u(p,s)});return(0,i.LI)(()=>(h(),()=>{m()}),[]),(0,a.useEffect)(()=>{g()},[s]),null});$.displayName="Portal"},5377:function(e,t,n){"use strict";n.d(t,{FA:function(){return s},Xu:function(){return a},sL:function(){return u}});var r=n(4975),i=n(2166),o=n(8587);let a={position:"absolute",top:0,left:0,right:0,bottom:0},l={fullscreen:{true:a},elevation:{"...size":o.y,":number":o.y},inset:e=>e&&"object"==typeof e?e:{top:e,left:e,bottom:e,right:e}},s=(0,r.z)(i.G7,{flexDirection:"column",variants:l});s.displayName="YStack";let u=(0,r.z)(i.G7,{flexDirection:"row",variants:l});u.displayName="XStack",(0,r.z)(s,{position:"relative"},{neverFlatten:!0,isZStack:!0}).displayName="ZStack"},8587:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(2202),i=n(281);let o=(e,t)=>{if(!e)return;let{tokens:n}=t,i=n.size[e];return a((0,r.cG)(i)?+i.val:e,t)},a=(e,{theme:t,tokens:n})=>{let o=0;if(!0===e){let e=(0,r.Ve)(n.size.true);o="number"==typeof e?e:10}else o=+e;if(0===o)return;let[a,l]=[Math.round(o/4+1),Math.round(o/2+2)];return{shadowColor:t.shadowColor,shadowRadius:l,shadowOffset:{height:a,width:0},...i.Dt?{elevationAndroid:2*a}:{}}}},9087:function(e,t,n){"use strict";n.d(t,{z:function(){return a},X:function(){return o}});var r=n(281),i=n(2265);function o(e,t,n){let o=(0,i.useRef)(t??e);return(0,r.LI)(()=>{o.current=e}),(0,i.useCallback)(n?(...e)=>o.current?.apply(null,e):()=>o.current,[])}function a(e){return o(e,l,!0)}let l=()=>{throw Error("Cannot call an event handler while rendering.")}},5390:function(e,t,n){"use strict";n.d(t,{Oy:function(){return o},il:function(){return a},oO:function(){return l}});var r=n(2265),i=n(2281);let o=(0,r.createContext)(null),a=e=>(0,i.jsx)(o.Provider,{value:null,children:e.children});function l(){let e=(0,r.useContext)(o);if(!e)return[!0,null,e];let{id:t,isPresent:n,onExitComplete:i,register:a}=e;return(0,r.useEffect)(()=>a(t),[]),!n&&i?[!1,()=>i?.(t),e]:[!0,void 0,e]}},5986:function(e,t,n){"use strict";let r,i;n.d(t,{RC:function(){return p},Wi:function(){return d},d0:function(){return s},iE:function(){return l},lz:function(){return u},p_:function(){return c},v6:function(){return a},xC:function(){return m},zG:function(){return h}});var o=n(281);let a=e=>{r=e},l=()=>{if(!r)throw Error("Err0");return r};function s(e){i=e}let u=({prefixed:e}={})=>{let{tokens:t,tokensParsed:n}=r;return!1===e?t:!0===e?n:i},c=(e,t)=>r.specificTokens[e]??(t?i[t]?.[e]:i[Object.keys(i).find(t=>i[t][e])||""]?.[e]),f=(e,t,n=o.$L)=>{let r=c(e,t);return n?r?.variable:r?.val},d=(e,t)=>{if(!("unset"===e||"auto"===e))return f(e,t,!1)},p=()=>r.themes,h=new Set,m=e=>{r?e(r):h.add(e)}},9242:function(e,t,n){"use strict";n.d(t,{L2:function(){return r},nx:function(){return i},tn:function(){return o},zm:function(){return a}});let r="_",i="t_",o={},a={display:"flex",alignItems:"stretch",flexDirection:"column",flexBasis:"auto",boxSizing:"border-box",position:"relative",minHeight:0,minWidth:0,flexShrink:0};Object.assign(o,a)},7562:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(925).i)({disableSSR:void 0,inText:!1,language:null,animationDriver:null,groups:{emit:null,subscribe:null,state:{}}})},5902:function(e,t,n){"use strict";let r,i;n.d(t,{LZ:function(){return z},LM:function(){return W},P9:function(){return F},En:function(){return G},Ee:function(){return M}});var o=n(9046),a=n(281),l=n(8338),s=n(2265),u=n(5986),c=n(9242),f=n(7562),d=n(2202);let p={hover:!1,press:!1,pressIn:!1,focus:!1,focusVisible:!1,unmounted:!0,disabled:!1},h={...p,unmounted:!1},m={...p,unmounted:"should-enter"};var g=n(3820),y=n(2622),b=n(1616),v=n(9097),S=n(7440);let w=(e,t,n)=>{let r={};for(let i in e)x(r,e,t,i,n);if(t)for(let e in t)x(r,t,void 0,e,n);return r};function x(e,t,n,r,i){let o=i?.[r]||null,a=t[r];if(r in S.Qy||v.Lk.has(r)){e[r]={...e[r],...a};return}n&&(r in n||o&&o in n)||(e[o||r]=a)}let T=void 0;var C=n(9235),$=n(8411),E=n(4283),k=n(2281);let R=s.version.startsWith("19."),P=(0,s.forwardRef)(function(e,t){let{children:n,...r}=e;if((0,s.isValidElement)(n)){let e=function(e,t){let n=e.props,r={...n},i="string"==typeof e.type;if(i)for(let e in A)e in t&&(t[A[e]]=t[e],delete t[e]);for(let e in n){let o=t[e],a=n[e];i&&e in A&&(e=A[e],delete r[e]),_.test(e)?r[e]=(0,l.Mj)(a,o):"style"===e?r[e]={...o,...a}:"className"===e&&(r[e]=[o,a].filter(Boolean).join(" "))}return{...t,...r}}(n,r);return(0,s.cloneElement)(n,n.type.avoidForwardRef?e:{...e,ref:(0,o.FE)(t,R?n.props.ref:n.ref)})}return s.Children.count(n)>1?s.Children.only(null):null});P.displayName="Slot";let A=a.$L?{onPress:"onClick",onPressOut:"onMouseUp",onPressIn:"onMouseDown"}:{},_=/^on[A-Z]/;var O=n(1130),N=n(6962),L=n(357);let I=new Set;if("u">typeof document){let e=()=>{I.forEach(e=>e(e=>e.press||e.pressIn?{...e,press:!1,pressIn:!1}:e)),I.clear()};addEventListener("mouseup",e),addEventListener("touchend",e),addEventListener("touchcancel",e)}let M=(e,{animationDriver:t,groups:n},r,i)=>{var o;let l=t?.useAnimations,u=(0,s.useRef)({}),c=!!("animation"in e||e.style&&Object.keys(o=e.style).some(e=>{let t=o[e];return t&&"object"==typeof t&&"_animation"in t})),f=t?.supportsCSSVars,d=u.current,y=!!(c&&!r.isHOC&&l||d.hasAnimated),v=!a.sk&&y;v&&!d.hasAnimated&&(d.hasAnimated=!0);let S=v&&!1!==e.animatePresence&&t?.usePresence?.()||null,w=S?.[2],x=w?.isPresent===!1,T=w?.isPresent===!0&&!1!==w.initial,C=!!e.enterStyle,$=c&&t?.isReactNative,E=(0,N.f)(),k=C||T||!E&&$?a.$L&&!E?p:m:h,R=H(e);null!=R&&(k.disabled=R);let P=(0,s.useState)(k),A=e.forceStyle?{...P[0],[e.forceStyle]:!0}:P[0],_=P[1],O=!1===A.unmounted||"should-enter"===A.unmounted,L=v;a.$L&&$&&!r.isHOC&&!0===A.unmounted&&(L=!1,d.willHydrate=!0),R!==A.disabled&&(A.disabled=R,R&&Object.assign(A,h),_({...A}));let I=(0,g.JL)(_,R,!1,e.debug);if(w&&L&&O&&r.variants){let{enterVariant:t,exitVariant:n,enterExitVariant:i,custom:o}=w;(0,b.B)(o)&&Object.assign(e,o);let a=n??i,l=t??i;A.unmounted&&l&&r.variants[l]?e[l]=!0:x&&a&&(e[a]=n!==i)}let M=!!(!a.$L||L&&!f||!r.acceptsClassName||e.disableClassName&&O),j=e.group;if(j&&!d.group){let e=new Set;d.group={listeners:e,emit(t,n){e.forEach(e=>e(t,n))},subscribe:t=>(e.add(t),()=>{e.delete(t)})}}if(j){let e=n.state,t=I;I=n=>{t(n),d.group.emit(j,{pseudo:n});let r={...e[j],...n};e[j]=r}}return{curStateRef:d,disabled:R,groupName:j,hasAnimationProp:c,hasEnterStyle:C,isAnimated:L,isExiting:x,isHydrated:O,presence:S,presenceState:w,setState:_,setStateShallow:I,shouldAvoidClasses:M,state:A,stateRef:u,supportsCSSVars:f,willBeAnimated:v,willBeAnimatedClient:y}},j={value:!1};function W(e){let{componentName:t}=e,n=null,c=e.defaultProps;(0,u.xC)(e=>{if(n=e,t){let n=e.defaultProps?.[t];n&&(c={...n,...c})}});let{Component:p,isText:m,isZStack:g,isHOC:b,validStyles:S={},variants:x={}}=e,R=(0,s.forwardRef)((t,C)=>{let R,A,_,N,W;let z=(0,s.useContext)(f.s),{context:Y,isReactNative:D}=e;if(Y){_=(0,s.useContext)(Y);let{inverseShorthands:e}=(0,u.iE)();for(let n in Y.props){let r=t[n]??t[e[n]]??c?.[n]??c?.[e[n]];void 0===r?_&&(n in S||n in x)&&((R||={})[n]=_[n]):(A||={})[n]=r}}let V=R?{...c,...R}:c,H=t;V&&(H=w(V,t));let U=H.debug,K=H.componentName||e.componentName;L.env.TAMAGUI_IS_CORE_NODE;let Q=z.animationDriver,q=Q?.useAnimations,{curStateRef:Z,disabled:J,groupName:ee,hasAnimationProp:et,hasEnterStyle:en,isAnimated:er,isExiting:ei,isHydrated:eo,presence:ea,presenceState:el,setState:es,setStateShallow:eu,shouldAvoidClasses:ec,state:ef,stateRef:ed,supportsCSSVars:ep,willBeAnimated:eh,willBeAnimatedClient:em}=M(H,z,e,n),eg=!!t.forceStyle,ey=ec||eg,eb=!!(a.$L&&m&&z.inText),ev=!p||"string"==typeof p,eS=H.tag,ew=a.$L&&ev&&eS||p,ex=m?r||ew||"span":i||ew||(eb?"span":"div");Q&&er&&(ex=Q[m?"Text":"View"]||ex);let eT=H["data-disable-theme"]||b;H.themeShallow&&(Z.themeShallow=!0);let eC={componentName:K,disable:eT,shallow:Z.themeShallow,debug:U};"themeInverse"in H&&(eC.inverse=H.themeInverse),"theme"in H&&(eC.name=H.theme),"boolean"==typeof Z.isListeningToTheme&&(eC.shouldUpdate=()=>ed.current.isListeningToTheme);let[e$,eE]=(0,$.WU)(eC);ex=p||ex;let ek=(0,v.GS)(ed,z);(0,d.zY)(!1);let eR={mediaState:ek,noClassNames:ey,resolveValues:er&&!ep||b&&!1==ef.unmounted&&et?"value":"auto",isExiting:ei,isAnimated:er},eP=(0,y.DP)(H,e,eE,e$?.state?.name||"",ef,eR,null,z,ex,U);H.group&&"hide"===H.untilMeasured&&!Z.hasMeasured&&(eP.style||={},eP.style.opacity=0),Z.isListeningToTheme=eP.dynamicThemeAccess;let eA=eP.hasMedia&&Array.isArray(eP.hasMedia),e_=(0,d.yx)()||eA||ey&&!0===eP.hasMedia,eO=eA?eP.hasMedia:null;(0,v.Zv)(ed,{enabled:e_,keys:eO});let{viewProps:eN,pseudos:eL,style:eI,classNames:eM,space:ej}=eP,eW=H,{asChild:eB,children:ez,themeShallow:eF,spaceDirection:eY,onPress:eD,onLongPress:eV,onPressIn:eX,onPressOut:eH,onHoverIn:eG,onHoverOut:eU,onMouseUp:eK,onMouseDown:eQ,onMouseEnter:eq,onMouseLeave:eZ,onFocus:eJ,onBlur:e0,separator:e1,forceStyle:e2,onClick:e5,theme:e3,defaultVariants:e9,...e4}=eN,e8=e4;if(!ev&&H.forceStyle&&(e8.forceStyle=H.forceStyle),b&&e3&&(e8.theme=e3),ex.acceptTagProp&&(e8.tag=eS),(ep?em:eh)&&q&&!b){let t=q({props:eW,style:eI||{},presence:ea,componentState:ef,styleProps:eR,theme:e$.state?.theme,pseudos:eL||null,staticConfig:e,stateRef:ed});(er||ep)&&t&&(N=t.style,e8.style=N)}ee&&(e4.onLayout=(0,l.Mj)(e4.onLayout,e=>{ed.current.group.emit(ee,{layout:e.nativeEvent.layout}),ed.current.hasMeasured||"hide"!==H.untilMeasured||es(e=>({...e})),ed.current.hasMeasured=!0})),e8=E.P.usePropsTransform?.(ex,e4,ed,Z.willHydrate)||e4,Z.composedRef||(Z.composedRef=(0,o.FE)(e=>ed.current.host=e,C,T)),e8.ref=Z.composedRef;let{pseudoGroups:e7,mediaGroups:e6}=eP,te=()=>eu({press:!1,pressIn:!1});(0,s.useEffect)(()=>{if(J)return;if(!0===ef.unmounted&&en){eu({unmounted:"should-enter"});return}if(ef.unmounted){eu({unmounted:!1});return}let e=G({disabled:J,componentContext:z,setStateShallow:eu,state:ef,mediaGroups:e6,pseudoGroups:e7});return()=>{e?.(),I.delete(es)}},[ef.unmounted,J,e7?Object.keys([...e7]).join(""):0,e6?Object.keys([...e6]).join(""):0]);let tt=!J&&ey&&eL?.pressStyle,tn=!J&&ey&&eL?.focusStyle,tr=!J&&ey&&eL?.focusVisibleStyle,ti=!!(tt||tn||tr||eJ||e0),to=!!(ee||tt||eD||eH||eX||eQ||eK||eV||e5||eL?.focusVisibleStyle),ta=!J&&ey&&eL?.hoverStyle,tl=!!(ee||ta||eG||eU),ts=a.$L&&!!(ee||tl||eq||eZ),tu=!J&&!H.asChild&&!!(ti||to||ts||tt||ta||tn),tc=!!(ee||tt),tf=tu?{onPressOut:to?e=>{te(),eH?.(e),eK?.(e)}:void 0,...(ts||to)&&{onMouseEnter:e=>{let t={};tl&&(t.hover=!0),tc&&ef.pressIn&&(t.press=!0),eu(t),eG?.(e),eq?.(e)},onMouseLeave:e=>{let t={};tl&&(t.hover=!1),tc&&ef.pressIn&&(t.press=!1,t.pressIn=!1),eu(t),eU?.(e),eZ?.(e)}},onPressIn:to?e=>{(tt||ee)&&eu({press:!0,pressIn:!0}),eX?.(e),eQ?.(e),a.$L&&I.add(es)}:void 0,onPress:to?e=>{te(),a.$L&&e5?.(e),eD?.(e),eV?.(e)}:void 0,...ti&&{onFocus:e=>{eL?.focusVisibleStyle?setTimeout(()=>{eu({focus:!0,focusVisible:!!j.value})},0):eu({focus:!0,focusVisible:!1}),eJ?.(e)},onBlur:e=>{eu({focus:!1,focusVisible:!1}),e0?.(e)}}}:null;tf&&!D&&Object.assign(e8,B(tf)),E.P.useEvents?.(e8,tf,eP,eu,e);let td=H.spaceDirection||"both",tp=!ez||eB?ez:F({separator:e1,children:ez,space:ej,direction:td,isZStack:g,debug:U});eB&&(ex=P,Object.assign(e8,B({onPress:eD,onLongPress:eV,onPressIn:eX,onPressOut:eH,onMouseUp:eK,onMouseDown:eQ,onMouseEnter:eq,onMouseLeave:eZ},"web"===eB||"except-style-web"===eB))),E.P.useChildren&&(W=E.P.useChildren(ex,tp,e8,tf,e)),tp=W||(0,s.createElement)(ex,e8,tp);let th=n?.animations?.ResetPresence;th&&eh&&(en||el)&&tp&&"string"!=typeof tp&&(tp=(0,k.jsx)(th,{children:tp}));let tm=Z.group,tg=(0,s.useMemo)(()=>{if(!(!tm||!ee))return tm.listeners.clear(),{...z.groups,state:{...z.groups.state,[ee]:{pseudo:h,layout:{width:X(eP.style?.width),height:X(eP.style?.height)}}},emit:tm.emit,subscribe:tm.subscribe}},[ee]);if(ee&&tg&&(tp=(0,k.jsx)(f.s.Provider,{...z,groups:tg,children:tp})),tp=eT?tp:(0,O.u)(e$,tp,eC,!1,ed),D&&!eB&&(tp=(0,k.jsx)("span",{className:"_dsp_contents",...eo&&tf&&B(tf),children:tp})),e.context){let t=e.context.props;for(let e in t)(e8.style&&e in e8.style||e in e8)&&((A||={})[e]=e8.style?.[e]??e8[e])}if(A){let t=e.context.Provider;tp=(0,k.jsx)(t,{..._,...A,children:tp})}return L.env.TAMAGUI_REACT_19&&eP.rulesToInsert.length&&(tp=(0,k.jsxs)(k.Fragment,{children:[tp,eP.rulesToInsert.map(({rules:e,identifier:t})=>(0,k.jsx)("style",{href:`t_${t}`,precedence:"default",children:e.join(`
|
7 |
+
`)},t))]})),tp});e.componentName&&(R.displayName=e.componentName);let A=R;function _(t){return{...e,...t,neverFlatten:!0,isHOC:!0,isStyledHOC:!1}}function N(e,t){let n=e.render?.length===2?e:(0,s.forwardRef)(e),r=_(t?.staticConfig);return n=t?.disableTheme?n:(0,C.Y)(n,r),L.env.TAMAGUI_MEMOIZE_STYLEABLE&&(n=(0,s.memo)(n)),n.staticConfig=r,n.styleable=N,n}return(L.env.TAMAGUI_FORCE_MEMO||e.memo)&&(A=(0,s.memo)(A)),A.staticConfig=e,A.extractable=function(e,t){return e.staticConfig=_(t),e.styleable=N,e},A.styleable=N,A}function B(e,t=!0){return{onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,[t?"onClick":"onPress"]:e.onPress,onMouseDown:e.onPressIn,onMouseUp:e.onPressOut,onTouchStart:e.onPressIn,onTouchEnd:e.onPressOut,onFocus:e.onFocus,onBlur:e.onBlur}}a.$L&&globalThis.document&&(document.addEventListener("keydown",()=>{j.value=!0}),document.addEventListener("mousedown",()=>{j.value=!1}),document.addEventListener("mousemove",()=>{j.value=!1}));let z=W({acceptsClassName:!0,memo:!0,componentName:"Spacer",validStyles:l.Qn,defaultProps:{...c.tn,tag:"span",size:!0,pointerEvents:"none"},variants:{size:{"...":(e,{tokens:t})=>{e=!0===e?"$true":e;let n=t.space[e]??e;return{width:n,height:n,minWidth:n,minHeight:n}}},flex:{true:{flexGrow:1}},direction:{horizontal:{height:0,minHeight:0},vertical:{width:0,minWidth:0},both:{}}}});function F(e){let{isZStack:t,children:n,space:r,direction:i,spaceFlex:o,separator:a}=e,l=!!(r||o),u=null!=a;if(!(l||u||t))return n;let c=s.Children.toArray(n);if(c.length<=1&&!t&&!c[0]?.type?.shouldForwardSpace)return c;let f=[];for(let[e,n]of c.entries()){let u=null==n||Array.isArray(n)&&0===n.length;if(!u&&s.isValidElement(n)&&n.type?.shouldForwardSpace&&(n=s.cloneElement(n,{space:r,spaceFlex:o,separator:a,key:n.key})),u||!n||n.key&&!t?f.push(n):f.push((0,k.jsx)(s.Fragment,{children:t?(0,k.jsx)(V,{children:n}):n},e)),D(n)&&0===e||t)continue;let d=c[e+1];d&&!D(d)&&(a?(l&&f.push(Y({key:`_${e}_00tmgui`,direction:i,space:r,spaceFlex:o})),f.push(s.isValidElement(a)?s.cloneElement(a,{key:`sep_${e}`}):a),l&&f.push(Y({key:`_${e}01tmgui`,direction:i,space:r,spaceFlex:o}))):f.push(Y({key:`_${e}02tmgui`,direction:i,space:r,spaceFlex:o})))}return f}function Y({key:e,direction:t,space:n,spaceFlex:r}){return(0,k.jsx)(z,{size:n,direction:t,..."u">typeof r&&{flex:!0===r?1:!1===r?0:r}},e)}function D(e){let t=e?.type;return t?.isVisuallyHidden||t?.isUnspaced}let V=W({defaultProps:{...c.tn,flexDirection:"column",position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"box-none"}}),X=e=>"string"!=typeof e?e:+e.replace("px",""),H=e=>e.disabled||e.accessibilityState?.disabled||e["aria-disabled"]||e.accessibilityDisabled||!1,G=({disabled:e=!1,setStateShallow:t,pseudoGroups:n,mediaGroups:r,componentContext:i,state:o})=>{if(n||r){let e={pseudo:{},media:{}};return i.groups?.subscribe((i,{layout:a,pseudo:l})=>{if(l&&n?.has(String(i)))Object.assign(e.pseudo,l),s();else if(a&&r){let t=Object.fromEntries([...r].map(e=>[e,(0,v.yj)(e,a)])),n=g.xK(e.media,t);n!==e.media&&(Object.assign(e.media,n),s())}function s(){t({group:{...o.group,[i]:e}})}})}}},2202:function(e,t,n){"use strict";n.d(t,{E0:function(){return f},Os:function(){return s},Ve:function(){return m},bK:function(){return g},cG:function(){return c},lk:function(){return u},yx:function(){return h},zY:function(){return p}});var r=n(281),i=n(8338),o=n(5986),a=n(357);function l(e){return`var(--${a.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${e})`}let s=(e,t=!1)=>{if(!t&&c(e))return e;let{key:n,name:o,val:a}=e;return{isVar:!0,key:n,name:t?o:(0,i.M)(o,40),val:a,variable:r.$L?t?l(o):g(o):""}};function u(e,t=!1){return c(e)?!t&&r.$L&&e.variable?e.variable:`${e.val}`:`${e||""}`}function c(e){return e&&"object"==typeof e&&"isVar"in e}function f(e,t="size"){if(p(!0),c(e))return u(e);let n=(0,o.iE)().tokensParsed;return u(n[t]?.[e]??e)}let d=!1,p=e=>d=e,h=()=>d;function m(e,t){if(c(e))return p(!0),e.val;if(t){let n=o.iE().tokensParsed[t]?.[e];if(n)return p(!0),n.val}return e}let g=(e,t=!0)=>{let n=(0,i.M)(e,60);return t?l(n):n}},9033:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r=(0,n(2265).createContext)(1)},3820:function(e,t,n){"use strict";n.d(t,{JL:function(){return o},N2:function(){return l},xK:function(){return a}});var r=n(2265);let i=e=>e();function o(e,t,n,o){return l=>{(n?r.startTransition:i)(()=>{e(e=>a(e,l,t,o))})}}function a(e,t,n,r){return n||!e||!t||l(e,t)?e||t:{...e,...t}}function l(e,t){for(let n in t)if(e[n]!==t[n])return!1;return!0}},925:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(2265);let i=new WeakMap;var o=n(2281);function a(e){let t=(0,r.createContext)(e),n=t.Provider,a=new Map;return t.Provider=({children:t,scope:l,...s})=>{let u=(0,r.useMemo)(()=>({...e,...s}),[function(e){let t="";for(let n in e){t+=n;let r=e[n],o=typeof r;if(r&&("object"===o||"function"===o)){if(i.has(r))t+=i.get(r);else{let e=Math.random();i.set(r,e),t+=e}}else t+=o+r}return t}(s)]),c=n;if(l){let t=a.get(l);t||(t=(0,r.createContext)(e),a.set(l,t)),c=t.Provider}return(0,o.jsx)(c,{value:u,children:t})},t.props=e,t.context=t,t.useStyledContext=e=>{let n=e?a.get(e):t;return(0,r.useContext)(n)},t}},2622:function(e,t,n){"use strict";let r,i;n.d(t,{DP:function(){return ey}});var o=n(281),a=n(8338),l=n(2265),s=n(5986);let u={};{let e={Hidden:!0,ActiveDescendant:!0,Atomic:!0,AutoComplete:!0,Busy:!0,Checked:!0,ColumnCount:"colcount",ColumnIndex:"colindex",ColumnSpan:"colspan",Current:!0,Details:!0,ErrorMessage:!0,Expanded:!0,HasPopup:!0,Invalid:!0,Label:!0,Level:!0,Modal:!0,Multiline:!0,MultiSelectable:!0,Orientation:!0,Owns:!0,Placeholder:!0,PosInSet:!0,Pressed:!0,RoleDescription:!0,RowCount:!0,RowIndex:!0,RowSpan:!0,Selected:!0,SetSize:!0,Sort:!0,ValueMax:!0,ValueMin:!0,ValueNow:!0,ValueText:!0};for(let t in e){let n=e[t];!0===n&&(n=t.toLowerCase()),u[`accessibility${t}`]=`aria-${n}`}}var c=n(9242),f=n(9097);function d(e){let t=(0,f.om)(),[n,r,i,o]=e.split("-"),a=i in t?i:void 0;return{name:r,pseudo:a?o:i,media:a}}let p=null,h=null,m={press:"active"},g=(e,t,n,r,i,o)=>{let{property:a,identifier:l,rules:u}=e,c=(0,s.iE)(),g=c.settings.mediaPropOrder,y="theme"===r,b="group"===r,v=y||"platform"===r||b,S=l.slice(0,l.indexOf("-")+1),w=`${S}_${t.replace("-","")}${i?"0":""}_`,x="",T,C,$=l.replace(S,w),E=u.map(e=>e.replace(l,$)).join(";");if(v){let e=Array((o||0)+(b?1:0)).fill(":root").join("");if(y||b){let n=d(t),r=n?.name;T=n?.media,b&&(C=r);let i=E.indexOf(":root"),o=E.lastIndexOf("{"),a=E.slice(i,o),l=c.themeClassNameOnRoot&&y?"":" ",s=n.pseudo?m[n.pseudo]||n.pseudo:void 0,u=s?`:${s}`:"",f=`:root${e}${l}`,p=`.t_${(b?"group_":"")+r}${u}`,h=`${f}${p} ${a.replace(":root","")}`;x=E.replace(a,h)}else x=`${e}${E}`}if(!v||T){if(!h){let e=Object.keys(n);h=Object.fromEntries(e.map(e=>[e,(0,f.yS)(n[e])])),g||(p=Object.fromEntries(e.map((e,t)=>[e,Array(t+1).fill(":root").join("")])))}let e=T||t,r=h[e],a=`${i?"not all and ":""}${r}`,l=T?"":g?Array(o).fill(":root").join(""):p[e],s=T?`@container ${C}`:"@media";T&&(E=x),x=E.includes(s)?E.replace("{",` and ${a} {`).replace("and screen and","and"):`${s} ${a}{${l}${E}}`,T&&(x=`@supports (contain: ${c.settings.webContainerType||"inline-size"}) {${x}}`)}return{property:a,rules:[x],identifier:$}},y={height:0,width:0};var b=n(2117);function v(e){for(let t in(null!=e.shadowRadius||e.shadowColor||null!=e.shadowOpacity||e.shadowOffset)&&Object.assign(e,function({shadowColor:e,shadowOffset:t,shadowOpacity:n,shadowRadius:r}){let{height:i,width:o}=t||y;return{shadowOffset:{width:o||0,height:i||0},shadowRadius:r||0,shadowColor:(0,b.ut)(e,1),shadowOpacity:n??(e?b.HY(e)?.a:1)}}(e)),w)t in e&&(e[w[t]]||="solid")}let S=o.$L?null:"borderStyle",w={borderWidth:"borderStyle",borderBottomWidth:S||"borderBottomStyle",borderTopWidth:S||"borderTopStyle",borderLeftWidth:S||"borderLeftStyle",borderRightWidth:S||"borderRightStyle"};var x=n(8829),T=n(7440),C=n(1333);function $(e){R(e);let t=[];for(let n in e){let r=e[n];if(n in T.Qy)r&&t.push(...E(r,T.Qy[n]));else{let r=k(e,n);r&&t.push(r)}}return t}let E=(e,t)=>{R(e);let n=[];for(let r in e){let i=k(e,r,t);i&&n.push(i)}return n},k=(e,t,n)=>{let i=e[t];if(null==i)return;"transform"===t&&Array.isArray(e.transform)&&(i=(0,C.m)(i));let o=(0,x.Y)(i,t),l=(0,a.M)(`${o}`),u=n?`0${n.name}-`:"";r||=(0,s.iE)();let c=`_${r.inverseShorthands[t]||t}-${u}${l}`,f=function(e,t,n,r){let i=r?"disabled"===r.name?"[aria-disabled]":`:${r.name}`:"",o=r?r?.selector?`${r?.selector} .${e}`:`${N[r.name]} .${e}${i}`:`:root .${e}`,a=!!r,l=[];switch(t){case"placeholderTextColor":{let e=P([["color",n],["opacity",1]],a);l.push(`${o}::placeholder${e}`);break}case"backgroundClip":case"userSelect":{let e=`Webkit${t[0].toUpperCase()}${t.slice(1)}`,r=P([[t,n],[e,n]],a);l.push(`${o}${r}`);break}case"pointerEvents":{let e=n;"auto"===n||"box-only"===n?(e="auto","box-only"===n&&l.push(`${o}>*${I}`)):("none"===n||"box-none"===n)&&(e="none","box-none"===n&&l.push(`${o}>*${L}`));let t=P([["pointerEvents",e]],!0);l.push(`${o}${t}`);break}default:{let e=P([[t,n]],a);l.push(`${o}${e}`)}}return r?.name==="hover"&&(l=l.map(e=>`@media (hover) {${e}}`)),l}(c,t,o,n);return{property:t,pseudo:n?.name,identifier:c,rules:f,value:o}};function R(e){let{shadowOffset:t,shadowRadius:n,shadowColor:r,shadowOpacity:i}=e;if(n||r){let o=t||y,a=(0,x.Y)(o.width),l=(0,x.Y)(o.height),s=(0,x.Y)(n),u=(0,b.ut)(r,i),c=`${a} ${l} ${s} ${u}`;e.boxShadow=e.boxShadow?`${e.boxShadow}, ${c}`:c,delete e.shadowOffset,delete e.shadowRadius,delete e.shadowColor,delete e.shadowOpacity}let{textShadowColor:o,textShadowOffset:a,textShadowRadius:l}=e;if(o||a||l){let{height:t,width:n}=a||y,r=l||0,i=(0,x.Y)(o,"textShadowColor");if(i&&(0!==t||0!==n||0!==r)){let o=(0,x.Y)(r),a=(0,x.Y)(n),l=(0,x.Y)(t);e.textShadow=`${a} ${l} ${o} ${i}`}delete e.textShadowColor,delete e.textShadowOffset,delete e.textShadowRadius}}function P(e,t=!1){let n="";for(let[r,i]of e)n+=`${O(r)}:${i}${t?" !important":""};`;return`{${n}}`}let A={},_=e=>`-${e.toLowerCase()}`,O=e=>{if(e in A)return A[e];let t=e.replace(/[A-Z]/g,_);return A[e]=t,t},N=(()=>{let e={};for(let t in T.Qy){let n=T.Qy[t];e[n.name]=`${[...Array(n.priority)].map(()=>":root").join("")} `}return e})(),L=P([["pointerEvents","auto"]],!0),I=P([["pointerEvents","none"]],!0);var M=n(7393),j=n(2202);let W={},B={};function z(e,t){if("flex"===e)return[["flexGrow",t],["flexShrink",1],["flexBasis","auto"]];switch(e){case"textAlignVertical":return[["verticalAlign","center"===t?"middle":t]];case"writingDirection":return[["direction",t]]}return e in X?X[e].map(e=>[e,t]):e in B?B[e].map(e=>[e,t]):e in W?W[e](t):void 0}let F=["Top","Right","Bottom","Left"],Y=["Right","Left"],D=["Top","Bottom"],V=["X","Y"],X={borderColor:["TopColor","RightColor","BottomColor","LeftColor"],borderRadius:["TopLeftRadius","TopRightRadius","BottomRightRadius","BottomLeftRadius"],borderWidth:["TopWidth","RightWidth","BottomWidth","LeftWidth"],margin:F,marginHorizontal:Y,marginVertical:D,overscrollBehavior:V,padding:F,paddingHorizontal:Y,paddingVertical:D,...o.$L&&{borderStyle:["TopStyle","RightStyle","BottomStyle","LeftStyle"],overflow:V}};for(let e in X){let t=e.slice(0,/[A-Z]/.exec(e)?.index??e.length);X[e]=X[e].map(e=>`${t}${e}`)}var H=n(1616);let G=new WeakMap,U=e=>{if(G.has(e))return G.get(e);let{curProps:t,props:n,conf:r,context:i,theme:o}=e,a=r.fontsParsed;i?.language&&(a=Q(r.fontsParsed,i.language));let l={fonts:a,tokens:r.tokensParsed,theme:o,get fontFamily(){return(0,j.Ve)(e.fontFamily||e.curProps.fontFamily||e.conf.defaultFont)},get font(){return a[this.fontFamily]||a[e.conf.defaultFont]},props:new Proxy(n,{get(e,n){for(let i of[n,r.inverseShorthands[n]])if(i)return Reflect.has(t,i)?Reflect.get(t,i):Reflect.get(e,i)}})};return G.set(e,l),l},K=new WeakMap;function Q(e,t){if(K.has(t))return K.get(t);let n={...e,...Object.fromEntries(Object.entries(t).map(([t,n])=>{if("default"===n)return[];let r=`$${t}_${n}`;return[`$${t}`,e[r]]}))};return K.set(t,n),n}let q={untilMeasured:1,animation:1,space:1,animateOnly:1,disableClassName:1,debug:1,componentName:1,disableOptimization:1,tag:1,style:1,group:1,themeInverse:1,animatePresence:1};var Z=n(357);let J=(e,t,n,r)=>{if(el=null,"elevationAndroid"===e)return;if("unset"===t){let r=n.conf.unset?.[e];if(null==r)return;t=r}let i=n.styleProps.fallbackProps||r,o=i?new Proxy(n,{get:(e,t)=>"curProps"===t?i:Reflect.get(e,t)}):n,{conf:a,styleProps:l,fontFamily:s,staticConfig:u,skipThemeTokenResolution:c}=o,{variants:f}=u;if(!l.noExpand&&f&&e in f){o.curProps[e]=t;let n=ee(e,t,l,o,"");if(n)return n}if(l.disableExpandShorthands||e in a.shorthands&&(e=a.shorthands[e]),t&&("$"===t[0]?t=es(e,t,l.resolveValues,o):(0,j.cG)(t)&&(t=eu(e,t,l.resolveValues))),null!=t){let n=(l.noExpand?null:z(e,t))||[[e,t]];return"fontFamily"===e&&el&&en.set(n,el),n}},ee=(e,t,n,r,i)=>{let o;let{staticConfig:a,conf:l,debug:s}=r,{variants:u}=a;if(!u)return;let c=function(e,t,n){if("function"==typeof e)return e;let r=e[t];if(r)return r;if(null!=t){let{tokensParsed:r}=n;for(let{name:n,spreadName:i}of eo)if(i in e&&t in r[n])return e[i];let i=e["...fontSize"];if(i&&n.fontSizeTokens.has(t))return i}return e[`:${typeof t}`]||e["..."]}(u[e],t,l);if(!c){if("1"===Z.env.TAMAGUI_WARN_ON_MISSING_VARIANT&&"boolean"!=typeof t){let n=a.componentName||"[UnnamedComponent]";console.warn(`No variant found: ${n} has variant "${e}", but no matching value "${t}"`)}return}if("function"==typeof c&&(c=c(t,U(r))),(0,H.B)(c)){let t=c.fontFamily||c[l.inverseShorthands.fontFamily];t&&(o=function(e,t){if((0,j.cG)(e)){let n=et.get(e);if(n)return n;for(let n in t.fontsParsed){let r=t.fontsParsed[n].family;if((0,j.cG)(r)&&(et.set(r,n),r===e))return n}}else if("string"==typeof e&&"$"===e[0])return e}(t,l),r.fontFamily=o),c=ei(e,c,n,r,i)}if(c){let e=Object.entries(function e(t,n=!1){let r={};for(let i in t){let o=t[i];if(null==o)continue;if(i in T.Qy||"$"===i[0]&&(0,H.B)(o)){r[i]=e(o,n);continue}let a=n?o:(0,x.Y)(o,i),l=z(i,a);l?Object.assign(r,Object.fromEntries(l)):r[i]=a}return v(r),r}(c,!!n.noNormalize));return o&&"$"===o[0]&&en.set(e,(0,j.Ve)(o)),e}},et=new WeakMap,en=new WeakMap,er=e=>e&&en.get(e),ei=(e,t,n,r,i)=>{let{conf:o,staticConfig:a,debug:l,theme:s}=r,{variants:u}=a,c={};for(let a in t){let l=o.shorthands[a]||a,s=t[a];if(!(!n.noSkip&&l in q)){if(n.noExpand)c[l]=s;else if(u&&l in u){if(r.curProps[l]=s,i&&i===e)c[l]="$"===s[0]?es(l,s,n.resolveValues,r):s;else{let t=ee(l,s,n,r,e);if(t)for(let[e,n]of t)null!=n&&(e in T.Qy?(c[e]??={},Object.assign(c[e],n)):c[e]=n)}continue}if((0,j.cG)(s)){c[l]=eu(l,s,n.resolveValues);continue}if("string"==typeof s){let e="$"===s[0]?es(l,s,n.resolveValues,r):s;c[l]=e;continue}if((0,H.B)(s)){let t=ei(l,s,n,r,e);c[l]??={},Object.assign(c[l],t)}else c[l]=s}}return c},eo=["size","color","radius","space","zIndex"].map(e=>({name:e,spreadName:`...${e}`})),ea={fontSize:"size",fontWeight:"weight"},el=null,es=(e,t,n="none",r)=>{if("none"===n)return t;let{theme:i,conf:o=(0,s.iE)(),context:l,fontFamily:u,staticConfig:c}=r,f=o.tokensParsed,d,p=!1,h=c?.accept?.[e];if(h){let e=i?.[t]??f[h][t];null!=e&&(n="value",d=e,p=!0)}if(i&&t in i){if(d=i[t],r.skipThemeTokenResolution&&d?.val)return t;p=!0}else{if(t in o.specificTokens)p=!0,d=o.specificTokens[t];else{switch(e){case"fontFamily":d=(l?.language?Q(o.fontsParsed,l.language):o.fontsParsed)[t]?.family||t,el=t,p=!0;break;case"fontSize":case"lineHeight":case"letterSpacing":case"fontWeight":{let n=o.defaultFont||"$body",r=u||n;if(r){let i=l?.language?Q(o.fontsParsed,l.language):o.fontsParsed;d=(i[r]||i[n])?.[ea[e]||e]?.[t]||t,p=!0}}}for(let n in a.CV)if(e in a.CV[n]){let e=f[n][t];null!=e&&(d=e,p=!0)}}if(!p){let e=f.space[t];null!=e&&(d=e,p=!0)}}if(p)return eu(e,d,n)};function eu(e,t,n){if("none"===n)return t;if((0,j.cG)(t)){if("value"===n)return t.val;let e=t?.get;return"function"==typeof e?e("web"===n?"web":void 0):t.variable}return t}var ec=n(357);function ef(e,t){return(t.validStyles||(t.isText||t.isInput?a.FB:a.Qn))[e]||t.accept?.[e]}let ed=(e,t,n,r,l,p,h,m,y,b,S)=>{i=i||(0,s.iE)(),o.$L&&p.isAnimated&&i.animations.isReactNative&&!p.noNormalize&&(p.noNormalize="values");let{shorthands:w}=i,{isHOC:k,isText:P,isInput:A,variants:_,isReactNative:O,inlineProps:N,inlineWhenUnflattened:L,parentStaticConfig:I,acceptsClassName:j}=t,W={},B=p.mediaState||f.nA,z={},F=j&&o.$L&&!p.noClassNames,Y=[],D={},V={},X=null,H=e.space,G=!1,U,K,Q,Z=(e.className,0),ee={curProps:{},classNames:D,conf:i,props:e,styleProps:p,componentState:l,staticConfig:t,style:null,theme:n,usedKeys:z,viewProps:W,context:m,debug:b,skipThemeTokenResolution:S};for(let n in e){let s=n,h=e[n];if(t.accept&&("style"===t.accept[s]||"textStyle"===t.accept[s])&&"object"==typeof h){let e=em(ee,s,h,p.noClassNames);W[s]=e;continue}if(p.disableExpandShorthands||s in w&&(s=w[s]),"className"===s||s in z||e.asChild&&c.zm[s]===h)continue;if(s in q&&!p.noSkip&&!k){if("group"===s){let e=`t_group_${h}`,t=i.settings.webContainerType||"inline-size";eb(Y,{identifier:e,property:"container",rules:[`.${e} { container-name: ${h}; container-type: ${t}; }`]})}continue}let b=typeof h,v=ef(s,t);if(v&&"string"===b&&"_"===h[0]){let e=s in a.Qn,t=!e&&s.includes("-")&&a.Qn[s.split("-")[0]];if(e||t){F?(ep(V,D,s,h,t),ee.style&&delete ee.style[s]):(ee.style||={},ee.style[s]=(0,x.R)(s,h),delete D[s]);continue}}if(h!==e[s]&&(ee.curProps[s]=h),"dataSet"===s){for(let e in h)W[`data-${ex(e)}`]=h[e];continue}if(!p.noExpand){if("disabled"===s&&!0===h&&(W["aria-disabled"]=!0,("button"===y||"form"===y||"input"===y||"select"===y||"textarea"===y)&&(W.disabled=!0),!_?.disabled))continue;if("testID"===s){W[O?s:"data-testid"]=h;continue}if("id"===s||"nativeID"===s){W.id=h;continue}let e=!1;if(O){if(s in u||s.startsWith("accessibility")){W[s]=h;continue}}else{if(e=!0,s in u){W[u[s]]=h;continue}switch(s){case"accessibilityRole":"none"===h?W.role="presentation":W.role=e$[h]||h;continue;case"accessibilityLabelledBy":case"accessibilityFlowTo":case"accessibilityControls":case"accessibilityDescribedBy":W[`aria-${s.replace("accessibility","").toLowerCase()}`]=Array.isArray(h)?h.join(" "):h;continue;case"accessibilityKeyShortcuts":Array.isArray(h)&&(W["aria-keyshortcuts"]=h.join(" "));continue;case"accessibilityLiveRegion":W["aria-live"]="none"===h?"off":h;continue;case"accessibilityReadOnly":W["aria-readonly"]=h,("input"===y||"select"===y||"textarea"===y)&&(W.readOnly=!0);continue;case"accessibilityRequired":W["aria-required"]=h,("input"===y||"select"===y||"textarea"===y)&&(W.required=h);continue;default:e=!1}}if(e)continue}let S=s in w,C=!v&&_&&s in _,R=S||v||C,L=s in a.M6,M=!R&&!L&&(0,f._z)(s),j=!!(M||L);if(j&&s.startsWith("$group-")){let e=s.split("-")[1];m?.groups.subscribe&&!m?.groups.state[e]&&(s=s.replace("$group-","$group-true-"))}let et=v||j||C&&!p.noExpand||S;if(et&&("except-style"===e.asChild||"except-style-web"===e.asChild))continue;let en=!et||k&&I?.variants&&s in I.variants||N?.has(s),ei=I?.variants?.[s],eo=!!(k&&(S||v||j||ei||s in q));if((en||eo)&&(eE(W,s,h,j),!C)||!p.noSkip&&s in q)continue;(P||A)&&h&&("fontFamily"===s||s===w.fontFamily)&&h in i.fontsParsed&&(ee.fontFamily=h);let ea=j||!C&&!v,el=ea?null:J(s,h,ee);if(!ea){if(!el)continue;let e=er(el);e&&(ee.fontFamily=e)}let es=s,eu=h,ec=el?el.length:1;for(let n=0;n<ec;n++){if(el){let[e,t]=el[n];es=e,eu=t}if(null!=eu&&!(es in z)){if(j=!!((M=!(L=es in a.M6)&&!v&&(0,f._z)(es))||L),C=_&&es in _,N?.has(es)&&(W[es]=e[es]??eu),p.noExpand&&L||k&&(j||I?.variants?.[s])){eE(W,es,eu,j);continue}if(L){if(!eu)continue;let e=em(ee,es,eu,p.noClassNames),t=T.Qy[es],n="enterStyle"===es,r="exitStyle"===es;if(!t)continue;if(F||(X||={},X[es]||={}),F&&!r)for(let n of E(e,t)){let e=`${n.property}-${t.name}`;e in z||(eb(Y,n),ep(V,D,e,n.identifier,j,!0))}if(!F||r||n){let i=!1===l[t.stateKey||t.name];r&&(i=!p.isExiting),n&&!1===l.unmounted&&(i=!0);let o=t.priority;for(let t in e){let n=e[t];if(i){let e=eS[t];null==e||t in z||ee.style&&t in ee.style||eh(ee,t,e)}else o>=(z[t]||0)&&(X||={},X[es]||={},X[es][t]=n,eh(ee,t,n))}if(!i)for(let e in eu){let t=w[e]||e;z[t]=Math.max(o,z[t]||0)}}continue}if(M){if(!eu)continue;if("platform"===M){let e=es.slice(10);if(e!==o.ob&&"web"!==e)continue}G||=!0;let e=es.slice(1),t=eu.space;if((t||!F)&&(Array.isArray(G)||(G=[]),G.push(e)),F){let n=em(ee,es,eu,!1);if(t&&(delete n.space,B[e])){let t=(0,f.ae)(e,"space",z,!0);t&&(H=eu.space,z.space=t)}let r=$(n),i=Z;for(let t of(Z+=1,r)){let n=g(t,e,f.aN,M,!1,i),r=`${t.property}-${e}${t.pseudo||""}`;r in z||(eb(Y,n),ep(V,D,r,n.identifier,!0,!0))}}else{let t=em(ee,es,eu,!0),n="theme"===M,i="group"===M;if(!n&&"platform"!==M&&!i&&!B[e])continue;let o=0;if(n){U=!0;let t=e.slice(6);if(!(r===t||r.startsWith(t)))continue}else if(i){let t=d(e),n=t.name,r=m?.groups.state[n];if(!r)continue;let i=t.pseudo,a=t.media,s=l.group?.[n];if(a){(Q||=new Set).add(a);let e=s?.media,t=e?.[a];if(!e&&r.layout&&(t=(0,f.yj)(a,r.layout)),!t)continue;o=2}if(i){if((K||=new Set).add(n),!(s||m.groups.state[n]).pseudo?.[i])continue;o=T.MX[i]}}for(let n in t){if("space"===n){H=h.space;continue}ee.style||={},function(e,t,n,r,i,o,a){let l=(0,f.ae)(t,n,i,o);a&&(l=(l||0)+a),null!==l&&(i[n]=l,eh(e,n,r))}(ee,e,n,t[n],z,B[e],o),"fontFamily"===es&&(ee.fontFamily=t.fontFamily)}}continue}if(!k&&ef(es,t)){eh(ee,es,eu);continue}C||(W[es]=eu)}}}if(!1!==p.noNormalize&&(ee.style&&(v(ee.style),o.$L&&!t.isReactNative&&R(ee.style)),ee.flatTransforms&&(ee.style||={},Object.entries(ee.flatTransforms).sort(([e],[t])=>e.localeCompare(t)).forEach(([e,t])=>{eT(ee.style,e,t,!0)})),h)){if(F)for(let e in h.classNames){let t=h.classNames[e];ee.style&&e in ee.style||e in D||(D[e]=t)}if(!F)for(let e in h.style)e in D||ee.style&&e in ee.style||(ee.style||={},ee.style[e]=h.style[e])}if(!p.noNormalize&&!t.isReactNative&&!t.isHOC&&(!p.isAnimated||i.animations.supportsCSSVars)&&Array.isArray(ee.style?.transform)&&(ee.style.transform=(0,C.m)(ee.style.transform)),ee.style&&F){let t;if(!ee.style.$$css){for(let n of $(ee.style)){let r=n.property,i=p.isAnimated&&p.noClassNames&&(!e.animateOnly||e.animateOnly.includes(r)),o=!i&&!p.isAnimated&&e.animateOnly?.includes(r);i?(t||={})[r]=ee.style[r]:o?(t||={})[r]=n.value:(eb(Y,n),ep(V,D,r,n.identifier,!1,!0))}ee.style=t||{}}if(V)for(let e in V){if(!V[e])continue;let[t,n]=V[e],r=`_transform${t}`;if(o.C5&&!M.MD[r]){let t=`.${r} { transform: ${n}; }`;eb(Y,{identifier:r,rules:[t],property:e})}D[e]=r}}if(!O&&null==W.tabIndex){let t=W.focusable??W.accessible;W.focusable&&delete W.focusable;let n=W.role;!1===t&&(W.tabIndex="-1"),"a"===y||"button"===y||"input"===y||"select"===y||"textarea"===y?(!1===t||!0===e.accessibilityDisabled)&&(W.tabIndex="-1"):("button"===n||"checkbox"===n||"link"===n||"radio"===n||"textbox"===n||"switch"===n)&&!1!==t&&(W.tabIndex="0"),t&&(W.tabIndex="0",delete W.focusable)}let et=e.style;if(et){if(k)W.style=ek(et);else{let e=Array.isArray(et),t=e?et.length:1;for(let n=0;n<t;n++){let t=e?et[n]:et;t&&(t.$$css?Object.assign(ee.classNames,t):(ee.style||={},Object.assign(ee.style,ek(t))))}}}let en={space:H,hasMedia:G,fontFamily:ee.fontFamily,viewProps:W,style:ee.style,pseudos:X,classNames:D,rulesToInsert:Y,dynamicThemeAccess:U,pseudoGroups:K,mediaGroups:Q},ei=e.asChild;if(!("except-style"===ei||"except-style-web"===ei)){let n=ee.style;{let r=P||A?ee.fontFamily||t.defaultProps?.fontFamily:null;r&&"$"===r[0]&&(r=r.slice(1));let o=r?`font_${r}`:"",a=e.group?`t_group_${e.group}`:"",l=e.componentName||t.componentName,s=e.asChild||!l?"":`is_${l}`,u=[];s&&u.push(s),o&&u.push(o),D&&u.push(Object.values(D).join(" ")),a&&u.push(a),e.className&&u.push(e.className);let c=u.join(" ");if(p.noMergeStyle)c&&(W.className=c);else if(p.isAnimated&&!i.animations.supportsCSSVars&&O)n&&(W.style=n);else if(O){let e={$$css:!0};for(let t of c.split(" "))e[t]=t;W.style=[...Array.isArray(n)?n:[n],e]}else c&&(W.className=c),n&&(W.style=n)}}return en};function ep(e,t,n,r,i=!1,a=!1){if(r){if(!a&&"_"===r[0]&&r.startsWith("_transform-")){let t=i?n:"transform",a=M.MD[r];!o.C5||a||((0,M.jc)(),(a=M.MD[r])||!o.$L||"_"===r[0]||(a=r)),e[t]||=["",""],e[t][0]+=r.replace("_transform",""),a&&(e[t][1]+=a)}else t[n]=r}}function eh(e,t,n,r=!1){let{classNames:i,viewProps:l,usedKeys:s,styleProps:u,staticConfig:c}=e;if(o.$L&&n?.[0]==="_")i[t]=n,s[t]||=1;else if(t in a.Dc)e.flatTransforms||={},e.flatTransforms[t]=n;else{let i=!o.$L||r||u.noNormalize?n:(0,x.Y)(n,t);c.accept&&t in c.accept?l[t]=i:(e.style||={},e.style[t]=i)}}let em=(e,t,n,r)=>{let{staticConfig:i,props:o,conf:l,styleProps:s}=e,u={};for(let c in n){let f=n[c],d=J(c=l.shorthands[c]||c,f,e,{...o,...o[t]});if(!(!d||!i.isHOC&&c in q&&!s.noSkip))for(let[e,t]of d)!r&&e in a.Dc?eT(u,e,t):u[e]=s.noNormalize?t:(0,x.Y)(t,c)}return s.noNormalize||v(u),u},eg=o.$L?l.useInsertionEffect||o.LI:()=>{},ey=(e,t,n,r,o,a,l,u,c,f)=>{i=i||(0,s.iE)();let d=ed(e,t,n,r,o,a,l,u,c,f);return ec.env.TAMAGUI_REACT_19||eg(()=>{(0,M._N)(d.rulesToInsert)},[d.rulesToInsert]),d};function eb(e,t){(0,M.Jt)(t.identifier)&&(ec.env.TAMAGUI_REACT_19||(0,M.GU)(t.identifier,t.rules),e.push(t))}let ev=ec.env.TAMAGUI_DEFAULT_COLOR||"rgba(0,0,0,0)",eS={...Object.fromEntries(Object.entries(a.CV.color).map(([e,t])=>[e,ev])),opacity:1,scale:1,rotate:"0deg",rotateY:"0deg",rotateX:"0deg",x:0,y:0,borderRadius:0},ew=e=>`-${e.toLowerCase()}`,ex=e=>e.replace(/[A-Z]/g,ew),eT=(e,t,n,r=!1)=>{"string"!=typeof e.transform&&(e.transform||=[],e.transform[r?"unshift":"push"]({[eC[t]||t]:n}))},eC={x:"translateX",y:"translateY"},e$={adjustable:"slider",header:"heading",image:"img",link:"link",none:"presentation",summary:"region"};function eE(e,t,n,r=!1){if(r){let r={...e[t],...n};delete e[t],e[t]=r}else e[t]=n}function ek(e){let t={};for(let n in e){let r=e[n];n in a.Dc?eT(t,n,r):t[n]=(0,x.Y)(r,n)}return o.$L&&Array.isArray(t.transform)&&(t.transform=(0,C.m)(t.transform)),v(t),t}},7393:function(e,t,n){"use strict";n.d(t,{GU:function(){return E},Jt:function(){return P},MD:function(){return c},OJ:function(){return h},UY:function(){return d},_N:function(){return k},jc:function(){return g},tN:function(){return f}});var r=n(281),i=n(2202),o=n(357);let a=new WeakMap,l=new Map,s={},u={},c={},f=()=>s,d=()=>Object.values(u);function p(e,t,n){let r=t.indexOf("transform:");if(-1===r)return;let i=t.indexOf(";"),o=t.slice(r+10,i);if(!c[e])return c[e]=o,!0}function h(){r.C5&&new MutationObserver(e=>{for(let t of e)if(t instanceof HTMLStyleElement&&t.sheet||t instanceof HTMLLinkElement&&t.href.endsWith(".css")){g();break}}).observe(document.head,{childList:!0})}let m=null;function g(e=!1,t){let n;if(!r.C5)return;let i=document.styleSheets||[],o=m,a=new Set(i);if(document.styleSheets){for(let r of a)if(r){let i=S(r,!1,e,t);i&&(n=i)}m=a}if(o)for(let e of o)e&&!a.has(e)&&S(e,!0);return n}function y(e,t=!1){let n=(l.get(e)||0)+(t?-1:1);return l.set(e,n),n}let b=o.env.TAMAGUI_BAIL_AFTER_SCANNING_X_CSS_RULES,v=b?+b:250;function S(e,t=!1,n=!1,r){let l;try{if(!(l=e.cssRules))return}catch{return}let u=T(l[0],n)?.[0],c=T(l[l.length-1],n)?.[0],f=`${l.length}${u}${c}`,d=a.get(e);if(!t&&d===f)return;let h=l.length,m=0,g;for(let e=0;e<h;e++){let a=l[e];if(!(a instanceof CSSStyleRule))continue;let u=T(a,n);if(u)m=0;else{if(++m>v)return;continue}let[c,f,d]=u;if(d){let e=function(e,t){let n=e.selectorText.split(",");if(!n.length)return;if(t&&!w)for(let e in w={},t.color){let n=t.color[e];w[n.name]=n.val}let r=(e.cssText||"").slice(e.selectorText.length+2,-1).split(";"),a={};for(let e of r){let t;let n=e.indexOf(":");if(-1===n)continue;let r=e.indexOf("--"),l=e.slice(-1===r?0:r+2,n);o.env.TAMAGUI_CSS_VARIABLE_PREFIX&&(l=l.replace(o.env.TAMAGUI_CSS_VARIABLE_PREFIX,""));let s=e.slice(n+2);if("v"===s[0]&&s.startsWith("var(")){let e=s.slice(6,-1),n=w[e];n?t=n:(x||=getComputedStyle(document.body),t=x.getPropertyValue("--"+e))}else t=s;a[l]=(0,i.Os)({key:l,name:l,val:t},!0)}let l=new Set;for(let e of n){let t=e.lastIndexOf(".t_"),n=e.slice(t).slice(3),[r]=e[t-5],i="d"===r?"dark":"i"===r?"light":"",o=i&&i!==n?`${i}_${n}`:n;o&&"light_dark"!==o&&"dark_light"!==o&&l.add(o)}return{names:[...l],theme:a}}(f,r);e&&(g||=[]).push(e);continue}if(!o.env.TAMAGUI_REACT_19){let e=y(c,t);t?0===e&&delete s[c]:c in s||(!c.startsWith("_transform-")||p(c,f.cssText,f))&&(s[c]=f.cssText)}}return a.set(e,f),g}let w,x=null;function T(e,t=!1){if(e instanceof CSSStyleRule){let n=e.selectorText;if(":"===n[0]&&"r"===n[1]){if(n.startsWith(":root ._"))return[C(n),e];if(t&&(n.startsWith(":root.t_")||n.startsWith(":root .t_")))return[n.slice(0,20),e,!0]}}else if(e instanceof CSSMediaRule)return e.cssRules.length>1?void 0:T(e.cssRules[0])}let C=e=>{let t=e.indexOf(":");return t>-1?e.slice(7,t):e.slice(7)},$=r.C5?document.head.appendChild(document.createElement("style")).sheet:null;function E(e,t){if(!o.env.TAMAGUI_REACT_19)return!(e in u)&&(u[e]=t.join(" "),!e.startsWith("_transform-")||p(e,t[0]))}function k(e){if(!o.env.TAMAGUI_REACT_19&&e.length&&$){for(let{identifier:t,rules:n}of e)if(P(t))for(let e of(s[t]=n.join(`
|
8 |
+
`),y(t),E(t,n),n))try{$.insertRule(e,$.cssRules.length)}catch(e){console.error("Error inserting CSS",e)}}}let R=o.env.TAMAGUI_INSERT_SELECTOR_TRIES?+o.env.TAMAGUI_INSERT_SELECTOR_TRIES:2;function P(e){if(o.env.TAMAGUI_REACT_19)return!0;{let t=l.get(e);return void 0===t||t<R}}},1616:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});let r=e=>e&&!Array.isArray(e)&&"object"==typeof e},9533:function(e,t,n){"use strict";n.d(t,{D:function(){return i},L:function(){return r}});let r="u">typeof window&&window.matchMedia||function(e){return{match:(e,t)=>!1,addListener(){},removeListener(){},matches:!1}};function i(e){}},2117:function(e,t,n){"use strict";n.d(t,{HY:function(){return l},ut:function(){return a}});var r=n(44),i=n.t(r,2);let o=r||i,a=(e,t)=>{if(e){if("$"===e[0])return e;if(e.startsWith("var(")){if("number"==typeof t&&t<1)return`color-mix(in srgb, ${e} ${100*t}%, transparent)`}else{let n=l(e);if(n){let e=`${n.r},${n.g},${n.b}`;return 1===t?`rgb(${e})`:`rgba(${e},${t??n.a??1})`}}return e}},l=e=>{let t=o(e);if(null!=t)return{r:Math.round((4278190080&t)>>>24),g:Math.round((16711680&t)>>>16),b:Math.round((65280&t)>>>8),a:((255&t)>>>0)/255}}},8829:function(e,t,n){"use strict";n.d(t,{R:function(){return u},Y:function(){return l}});var r=n(281),i=n(8338),o=n(7393);let a={...i.cC,translateX:!0,translateY:!0};function l(e,t=""){if(!r.$L||i.O0[t]||t&&!a[t]||"boolean"==typeof e)return e;let n=e;return e&&"object"==typeof e?e:("number"==typeof e?n=`${e}px`:t&&(n=`${n}`),n)}let s={};function u(e,t){let n;let r=(0,o.tN)()[t];if(s[r])return s[r];if(!r)return;let a=r.replace(/.*:/,"").replace(/;.*/,"").trim();return n=a.startsWith("var(")?a:i.O0[e]?+a:a.endsWith("px")?+a.replace("px",""):a,s[r]=n,n}},7440:function(e,t,n){"use strict";n.d(t,{MX:function(){return r},Qy:function(){return i}});let r={hover:1,press:2,focus:3,focusVisible:3,disabled:4},i={hoverStyle:{name:"hover",priority:1},pressStyle:{name:"active",stateKey:"press",priority:2},focusVisibleStyle:{name:"focus-visible",priority:3,stateKey:"focusVisible"},focusStyle:{name:"focus",priority:3},disabledStyle:{name:"disabled",priority:4,stateKey:"disabled"},enterStyle:{name:"enter",selector:".t_unmounted",priority:4},exitStyle:{name:"exit",priority:5}}},9235:function(e,t,n){"use strict";n.d(t,{Y:function(){return a}});var r=n(2265),i=n(1130),o=n(2281);function a(e,t){let n=(0,r.forwardRef)(function(n,r){let{themeInverse:a,theme:l,componentName:s,themeReset:u,...c}=n,f=(0,o.jsx)(e,{ref:r,...c,"data-disable-theme":!0});return(0,o.jsx)(i.Q,{componentName:s||t?.componentName,name:l,"disable-child-theme":!0,debug:n.debug,inverse:a,reset:u,children:f})});return n.displayName=`Themed(${e?.displayName||e?.name||"Anonymous"})`,n}},1333:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(8829);function i(e){return e.map(e=>{let t=Object.keys(e)[0],n=e[t];return"matrix"===t||"matrix3d"===t?`${t}(${n.join(",")})`:`${t}(${(0,r.Y)(n,t)})`}).join(" ")}},6962:function(e,t,n){"use strict";n.d(t,{U:function(){return o},f:function(){return l}});var r=n(2265);let i=!1;function o(){(0,r.useEffect)(()=>{let e=setInterval(()=>{Date.now()-a>32&&(i=!0,clearInterval(e))},16);return()=>{clearInterval(e)}},[])}let a=Date.now();function l(){return i||(a=Date.now()),i}},9097:function(e,t,n){"use strict";let r,i;n.d(t,{jl:function(){return S},om:function(){return p},ae:function(){return A},_z:function(){return m},yj:function(){return L},Lk:function(){return h},yS:function(){return N},aN:function(){return d},nA:function(){return f},Zv:function(){return R},yL:function(){return x},GS:function(){return P}});var o=n(281),a=n(2265),l=n(5986),s=n(9533),u=n(7440),c=n(6962);let f={},d={},p=()=>f,h=new Set,m=e=>{if(h.has(e))return!0;if("$"===e[0]){if(e.startsWith("$platform-"))return"platform";if(e.startsWith("$theme-"))return"theme";if(e.startsWith("$group-"))return"group"}return!1},g=Object.keys(u.Qy).length,y=e=>(0,l.iE)().settings.mediaPropOrder?g:i.indexOf(e)+100,b=new Set,v=0,S=e=>{let{media:t,mediaQueryDefaultActive:n}=e;if(t){for(let e in v++,t)f[e]=n?.[e]||!1,h.add(`$${e}`);Object.assign(d,t),r={...f},i=Object.keys(t),e.disableSSR?x():E()}},w=-1;function x(){if(!(o.$L&&o.sk)&&w!==v)for(let e in w=v,d){let t=function(){let t=!!r().matches;t!==f[e]&&(f={...f,[e]:t},E())},n=N(d[e],e),r=()=>(0,s.L)(n),i=r();if(!i)throw Error("⚠️ No match");i.addListener(t),b.add(()=>{i.removeListener(t)}),t()}}let T=new Set,C=!1,$=-1;function E(){C&&$===v||($=v,C=!0,Promise.resolve().then(()=>{C=!1,T.forEach(e=>e(f))}))}let k=new WeakMap;function R(e,t){return k.set(e,{...k.get(e),...t})}function P(e,t){let n=e??(0,a.useRef)(),i=(0,c.f)(),s=!o.$L||(t?.disableSSR??(0,l.iE)().disableSSR)||i?f:r,u=k.get(n);u||(u={prev:s},k.set(n,u)),u.touched=void 0;let[d,p]=(0,a.useState)(s);return(0,o.LI)(()=>{function e(){p(e=>{let t=k.get(n),r=function({touched:e,prev:t,enabled:n,keys:r}){if(!1===n)return t;let i=r||e?[...r||[],...e||[]]:null;return!i||i?.every(e=>f[e]===t[e])?t:f}(t);return r!==e?(t.prev=r,r):e})}return Promise.resolve().then(e),T.add(e),()=>{T.delete(e)}},[n]),new Proxy(d,{get:(e,t)=>("string"==typeof t&&(u.touched||=new Set,u.touched.add(t)),Reflect.get(d,t))})}let A=(e,t,n,r)=>{let i=(0,l.iE)(),o=r&&!i.settings.mediaPropOrder?y(e):g;return!n[t]||o>n[t]?o:null},_=new WeakMap,O={};function N(e,t){if("string"==typeof e)return e;if(_.has(e))return _.get(e);let n=Object.entries(e).map(([e,t])=>(e=e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`).toLowerCase(),"string"==typeof t||"number"==typeof t&&/[height|width]$/.test(e)&&(t=`${t}px`),`(${e}: ${t})`)).join(" and ");return t&&(O[t]=n),_.set(e,n),n}function L(e,t){let n=d[e];return Object.keys(n).every(e=>{let r=+n[e],i=e.startsWith("max"),o=t[e.endsWith("Width")?"width":"height"];return i?o<r:o>r})}},8411:function(e,t,n){"use strict";let r;n.d(t,{q4:function(){return C},fe:function(){return E},Fg:function(){return y},WU:function(){return b}});var i=n(281),o=n(2265),a=n(5986),l=n(2202),s=n(9242);let u={name:""};function c(e){return!!(e.name||e.componentName||e.inverse||e.reset)}let f=0;class d{constructor(e={},t){if(this.props=e,f=(f+1)%Number.MAX_VALUE,this.id=f,"root"===t){this.updateStateFromProps(e,!1);return}if(!t)throw"❌ 000";if(this.parentManager=t,!this.updateStateFromProps(e,!1))return t}id=0;themeListeners=new Set;parentManager=null;state=u;updateStateFromProps(e=this.props||{},t=!0){if(this.props=e,e.forceTheme)return this.state.theme=e.forceTheme,this.state.name=e.name||"",this.updateState(this.state,!0),this.state;let n=this.getStateIfChanged(e);if(n)return this.updateState(n,t),n}updateState(e,t=!0){this.state=e,this._allKeys=null,t&&queueMicrotask(()=>{this.notify()})}getStateIfChanged(e=this.props,t=this.state,n=this.parentManager){let r=this.getState(e,n);return t&&t!==u&&!r?n?.state:this.getStateShouldChange(r,t)?r:void 0}getStateShouldChange(e,t=this.state){return!(!e?.theme||e.theme===t?.theme)}getState(e=this.props,t=this.parentManager){return function(e,t){if(e.name&&e.reset)throw Error("❌004");if(!c(e))return null;let n=(0,a.RC)(),[r,o]=function(e){let t=[],n=[],r=e;for(;r;)n.push(r),r.state.isComponent&&t.push(r),r=r.parentManager;return[n,t]}(t),l=!!t?.state.isComponent,u=e.reset&&!l?1:0,f=r[u],d=r[u+1];if(!f&&e.reset)return null;let{componentName:h}=e,m=null,g=f?.state.name||"";f?.state.isComponent&&(g=g.replace(/_[A-Z][A-Za-z]+/,""));let y=e.reset?g:e.name||"",b=o.map(e=>e?.state.name||"");l&&b.shift();let v=g.split(s.L2),S=v.length,w=e.componentName&&!y?S:0;for(let t=S;t>=w;t--){let r=v.slice(0,t).join(s.L2);e.inverse&&(r=p(r));let o=[];if(r&&r!==g&&r.includes(y)&&o.push(r),y&&o.unshift(r?`${r}_${y}`:y),1===t){let e=o.findIndex(e=>!e.includes("_"));e>0&&o.splice(e,0,y)}if(h&&!e.reset){let e=v.length,n=[];if(y&&e>1){let e=v[0];n.push(`${e}_${y}_${h}`)}if(n.push(`${r}_${h}`),y){if(t>e){let e=v.slice(0,t-1).join(s.L2);if(e){let t=`${e}_${y}_${h}`;n.unshift(t)}}let i=`${r}_${y}_${h}`;n.unshift(i)}o=[...n,...o,...b]}let a=o.find(e=>e in n);if(a){let e=a.split("_"),[t,...r]=e,o=e[e.length-1],l=o[0]===o[0].toUpperCase(),u="light"===t?"light":"dark"===t?"dark":void 0,c=s.nx,p=i.$L?`${c}sub_theme ${c}${u&&r.length?r.join("_"):t}`:"";m={name:a,parentName:(f||d)?.state?.name,theme:n[a],className:p,isComponent:l,scheme:u};break}}return m}(e,t)||null}_allKeys=null;get allKeys(){return this._allKeys||=new Set([...this.parentManager?.allKeys||[],...Object.keys(this.state.theme||{})]),this._allKeys}notify(e=!1){this.themeListeners.forEach(t=>t(this.state.name,this,e))}onChangeTheme(e,t){return this.themeListeners.add(e),()=>{this.themeListeners.delete(e)}}}let p=e=>e.startsWith("light")?e.replace(/^light/,"dark"):e.replace(/^dark/,"light");var h=n(9033),m=n(3820);let g={name:null},y=(e=g)=>{let[t,n]=b(e);return n||function(){if(r)return r;let e=(0,a.iE)(),t=e.themes.light?"light":Object.keys(e.themes)[0];return r=v({theme:e.themes[t],name:t})}()},b=e=>{let t=(0,o.useRef)([]),n=E(e,!1,t.current,i.sk?void 0:()=>e.shouldUpdate?.()??(t.current.length>0||void 0)),{themeManager:r,state:a}=n;return[n,(0,o.useMemo)(()=>r&&a?.theme?v(a,e.deopt,r,t.current,e.debug):{},[a?.theme,r,e.deopt,e.debug])]};function v({theme:e,name:t,scheme:n},r=!1,i,o,s){return e?((0,a.iE)(),new Proxy(e,{has:(t,n)=>!!Reflect.has(e,n)||("string"==typeof n?("$"===n[0]&&(n=n.slice(1)),i?.allKeys.has(n)):void 0),get(t,n){if("undefined"!==n&&"string"==typeof n){let t="$"===n[0]?n.slice(1):n,r=e[t];if(r&&"object"==typeof r)return new Proxy(r,{get(e,n){if("val"===n)o&&!o.includes(t)&&o.push(t);else if("get"===n)return e=>(0,l.E0)(r);return Reflect.get(r,n)}})}return Reflect.get(t,n)}})):{}}let S=new Set,w=new WeakMap,x={},T=e=>x[e],C=e=>w.get(T(e)),$=e=>{if(!x[e.id]){let t=x[e.id]={};w.set(t,e)}},E=(e,t=!1,n,r)=>{let{disable:l}=e,s=C((0,o.useContext)(h.s));if(!t&&!s||l)return{isNewTheme:!1,state:s?.state,themeManager:s};let[u,f]=(0,o.useState)(T),{state:p,mounted:g,isNewTheme:y,themeManager:b,inversed:v}=u,w=!!(!u.mounted&&e.inverse);function x(t=b,n,i=p,o=!1){let a=r?.();if(!t||!o&&!1===a)return;let l=n||t.getState(e,s);if(o||l&&!(!0!==a&&!t.getStateShouldChange(l,i)))return l}if(i.sk||(0,o.useEffect)(()=>{if(!b)return;if(e.inverse&&!g){f(e=>T({...e,mounted:!0}));return}(y||x(b))&&(S.add(b),f(T));let t=b.onChangeTheme((e,t,n)=>{n&&f(e=>T(e,!0))}),i=s?.onChangeTheme((t,i,o)=>{let a=o||r?.()||e.deopt||void 0;(a??!!(n?.length||y))&&f(e=>T(e,a))},b.id);return()=>{t(),i?.(),y&&S.delete(b)}},[b,s,y,e.componentName,e.inverse,e.name,e.reset,g]),i.$L&&w)return{isNewTheme:!1,inversed:!1,themeManager:s,state:{name:"",...s?.state,className:""}};return{state:p,isNewTheme:y,inversed:v,themeManager:b};function T(o,l=!1){if(o&&r?.()===!1&&!l)return o;let u=s,f;if(c(e)){let r=()=>new d(e,t?"root":s);if(o?.themeManager){u=o.themeManager;let i=l||!!n?.length,a=u.getState(e,s),c=x(u,a,o.state,i);c?(f=c,o.isNewTheme||t?u.updateState(c):u=r()):o.isNewTheme&&s&&!a&&(u=s)}else f={...(u=r()).state}}let p=!!(u!==s||e.inverse);p&&$(u);let h=!!i.$L&&!(0,a.iE)().disableSSR,g=!h||t||o?.mounted;f||(p?f=u.state:(f=s.state,u=s));let y=o?.inversed,b=p&&f.scheme!==s?.state.scheme,v={themeManager:u,isNewTheme:p,mounted:g,inversed:!t&&(!!b||(h?null==y&&null:e.inverse))},S=o&&!l&&(0,m.N2)(o,v)&&(0,m.N2)(o.state,f);return o&&S?o:(v.state=f,v)}}},4283:function(e,t,n){"use strict";n.d(t,{P:function(){return r},b:function(){return i}});let r={};function i(e){Object.assign(r,e)}},4975:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(5902);let i=(e,t,n=0)=>{let r={};for(let o in t){let a=e?.[o],l=t[o];a&&"function"!=typeof l?a&&!l?r[o]=a[o]:0===n?r[o]=i(a,l,n+1):r[o]={...a,...l}:r[o]=l}return{...e,...r}},o=new WeakMap,a={Image:{isReactNative:!0,inlineProps:new Set(["src","width","height"])},Text:{isReactNative:!0,isText:!0},TextInput:{isReactNative:!0,isInput:!0,isText:!0},default:{isReactNative:!0}};function l(e,t,n){let l=e.staticConfig,s=!!l&&!(l.isReactNative||l.isHOC),u=l?.isHOC&&!l?.isStyledHOC||s?e:l?.Component||e,c=l?void 0:function(e){if(e)return e.getSize&&e.prefetch?a.Image:"Text"===e.displayName&&e.render?a.Text:e.render&&("ScrollView"===e.displayName||"View"===e.displayName)?a.default:e.State?.blurTextInput?a.TextInput:o.get(e)}(u),f=!!(c||n?.isReactNative||l?.isReactNative),d=(()=>{if(t){let{variants:e,name:r,defaultVariants:o,acceptsClassName:a,context:d,...p}=t;o&&(p={...o,...p}),l&&(l.isHOC&&!l.isStyledHOC||(p={...l.defaultProps,...p},l.variants&&(e=i(l.variants,e)))),l?.isHOC&&r&&(p.componentName=r);let h=!!(n?.isText||l?.isText),m=a??(s||f||l?.isHOC&&l?.acceptsClassName),g={...l,...n,...!s&&{Component:u},variants:e,defaultProps:p,defaultVariants:o,componentName:r||l?.componentName,isReactNative:f,isText:h,acceptsClassName:m,context:d,...c,isStyledHOC:!!l?.isHOC,parentStaticConfig:l};return(p.children||!m||d)&&(g.neverFlatten=!0),g}})(),p=(0,r.LM)(d||{});for(let t in e)"propTypes"!==t&&(t in p||(p[t]=e[t]));return p}},5566:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(8338),i=n(9242);let o=(0,n(5902).LM)({acceptsClassName:!0,defaultProps:i.tn,validStyles:r.Qn});o.displayName="Stack"},8475:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(8338),i=n(5902);let o={maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a=(0,i.LM)({acceptsClassName:!0,isText:!0,defaultProps:{fontFamily:"unset",display:"inline",boxSizing:"border-box",wordWrap:"break-word",whiteSpace:"pre-wrap",margin:0},inlineWhenUnflattened:new Set(["fontFamily"]),variants:{numberOfLines:{1:o,":number":e=>e>=1?{WebkitLineClamp:e,WebkitBoxOrient:"vertical",display:"-webkit-box",overflow:"hidden"}:null},selectable:{true:{userSelect:"text",cursor:"text"},false:{userSelect:"none",cursor:"default"}},ellipse:{true:o},ellipsis:{true:o}},validStyles:{...r.Qn,...r.hT}});a.displayName="Text"},1130:function(e,t,n){"use strict";n.d(t,{Q:function(){return u},u:function(){return c}});var r=n(281),i=n(2265),o=n(2202),a=n(9033),l=n(8411),s=n(2281);let u=(0,i.forwardRef)(function({children:e,...t},n){if(t.disable)return e;let r=!!t._isRoot,o=(0,l.fe)(t,r),a=t["disable-child-theme"]?i.Children.map(e,e=>(0,i.cloneElement)(e,{"data-disable-theme":!0})):e;if(n)try{i.Children.only(a),a=(0,i.cloneElement)(a,{ref:n})}catch{}return c(o,a,t,r,(0,i.useRef)({hasEverThemed:!1}))});function c(e,t,n,l=!1,c){let{themeManager:d,isNewTheme:p}=e;if(!d)throw Error("❌ 005");let{shallow:h,forceClassName:m}=n,g=p||"inverse"in n||"name"in n||c.current.hasEverThemed||l;if(g&&(c.current.hasEverThemed=!0),!g)return t;let y=t;h&&(y=i.Children.toArray(t).map(e=>(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,(0,s.jsx)(u,{name:d.state.parentName,children:e.props.children})):e));let b=(0,s.jsx)(a.s.Provider,{value:d.id,children:y});return!1===m?b:r.$L?function({children:e,themeState:t,forceClassName:n,isRoot:r}){if(r&&!1===n)return e;let i=t.inversed,{className:a,style:l}=function(e,t=!1){if(!e.isNewTheme)return{className:"",style:f};let n=e.state?.theme&&e.isNewTheme?(0,o.lk)(e.state.theme.color):"",r=e.state?.className||"";return t&&(r=r.replace("t_sub_theme","")),{style:n?{color:n}:void 0,className:r}}(t,r),u=(0,s.jsx)("span",{className:`${a} _dsp_contents is_Theme`,style:l,children:e});if(null!=i||n){let e=t.state?.name||"",n=e.startsWith("light")?"t_light is_inversed":e.startsWith("dark")?"t_dark is_inversed":"";u=(0,s.jsx)("span",{className:`${i?n:""} _dsp_contents`,children:u})}return u}({children:b,themeState:e,forceClassName:m,isRoot:l}):b}u.displayName="Theme",u.avoidForwardRef=!0;let f={}}}]);
|
_next/static/chunks/{190-fbd7e2ae978b3f7a.js → 190-74c2ef00dd22af5b.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/466-8cc490905f2721ca.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/466-f54fd63f687cc06e.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/{50bd76a3-3480b2f334cc5792.js → 50bd76a3-7f4929e6d77cc44d.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/{590caa2a-69a13df2d4716a9e.js → 590caa2a-59a62e414f0cb318.js}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{2018:function(e,t,s){s.d(t,{t2:function(){return e9}});var n=s(761),i=s(911),r=s(8709),o=s(2414),a=s(5878),l=s(4087);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.ignore_merges=this.config.ignore_merges??!1,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){if(this.ignore_merges&&this.tokens_to_ids.has(s)){t.push(s);continue}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 A 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 S(e);case"NFC":return new E(e);case"NFKC":return new T(e);case"NFKD":return new C(e);case"Strip":return new j(e);case"StripAccents":return new M(e);case"Lowercase":return new P(e);case"Prepend":return new $(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 S extends A{normalize(e){let t=h(this.config.pattern);return null===t?e:e.replaceAll(t,this.config.content)}}class E extends A{normalize(e){return e=e.normalize("NFC")}}class T extends A{normalize(e){return e=e.normalize("NFKC")}}class C extends A{normalize(e){return e=e.normalize("NFKD")}}class j extends A{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 M extends A{normalize(e){return e=p(e)}}class P extends A{normalize(e){return e=e.toLowerCase()}}class $ extends A{normalize(e){return e=this.config.prepend+e}}class R extends A{constructor(e){super(e),this.normalizers=e.normalizers.map(e=>A.fromConfig(e))}normalize(e){return this.normalizers.reduce((e,t)=>t.normalize(e),e)}}class N extends A{_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 O(e);case"Split":return new U(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 O 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 U 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=new Uint8Array([...e.join("")].map(e=>this.byte_decoder[e]));return this.text_decoder.decode(t)}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 A{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=A.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))}if(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,Array.isArray(this.chat_template)){let e=Object.create(null);for(let{name:t,template:s}of this.chat_template){if("string"!=typeof t||"string"!=typeof s)throw Error('Chat template must be a list of objects with "name" and "template" properties');e[t]=s}this.chat_template=e}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 or undefined");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,tokenizer_kwargs:c={},...h}={}){if(this.chat_template&&"object"==typeof this.chat_template||null===this.chat_template&&this.default_chat_template&&"object"==typeof this.default_chat_template){let e=this.chat_template??this.default_chat_template;if(null!==t&&Object.hasOwn(e,t))t=e[t];else if(null===t&&"default"in e)t=e.default;else if(null===t)throw Error(`This model has multiple chat templates with no default specified! Please either pass a chat template or the name of the template you wish to use to the 'chat_template' argument. Available template names are ${Object.keys(e).sort()}.`)}else t??=this.chat_template??this.default_chat_template;if("string"!=typeof t)throw Error(`chat_template must be a string, but got ${typeof t}`);let u=this._compiled_template_cache.get(t);void 0===u&&(u=new l.YS(t),this._compiled_template_cache.set(t,u));let d=Object.create(null);for(let e of eu){let t=this.getToken(e);t&&(d[e]=t)}let _=u.render({messages:e,add_generation_prompt:s,...d,...h});return n?this._call(_,{add_special_tokens:!1,padding:i,truncation:r,max_length:o,return_tensor:a,...c}).input_ids:_}}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 eA extends ed{return_token_type_ids=!0}class eS 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 eB(this,e,t,s)}}class ej extends eC{}class eM extends ed{}class eP 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 e$ 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 |
|
@@ -9,4 +9,4 @@
|
|
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 e${}class eN extends ed{}class eF extends ed{}class eL extends ed{}class eO extends ed{}class eU 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 %}"}class eI extends ed{}function eB(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 eD 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 eB(this,e,t,s)}}class eq 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 eB(this,e,t,s)}}let eY=[["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"]],eK=new Map(eY),eZ=new Map([...eY.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 eV 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=eK.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=eZ.get(e);if(void 0===t){if(eK.has(e))t=e;else{let t=2===e.length?eK.keys():eK.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 eH extends ed{}class eJ extends ed{}class eQ extends ed{}class eX 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 e0 extends ed{}class e1 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 e2 extends e1{}class e3 extends ed{}class e8 extends ed{}class e7 extends ed{constructor(e,t){super(e,t),this.decoder=new en({})}}class e6 extends ed{}class e9{static TOKENIZER_CLASS_MAPPING={T5Tokenizer:eS,DistilBertTokenizer:eb,CamembertTokenizer:ev,DebertaTokenizer:em,DebertaV2Tokenizer:ek,BertTokenizer:e_,HerbertTokenizer:ex,ConvBertTokenizer:ew,RoFormerTokenizer:ey,XLMTokenizer:ez,ElectraTokenizer:eA,MobileBertTokenizer:ef,SqueezeBertTokenizer:eg,AlbertTokenizer:ep,GPT2Tokenizer:eE,BartTokenizer:eT,MBartTokenizer:eC,MBart50Tokenizer:ej,RobertaTokenizer:eM,WhisperTokenizer:eV,CodeGenTokenizer:eH,CLIPTokenizer:eJ,SiglipTokenizer:eQ,MarianTokenizer:eX,BloomTokenizer:eP,NllbTokenizer:eD,M2M100Tokenizer:eq,LlamaTokenizer:e$,CodeLlamaTokenizer:eR,XLMRobertaTokenizer:eN,MPNetTokenizer:eF,FalconTokenizer:eL,GPTNeoXTokenizer:eO,EsmTokenizer:eU,Wav2Vec2CTCTokenizer:e0,BlenderbotTokenizer:e1,BlenderbotSmallTokenizer:e2,SpeechT5Tokenizer:e3,NougatTokenizer:e8,VitsTokenizer:e7,Qwen2Tokenizer:eW,GemmaTokenizer:eG,Grok1Tokenizer:eI,CohereTokenizer:e6,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)}}}}]);
|
|
|
1 |
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{2018:function(e,t,s){s.d(t,{t2:function(){return e4}});var n=s(761),i=s(911),r=s(8709),o=s(2414),a=s(5878),l=s(4087);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.ignore_merges=this.config.ignore_merges??!1,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){if(this.ignore_merges&&this.tokens_to_ids.has(s)){t.push(s);continue}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 A 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 ea(e);case"Sequence":return new R(e);case"Replace":return new S(e);case"NFC":return new E(e);case"NFKC":return new T(e);case"NFKD":return new C(e);case"Strip":return new j(e);case"StripAccents":return new M(e);case"Lowercase":return new P(e);case"Prepend":return new $(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 S extends A{normalize(e){let t=h(this.config.pattern);return null===t?e:e.replaceAll(t,this.config.content)}}class E extends A{normalize(e){return e=e.normalize("NFC")}}class T extends A{normalize(e){return e=e.normalize("NFKC")}}class C extends A{normalize(e){return e=e.normalize("NFKD")}}class j extends A{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 M extends A{normalize(e){return e=p(e)}}class P extends A{normalize(e){return e=e.toLowerCase()}}class $ extends A{normalize(e){return e=this.config.prepend+e}}class R extends A{constructor(e){super(e),this.normalizers=e.normalizers.map(e=>A.fromConfig(e))}normalize(e){return this.normalizers.reduce((e,t)=>t.normalize(e),e)}}class N extends A{_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 el(e);case"Whitespace":return new ec(e);case"WhitespaceSplit":return new eh(e);case"Metaspace":return new er(e);case"ByteLevel":return new O(e);case"Split":return new U(e);case"Punctuation":return new W(e);case"Digits":return new G(e);case"Replace":return new eu(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 O 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 U 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);case"Sequence":return new K(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 I{constructor(e){super(e),this.processors=e.processors.map(e=>I.fromConfig(e))}post_process(e,t=null,s={}){let n;for(let i of this.processors)if(i instanceof Y)e=i.post_process(e).tokens,t&&(t=i.post_process(t).tokens);else{let r=i.post_process(e,t,s);e=r.tokens,n=r.token_type_ids}return{tokens:e,token_type_ids:n}}}class Z 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 X(e);case"Metaspace":return new eo(e);case"ByteLevel":return new ee(e);case"Replace":return new V(e);case"ByteFallback":return new H(e);case"Fuse":return new J(e);case"Strip":return new Q(e);case"Sequence":return new es(e);case"CTC":return new et(e);case"BPEDecoder":return new en(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 V extends Z{decode_chain(e){let t=h(this.config.pattern);return null===t?e:e.map(e=>e.replaceAll(t,this.config.content))}}class H extends Z{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 J extends Z{decode_chain(e){return[e.join("")]}}class Q extends Z{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 X extends Z{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 ee extends Z{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=new Uint8Array([...e.join("")].map(e=>this.byte_decoder[e]));return this.text_decoder.decode(t)}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 et extends Z{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 es extends Z{constructor(e){super(e),this.decoders=e.decoders.map(e=>Z.fromConfig(e))}decode_chain(e){return this.decoders.reduce((e,t)=>t.decode_chain(e),e)}}class en extends Z{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 ei extends Z{decode_chain(e){let t="";for(let s=1;s<e.length;s+=2)t+=e[s];return[t]}}class er 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 eo extends Z{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 ea extends A{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 el 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 ec extends F{constructor(e){super()}pre_tokenize_text(e,t){return e.match(/\w+|[^\w\s]+/g)||[]}}class eh extends F{constructor(e){super()}pre_tokenize_text(e,t){return e.match(/\S+/g)||[]}}class eu 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 ed=["bos_token","eos_token","unk_token","sep_token","pad_token","cls_token","mask_token"];class e_ 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=A.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=Z.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))}if(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,Array.isArray(this.chat_template)){let e=Object.create(null);for(let{name:t,template:s}of this.chat_template){if("string"!=typeof t||"string"!=typeof s)throw Error('Chat template must be a list of objects with "name" and "template" properties');e[t]=s}this.chat_template=e}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,return_token_type_ids:h=null}={}){let u;let d=Array.isArray(e);if(d){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");u=e.map((e,n)=>this._encode_plus(e,t[n],{add_special_tokens:s,return_token_type_ids:h}))}else u=e.map(e=>this._encode_plus(e,null,{add_special_tokens:s,return_token_type_ids:h}))}else{if(null==e)throw Error("text may not be null or undefined");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).");u=[this._encode_plus(e,t,{add_special_tokens:s,return_token_type_ids:h})]}if(null===l?l="max_length"===i?this.model_max_length:(0,r.Fp)(u.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<u.length;++e)u[e].input_ids.length!==l&&(u[e].input_ids.length>l?a&&function(e,t){for(let s of Object.keys(e))e[s].length=t}(u[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])}}(u[e],l,e=>"input_ids"===e?this.pad_token_id:0,this.padding_side));let _={};if(c){if(!(i&&a)&&u.some(e=>{for(let t of Object.keys(e))if(e[t].length!==u[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=[u.length,u[0].input_ids.length];for(let t of Object.keys(u[0]))_[t]=new o.es("int64",BigInt64Array.from(u.flatMap(e=>e[t]).map(BigInt)),e)}else{for(let e of Object.keys(u[0]))_[e]=u.map(t=>t[e]);if(!d)for(let e of Object.keys(_))_[e]=_[e][0]}return _}_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,return_token_type_ids:i=null}={}){let r=this._encode_text(e),o=this._encode_text(t),a=this.post_processor?this.post_processor(r,o,{add_special_tokens:s}):{tokens:(0,n.eG)(r??[],o??[])},l=this.model.convert_tokens_to_ids(a.tokens),c={input_ids:l,attention_mask:Array(l.length).fill(1)};return(i??this.return_token_type_ids)&&a.token_type_ids&&(c.token_type_ids=a.token_type_ids),c}encode(e,t=null,{add_special_tokens:s=!0,return_token_type_ids:n=null}={}){let{input_ids:i}=this._encode_plus(e,t,{add_special_tokens:s,return_token_type_ids:n});return i}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,tokenizer_kwargs:c={},...h}={}){if(this.chat_template&&"object"==typeof this.chat_template||null===this.chat_template&&this.default_chat_template&&"object"==typeof this.default_chat_template){let e=this.chat_template??this.default_chat_template;if(null!==t&&Object.hasOwn(e,t))t=e[t];else if(null===t&&"default"in e)t=e.default;else if(null===t)throw Error(`This model has multiple chat templates with no default specified! Please either pass a chat template or the name of the template you wish to use to the 'chat_template' argument. Available template names are ${Object.keys(e).sort()}.`)}else t??=this.chat_template??this.default_chat_template;if("string"!=typeof t)throw Error(`chat_template must be a string, but got ${typeof t}`);let u=this._compiled_template_cache.get(t);void 0===u&&(u=new l.YS(t),this._compiled_template_cache.set(t,u));let d=Object.create(null);for(let e of ed){let t=this.getToken(e);t&&(d[e]=t)}let _=u.render({messages:e,add_generation_prompt:s,...d,...h});return n?this._call(_,{add_special_tokens:!1,padding:i,truncation:r,max_length:o,return_tensor:a,...c}).input_ids:_}}class ep extends e_{return_token_type_ids=!0}class ef extends e_{return_token_type_ids=!0}class eg extends e_{return_token_type_ids=!0}class em extends e_{return_token_type_ids=!0}class ek extends e_{return_token_type_ids=!0}class ex extends e_{return_token_type_ids=!0}class ew extends e_{return_token_type_ids=!0}class ey extends e_{return_token_type_ids=!0}class eb extends e_{return_token_type_ids=!0}class ev extends e_{}class ez extends e_{}class eA extends e_{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 e_{return_token_type_ids=!0}class eE extends e_{}class eT extends e_{_default_chat_template='{% for message in messages %}" "{{ message.content }}{{ eos_token }}" "{% endfor %}'}class eC extends e_{}class ej extends e_{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 eD(this,e,t,s)}}class eM extends ej{}class eP extends e_{}class e$ extends eT{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 eR extends e_{_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 |
|
|
|
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 er({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 eN extends eR{}class eF extends e_{}class eL extends e_{}class eO extends e_{}class eU extends e_{}class eW extends e_{}class eG extends e_{}class eI extends e_{_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 %}"}class eB extends e_{}function eD(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 eq extends e_{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 eD(this,e,t,s)}}class eY extends e_{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 eD(this,e,t,s)}}let eK=[["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"]],eZ=new Map(eK),eV=new Map([...eK.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 eH extends e_{_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=eZ.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=eV.get(e);if(void 0===t){if(eZ.has(e))t=e;else{let t=2===e.length?eZ.keys():eZ.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 eJ extends e_{}class eQ extends e_{}class eX extends e_{}class e0 extends e_{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 e1 extends e_{}class e2 extends e_{_default_chat_template="{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not loop.last %}{{ ' ' }}{% endif %}{% endfor %}{{ eos_token }}"}class e3 extends e2{}class e8 extends e_{}class e7 extends e_{}class e6 extends e_{constructor(e,t){super(e,t),this.decoder=new ei({})}}class e9 extends e_{}class e4{static TOKENIZER_CLASS_MAPPING={T5Tokenizer:eE,DistilBertTokenizer:ev,CamembertTokenizer:ez,DebertaTokenizer:ek,DebertaV2Tokenizer:ex,BertTokenizer:ep,HerbertTokenizer:ew,ConvBertTokenizer:ey,RoFormerTokenizer:eb,XLMTokenizer:eA,ElectraTokenizer:eS,MobileBertTokenizer:eg,SqueezeBertTokenizer:em,AlbertTokenizer:ef,GPT2Tokenizer:eT,BartTokenizer:eC,MBartTokenizer:ej,MBart50Tokenizer:eM,RobertaTokenizer:eP,WhisperTokenizer:eH,CodeGenTokenizer:eJ,CLIPTokenizer:eQ,SiglipTokenizer:eX,MarianTokenizer:e0,BloomTokenizer:e$,NllbTokenizer:eq,M2M100Tokenizer:eY,LlamaTokenizer:eR,CodeLlamaTokenizer:eN,XLMRobertaTokenizer:eF,MPNetTokenizer:eL,FalconTokenizer:eO,GPTNeoXTokenizer:eU,EsmTokenizer:eW,Wav2Vec2CTCTokenizer:e1,BlenderbotTokenizer:e2,BlenderbotSmallTokenizer:e3,SpeechT5Tokenizer:e8,NougatTokenizer:e7,VitsTokenizer:e6,Qwen2Tokenizer:eG,GemmaTokenizer:eI,Grok1Tokenizer:eB,CohereTokenizer:e9,PreTrainedTokenizer:e_};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=e_),new d(l,h)}}}}]);
|
_next/static/chunks/{6139e184-0267cebb3003fcd3.js → 6139e184-f911fd69801d47e5.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/755-7de149ecff927fc3.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[755],{542:function(e,t,r){"use strict";r.d(t,{G:function(){return m}});var o=r(281),s=r(9087),n=r(7449),l=r.n(n),i=r(2265);let a=["light","dark"],u="(prefers-color-scheme: dark)",h=(e,t)=>{let r;if(!(typeof window>"u")){try{r=localStorage.getItem(e)||void 0}catch{}return r||t}},d=e=>(e||(e=window.matchMedia(u)),e.matches?"dark":"light");var c=r(1636),f=r(2281);let m=(0,i.memo)(({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:n=!0,storageKey:l="theme",themes:m=a,defaultTheme:g=r?"system":"light",attribute:b="class",skipNextHead:v,onChangeTheme:y,value:k={dark:"t_dark",light:"t_light"},children:w})=>{let[_,S]=(0,i.useState)(()=>h(l,g)),[C,$]=(0,i.useState)(()=>h(l)),j=k?Object.values(k):m,O=(0,s.z)(r=>{let o=d(r),s=()=>$(o);t?s():i.startTransition(()=>s()),"system"!==_||e||T(o,!1)}),T=(0,s.z)((e,t=!0,o=!0)=>{let s=k?.[e]||e;if(t)try{localStorage.setItem(l,e)}catch{}if("system"===e&&r){let e=d();s=k?.[e]||e}if(y?.(s.replace("t_","")),o){let e=document.documentElement;"class"===b?(e.classList.remove(...j),e.classList.add(s)):e.setAttribute(b,s)}});(0,o.LI)(()=>{let e=window.matchMedia(u);return e.addListener(O),O(e),()=>{e.removeListener(O)}},[]);let E=(0,s.z)(t=>{e?T(t,!0,!1):T(t),S(t)});(0,i.useEffect)(()=>{let e=e=>{e.key===l&&E(e.newValue||g)};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[g,E,l]),(0,o.LI)(()=>{if(!n)return;let t=e&&a.includes(e)?e:_&&a.includes(_)?_:"system"===_&&C||null;("u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")!==(t||"light")&&document.documentElement.style.setProperty("color-scheme",t)},[n,_,C,e]);let x=(0,s.z)(()=>{let e="dark"===C?["system","light","dark"]:["system","dark","light"];E(e[(e.indexOf(_)+1)%e.length])}),F=r?C:void 0,R=(0,i.useMemo)(()=>({theme:_,current:_,set:E,toggle:x,forcedTheme:e,resolvedTheme:"system"===_?C:_,themes:r?[...m,"system"]:m,systemTheme:F}),[_,E,x,e,C,r,m,F]);return(0,f.jsxs)(c.m.Provider,{value:R,children:[(0,f.jsx)(p,{forcedTheme:e,storageKey:l,systemTheme:C,attribute:b,value:k,enableSystem:r,defaultTheme:g,attrs:j,skipNextHead:v}),(0,i.useMemo)(()=>w,[w])]})}),p=(0,i.memo)(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:o,defaultTheme:s,value:n,attrs:i,skipNextHead:a})=>{let h="class"===r?`var d=document.documentElement.classList;${i.map(e=>`d.remove('${e}')`).join(";")};`:"var d=document.documentElement;",d=(e,t)=>{e=n?.[e]||e;let o=t?e:`'${e}'`;return"class"===r?`d.add(${o})`:`d.setAttribute('${r}', ${o})`},c="system"===s,m=(0,f.jsx)(f.Fragment,{children:e?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){${h}${d(e)}}()`}},"next-themes-script"):o?(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try {${h}var e=localStorage.getItem('${t}');${c?"":d(s)+";"}if("system"===e||(!e&&${c})){var t="${u}",m=window.matchMedia(t);m.media!==t||m.matches?${d("dark")}:${d("light")}}else if(e) ${n?`var x=${JSON.stringify(n)};`:""}${d(n?"x[e]":"e",!0)}}catch(e){}}()`}},"next-themes-script"):(0,f.jsx)("script",{dangerouslySetInnerHTML:{__html:`!function(){try{${h}var e=localStorage.getItem("${t}");if(e){${n?`var x=${JSON.stringify(n)};`:""}${d(n?"x[e]":"e",!0)}}else{${d(s)};}}catch(t){}}();`}},"next-themes-script")});return a?m:(0,f.jsx)(l(),{children:m})},(e,t)=>e.forcedTheme===t.forcedTheme)},1636:function(e,t,r){"use strict";r.d(t,{m:function(){return o}});let o=(0,r(2265).createContext)({toggle:()=>{},set:e=>{},themes:[]})},9010:function(e,t,r){"use strict";r.d(t,{U:function(){return n}});var o=r(281),s=r(2265);let n=({fallback:e="light"}={})=>{let t=e;if(o.C5){let r=[...document.documentElement.classList];t=r.includes("t_dark")?"dark":r.includes("t_light")?"light":e}return(0,s.useState)(t)}},1542:function(e,t,r){"use strict";r.d(t,{P:function(){return n}});var o=r(2265),s=r(1636);let n=()=>(0,o.useContext)(s.m)},6463:function(e,t,r){"use strict";var o=r(1169);r.o(o,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return o.permanentRedirect}}),r.o(o,"useParams")&&r.d(t,{useParams:function(){return o.useParams}}),r.o(o,"usePathname")&&r.d(t,{usePathname:function(){return o.usePathname}}),r.o(o,"useSearchParams")&&r.d(t,{useSearchParams:function(){return o.useSearchParams}}),r.o(o,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return o.useServerInsertedHTML}})},7449:function(e,t){"use strict";function r(){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),("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)},622:function(){},3398:function(e,t,r){"use strict";var o=r(357);r(622);var s=r(2265),n=s&&"object"==typeof s&&"default"in s?s:{default:s},l=void 0!==o&&o.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,r=t.name,o=void 0===r?"stylesheet":r,s=t.optimizeForSpeed,n=void 0===s?l:s;u(i(o),"`name` must be a string"),this._name=o,this._deletedRulePlaceholder="#"+o+"-deleted-rule____{}",u("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(u(i(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var o=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,o))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var r="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(o){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var o=this._tags[e];u(o,"old rule at index `"+e+"` not found"),o.textContent=t}return e},t.deleteRule=function(e){if("undefined"==typeof window){this._serverSheet.deleteRule(e);return}if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},t.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&u(i(t),"makeStyleTag accepts only strings as second parameter");var o=document.createElement("style");this._nonce&&o.setAttribute("nonce",this._nonce),o.type="text/css",o.setAttribute("data-"+e,""),t&&o.appendChild(document.createTextNode(t));var s=document.head||document.getElementsByTagName("head")[0];return r?s.insertBefore(o,r):s.appendChild(o),o},function(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(e.prototype,[{key:"length",get:function(){return this._rulesCount}}]),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var h=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function c(e,t){if(!t)return"jsx-"+e;var r=String(t),o=e+r;return d[o]||(d[o]="jsx-"+h(e+"-"+r)),d[o]}function f(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var m=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,o=void 0===r?null:r,s=t.optimizeForSpeed,n=void 0!==s&&s;this._sheet=o||new a({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),o&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),o=r.styleId,s=r.rules;if(o in this._instancesCounts){this._instancesCounts[o]+=1;return}var n=s.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[o]=n,this._instancesCounts[o]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var o=this._fromServer&&this._fromServer[r];o?(o.parentNode.removeChild(o),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],o=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:o}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,o=e.id;if(r){var s=c(o,r);return{styleId:s,rules:Array.isArray(t)?t.map(function(e){return f(s,e)}):[f(s,t)]}}return{styleId:c(o),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),p=s.createContext(null);p.displayName="StyleSheetContext";var g=n.default.useInsertionEffect||n.default.useLayoutEffect,b="undefined"!=typeof window?new m:void 0;function v(e){var t=b||s.useContext(p);return t&&("undefined"==typeof window?t.add(e):g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return c(e[0],e[1])}).join(" ")},t.style=v},8059:function(e,t,r){"use strict";e.exports=r(3398).style},7376:function(e,t,r){"use strict";r.d(t,{vc:function(){return ek}});let o={ussel:"userSelect",cur:"cursor",pe:"pointerEvents",col:"color",ff:"fontFamily",fos:"fontSize",fost:"fontStyle",fow:"fontWeight",ls:"letterSpacing",lh:"lineHeight",ta:"textAlign",tt:"textTransform",ww:"wordWrap",ac:"alignContent",ai:"alignItems",als:"alignSelf",b:"bottom",bg:"backgroundColor",bbc:"borderBottomColor",bblr:"borderBottomLeftRadius",bbrr:"borderBottomRightRadius",bbw:"borderBottomWidth",blc:"borderLeftColor",blw:"borderLeftWidth",bc:"borderColor",br:"borderRadius",bs:"borderStyle",brw:"borderRightWidth",brc:"borderRightColor",btc:"borderTopColor",btlr:"borderTopLeftRadius",btrr:"borderTopRightRadius",btw:"borderTopWidth",bw:"borderWidth",dsp:"display",f:"flex",fb:"flexBasis",fd:"flexDirection",fg:"flexGrow",fs:"flexShrink",fw:"flexWrap",h:"height",jc:"justifyContent",l:"left",m:"margin",mah:"maxHeight",maw:"maxWidth",mb:"marginBottom",mih:"minHeight",miw:"minWidth",ml:"marginLeft",mr:"marginRight",mt:"marginTop",mx:"marginHorizontal",my:"marginVertical",o:"opacity",ov:"overflow",p:"padding",pb:"paddingBottom",pl:"paddingLeft",pos:"position",pr:"paddingRight",pt:"paddingTop",px:"paddingHorizontal",py:"paddingVertical",r:"right",shac:"shadowColor",shar:"shadowRadius",shof:"shadowOffset",shop:"shadowOpacity",t:"top",w:"width",zi:"zIndex"};function s(e){return Object.entries(e)}function n(e){return Object.fromEntries(e)}function l(e){return 1/e===Number.NEGATIVE_INFINITY}o.bls="borderLeftStyle",o.brs="borderRightStyle",o.bts="borderTopStyle",o.bbs="borderBottomStyle",o.bxs="boxSizing",o.bxsh="boxShadow",o.ox="overflowX",o.oy="overflowY";let i=e=>"function"==typeof e?{name:e.name||"unnamed",mask:e}:e,a=(e,t)=>{let{skip:r}=t;return Object.fromEntries(Object.entries(e).filter(([e])=>!r||!(e in r)).map(([e,r])=>[e,function(e,t,r){let o,s=r.overrideStrategy,n=r.overrideSwap?.[e];if("u">typeof n)o=n,s="swap";else{let t=r.overrideShift?.[e];if("u">typeof t)o=t,s="shift";else{let t=r.override?.[e];"u">typeof t&&(o=t,s=r.overrideStrategy)}}return typeof o>"u"||"string"==typeof o?t:"swap"===s?o:t}(e,r,t)]))},u=()=>({name:"inverse-mask",mask:(e,t)=>a(n(s(e).map(([e,t])=>[e,-t])),t)}),h=({inverse:e}={},t)=>({name:"shift-mask",mask:(r,o)=>{let{override:s,overrideStrategy:n="shift",max:i,palette:u,min:h=0,strength:d=1}={...t,...o},c=Object.entries(r),f=i??(u?Object.values(u).length-1:Number.POSITIVE_INFINITY),m={};for(let[t,r]of c){if("string"==typeof r)continue;if("number"==typeof s?.[t]){let e=s[t];m[t]="shift"===n?r+e:e;continue}if("string"==typeof s?.[t]){m[t]=s[t];continue}let o=0===r?!l(r):r>=0,i=r+d*(o?1:-1)*(e?-1:1),a=o?Math.max(h,Math.min(f,i)):Math.min(-h,Math.max(-f,i));m[t]=a}return a(m,o)}}),d=e=>({name:"soften-mask",mask:h({},e).mask}),c=e=>({name:"strengthen-mask",mask:h({inverse:!0},e).mask}),f=new Map,m=(e,t)=>f.get(t||JSON.stringify(e)),p=(e,t)=>{let r={...t,cache:new Map};f.set(t.name||JSON.stringify(e),r),f.set(JSON.stringify(t.definition),r)},g=new Map;function b(e,t,r,o,s=!1){let n=s?"":JSON.stringify([o,e,t,r]);if(!s&&g.has(n))return g.get(n);let l={...Object.fromEntries(Object.entries(t).map(([t,r])=>[t,v(e,r)])),...r?.nonInheritedValues};return p(l,{palette:e,definition:t,options:r,name:o}),n&&g.set(n,l),l}let v=(e,t)=>{if(!e)throw Error("No palette!");if("string"==typeof t)return t;let r=e.length-1;return e[Math.min(Math.max(0,(0===t?!l(t):t>=0)?t:r+t),r)]};function y(e,t,r={},o){let s={...r.skip};if(e.options?.nonInheritedValues)for(let t in e.options.nonInheritedValues)s[t]=1;let n={parentName:o,palette:e.palette,...r,skip:s},l=t.mask(e.definition,n),i=b(e.palette,l);return{...e,cache:new Map,definition:l,theme:i}}class k{constructor(e){this.state=e}addPalettes(e){return this.state.palettes={...this.state.palettes,...e},this}addTemplates(e){return this.state.templates={...this.state.templates,...e},this}addMasks(e){return this.state.masks={...this.state.masks,...n(s(e).map(([e,t])=>[e,i(t)]))},this}_addedThemes=[];addThemes(e){return this._addedThemes.push({type:"themes",args:[e]}),this.state.themes={...this.state.themes,...e},this}addComponentThemes(e,t){return this.addChildThemes(e,t),this}addChildThemes(e,t){let r=this.state.themes;if(!r)throw Error("No themes defined yet, use addThemes first to set your base themes");this._addedThemes.push({type:"childThemes",args:[e,t]});let o=Object.keys(r),s=Object.keys(e),n=Object.fromEntries(o.flatMap(r=>{let o=t?.avoidNestingWithin;return o&&o.some(e=>r.startsWith(e)||r.endsWith(e))?[]:s.map(t=>{let o=`${r}_${t}`,s=e[t];return"avoidNestingWithin"in s&&s.avoidNestingWithin.some(e=>r.startsWith(e)||r.endsWith(e))?null:[o,s]}).filter(Boolean)})),l={...this.state.themes,...n};return this.state.themes=l,this}build(){if(!this.state.themes)return{};let e={},t=[];for(let r in this.state.themes){let o=r.split("_"),s=o.slice(0,o.length-1).join("_"),n=this.state.themes[r],l=Array.isArray(n)?n.find(e=>!e.parent||s.endsWith(e.parent)||s.startsWith(e.parent))||null:n;if(l){if("theme"in l)e[r]=l.theme;else if("mask"in l)t.push({parentName:s,themeName:r,mask:l});else{let{palette:t="",template:n,...i}=l;if(this.state.themes[s],!this.state.palettes)throw Error(`No palettes defined for theme with palette expected: ${r}`);let a=this.state.palettes[t||""],u=`${s}_${t}`;for(;!a&&u;)u in this.state.palettes?(a=this.state.palettes[u],t=u):u=u.split("_").slice(0,-1).join("_");if(!a)throw Error("No palette for theme");let h=this.state.templates?.[n]??this.state.templates?.[`${o[0]}_${n}`];if(!h)throw Error(`No template for theme ${r}: ${n}`);e[r]=function(e,t,r,o,s,n=!1){if(!e[t])throw Error(`No pallete: ${t}`);let l={...r};for(let o in r){let s=r[o];if("string"==typeof s&&"$"===s[0]){let[r,n]=s.split("."),i=r.slice(1),a=t.split("_")[0],u=e[i]||e[`${a}_${i}`];if(u){let e=v(u,+n);"u">typeof e&&(l[o]=e)}}}return b(e[t],l,o,s,n)}(this.state.palettes,t,h,i,r,!0)}}}for(let{mask:r,themeName:o,parentName:s}of t){let t=e[s];if(!t)continue;let{mask:n,...l}=r,i=this.state.masks?.[n];if(!i)throw Error(`No mask ${n}`);let a=this.state.themes[s];if(a&&"childOptions"in a){let{mask:e,...t}=a.childOptions;e&&(i=this.state.masks?.[e]),Object.assign(l,t)}e[o]=function(e,t,r={},o,s){let n=m(e,o);if(!n)throw Error("❌ Err2");let l=y(n,t,r,o);return p(l.theme,{definition:l.definition,palette:n.palette,name:s}),l.theme}(t,i,l,s,o)}return e}}let w=(...e)=>({name:"combine-mask",mask:(t,r)=>{let o=m(t,r.parentName),s;for(let n of e){if(!o)throw Error(`Nothing returned from mask: ${o}, for template: ${t} and mask: ${n.toString()}, given opts ${JSON.stringify(r,null,2)}`);let e=y(o,n,r);o=e,s=e.theme}return s}});d(),d({strength:2}),d({strength:3}),c(),u(),w(u(),d({strength:2})),w(u(),d({strength:3})),w(u(),d({strength:4})),w(u(),c({strength:2})),i((e,t)=>{let r=c().mask(e,t),o=d().mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),i((e,t)=>{let r=d({strength:2}).mask(e,t),o=d({strength:1}).mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),i((e,t)=>{let r=d({strength:2}).mask(e,t);return{...d({strength:3}).mask(e,t),borderColor:r.borderColor,borderColorHover:r.borderColorHover,borderColorPress:r.borderColorPress,borderColorFocus:r.borderColorFocus}}),i((e,t)=>{let r=a(e,t),o=d().mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}}),i((e,t)=>{let r=a(e,t),o=d({strength:2}).mask(e,t);return{...r,borderColor:o.borderColor,borderColorHover:o.borderColorHover,borderColorPress:o.borderColorPress,borderColorFocus:o.borderColorFocus}});var _,S,C=r(7104);let $={blue:{blue1:"hsl(206, 100%, 99.2%)",blue2:"hsl(210, 100%, 98.0%)",blue3:"hsl(209, 100%, 96.5%)",blue4:"hsl(210, 98.8%, 94.0%)",blue5:"hsl(209, 95.0%, 90.1%)",blue6:"hsl(209, 81.2%, 84.5%)",blue7:"hsl(208, 77.5%, 76.9%)",blue8:"hsl(206, 81.9%, 65.3%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(208, 100%, 47.3%)",blue11:"hsl(211, 100%, 43.2%)",blue12:"hsl(211, 100%, 15.0%)"},gray:{gray1:"hsl(0, 0%, 99.0%)",gray2:"hsl(0, 0%, 97.3%)",gray3:"hsl(0, 0%, 95.1%)",gray4:"hsl(0, 0%, 93.0%)",gray5:"hsl(0, 0%, 90.9%)",gray6:"hsl(0, 0%, 88.7%)",gray7:"hsl(0, 0%, 85.8%)",gray8:"hsl(0, 0%, 78.0%)",gray9:"hsl(0, 0%, 56.1%)",gray10:"hsl(0, 0%, 52.3%)",gray11:"hsl(0, 0%, 43.5%)",gray12:"hsl(0, 0%, 9.0%)"},green:{green1:"hsl(136, 50.0%, 98.9%)",green2:"hsl(138, 62.5%, 96.9%)",green3:"hsl(139, 55.2%, 94.5%)",green4:"hsl(140, 48.7%, 91.0%)",green5:"hsl(141, 43.7%, 86.0%)",green6:"hsl(143, 40.3%, 79.0%)",green7:"hsl(146, 38.5%, 69.0%)",green8:"hsl(151, 40.2%, 54.1%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(152, 57.5%, 37.6%)",green11:"hsl(153, 67.0%, 28.5%)",green12:"hsl(155, 40.0%, 14.0%)"},orange:{orange1:"hsl(24, 70.0%, 99.0%)",orange2:"hsl(24, 83.3%, 97.6%)",orange3:"hsl(24, 100%, 95.3%)",orange4:"hsl(25, 100%, 92.2%)",orange5:"hsl(25, 100%, 88.2%)",orange6:"hsl(25, 100%, 82.8%)",orange7:"hsl(24, 100%, 75.3%)",orange8:"hsl(24, 94.5%, 64.3%)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 46.5%)",orange11:"hsl(24, 100%, 37.0%)",orange12:"hsl(15, 60.0%, 17.0%)"},pink:{pink1:"hsl(322, 100%, 99.4%)",pink2:"hsl(323, 100%, 98.4%)",pink3:"hsl(323, 86.3%, 96.5%)",pink4:"hsl(323, 78.7%, 94.2%)",pink5:"hsl(323, 72.2%, 91.1%)",pink6:"hsl(323, 66.3%, 86.6%)",pink7:"hsl(323, 62.0%, 80.1%)",pink8:"hsl(323, 60.3%, 72.4%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(322, 63.9%, 50.7%)",pink11:"hsl(322, 75.0%, 46.0%)",pink12:"hsl(320, 70.0%, 13.5%)"},purple:{purple1:"hsl(280, 65.0%, 99.4%)",purple2:"hsl(276, 100%, 99.0%)",purple3:"hsl(276, 83.1%, 97.0%)",purple4:"hsl(275, 76.4%, 94.7%)",purple5:"hsl(275, 70.8%, 91.8%)",purple6:"hsl(274, 65.4%, 87.8%)",purple7:"hsl(273, 61.0%, 81.7%)",purple8:"hsl(272, 60.0%, 73.5%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(272, 46.8%, 50.3%)",purple11:"hsl(272, 50.0%, 45.8%)",purple12:"hsl(272, 66.0%, 16.0%)"},red:{red1:"hsl(359, 100%, 99.4%)",red2:"hsl(359, 100%, 98.6%)",red3:"hsl(360, 100%, 96.8%)",red4:"hsl(360, 97.9%, 94.8%)",red5:"hsl(360, 90.2%, 91.9%)",red6:"hsl(360, 81.7%, 87.8%)",red7:"hsl(359, 74.2%, 81.7%)",red8:"hsl(359, 69.5%, 74.3%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 69.4%, 55.2%)",red11:"hsl(358, 65.0%, 48.7%)",red12:"hsl(354, 50.0%, 14.6%)"},yellow:{yellow1:"hsl(60, 54.0%, 98.5%)",yellow2:"hsl(52, 100%, 95.5%)",yellow3:"hsl(55, 100%, 90.9%)",yellow4:"hsl(54, 100%, 86.6%)",yellow5:"hsl(52, 97.9%, 82.0%)",yellow6:"hsl(50, 89.4%, 76.1%)",yellow7:"hsl(47, 80.4%, 68.0%)",yellow8:"hsl(48, 100%, 46.1%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(50, 100%, 48.5%)",yellow11:"hsl(42, 100%, 29.0%)",yellow12:"hsl(40, 55.0%, 13.5%)"}},j={blue:{blue1:"hsl(212, 35.0%, 9.2%)",blue2:"hsl(216, 50.0%, 11.8%)",blue3:"hsl(214, 59.4%, 15.3%)",blue4:"hsl(214, 65.8%, 17.9%)",blue5:"hsl(213, 71.2%, 20.2%)",blue6:"hsl(212, 77.4%, 23.1%)",blue7:"hsl(211, 85.1%, 27.4%)",blue8:"hsl(211, 89.7%, 34.1%)",blue9:"hsl(206, 100%, 50.0%)",blue10:"hsl(209, 100%, 60.6%)",blue11:"hsl(210, 100%, 66.1%)",blue12:"hsl(206, 98.0%, 95.8%)"},gray:{gray1:"hsl(0, 0%, 8.5%)",gray2:"hsl(0, 0%, 11.0%)",gray3:"hsl(0, 0%, 13.6%)",gray4:"hsl(0, 0%, 15.8%)",gray5:"hsl(0, 0%, 17.9%)",gray6:"hsl(0, 0%, 20.5%)",gray7:"hsl(0, 0%, 24.3%)",gray8:"hsl(0, 0%, 31.2%)",gray9:"hsl(0, 0%, 43.9%)",gray10:"hsl(0, 0%, 49.4%)",gray11:"hsl(0, 0%, 62.8%)",gray12:"hsl(0, 0%, 93.0%)"},green:{green1:"hsl(146, 30.0%, 7.4%)",green2:"hsl(155, 44.2%, 8.4%)",green3:"hsl(155, 46.7%, 10.9%)",green4:"hsl(154, 48.4%, 12.9%)",green5:"hsl(154, 49.7%, 14.9%)",green6:"hsl(154, 50.9%, 17.6%)",green7:"hsl(153, 51.8%, 21.8%)",green8:"hsl(151, 51.7%, 28.4%)",green9:"hsl(151, 55.0%, 41.5%)",green10:"hsl(151, 49.3%, 46.5%)",green11:"hsl(151, 50.0%, 53.2%)",green12:"hsl(137, 72.0%, 94.0%)"},orange:{orange1:"hsl(30, 70.0%, 7.2%)",orange2:"hsl(28, 100%, 8.4%)",orange3:"hsl(26, 91.1%, 11.6%)",orange4:"hsl(25, 88.3%, 14.1%)",orange5:"hsl(24, 87.6%, 16.6%)",orange6:"hsl(24, 88.6%, 19.8%)",orange7:"hsl(24, 92.4%, 24.0%)",orange8:"hsl(25, 100%, 29.0%)",orange9:"hsl(24, 94.0%, 50.0%)",orange10:"hsl(24, 100%, 58.5%)",orange11:"hsl(24, 100%, 62.2%)",orange12:"hsl(24, 97.0%, 93.2%)"},pink:{pink1:"hsl(318, 25.0%, 9.6%)",pink2:"hsl(319, 32.2%, 11.6%)",pink3:"hsl(319, 41.0%, 16.0%)",pink4:"hsl(320, 45.4%, 18.7%)",pink5:"hsl(320, 49.0%, 21.1%)",pink6:"hsl(321, 53.6%, 24.4%)",pink7:"hsl(321, 61.1%, 29.7%)",pink8:"hsl(322, 74.9%, 37.5%)",pink9:"hsl(322, 65.0%, 54.5%)",pink10:"hsl(323, 72.8%, 59.2%)",pink11:"hsl(325, 90.0%, 66.4%)",pink12:"hsl(322, 90.0%, 95.8%)"},purple:{purple1:"hsl(284, 20.0%, 9.6%)",purple2:"hsl(283, 30.0%, 11.8%)",purple3:"hsl(281, 37.5%, 16.5%)",purple4:"hsl(280, 41.2%, 20.0%)",purple5:"hsl(279, 43.8%, 23.3%)",purple6:"hsl(277, 46.4%, 27.5%)",purple7:"hsl(275, 49.3%, 34.6%)",purple8:"hsl(272, 52.1%, 45.9%)",purple9:"hsl(272, 51.0%, 54.0%)",purple10:"hsl(273, 57.3%, 59.1%)",purple11:"hsl(275, 80.0%, 71.0%)",purple12:"hsl(279, 75.0%, 95.7%)"},red:{red1:"hsl(353, 23.0%, 9.8%)",red2:"hsl(357, 34.4%, 12.0%)",red3:"hsl(356, 43.4%, 16.4%)",red4:"hsl(356, 47.6%, 19.2%)",red5:"hsl(356, 51.1%, 21.9%)",red6:"hsl(356, 55.2%, 25.9%)",red7:"hsl(357, 60.2%, 31.8%)",red8:"hsl(358, 65.0%, 40.4%)",red9:"hsl(358, 75.0%, 59.0%)",red10:"hsl(358, 85.3%, 64.0%)",red11:"hsl(358, 100%, 69.5%)",red12:"hsl(351, 89.0%, 96.0%)"},yellow:{yellow1:"hsl(45, 100%, 5.5%)",yellow2:"hsl(46, 100%, 6.7%)",yellow3:"hsl(45, 100%, 8.7%)",yellow4:"hsl(45, 100%, 10.4%)",yellow5:"hsl(47, 100%, 12.1%)",yellow6:"hsl(49, 100%, 14.3%)",yellow7:"hsl(49, 90.3%, 18.4%)",yellow8:"hsl(50, 100%, 22.0%)",yellow9:"hsl(53, 92.0%, 50.0%)",yellow10:"hsl(54, 100%, 68.0%)",yellow11:"hsl(48, 100%, 47.0%)",yellow12:"hsl(53, 100%, 91.0%)"}},O="rgba(0,0,0,0.04)",T="rgba(0,0,0,0.085)",E="rgba(0,0,0,0.2)",x="rgba(0,0,0,0.3)",F={...j.blue,...j.gray,...j.green,...j.orange,...j.pink,...j.purple,...j.red,...j.yellow},R={...$.blue,...$.gray,...$.green,...$.orange,...$.pink,...$.purple,...$.red,...$.yellow},P={white0:"rgba(255,255,255,0)",white075:"rgba(255,255,255,0.75)",white05:"rgba(255,255,255,0.5)",white025:"rgba(255,255,255,0.25)",black0:"rgba(10,10,10,0)",black075:"rgba(10,10,10,0.75)",black05:"rgba(10,10,10,0.5)",black025:"rgba(10,10,10,0.25)",white1:"#fff",white2:"#f8f8f8",white3:"hsl(0, 0%, 96.3%)",white4:"hsl(0, 0%, 94.1%)",white5:"hsl(0, 0%, 92.0%)",white6:"hsl(0, 0%, 90.0%)",white7:"hsl(0, 0%, 88.5%)",white8:"hsl(0, 0%, 81.0%)",white9:"hsl(0, 0%, 56.1%)",white10:"hsl(0, 0%, 50.3%)",white11:"hsl(0, 0%, 42.5%)",white12:"hsl(0, 0%, 9.0%)",black1:"#050505",black2:"#151515",black3:"#191919",black4:"#232323",black5:"#282828",black6:"#323232",black7:"#424242",black8:"#494949",black9:"#545454",black10:"#626262",black11:"#a5a5a5",black12:"#fff",...X(R,"Light"),...X(F,"Dark")},I=(()=>{let e=(e,t=0)=>e.replace("%)",`%, ${t})`).replace("hsl(","hsla("),t=(t,r)=>{let o=Object.values(t),s=o.length-4,n=Object.values(r),l=n[0],i=n[n.length-1];return[l,e(o[0],0),e(o[0],.25),e(o[0],.5),e(o[0],.75),...o,e(o[s],.75),e(o[s],.5),e(o[s],.25),e(o[s],0),i]},r={light:P.blue4Light,dark:P.blue4Dark},o=[r.light,P.white0,P.white025,P.white05,P.white075,P.white1,P.white2,P.white3,P.white4,P.white5,P.white6,P.white7,P.white8,P.white9,P.white10,P.white11,P.white12,P.black075,P.black05,P.black025,P.black0,r.dark],s=[r.dark,P.black0,P.black025,P.black05,P.black075,P.black1,P.black2,P.black3,P.black4,P.black5,P.black6,P.black7,P.black8,P.black9,P.black10,P.black11,P.black12,P.white075,P.white05,P.white025,P.white0,r.light],n=K($),l=Y(n.map((e,r)=>[`light_${e}`,t($[e],$[n[(r+1)%n.length]])])),i=K(j),a=Y(i.map((e,r)=>[`dark_${e}`,t(j[e],$[i[(r+1)%i.length]])]));return{light:o,dark:s,...{...l,...a}}})(),M=e=>{let t="light"===e?-1:1,r=-t,o={accentBackground:0,accentColor:-0,background0:1,background025:2,background05:3,background075:4,color1:5,color2:6,color3:7,color4:8,color5:9,color6:10,color7:11,color8:12,color9:13,color10:14,color11:15,color12:16,color0:-1,color025:-2,color05:-3,color075:-4,background:5,backgroundHover:5+t,backgroundPress:5+r,backgroundFocus:5+r,borderColor:8,borderColorHover:8+t,borderColorPress:8+r,borderColorFocus:8,color:-5,colorHover:-6,colorPress:-5,colorFocus:-6,colorTransparent:-1,placeholderColor:-8,outlineColor:-2},s={background:o.background+1,backgroundHover:o.backgroundHover+1,backgroundPress:o.backgroundPress+1,backgroundFocus:o.backgroundFocus+1,borderColor:o.borderColor+1,borderColorHover:o.borderColorHover+1,borderColorFocus:o.borderColorFocus+1,borderColorPress:o.borderColorPress+1},n={background:o.background+2,backgroundHover:o.backgroundHover+2,backgroundPress:o.backgroundPress+2,backgroundFocus:o.backgroundFocus+2,borderColor:o.borderColor+2,borderColorHover:o.borderColorHover+2,borderColorFocus:o.borderColorFocus+2,borderColorPress:o.borderColorPress+2},l={background:o.background+3,backgroundHover:o.backgroundHover+3,backgroundPress:o.backgroundPress+3,backgroundFocus:o.backgroundFocus+3,borderColor:o.borderColor+3,borderColorHover:o.borderColorHover+3,borderColorFocus:o.borderColorFocus+3,borderColorPress:o.borderColorPress+3},i={background:o.background+5,backgroundHover:o.background+5,backgroundPress:o.backgroundPress+5,backgroundFocus:o.backgroundFocus+5},a={...i,borderColor:i.background,borderColorHover:i.backgroundHover,borderColorFocus:i.backgroundFocus,borderColorPress:i.backgroundPress},u={color:s.background,colorHover:s.backgroundHover,colorPress:s.backgroundPress,colorFocus:s.backgroundFocus,background:o.color,backgroundHover:o.colorHover,backgroundPress:o.colorPress,backgroundFocus:o.colorFocus,borderColor:o.color-2,borderColorHover:o.color-3,borderColorFocus:o.color-4,borderColorPress:o.color-5},h={...u,background:o.color-2,backgroundHover:o.colorHover-2,backgroundPress:o.colorPress-2,backgroundFocus:o.colorFocus-2,borderColor:o.color-2-2,borderColorHover:o.color-3-2,borderColorFocus:o.color-4-2,borderColorPress:o.color-5-2},d={color:o.color-1,colorHover:o.colorHover-1,colorPress:o.colorPress-1,colorFocus:o.colorFocus-1},c={color:o.color-2,colorHover:o.colorHover-2,colorPress:o.colorPress-2,colorFocus:o.colorFocus-2};return{base:o,alt1:d,alt2:c,surface1:s,surface2:n,surface3:l,inverseSurface1:u,inverseActive:h,surfaceActive:a}},z=M("light"),A=M("dark"),H={...Y(K(z).map(e=>[`light_${e}`,z[e]])),...Y(K(A).map(e=>[`dark_${e}`,A[e]]))},L={light:{...R,shadowColor:T,shadowColorHover:T,shadowColorPress:O,shadowColorFocus:O},dark:{...F,shadowColor:x,shadowColorHover:x,shadowColorPress:E,shadowColorFocus:E}},N=[{parent:"light",theme:{background:"rgba(0,0,0,0.5)"}},{parent:"dark",theme:{background:"rgba(0,0,0,0.8)"}}],W=[{parent:"active",template:"inverseActive"},{parent:"",template:"inverseSurface1"}],B=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface1"}],D=[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface2"}],V=new k({}).addPalettes(I).addTemplates(H).addThemes({light:{template:"base",palette:"light",nonInheritedValues:L.light},dark:{template:"base",palette:"dark",nonInheritedValues:L.dark}}).addChildThemes({orange:{palette:"orange",template:"base"},yellow:{palette:"yellow",template:"base"},green:{palette:"green",template:"base"},blue:{palette:"blue",template:"base"},purple:{palette:"purple",template:"base"},pink:{palette:"pink",template:"base"},red:{palette:"red",template:"base"},gray:{palette:"gray",template:"base"}}).addChildThemes({alt1:{template:"alt1"},alt2:{template:"alt2"},active:{template:"surface3"},surface1:{template:"surface1"},surface2:{template:"surface2"},surface3:{template:"surface3"},surface4:{template:"surfaceActive"}}).addComponentThemes({ListItem:{template:"surface1"},SelectTrigger:B,Card:B,Button:[{parent:"active",template:"surfaceActive"},{parent:"",template:"surface3"}],Checkbox:D,Switch:D,SwitchThumb:W,TooltipContent:D,Progress:{template:"surface1"},RadioGroupItem:D,TooltipArrow:{template:"surface1"},SliderTrackActive:{template:"surface3"},SliderTrack:{template:"surface1"},SliderThumb:W,Tooltip:W,ProgressIndicator:W,SheetOverlay:N,DialogOverlay:N,ModalOverlay:N,Input:B,TextArea:B},{avoidNestingWithin:["alt1","alt2","surface1","surface2","surface3","surface4"]}).build(),G={$0:0,"$0.25":2,"$0.5":4,"$0.75":8,$1:20,"$1.5":24,$2:28,"$2.5":32,$3:36,"$3.5":40,$4:44,$true:44,"$4.5":48,$5:52,$6:64,$7:74,$8:84,$9:94,$10:104,$11:124,$12:144,$13:164,$14:184,$15:204,$16:224,$17:224,$18:244,$19:264,$20:284},U=Object.entries(G).map(([e,t])=>[e,0===t?0:2===t?.5:4===t?1:8===t?1.5:t<=16?Math.round(.333*t):Math.floor(.7*t-12)]),J=U.slice(1).map(([e,t])=>[`-${e.slice(1)}`,-t]),q=(_={color:P,radius:{0:0,1:3,2:5,3:7,4:9,true:9,5:10,6:16,7:19,8:22,9:26,10:34,11:42,12:50},zIndex:{0:0,1:100,2:200,3:300,4:400,5:500},space:{...Object.fromEntries(U),...Object.fromEntries(J)},size:G},(0,C.D)(_));function X(e,t){return Object.fromEntries(Object.entries(e).map(([e,r])=>[`${e}${t}`,r]))}function Y(e){return Object.fromEntries(e)}function K(e){return Object.keys(e)}var Q=r(281),Z=r(1333),ee=r(5390),et=r(2265);let er="cubic-bezier(0.215, 0.610, 0.355, 1.000)",eo=function(e){let t=new WeakMap;return{animations:e,usePresence:ee.oO,ResetPresence:ee.il,supportsCSSVars:!0,useAnimatedNumber(e){let[r,o]=(0,et.useState)(e);return{getInstance:()=>o,getValue:()=>r,setValue(e,r,s){o(e);let n=t.get(o);n&&n.forEach(t=>t(e)),s?.()},stop(){}}},useAnimatedNumberReaction({value:e},r){(0,et.useEffect)(()=>{let o=e.getInstance(),s=t.get(o);if(!s){let e=new Set;t.set(o,e),s=e}return s.add(r),()=>{s?.delete(r)}},[])},useAnimatedNumberStyle:(e,t)=>t(e.getValue()),useAnimations:({props:t,presence:r,style:o,componentState:s,stateRef:n})=>{s.unmounted;let l=r?.[0]===!1,i=r?.[1],[a,u]=[].concat(t.animation),h=e[a],d=t.animateOnly??["all"];return(0,Q.LI)(()=>{let e=n.current.host;if(!i||!l||!e)return;let t=()=>{i?.()};return e.addEventListener("transitionend",t),e.addEventListener("transitioncancel",t),()=>{e.removeEventListener("transitionend",t),e.removeEventListener("transitioncancel",t)}},[i,l]),h?(Array.isArray(o.transform)&&(o.transform=(0,Z.m)(o.transform)),o.transition=d.map(t=>{let r=e[u?.[t]]??h;return`${t} ${r}`}).join(", "),{style:o}):null}}}({"75ms":"ease-in 75ms","100ms":"ease-in 100ms","200ms":"ease-in 200ms",bouncy:"ease-in 200ms",superBouncy:"ease-in 500ms",lazy:"ease-in 1000ms",medium:"ease-in 300ms",slow:"ease-in 500ms",quick:`${er} 400ms`,quicker:`${er} 300ms`,quickest:`${er} 200ms`,tooltip:"ease-in 400ms"}),es=["100","200","300","400","500","600","700","800","900"],en=(e,t,r)=>{if("string"==typeof e)return e;let o=Object.keys(e),s=e[o[0]];return Object.fromEntries([...new Set([...t,...o])].map(t=>{let o=e[t]??r??s;return s=o,r=o,[t,o]}))},el=e=>{let t=Object.keys(e.size);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,o])=>[r,en(o,"face"===r?es:t,"face"===r?{normal:e.family}:void 0)])))};var ei=r(2202);let ea=(e={},{sizeLineHeight:t=e=>e+10,sizeSize:r=e=>1*e}={})=>{let o=Object.fromEntries(Object.entries({...eu,...e.size}).map(([e,t])=>[e,r(+t)]));return el({family:Q.$L?'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif':"Inter",lineHeight:Object.fromEntries(Object.entries(o).map(([e,r])=>[e,t((0,ei.Ve)(r))])),weight:{4:"300"},letterSpacing:{4:0},...e,size:o})},eu={1:11,2:12,3:13,4:14,true:14,5:16,6:18,7:20,8:23,9:30,10:46,11:55,12:62,13:72,14:92,15:114,16:134},eh={1:11,2:12,3:13,4:14,5:15,6:16,7:18,8:21,9:28,10:42,11:52,12:62,13:72,14:92,15:114,16:124},ed={1:10,2:11,3:12,4:14,5:15,6:16,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124},ec=((e={})=>el({family:Q.$L?"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace":"Silkscreen",size:eh,lineHeight:Object.fromEntries(Object.entries(e.size||eh).map(([e,t])=>[e,"number"==typeof t?Math.round(1.2*t+6):t])),weight:{4:"300"},letterSpacing:{4:1,5:3,6:3,9:-2,10:-3,12:-4},...e}))(),ef=ea({size:{5:13,6:15,9:32,10:44},transform:{6:"uppercase",7:"none"},weight:{6:"400",7:"700"},color:{6:"$colorFocus",7:"$color"},letterSpacing:{5:2,6:1,7:0,8:0,9:-1,10:-1.5,12:-2,14:-3,15:-4},face:{700:{normal:"InterBold"},800:{normal:"InterBold"},900:{normal:"InterBold"}}},{sizeLineHeight:e=>Math.round(1.1*e+(e<30?10:5))}),em=ea({weight:{1:"400",7:"600"}},{sizeSize:e=>Math.round(e),sizeLineHeight:e=>Math.round(1.1*e+(e>=12?8:4))}),ep=function(e,t={},{sizeLineHeight:r=e=>1.35*e}={}){let o=t.size||ed;return el({family:e,size:o,lineHeight:Object.fromEntries(Object.entries(o).map(([e,t])=>[e,r(+t)])),weight:{0:"300"},letterSpacing:{4:0},...t})}('"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',{weight:{1:"500"},size:{1:11,2:12,3:13,4:14,5:16,6:18,7:20,8:22,9:30,10:42,11:52,12:62,13:72,14:92,15:114,16:124}},{sizeLineHeight:e=>1.5*e});var eg=r(9533);let eb=globalThis.matchMedia,ev=(S={xl:{maxWidth:1650},lg:{maxWidth:1280},md:{maxWidth:1020},sm:{maxWidth:800},xs:{maxWidth:660},xxs:{maxWidth:390},gtXs:{minWidth:661},gtSm:{minWidth:801},gtMd:{minWidth:1021},gtLg:{minWidth:1281},gtXl:{minWidth:1651}},(0,eg.D)(eb),S);var ey=r(357);globalThis.global||=globalThis;let ek={animations:eo,defaultFont:"body",shouldAddPrefersColorThemes:!0,themeClassNameOnRoot:!0,themes:"true"===ey.env.TAMAGUI_OPTIMIZE_THEMES?{}:V,media:ev,shorthands:o,tokens:q,fonts:{heading:ef,body:em,mono:ep,silkscreen:ec},mediaQueryDefaultActive:{xl:!0,lg:!0,md:!0,sm:!0,xs:!0,xxs:!1},selectionStyles:e=>e.color5?{backgroundColor:e.color5,color:e.color11}:null}},7104:function(e,t,r){"use strict";r.d(t,{D:function(){return l}});var o=r(8338),s=r(2202);let n=new WeakMap,l=(e,t="",r=!1)=>{if(n.has(e))return e;let i={},a=0;for(let n in e){a++;let u=e[n],h="$"===n[0],d=h?n:`$${n}`,c=h?d.slice(1):n;if((0,s.cG)(u)){i[c]=u;continue}let f=(0,o.M)(c),m=r?f.slice(0,2):a;if(m=t?`${t}-${m}`:f,u&&"object"==typeof u){i[c]=l(e[c],m,!1);continue}let p=(0,s.cG)(u)?u:(0,s.Os)({val:u,name:m,key:d});i[c]=p}return n.set(i,!0),i}},3742:function(e,t,r){"use strict";r.d(t,{KO:function(){return u}});var o=r(2265),s=r(9910);let n=(0,o.createContext)(void 0),l=e=>{let t=(0,o.useContext)(n);return(null==e?void 0:e.store)||t||(0,s.K7)()},i=e=>"function"==typeof(null==e?void 0:e.then),a=o.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e});function u(e,t){return[function(e,t){let r=l(t),[[s,n,u],h]=(0,o.useReducer)(t=>{let o=r.get(e);return Object.is(t[0],o)&&t[1]===r&&t[2]===e?t:[o,r,e]},void 0,()=>[r.get(e),r,e]),d=s;(n!==r||u!==e)&&(h(),d=r.get(e));let c=null==t?void 0:t.delay;return(0,o.useEffect)(()=>{let t=r.sub(e,()=>{if("number"==typeof c){setTimeout(h,c);return}h()});return h(),t},[r,e,c]),(0,o.useDebugValue)(d),i(d)?a(d):d}(e,t),function(e,t){let r=l(t);return(0,o.useCallback)(function(){for(var t=arguments.length,o=Array(t),s=0;s<t;s++)o[s]=arguments[s];if(!("write"in e))throw Error("not writable atom");return r.set(e,...o)},[r,e])}(e,t)]}},9910:function(e,t,r){"use strict";let o;r.d(t,{K7:function(){return S},cn:function(){return n}});let s=0;function n(e,t){let r=`atom${++s}`,o={toString:()=>r};return"function"==typeof e?o.read=e:(o.init=e,o.read=l,o.write=i),t&&(o.write=t),o}function l(e){return e(this)}function i(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}let a=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,u=e=>"init"in e,h=e=>!!e.write,d=new WeakMap,c=(e,t)=>{d.set(e,t),e.catch(()=>{}).finally(()=>d.delete(e))},f=(e,t)=>{let r=d.get(e);r&&(d.delete(e),r(t))},m=(e,t)=>{e.status="fulfilled",e.value=t},p=(e,t)=>{e.status="rejected",e.reason=t},g=e=>"function"==typeof(null==e?void 0:e.then),b=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),v=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),y=e=>!!e&&"v"in e&&e.v instanceof Promise,k=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,w=e=>{if("e"in e)throw e.e;return e.v},_=()=>{let e,t;let r=new WeakMap,o=new WeakMap,s=[],n=new WeakMap;e=new Set,t=new Set;let l=e=>r.get(e),i=(e,t)=>{t.d.forEach((t,r)=>{if(!n.has(r)){let e=l(r);n.set(r,[e,new Set]),e&&i(r,e)}n.get(r)[1].add(e)})},d=(e,t)=>{var o;Object.freeze(t);let a=l(e);if(r.set(e,t),null==(o=s[s.length-1])||o.add(e),n.has(e)||(n.set(e,[a,new Set]),i(e,t)),y(a)){let e="v"in t?t.v instanceof Promise?t.v:Promise.resolve(t.v):Promise.reject(t.e);a.v!==e&&f(a.v,e)}},_=(e,t,r,o)=>{let s=new Map(o?t.d:null),n=!1;r.forEach((r,o)=>{!r&&a(e,o)&&(r=t),r?(s.set(o,r),t.d.get(o)!==r&&(n=!0)):console.warn("[Bug] atom state not found")}),(n||t.d.size!==s.size)&&(t.d=s)},S=(e,t,r,o)=>{let s=l(e),n={d:(null==s?void 0:s.d)||new Map,v:t};if(r&&_(e,n,r,o),b(s,n)&&s.d===n.d)return s;if(y(s)&&y(n)&&k(s,n)){if(s.d===n.d)return s;n.v=s.v}return d(e,n),n},C=(e,t,r,s)=>{if(g(t)){let n;let i=()=>{let t=l(e);if(!y(t)||t.v!==a)return;let s=S(e,a,r);o.has(e)&&t.d!==s.d&&P(e,s,t.d)},a=new Promise((e,r)=>{let o=!1;t.then(t=>{o||(o=!0,m(a,t),e(t),i())},e=>{o||(o=!0,p(a,e),r(e),i())}),n=t=>{o||(o=!0,t.then(e=>m(a,e),e=>p(a,e)),e(t))}});return a.orig=t,a.status="pending",c(a,e=>{e&&n(e),null==s||s()}),S(e,a,r,!0)}return S(e,t,r)},$=(e,t,r)=>{let o=l(e),s={d:(null==o?void 0:o.d)||new Map,e:t};return(r&&_(e,s,r),v(o,s)&&o.d===s.d)?o:(d(e,s),s)},j=(e,t)=>{let r,s;let n=l(e);if(!(null==t?void 0:t(e))&&n&&(o.has(e)||Array.from(n.d).every(([r,o])=>{if(r===e)return!0;let s=j(r,t);return s===o||b(s,o)})))return n;let i=new Map,d=!0;try{let o=e.read(r=>{if(a(e,r)){let e=l(r);if(e)return i.set(r,e),w(e);if(u(r))return i.set(r,void 0),r.init;throw Error("no atom init")}let o=j(r,t);return i.set(r,o),w(o)},{get signal(){return r||(r=new AbortController),r.signal},get setSelf(){return h(e)||console.warn("setSelf function cannot be used with read-only atom"),!s&&h(e)&&(s=(...t)=>{if(d&&console.warn("setSelf function cannot be called in sync"),!d)return E(e,...t)}),s}});return C(e,o,i,()=>null==r?void 0:r.abort())}catch(t){return $(e,t,i)}finally{d=!1}},O=e=>{let t=e=>{var t,r;let s=new Set(null==(t=o.get(e))?void 0:t.t);return null==(r=n.get(e))||r[1].forEach(e=>{s.add(e)}),s},r=[],s=new Set,a=e=>{if(!s.has(e)){for(let r of(s.add(e),t(e)))e!==r&&a(r);r.push(e)}};a(e);let u=new Set([e]),h=e=>s.has(e);for(let e=r.length-1;e>=0;--e){let t=r[e],o=l(t);if(!o)continue;let n=!1;for(let e of o.d.keys())if(e!==t&&u.has(e)){n=!0;break}if(n){let e=j(t,h);i(t,e),b(o,e)||u.add(t)}s.delete(t)}},T=(t,...r)=>t.write(e=>w(j(e)),(r,...o)=>{let n;let i=s.length>0;if(i||s.push(new Set([r])),a(t,r)){if(!u(r))throw Error("atom not writable");b(l(r),C(r,o[0]))||O(r)}else n=T(r,...o);if(!i){let t=I(s.pop());e.forEach(e=>e({type:"async-write",flushed:t}))}return n},...r),E=(t,...r)=>{s.push(new Set([t]));let o=T(t,...r),n=I(s.pop());return e.forEach(e=>e({type:"write",flushed:n})),o},x=(e,r,s)=>{var n;let i=o.get(e);if(i)return r&&i.t.add(r),i;let a=s||[];null==(n=l(e))||n.d.forEach((t,r)=>{r!==e&&x(r,e,a)}),j(e);let u={t:new Set(r&&[r]),l:new Set};if(o.set(e,u),t.add(e),h(e)&&e.onMount){let{onMount:t}=e;a.push(()=>{let r=t((...t)=>E(e,...t));r&&(u.u=r)})}return s||a.forEach(e=>e()),u},F=(e,t)=>!t.l.size&&(!t.t.size||1===t.t.size&&t.t.has(e)),R=(e,r)=>{if(!F(e,r))return;let s=r.u;s&&s(),o.delete(e),t.delete(e);let n=l(e);n?(y(n)&&f(n.v),n.d.forEach((t,r)=>{if(r!==e){let t=o.get(r);t&&(t.t.delete(e),R(r,t))}})):console.warn("[Bug] could not find atom state to unmount",e)},P=(e,t,r)=>{let s=new Set(t.d.keys()),n=new Set;null==r||r.forEach((t,r)=>{if(s.has(r)){s.delete(r);return}n.add(r);let l=o.get(r);l&&l.t.delete(e)}),s.forEach(t=>{x(t,e)}),n.forEach(e=>{let t=o.get(e);t&&R(e,t)})},I=e=>{let t;t=new Set;let r=[],s=e=>{var t;if(!n.has(e))return;let[o,i]=n.get(e);n.delete(e),r.push([e,o]),i.forEach(s),null==(t=l(e))||t.d.forEach((e,t)=>s(t))};return e.forEach(s),r.forEach(([e,r])=>{let s=l(e);if(!s){console.warn("[Bug] no atom state to flush");return}if(s!==r){let n=o.get(e);n&&s.d!==(null==r?void 0:r.d)&&P(e,s,null==r?void 0:r.d),n&&!(!y(r)&&(b(r,s)||v(r,s)))&&(n.l.forEach(e=>e()),t.add(e))}}),t};return{get:e=>w(j(e)),set:E,sub:(t,r)=>{let o=x(t),s=I([t]),n=o.l;return n.add(r),e.forEach(e=>e({type:"sub",flushed:s})),()=>{n.delete(r),R(t,o),e.forEach(e=>e({type:"unsub"}))}},dev_subscribe_store:t=>(e.add(t),()=>{e.delete(t)}),dev_get_mounted_atoms:()=>t.values(),dev_get_atom_state:e=>r.get(e),dev_get_mounted:e=>o.get(e),dev_restore_atoms:t=>{for(let[e,r]of(s.push(new Set),t))u(e)&&(C(e,r),O(e));let r=I(s.pop());e.forEach(e=>e({type:"restore",flushed:r}))}}};Symbol("CONTINUE_PROMISE");let S=()=>(o||(o=_(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=o),globalThis.__JOTAI_DEFAULT_STORE__!==o&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),o)},1564:function(e,t,r){"use strict";r.d(t,{_:function(){return w}});var o=r(281),s=r(5986),n=r(7104),l=r(8338),i=r(9242),a=r(2202),u=r(357);let h=e=>{c.set((0,a.Ve)(e),e)},d=(e,t=!1)=>`--${u.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,a.bK)(e.name,!1)}:${t||"number"!=typeof e.val?e.val:`${e.val}px`}`,c=new Map;var f=r(357);let m=".t_dark",p=".t_light",g=e=>e===m||e===p||e.startsWith(".t_dark ")||e.startsWith(".t_light ");var b=r(7393);let v={};var y=r(9097);let k=new WeakMap,w=function(e){let t;if(k.has(e))return e;let r={},u=(0,n.D)(e.tokens||{});if(e.tokens){let e={};for(let t in u){r[t]={},e[t]={};let o=u[t];for(let s in o){let n=o[s],l=`$${s}`;r[t][l]=n,e[t][l]=n,e[t][s]=n}}(0,s.d0)(e)}if(e.themes){let o=0===Object.keys(e.themes).length;t=(0,b.jc)(o,r)}(0,b.OJ)();let w=null,_;if(e.fonts){let t=Object.fromEntries(Object.entries(e.fonts).map(([e,t])=>[e,(0,n.D)(t,"f",!0)]));_=(()=>{let e={};for(let r in t){let o=function(e){let t={};for(let r in e){let o=e[r];if("family"===r||"face"===r)t[r]=o;else for(let e in t[r]={},o){let s=o[e];s.val?.[0]==="$"&&(s=s.val),t[r][`$${e}`]=s}}return t}(t[r]);e[`$${r}`]=o,!w&&o.size&&(w=new Set(Object.keys(o.size)))}return e})()}let S={},C=(()=>{let r=[],n=[],b={};for(let e in u)for(let t in u[e]){let r=u[e][t];S[`$${e}.${t}`]=r,o.$L&&(h(r),n.push(d(r,"zIndex"===e)))}if(o.$L){let t=function(e,t=""){return`:root${t} {${o}${[...e].join(`;${o}`)}${o}}`};for(let e in _){let t=_[e],[r,o]=e.includes("_")?e.split("_"):[e],s=function(e){let t=[];for(let r in e)if("face"!==r){if("family"===r){let o=e[r];h(o),t.push(d(o))}else for(let o in e[r])if("string"!=typeof e[r][o]){let s=e[r][o];h(s),t.push(d(s))}}return t}(t);b[e]={name:r.slice(1),declarations:s,language:o}}let o=e.cssStyleSeparator||"";if(r.push(t(n)),b)for(let e in b){let{name:o,declarations:s,language:n="default"}=b[e],l=`.font_${o}`,i=`:root .t_lang-${o}-${n} ${l}`,a=t(s,"default"===n?` ${l}, ${i}`:i);r.push(a)}}let y={...e.themes},k=t??function(e){let t=[],r=new Map;for(let o in e){let s=o.startsWith("dark")?"dark":o.startsWith("light")?"light":"",n=e[o],l=s+JSON.stringify(n);if(r.has(l)){r.get(l).names.push(o);continue}let i={...n};for(let e in i)!function(e,t){let r=e[t];(0,a.cG)(r)?r.name!==t&&(e[t]=(0,a.Os)({key:r.name,name:t,val:r.val})):e[t]=(0,a.Os)({key:t,name:t,val:r})}(i,e);let u={names:[o],theme:i};t.push(u),r.set(l,u)}return t}(y);return{themes:function(e){for(let{names:t,theme:r}of e)for(let e of t)v[e]=r;let t={};for(let{names:r,theme:o}of e)for(let e of r){let r=function(e,t){let r=[],o=e.split("_").slice(0,-1).map(e=>(r.push(e),r.join("_"))),n=o.length;return new Proxy(t,{get(e,t){if(!t||"undefined"==t||Reflect.has(e,t))return Reflect.get(e,t);for(let e=n-1;e>=0;e--){let r=v[o[e]];if(r&&Reflect.has(r,t))return Reflect.get(r,t)}return(0,s.p_)(t)}})}(e,o);t[e]=r}return t}(k),cssRuleSets:r,getThemeRulesSets(){let t=[];if(o.$L)for(let{names:r,theme:o}of k)t=[...t,...function(e){let t=[];if(!f.env.TAMAGUI_DOES_SSR_CSS||"mutates-themes"===f.env.TAMAGUI_DOES_SSR_CSS||"false"===f.env.TAMAGUI_DOES_SSR_CSS){let{config:r,themeName:o,theme:s,names:n}=e,u=e.hasDarkLight??(r.themes&&("light"in r.themes||"dark"in r.themes)),h=`.${i.nx}`,d="";for(let e in s){let t=s[e],r=null;r=c.has(t.val)?c.get(t.val).variable:t.val,d+=`--${f.env.TAMAGUI_CSS_VARIABLE_PREFIX||""}${(0,l.M)(e,40)}:${r};`}let b="dark"===o,v="light"===o,y=n.map(e=>`${h}${e}`),k=new Set(b||v?y:[]);if(u){let e=r.maxDarkLightNesting??3;for(let t of n){let r=b||t.startsWith("dark_"),o=!r&&(v||t.startsWith("light_"));if(!(r||o)){k.add(`${h}${t}`);continue}let s=`${h}${t.replace(/^(dark|light)_/,"")}`,[n,l]=r?["dark","light"]:["light","dark"],i=Math.round(1.5*e);for(let e=0;e<i;e++){let t=e%2==1;if(t&&e<3)continue;let r=Array(e+1).fill(0).map((e,t)=>`${h}${t%2==0?n:l}`),o=r.length>1?r.slice(1):r;if(t){let[e,t,...r]=o;o=[t,...r,t]}let i=s===o[o.length-1]?"":s;k.add(`${o.join(" ")} ${i}`.trim())}}}let w=[...k].sort((e,t)=>e.localeCompare(t)),_=`${w.map(e=>`:root${g(e)&&r.themeClassNameOnRoot?"":" "}${e}`).join(", ")} {${d}}`;if(t.push(_),r.shouldAddPrefersColorThemes){let e=s.background?`background:${(0,a.lk)(s.background)};`:"",r=s.color?`color:${(0,a.lk)(s.color)}`:"",n=`body{${e}${r}}`,l=o.startsWith("dark"),i=`${w.map(e=>e==m||e===p?":root":l&&e.startsWith(p)||!l&&e.startsWith(m)?void 0:e.replace(/^\.t_(dark|light) /,"").trim()).filter(Boolean).join(", ")} {${d}}`,u=`@media(prefers-color-scheme:${l?"dark":"light"}){
|
2 |
+
${n}
|
3 |
+
${i}
|
4 |
+
}`;t.push(u)}if(r.selectionStyles){let e=r.selectionStyles(s);if(e){let r=y.map(e=>`${e} ::selection`).join(", "),o=Object.entries(e).flatMap(([e,t])=>t?`${"backgroundColor"===e?"background":e}:${(0,a.lk)(t)}`:[]).join(";");if(o){let e=`${r}{${o}}`;t.push(e)}}}}return t}({config:e,themeName:r[0],names:r,theme:o})];return t}}})(),$=e.shorthands||{},j=-1,O=(e={})=>{let{separator:t=`
|
5 |
+
`,sinceLastCall:r,exclude:o}=e;if(r&&j>=0){let e=(0,b.UY)();return j=e.length,e.slice(j).join(t)}j=0;let s=(0,b.UY)().join(t);return"design-system"===o?s:`._ovs-contain {overscroll-behavior:contain;}
|
6 |
+
.is_Text .is_Text {display:inline-flex;}
|
7 |
+
._dsp_contents {display:contents;}
|
8 |
+
${C.cssRuleSets.join(t)}
|
9 |
+
${o?"":C.getThemeRulesSets().join(t)}
|
10 |
+
${s}`},T=e.defaultFont||e.fonts&&("body"in e.fonts?"body":"");!T&&e.fonts&&(T=Object.keys(e.fonts)[0]),T?.[0]==="$"&&(T=T.slice(1));let E=`$${T}`,x={fonts:{},onlyAllowShorthands:!1,fontLanguages:[],animations:{},media:{},...e,unset:{fontFamily:e.defaultFont?E:void 0,...e.unset},settings:{webContainerType:"inline-size",...e.settings},tokens:u,shorthands:$,inverseShorthands:$?Object.fromEntries(Object.entries($).map(([e,t])=>[t,e])):{},themes:C.themes,fontsParsed:_||{},themeConfig:C,tokensParsed:r,parsed:!0,getNewCSS:e=>O({...e,sinceLastCall:!0}),getCSS:O,defaultFont:E,fontSizeTokens:w||new Set,specificTokens:S};return(0,y.jl)(x),(0,s.v6)(x),k.set(x,!0),s.zG.size&&(s.zG.forEach(e=>e(x)),s.zG.clear()),x}},6608:function(e,t,r){"use strict";r.d(t,{r:function(){return m}});var o=r(281),s=r(2265),n=r(7562),l=r(9097),i=r(9242),a=r(1130),u=r(2281);let h=e=>(o.C5&&(0,s.useLayoutEffect)(()=>{if(e.disableRootThemeClass)return;let t=`${i.nx}${e.defaultTheme}`,r=e.themeClassNameOnRoot?document.documentElement:document.body;return r.classList.add(t),()=>{r.classList.remove(t)}},[e.defaultTheme,e.disableRootThemeClass,e.themeClassNameOnRoot]),(0,u.jsx)(a.Q,{className:e.className,name:e.defaultTheme,forceClassName:!e.disableRootThemeClass,_isRoot:!0,children:e.children}));var d=r(6962);function c({children:e,disableInjectCSS:t,config:r,...i}){return(0,l.yL)(),o.C5&&((0,d.U)(),s.useInsertionEffect(()=>{if(r&&(r.disableSSR||document.documentElement.classList.contains("t_unmounted")&&document.documentElement.classList.remove("t_unmounted"),!t)){let e=document.createElement("style");return e.appendChild(document.createTextNode(r.getCSS())),document.head.appendChild(e),()=>{document.head.removeChild(e)}}},[r,t])),(0,u.jsx)(n.s.Provider,{animationDriver:r?.animations,children:(0,u.jsx)(h,{themeClassNameOnRoot:r?.themeClassNameOnRoot,disableRootThemeClass:r?.disableRootThemeClass,...i,defaultTheme:i.defaultTheme??(r?Object.keys(r.themes)[0]:""),children:e})})}c.displayName="TamaguiProvider";var f=r(4624);let m=({children:e,...t})=>(0,u.jsx)(c,{...t,children:(0,u.jsx)(f.Xp,{shouldAddRootHost:!0,children:e})})}}]);
|
_next/static/chunks/853-9e79209ace0b06cf.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/876-318ea795d18aa12d.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{6855:function(e,t,n){n.d(t,{u:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsxs)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:[(0,a.jsx)(o.UL,{width:"20",height:"14",x:"2",y:"3",rx:"2",stroke:t}),(0,a.jsx)(o.x1,{x1:"8",x2:"16",y1:"21",y2:"21",stroke:t}),(0,a.jsx)(o.x1,{x1:"12",x2:"12",y1:"17",y2:"21",stroke:t})]})};l.displayName="Monitor";let s=(0,r.memo)((0,i.H)(l))},2890:function(e,t,n){n.d(t,{J:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsx)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:(0,a.jsx)(o.y$,{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",stroke:t})})};l.displayName="Moon";let s=(0,r.memo)((0,i.H)(l))},896:function(e,t,n){n.d(t,{k:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsxs)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:[(0,a.jsx)(o.Cd,{cx:"12",cy:"12",r:"4",stroke:t}),(0,a.jsx)(o.y$,{d:"M12 2v2",stroke:t}),(0,a.jsx)(o.y$,{d:"M12 20v2",stroke:t}),(0,a.jsx)(o.y$,{d:"m4.93 4.93 1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"m17.66 17.66 1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"M2 12h2",stroke:t}),(0,a.jsx)(o.y$,{d:"M20 12h2",stroke:t}),(0,a.jsx)(o.y$,{d:"m6.34 17.66-1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"m19.07 4.93-1.41 1.41",stroke:t})]})};l.displayName="Sun";let s=(0,r.memo)((0,i.H)(l))},7138:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(231),o=n.n(r)},844:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}}),n(8157);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e};("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)},5944:function(e,t,n){function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(8157),("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)},231:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(9920),o=n(2281),i=r._(n(2265)),a=n(8016),l=n(8029),s=n(1142),u=n(3461),c=n(844),f=n(291),d=n(4467),p=n(3106),h=n(5944),m=n(4897),g=n(1507),y=new Set;function b(e,t,n,r,o,i){if("undefined"!=typeof window&&(i||(0,l.isLocalURL)(t))){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(y.has(o))return;y.add(o)}(async()=>i?e.prefetch(t,o):e.prefetch(t,n,r))().catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let x=i.default.forwardRef(function(e,t){let n,r;let{href:s,as:y,children:x,prefetch:j=null,passHref:P,replace:w,shallow:R,scroll:_,locale:k,onClick:C,onMouseEnter:O,onTouchStart:S,legacyBehavior:E=!1,...A}=e;n=x,E&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let M=i.default.useContext(f.RouterContext),L=i.default.useContext(d.AppRouterContext),I=null!=M?M:L,N=!M,T=!1!==j,z=null===j?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:U,as:$}=i.default.useMemo(()=>{if(!M){let e=v(s);return{href:e,as:y?v(y):e}}let[e,t]=(0,a.resolveHref)(M,s,!0);return{href:e,as:y?(0,a.resolveHref)(M,y):t||e}},[M,s,y]),W=i.default.useRef(U),F=i.default.useRef($);E&&(r=i.default.Children.only(n));let D=E?r&&"object"==typeof r&&r.ref:t,[Z,B,H]=(0,p.useIntersection)({rootMargin:"200px"}),K=i.default.useCallback(e=>{(F.current!==$||W.current!==U)&&(H(),F.current=$,W.current=U),Z(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[$,D,U,H,Z]);i.default.useEffect(()=>{I&&B&&T&&b(I,U,$,{locale:k},{kind:z},N)},[$,U,B,k,T,null==M?void 0:M.locale,I,N,z]);let V={ref:K,onClick(e){E||"function"!=typeof C||C(e),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),I&&!e.defaultPrevented&&function(e,t,n,r,o,a,s,u,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==s||s;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(d):d()}(e,I,U,$,w,R,_,k,N)},onMouseEnter(e){E||"function"!=typeof O||O(e),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),I&&(T||!N)&&b(I,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:z},N)},onTouchStart:function(e){E||"function"!=typeof S||S(e),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),I&&(T||!N)&&b(I,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:z},N)}};if((0,u.isAbsoluteUrl)($))V.href=$;else if(!E||P||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,h.getDomainLocale)($,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);V.href=t||(0,m.addBasePath)((0,c.addLocale)($,e,null==M?void 0:M.defaultLocale))}return E?i.default.cloneElement(r,V):(0,o.jsx)("a",{...A,...V,children:n})});("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)},9189:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},8016:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let r=n(8323),o=n(1142),i=n(5519),a=n(3461),l=n(8157),s=n(8029),u=n(9195),c=n(20);function f(e,t,n){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,s.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,l)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[d]:d}}("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)},3106:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(2265),o=n(9189),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,u=s||!i,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(u||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{f(!1)},[])]}("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)},1943:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},291:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(9920)._(n(2265)).default.createContext(null)},1142:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return l},urlObjectKeys:function(){return a}});let r=n(1452)._(n(8323)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(r.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+i+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return i(e)}},9195:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(9089),o=n(8083)},20:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=n(1533),o=n(3169);function i(e,t,n){let i="",a=(0,o.getRouteRegex)(e),l=a.groups,s=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:n,optional:r}=l[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(i=i.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},8083:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=n(2269),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},8029:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(3461),o=n(9404);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},5519:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},8323:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},1533:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(3461);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map(e=>i(e)):t.repeat?[i(r)]:i(r))}),a}}},3169:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return s}});let r=n(2269),o=n(1943),i=n(7741);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},l=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:r,repeat:s}=a(i[1]);return n[e]={pos:l++,repeat:s,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:l++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function s(e){let{parameterizedRoute:t,groups:n}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function u(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:i,keyPrefix:l}=e,{key:s,optional:u,repeat:c}=a(r),f=s.replace(/\W/g,"");l&&(f=""+l+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=n()),l?i[f]=""+l+s:i[f]=s;let p=t?(0,o.escapeStringRegexp)(t):"";return c?u?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let n;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:a.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&i){let[n]=e.split(i[0]);return u({getSafeRouteKey:l,interceptionMarker:n,segment:i[1],routeKeys:s,keyPrefix:t?"nxtI":void 0})}return i?u({getSafeRouteKey:l,segment:i[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function f(e,t){let n=c(e,t);return{...s(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){let{parameterizedRoute:n}=l(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},9089:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),a=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),a=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function i(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},3461:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return s},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return i},isResSent:function(){return u},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r)throw Error('"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},391:function(e,t,n){n.d(t,{H1:function(){return a}});var r=n(4975),o=n(1217);let i=(0,r.z)(o.n,{tag:"span",name:"Heading",accessibilityRole:"header",fontFamily:"$heading",size:"$8",margin:0}),a=(0,r.z)(i,{name:"H1",tag:"h1",size:"$10"});(0,r.z)(i,{name:"H2",tag:"h2",size:"$9"}),(0,r.z)(i,{name:"H3",tag:"h3",size:"$8"}),(0,r.z)(i,{name:"H4",tag:"h4",size:"$7"}),(0,r.z)(i,{name:"H5",tag:"h5",size:"$6"}),(0,r.z)(i,{name:"H6",tag:"h6",size:"$5"})},1170:function(e,t,n){n.d(t,{u:function(){return eA}}),n(7961);var r=n(4243),o=n(9087),i=n(4674),a=n(2265);let l=(0,a.createContext)(null),s=e=>(a.useContext(l)||i.YF)?.(e);var u=n(6748),c=n(8338),f=n(3370),d=n(5794),p=n(126),h=n(2281);function m({children:e,type:t,...n}){return"presence"===t?n.keepChildrenMounted?(0,h.jsx)(d.g,{initial:!!n.initial&&void 0,onExitComplete:n.onExitComplete,enterVariant:n.enterVariant,exitVariant:n.exitVariant,enterExitVariant:n.enterExitVariant,presenceAffectsLayout:!1,isPresent:n.present,custom:n.custom,children:e}):(0,h.jsx)(p.M,{...n,children:n.present?e:null}):(0,h.jsx)(h.Fragment,{children:e})}var g=n(5390),y=new WeakMap,b=new WeakMap,v={},x=0,j=function(e){return e&&(e.host||j(e.parentNode))},P=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=j(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});v[n]||(v[n]=new WeakMap);var i=v[n],a=[],l=new Set,s=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(y.get(e)||0)+1,u=(i.get(e)||0)+1;y.set(e,s),i.set(e,u),a.push(e),1===s&&o&&b.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),l.clear(),x++,function(){a.forEach(function(e){var t=y.get(e)-1,o=i.get(e)-1;y.set(e,t),i.set(e,o),t||(b.has(e)||e.removeAttribute(r),b.delete(e)),o||e.removeAttribute(n)}),--x||(y=new WeakMap,y=new WeakMap,b=new WeakMap,v={})}},w=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),P(r,o,n,"aria-hidden")):function(){return null}},R=n(9046),_=n(281),k=n(925),C=n(2166),O=n(4582),S=n(1130),E=n(3820),A=n(9097),M=n(9018),L=n(6616),I=n(4975),N=n(1386),T=n(2202),z=n(5377),U=n(1092),$=n(1090),W=n(1775),F=n(357);let D=(0,k.i)({}),{useStyledContext:Z,Provider:B}=D,H=void 0,K={};function V(e){let{children:t,size:n,strategy:r="absolute",placement:o="bottom",stayInFrame:l,allowFlip:u,offset:c,disableRTL:f,__scopePopper:d}=e,p=(0,L.SZ)(),[m,g]=a.useState(null),[y,b]=a.useState(0),v=c??y,x=s({strategy:r,placement:o,sameScrollView:!1,platform:f??K.disableRTL?{...i.Jv,isRTL:e=>!1}:i.Jv,middleware:[l?(0,i.uY)("boolean"==typeof l?{}:l):null,u?(0,i.RR)("boolean"==typeof u?{}:u):null,m?(0,i.x7)({element:m}):null,"u">typeof v?(0,i.cv)(v):null,H].filter(Boolean)}),{refs:j,middlewareData:P,open:w}=x;if(_.$L)(0,_.LI)(()=>{if(w&&j.reference.current&&j.floating.current)return(0,i.Me)(j.reference.current,j.floating.current,x.update)},[w,x.update,j.floating,j.reference]);else{var R,k,C;let e=(k=(R=(0,a.useState)(()=>$.Z.get("window")))[0],C=R[1],(0,a.useEffect)(()=>{function e(e){var t=e.window;null!=t&&C(t)}return $.Z.addEventListener("change",e),C($.Z.get("window")),()=>{$.Z.removeEventListener("change",e)}},[]),k),[t,n]=a.useState(!1);a.useEffect(()=>{let e=W.Z.addListener("keyboardDidShow",()=>{a.startTransition(()=>{n(!0)})}),t=W.Z.addListener("keyboardDidHide",()=>{a.startTransition(()=>{n(!1)})});return()=>{e.remove(),t.remove()}},[]),(0,_.LI)(()=>{x.update()},[e,t])}let O={size:n,arrowRef:g,arrowStyle:P.arrow,onArrowSize:b,isMounted:p,scope:d,hasFloating:P.checkFloating?.hasFloating,...x};return(0,h.jsx)(B,{...O,children:t})}let q=z.FA.extractable(a.forwardRef(function(e,t){let{virtualRef:n,__scopePopper:r,...o}=e,{getReferenceProps:i,refs:l}=Z(r),s=a.useRef(null),u=(0,R.ex)(t,s,l.setReference);if(a.useEffect(()=>{n&&l.setReference(n.current)},[n]),n)return null;let c={ref:u,...o};return(0,h.jsx)(C.G7,{...i?i(c):c})})),Y=(0,I.z)(U.K,{name:"PopperContent",variants:{unstyled:{false:{size:"$true",backgroundColor:"$background",alignItems:"center",radiused:!0}},size:{"...size":(e,{tokens:t})=>({padding:t.space[e],borderRadius:t.radius[e]})}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),Q=a.forwardRef(function(e,t){let{__scopePopper:n,enableAnimationForPositionChange:r,...o}=e,{strategy:i,placement:l,refs:s,x:u,y:c,getFloatingProps:f,size:d,isMounted:p,update:m,floatingStyles:g,hasFloating:y}=Z(n),b=(0,R.ex)(s.setFloating,t),v=!1;if(_.Dt){let e=a.useRef(!0),t=a.useRef(!1);!1===y&&(e.current=!1),e.current||(t.current=y),v=t.current}let x=a.useMemo(()=>(0,h.jsx)(Y,{"data-placement":l,"data-strategy":i,contain:"layout",size:d,...o},"popper-content-frame"),[l,i,e]),[j,P]=a.useState(!0);a.useEffect(()=>{(u||c)&&P(!1)},[u,c]),(0,_.LI)(()=>{p&&m()},[p]);let w=!0;if(_.Dt){let[e,t]=a.useState(!1);w=e,a.useEffect(()=>{v&&t(!0)},[v,u,c])}if(!p)return null;let k={ref:b,x:u||0,y:c||0,top:0,left:0,position:i,opacity:w?1:0,...r&&{animation:o.animation,animateOnly:j?["none"]:o.animateOnly,animatePresence:!1}};return(0,h.jsx)(C.Kq,{...f?f(k):k,children:x})}),G=(0,I.z)(z.FA,{name:"PopperArrow",variants:{unstyled:{false:{borderColor:"$borderColor",backgroundColor:"$background",position:"relative"}}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),J=(0,I.z)(z.FA,{name:"PopperArrowOuter",variants:{unstyled:{false:{position:"absolute",zIndex:1e6,pointerEvents:"none",overflow:"hidden",alignItems:"center",justifyContent:"center"}}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),X={top:"bottom",right:"left",bottom:"top",left:"right"},ee=G.styleable(function(e,t){let{__scopePopper:n,...r}=e,{offset:o,size:i,borderWidth:a=0,...l}=(0,N.wN)(r),s=Z(n),c=Math.max(0,+("number"==typeof i?i:(0,T.Ve)((0,u.Pj)(i??s.size,{shift:-2,bounds:[2]})))),{placement:f}=s,d=(0,R.ex)(s.arrowRef,t),p=s.arrowStyle?.x||0,m=s.arrowStyle?.y||0,g=f?f.split("-")[0]:"top",y={x:p,y:m,width:c,height:c},b={};if(g){y["bottom"===g||"top"===g?"width":"height"]=2*c;let e=X[g];e&&(y[e]=-c,b[e]=c/2),("top"===e||"bottom"===e)&&(y.left=0),("left"===e||"right"===e)&&(y.top=0),(0,_.LI)(()=>{s.onArrowSize?.(c)},[c,s.onArrowSize])}return(0,h.jsx)(J,{ref:d,...y,children:(0,h.jsx)(G,{width:c,height:c,...l,...b,rotate:"45deg",..."bottom"===g&&{borderLeftWidth:a,borderTopWidth:a},..."top"===g&&{borderBottomWidth:a,borderRightWidth:a},..."right"===g&&{borderLeftWidth:a,borderBottomWidth:a},..."left"===g&&{borderTopWidth:a,borderRightWidth:a}})})});var et=n(4624),en=n(2583),er=n(1510),eo=n(4077),ei=n(3277),ea=n(1840),el=n(5589);let es=({open:e,setOpen:t,disable:n,disableFocus:o,hoverable:i})=>(0,a.useCallback)(a=>{let l=(0,r.YF)({...a,open:e,onOpenChange:(e,n)=>{t(e,n?.type==="mousemove"||n?.type==="mouseenter"||n?.type==="mouseleave"?"hover":"press")}}),{getReferenceProps:s,getFloatingProps:u}=(0,r.NI)([i?(0,r.XI)(l.context,{enabled:!n&&i,handleClose:(0,r.xp)({requireIntent:!0,blockPointerEvents:!0,buffer:1}),...i&&"object"==typeof i&&i}):(0,r.XI)(l.context,{enabled:!1}),(0,r.KK)(l.context,{enabled:!n&&!o,visibleOnly:!0}),(0,r.qs)(l.context,{role:"dialog"}),(0,r.bQ)(l.context,{enabled:!n})]);return{...l,open:e,getReferenceProps:s,getFloatingProps:u}},[e,t,n,o,i]),eu="PopoverScope",ec=(0,k.i)({}),ef=ec.useStyledContext,ed=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,{onCustomAnchorAdd:o,onCustomAnchorRemove:i}=ef(n)||{};return a.useEffect(()=>(o(),()=>i()),[o,i]),(0,h.jsx)(q,{__scopePopper:n||eu,...r,ref:t})}),ep=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,o=ef(n),i=o.anchorTo,a=(0,R.ex)(t,o.triggerRef);if(i){let e={current:{getBoundingClientRect:()=>_.$L?DOMRect.fromRect(i):i,...!_.$L&&{measure:e=>e(i?.x,i?.y,i?.width,i?.height),measureInWindow:e=>e(i?.x,i?.y,i?.width,i?.height)}}};return(0,h.jsx)(q,{virtualRef:e,__scopePopper:n||eu})}if(!e.children)return null;let l=(0,h.jsx)(C.G7,{"aria-haspopup":"dialog","aria-expanded":o.open,"data-state":ej(o.open),...r,ref:a,onPress:(0,c.Mj)(e.onPress,o.onOpenToggle)});return o.hasCustomAnchor?l:(0,h.jsx)(q,{__scopePopper:n||eu,asChild:!0,children:l})}),eh=Y.extractable(a.forwardRef(function(e,t){let{allowPinchZoom:n,trapFocus:r,disableRemoveScroll:o=!0,zIndex:i,__scopePopover:l,...s}=e,u=ef(l),f=a.useRef(null),d=(0,R.ex)(t,f),p=a.useRef(!1),[m,g]=a.useState(!u.open);return u.open&&m&&g(!1),a.useEffect(()=>{if(!u.open)return;let e=f.current;if(e)return w(e)},[u.open]),!u.keepChildrenMounted&&m?null:(0,h.jsx)(eg,{__scopePopover:l,zIndex:e.zIndex,children:(0,h.jsx)(C.Kq,{pointerEvents:u.open?"auto":"none",children:(0,h.jsx)(ey,{...s,disableRemoveScroll:o,ref:d,setIsFullyHidden:g,__scopePopover:l,trapFocus:r??u.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,c.Mj)(e.onCloseAutoFocus,e=>{e.preventDefault(),p.current||u.triggerRef.current?.focus()}),onPointerDownOutside:(0,c.Mj)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;p.current=r},{checkDefaultPrevented:!1}),onFocusOutside:(0,c.Mj)(e.onFocusOutside,e=>e.preventDefault(),{checkDefaultPrevented:!1})})})})}));function em(e){return(0,h.jsx)(D.Provider,{scope:e.scope,...e.popperContext,children:(0,h.jsx)(ec.Provider,{...e.context,children:e.children})})}function eg(e){let{__scopePopover:t}=e,n=e.zIndex??15e4,r=ef(t),o=Z(t||eu),i=(0,O.C)(),a=e.children;return("android"===ea.Z.OS||"ios"===ea.Z.OS)&&(a=(0,h.jsx)(em,{scope:t||eu,popperContext:o,context:r,children:e.children})),(0,h.jsx)(et.h_,{zIndex:n,children:(0,h.jsxs)(S.Q,{forceClassName:!0,name:i,children:[!!r.open&&!r.breakpointActive&&(0,h.jsx)(z.FA,{fullscreen:!0,onPress:(0,c.Mj)(e.onPress,r.onOpenToggle)}),a]})})}let ey=a.forwardRef(function(e,t){let{trapFocus:n,__scopePopover:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:l,disableFocusScope:s,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,children:p,disableRemoveScroll:y,freezeContentsWhenHidden:b,setIsFullyHidden:v,...x}=e,j=ef(r),{open:P,keepChildrenMounted:w}=j,R=Z(r||eu),k=a.useCallback(()=>{v?.(!0)},[v]);if(j.breakpointActive){let e=a.Children.toArray(p).map(e=>a.isValidElement(e)&&e.type===el.Z?e.props.children:e),t=(0,h.jsx)(g.il,{children:e});return("android"===ea.Z.OS||"ios"===ea.Z.OS)&&(t=(0,h.jsx)(D.Provider,{scope:r||eu,...R,children:e})),(0,h.jsx)(et.b5,{hostName:`${j.id}PopoverContents`,children:t})}return(0,h.jsx)(m,{type:"presence",present:!!P,keepChildrenMounted:w,onExitComplete:k,children:(0,h.jsx)(Q,{__scopePopper:r||eu,"data-state":ej(P),id:j.contentId,ref:t,...x,children:(0,h.jsx)(en.f,{enabled:!y&&P,allowPinchZoom:!0,removeScrollBar:!1,style:eb,children:(0,h.jsx)(g.il,{children:(0,h.jsx)(M.M,{loop:!0,enabled:!s&&P,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:_.$L?(0,h.jsx)("div",{style:eb,children:p}):p})})})},j.contentId)})}),eb={display:"contents"},ev=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,o=ef(n);return(0,h.jsx)(z.FA,{...r,ref:t,componentName:"PopoverClose",onPress:(0,c.Mj)(e.onPress,()=>o.onOpenChange(!1,"press"))})}),ex=ee.styleable(function(e,t){let{__scopePopover:n,...r}=e;return ew(ef(n).sheetBreakpoint)?null:(0,h.jsx)(ee,{__scopePopper:n||eu,componentName:"PopoverArrow",...r,ref:t})});function ej(e){return e?"open":"closed"}(0,c.$e)(a.forwardRef((e,t)=>{let{children:n,open:r,defaultOpen:i,onOpenChange:s,__scopePopover:u,keepChildrenMounted:c,hoverable:d,disableFocus:p,...m}=e,g=a.useId(),{when:y,AdaptProvider:b}=(0,f.pV)({Contents:a.useCallback(()=>(0,h.jsx)(et.$2,{name:`${g}PopoverContents`}),[])}),v=a.useRef(null),[x,j]=a.useState(!1),P=a.useRef(),[w,R]=(0,ei.T)({prop:r,defaultProp:i||!1,onChange:e=>{s?.(e,P.current)}}),k=(0,o.z)((e,t)=>{P.current=t,R(e)}),C=ew(y),O=es({open:w,setOpen:k,disable:C,hoverable:d,disableFocus:p}),[S,A]=a.useState(),M=(0,E.JL)(A);a.useImperativeHandle(t,()=>({anchorTo:M,toggle:()=>R(e=>!e),open:()=>R(!0),close:()=>R(!1),setOpen:R}));let L={id:g,sheetBreakpoint:y,contentId:a.useId(),triggerRef:v,open:w,breakpointActive:C,onOpenChange:k,onOpenToggle:(0,o.z)(()=>{w&&C||R(!w)}),hasCustomAnchor:x,anchorTo:S,onCustomAnchorAdd:a.useCallback(()=>j(!0),[]),onCustomAnchorRemove:a.useCallback(()=>j(!1),[]),keepChildrenMounted:c},I=(0,h.jsx)(V,{__scopePopper:u||eu,stayInFrame:!0,...m,children:(0,h.jsx)(ec.Provider,{scope:u,...L,children:(0,h.jsx)(eP,{onOpenChange:R,children:n})})});return(0,h.jsx)(b,{children:_.$L?(0,h.jsx)(l.Provider,{value:O,children:I}):I})}),{Anchor:ed,Arrow:ex,Trigger:ep,Content:eh,Close:ev,Adapt:f.Tr,ScrollView:el.Z,Sheet:er.yo.Controlled});let eP=({__scopePopover:e,...t})=>{let n=ef(e),r=eR(n),i=n.breakpointActive,a=(0,o.X)(r);return(0,h.jsx)(eo.f,{onOpenChange:e=>{a()&&t.onOpenChange(e)},open:n.open,hidden:!1===i,children:t.children})},ew=e=>{let t=(0,A.GS)();return"boolean"!=typeof e&&e?t[e]:!!e},eR=e=>{let t=ew(e.sheetBreakpoint);return!1!==e.open&&t},e_="tooltip",ek=Y.extractable(a.forwardRef(({__scopeTooltip:e,...t},n)=>{let r=Z(e||e_),o=t.padding??t.size??r.size??(0,u.ap)("$true",{shift:-2});return(0,h.jsx)(eh,{__scopePopover:e||e_,componentName:"Tooltip",disableRemoveScroll:!0,disableFocusScope:!0,...!t.unstyled&&{padding:o},ref:n,...t})})),eC=a.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ex,{__scopePopper:n||e_,componentName:"Tooltip",ref:t,...r})}),eO=a.forwardRef(function(e,t){let{children:n,delay:i,restMs:s=typeof i>"u"?500:"number"==typeof i?i:0,onOpenChange:c,focus:f,open:d,disableAutoCloseOnScroll:p,__scopeTooltip:m,...g}=e,y=a.useRef(null),[b,v]=a.useState(!1),{delay:x,setCurrentId:j}=(0,r.tj)(),P=i??x,[w,R]=(0,ei.T)({prop:d,defaultProp:!1,onChange:c}),_=e.groupId,k=(0,o.z)(e=>{e&&j(_),R(e)});a.useEffect(()=>{if(!w||p||typeof document>"u")return;let e=()=>{R(!1)};return document.documentElement.addEventListener("scroll",e),()=>{document.documentElement.removeEventListener("scroll",e)}},[w,p]);let C=a.useCallback(e=>{let t=(0,r.YF)({...e,open:w,onOpenChange:k}),{delay:n}=(0,r.Qu)(t.context,{id:_}),{getReferenceProps:o,getFloatingProps:i}=(0,r.NI)([(0,r.XI)(t.context,{delay:P??n,restMs:s}),(0,r.KK)(t.context,f),(0,r.qs)(t.context,{role:"tooltip"}),(0,r.bQ)(t.context)]);return{...t,open:w,getReferenceProps:o,getFloatingProps:i}},[_,P,w,s,f?JSON.stringify(f):0]),O=a.useCallback(()=>v(!0),[]),S=a.useCallback(()=>v(!1),[]),E=a.useId(),A=e.unstyled?null:(0,u.ap)("$true",{shift:-2,bounds:[0]});return(0,h.jsx)(l.Provider,{value:C,children:(0,h.jsx)(V,{__scopePopper:m||e_,size:A?.key,allowFlip:!0,stayInFrame:!0,...g,children:(0,h.jsx)(ec.Provider,{contentId:E,triggerRef:y,sheetBreakpoint:!1,open:w,scope:m||e_,onOpenChange:R,onOpenToggle:eM,hasCustomAnchor:b,onCustomAnchorAdd:O,onCustomAnchorRemove:S,children:n})})})}),eS=a.forwardRef(function(e,t){let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ep,{...r,__scopePopover:n||e_,ref:t})}),eE=a.forwardRef(function(e,t){let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ed,{...r,__scopePopover:n||e_,ref:t})}),eA=(0,c.$e)(eO,{Anchor:eE,Arrow:eC,Content:ek,Trigger:eS}),eM=()=>{}},5737:function(e,t,n){n.d(t,{e:function(){return m}});var r=n(281),o=n(4975),i=n(2026),a=n(7445),l=n.n(a),s=n(1213),u=s.Z?window.location.href:"";class c{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this._eventCallbacks[e];null!=o&&Array.isArray(o)&&o.map(e=>{e(...n)})}addEventListener(e,t){var n=this;return n._eventCallbacks[e]||(n._eventCallbacks[e]=[t]),n._eventCallbacks[e].push(t),{remove(){var r=n._eventCallbacks[e].filter(e=>e.toString()!==t.toString());n._eventCallbacks[e]=r}}}removeEventListener(e,t){console.error("Linking.removeEventListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `Linking.addEventListener`.");var n=this._eventCallbacks[e].filter(e=>e.toString()!==t.toString());this._eventCallbacks[e]=n}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(u)}openURL(e,t){1==arguments.length&&(t="_blank");try{return f(e,t),this._dispatchEvent("onOpen",e),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){l()("string"==typeof e,"Invalid URL: should be a string. Was: "+e),l()(e,"Invalid URL: cannot be empty")}}var f=(e,t)=>{if(s.Z){var n=new URL(e,window.location).toString();0===n.indexOf("tel:")?window.location=n:window.open(n,t,"noopener")}},d=new c,p=n(2281);let h=(0,o.z)(i.J,{name:"Anchor",tag:"a",accessibilityRole:"link"}),m=h.styleable(({href:e,target:t,...n},o)=>(0,p.jsx)(h,{...n,...r.$L?{href:e,target:t}:{onPress:t=>{n.onPress?.(t),void 0!==e&&d.openURL(e)}},ref:o}))}}]);
|
_next/static/chunks/876-502e9e9269cbab5a.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[876],{6855:function(e,t,n){n.d(t,{u:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsxs)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:[(0,a.jsx)(o.UL,{width:"20",height:"14",x:"2",y:"3",rx:"2",stroke:t}),(0,a.jsx)(o.x1,{x1:"8",x2:"16",y1:"21",y2:"21",stroke:t}),(0,a.jsx)(o.x1,{x1:"12",x2:"12",y1:"17",y2:"21",stroke:t})]})};l.displayName="Monitor";let s=(0,r.memo)((0,i.H)(l))},2890:function(e,t,n){n.d(t,{J:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsx)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:(0,a.jsx)(o.y$,{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",stroke:t})})};l.displayName="Moon";let s=(0,r.memo)((0,i.H)(l))},896:function(e,t,n){n.d(t,{k:function(){return s}});var r=n(2265),o=n(2989),i=n(7470),a=n(2281);let l=e=>{let{color:t="black",size:n=24,...r}=e;return(0,a.jsxs)(o.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...r,children:[(0,a.jsx)(o.Cd,{cx:"12",cy:"12",r:"4",stroke:t}),(0,a.jsx)(o.y$,{d:"M12 2v2",stroke:t}),(0,a.jsx)(o.y$,{d:"M12 20v2",stroke:t}),(0,a.jsx)(o.y$,{d:"m4.93 4.93 1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"m17.66 17.66 1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"M2 12h2",stroke:t}),(0,a.jsx)(o.y$,{d:"M20 12h2",stroke:t}),(0,a.jsx)(o.y$,{d:"m6.34 17.66-1.41 1.41",stroke:t}),(0,a.jsx)(o.y$,{d:"m19.07 4.93-1.41 1.41",stroke:t})]})};l.displayName="Sun";let s=(0,r.memo)((0,i.H)(l))},7138:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(231),o=n.n(r)},844:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}}),n(8157);let r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e};("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)},5944:function(e,t,n){function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(8157),("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)},231:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(1609),o=n(2281),i=r._(n(2265)),a=n(8016),l=n(8029),s=n(1142),u=n(3461),c=n(844),f=n(291),d=n(4467),p=n(3106),h=n(5944),m=n(4897),g=n(1507),y=new Set;function b(e,t,n,r,o,i){if("undefined"!=typeof window&&(i||(0,l.isLocalURL)(t))){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(y.has(o))return;y.add(o)}Promise.resolve(i?e.prefetch(t,o):e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let x=i.default.forwardRef(function(e,t){let n,r;let{href:s,as:y,children:x,prefetch:j=null,passHref:P,replace:w,shallow:R,scroll:_,locale:k,onClick:C,onMouseEnter:O,onTouchStart:S,legacyBehavior:E=!1,...A}=e;n=x,E&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let M=i.default.useContext(f.RouterContext),L=i.default.useContext(d.AppRouterContext),I=null!=M?M:L,N=!M,T=!1!==j,z=null===j?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:U,as:$}=i.default.useMemo(()=>{if(!M){let e=v(s);return{href:e,as:y?v(y):e}}let[e,t]=(0,a.resolveHref)(M,s,!0);return{href:e,as:y?(0,a.resolveHref)(M,y):t||e}},[M,s,y]),W=i.default.useRef(U),F=i.default.useRef($);E&&(r=i.default.Children.only(n));let D=E?r&&"object"==typeof r&&r.ref:t,[B,H,K]=(0,p.useIntersection)({rootMargin:"200px"}),Z=i.default.useCallback(e=>{(F.current!==$||W.current!==U)&&(K(),F.current=$,W.current=U),B(e),D&&("function"==typeof D?D(e):"object"==typeof D&&(D.current=e))},[$,D,U,K,B]);i.default.useEffect(()=>{I&&H&&T&&b(I,U,$,{locale:k},{kind:z},N)},[$,U,H,k,T,null==M?void 0:M.locale,I,N,z]);let V={ref:Z,onClick(e){E||"function"!=typeof C||C(e),E&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),I&&!e.defaultPrevented&&function(e,t,n,r,o,a,s,u,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,l.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==s||s;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:u,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})};c?i.default.startTransition(d):d()}(e,I,U,$,w,R,_,k,N)},onMouseEnter(e){E||"function"!=typeof O||O(e),E&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),I&&(T||!N)&&b(I,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:z},N)},onTouchStart:function(e){E||"function"!=typeof S||S(e),E&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),I&&(T||!N)&&b(I,U,$,{locale:k,priority:!0,bypassPrefetchedCheck:!0},{kind:z},N)}};if((0,u.isAbsoluteUrl)($))V.href=$;else if(!E||P||"a"===r.type&&!("href"in r.props)){let e=void 0!==k?k:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,h.getDomainLocale)($,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);V.href=t||(0,m.addBasePath)((0,c.addLocale)($,e,null==M?void 0:M.defaultLocale))}return E?i.default.cloneElement(r,V):(0,o.jsx)("a",{...A,...V,children:n})});("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)},9189:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},8016:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let r=n(8323),o=n(1142),i=n(5519),a=n(3461),l=n(8157),s=n(8029),u=n(9195),c=n(20);function f(e,t,n){let f;let d="string"==typeof t?t:(0,o.formatWithValidation)(t),p=d.match(/^[a-zA-Z]{1,}:\/\//),h=p?d.slice(p[0].length):d;if((h.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(h);d=(p?p[0]:"")+t}if(!(0,s.isLocalURL)(d))return n?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,r.searchParamsToUrlQuery)(e.searchParams),{result:a,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,n);a&&(t=(0,o.formatWithValidation)({pathname:a,hash:e.hash,query:(0,i.omit)(n,l)}))}let a=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return n?[a,t||a]:a}catch(e){return n?[d]:d}}("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)},3106:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(2265),o=n(9189),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,u=s||!i,[c,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(i){if(u||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[u,n,t,c,d.current]),[p,c,(0,r.useCallback)(()=>{f(!1)},[])]}("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)},1943:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let n=/[|\\{}()[\]^$+*?.-]/,r=/[|\\{}()[\]^$+*?.-]/g;function o(e){return n.test(e)?e.replace(r,"\\$&"):e}},291:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=n(1609)._(n(2265)).default.createContext(null)},1142:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return i},formatWithValidation:function(){return l},urlObjectKeys:function(){return a}});let r=n(6720)._(n(8323)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:n}=e,i=e.protocol||"",a=e.pathname||"",l=e.hash||"",s=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:n&&(u=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(u+=":"+e.port)),s&&"object"==typeof s&&(s=String(r.urlQueryToSearchParams(s)));let c=e.search||s&&"?"+s||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||o.test(i))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+i+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return i(e)}},9195:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return r.getSortedRoutes},isDynamicRoute:function(){return o.isDynamicRoute}});let r=n(9089),o=n(8083)},20:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return i}});let r=n(1533),o=n(3169);function i(e,t,n){let i="",a=(0,o.getRouteRegex)(e),l=a.groups,s=(t!==e?(0,r.getRouteMatcher)(a)(t):"")||n;i=e;let u=Object.keys(l);return u.every(e=>{let t=s[e]||"",{repeat:n,optional:r}=l[e],o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in s)&&(i=i.replace(o,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(i=""),{params:u,result:i}}},8083:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let r=n(2269),o=/\/\[[^/]+?\](?=\/|$)/;function i(e){return(0,r.isInterceptionRouteAppPath)(e)&&(e=(0,r.extractInterceptionRouteInformation)(e).interceptedRoute),o.test(e)}},8029:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return i}});let r=n(3461),o=n(9404);function i(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,o.hasBasePath)(n.pathname)}catch(e){return!1}}},5519:function(e,t){function n(e,t){let n={};return Object.keys(e).forEach(r=>{t.includes(r)||(n[r]=e[r])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},8323:function(e,t){function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function r(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,o]=e;Array.isArray(o)?o.forEach(e=>t.append(n,r(e))):t.set(n,r(o))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return i},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return o}})},1533:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let r=n(3461);function o(e){let{re:t,groups:n}=e;return e=>{let o=t.exec(e);if(!o)return!1;let i=e=>{try{return decodeURIComponent(e)}catch(e){throw new r.DecodeError("failed to decode param")}},a={};return Object.keys(n).forEach(e=>{let t=n[e],r=o[t.pos];void 0!==r&&(a[e]=~r.indexOf("/")?r.split("/").map(e=>i(e)):t.repeat?[i(r)]:i(r))}),a}}},3169:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return d},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return s}});let r=n(2269),o=n(1943),i=n(7741);function a(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e){let t=(0,i.removeTrailingSlash)(e).slice(1).split("/"),n={},l=1;return{parameterizedRoute:t.map(e=>{let t=r.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&i){let{key:e,optional:r,repeat:s}=a(i[1]);return n[e]={pos:l++,repeat:s,optional:r},"/"+(0,o.escapeStringRegexp)(t)+"([^/]+?)"}if(!i)return"/"+(0,o.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:r}=a(i[1]);return n[e]={pos:l++,repeat:t,optional:r},t?r?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function s(e){let{parameterizedRoute:t,groups:n}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function u(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:r,routeKeys:i,keyPrefix:l}=e,{key:s,optional:u,repeat:c}=a(r),f=s.replace(/\W/g,"");l&&(f=""+l+f);let d=!1;(0===f.length||f.length>30)&&(d=!0),isNaN(parseInt(f.slice(0,1)))||(d=!0),d&&(f=n()),l?i[f]=""+l+s:i[f]=s;let p=t?(0,o.escapeStringRegexp)(t):"";return c?u?"(?:/"+p+"(?<"+f+">.+?))?":"/"+p+"(?<"+f+">.+?)":"/"+p+"(?<"+f+">[^/]+?)"}function c(e,t){let n;let a=(0,i.removeTrailingSlash)(e).slice(1).split("/"),l=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),s={};return{namedParameterizedRoute:a.map(e=>{let n=r.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),i=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&i){let[n]=e.split(i[0]);return u({getSafeRouteKey:l,interceptionMarker:n,segment:i[1],routeKeys:s,keyPrefix:t?"nxtI":void 0})}return i?u({getSafeRouteKey:l,segment:i[1],routeKeys:s,keyPrefix:t?"nxtP":void 0}):"/"+(0,o.escapeStringRegexp)(e)}).join(""),routeKeys:s}}function f(e,t){let n=c(e,t);return{...s(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function d(e,t){let{parameterizedRoute:n}=l(e),{catchAll:r=!0}=t;if("/"===n)return{namedRegex:"^/"+(r?".*":"")+"$"};let{namedParameterizedRoute:o}=c(e,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}},9089:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return r}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,r){if(0===e.length){this.placeholder=!1;return}if(r)throw Error("Catch-all must be the last part of the URL.");let o=e[0];if(o.startsWith("[")&&o.endsWith("]")){let n=o.slice(1,-1),a=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),a=!0),n.startsWith("...")&&(n=n.substring(3),r=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function i(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(r){if(a){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');i(this.optionalRestSlugName,n),this.optionalRestSlugName=n,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');i(this.restSlugName,n),this.restSlugName=n,o="[...]"}}else{if(a)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');i(this.slugName,n),this.slugName=n,o="[]"}}this.children.has(o)||this.children.set(o,new n),this.children.get(o)._insert(e.slice(1),t,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function r(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},3461:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return n},execOnce:function(){return r},getDisplayName:function(){return s},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return i},isResSent:function(){return u},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function r(e){let t,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return n||(n=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function s(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&u(n))return r;if(!r)throw Error('"'+s(e)+'.getInitialProps()" should resolve to an object. But found "'+r+'" instead.');return r}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},391:function(e,t,n){n.d(t,{H1:function(){return a}});var r=n(4975),o=n(1217);let i=(0,r.z)(o.n,{tag:"span",name:"Heading",accessibilityRole:"header",fontFamily:"$heading",size:"$8",margin:0}),a=(0,r.z)(i,{name:"H1",tag:"h1",size:"$10"});(0,r.z)(i,{name:"H2",tag:"h2",size:"$9"}),(0,r.z)(i,{name:"H3",tag:"h3",size:"$8"}),(0,r.z)(i,{name:"H4",tag:"h4",size:"$7"}),(0,r.z)(i,{name:"H5",tag:"h5",size:"$6"}),(0,r.z)(i,{name:"H6",tag:"h6",size:"$5"})},1170:function(e,t,n){n.d(t,{u:function(){return eE}}),n(7961);var r=n(4243),o=n(9087),i=n(4674),a=n(2265);let l=(0,a.createContext)(null),s=e=>(a.useContext(l)||i.YF)?.(e);var u=n(6748),c=n(8338),f=n(3370),d=n(5794),p=n(126),h=n(2281);function m({children:e,type:t,...n}){return"presence"===t?n.keepChildrenMounted?(0,h.jsx)(d.g,{initial:!!n.initial&&void 0,onExitComplete:n.onExitComplete,enterVariant:n.enterVariant,exitVariant:n.exitVariant,enterExitVariant:n.enterExitVariant,presenceAffectsLayout:!1,isPresent:n.present,custom:n.custom,children:e}):(0,h.jsx)(p.M,{...n,children:n.present?e:null}):(0,h.jsx)(h.Fragment,{children:e})}var g=n(5390),y=new WeakMap,b=new WeakMap,v={},x=0,j=function(e){return e&&(e.host||j(e.parentNode))},P=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=j(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});v[n]||(v[n]=new WeakMap);var i=v[n],a=[],l=new Set,s=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(y.get(e)||0)+1,u=(i.get(e)||0)+1;y.set(e,s),i.set(e,u),a.push(e),1===s&&o&&b.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return c(t),l.clear(),x++,function(){a.forEach(function(e){var t=y.get(e)-1,o=i.get(e)-1;y.set(e,t),i.set(e,o),t||(b.has(e)||e.removeAttribute(r),b.delete(e)),o||e.removeAttribute(n)}),--x||(y=new WeakMap,y=new WeakMap,b=new WeakMap,v={})}},w=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),P(r,o,n,"aria-hidden")):function(){return null}},R=n(9046),_=n(281),k=n(925),C=n(2166),O=n(4582),S=n(1130),E=n(3820),A=n(9097),M=n(9018),L=n(6616),I=n(4975),N=n(1386),T=n(2202),z=n(5377),U=n(1092),$=n(1090),W=n(1775),F=n(357);let D=(0,k.i)({}),{useStyledContext:B,Provider:H}=D,K=void 0;function Z(e){let{children:t,size:n,strategy:r="absolute",placement:o="bottom",stayInFrame:l,allowFlip:u,offset:c,__scopePopper:f}=e,d=(0,L.S)(),[p,m]=a.useState(null),[g,y]=a.useState(0),b=c??g,v=s({strategy:r,placement:o,sameScrollView:!1,middleware:[l?(0,i.uY)("boolean"==typeof l?{}:l):null,u?(0,i.RR)("boolean"==typeof u?{}:u):null,p?(0,i.x7)({element:p}):null,"u">typeof b?(0,i.cv)(b):null,K].filter(Boolean)}),{refs:x,middlewareData:j,open:P,floatingStyles:w}=v;if(_.$L)(0,_.LI)(()=>{if(P&&x.reference.current&&x.floating.current)return(0,i.Me)(x.reference.current,x.floating.current,v.update)},[P,v.update,x.floating,x.reference]);else{var R,k,C;let e=(k=(R=(0,a.useState)(()=>$.Z.get("window")))[0],C=R[1],(0,a.useEffect)(()=>{function e(e){var t=e.window;null!=t&&C(t)}return $.Z.addEventListener("change",e),C($.Z.get("window")),()=>{$.Z.removeEventListener("change",e)}},[]),k),[t,n]=a.useState(!1);a.useEffect(()=>{let e=W.Z.addListener("keyboardDidShow",()=>{n(!0)}),t=W.Z.addListener("keyboardDidHide",()=>{n(!1)});return()=>{e.remove(),t.remove()}},[]),(0,_.LI)(()=>{v.update()},[e,t])}let O={size:n,arrowRef:m,arrowStyle:j.arrow,onArrowSize:y,isMounted:d,scope:f,hasFloating:j.checkFloating?.hasFloating,...v};return(0,h.jsx)(H,{...O,children:t})}let V=z.FA.extractable(a.forwardRef(function(e,t){let{virtualRef:n,__scopePopper:r,...o}=e,{getReferenceProps:i,refs:l}=B(r),s=a.useRef(null),u=(0,R.ex)(t,s,l.setReference);if(a.useEffect(()=>{n&&l.setReference(n.current)},[n]),n)return null;let c={ref:u,...o};return(0,h.jsx)(C.G7,{...i?i(c):c})})),q=(0,I.z)(U.K,{name:"PopperContent",variants:{unstyled:{false:{size:"$true",backgroundColor:"$background",alignItems:"center",radiused:!0}},size:{"...size":(e,{tokens:t})=>({padding:t.space[e],borderRadius:t.radius[e]})}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),Y=a.forwardRef(function(e,t){let{__scopePopper:n,enableAnimationForPositionChange:r,...o}=e,{strategy:i,placement:l,refs:s,x:u,y:c,getFloatingProps:f,size:d,isMounted:p,update:m,floatingStyles:g,hasFloating:y}=B(n),b=(0,R.ex)(s.setFloating,t),v=!1;if(_.Dt){let e=a.useRef(!0),t=a.useRef(!1);!1===y&&(e.current=!1),e.current||(t.current=y),v=t.current}let x=a.useMemo(()=>(0,h.jsx)(q,{"data-placement":l,"data-strategy":i,contain:"layout",size:d,...o},"popper-content-frame"),[l,i,e]),[j,P]=a.useState(!0);if(a.useEffect(()=>{(u||c)&&P(!1)},[u,c]),(0,_.LI)(()=>{p&&m()},[p]),!p)return null;let w=!0,k;_.Dt&&([w,k]=a.useState(!1),a.useEffect(()=>{v&&k(!0)},[v,u,c]));let O={ref:b,x:u||0,y:c||0,top:0,left:0,position:i,opacity:w?1:0,...r&&{animation:o.animation,animateOnly:j?["none"]:o.animateOnly,animatePresence:!1}};return(0,h.jsx)(C.Kq,{...f?f(O):O,children:x})}),Q=(0,I.z)(z.FA,{name:"PopperArrow",variants:{unstyled:{false:{borderColor:"$borderColor",backgroundColor:"$background",position:"relative"}}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),G=(0,I.z)(z.FA,{name:"PopperArrowOuter",variants:{unstyled:{false:{position:"absolute",zIndex:1e6,pointerEvents:"none",overflow:"hidden",alignItems:"center",justifyContent:"center"}}},defaultVariants:{unstyled:"1"===F.env.TAMAGUI_HEADLESS}}),J={top:"bottom",right:"left",bottom:"top",left:"right"},X=Q.styleable(function(e,t){let{__scopePopper:n,...r}=e,{offset:o,size:i,borderWidth:a=0,...l}=(0,N.wN)(r),s=B(n),c=i??s.size,f=Math.max(0,+(0,T.Ve)((0,u.Pj)(c,{shift:-2,bounds:[2]}))),{placement:d}=s,p=(0,R.ex)(s.arrowRef,t),m=s.arrowStyle?.x||0,g=s.arrowStyle?.y||0,y=d?d.split("-")[0]:"top",b={x:m,y:g,width:f,height:f},v={};if(y){b["bottom"===y||"top"===y?"width":"height"]=2*f;let e=J[y];e&&(b[e]=-f,v[e]=f/2),("top"===e||"bottom"===e)&&(b.left=0),("left"===e||"right"===e)&&(b.top=0),(0,_.LI)(()=>{s.onArrowSize?.(f)},[f,s.onArrowSize])}return(0,h.jsx)(G,{ref:p,...b,children:(0,h.jsx)(Q,{width:f,height:f,...l,...v,rotate:"45deg",..."bottom"===y&&{borderLeftWidth:a,borderTopWidth:a},..."top"===y&&{borderBottomWidth:a,borderRightWidth:a},..."right"===y&&{borderLeftWidth:a,borderBottomWidth:a},..."left"===y&&{borderTopWidth:a,borderRightWidth:a}})})});var ee=n(4624),et=n(2583),en=n(1510),er=n(4077),eo=n(3277),ei=n(1840),ea=n(5589);let el=({open:e,setOpen:t,disable:n,disableFocus:o,hoverable:i})=>(0,a.useCallback)(a=>{let l=(0,r.YF)({...a,open:e,onOpenChange:(e,n)=>{t(e,n?.type==="mousemove"||n?.type==="mouseenter"||n?.type==="mouseleave"?"hover":"press")}}),{getReferenceProps:s,getFloatingProps:u}=(0,r.NI)([i?(0,r.XI)(l.context,{enabled:!n&&i,handleClose:(0,r.xp)({requireIntent:!0,blockPointerEvents:!0,buffer:1}),...i&&"object"==typeof i&&i}):(0,r.XI)(l.context,{enabled:!1}),(0,r.KK)(l.context,{enabled:!n&&!o,visibleOnly:!0}),(0,r.qs)(l.context,{role:"dialog"}),(0,r.bQ)(l.context,{enabled:!n})]);return{...l,open:e,getReferenceProps:s,getFloatingProps:u}},[e,t,n,o,i]),es="PopoverScope",eu=(0,k.i)({}),ec=eu.useStyledContext,ef=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,{onCustomAnchorAdd:o,onCustomAnchorRemove:i}=ec(n)||{};return a.useEffect(()=>(o(),()=>i()),[o,i]),(0,h.jsx)(V,{__scopePopper:n||es,...r,ref:t})}),ed=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,o=ec(n),i=o.anchorTo,a=(0,R.ex)(t,o.triggerRef);if(i){let e={current:{getBoundingClientRect:()=>_.$L?DOMRect.fromRect(i):i,...!_.$L&&{measure:e=>e(i?.x,i?.y,i?.width,i?.height),measureInWindow:e=>e(i?.x,i?.y,i?.width,i?.height)}}};return(0,h.jsx)(V,{virtualRef:e,__scopePopper:n||es})}if(!e.children)return null;let l=(0,h.jsx)(C.G7,{"aria-haspopup":"dialog","aria-expanded":o.open,"data-state":ex(o.open),...r,ref:a,onPress:(0,c.Mj)(e.onPress,o.onOpenToggle)});return o.hasCustomAnchor?l:(0,h.jsx)(V,{__scopePopper:n||es,asChild:!0,children:l})}),ep=q.extractable(a.forwardRef(function(e,t){let{allowPinchZoom:n,trapFocus:r,disableRemoveScroll:o=!0,zIndex:i,__scopePopover:l,...s}=e,u=ec(l),f=a.useRef(null),d=(0,R.ex)(t,f),p=a.useRef(!1),[m,g]=a.useState(!u.open);return u.open&&m&&g(!1),a.useEffect(()=>{if(!u.open)return;let e=f.current;if(e)return w(e)},[u.open]),!u.keepChildrenMounted&&m?null:(0,h.jsx)(em,{__scopePopover:l,zIndex:e.zIndex,children:(0,h.jsx)(C.Kq,{pointerEvents:u.open?"auto":"none",children:(0,h.jsx)(eg,{...s,disableRemoveScroll:o,ref:d,setIsFullyHidden:g,__scopePopover:l,trapFocus:r??u.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,c.Mj)(e.onCloseAutoFocus,e=>{e.preventDefault(),p.current||u.triggerRef.current?.focus()}),onPointerDownOutside:(0,c.Mj)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;p.current=r},{checkDefaultPrevented:!1}),onFocusOutside:(0,c.Mj)(e.onFocusOutside,e=>e.preventDefault(),{checkDefaultPrevented:!1})})})})}));function eh(e){return(0,h.jsx)(D.Provider,{scope:e.scope,...e.popperContext,children:(0,h.jsx)(eu.Provider,{...e.context,children:e.children})})}function em(e){let{__scopePopover:t}=e,n=e.zIndex??15e4,r=ec(t),o=B(t||es),i=(0,O.C)(),a=e.children;return("android"===ei.Z.OS||"ios"===ei.Z.OS)&&(a=(0,h.jsx)(eh,{scope:t||es,popperContext:o,context:r,children:e.children})),(0,h.jsx)(ee.h_,{zIndex:n,children:(0,h.jsxs)(S.Q,{forceClassName:!0,name:i,children:[!!r.open&&!r.breakpointActive&&(0,h.jsx)(z.FA,{fullscreen:!0,onPress:(0,c.Mj)(e.onPress,r.onOpenToggle)}),a]})})}let eg=a.forwardRef(function(e,t){let{trapFocus:n,__scopePopover:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:l,disableFocusScope:s,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f,onInteractOutside:d,children:p,disableRemoveScroll:y,freezeContentsWhenHidden:b,setIsFullyHidden:v,...x}=e,j=ec(r),{open:P,keepChildrenMounted:w}=j,R=B(r||es),k=a.useCallback(()=>{v?.(!0)},[v]);if(j.breakpointActive){let e=a.Children.toArray(p).map(e=>a.isValidElement(e)&&e.type===ea.Z?e.props.children:e),t=(0,h.jsx)(g.il,{children:e});return("android"===ei.Z.OS||"ios"===ei.Z.OS)&&(t=(0,h.jsx)(D.Provider,{scope:r||es,...R,children:e})),(0,h.jsx)(ee.b5,{hostName:`${j.id}PopoverContents`,children:t})}return(0,h.jsx)(m,{type:"presence",present:!!P,keepChildrenMounted:w,onExitComplete:k,children:(0,h.jsx)(Y,{__scopePopper:r||es,"data-state":ex(P),id:j.contentId,ref:t,...x,children:(0,h.jsx)(et.f,{enabled:!y&&P,allowPinchZoom:!0,removeScrollBar:!1,style:ey,children:(0,h.jsx)(g.il,{children:(0,h.jsx)(M.M,{loop:!0,enabled:!s&&P,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:_.$L?(0,h.jsx)("div",{style:ey,children:p}):p})})})},j.contentId)})}),ey={display:"contents"},eb=a.forwardRef(function(e,t){let{__scopePopover:n,...r}=e,o=ec(n);return(0,h.jsx)(z.FA,{...r,ref:t,componentName:"PopoverClose",onPress:(0,c.Mj)(e.onPress,()=>o.onOpenChange(!1,"press"))})}),ev=X.styleable(function(e,t){let{__scopePopover:n,...r}=e;return eP(ec(n).sheetBreakpoint)?null:(0,h.jsx)(X,{__scopePopper:n||es,componentName:"PopoverArrow",...r,ref:t})});function ex(e){return e?"open":"closed"}(0,c.$e)(a.forwardRef((e,t)=>{let{children:n,open:r,defaultOpen:i,onOpenChange:s,__scopePopover:u,keepChildrenMounted:c,hoverable:d,disableFocus:p,...m}=e,g=a.useId(),{when:y,AdaptProvider:b}=(0,f.pV)({Contents:a.useCallback(()=>(0,h.jsx)(ee.$2,{name:`${g}PopoverContents`}),[])}),v=a.useRef(null),[x,j]=a.useState(!1),P=a.useRef(),[w,R]=(0,eo.T)({prop:r,defaultProp:i||!1,onChange:e=>{s?.(e,P.current)}}),k=(0,o.z)((e,t)=>{P.current=t,R(e)}),C=eP(y),O=el({open:w,setOpen:k,disable:C,hoverable:d,disableFocus:p}),[S,A]=a.useState(),M=(0,E.JL)(A);a.useImperativeHandle(t,()=>({anchorTo:M,toggle:()=>R(e=>!e),open:()=>R(!0),close:()=>R(!1),setOpen:R}));let L={id:g,sheetBreakpoint:y,contentId:a.useId(),triggerRef:v,open:w,breakpointActive:C,onOpenChange:k,onOpenToggle:(0,o.z)(()=>{w&&C||R(!w)}),hasCustomAnchor:x,anchorTo:S,onCustomAnchorAdd:a.useCallback(()=>j(!0),[]),onCustomAnchorRemove:a.useCallback(()=>j(!1),[]),keepChildrenMounted:c},I=(0,h.jsx)(Z,{__scopePopper:u||es,stayInFrame:!0,...m,children:(0,h.jsx)(eu.Provider,{scope:u,...L,children:(0,h.jsx)(ej,{onOpenChange:R,children:n})})});return(0,h.jsx)(b,{children:_.$L?(0,h.jsx)(l.Provider,{value:O,children:I}):I})}),{Anchor:ef,Arrow:ev,Trigger:ed,Content:ep,Close:eb,Adapt:f.Tr,ScrollView:ea.Z,Sheet:en.yo.Controlled});let ej=({__scopePopover:e,...t})=>{let n=ec(e),r=ew(n),i=n.breakpointActive,a=(0,o.X)(r);return(0,h.jsx)(er.f,{onOpenChange:e=>{a()&&t.onOpenChange(e)},open:n.open,hidden:!1===i,children:t.children})},eP=e=>{let t=(0,A.GS)();return"boolean"!=typeof e&&e?t[e]:!!e},ew=e=>{let t=eP(e.sheetBreakpoint);return!1!==e.open&&t},eR="tooltip",e_=q.extractable(a.forwardRef(({__scopeTooltip:e,...t},n)=>{let r=B(e||eR),o=t.padding??t.size??r.size??(0,u.ap)("$true",{shift:-2});return(0,h.jsx)(ep,{__scopePopover:e||eR,componentName:"Tooltip",disableRemoveScroll:!0,disableFocusScope:!0,...!t.unstyled&&{padding:o},ref:n,...t})})),ek=a.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ev,{__scopePopper:n||eR,componentName:"Tooltip",ref:t,...r})}),eC=a.forwardRef(function(e,t){let{children:n,delay:i,restMs:s=typeof i>"u"?500:"number"==typeof i?i:0,onOpenChange:c,focus:f,open:d,disableAutoCloseOnScroll:p,__scopeTooltip:m,...g}=e,y=a.useRef(null),[b,v]=a.useState(!1),{delay:x,setCurrentId:j}=(0,r.tj)(),P=i??x,[w,R]=(0,eo.T)({prop:d,defaultProp:!1,onChange:c}),_=e.groupId,k=(0,o.z)(e=>{e&&j(_),R(e)});a.useEffect(()=>{if(!w||p||typeof document>"u")return;let e=()=>{R(!1)};return document.documentElement.addEventListener("scroll",e),()=>{document.documentElement.removeEventListener("scroll",e)}},[w,p]);let C=a.useCallback(e=>{let t=(0,r.YF)({...e,open:w,onOpenChange:k}),{getReferenceProps:n,getFloatingProps:o}=(0,r.NI)([(0,r.XI)(t.context,{delay:P,restMs:s}),(0,r.KK)(t.context,f),(0,r.qs)(t.context,{role:"tooltip"}),(0,r.bQ)(t.context),(0,r.Qu)(t.context,{id:_})]);return{...t,open:w,getReferenceProps:n,getFloatingProps:o}},[_,P,w,s,f?JSON.stringify(f):0]),O=a.useCallback(()=>v(!0),[]),S=a.useCallback(()=>v(!1),[]),E=a.useId(),A=e.unstyled?null:(0,u.ap)("$true",{shift:-2,bounds:[0]});return(0,h.jsx)(l.Provider,{value:C,children:(0,h.jsx)(Z,{__scopePopper:m||eR,size:A?.key,allowFlip:!0,stayInFrame:!0,...g,children:(0,h.jsx)(eu.Provider,{contentId:E,triggerRef:y,sheetBreakpoint:!1,open:w,scope:m||eR,onOpenChange:R,onOpenToggle:eA,hasCustomAnchor:b,onCustomAnchorAdd:O,onCustomAnchorRemove:S,children:n})})})}),eO=a.forwardRef(function(e,t){let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ed,{...r,__scopePopover:n||eR,ref:t})}),eS=a.forwardRef(function(e,t){let{__scopeTooltip:n,...r}=e;return(0,h.jsx)(ef,{...r,__scopePopover:n||eR,ref:t})}),eE=(0,c.$e)(eC,{Anchor:eS,Arrow:ek,Content:e_,Trigger:eO}),eA=()=>{}},5737:function(e,t,n){n.d(t,{e:function(){return m}});var r=n(281),o=n(4975),i=n(2026),a=n(7445),l=n.n(a),s=n(1213),u=s.Z?window.location.href:"";class c{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=this._eventCallbacks[e];null!=o&&Array.isArray(o)&&o.map(e=>{e(...n)})}addEventListener(e,t){var n=this;return n._eventCallbacks[e]||(n._eventCallbacks[e]=[t]),n._eventCallbacks[e].push(t),{remove(){var r=n._eventCallbacks[e].filter(e=>e.toString()!==t.toString());n._eventCallbacks[e]=r}}}removeEventListener(e,t){console.error("Linking.removeEventListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `Linking.addEventListener`.");var n=this._eventCallbacks[e].filter(e=>e.toString()!==t.toString());this._eventCallbacks[e]=n}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(u)}openURL(e,t){1==arguments.length&&(t="_blank");try{return f(e,t),this._dispatchEvent("onOpen",e),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){l()("string"==typeof e,"Invalid URL: should be a string. Was: "+e),l()(e,"Invalid URL: cannot be empty")}}var f=(e,t)=>{if(s.Z){var n=new URL(e,window.location).toString();0===n.indexOf("tel:")?window.location=n:window.open(n,t,"noopener")}},d=new c,p=n(2281);let h=(0,o.z)(i.J,{name:"Anchor",tag:"a",accessibilityRole:"link"}),m=h.styleable(({href:e,target:t,...n},o)=>(0,p.jsx)(h,{...n,...r.$L?{href:e,target:t}:{onPress:t=>{n.onPress?.(t),void 0!==e&&d.openURL(e)}},ref:o}))}}]);
|
|
|
|
_next/static/chunks/946-a8fc9ef4b57da2f1.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/app/[model]/{layout-889e22c304268157.js → layout-81c98ff8b290c9fd.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[762],{9743:function(e,t,n){Promise.resolve().then(n.bind(n,9115))},9115:function(e,t,n){"use strict";n.d(t,{default:function(){return v}});var s=n(2281),i=n(6657),r=n(6855),l=n(2890),a=n(896),c=n(3742),o=n(7138),u=n(6463),h=n(5295),d=n(5377),m=n(391),x=n(2026),j=n(1170),g=n(6505),f=n(5737),p=n(3187);let y={dark:(0,s.jsx)(l.J,{}),light:(0,s.jsx)(a.k,{}),system:(0,s.jsx)(r.u,{})},b=[{label:"NLLB200",slug:"nllb200",tooltip:"No Language Left Behind"},{label:"VinAI Vi-En",slug:"vinaivi2en",tooltip:"VinAI translate Vietnamese to English v2"},{label:"VinAI En-Vi",slug:"vinaien2vi",tooltip:"VinAI translate English to Vietnamese v2"},{label:"VietAI Vi-En",slug:"vietai",tooltip:"VietAI Vietnamese <-> English translation"}];function v(e){let{children:t}=e,[n,r]=(0,c.KO)(i.themeAtom),l=(0,u.usePathname)();return(0,s.jsx)(h.p,{h:"100%",w:"100%",br:"$4",children:(0,s.jsxs)(d.FA,{f:1,h:"100%",w:"100%",jc:"center",ai:"center",p:"$4",gap:"$4",children:[(0,s.jsxs)(d.FA,{bc:"$",jc:"center",gap:"$4",children:[(0,s.jsx)(m.H1,{ta:"center",children:"Transformers.js + Tamagui"}),(0,s.jsx)(x.J,{ta:"center",children:"ML-powered multilingual translation directly in your browser!"})]}),(0,s.jsxs)(d.sL,{jc:"center",gap:"$4",children:[(0,s.jsx)(x.J,{children:"Model:"}),b.map(e=>{let{label:t,slug:n,tooltip:i}=e;return(0,s.jsxs)(j.u,{placement:"bottom",children:[(0,s.jsx)(j.u.Trigger,{children:(0,s.jsx)(o.default,{href:"/".concat(n),style:{textDecoration:"".concat(l==="/".concat(n)?"none":"underline")},children:(0,s.jsx)(x.J,{size:"$4",children:t})})}),(0,s.jsxs)(j.u.Content,{enterStyle:{x:0,y:-5,opacity:0,scale:.9},exitStyle:{x:0,y:-5,opacity:0,scale:.9},scale:1,x:0,y:0,opacity:1,animation:["quick",{opacity:{overshootClamping:!0}}],children:[(0,s.jsx)(j.u.Arrow,{}),(0,s.jsx)(x.J,{size:"$2",lineHeight:"$1",children:i})]})]},n)})]}),(0,s.jsx)(g.Z,{als:"stretch"}),t,(0,s.jsx)(d.sL,{pos:"absolute",b:"$4",children:(0,s.jsxs)(x.J,{ta:"center",children:["Made with"," ",(0,s.jsx)(f.e,{href:"https://github.com/xenova/transformers.js",children:"\uD83E\uDD17 Transformers.js"})," + ",(0,s.jsx)(f.e,{href:"https://github.com/tamagui/tamagui",children:"Tamagui \uD83E\uDE84"}),". ",(0,s.jsx)(f.e,{href:"https://github.com/huuquyet/tranlator-tamagui",children:"Give it a ⭐️"})]})}),(0,s.jsx)(p.zx,{pos:"absolute",b:40,l:30,icon:y[n],onPress:r,circular:!0})]})})}},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[762],{9743:function(e,t,n){Promise.resolve().then(n.bind(n,9115))},9115:function(e,t,n){"use strict";n.d(t,{default:function(){return v}});var s=n(2281),i=n(6657),r=n(6855),l=n(2890),a=n(896),c=n(3742),o=n(7138),u=n(6463),h=n(5295),d=n(5377),m=n(391),x=n(2026),j=n(1170),g=n(6505),f=n(5737),p=n(3187);let y={dark:(0,s.jsx)(l.J,{}),light:(0,s.jsx)(a.k,{}),system:(0,s.jsx)(r.u,{})},b=[{label:"NLLB200",slug:"nllb200",tooltip:"No Language Left Behind"},{label:"VinAI Vi-En",slug:"vinaivi2en",tooltip:"VinAI translate Vietnamese to English v2"},{label:"VinAI En-Vi",slug:"vinaien2vi",tooltip:"VinAI translate English to Vietnamese v2"},{label:"VietAI Vi-En",slug:"vietai",tooltip:"VietAI Vietnamese <-> English translation"}];function v(e){let{children:t}=e,[n,r]=(0,c.KO)(i.themeAtom),l=(0,u.usePathname)();return(0,s.jsx)(h.p,{h:"100%",w:"100%",br:"$4",children:(0,s.jsxs)(d.FA,{f:1,h:"100%",w:"100%",jc:"center",ai:"center",p:"$4",gap:"$4",children:[(0,s.jsxs)(d.FA,{bc:"$",jc:"center",gap:"$4",children:[(0,s.jsx)(m.H1,{ta:"center",children:"Transformers.js + Tamagui"}),(0,s.jsx)(x.J,{ta:"center",children:"ML-powered multilingual translation directly in your browser!"})]}),(0,s.jsxs)(d.sL,{jc:"center",gap:"$4",children:[(0,s.jsx)(x.J,{children:"Model:"}),b.map(e=>{let{label:t,slug:n,tooltip:i}=e;return(0,s.jsxs)(j.u,{placement:"bottom",children:[(0,s.jsx)(j.u.Trigger,{children:(0,s.jsx)(o.default,{href:"/".concat(n),style:{textDecoration:"".concat(l==="/".concat(n)?"none":"underline")},children:(0,s.jsx)(x.J,{size:"$4",children:t})})}),(0,s.jsxs)(j.u.Content,{enterStyle:{x:0,y:-5,opacity:0,scale:.9},exitStyle:{x:0,y:-5,opacity:0,scale:.9},scale:1,x:0,y:0,opacity:1,animation:["quick",{opacity:{overshootClamping:!0}}],children:[(0,s.jsx)(j.u.Arrow,{}),(0,s.jsx)(x.J,{size:"$2",lineHeight:"$1",children:i})]})]},n)})]}),(0,s.jsx)(g.Z,{als:"stretch"}),t,(0,s.jsx)(d.sL,{pos:"absolute",b:"$4",children:(0,s.jsxs)(x.J,{ta:"center",children:["Made with"," ",(0,s.jsx)(f.e,{href:"https://github.com/xenova/transformers.js",children:"\uD83E\uDD17 Transformers.js"})," + ",(0,s.jsx)(f.e,{href:"https://github.com/tamagui/tamagui",children:"Tamagui \uD83E\uDE84"}),". ",(0,s.jsx)(f.e,{href:"https://github.com/huuquyet/tranlator-tamagui",children:"Give it a ⭐️"})]})}),(0,s.jsx)(p.zx,{pos:"absolute",b:40,l:30,icon:y[n],onPress:r,circular:!0})]})})}},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return f},themeAtom:function(){return j}});var s=n(2281),i=n(8059),r=n.n(i),l=n(9910),a=n(9010),c=n(1542),o=n(542),u=n(3742),h=n(6463),d=n(6608),m=n(7376);let x=(0,n(1564)._)(m.vc),j=function(e){let t=(0,l.cn)(e,(e,n,s)=>{let i="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,i)});return t}("system"),g=e=>{let{children:t,...n}=e,[i,r]=(0,a.U)(),l=(0,c.P)(),[h]=(0,u.KO)(j);return(0,s.jsx)(o.G,{onChangeTheme:r,children:(0,s.jsx)(d.r,{config:x,defaultTheme:"system"===h?l.systemTheme:h,disableInjectCSS:!0,...n,children:t})})};function f(e){let{children:t}=e;return(0,h.useServerInsertedHTML)(()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:x.getNewCSS()}}),(0,s.jsx)("style",{dangerouslySetInnerHTML:{__html:x.getCSS({exclude:"design-system"})}}),(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:"document.documentElement.classList.add('t_unmounted')"},className:"jsx-6d3d93ee53889f68"}),(0,s.jsx)(r(),{id:"6d3d93ee53889f68",children:'html{font-family:" "}'})]})),(0,s.jsx)(g,{children:t})}}},function(e){e.O(0,[143,466,755,876,971,190,744],function(){return e(e.s=9743)}),_N_E=e.O()}]);
|
_next/static/chunks/app/[model]/page-1ad28b3ad643ed0e.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{495:function(){},7147:function(){},1418:function(){},8741:function(){},8386:function(){},3342:function(){},8997:function(e,n,t){Promise.resolve().then(t.bind(t,9750))},9750:function(e,n,t){"use strict";t.r(n),t.d(n,{Translator:function(){return y}});var s=t(2281),a=t(6916),l=t(9078),r=t(2265),i=t(5377),c=t(9175),o=t(3187),u=t(2869),d=t(8030),h=t(1957),x=t(1569),j=t(1378),f=t(2026),g=t(312),p=t(3370),m=t(1510);let b=e=>{let{type:n,onChange:t,defaultLanguage:a,disableSelect:l,LANGUAGES:r}=e;return(0,s.jsxs)(i.sL,{f:1,ai:"center",jc:"space-evenly",children:[(0,s.jsxs)(f.J,{children:[n,": "]}),(0,s.jsxs)(g.Ph,{onValueChange:t,defaultValue:a,children:[(0,s.jsx)(g.Ph.Trigger,{w:"$15",iconAfter:x._,disabled:l,children:(0,s.jsx)(g.Ph.Value,{placeholder:"Languages"})}),(0,s.jsx)(p.Tr,{when:"sm",platform:"touch",children:(0,s.jsxs)(m.yo,{native:!1,modal:!0,dismissOnSnapToBottom:!0,animation:"quick",children:[(0,s.jsx)(m.yo.Frame,{children:(0,s.jsx)(m.yo.ScrollView,{children:(0,s.jsx)(p.Tr.Contents,{})})}),(0,s.jsx)(m.yo.Overlay,{animation:"lazy",enterStyle:{opacity:0},exitStyle:{opacity:0}})]})}),(0,s.jsxs)(g.Ph.Content,{zIndex:2e5,children:[(0,s.jsxs)(g.Ph.ScrollUpButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,s.jsx)(i.FA,{zi:10,children:(0,s.jsx)(j.K,{size:20})}),(0,s.jsx)(d.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["$background","transparent"],br:"$4"})]}),(0,s.jsx)(g.Ph.Viewport,{minWidth:"$15",children:(0,s.jsxs)(g.Ph.Group,{children:[(0,s.jsx)(g.Ph.Label,{children:"Languages"}),Object.entries(r).map((e,n)=>{let[t,a]=e;return(0,s.jsxs)(g.Ph.Item,{index:n,value:a,children:[(0,s.jsx)(g.Ph.ItemText,{children:t}),(0,s.jsx)(g.Ph.ItemIndicator,{ml:"auto",children:(0,s.jsx)(h.J,{size:16})})]},t)})]})}),(0,s.jsxs)(g.Ph.ScrollDownButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,s.jsx)(i.FA,{zi:10,children:(0,s.jsx)(x._,{size:20})}),(0,s.jsx)(d.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["transparent","$background"],br:"$4"})]})]})]})]})};var S=t(663);let $=e=>{let{text:n,percentage:t}=e;return t=null!=t?t:0,(0,s.jsxs)(i.FA,{h:"$8",ai:"center",gap:"$4",children:[(0,s.jsxs)(f.J,{h:30,o:.5,children:[n," "]}),100!==t&&(0,s.jsx)(S.Ex,{size:"$6",value:t,children:(0,s.jsx)(S.Ex.Indicator,{animation:"bouncy"})})]})},y=e=>{let{initSource:n,initTarget:t,model:d,example:h,size:x,disableSelect:j,LANGUAGES:f}=e,[g,p]=(0,r.useState)(!0),[m,S]=(0,r.useState)({}),[y,v]=(0,r.useState)(0),[_,w]=(0,r.useState)("Loading ".concat(d," model (").concat(x,")...")),[z,P]=(0,r.useState)(h),[k,L]=(0,r.useState)(n),[A,E]=(0,r.useState)(t),[T,C]=(0,r.useState)(""),F=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;null!==(e=F.current)&&void 0!==e||(F.current=(0,l.EUT)("translation",d,{quantized:!0,progress_callback:e=>{"progress"===e.status&&S(n=>({...n,[e.file]:e}))}}))},[]),(0,r.useEffect)(()=>{Object.values(m);let e=0,n=0;for(let t of Object.values(m))e+=t.loaded,n+=t.total;let t=e/n*100;v(t),w(100===t?"Ready!":"Loading ".concat(d," model (").concat(t.toFixed(2),"% of ").concat(x,")...")),p(100!==t)},[m]);let O=async()=>{p(!0),w("Translating..."),C("");let e=await F.current;await e(z,{src_lang:k,tgt_lang:A,callback_function:async n=>{C(e.tokenizer.decode(n[0].output_token_ids,{skip_special_tokens:!0})),w("Done!"),p(!1)}})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.sL,{gap:"$4",children:[(0,s.jsxs)(i.FA,{gap:"$4",children:[(0,s.jsx)(b,{type:"Source",defaultLanguage:n,onChange:L,disableSelect:j,LANGUAGES:f}),(0,s.jsx)(c.K,{value:z,size:"$6",maw:340,rows:7,multiline:!0,br:"$4",onChange:P})]}),(0,s.jsxs)(i.FA,{gap:"$4",children:[(0,s.jsx)(b,{type:"Target",defaultLanguage:t,onChange:E,disableSelect:j,LANGUAGES:f}),(0,s.jsx)(c.K,{value:T,size:"$6",maw:340,rows:7,multiline:!0,br:"$4",readOnly:!0})]})]}),(0,s.jsx)(o.zx,{disabled:g,icon:g?(0,s.jsx)(u.$,{size:"small"}):(0,s.jsx)(a.l,{}),onPress:O,children:"Translate"}),(0,s.jsx)($,{text:_,percentage:y})]})}}},function(e){e.O(0,[165,132,193,143,466,946,971,190,744],function(){return e(e.s=8997)}),_N_E=e.O()}]);
|
_next/static/chunks/app/[model]/page-7fa5ce95c1379084.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[400],{495:function(){},7147:function(){},1418:function(){},8741:function(){},319:function(){},8386:function(){},3342:function(){},8997:function(e,n,t){Promise.resolve().then(t.bind(t,9750))},9750:function(e,n,t){"use strict";t.r(n),t.d(n,{Translator:function(){return y}});var s=t(2281),a=t(6916),l=t(9078),r=t(2265),i=t(5377),c=t(9175),o=t(3187),u=t(2869),d=t(8030),h=t(1957),x=t(1569),j=t(1378),f=t(2026),g=t(312),p=t(3370),m=t(1510);let b=e=>{let{type:n,onChange:t,defaultLanguage:a,disableSelect:l,LANGUAGES:r}=e;return(0,s.jsxs)(i.sL,{f:1,ai:"center",jc:"space-evenly",children:[(0,s.jsxs)(f.J,{children:[n,": "]}),(0,s.jsxs)(g.Ph,{onValueChange:t,defaultValue:a,children:[(0,s.jsx)(g.Ph.Trigger,{w:"$15",iconAfter:x._,disabled:l,children:(0,s.jsx)(g.Ph.Value,{placeholder:"Languages"})}),(0,s.jsx)(p.Tr,{when:"sm",platform:"touch",children:(0,s.jsxs)(m.yo,{native:!1,modal:!0,dismissOnSnapToBottom:!0,animation:"quick",children:[(0,s.jsx)(m.yo.Frame,{children:(0,s.jsx)(m.yo.ScrollView,{children:(0,s.jsx)(p.Tr.Contents,{})})}),(0,s.jsx)(m.yo.Overlay,{animation:"lazy",enterStyle:{opacity:0},exitStyle:{opacity:0}})]})}),(0,s.jsxs)(g.Ph.Content,{zIndex:2e5,children:[(0,s.jsxs)(g.Ph.ScrollUpButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,s.jsx)(i.FA,{zi:10,children:(0,s.jsx)(j.K,{size:20})}),(0,s.jsx)(d.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["$background","transparent"],br:"$4"})]}),(0,s.jsx)(g.Ph.Viewport,{minWidth:"$15",children:(0,s.jsxs)(g.Ph.Group,{children:[(0,s.jsx)(g.Ph.Label,{children:"Languages"}),Object.entries(r).map((e,n)=>{let[t,a]=e;return(0,s.jsxs)(g.Ph.Item,{index:n,value:a,children:[(0,s.jsx)(g.Ph.ItemText,{children:t}),(0,s.jsx)(g.Ph.ItemIndicator,{ml:"auto",children:(0,s.jsx)(h.J,{size:16})})]},t)})]})}),(0,s.jsxs)(g.Ph.ScrollDownButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,s.jsx)(i.FA,{zi:10,children:(0,s.jsx)(x._,{size:20})}),(0,s.jsx)(d.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["transparent","$background"],br:"$4"})]})]})]})]})};var S=t(663);let $=e=>{let{text:n,percentage:t}=e;return t=null!=t?t:0,(0,s.jsxs)(i.FA,{h:"$8",ai:"center",gap:"$4",children:[(0,s.jsxs)(f.J,{h:30,o:.5,children:[n," "]}),100!==t&&(0,s.jsx)(S.Ex,{size:"$6",value:t,children:(0,s.jsx)(S.Ex.Indicator,{animation:"bouncy"})})]})},y=e=>{let{initSource:n,initTarget:t,model:d,example:h,size:x,disableSelect:j,LANGUAGES:f}=e,[g,p]=(0,r.useState)(!0),[m,S]=(0,r.useState)({}),[y,v]=(0,r.useState)(0),[_,w]=(0,r.useState)("Loading ".concat(d," model (").concat(x,")...")),[z,P]=(0,r.useState)(h),[k,L]=(0,r.useState)(n),[A,E]=(0,r.useState)(t),[T,C]=(0,r.useState)(""),F=(0,r.useRef)(null);(0,r.useEffect)(()=>{var e;null!==(e=F.current)&&void 0!==e||(F.current=(0,l.EUT)("translation",d,{quantized:!0,progress_callback:e=>{"progress"===e.status&&S(n=>({...n,[e.file]:e}))}}))},[]),(0,r.useEffect)(()=>{Object.values(m);let e=0,n=0;for(let t of Object.values(m))e+=t.loaded,n+=t.total;let t=e/n*100;v(t),w(100===t?"Ready!":"Loading ".concat(d," model (").concat(t.toFixed(2),"% of ").concat(x,")...")),p(100!==t)},[m]);let O=async()=>{p(!0),w("Translating..."),C("");let e=await F.current;await e(z,{src_lang:k,tgt_lang:A,callback_function:async n=>{C(e.tokenizer.decode(n[0].output_token_ids,{skip_special_tokens:!0})),w("Done!"),p(!1)}})};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i.sL,{gap:"$4",children:[(0,s.jsxs)(i.FA,{gap:"$4",children:[(0,s.jsx)(b,{type:"Source",defaultLanguage:n,onChange:L,disableSelect:j,LANGUAGES:f}),(0,s.jsx)(c.K,{value:z,size:"$6",maw:340,rows:7,multiline:!0,br:"$4",onChange:P})]}),(0,s.jsxs)(i.FA,{gap:"$4",children:[(0,s.jsx)(b,{type:"Target",defaultLanguage:t,onChange:E,disableSelect:j,LANGUAGES:f}),(0,s.jsx)(c.K,{value:T,size:"$6",maw:340,rows:7,multiline:!0,br:"$4",readOnly:!0})]})]}),(0,s.jsx)(o.zx,{disabled:g,icon:g?(0,s.jsx)(u.$,{size:"small"}):(0,s.jsx)(a.l,{}),onPress:O,children:"Translate"}),(0,s.jsx)($,{text:_,percentage:y})]})}}},function(e){e.O(0,[165,132,193,143,466,853,971,190,744],function(){return e(e.s=8997)}),_N_E=e.O()}]);
|
|
|
|
_next/static/chunks/app/_not-found/{page-c5dd59427aa64169.js → page-3a53a291d7cc6d0c.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7589:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(5457)}])},5457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}}),n(
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[409],{7589:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return n(5457)}])},5457:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}}),n(9920);let i=n(2281);n(2265);let o={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"},l={display:"inline-block"},r={display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},d={fontSize:14,fontWeight:400,lineHeight:"49px",margin:0};function s(){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("title",{children:"404: This page could not be found."}),(0,i.jsx)("div",{style:o,children:(0,i.jsxs)("div",{children:[(0,i.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,i.jsx)("h1",{className:"next-error-h1",style:r,children:"404"}),(0,i.jsx)("div",{style:l,children:(0,i.jsx)("h2",{style:d,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,190,744],function(){return e(e.s=7589)}),_N_E=e.O()}]);
|
_next/static/chunks/app/layout-29d12073e48dc3e9.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9617:function(e,t,n){Promise.resolve().then(n.t.bind(n,4400,23)),Promise.resolve().then(n.bind(n,2944)),Promise.resolve().then(n.t.bind(n,8121,23)),Promise.resolve().then(n.bind(n,6657))},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return h},themeAtom:function(){return m}});var r=n(2281),o=n(9910),a=n(9010),c=n(1542),i=n(542),s=n(3742),u=n(6463),l=n(6608),d=n(7376);let f=(0,n(1564)._)(d.vc),m=function(e){let t=(0,o.cn)(e,(e,n,r)=>{let o="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,o)});return t}("system");function h(e){let{children:t,...n}=e,[o,d]=(0,a.U)(),h=(0,c.P)(),[w]=(0,s.KO)(m);return(0,u.useServerInsertedHTML)(()=>(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:f.getNewCSS({exclude:"design-system"})}})),(0,r.jsx)(i.G,{onChangeTheme:d,children:(0,r.jsx)(l.r,{config:f,defaultTheme:"system"===w?h.systemTheme:w,disableInjectCSS:!0,...n,children:t})})}},4400:function(){},8121:function(){},2944:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return f}});var r=n(2265),o=n(6463),a=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function c(){return"undefined"!=typeof window}function i(){return"production"}function s(){return"development"===((c()?window.vam:i())||"production")}function u(e){return(0,r.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!c())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=i();return}window.vam=e})(t.mode),a(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(s()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.2.2",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint&&(r.dataset.endpoint=t.endpoint),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},s()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}var l=()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)(),n=(0,o.usePathname)(),r={...Object.fromEntries(t.entries()),...e||{}};return{route:e?function(e,t){if(!e||!t)return e;let n=e;try{for(let[e,r]of Object.entries(t)){let t=Array.isArray(r),o=t?r.join("/"):r,a=t?"...".concat(e):e,c=new RegExp("/".concat(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"));c.test(n)&&(n=n.replace(c,"/[".concat(a,"]")))}return n}catch(t){return e}}(n,r):null,path:n}};function d(e){let{route:t,path:n}=l();return r.createElement(u,{path:n,route:t,...e,framework:"next"})}function f(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(d,{...e}))}}},function(e){e.O(0,[843,120,143,107,971,190,744],function(){return e(e.s=9617)}),_N_E=e.O()}]);
|
|
|
|
_next/static/chunks/app/layout-f833b5332569507c.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9617:function(e,t,n){Promise.resolve().then(n.t.bind(n,4400,23)),Promise.resolve().then(n.bind(n,2944)),Promise.resolve().then(n.t.bind(n,8121,23)),Promise.resolve().then(n.bind(n,6657))},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return v},themeAtom:function(){return p}});var r=n(2281),o=n(8059),a=n.n(o),c=n(9910),s=n(9010),i=n(1542),l=n(542),u=n(3742),d=n(6463),f=n(6608),m=n(7376);let h=(0,n(1564)._)(m.vc),p=function(e){let t=(0,c.cn)(e,(e,n,r)=>{let o="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,o)});return t}("system"),w=e=>{let{children:t,...n}=e,[o,a]=(0,s.U)(),c=(0,i.P)(),[d]=(0,u.KO)(p);return(0,r.jsx)(l.G,{onChangeTheme:a,children:(0,r.jsx)(f.r,{config:h,defaultTheme:"system"===d?c.systemTheme:d,disableInjectCSS:!0,...n,children:t})})};function v(e){let{children:t}=e;return(0,d.useServerInsertedHTML)(()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:h.getNewCSS()}}),(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:h.getCSS({exclude:"design-system"})}}),(0,r.jsx)("script",{dangerouslySetInnerHTML:{__html:"document.documentElement.classList.add('t_unmounted')"},className:"jsx-6d3d93ee53889f68"}),(0,r.jsx)(a(),{id:"6d3d93ee53889f68",children:'html{font-family:" "}'})]})),(0,r.jsx)(w,{children:t})}},4400:function(){},8121:function(){},2944:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return m}});var r=n(2265),o=n(6463),a=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function c(){return"undefined"!=typeof window}function s(){return"production"}function i(){return"development"===((c()?window.vam:s())||"production")}function l(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function u(e){return(0,r.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!c())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=s();return}window.vam=e})(t.mode),a(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(i()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.3.1",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint&&(r.dataset.endpoint=t.endpoint),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=i()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},i()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}var d=()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)(),n=(0,o.usePathname)(),r={...Object.fromEntries(t.entries()),...e||{}};return{route:e?function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=l(r);e.test(n)&&(n=n.replace(e,"/[".concat(t,"]")))}for(let[t,r]of e)if(Array.isArray(r)){let e=l(r.join("/"));e.test(n)&&(n=n.replace(e,"/[...".concat(t,"]")))}return n}catch(t){return e}}(n,r):null,path:n}};function f(e){let{route:t,path:n}=d();return r.createElement(u,{path:n,route:t,...e,framework:"next"})}function m(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(f,{...e}))}}},function(e){e.O(0,[843,120,143,755,971,190,744],function(){return e(e.s=9617)}),_N_E=e.O()}]);
|
_next/static/chunks/{fd9d1056-33d9a072d21d5daf.js → fd9d1056-81dbe5a32ad27c5b.js}
RENAMED
File without changes
|
_next/static/chunks/{framework-aec844d2ccbe7592.js → framework-f66176bb897dc684.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/main-2c670bfcddc87928.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/main-bf01c87702a52976.js
DELETED
The diff for this file is too large to render.
See raw diff
|
|
images/adaptive-icon.png
DELETED
Binary file (17.5 kB)
|
|
images/android-icon-192x192.png
DELETED
Binary file (705 Bytes)
|
|
images/android-icon-512x512.png
DELETED
Binary file (705 Bytes)
|
|
images/apple-icon-16x16.png
DELETED
Binary file (427 Bytes)
|
|
images/apple-icon-32x32.png
DELETED
Binary file (472 Bytes)
|
|
images/apple-icon.png
DELETED
Binary file (667 Bytes)
|
|
images/favicon.png
DELETED
Binary file (1.47 kB)
|
|
images/icon.png
DELETED
Binary file (22.4 kB)
|
|
images/safari-pinned-tab.svg
DELETED
images/share.png
DELETED
Binary file (756 Bytes)
|
|
vercel.svg → images/vercel.svg
RENAMED
File without changes
|
index.html
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
index.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
3:I[8212,["931","static/chunks/app/page-81f3ce6f956c823a.js"],"default"]
|
3 |
-
4:I[6657,["143","static/chunks/143-
|
4 |
5:I[9275,[],""]
|
5 |
6:I[1343,[],""]
|
6 |
-
7:I[2944,["143","static/chunks/143-
|
7 |
-
0:["
|
8 |
-
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/
|
9 |
1:null
|
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
3:I[8212,["931","static/chunks/app/page-81f3ce6f956c823a.js"],"default"]
|
3 |
+
4:I[6657,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"default"]
|
4 |
5:I[9275,[],""]
|
5 |
6:I[1343,[],""]
|
6 |
+
7:I[2944,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"Analytics"]
|
7 |
+
0:["T4kgNp_52zYV_hplOcNWG",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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}]}],["$","$L7",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L8"]]]]
|
8 |
+
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}]]
|
9 |
1:null
|
manifest.json
CHANGED
@@ -3,21 +3,21 @@
|
|
3 |
"short_name": "translator-tamagui",
|
4 |
"icons": [
|
5 |
{
|
6 |
-
"src": "/images/
|
7 |
"sizes": "64x64 32x32 24x24 16x16",
|
8 |
-
"type": "
|
9 |
"purpose": "any maskable"
|
10 |
},
|
11 |
{
|
12 |
-
"src": "/images/
|
13 |
"sizes": "192x192",
|
14 |
-
"type": "
|
15 |
"purpose": "any maskable"
|
16 |
},
|
17 |
{
|
18 |
-
"src": "/images/
|
19 |
"sizes": "512x512",
|
20 |
-
"type": "
|
21 |
"purpose": "any maskable"
|
22 |
}
|
23 |
],
|
|
|
3 |
"short_name": "translator-tamagui",
|
4 |
"icons": [
|
5 |
{
|
6 |
+
"src": "/images/vercel.svg",
|
7 |
"sizes": "64x64 32x32 24x24 16x16",
|
8 |
+
"type": "svg",
|
9 |
"purpose": "any maskable"
|
10 |
},
|
11 |
{
|
12 |
+
"src": "/images/vercel.svg",
|
13 |
"sizes": "192x192",
|
14 |
+
"type": "svg",
|
15 |
"purpose": "any maskable"
|
16 |
},
|
17 |
{
|
18 |
+
"src": "/images/vercel.svg",
|
19 |
"sizes": "512x512",
|
20 |
+
"type": "svg",
|
21 |
"purpose": "any maskable"
|
22 |
}
|
23 |
],
|
nllb200.html
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
nllb200.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
2:I[9750,["165","static/chunks/590caa2a-
|
2 |
-
3:I[9115,["143","static/chunks/143-
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
-
7:I[6657,["143","static/chunks/143-
|
6 |
-
8:I[2944,["143","static/chunks/143-
|
7 |
5:["model","nllb200","d"]
|
8 |
-
0:["
|
9 |
-
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/
|
10 |
1:null
|
|
|
1 |
+
2:I[9750,["165","static/chunks/590caa2a-59a62e414f0cb318.js","132","static/chunks/6139e184-f911fd69801d47e5.js","193","static/chunks/50bd76a3-7f4929e6d77cc44d.js","143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","946","static/chunks/946-a8fc9ef4b57da2f1.js","400","static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js"],"Translator"]
|
2 |
+
3:I[9115,["143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","755","static/chunks/755-7de149ecff927fc3.js","876","static/chunks/876-318ea795d18aa12d.js","762","static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js"],"default"]
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
+
7:I[6657,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"default"]
|
6 |
+
8:I[2944,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"Analytics"]
|
7 |
5:["model","nllb200","d"]
|
8 |
+
0:["T4kgNp_52zYV_hplOcNWG",[[["",{"children":[["model","nllb200","d"],{"children":["__PAGE__?{\"model\":\"nllb200\"}",{}]}]},"$undefined","$undefined",true],["",{"children":[["model","nllb200","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"initSource":"vie_Latn","initTarget":"eng_Latn","model":"Xenova/nllb-200-distilled-600M","example":"Tôi yêu Việt Nam quê hương tôi.","size":"927MB","disableSelect":false,"LANGUAGES":{"Vietnamese":"vie_Latn","English":"eng_Latn","Acehnese (Arabic script)":"ace_Arab","Acehnese (Latin script)":"ace_Latn","Afrikaans":"afr_Latn","Akan":"aka_Latn","Amharic":"amh_Ethi","Armenian":"hye_Armn","Assamese":"asm_Beng","Asturian":"ast_Latn","Awadhi":"awa_Deva","Ayacucho Quechua":"quy_Latn","Balinese":"ban_Latn","Bambara":"bam_Latn","Banjar (Arabic script)":"bjn_Arab","Banjar (Latin script)":"bjn_Latn","Bashkir":"bak_Cyrl","Basque":"eus_Latn","Belarusian":"bel_Cyrl","Bemba":"bem_Latn","Bengali":"ben_Beng","Bhojpuri":"bho_Deva","Bosnian":"bos_Latn","Buginese":"bug_Latn","Bulgarian":"bul_Cyrl","Burmese":"mya_Mymr","Catalan":"cat_Latn","Cebuano":"ceb_Latn","Central Atlas Tamazight":"tzm_Tfng","Central Aymara":"ayr_Latn","Central Kanuri (Arabic script)":"knc_Arab","Central Kanuri (Latin script)":"knc_Latn","Central Kurdish":"ckb_Arab","Chhattisgarhi":"hne_Deva","Chinese (Simplified)":"zho_Hans","Chinese (Traditional)":"zho_Hant","Chokwe":"cjk_Latn","Crimean Tatar":"crh_Latn","Croatian":"hrv_Latn","Czech":"ces_Latn","Danish":"dan_Latn","Dari":"prs_Arab","Dutch":"nld_Latn","Dyula":"dyu_Latn","Dzongkha":"dzo_Tibt","Eastern Panjabi":"pan_Guru","Eastern Yiddish":"ydd_Hebr","Egyptian Arabic":"arz_Arab","Esperanto":"epo_Latn","Estonian":"est_Latn","Ewe":"ewe_Latn","Faroese":"fao_Latn","Fijian":"fij_Latn","Finnish":"fin_Latn","Fon":"fon_Latn","French":"fra_Latn","Friulian":"fur_Latn","Galician":"glg_Latn","Ganda":"lug_Latn","Georgian":"kat_Geor","German":"deu_Latn","Greek":"ell_Grek","Guarani":"grn_Latn","Gujarati":"guj_Gujr","Haitian Creole":"hat_Latn","Halh Mongolian":"khk_Cyrl","Hausa":"hau_Latn","Hebrew":"heb_Hebr","Hindi":"hin_Deva","Hungarian":"hun_Latn","Icelandic":"isl_Latn","Igbo":"ibo_Latn","Ilocano":"ilo_Latn","Indonesian":"ind_Latn","Irish":"gle_Latn","Italian":"ita_Latn","Japanese":"jpn_Jpan","Javanese":"jav_Latn","Jingpho":"kac_Latn","Kabiyè":"kbp_Latn","Kabuverdianu":"kea_Latn","Kabyle":"kab_Latn","Kamba":"kam_Latn","Kannada":"kan_Knda","Kashmiri (Arabic script)":"kas_Arab","Kashmiri (Devanagari script)":"kas_Deva","Kazakh":"kaz_Cyrl","Khmer":"khm_Khmr","Kikongo":"kon_Latn","Kikuyu":"kik_Latn","Kimbundu":"kmb_Latn","Kinyarwanda":"kin_Latn","Korean":"kor_Hang","Kyrgyz":"kir_Cyrl","Lao":"lao_Laoo","Latgalian":"ltg_Latn","Ligurian":"lij_Latn","Limburgish":"lim_Latn","Lingala":"lin_Latn","Lithuanian":"lit_Latn","Lombard":"lmo_Latn","Luba-Kasai":"lua_Latn","Luo":"luo_Latn","Luxembourgish":"ltz_Latn","Macedonian":"mkd_Cyrl","Magahi":"mag_Deva","Maithili":"mai_Deva","Malayalam":"mal_Mlym","Maltese":"mlt_Latn","Maori":"mri_Latn","Marathi":"mar_Deva","Meitei (Bengali script)":"mni_Beng","Mesopotamian Arabic":"acm_Arab","Minangkabau (Arabic script)":"min_Arab","Minangkabau (Latin script)":"min_Latn","Mizo":"lus_Latn","Modern Standard Arabic (Romanized)":"arb_Latn","Modern Standard Arabic":"arb_Arab","Moroccan Arabic":"ary_Arab","Mossi":"mos_Latn","Najdi Arabic":"ars_Arab","Nepali":"npi_Deva","Nigerian Fulfulde":"fuv_Latn","North Azerbaijani":"azj_Latn","North Levantine Arabic":"apc_Arab","Northern Kurdish":"kmr_Latn","Northern Sotho":"nso_Latn","Northern Uzbek":"uzn_Latn","Norwegian Bokmål":"nob_Latn","Norwegian Nynorsk":"nno_Latn","Nuer":"nus_Latn","Nyanja":"nya_Latn","Occitan":"oci_Latn","Odia":"ory_Orya","Pangasinan":"pag_Latn","Papiamento":"pap_Latn","Plateau Malagasy":"plt_Latn","Polish":"pol_Latn","Portuguese":"por_Latn","Romanian":"ron_Latn","Rundi":"run_Latn","Russian":"rus_Cyrl","Samoan":"smo_Latn","Sango":"sag_Latn","Sanskrit":"san_Deva","Santali":"sat_Olck","Sardinian":"srd_Latn","Scottish Gaelic":"gla_Latn","Serbian":"srp_Cyrl","Shan":"shn_Mymr","Shona":"sna_Latn","Sicilian":"scn_Latn","Silesian":"szl_Latn","Sindhi":"snd_Arab","Sinhala":"sin_Sinh","Slovak":"slk_Latn","Slovenian":"slv_Latn","Somali":"som_Latn","South Azerbaijani":"azb_Arab","South Levantine Arabic":"ajp_Arab","Southern Pashto":"pbt_Arab","Southern Sotho":"sot_Latn","Southwestern Dinka":"dik_Latn","Spanish":"spa_Latn","Standard Latvian":"lvs_Latn","Standard Malay":"zsm_Latn","Standard Tibetan":"bod_Tibt","Sundanese":"sun_Latn","Swahili":"swh_Latn","Swati":"ssw_Latn","Swedish":"swe_Latn","Tagalog":"tgl_Latn","Tajik":"tgk_Cyrl","Tamasheq (Latin script)":"taq_Latn","Tamasheq (Tifinagh script)":"taq_Tfng","Tamil":"tam_Taml","Tatar":"tat_Cyrl","Ta’izzi-Adeni Arabic":"acq_Arab","Telugu":"tel_Telu","Thai":"tha_Thai","Tigrinya":"tir_Ethi","Tok Pisin":"tpi_Latn","Tosk Albanian":"als_Latn","Tsonga":"tso_Latn","Tswana":"tsn_Latn","Tumbuka":"tum_Latn","Tunisian Arabic":"aeb_Arab","Turkish":"tur_Latn","Turkmen":"tuk_Latn","Twi":"twi_Latn","Ukrainian":"ukr_Cyrl","Umbundu":"umb_Latn","Urdu":"urd_Arab","Uyghur":"uig_Arab","Venetian":"vec_Latn","Waray":"war_Latn","Welsh":"cym_Latn","West Central Oromo":"gaz_Latn","Western Persian":"pes_Arab","Wolof":"wol_Latn","Xhosa":"xho_Latn","Yoruba":"yor_Latn","Yue Chinese":"yue_Hant","Zulu":"zul_Latn"}}]],null],null]},[["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","$5","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]}],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L7",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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}]}],["$","$L8",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L9"]]]]
|
9 |
+
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}]]
|
10 |
1:null
|
sw.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(!self.define){let e,s={};const a=(a,n)=>(a=new URL(a+".js",n).href,s[a]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=a,e.onload=s,document.head.appendChild(e)}else e=a,importScripts(a),s()})).then((()=>{let e=s[a];if(!e)throw new Error(`Module ${a} didn’t register its module`);return e})));self.define=(n,
|
|
|
1 |
+
if(!self.define){let e,s={};const a=(a,n)=>(a=new URL(a+".js",n).href,s[a]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=a,e.onload=s,document.head.appendChild(e)}else e=a,importScripts(a),s()})).then((()=>{let e=s[a];if(!e)throw new Error(`Module ${a} didn’t register its module`);return e})));self.define=(n,c)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let i={};const r=e=>a(e,t),o={module:{uri:t},exports:i,require:r};s[t]=Promise.all(n.map((e=>o[e]||r(e)))).then((e=>(c(...e),i)))}}define(["./workbox-f1770938"],(function(e){"use strict";importScripts(),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/T4kgNp_52zYV_hplOcNWG/_buildManifest.js",revision:"2ec694eb52ae4f523f265a46bae4d768"},{url:"/_next/static/T4kgNp_52zYV_hplOcNWG/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/143-c7b592a3726d7fed.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/190-74c2ef00dd22af5b.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/466-f54fd63f687cc06e.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/590caa2a-59a62e414f0cb318.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/6139e184-f911fd69801d47e5.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/755-7de149ecff927fc3.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/876-318ea795d18aa12d.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/946-a8fc9ef4b57da2f1.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/app/_not-found/page-3a53a291d7cc6d0c.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/app/layout-f833b5332569507c.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/app/page-81f3ce6f956c823a.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/fd9d1056-81dbe5a32ad27c5b.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/framework-f66176bb897dc684.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/main-2c670bfcddc87928.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/main-app-fa52e3055e2c0d83.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/pages/_app-6a626577ffa902a4.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/pages/_error-1be831200e60c5c0.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js",revision:"79330112775102f91e1010318bae2bd3"},{url:"/_next/static/chunks/webpack-6b77191a6467b1a0.js",revision:"T4kgNp_52zYV_hplOcNWG"},{url:"/_next/static/css/611e16be65383aa2.css",revision:"611e16be65383aa2"},{url:"/_next/static/css/c07dfed9e589ce2b.css",revision:"c07dfed9e589ce2b"},{url:"/favicon.ico",revision:"4106c96e0a55d35b1b13fa4281a907b7"},{url:"/images/splash.png",revision:"4dc203c1f48ad8b1e9734613e88be661"},{url:"/images/vercel.svg",revision:"26bf2d0adaf1028a4d4c6ee77005e819"},{url:"/manifest.json",revision:"ef4dba72fb6b3327cc24d80946fd0353"},{url:"/tamagui.css",revision:"a9b93a4ff05ae20354f456e31173c007"}],{ignoreURLParametersMatching:[/^utm_/,/^fbclid$/]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({response:e})=>e&&"opaqueredirect"===e.type?new Response(e.body,{status:200,statusText:"OK",headers:e.headers}):e}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:2592e3})]}),"GET"),e.registerRoute(/\/_next\/static.+\.js$/i,new e.CacheFirst({cacheName:"next-static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp4|webm)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:48,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({sameOrigin:e,url:{pathname:s}})=>!(!e||s.startsWith("/api/auth/callback")||!s.startsWith("/api/"))),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({request:e,url:{pathname:s},sameOrigin:a})=>"1"===e.headers.get("RSC")&&"1"===e.headers.get("Next-Router-Prefetch")&&a&&!s.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages-rsc-prefetch",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({request:e,url:{pathname:s},sameOrigin:a})=>"1"===e.headers.get("RSC")&&a&&!s.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages-rsc",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:{pathname:e},sameOrigin:s})=>s&&!e.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({sameOrigin:e})=>!e),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")}));
|
vietai.html
CHANGED
@@ -1 +1,269 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-33d9a072d21d5daf.js" async=""></script><script src="/_next/static/chunks/190-fbd7e2ae978b3f7a.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-69a13df2d4716a9e.js" async=""></script><script src="/_next/static/chunks/6139e184-0267cebb3003fcd3.js" async=""></script><script src="/_next/static/chunks/50bd76a3-3480b2f334cc5792.js" async=""></script><script src="/_next/static/chunks/143-a7c9eb267a2325a2.js" async=""></script><script src="/_next/static/chunks/466-8cc490905f2721ca.js" async=""></script><script src="/_next/static/chunks/853-9e79209ace0b06cf.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js" async=""></script><script src="/_next/static/chunks/107-a2d03d0af5235836.js" async=""></script><script src="/_next/static/chunks/876-502e9e9269cbab5a.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js" async=""></script><script src="/_next/static/chunks/app/layout-29d12073e48dc3e9.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _btc-0focus-visible-1633501478 _brc-0focus-visible-1633501478 _bbc-0focus-visible-1633501478 _blc-0focus-visible-1633501478 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _h-1611761821 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _pe-none"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/envit5-translation model (330MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a> + <a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a>. <a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _mih-1611761821 _miw-1611761821 _fs-0 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _pt-0px _pr-0px _pb-0px _pl-0px _w-1611761821 _h-1611761821 _maw-1611761821 _mah-1611761821 _pos-absolute _b-40px _l-30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-69a13df2d4716a9e.js\",\"132\",\"static/chunks/6139e184-0267cebb3003fcd3.js\",\"193\",\"static/chunks/50bd76a3-3480b2f334cc5792.js\",\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"853\",\"static/chunks/853-9e79209ace0b06cf.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"876\",\"static/chunks/876-502e9e9269cbab5a.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vietai\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"UK4_LsC65D_d_sZP_6S_5\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vietai\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vietai\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vietai\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vietai\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"vi_VN\",\"initTarget\":\"en_XX\",\"model\":\"huuquyet/envit5-translation\",\"example\":\"VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.\",\"size\":\"330MB\",\"disableSelect\":false,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-81dbe5a32ad27c5b.js" async=""></script><script src="/_next/static/chunks/190-74c2ef00dd22af5b.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-59a62e414f0cb318.js" async=""></script><script src="/_next/static/chunks/6139e184-f911fd69801d47e5.js" async=""></script><script src="/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js" async=""></script><script src="/_next/static/chunks/143-c7b592a3726d7fed.js" async=""></script><script src="/_next/static/chunks/466-f54fd63f687cc06e.js" async=""></script><script src="/_next/static/chunks/946-a8fc9ef4b57da2f1.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js" async=""></script><script src="/_next/static/chunks/755-7de149ecff927fc3.js" async=""></script><script src="/_next/static/chunks/876-318ea795d18aa12d.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js" async=""></script><script src="/_next/static/chunks/app/layout-f833b5332569507c.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style><style>:root ._h-10037{height:100%;}
|
2 |
+
:root ._w-10037{width:100%;}
|
3 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
4 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
5 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
6 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
7 |
+
:root ._dsp-flex{display:flex;}
|
8 |
+
:root ._ai-center{align-items:center;}
|
9 |
+
:root ._fd-column{flex-direction:column;}
|
10 |
+
:root ._fb-auto{flex-basis:auto;}
|
11 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
12 |
+
:root ._pos-relative{position:relative;}
|
13 |
+
:root ._mih-0px{min-height:0px;}
|
14 |
+
:root ._miw-0px{min-width:0px;}
|
15 |
+
:root ._fs-1{flex-shrink:1;}
|
16 |
+
:root ._fg-1{flex-grow:1;}
|
17 |
+
:root ._jc-center{justify-content:center;}
|
18 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
19 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
20 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
21 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
22 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
23 |
+
:root ._ai-stretch{align-items:stretch;}
|
24 |
+
:root ._fs-0{flex-shrink:0;}
|
25 |
+
:root ._col-675002279{color:var(--color);}
|
26 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
27 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
28 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
29 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
30 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
31 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
32 |
+
:root ._dsp-inline{display:inline;}
|
33 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
34 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
35 |
+
:root ._mt-0px{margin-top:0px;}
|
36 |
+
:root ._mr-0px{margin-right:0px;}
|
37 |
+
:root ._mb-0px{margin-bottom:0px;}
|
38 |
+
:root ._ml-0px{margin-left:0px;}
|
39 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
40 |
+
:root ._ta-center{text-align:center;}
|
41 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
42 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
43 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
44 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
45 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
46 |
+
:root ._fd-row{flex-direction:row;}
|
47 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
48 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
49 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
50 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
51 |
+
:root ._btw-0px{border-top-width:0px;}
|
52 |
+
:root ._brw-0px{border-right-width:0px;}
|
53 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
54 |
+
:root ._blw-0px{border-left-width:0px;}
|
55 |
+
:root ._h-0px{height:0px;}
|
56 |
+
:root ._mah-0px{max-height:0px;}
|
57 |
+
:root ._als-stretch{align-self:stretch;}
|
58 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
59 |
+
:root ._bts-solid{border-top-style:solid;}
|
60 |
+
:root ._bls-solid{border-left-style:solid;}
|
61 |
+
:root ._brs-solid{border-right-style:solid;}
|
62 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
63 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
64 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
65 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
66 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
67 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
68 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
69 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
70 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
71 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
72 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
73 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
74 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
75 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
76 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
77 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
78 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
79 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
80 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
81 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
82 |
+
:root ._jc-441309761{justify-content:space-between;}
|
83 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
84 |
+
:root ._w-1611762844{width:var(--size-24);}
|
85 |
+
:root ._maw-10037{max-width:100%;}
|
86 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
87 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
88 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
89 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
90 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
91 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
92 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
93 |
+
:root ._cur-pointer{cursor:pointer;}
|
94 |
+
:root ._o-0d0t546{opacity:0.5;}
|
95 |
+
:root ._pe-none{pointer-events:none !important;}
|
96 |
+
:root ._btw-1px{border-top-width:1px;}
|
97 |
+
:root ._brw-1px{border-right-width:1px;}
|
98 |
+
:root ._blw-1px{border-left-width:1px;}
|
99 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
100 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
101 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
102 |
+
:root ._mih-14px{min-height:14px;}
|
103 |
+
:root ._miw-14px{min-width:14px;}
|
104 |
+
:root ._w-14px{width:14px;}
|
105 |
+
:root ._h-14px{height:14px;}
|
106 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
107 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
108 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
109 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
110 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
111 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
112 |
+
:root ._h-196px{height:196px;}
|
113 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
114 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
115 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
116 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
117 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
118 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
119 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
120 |
+
:root ._maw-340px{max-width:340px;}
|
121 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
122 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
123 |
+
:root ._fg-0{flex-grow:0;}
|
124 |
+
:root ._h-1611761976{height:var(--size-17);}
|
125 |
+
:root ._h-30px{height:30px;}
|
126 |
+
:root ._miw-320px{min-width:320px;}
|
127 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
128 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
129 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
130 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
131 |
+
:root ._h-16px{height:16px;}
|
132 |
+
:root ._w-0px{width:0px;}
|
133 |
+
:root ._o-0{opacity:0;}
|
134 |
+
:root ._pos-absolute{position:absolute;}
|
135 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;position:relative;min-height:0px;min-width:0px;flex-shrink:0;padding-right:var(--space-12);padding-left:var(--space-12);height:var(--size-12);border-top-left-radius:var(--radius-14);border-top-right-radius:var(--radius-14);border-bottom-right-radius:var(--radius-14);border-bottom-left-radius:var(--radius-14);justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;pointer-events:none"><span class=" _dsp_contents is_Theme"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/envit5-translation model (330MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a></span> + <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a></span>. <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;min-height:var(--size-12);min-width:var(--size-12);flex-shrink:0;justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-top-left-radius:100000px;border-top-right-radius:100000px;border-bottom-right-radius:100000px;border-bottom-left-radius:100000px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;width:var(--size-12);height:var(--size-12);max-width:var(--size-12);max-height:var(--size-12);position:absolute;bottom:40px;left:30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-59a62e414f0cb318.js\",\"132\",\"static/chunks/6139e184-f911fd69801d47e5.js\",\"193\",\"static/chunks/50bd76a3-7f4929e6d77cc44d.js\",\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"946\",\"static/chunks/946-a8fc9ef4b57da2f1.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"876\",\"static/chunks/876-318ea795d18aa12d.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vietai\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"T4kgNp_52zYV_hplOcNWG\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vietai\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vietai\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vietai\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vietai\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"vi_VN\",\"initTarget\":\"en_XX\",\"model\":\"huuquyet/envit5-translation\",\"example\":\"VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.\",\"size\":\"330MB\",\"disableSelect\":false,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}]]\n4:null\n"])</script></body></html><style></style><style>:root ._h-10037{height:100%;}
|
136 |
+
:root ._w-10037{width:100%;}
|
137 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
138 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
139 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
140 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
141 |
+
:root ._dsp-flex{display:flex;}
|
142 |
+
:root ._ai-center{align-items:center;}
|
143 |
+
:root ._fd-column{flex-direction:column;}
|
144 |
+
:root ._fb-auto{flex-basis:auto;}
|
145 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
146 |
+
:root ._pos-relative{position:relative;}
|
147 |
+
:root ._mih-0px{min-height:0px;}
|
148 |
+
:root ._miw-0px{min-width:0px;}
|
149 |
+
:root ._fs-1{flex-shrink:1;}
|
150 |
+
:root ._fg-1{flex-grow:1;}
|
151 |
+
:root ._jc-center{justify-content:center;}
|
152 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
153 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
154 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
155 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
156 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
157 |
+
:root ._ai-stretch{align-items:stretch;}
|
158 |
+
:root ._fs-0{flex-shrink:0;}
|
159 |
+
:root ._col-675002279{color:var(--color);}
|
160 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
161 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
162 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
163 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
164 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
165 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
166 |
+
:root ._dsp-inline{display:inline;}
|
167 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
168 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
169 |
+
:root ._mt-0px{margin-top:0px;}
|
170 |
+
:root ._mr-0px{margin-right:0px;}
|
171 |
+
:root ._mb-0px{margin-bottom:0px;}
|
172 |
+
:root ._ml-0px{margin-left:0px;}
|
173 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
174 |
+
:root ._ta-center{text-align:center;}
|
175 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
176 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
177 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
178 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
179 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
180 |
+
:root ._fd-row{flex-direction:row;}
|
181 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
182 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
183 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
184 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
185 |
+
:root ._btw-0px{border-top-width:0px;}
|
186 |
+
:root ._brw-0px{border-right-width:0px;}
|
187 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
188 |
+
:root ._blw-0px{border-left-width:0px;}
|
189 |
+
:root ._h-0px{height:0px;}
|
190 |
+
:root ._mah-0px{max-height:0px;}
|
191 |
+
:root ._als-stretch{align-self:stretch;}
|
192 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
193 |
+
:root ._bts-solid{border-top-style:solid;}
|
194 |
+
:root ._bls-solid{border-left-style:solid;}
|
195 |
+
:root ._brs-solid{border-right-style:solid;}
|
196 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
197 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
198 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
199 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
200 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
201 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
202 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
203 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
204 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
205 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
206 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
207 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
208 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
209 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
210 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
211 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
212 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
213 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
214 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
215 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
216 |
+
:root ._jc-441309761{justify-content:space-between;}
|
217 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
218 |
+
:root ._w-1611762844{width:var(--size-24);}
|
219 |
+
:root ._maw-10037{max-width:100%;}
|
220 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
221 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
222 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
223 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
224 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
225 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
226 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
227 |
+
:root ._cur-pointer{cursor:pointer;}
|
228 |
+
:root ._o-0d0t546{opacity:0.5;}
|
229 |
+
:root ._pe-none{pointer-events:none !important;}
|
230 |
+
:root ._btw-1px{border-top-width:1px;}
|
231 |
+
:root ._brw-1px{border-right-width:1px;}
|
232 |
+
:root ._blw-1px{border-left-width:1px;}
|
233 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
234 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
235 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
236 |
+
:root ._mih-14px{min-height:14px;}
|
237 |
+
:root ._miw-14px{min-width:14px;}
|
238 |
+
:root ._w-14px{width:14px;}
|
239 |
+
:root ._h-14px{height:14px;}
|
240 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
241 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
242 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
243 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
244 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
245 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
246 |
+
:root ._h-196px{height:196px;}
|
247 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
248 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
249 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
250 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
251 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
252 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
253 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
254 |
+
:root ._maw-340px{max-width:340px;}
|
255 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
256 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
257 |
+
:root ._fg-0{flex-grow:0;}
|
258 |
+
:root ._h-1611761976{height:var(--size-17);}
|
259 |
+
:root ._h-30px{height:30px;}
|
260 |
+
:root ._miw-320px{min-width:320px;}
|
261 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
262 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
263 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
264 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
265 |
+
:root ._h-16px{height:16px;}
|
266 |
+
:root ._w-0px{width:0px;}
|
267 |
+
:root ._o-0{opacity:0;}
|
268 |
+
:root ._pos-absolute{position:absolute;}
|
269 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script>
|
vietai.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
2:I[9750,["165","static/chunks/590caa2a-
|
2 |
-
3:I[9115,["143","static/chunks/143-
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
-
7:I[6657,["143","static/chunks/143-
|
6 |
-
8:I[2944,["143","static/chunks/143-
|
7 |
5:["model","vietai","d"]
|
8 |
-
0:["
|
9 |
-
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/
|
10 |
1:null
|
|
|
1 |
+
2:I[9750,["165","static/chunks/590caa2a-59a62e414f0cb318.js","132","static/chunks/6139e184-f911fd69801d47e5.js","193","static/chunks/50bd76a3-7f4929e6d77cc44d.js","143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","946","static/chunks/946-a8fc9ef4b57da2f1.js","400","static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js"],"Translator"]
|
2 |
+
3:I[9115,["143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","755","static/chunks/755-7de149ecff927fc3.js","876","static/chunks/876-318ea795d18aa12d.js","762","static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js"],"default"]
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
+
7:I[6657,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"default"]
|
6 |
+
8:I[2944,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"Analytics"]
|
7 |
5:["model","vietai","d"]
|
8 |
+
0:["T4kgNp_52zYV_hplOcNWG",[[["",{"children":[["model","vietai","d"],{"children":["__PAGE__?{\"model\":\"vietai\"}",{}]}]},"$undefined","$undefined",true],["",{"children":[["model","vietai","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"initSource":"vi_VN","initTarget":"en_XX","model":"huuquyet/envit5-translation","example":"VietAI là tổ chức phi lợi nhuận với sứ mệnh ươm mầm tài năng về trí tuệ nhân tạo và xây dựng một cộng đồng các chuyên gia trong lĩnh vực trí tuệ nhân tạo đẳng cấp quốc tế tại Việt Nam.","size":"330MB","disableSelect":false,"LANGUAGES":{"Vietnamese":"vi_VN","English":"en_XX"}}]],null],null]},[["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","$5","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]}],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L7",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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}]}],["$","$L8",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L9"]]]]
|
9 |
+
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}]]
|
10 |
1:null
|
vinaien2vi.html
CHANGED
@@ -1 +1,269 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-33d9a072d21d5daf.js" async=""></script><script src="/_next/static/chunks/190-fbd7e2ae978b3f7a.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-69a13df2d4716a9e.js" async=""></script><script src="/_next/static/chunks/6139e184-0267cebb3003fcd3.js" async=""></script><script src="/_next/static/chunks/50bd76a3-3480b2f334cc5792.js" async=""></script><script src="/_next/static/chunks/143-a7c9eb267a2325a2.js" async=""></script><script src="/_next/static/chunks/466-8cc490905f2721ca.js" async=""></script><script src="/_next/static/chunks/853-9e79209ace0b06cf.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js" async=""></script><script src="/_next/static/chunks/107-a2d03d0af5235836.js" async=""></script><script src="/_next/static/chunks/876-502e9e9269cbab5a.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js" async=""></script><script src="/_next/static/chunks/app/layout-29d12073e48dc3e9.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">I haven't been to a public gym before. When I exercise in a private space, I feel more comfortable.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _btc-0focus-visible-1633501478 _brc-0focus-visible-1633501478 _bbc-0focus-visible-1633501478 _blc-0focus-visible-1633501478 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _h-1611761821 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _pe-none"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/vinai-translate-en2vi-v2 model (511MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a> + <a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a>. <a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _mih-1611761821 _miw-1611761821 _fs-0 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _pt-0px _pr-0px _pb-0px _pl-0px _w-1611761821 _h-1611761821 _maw-1611761821 _mah-1611761821 _pos-absolute _b-40px _l-30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-69a13df2d4716a9e.js\",\"132\",\"static/chunks/6139e184-0267cebb3003fcd3.js\",\"193\",\"static/chunks/50bd76a3-3480b2f334cc5792.js\",\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"853\",\"static/chunks/853-9e79209ace0b06cf.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"876\",\"static/chunks/876-502e9e9269cbab5a.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vinaien2vi\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"UK4_LsC65D_d_sZP_6S_5\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vinaien2vi\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vinaien2vi\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vinaien2vi\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vinaien2vi\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"en_XX\",\"initTarget\":\"vi_VN\",\"model\":\"huuquyet/vinai-translate-en2vi-v2\",\"example\":\"I haven't been to a public gym before. When I exercise in a private space, I feel more comfortable.\",\"size\":\"511MB\",\"disableSelect\":true,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-81dbe5a32ad27c5b.js" async=""></script><script src="/_next/static/chunks/190-74c2ef00dd22af5b.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-59a62e414f0cb318.js" async=""></script><script src="/_next/static/chunks/6139e184-f911fd69801d47e5.js" async=""></script><script src="/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js" async=""></script><script src="/_next/static/chunks/143-c7b592a3726d7fed.js" async=""></script><script src="/_next/static/chunks/466-f54fd63f687cc06e.js" async=""></script><script src="/_next/static/chunks/946-a8fc9ef4b57da2f1.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js" async=""></script><script src="/_next/static/chunks/755-7de149ecff927fc3.js" async=""></script><script src="/_next/static/chunks/876-318ea795d18aa12d.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js" async=""></script><script src="/_next/static/chunks/app/layout-f833b5332569507c.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style><style>:root ._h-10037{height:100%;}
|
2 |
+
:root ._w-10037{width:100%;}
|
3 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
4 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
5 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
6 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
7 |
+
:root ._dsp-flex{display:flex;}
|
8 |
+
:root ._ai-center{align-items:center;}
|
9 |
+
:root ._fd-column{flex-direction:column;}
|
10 |
+
:root ._fb-auto{flex-basis:auto;}
|
11 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
12 |
+
:root ._pos-relative{position:relative;}
|
13 |
+
:root ._mih-0px{min-height:0px;}
|
14 |
+
:root ._miw-0px{min-width:0px;}
|
15 |
+
:root ._fs-1{flex-shrink:1;}
|
16 |
+
:root ._fg-1{flex-grow:1;}
|
17 |
+
:root ._jc-center{justify-content:center;}
|
18 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
19 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
20 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
21 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
22 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
23 |
+
:root ._ai-stretch{align-items:stretch;}
|
24 |
+
:root ._fs-0{flex-shrink:0;}
|
25 |
+
:root ._col-675002279{color:var(--color);}
|
26 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
27 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
28 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
29 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
30 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
31 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
32 |
+
:root ._dsp-inline{display:inline;}
|
33 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
34 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
35 |
+
:root ._mt-0px{margin-top:0px;}
|
36 |
+
:root ._mr-0px{margin-right:0px;}
|
37 |
+
:root ._mb-0px{margin-bottom:0px;}
|
38 |
+
:root ._ml-0px{margin-left:0px;}
|
39 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
40 |
+
:root ._ta-center{text-align:center;}
|
41 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
42 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
43 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
44 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
45 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
46 |
+
:root ._fd-row{flex-direction:row;}
|
47 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
48 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
49 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
50 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
51 |
+
:root ._btw-0px{border-top-width:0px;}
|
52 |
+
:root ._brw-0px{border-right-width:0px;}
|
53 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
54 |
+
:root ._blw-0px{border-left-width:0px;}
|
55 |
+
:root ._h-0px{height:0px;}
|
56 |
+
:root ._mah-0px{max-height:0px;}
|
57 |
+
:root ._als-stretch{align-self:stretch;}
|
58 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
59 |
+
:root ._bts-solid{border-top-style:solid;}
|
60 |
+
:root ._bls-solid{border-left-style:solid;}
|
61 |
+
:root ._brs-solid{border-right-style:solid;}
|
62 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
63 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
64 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
65 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
66 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
67 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
68 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
69 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
70 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
71 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
72 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
73 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
74 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
75 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
76 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
77 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
78 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
79 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
80 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
81 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
82 |
+
:root ._jc-441309761{justify-content:space-between;}
|
83 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
84 |
+
:root ._w-1611762844{width:var(--size-24);}
|
85 |
+
:root ._maw-10037{max-width:100%;}
|
86 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
87 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
88 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
89 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
90 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
91 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
92 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
93 |
+
:root ._cur-pointer{cursor:pointer;}
|
94 |
+
:root ._o-0d0t546{opacity:0.5;}
|
95 |
+
:root ._pe-none{pointer-events:none !important;}
|
96 |
+
:root ._btw-1px{border-top-width:1px;}
|
97 |
+
:root ._brw-1px{border-right-width:1px;}
|
98 |
+
:root ._blw-1px{border-left-width:1px;}
|
99 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
100 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
101 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
102 |
+
:root ._mih-14px{min-height:14px;}
|
103 |
+
:root ._miw-14px{min-width:14px;}
|
104 |
+
:root ._w-14px{width:14px;}
|
105 |
+
:root ._h-14px{height:14px;}
|
106 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
107 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
108 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
109 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
110 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
111 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
112 |
+
:root ._h-196px{height:196px;}
|
113 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
114 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
115 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
116 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
117 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
118 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
119 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
120 |
+
:root ._maw-340px{max-width:340px;}
|
121 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
122 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
123 |
+
:root ._fg-0{flex-grow:0;}
|
124 |
+
:root ._h-1611761976{height:var(--size-17);}
|
125 |
+
:root ._h-30px{height:30px;}
|
126 |
+
:root ._miw-320px{min-width:320px;}
|
127 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
128 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
129 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
130 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
131 |
+
:root ._h-16px{height:16px;}
|
132 |
+
:root ._w-0px{width:0px;}
|
133 |
+
:root ._o-0{opacity:0;}
|
134 |
+
:root ._pos-absolute{position:absolute;}
|
135 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">I haven't been to a public gym before. When I exercise in a private space, I feel more comfortable.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;position:relative;min-height:0px;min-width:0px;flex-shrink:0;padding-right:var(--space-12);padding-left:var(--space-12);height:var(--size-12);border-top-left-radius:var(--radius-14);border-top-right-radius:var(--radius-14);border-bottom-right-radius:var(--radius-14);border-bottom-left-radius:var(--radius-14);justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;pointer-events:none"><span class=" _dsp_contents is_Theme"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/vinai-translate-en2vi-v2 model (511MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a></span> + <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a></span>. <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;min-height:var(--size-12);min-width:var(--size-12);flex-shrink:0;justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-top-left-radius:100000px;border-top-right-radius:100000px;border-bottom-right-radius:100000px;border-bottom-left-radius:100000px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;width:var(--size-12);height:var(--size-12);max-width:var(--size-12);max-height:var(--size-12);position:absolute;bottom:40px;left:30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-59a62e414f0cb318.js\",\"132\",\"static/chunks/6139e184-f911fd69801d47e5.js\",\"193\",\"static/chunks/50bd76a3-7f4929e6d77cc44d.js\",\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"946\",\"static/chunks/946-a8fc9ef4b57da2f1.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"876\",\"static/chunks/876-318ea795d18aa12d.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vinaien2vi\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"T4kgNp_52zYV_hplOcNWG\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vinaien2vi\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vinaien2vi\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vinaien2vi\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vinaien2vi\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"en_XX\",\"initTarget\":\"vi_VN\",\"model\":\"huuquyet/vinai-translate-en2vi-v2\",\"example\":\"I haven't been to a public gym before. When I exercise in a private space, I feel more comfortable.\",\"size\":\"511MB\",\"disableSelect\":true,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}]]\n4:null\n"])</script></body></html><style></style><style>:root ._h-10037{height:100%;}
|
136 |
+
:root ._w-10037{width:100%;}
|
137 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
138 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
139 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
140 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
141 |
+
:root ._dsp-flex{display:flex;}
|
142 |
+
:root ._ai-center{align-items:center;}
|
143 |
+
:root ._fd-column{flex-direction:column;}
|
144 |
+
:root ._fb-auto{flex-basis:auto;}
|
145 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
146 |
+
:root ._pos-relative{position:relative;}
|
147 |
+
:root ._mih-0px{min-height:0px;}
|
148 |
+
:root ._miw-0px{min-width:0px;}
|
149 |
+
:root ._fs-1{flex-shrink:1;}
|
150 |
+
:root ._fg-1{flex-grow:1;}
|
151 |
+
:root ._jc-center{justify-content:center;}
|
152 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
153 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
154 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
155 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
156 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
157 |
+
:root ._ai-stretch{align-items:stretch;}
|
158 |
+
:root ._fs-0{flex-shrink:0;}
|
159 |
+
:root ._col-675002279{color:var(--color);}
|
160 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
161 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
162 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
163 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
164 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
165 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
166 |
+
:root ._dsp-inline{display:inline;}
|
167 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
168 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
169 |
+
:root ._mt-0px{margin-top:0px;}
|
170 |
+
:root ._mr-0px{margin-right:0px;}
|
171 |
+
:root ._mb-0px{margin-bottom:0px;}
|
172 |
+
:root ._ml-0px{margin-left:0px;}
|
173 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
174 |
+
:root ._ta-center{text-align:center;}
|
175 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
176 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
177 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
178 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
179 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
180 |
+
:root ._fd-row{flex-direction:row;}
|
181 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
182 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
183 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
184 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
185 |
+
:root ._btw-0px{border-top-width:0px;}
|
186 |
+
:root ._brw-0px{border-right-width:0px;}
|
187 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
188 |
+
:root ._blw-0px{border-left-width:0px;}
|
189 |
+
:root ._h-0px{height:0px;}
|
190 |
+
:root ._mah-0px{max-height:0px;}
|
191 |
+
:root ._als-stretch{align-self:stretch;}
|
192 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
193 |
+
:root ._bts-solid{border-top-style:solid;}
|
194 |
+
:root ._bls-solid{border-left-style:solid;}
|
195 |
+
:root ._brs-solid{border-right-style:solid;}
|
196 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
197 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
198 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
199 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
200 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
201 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
202 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
203 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
204 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
205 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
206 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
207 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
208 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
209 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
210 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
211 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
212 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
213 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
214 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
215 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
216 |
+
:root ._jc-441309761{justify-content:space-between;}
|
217 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
218 |
+
:root ._w-1611762844{width:var(--size-24);}
|
219 |
+
:root ._maw-10037{max-width:100%;}
|
220 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
221 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
222 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
223 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
224 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
225 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
226 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
227 |
+
:root ._cur-pointer{cursor:pointer;}
|
228 |
+
:root ._o-0d0t546{opacity:0.5;}
|
229 |
+
:root ._pe-none{pointer-events:none !important;}
|
230 |
+
:root ._btw-1px{border-top-width:1px;}
|
231 |
+
:root ._brw-1px{border-right-width:1px;}
|
232 |
+
:root ._blw-1px{border-left-width:1px;}
|
233 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
234 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
235 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
236 |
+
:root ._mih-14px{min-height:14px;}
|
237 |
+
:root ._miw-14px{min-width:14px;}
|
238 |
+
:root ._w-14px{width:14px;}
|
239 |
+
:root ._h-14px{height:14px;}
|
240 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
241 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
242 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
243 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
244 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
245 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
246 |
+
:root ._h-196px{height:196px;}
|
247 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
248 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
249 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
250 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
251 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
252 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
253 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
254 |
+
:root ._maw-340px{max-width:340px;}
|
255 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
256 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
257 |
+
:root ._fg-0{flex-grow:0;}
|
258 |
+
:root ._h-1611761976{height:var(--size-17);}
|
259 |
+
:root ._h-30px{height:30px;}
|
260 |
+
:root ._miw-320px{min-width:320px;}
|
261 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
262 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
263 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
264 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
265 |
+
:root ._h-16px{height:16px;}
|
266 |
+
:root ._w-0px{width:0px;}
|
267 |
+
:root ._o-0{opacity:0;}
|
268 |
+
:root ._pos-absolute{position:absolute;}
|
269 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script>
|
vinaien2vi.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
2:I[9750,["165","static/chunks/590caa2a-
|
2 |
-
3:I[9115,["143","static/chunks/143-
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
-
7:I[6657,["143","static/chunks/143-
|
6 |
-
8:I[2944,["143","static/chunks/143-
|
7 |
5:["model","vinaien2vi","d"]
|
8 |
-
0:["
|
9 |
-
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/
|
10 |
1:null
|
|
|
1 |
+
2:I[9750,["165","static/chunks/590caa2a-59a62e414f0cb318.js","132","static/chunks/6139e184-f911fd69801d47e5.js","193","static/chunks/50bd76a3-7f4929e6d77cc44d.js","143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","946","static/chunks/946-a8fc9ef4b57da2f1.js","400","static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js"],"Translator"]
|
2 |
+
3:I[9115,["143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","755","static/chunks/755-7de149ecff927fc3.js","876","static/chunks/876-318ea795d18aa12d.js","762","static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js"],"default"]
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
+
7:I[6657,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"default"]
|
6 |
+
8:I[2944,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"Analytics"]
|
7 |
5:["model","vinaien2vi","d"]
|
8 |
+
0:["T4kgNp_52zYV_hplOcNWG",[[["",{"children":[["model","vinaien2vi","d"],{"children":["__PAGE__?{\"model\":\"vinaien2vi\"}",{}]}]},"$undefined","$undefined",true],["",{"children":[["model","vinaien2vi","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"initSource":"en_XX","initTarget":"vi_VN","model":"huuquyet/vinai-translate-en2vi-v2","example":"I haven't been to a public gym before. When I exercise in a private space, I feel more comfortable.","size":"511MB","disableSelect":true,"LANGUAGES":{"Vietnamese":"vi_VN","English":"en_XX"}}]],null],null]},[["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","$5","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]}],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L7",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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}]}],["$","$L8",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L9"]]]]
|
9 |
+
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}]]
|
10 |
1:null
|
vinaivi2en.html
CHANGED
@@ -1 +1,269 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-33d9a072d21d5daf.js" async=""></script><script src="/_next/static/chunks/190-fbd7e2ae978b3f7a.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-69a13df2d4716a9e.js" async=""></script><script src="/_next/static/chunks/6139e184-0267cebb3003fcd3.js" async=""></script><script src="/_next/static/chunks/50bd76a3-3480b2f334cc5792.js" async=""></script><script src="/_next/static/chunks/143-a7c9eb267a2325a2.js" async=""></script><script src="/_next/static/chunks/466-8cc490905f2721ca.js" async=""></script><script src="/_next/static/chunks/853-9e79209ace0b06cf.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js" async=""></script><script src="/_next/static/chunks/107-a2d03d0af5235836.js" async=""></script><script src="/_next/static/chunks/876-502e9e9269cbab5a.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js" async=""></script><script src="/_next/static/chunks/app/layout-29d12073e48dc3e9.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">Cô cho biết: trước giờ tôi không đến phòng tập công cộng, mà tập cùng giáo viên Yoga riêng hoặc tự tập ở nhà. Khi tập thể dục trong không gian riêng tư, tôi thoải mái dễ chịu hơn.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _btc-0focus-visible-1633501478 _brc-0focus-visible-1633501478 _bbc-0focus-visible-1633501478 _blc-0focus-visible-1633501478 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _h-1611761821 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _pe-none"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/vinai-translate-vi2en-v2 model (511MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a> + <a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a>. <a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _mih-1611761821 _miw-1611761821 _fs-0 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _pt-0px _pr-0px _pb-0px _pl-0px _w-1611761821 _h-1611761821 _maw-1611761821 _mah-1611761821 _pos-absolute _b-40px _l-30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-69a13df2d4716a9e.js\",\"132\",\"static/chunks/6139e184-0267cebb3003fcd3.js\",\"193\",\"static/chunks/50bd76a3-3480b2f334cc5792.js\",\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"853\",\"static/chunks/853-9e79209ace0b06cf.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-7fa5ce95c1379084.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"466\",\"static/chunks/466-8cc490905f2721ca.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"876\",\"static/chunks/876-502e9e9269cbab5a.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-889e22c304268157.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-a7c9eb267a2325a2.js\",\"107\",\"static/chunks/107-a2d03d0af5235836.js\",\"185\",\"static/chunks/app/layout-29d12073e48dc3e9.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vinaivi2en\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"UK4_LsC65D_d_sZP_6S_5\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vinaivi2en\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vinaivi2en\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vinaivi2en\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vinaivi2en\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"vi_VN\",\"initTarget\":\"en_XX\",\"model\":\"huuquyet/vinai-translate-vi2en-v2\",\"example\":\"Cô cho biết: trước giờ tôi không đến phòng tập công cộng, mà tập cùng giáo viên Yoga riêng hoặc tự tập ở nhà. Khi tập thể dục trong không gian riêng tư, tôi thoải mái dễ chịu hơn.\",\"size\":\"511MB\",\"disableSelect\":true,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-6b77191a6467b1a0.js"/><script src="/_next/static/chunks/fd9d1056-81dbe5a32ad27c5b.js" async=""></script><script src="/_next/static/chunks/190-74c2ef00dd22af5b.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/590caa2a-59a62e414f0cb318.js" async=""></script><script src="/_next/static/chunks/6139e184-f911fd69801d47e5.js" async=""></script><script src="/_next/static/chunks/50bd76a3-7f4929e6d77cc44d.js" async=""></script><script src="/_next/static/chunks/143-c7b592a3726d7fed.js" async=""></script><script src="/_next/static/chunks/466-f54fd63f687cc06e.js" async=""></script><script src="/_next/static/chunks/946-a8fc9ef4b57da2f1.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js" async=""></script><script src="/_next/static/chunks/755-7de149ecff927fc3.js" async=""></script><script src="/_next/static/chunks/876-318ea795d18aa12d.js" async=""></script><script src="/_next/static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js" async=""></script><script src="/_next/static/chunks/app/layout-f833b5332569507c.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/images/vercel.svg"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style><style>:root ._h-10037{height:100%;}
|
2 |
+
:root ._w-10037{width:100%;}
|
3 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
4 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
5 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
6 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
7 |
+
:root ._dsp-flex{display:flex;}
|
8 |
+
:root ._ai-center{align-items:center;}
|
9 |
+
:root ._fd-column{flex-direction:column;}
|
10 |
+
:root ._fb-auto{flex-basis:auto;}
|
11 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
12 |
+
:root ._pos-relative{position:relative;}
|
13 |
+
:root ._mih-0px{min-height:0px;}
|
14 |
+
:root ._miw-0px{min-width:0px;}
|
15 |
+
:root ._fs-1{flex-shrink:1;}
|
16 |
+
:root ._fg-1{flex-grow:1;}
|
17 |
+
:root ._jc-center{justify-content:center;}
|
18 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
19 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
20 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
21 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
22 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
23 |
+
:root ._ai-stretch{align-items:stretch;}
|
24 |
+
:root ._fs-0{flex-shrink:0;}
|
25 |
+
:root ._col-675002279{color:var(--color);}
|
26 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
27 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
28 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
29 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
30 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
31 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
32 |
+
:root ._dsp-inline{display:inline;}
|
33 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
34 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
35 |
+
:root ._mt-0px{margin-top:0px;}
|
36 |
+
:root ._mr-0px{margin-right:0px;}
|
37 |
+
:root ._mb-0px{margin-bottom:0px;}
|
38 |
+
:root ._ml-0px{margin-left:0px;}
|
39 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
40 |
+
:root ._ta-center{text-align:center;}
|
41 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
42 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
43 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
44 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
45 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
46 |
+
:root ._fd-row{flex-direction:row;}
|
47 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
48 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
49 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
50 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
51 |
+
:root ._btw-0px{border-top-width:0px;}
|
52 |
+
:root ._brw-0px{border-right-width:0px;}
|
53 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
54 |
+
:root ._blw-0px{border-left-width:0px;}
|
55 |
+
:root ._h-0px{height:0px;}
|
56 |
+
:root ._mah-0px{max-height:0px;}
|
57 |
+
:root ._als-stretch{align-self:stretch;}
|
58 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
59 |
+
:root ._bts-solid{border-top-style:solid;}
|
60 |
+
:root ._bls-solid{border-left-style:solid;}
|
61 |
+
:root ._brs-solid{border-right-style:solid;}
|
62 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
63 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
64 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
65 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
66 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
67 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
68 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
69 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
70 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
71 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
72 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
73 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
74 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
75 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
76 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
77 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
78 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
79 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
80 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
81 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
82 |
+
:root ._jc-441309761{justify-content:space-between;}
|
83 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
84 |
+
:root ._w-1611762844{width:var(--size-24);}
|
85 |
+
:root ._maw-10037{max-width:100%;}
|
86 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
87 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
88 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
89 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
90 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
91 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
92 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
93 |
+
:root ._cur-pointer{cursor:pointer;}
|
94 |
+
:root ._o-0d0t546{opacity:0.5;}
|
95 |
+
:root ._pe-none{pointer-events:none !important;}
|
96 |
+
:root ._btw-1px{border-top-width:1px;}
|
97 |
+
:root ._brw-1px{border-right-width:1px;}
|
98 |
+
:root ._blw-1px{border-left-width:1px;}
|
99 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
100 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
101 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
102 |
+
:root ._mih-14px{min-height:14px;}
|
103 |
+
:root ._miw-14px{min-width:14px;}
|
104 |
+
:root ._w-14px{width:14px;}
|
105 |
+
:root ._h-14px{height:14px;}
|
106 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
107 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
108 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
109 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
110 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
111 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
112 |
+
:root ._h-196px{height:196px;}
|
113 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
114 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
115 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
116 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
117 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
118 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
119 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
120 |
+
:root ._maw-340px{max-width:340px;}
|
121 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
122 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
123 |
+
:root ._fg-0{flex-grow:0;}
|
124 |
+
:root ._h-1611761976{height:var(--size-17);}
|
125 |
+
:root ._h-30px{height:30px;}
|
126 |
+
:root ._miw-320px{min-width:320px;}
|
127 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
128 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
129 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
130 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
131 |
+
:root ._h-16px{height:16px;}
|
132 |
+
:root ._w-0px{width:0px;}
|
133 |
+
:root ._o-0{opacity:0;}
|
134 |
+
:root ._pos-absolute{position:absolute;}
|
135 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script></head><body><span class=" _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><div class="css-175oi2r r-150rngu r-eqz5dr r-16y2uox r-1wbh5a2 r-11yh6sk r-1rnoaur r-agouwx is_ScrollView _h-10037 _w-10037 _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998"><div class="css-175oi2r"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-10037 _w-10037 _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">ML-powered multilingual translation directly in your browser!</span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _jc-center _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Model:</span><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/nllb200"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">NLLB200</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:none" href="/vinaivi2en"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI Vi-En</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vinaien2vi"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VinAI En-Vi</span></a></div><div aria-haspopup="dialog" aria-expanded="false" data-state="closed" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><a style="text-decoration:underline" href="/vietai"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">VietAI Vi-En</span></a></div></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Source<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)">Cô cho biết: trước giờ tôi không đến phòng tập công cộng, mà tập cùng giáo viên Yoga riêng hoặc tự tập ở nhà. Khi tập thể dục trong không gian riêng tư, tôi thoải mái dễ chịu hơn.</textarea></span></span></div><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145"><div class="_dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _jc-2055030478"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Target<!-- -->: </span><span class="t_sub_theme t_SelectTrigger _dsp_contents is_Theme" style="color:var(--color)"><button type="button" aria-expanded="false" aria-autocomplete="none" aria-disabled="true" disabled="" data-disabled="" aria-haspopup="listbox" role="combobox" data-disable-theme="true" tabindex="0" class="is_ListItem _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _outlineColor-0focus-visible-834034279 _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _pos-relative _mih-1611761821 _miw-0px _fs-0 _pr-1316330176 _pl-1316330176 _pt-1481558183 _pb-1481558183 _jc-441309761 _fw-nowrap _w-1611762844 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _maw-10037 _ox-hidden _oy-hidden _bg-1633501478 _btlr-1881200812 _btrr-1881200812 _bbrr-1881200812 _bblr-1881200812 _cur-pointer _o-0d0t546 _pe-none _btw-1px _brw-1px _bbw-1px _blw-1px _bts-solid _brs-solid _bbs-solid _bls-solid SelectTrigger"><span class=" _dsp_contents is_Theme"><span data-disable-theme="true" class="is_SelectValue font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis _pe-none"></span></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-14px _miw-14px _fs-0 _pe-none _w-14px _h-14px"></span><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset "><path d="m6 9 6 6 6-6" stroke="var(--color)"></path></svg></button></span></div><span class="t_sub_theme t_TextArea _dsp_contents is_Theme" style="color:var(--color)"><span class="_dsp_contents"><textarea rows="7" readOnly="" autoCapitalize="sentences" autoComplete="on" autoCorrect="on" dir="auto" spellCheck="true" virtualkeyboardpolicy="auto" tabindex="0" class="css-11aywtz r-6taxm2 is_TextArea font_body _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _btc-0focus-1452587353 _brc-0focus-1452587353 _bbc-0focus-1452587353 _blc-0focus-1452587353 _outlineColor-0focus-visible-834034279 _outlineWidth-0focus-visible-2px _outlineStyle-0focus-visible-solid _pr-1316330238 _pl-1316330238 _h-196px _btlr-1307609998 _btrr-1307609998 _bbrr-1307609998 _bblr-1307609998 _ff-299667014 _fow-233016202 _ls-167744121 _fos-229441282 _lh-222976635 _pt-1316330207 _pb-1316330207 _btw-1px _brw-1px _bbw-1px _blw-1px _outlineWidth-0px _col-675002279 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _bg-1633501478 _miw-0px _bbs-solid _bts-solid _bls-solid _brs-solid _whiteSpace-pre-wrap _maw-340px" style="--placeholderTextColor:var(--placeholderColor)"></textarea></span></span></div></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" aria-disabled="true" disabled="" data-disable-theme="true" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;position:relative;min-height:0px;min-width:0px;flex-shrink:0;padding-right:var(--space-12);padding-left:var(--space-12);height:var(--size-12);border-top-left-radius:var(--radius-14);border-top-right-radius:var(--radius-14);border-bottom-right-radius:var(--radius-14);border-bottom-left-radius:var(--radius-14);justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;pointer-events:none"><span class=" _dsp_contents is_Theme"><div data-disable-theme="true" class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0"><div role="progressbar" aria-valuemax="1" aria-valuemin="0" class="css-175oi2r r-1awozwy r-1777fci"><div class="css-175oi2r r-z80fyv r-19wmn03 r-17bb2tj r-1muvv40 r-1yef0xd r-1ldzwu0"><svg height="100%" viewBox="0 0 32 32" width="100%"><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);opacity:0.2"></circle><circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke:var(--color);stroke-dasharray:80;stroke-dashoffset:60"></circle></svg></div></div></div></span><span class="is_Spacer _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-9d0t24px46 _fs-0 _pe-none _w-9d0t24px46 _h-0px"></span><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><span class="is_Button font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-nowrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ussel-none _cur-pointer _fg-0 _fs-1 _maw-10037 _ox-hidden _oy-hidden _textOverflow-ellipsis">Translate</span></span></button></span><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-1611761976 _gap-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _h-30px _o-0d0t546">Loading huuquyet/vinai-translate-vi2en-v2 model (511MB)...<!-- --> </span><span class="t_sub_theme t_Progress _dsp_contents is_Theme" style="color:var(--color)"><div aria-valuemax="100" aria-valuemin="0" aria-valuenow="0" aria-valuetext="0%" role="progressbar" data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_Progress _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-320px _fs-0 _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _ox-hidden _oy-hidden _bg-1633501478 _h-16px _w-10037"><span class="t_sub_theme t_ProgressIndicator _dsp_contents is_Theme" style="color:var(--color)"><div data-state="loading" data-value="0" data-max="100" data-disable-theme="true" class="is_ProgressIndicator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _h-10037 _w-0px _bg-1633501478 _o-0" style="transform:translateX(-300px);transition:transform ease-in 200ms"></div></span></div></span></div><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><span class="is_SizableText font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279 _ta-center">Made with<!-- --> <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a></span> + <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a></span>. <span class=" _dsp_contents is_Theme"><a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></span></span></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button " style="display:flex;align-items:center;flex-direction:row;flex-basis:auto;box-sizing:border-box;min-height:var(--size-12);min-width:var(--size-12);flex-shrink:0;justify-content:center;flex-wrap:nowrap;cursor:pointer;background-color:var(--background);border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;outline-color:rgba(0,0,0,0);border-bottom-style:solid;border-top-style:solid;border-left-style:solid;border-right-style:solid;border-top-left-radius:100000px;border-top-right-radius:100000px;border-bottom-right-radius:100000px;border-bottom-left-radius:100000px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;width:var(--size-12);height:var(--size-12);max-width:var(--size-12);max-height:var(--size-12);position:absolute;bottom:40px;left:30px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></div></div></span></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-6b77191a6467b1a0.js" 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/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9750,[\"165\",\"static/chunks/590caa2a-59a62e414f0cb318.js\",\"132\",\"static/chunks/6139e184-f911fd69801d47e5.js\",\"193\",\"static/chunks/50bd76a3-7f4929e6d77cc44d.js\",\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"946\",\"static/chunks/946-a8fc9ef4b57da2f1.js\",\"400\",\"static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js\"],\"Translator\"]\n6:I[9115,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"466\",\"static/chunks/466-f54fd63f687cc06e.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"876\",\"static/chunks/876-318ea795d18aa12d.js\",\"762\",\"static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js\"],\"default\"]\n7:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[6657,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-c7b592a3726d7fed.js\",\"755\",\"static/chunks/755-7de149ecff927fc3.js\",\"185\",\"static/chunks/app/layout-f833b5332569507c.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n8:[\"model\",\"vinaivi2en\",\"d\"]\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"T4kgNp_52zYV_hplOcNWG\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/vinaivi2en\",\"initialTree\":[\"\",{\"children\":[[\"model\",\"vinaivi2en\",\"d\"],{\"children\":[\"__PAGE__?{\\\"model\\\":\\\"vinaivi2en\\\"}\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[[\"model\",\"vinaivi2en\",\"d\"],{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"initSource\":\"vi_VN\",\"initTarget\":\"en_XX\",\"model\":\"huuquyet/vinai-translate-vi2en-v2\",\"example\":\"Cô cho biết: trước giờ tôi không đến phòng tập công cộng, mà tập cùng giáo viên Yoga riêng hoặc tự tập ở nhà. Khi tập thể dục trong không gian riêng tư, tôi thoải mái dễ chịu hơn.\",\"size\":\"511MB\",\"disableSelect\":true,\"LANGUAGES\":{\"Vietnamese\":\"vi_VN\",\"English\":\"en_XX\"}}]],null],null]},[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"$8\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"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\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/images/vercel.svg\"}]]\n4:null\n"])</script></body></html><style></style><style>:root ._h-10037{height:100%;}
|
136 |
+
:root ._w-10037{width:100%;}
|
137 |
+
:root ._btlr-1307609998{border-top-left-radius:var(--radius-5);}
|
138 |
+
:root ._btrr-1307609998{border-top-right-radius:var(--radius-5);}
|
139 |
+
:root ._bbrr-1307609998{border-bottom-right-radius:var(--radius-5);}
|
140 |
+
:root ._bblr-1307609998{border-bottom-left-radius:var(--radius-5);}
|
141 |
+
:root ._dsp-flex{display:flex;}
|
142 |
+
:root ._ai-center{align-items:center;}
|
143 |
+
:root ._fd-column{flex-direction:column;}
|
144 |
+
:root ._fb-auto{flex-basis:auto;}
|
145 |
+
:root ._bxs-border-box{box-sizing:border-box;}
|
146 |
+
:root ._pos-relative{position:relative;}
|
147 |
+
:root ._mih-0px{min-height:0px;}
|
148 |
+
:root ._miw-0px{min-width:0px;}
|
149 |
+
:root ._fs-1{flex-shrink:1;}
|
150 |
+
:root ._fg-1{flex-grow:1;}
|
151 |
+
:root ._jc-center{justify-content:center;}
|
152 |
+
:root ._pt-1316330145{padding-top:var(--space-11);}
|
153 |
+
:root ._pr-1316330145{padding-right:var(--space-11);}
|
154 |
+
:root ._pb-1316330145{padding-bottom:var(--space-11);}
|
155 |
+
:root ._pl-1316330145{padding-left:var(--space-11);}
|
156 |
+
:root ._gap-1316330145{gap:var(--space-11);}
|
157 |
+
:root ._ai-stretch{align-items:stretch;}
|
158 |
+
:root ._fs-0{flex-shrink:0;}
|
159 |
+
:root ._col-675002279{color:var(--color);}
|
160 |
+
:root ._tt-1440318557{text-transform:var(--f-tr-10);}
|
161 |
+
:root ._ff-299667014{font-family:var(--f-fa);}
|
162 |
+
:root ._fow-1366436877{font-weight:var(--f-we-10);}
|
163 |
+
:root ._ls-905095908{letter-spacing:var(--f-21-10);}
|
164 |
+
:root ._fos-1477259397{font-size:var(--f-si-10);}
|
165 |
+
:root ._lh-1677663454{line-height:var(--f-li-10);}
|
166 |
+
:root ._dsp-inline{display:inline;}
|
167 |
+
:root ._ww-break-word{word-wrap:break-word;}
|
168 |
+
:root ._whiteSpace-normal{white-space:normal;}
|
169 |
+
:root ._mt-0px{margin-top:0px;}
|
170 |
+
:root ._mr-0px{margin-right:0px;}
|
171 |
+
:root ._mb-0px{margin-bottom:0px;}
|
172 |
+
:root ._ml-0px{margin-left:0px;}
|
173 |
+
:root ._ussel-auto{user-select:auto;-webkit-user-select:auto;}
|
174 |
+
:root ._ta-center{text-align:center;}
|
175 |
+
:root ._fow-233016140{font-weight:var(--f-we-4);}
|
176 |
+
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
177 |
+
:root ._fos-229441220{font-size:var(--f-si-4);}
|
178 |
+
:root ._lh-222976573{line-height:var(--f-li-4);}
|
179 |
+
:root ._whiteSpace-pre-wrap{white-space:pre-wrap;}
|
180 |
+
:root ._fd-row{flex-direction:row;}
|
181 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
182 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
183 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
184 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
185 |
+
:root ._btw-0px{border-top-width:0px;}
|
186 |
+
:root ._brw-0px{border-right-width:0px;}
|
187 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
188 |
+
:root ._blw-0px{border-left-width:0px;}
|
189 |
+
:root ._h-0px{height:0px;}
|
190 |
+
:root ._mah-0px{max-height:0px;}
|
191 |
+
:root ._als-stretch{align-self:stretch;}
|
192 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
193 |
+
:root ._bts-solid{border-top-style:solid;}
|
194 |
+
:root ._bls-solid{border-left-style:solid;}
|
195 |
+
:root ._brs-solid{border-right-style:solid;}
|
196 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
197 |
+
:root ._jc-2055030478{justify-content:space-evenly;}
|
198 |
+
@media (hover) {:root ._bg-0hover-513675900:hover{background-color:var(--backgroundHover) !important;}}
|
199 |
+
@media (hover) {:root ._btc-0hover-1394778429:hover{border-top-color:var(--borderColorHover) !important;}}
|
200 |
+
@media (hover) {:root ._brc-0hover-1394778429:hover{border-right-color:var(--borderColorHover) !important;}}
|
201 |
+
@media (hover) {:root ._bbc-0hover-1394778429:hover{border-bottom-color:var(--borderColorHover) !important;}}
|
202 |
+
@media (hover) {:root ._blc-0hover-1394778429:hover{border-left-color:var(--borderColorHover) !important;}}
|
203 |
+
:root:root ._bg-0active-744986709:active{background-color:var(--backgroundPress) !important;}
|
204 |
+
:root:root ._btc-0active-1163467620:active{border-top-color:var(--borderColorPress) !important;}
|
205 |
+
:root:root ._brc-0active-1163467620:active{border-right-color:var(--borderColorPress) !important;}
|
206 |
+
:root:root ._bbc-0active-1163467620:active{border-bottom-color:var(--borderColorPress) !important;}
|
207 |
+
:root:root ._blc-0active-1163467620:active{border-left-color:var(--borderColorPress) !important;}
|
208 |
+
:root:root:root ._outlineStyle-0focus-visible-solid:focus-visible{outline-style:solid !important;}
|
209 |
+
:root:root:root ._outlineWidth-0focus-visible-2px:focus-visible{outline-width:2px !important;}
|
210 |
+
:root:root:root ._outlineColor-0focus-visible-834034279:focus-visible{outline-color:var(--outlineColor) !important;}
|
211 |
+
:root ._mih-1611761821{min-height:var(--size-12);}
|
212 |
+
:root ._pr-1316330176{padding-right:var(--space-12);}
|
213 |
+
:root ._pl-1316330176{padding-left:var(--space-12);}
|
214 |
+
:root ._pt-1481558183{padding-top:var(--space-8);}
|
215 |
+
:root ._pb-1481558183{padding-bottom:var(--space-8);}
|
216 |
+
:root ._jc-441309761{justify-content:space-between;}
|
217 |
+
:root ._fw-nowrap{flex-wrap:nowrap;}
|
218 |
+
:root ._w-1611762844{width:var(--size-24);}
|
219 |
+
:root ._maw-10037{max-width:100%;}
|
220 |
+
:root ._ox-hidden{overflow-x:hidden;}
|
221 |
+
:root ._oy-hidden{overflow-y:hidden;}
|
222 |
+
:root ._bg-1633501478{background-color:var(--background);}
|
223 |
+
:root ._btlr-1881200812{border-top-left-radius:var(--radius-14);}
|
224 |
+
:root ._btrr-1881200812{border-top-right-radius:var(--radius-14);}
|
225 |
+
:root ._bbrr-1881200812{border-bottom-right-radius:var(--radius-14);}
|
226 |
+
:root ._bblr-1881200812{border-bottom-left-radius:var(--radius-14);}
|
227 |
+
:root ._cur-pointer{cursor:pointer;}
|
228 |
+
:root ._o-0d0t546{opacity:0.5;}
|
229 |
+
:root ._pe-none{pointer-events:none !important;}
|
230 |
+
:root ._btw-1px{border-top-width:1px;}
|
231 |
+
:root ._brw-1px{border-right-width:1px;}
|
232 |
+
:root ._blw-1px{border-left-width:1px;}
|
233 |
+
:root ._whiteSpace-nowrap{white-space:nowrap;}
|
234 |
+
:root ._ussel-none{user-select:none;-webkit-user-select:none;}
|
235 |
+
:root ._textOverflow-ellipsis{text-overflow:ellipsis;}
|
236 |
+
:root ._mih-14px{min-height:14px;}
|
237 |
+
:root ._miw-14px{min-width:14px;}
|
238 |
+
:root ._w-14px{width:14px;}
|
239 |
+
:root ._h-14px{height:14px;}
|
240 |
+
:root:root:root ._btc-0focus-1452587353:focus{border-top-color:var(--borderColorFocus) !important;}
|
241 |
+
:root:root:root ._brc-0focus-1452587353:focus{border-right-color:var(--borderColorFocus) !important;}
|
242 |
+
:root:root:root ._bbc-0focus-1452587353:focus{border-bottom-color:var(--borderColorFocus) !important;}
|
243 |
+
:root:root:root ._blc-0focus-1452587353:focus{border-left-color:var(--borderColorFocus) !important;}
|
244 |
+
:root ._pr-1316330238{padding-right:var(--space-14);}
|
245 |
+
:root ._pl-1316330238{padding-left:var(--space-14);}
|
246 |
+
:root ._h-196px{height:196px;}
|
247 |
+
:root ._fow-233016202{font-weight:var(--f-we-6);}
|
248 |
+
:root ._ls-167744121{letter-spacing:var(--f-21-6);}
|
249 |
+
:root ._fos-229441282{font-size:var(--f-si-6);}
|
250 |
+
:root ._lh-222976635{line-height:var(--f-li-6);}
|
251 |
+
:root ._pt-1316330207{padding-top:var(--space-13);}
|
252 |
+
:root ._pb-1316330207{padding-bottom:var(--space-13);}
|
253 |
+
:root ._outlineWidth-0px{outline-width:0px;}
|
254 |
+
:root ._maw-340px{max-width:340px;}
|
255 |
+
:root ._miw-9d0t24px46{min-width:9.24px;}
|
256 |
+
:root ._w-9d0t24px46{width:9.24px;}
|
257 |
+
:root ._fg-0{flex-grow:0;}
|
258 |
+
:root ._h-1611761976{height:var(--size-17);}
|
259 |
+
:root ._h-30px{height:30px;}
|
260 |
+
:root ._miw-320px{min-width:320px;}
|
261 |
+
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
262 |
+
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
263 |
+
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
264 |
+
:root ._bblr-100000px{border-bottom-left-radius:100000px;}
|
265 |
+
:root ._h-16px{height:16px;}
|
266 |
+
:root ._w-0px{width:0px;}
|
267 |
+
:root ._o-0{opacity:0;}
|
268 |
+
:root ._pos-absolute{position:absolute;}
|
269 |
+
:root ._b-1316330145{bottom:var(--space-11);}</style><script class="jsx-6d3d93ee53889f68">document.documentElement.classList.add('t_unmounted')</script>
|
vinaivi2en.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
2:I[9750,["165","static/chunks/590caa2a-
|
2 |
-
3:I[9115,["143","static/chunks/143-
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
-
7:I[6657,["143","static/chunks/143-
|
6 |
-
8:I[2944,["143","static/chunks/143-
|
7 |
5:["model","vinaivi2en","d"]
|
8 |
-
0:["
|
9 |
-
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/
|
10 |
1:null
|
|
|
1 |
+
2:I[9750,["165","static/chunks/590caa2a-59a62e414f0cb318.js","132","static/chunks/6139e184-f911fd69801d47e5.js","193","static/chunks/50bd76a3-7f4929e6d77cc44d.js","143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","946","static/chunks/946-a8fc9ef4b57da2f1.js","400","static/chunks/app/%5Bmodel%5D/page-1ad28b3ad643ed0e.js"],"Translator"]
|
2 |
+
3:I[9115,["143","static/chunks/143-c7b592a3726d7fed.js","466","static/chunks/466-f54fd63f687cc06e.js","755","static/chunks/755-7de149ecff927fc3.js","876","static/chunks/876-318ea795d18aa12d.js","762","static/chunks/app/%5Bmodel%5D/layout-81c98ff8b290c9fd.js"],"default"]
|
3 |
4:I[9275,[],""]
|
4 |
6:I[1343,[],""]
|
5 |
+
7:I[6657,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"default"]
|
6 |
+
8:I[2944,["143","static/chunks/143-c7b592a3726d7fed.js","755","static/chunks/755-7de149ecff927fc3.js","185","static/chunks/app/layout-f833b5332569507c.js"],"Analytics"]
|
7 |
5:["model","vinaivi2en","d"]
|
8 |
+
0:["T4kgNp_52zYV_hplOcNWG",[[["",{"children":[["model","vinaivi2en","d"],{"children":["__PAGE__?{\"model\":\"vinaivi2en\"}",{}]}]},"$undefined","$undefined",true],["",{"children":[["model","vinaivi2en","d"],{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"initSource":"vi_VN","initTarget":"en_XX","model":"huuquyet/vinai-translate-vi2en-v2","example":"Cô cho biết: trước giờ tôi không đến phòng tập công cộng, mà tập cùng giáo viên Yoga riêng hoặc tự tập ở nhà. Khi tập thể dục trong không gian riêng tư, tôi thoải mái dễ chịu hơn.","size":"511MB","disableSelect":true,"LANGUAGES":{"Vietnamese":"vi_VN","English":"en_XX"}}]],null],null]},[["$","$L3",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","$5","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]}],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L7",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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}]}],["$","$L8",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L9"]]]]
|
9 |
+
9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/images/vercel.svg"}]]
|
10 |
1:null
|