PageSourceSearch

https://totemstudio.ai/_nuxt/D9HyzTOM.js

js totemstudio.ai collected 2026-10-05 15:02:08 UTC 4,213 bytes, 1 lines download raw bytes

1import{$n as e,Dn as t,Er as n,_n as r,bn as i,gn as a,ii as o,li as s,nr as c,qt as l,un as u,yn as d}from"./DF1FRsEd.js";import{t as f,x as p}from"#entry";l();var m=[`role`,`aria-label`],h=[`lang`,`title`,`aria-checked`,`onClick`],g=[`src`],_={class:`locale-menu__name`},v={key:0,class:`locale-family__check`,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},y=[`lang`,`title`,`aria-haspopup`,`aria-current`,`onClick`],b=[`src`],x={class:`locale-menu__name`},S={key:0,class:`locale-menu__edition`},C={key:1,class:`locale-family__check`,viewBox:`0 0 24 24`,width:`15`,height:`15`,fill:`none`,stroke:`currentColor`,"stroke-width":`2.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},w={key:2,class:`locale-menu__chevron`,viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},T=[`aria-label`],E={key:0,class:`locale-family__name`},D={class:`locale-family__segments`},O=[`lang`,`title`,`aria-label`,`aria-pressed`,`onClick`],k=[`src`],A={class:`locale-family__option-name`},j=Object.assign(f(t({__name:`LanguageGroups`,props:{options:{},activeCode:{},label:{},variant:{default:`menu`}},emits:[`select`],setup(t,{emit:l}){let f=t,j=l,M=a(()=>p(f.options)),N=n(null),P=a(()=>M.value.find(e=>e.id===N.value));function F(e){return e.options.find(e=>e.code===f.activeCode)}function I(e){return!!F(e)}function L(e){return F(e)??e.options[0]}function R(e){if(e.options.length===1){j(`select`,e.options[0]);return}N.value=e.id}return(n,a)=>(e(),i(`div`,{class:o([`locale-groups`,`locale-groups--${t.variant}`]),role:t.variant===`menu`?`menu`:`group`,"aria-label":t.label},[t.variant===`menu`?(e(),i(u,{key:0},[P.value?(e(),i(u,{key:0},[r(`button`,{type:`button`,class:`locale-menu__back`,role:`menuitem`,onClick:a[0]||=e=>N.value=null},[a[1]||=r(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"aria-hidden":`true`},[r(`path`,{d:`m15 18-6-6 6-6`})],-1),r(`span`,null,s(P.value.name),1)]),(e(!0),i(u,null,c(P.value.options,n=>(e(),i(`button`,{key:n.code,type:`button`,class:o([`locale-menu__row locale-menu__variant`,{"is-active":n.code===t.activeCode}]),lang:n.language,title:n.name,role:`menuitemradio`,"aria-checked":n.code===t.activeCode,onClick:e=>j(`select`,n)},[r(`img`,{class:`locale-family__flag`,src:n.flag,alt:``,"aria-hidden":`true`},null,8,g),r(`span`,_,s(n.variantName??n.name),1),n.code===t.activeCode?(e(),i(`svg`,v,[...a[2]||=[r(`path`,{d:`M20 6 9 17l-5-5`},null,-1)]])):d(``,!0)],10,h))),128))],64)):(e(!0),i(u,{key:1},c(M.value,t=>(e(),i(`button`,{key:t.id,type:`button`,class:o([`locale-menu__row`,{"is-active":I(t)}]),lang:t.options[0]?.language,title:t.name,role:`menuitem`,"aria-haspopup":t.options.length>1?`menu`:void 0,"aria-current":I(t)?`true`:void 0,onClick:e=>R(t)},[r(`img`,{class:`locale-family__flag`,src:L(t).flag,alt:``,"aria-hidden":`true`},null,8,b),r(`span`,x,s(t.name),1),F(t)?.variantName?(e(),i(`span`,S,s(F(t)?.variantName),1)):d(``,!0),t.options.length===1&&I(t)?(e(),i(`svg`,C,[...a[3]||=[r(`path`,{d:`M20 6 9 17l-5-5`},null,-1)]])):t.options.length>1?(e(),i(`svg`,w,[...a[4]||=[r(`path`,{d:`m9 18 6-6-6-6`},null,-1)]])):d(``,!0)],10,y))),128))],64)):(e(!0),i(u,{key:1},c(M.value,n=>(e(),i(`div`,{key:n.id,class:o([`locale-family`,{"locale-family--single":n.options.length===1}]),role:`group`,"aria-label":n.name},[n.options.length>1?(e(),i(`span`,E,s(n.name),1)):d(``,!0),r(`div`,D,[(e(!0),i(u,null,c(n.options,a=>(e(),i(`button`,{key:a.code,type:`button`,class:o([`locale-family__option`,{"is-active":a.code===t.activeCode}]),lang:a.language,title:a.name,"aria-label":a.name,"aria-pressed":a.code===t.activeCode,onClick:e=>j(`select`,a)},[r(`img`,{class:`locale-family__flag`,src:a.flag,alt:``,"aria-hidden":`true`},null,8,k),r(`span`,A,s(n.options.length>1?a.variantName:a.name),1)],10,O))),128))])],10,T))),128))],10,m))}}),[[`__scopeId`,`data-v-ad94dafb`]]),{__name:`GeneralLanguageGroups`});export{j as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.