PageSourceSearch

https://spruengli.ch/assets/i18n-iKdQ_CXT.js

js spruengli.ch collected 2026-09-24 21:44:56 UTC 30,697 bytes, 1 lines download raw bytes

1import{r as l,j as o}from"./chunk-WWGJGFF6-Y7J88AfK.js";import{f as ia,h as Oa}from"./root-VQxakLsp.js";import{I as na}from"./icon-BFpWRm-O.js";import{r as Ta}from"./index-3kWZSe0R.js";import{i as va,c as wa,u as Ca,P as Ea,b as C,z as U,B as ya,E as ga,m as Pa,h as ba}from"./use-fetcher-callbacks-BNdikNsM.js";import{P as x,V as la,d as xa}from"./fetcher-DeZlj-cp.js";var X="ToastProvider",[$,Ra,Ma]=va("Toast"),[oa]=wa("Toast",[Ma]),[Na,H]=oa(X),ta=e=>{const{__scopeToast:i,label:n="Notification",duration:a=5e3,swipeDirection:t="right",swipeThreshold:d=50,children:p}=e,[f,S]=l.useState(null),[r,I]=l.useState(0),_=l.useRef(!1),R=l.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${X}\`. Expected non-empty \`string\`.`),o.jsx($.Provider,{scope:i,children:o.jsx(Na,{scope:i,label:n,duration:a,swipeDirection:t,swipeThreshold:d,toastCount:r,viewport:f,onViewportChange:S,onToastAdd:l.useCallback(()=>I(g=>g+1),[]),onToastRemove:l.useCallback(()=>I(g=>g-1),[]),isFocusedToastEscapeKeyDownRef:_,isClosePausedRef:R,children:p})})};ta.displayName=X;var ra="ToastViewport",Fa=["F8"],Z="toast.viewportPause",J="toast.viewportResume",sa=l.forwardRef((e,i)=>{const{__scopeToast:n,hotkey:a=Fa,label:t="Notifications ({hotkey})",...d}=e,p=H(ra,n),f=Ra(n),S=l.useRef(null),r=l.useRef(null),I=l.useRef(null),_=l.useRef(null),R=ia(i,_,p.onViewportChange),g=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=p.toastCount>0;l.useEffect(()=>{const c=O=>{a.length!==0&&a.every(h=>O[h]||O.code===h)&&_.current?.focus()};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[a]),l.useEffect(()=>{const c=S.current,O=_.current;if(P&&c&&O){const m=()=>{if(!p.isClosePausedRef.current){const A=new CustomEvent(Z);O.dispatchEvent(A),p.isClosePausedRef.current=!0}},h=()=>{if(p.isClosePausedRef.current){const A=new CustomEvent(J);O.dispatchEvent(A),p.isClosePausedRef.current=!1}},T=A=>{!c.contains(A.relatedTarget)&&h()},v=()=>{c.contains(document.activeElement)||h()};return c.addEventListener("focusin",m),c.addEventListener("focusout",T),c.addEventListener("pointermove",m),c.addEventListener("pointerleave",v),window.addEventListener("blur",m),window.addEventListener("focus",h),()=>{c.removeEventListener("focusin",m),c.removeEventListener("focusout",T),c.removeEventListener("pointermove",m),c.removeEventListener("pointerleave",v),window.removeEventListener("blur",m),window.removeEventListener("focus",h)}}},[P,p.isClosePausedRef]);const u=l.useCallback(({tabbingDirection:c})=>{const m=f().map(h=>{const T=h.ref.current,v=[T,...Ja(T)];return c==="forwards"?v:v.reverse()});return(c==="forwards"?m.reverse():m).flat()},[f]);return l.useEffect(()=>{const c=_.current;if(c){const O=m=>{const h=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!h){const v=document.activeElement,A=m.shiftKey;if(m.target===c&&A){r.current?.focus();return}const N=u({tabbingDirection:A?"backwards":"forwards"}),G=N.findIndex(b=>b===v);Y(N.slice(G+1))?m.preventDefault():A?r.current?.focus():I.current?.focus()}};return c.addEventListener("keydown",O),()=>c.removeEventListener("keydown",O)}},[f,u]),o.jsxs(ya,{ref:S,role:"region","aria-label":t.replace("{hotkey}",g),tabIndex:-1,style:{pointerEvents:P?void 0:"none"},children:[P&&o.jsx(z,{ref:r,onFocusFromOutsideViewport:()=>{const c=u({tabbingDirection:"forwards"});Y(c)}}),o.jsx($.Slot,{scope:n,children:o.jsx(x.ol,{tabIndex:-1,...d,ref:R})}),P&&o.jsx(z,{ref:I,onFocusFromOutsideViewport:()=>{const c=u({tabbingDirection:"backwards"});Y(c)}})]})});sa.displayName=ra;var ca="ToastFocusProxy",z=l.forwardRef((e,i)=>{const{__scopeToast:n,onFocusFromOutsideViewport:a,...t}=e,d=H(ca,n);return o.jsx(la,{tabIndex:0,...t,ref:i,style:{position:"fixed"},onFocus:p=>{const f=p.relatedTarget;!d.viewport?.contains(f)&&a()}})});z.displayName=ca;var L="Toast",Da="toast.swipeStart",La="toast.swipeMove",Ba="toast.swipeCancel",Ga="toast.swipeEnd",fa=l.forwardRef((e,i)=>{const{forceMount:n,open:a,defaultOpen:t,onOpenChange:d,...p}=e,[f,S]=Ca({prop:a,defaultProp:t??!0,onChange:d,caller:L});return o.jsx(Ea,{present:n||f,children:o.jsx(ka,{open:f,...p,ref:i,onClose:()=>S(!1),onPause:U(e.onPause),onResume:U(e.onResume),onSwipeStart:C(e.onSwipeStart,r=>{r.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:C(e.onSwipeMove,r=>{const{x:I,y:_}=r.detail.delta;r.currentTarget.setAttribute("data-swipe","move"),r.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${I}px`),r.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${_}px`)}),onSwipeCancel:C(e.onSwipeCancel,r=>{r.currentTarget.setAttribute("data-swipe","cancel"),r.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),r.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),r.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),r.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:C(e.onSwipeEnd,r=>{const{x:I,y:_}=r.detail.delta;r.currentTarget.setAttribute("data-swipe","end"),r.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),r.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),r.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${I}px`),r.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${_}px`),S(!1)})})})});fa.displayName=L;var[Ka,ja]=oa(L,{onClose(){}}),ka=l.forwardRef((e,i)=>{const{__scopeToast:n,type:a="foreground",duration:t,open:d,onClose:p,onEscapeKeyDown:f,onPause:S,onResume:r,onSwipeStart:I,onSwipeMove:_,onSwipeCancel:R,onSwipeEnd:g,...P}=e,u=H(L,n),[c,O]=l.useState(null),m=ia(i,s=>O(s)),h=l.useRef(null),T=l.useRef(null),v=t||u.duration,A=l.useRef(0),M=l.useRef(v),B=l.useRef(0),{onToastAdd:N,onToastRemove:G}=u,b=U(()=>{c?.contains(document.activeElement)&&u.viewport?.focus(),p()}),K=l.useCallback(s=>
1{!s||s===1/0||(window.clearTimeout(B.current),A.current=new Date().getTime(),B.current=window.setTimeout(b,s))},[b]);l.useEffect(()=>{const s=u.viewport;if(s){const E=()=>{K(M.current),r?.()},y=()=>{const F=new Date().getTime()-A.current;M.current=M.current-F,window.clearTimeout(B.current),S?.()};return s.addEventListener(Z,y),s.addEventListener(J,E),()=>{s.removeEventListener(Z,y),s.removeEventListener(J,E)}}},[u.viewport,v,S,r,K]),l.useEffect(()=>{d&&!u.isClosePausedRef.current&&K(v)},[d,v,u.isClosePausedRef,K]),l.useEffect(()=>(N(),()=>G()),[N,G]);const Q=l.useMemo(()=>c?ha(c):null,[c]);return u.viewport?o.jsxs(o.Fragment,{children:[Q&&o.jsx(Va,{__scopeToast:n,role:"status","aria-live":a==="foreground"?"assertive":"polite",children:Q}),o.jsx(Ka,{scope:n,onClose:b,children:Ta.createPortal(o.jsx($.ItemSlot,{scope:n,children:o.jsx(ga,{asChild:!0,onEscapeKeyDown:C(f,()=>{u.isFocusedToastEscapeKeyDownRef.current||b(),u.isFocusedToastEscapeKeyDownRef.current=!1}),children:o.jsx(x.li,{tabIndex:0,"data-state":d?"open":"closed","data-swipe-direction":u.swipeDirection,...P,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:C(e.onKeyDown,s=>{s.key==="Escape"&&(f?.(s.nativeEvent),s.nativeEvent.defaultPrevented||(u.isFocusedToastEscapeKeyDownRef.current=!0,b()))}),onPointerDown:C(e.onPointerDown,s=>{s.button===0&&(h.current={x:s.clientX,y:s.clientY})}),onPointerMove:C(e.onPointerMove,s=>{if(!h.current)return;const E=s.clientX-h.current.x,y=s.clientY-h.current.y,F=!!T.current,D=["left","right"].includes(u.swipeDirection),j=["left","up"].includes(u.swipeDirection)?Math.min:Math.max,Aa=D?j(0,E):0,_a=D?0:j(0,y),W=s.pointerType==="touch"?10:2,k={x:Aa,y:_a},aa={originalEvent:s,delta:k};F?(T.current=k,V(La,_,aa,{discrete:!1})):ea(k,u.swipeDirection,W)?(T.current=k,V(Da,I,aa,{discrete:!1}),s.target.setPointerCapture(s.pointerId)):(Math.abs(E)>W||Math.abs(y)>W)&&(h.current=null)}),onPointerUp:C(e.onPointerUp,s=>{const E=T.current,y=s.target;if(y.hasPointerCapture(s.pointerId)&&y.releasePointerCapture(s.pointerId),T.current=null,h.current=null,E){const F=s.currentTarget,D={originalEvent:s,delta:E};ea(E,u.swipeDirection,u.swipeThreshold)?V(Ga,g,D,{discrete:!0}):V(Ba,R,D,{discrete:!0}),F.addEventListener("click",j=>j.preventDefault(),{once:!0})}})})})}),u.viewport)})]}):null}),Va=e=>{const{__scopeToast:i,children:n,...a}=e,t=H(L,i),[d,p]=l.useState(!1),[f,S]=l.useState(!1);return Ya(()=>p(!0)),l.useEffect(()=>{const r=window.setTimeout(()=>S(!0),1e3);return()=>window.clearTimeout(r)},[]),f?null:o.jsx(Pa,{asChild:!0,children:o.jsx(la,{...a,children:d&&o.jsxs(o.Fragment,{children:[t.label," ",n]})})})},Ua="ToastTitle",da=l.forwardRef((e,i)=>{const{__scopeToast:n,...a}=e;return o.jsx(x.div,{...a,ref:i})});da.displayName=Ua;var Ha="ToastDescription",pa=l.forwardRef((e,i)=>{const{__scopeToast:n,...a}=e;return o.jsx(x.div,{...a,ref:i})});pa.displayName=Ha;var ua="ToastAction",Wa=l.forwardRef((e,i)=>{const{altText:n,...a}=e;return n.trim()?o.jsx(Sa,{altText:n,asChild:!0,children:o.jsx(q,{...a,ref:i})}):(console.error(`Invalid prop \`altText\` supplied to \`${ua}\`. Expected non-empty \`string\`.`),null)});Wa.displayName=ua;var ma="ToastClose",q=l.forwardRef((e,i)=>{const{__scopeToast:n,...a}=e,t=ja(ma,n);return o.jsx(Sa,{asChild:!0,children:o.jsx(x.button,{type:"button",...a,ref:i,onClick:C(e.onClick,t.onClose)})})});q.displayName=ma;var Sa=l.forwardRef((e,i)=>{const{__scopeToast:n,altText:a,...t}=e;return o.jsx(x.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":a||void 0,...t,ref:i})});function ha(e){const i=[];return Array.from(e.childNodes).forEach(a=>{if(a.nodeType===a.TEXT_NODE&&a.textContent&&i.push(a.textContent),Za(a)){const t=a.ariaHidden||a.hidden||a.style.display==="none",d=a.dataset.radixToastAnnounceExclude==="";if(!t)if(d){const p=a.dataset.radixToastAnnounceAlt;p&&i.push(p)}else i.push(...ha(a))}}),i}function V(e,i,n,{discrete:a}){const t=n.originalEvent.currentTarget,d=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});i&&t.addEventListener(e,i,{once:!0}),a?xa(t,d):t.dispatchEvent(d)}var ea=(e,i,n=0)=>{const a=Math.abs(e.x),t=Math.abs(e.y),d=a>t;return i==="left"||i==="right"?d&&a>n:!d&&t>n};function Ya(e=()=>{}){const i=U(e);ba(()=>{let n=0,a=0;return n=window.requestAnimationFrame(()=>a=window.requestAnimationFrame(i)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(a)}},[i])}
1function Za(e){return e.nodeType===e.ELEMENT_NODE}function Ja(e){const i=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const t=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||t?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)i.push(n.currentNode);return i}function Y(e){const i=document.activeElement;return e.some(n=>n===i?!0:(n.focus(),document.activeElement!==i))}var za=ta,Xa=sa,$a=fa,qa=da,Qa=pa,ae=q;const ee="_base_1gd0r_1",ie="_success_1gd0r_39",ne="_error_1gd0r_43",le="_warning_1gd0r_47",oe="_container_1gd0r_51",te="_content_1gd0r_57",re="_title_1gd0r_62",se="_description_1gd0r_70",ce="_close_1gd0r_78",fe="_viewport_1gd0r_92",de="_icon-container_1gd0r_108",w={base:ee,default:"_default_1gd0r_35",success:ie,error:ne,warning:le,container:oe,content:te,title:re,description:se,close:ce,viewport:fe,iconContainer:de},pe=Oa(w.base,{variants:{variant:{default:w.default,success:w.success,error:w.error,warning:w.warning}},defaultVariants:{variant:"default"}}),Ia=l.createContext(void 0);function Ce({children:e}){const[i,n]=l.useState([]),a=l.useCallback(f=>{const S=crypto.randomUUID(),r={...f,id:S,open:!0};n(I=>[...I,r])},[]),t=l.useMemo(()=>({success:f=>a({...f,variant:"success"}),error:f=>a({...f,variant:"error"}),warning:f=>a({...f,variant:"warning"}),default:f=>a({...f,variant:"default"})}),[a]),d=l.useCallback(f=>{n(S=>S.map(r=>r.id===f?{...r,open:!1}:r))},[]),p=l.useCallback(f=>{n(S=>S.filter(r=>r.id!==f))},[]);return o.jsx(Ia.Provider,{value:{__toasts:i,toast:t,__dismiss:d,__remove:p},children:e})}function ue(){const e=l.useContext(Ia);if(!e)throw new Error("useToast must be used within a ToastProvider");return e}function Ee(){const{__toasts:e,__remove:i,__dismiss:n}=ue();return o.jsxs(za,{swipeDirection:"up",children:[e.map(a=>o.jsx($a,{className:pe({variant:a.variant}),open:a.open??!0,duration:a.duration||5e3,onOpenChange:t=>{t||(n(a.id),setTimeout(()=>{i(a.id)},200))},children:o.jsxs("div",{className:w.container,children:[a.variant&&o.jsx(me,{variant:a.variant}),o.jsxs("div",{className:w.content,children:[a.title&&o.jsx(qa,{className:w.title,children:a.title}),o.jsx(Qa,{className:w.description,children:a.description})]}),o.jsx(ae,{className:w.close,children:o.jsx(na,{iconKey:"UIClose",svgProps:{width:12}})})]})},a.id)),o.jsx(Xa,{className:w.viewport})]})}function me({variant:e}){const n=["error","success"].includes(e)?"div":l.Fragment,a=l.useMemo(()=>({success:"UICheck",error:"UIError",warning:"UIInfo",default:"UIInfo"}),[]),t=l.useMemo(()=>({success:"var(--interaction-success)",error:"var(--interaction-error)",warning:"var(--interaction-attention)",default:"var(--gold-60)"}),[]);return o.jsx(n,{className:w.iconContainer,style:{"--border-color":t[e]},children:o.jsx(na,{iconKey:a[e],svgProps:{width:20,color:t[e]}})})}const Se=JSON.parse(`[{"official_name":"Afghanistan","ISO3166-1-Alpha-2":"AF","dial":93},{"official_name":"Anguilla","ISO3166-1-Alpha-2":"AI","dial":"1-264"},{"official_name":"Albania","ISO3166-1-Alpha-2":"AL","dial":355},{"official_name":"Åland Islands","ISO3166-1-Alpha-2":"AX","dial":358},{"official_name":"Algeria","ISO3166-1-Alpha-2":"DZ","dial":213},{"official_name":"Andorra","ISO3166-1-Alpha-2":"AD","dial":376},{"official_name":"Angola","ISO3166-1-Alpha-2":"AO","dial":244},{"official_name":"Bonaire, Sint Eustatius and Saba","ISO3166-1-Alpha-2":"BQ","dial":599},{"official_name":"Argentina","ISO3166-1-Alpha-2":"AR","dial":54},{"official_name":"Armenia","ISO3166-1-Alpha-2":"AM","dial":374},{"official_name":"Aruba","ISO3166-1-Alpha-2":"AW","dial":297},{"official_name":"American Samoa","ISO3166-1-Alpha-2":"AS","dial":"1-684"},{"official_name":"Antigua and Barbuda","ISO3166-1-Alpha-2":"AG","dial":"1-268"},{"official_name":"Australia","ISO3166-1-Alpha-2":"AU","dial":61},{"official_name":"Austria","ISO3166-1-Alpha-2":"AT","dial":43},{"official_name":"Azerbaijan","ISO3166-1-Alpha-2":"AZ","dial":994},{"official_name":"Bahamas","ISO3166-1-Alpha-2":"BS","dial":"1-242"},{"official_name":"Bangladesh","ISO3166-1-Alpha-2":"BD","dial":880},{"official_name":"Burundi","ISO3166-1-Alpha-2":"BI","dial":257},{"official_name":"Belgium","ISO3166-1-Alpha-2":"BE","dial":32},{"official_name":"Benin","ISO3166-1-Alpha-2":"BJ","dial":229},{"official_name":"Bermuda","ISO3166-1-Alpha-2":"BM","dial":"1-441"},{"official_name":"Burkina Faso","ISO3166-1-Alpha-2":"BF","dial":226},{"official_name":"Bahrain","ISO3166-1-Alpha-2":"BH","dial":973},{"official_name":"Bhutan","ISO3166-1-Alpha-2":"BT","dial":975},{"official_name":"Bosnia and Herzegovina","ISO3166-1-Alpha-2":"BA","dial":387},{"official_name":"Belarus","ISO3166-1-Alpha-2":"BY","dial":375},{"official_name":"Belize","ISO3166-1-Alpha-2":"BZ","dial":501},{"official_name":"Bolivia (Plurinational State of)","ISO3166-1-Alpha-2":"BO","dial":591},{"official_name":"Botswana","ISO3166-1-Alpha-2":"BW","dial":267},{"official_name":"Brazil","ISO3166-1-Alpha-2":"BR","dial":55},{"official_name":"Barbados","ISO3166-1-Alpha-2":"BB","dial":"1-246"},{"official_name":"Brunei Darussalam","ISO3166-1-Alpha-2":"BN","dial":673},{"official_name":"Bulgaria","ISO3166-1-Alpha-2":"BG","dial":359},{"official_name":"Cambodia","ISO3166-1-Alpha-2":"KH","dial":855},{"official_name":"Canada","ISO3166-1-Alpha-2":"CA","dial":1},{"official_name":"Cayman Islands","ISO3166-1-Alpha-2":"KY","dial":"1-345"},{"official_name":"Cocos (Keeling) Islands","ISO3166-1-Alpha-2":"CC","dial":61},{"official_name":"Congo","ISO3166-1-Alpha-2":"CG","dial":242},{"official_name":"Chad","ISO3166-1-Alpha-2":"TD","dial":235},{"official_name":"Chile","ISO3166-1-Alpha-2":"CL","dial":56},{"official_name":"China","ISO3166-1-Alpha-2":"CN","dial":86},{"official_name":"Ivory Coast","ISO3166-1-Alpha-2":"CI","dial":225}
1,{"official_name":"Cameroon","ISO3166-1-Alpha-2":"CM","dial":237},{"official_name":"Democratic Republic of the Congo","ISO3166-1-Alpha-2":"CD","dial":243},{"official_name":"Cook Islands","ISO3166-1-Alpha-2":"CK","dial":682},{"official_name":"Colombia","ISO3166-1-Alpha-2":"CO","dial":57},{"official_name":"Comoros","ISO3166-1-Alpha-2":"KM","dial":269},{"official_name":"Cabo Verde","ISO3166-1-Alpha-2":"CV","dial":238},{"official_name":"Costa Rica","ISO3166-1-Alpha-2":"CR","dial":506},{"official_name":"Croatia","ISO3166-1-Alpha-2":"HR","dial":385},{"official_name":"Central African Republic","ISO3166-1-Alpha-2":"CF","dial":236},{"official_name":"Cuba","ISO3166-1-Alpha-2":"CU","dial":53},{"official_name":"Christmas Island","ISO3166-1-Alpha-2":"CX","dial":61},{"official_name":"Cyprus","ISO3166-1-Alpha-2":"CY","dial":357},{"official_name":"Czechia","ISO3166-1-Alpha-2":"CZ","dial":420},{"official_name":"Denmark","ISO3166-1-Alpha-2":"DK","dial":45},{"official_name":"Djibouti","ISO3166-1-Alpha-2":"DJ","dial":253},{"official_name":"Dominica","ISO3166-1-Alpha-2":"DM","dial":"1-767"},{"official_name":"Dominican Republic","ISO3166-1-Alpha-2":"DO","dial":"1-809,1-829,1-849"},{"official_name":"Ecuador","ISO3166-1-Alpha-2":"EC","dial":593},{"official_name":"Egypt","ISO3166-1-Alpha-2":"EG","dial":20},{"official_name":"Equatorial Guinea","ISO3166-1-Alpha-2":"GQ","dial":240},{"official_name":"Eritrea","ISO3166-1-Alpha-2":"ER","dial":291},{"official_name":"Spain","ISO3166-1-Alpha-2":"ES","dial":34},{"official_name":"Estonia","ISO3166-1-Alpha-2":"EE","dial":372},{"official_name":"Ethiopia","ISO3166-1-Alpha-2":"ET","dial":251},{"official_name":"Fiji","ISO3166-1-Alpha-2":"FJ","dial":679},{"official_name":"Finland","ISO3166-1-Alpha-2":"FI","dial":358},{"official_name":"Falkland Islands","ISO3166-1-Alpha-2":"FK","dial":500},{"official_name":"France","ISO3166-1-Alpha-2":"FR","dial":33},{"official_name":"Faroe Islands","ISO3166-1-Alpha-2":"FO","dial":298},{"official_name":"Micronesia (Federated States of)","ISO3166-1-Alpha-2":"FM","dial":691},{"official_name":"Gabon","ISO3166-1-Alpha-2":"GA","dial":241},{"official_name":"Gambia","ISO3166-1-Alpha-2":"GM","dial":220},{"official_name":"Guernsey","ISO3166-1-Alpha-2":"GG","dial":44},{"official_name":"Jersey","ISO3166-1-Alpha-2":"JE","dial":44},{"official_name":"Isle of Man","ISO3166-1-Alpha-2":"IM","dial":44},{"official_name":"Gibraltar","ISO3166-1-Alpha-2":"GI","dial":350},{"official_name":"Georgia","ISO3166-1-Alpha-2":"GE","dial":995},{"official_name":"Germany","ISO3166-1-Alpha-2":"DE","dial":49},{"official_name":"Ghana","ISO3166-1-Alpha-2":"GH","dial":233},{"official_name":"Guadeloupe","ISO3166-1-Alpha-2":"GP","dial":590},{"official_name":"Guinea-Bissau","ISO3166-1-Alpha-2":"GW","dial":245},{"official_name":"Greece","ISO3166-1-Alpha-2":"GR","dial":30},{"official_name":"Greenland","ISO3166-1-Alpha-2":"GL","dial":299},{"official_name":"Grenada","ISO3166-1-Alpha-2":"GD","dial":"1-473"},{"official_name":"Guatemala","ISO3166-1-Alpha-2":"GT","dial":502},{"official_name":"French Guiana","ISO3166-1-Alpha-2":"GF","dial":594},{"official_name":"Guinea","ISO3166-1-Alpha-2":"GN","dial":224},{"official_name":"Guam","ISO3166-1-Alpha-2":"GU","dial":"1-671"},{"official_name":"Guyana","ISO3166-1-Alpha-2":"GY","dial":592},{"official_name":"Haiti","ISO3166-1-Alpha-2":"HT","dial":509},{"official_name":"China, Hong Kong Special Administrative Region","ISO3166-1-Alpha-2":"HK","dial":852},{"official_name":"Honduras","ISO3166-1-Alpha-2":"HN","dial":504},{"official_name":"Hungary","ISO3166-1-Alpha-2":"HU","dial":36},{"official_name":"Indonesia","ISO3166-1-Alpha-2":"ID","dial":62},{"official_name":"India","ISO3166-1-Alpha-2":"IN","dial":91},{"official_name":"Ireland","ISO3166-1-Alpha-2":"IE","dial":353},{"official_name":"Iran (Islamic Republic of)","ISO3166-1-Alpha-2":"IR","dial":98},{"official_name":"Iraq","ISO3166-1-Alpha-2":"IQ","dial":964},{"official_name":"Iceland","ISO3166-1-Alpha-2":"IS","dial":354},{"official_name":"Israel","ISO3166-1-Alpha-2":"IL","dial":972},{"official_name":"Italy","ISO3166-1-Alpha-2":"IT","dial":39},{"official_name":"Jamaica","ISO3166-1-Alpha-2":"JM","dial":"1-876"},{"official_name":"Jordan","ISO3166-1-Alpha-2":"JO","dial":962},{"official_name":"Japan","ISO3166-1-Alpha-2":"JP","dial":81},{"official_name":"Kazakhstan","ISO3166-1-Alpha-2":"KZ","dial":7},{"official_name":"Kenya","ISO3166-1-Alpha-2":"KE","dial":254},{"official_name":"Kyrgyzstan","ISO3166-1-Alpha-2":"KG","dial":996},{"official_name":"Kiribati","ISO3166-1-Alpha-2":"KI","dial":686},{"official_name":"Republic of Korea","ISO3166-1-Alpha-2":"KR","dial":82},{"official_name":"Saudi Arabia","ISO3166-1-Alpha-2":"SA","dial":966},{"official_name":"Kuwait","ISO3166-1-Alpha-2":"KW","dial":965},{"official_name":"Lao People's Democratic Republic","ISO3166-1-Alpha-2":"LA","dial":856},{"official_name":"Liberia","ISO3166-1-Alpha-2":"LR","dial":231},{"official_name":"Libya","ISO3166-1-Alpha-2":"LY","dial":218},{"official_name":"Saint Lucia","ISO3166-1-Alpha-2":"LC","dial":"1-758"},{"official_name":"Lesotho","ISO3166-1-Alpha-2":"LS","dial":266},{"official_name":"Lebanon","ISO3166-1-Alpha-2":"LB","dial":961},{"official_name":"Liechtenstein","ISO3166-1-Alpha-2":"LI","dial":423},{"official_name":"Lithuania","ISO3166-1-Alpha-2":"LT","dial":370},{"official_name":"Luxembourg","ISO3166-1-Alpha-2":"LU","dial":352},{"official_name":"Latvia","ISO3166-1-Alpha-2":"LV","dial":371},{"official_name":"China, Macao Special Administrative Region","ISO3166-1-Alpha-2":"MO","dial":853},{"official_name":"Madagascar","ISO3166-1-Alpha-2":"MG","dial":261},{"official_name":"Morocco","ISO3166-1-Alpha-2":"MA","dial":212},{"official_name":"Malaysia","ISO3166-1-Alpha-2":"MY","dial":60},{"official_name":"Republic of Moldova","ISO3166-1-Alpha-2":"MD","dial":373},{"official_name":"Maldives","ISO3166-1-Alpha-2":"MV","dial":960},{"official_name":"Mexico","ISO3166-1-Alpha-2":"MX","dial":52},{"official_name":"Marshall Islands","ISO3166-1-Alpha-2":"MH","dial":692},{"official_name":"North Macedonia","ISO3166-1-Alpha-2":"MK","dial":389},{"official_name":"Mali","ISO3166-1-Alpha-2":"ML","dial":223},{"official_name":"Malta","ISO3166-1-Alpha-2":"MT","dial":356},{"official_name":"Montenegro","ISO3166-1-Alpha-2":"ME","dial":382},{"official_name":"Mongolia","ISO3166-1-Alpha-2":"MN","dial":976},{"official_name":"Monaco","ISO3166-1-Alpha-2":"MC","dial":377},{"official_name":"Mozambique","ISO3166-1-Alpha-2":"MZ","dial":258},{"official_name":"Mauritius","ISO3166-1-Alpha-2":"MU","dial":230},{"official_name":"Montserrat","ISO3166-1-Alpha-2":"MS","dial":"1-664"},{"official_name":"Mauritania","ISO3166-1-Alpha-2":"MR","dial":222},{"official_name":"Martinique","ISO3166-1-Alpha-2":"MQ","dial":596},{"official_name":"Malawi","ISO3166-1-Alpha-2":"MW","dial":265},{"official_name":"Myanmar","ISO3166-1-Alpha-2":"MM","dial":95},{"official_name":"Mayotte","ISO3166-1-Alpha-2":"YT","dial":262},{"official_name":"Namibia","ISO3166-1-Alpha-2":"NA","dial":264},{"official_name":"Nicaragua","ISO3166-1-Alpha-2":"NI","dial":505},{"official_name":"New Caledonia","ISO3166-1-Alpha-2":"NC","dial":687},{"official_name":"Netherlands","ISO3166-1-Alpha-2":"NL","dial":31},{"official_name":"Nepal","ISO3166-1-Alpha-2":"NP","dial":977},{"official_name":"Norfolk Island","ISO3166-1-Alpha-2":"NF","dial":672},{"official_name":"Nigeria","ISO3166-1-Alpha-2":"NG","dial":234},{"official_name":"Niger","ISO3166-1-Alpha-2":"NE","dial":227},{"official_name":"Niue","ISO3166-1-Alpha-2":"NU","dial":683},{"official_name":"Northern Mariana Islands","ISO3166-1-Alpha-2":"MP","dial":"1-670"},{"official_name":"Norway","ISO3166-1-Alpha-2":"NO","dial":47},{"official_name":"Nauru","ISO3166-1-Alpha-2":"NR","dial":674},{"official_name":"New Zealand","ISO3166-1-Alpha-2":"NZ","dial":64},{"official_name":"Oman","ISO3166-1-Alpha-2":"OM","dial":968},{"official_name":"Pakistan","ISO3166-1-Alpha-2":"PK","dial":92},{"official_name":"Panama","ISO3166-1-Alpha-2":"PA","dial":507},{"official_name":"Paraguay","ISO3166-1-Alpha-2":"PY","dial":595},{"official_name":"Pitcairn","ISO3166-1-Alpha-2":"PN","dial":870},{"official_name":"Peru","ISO3166-1-Alpha-2":"PE","dial":51},{"official_name":"Philippines","ISO3166-1-Alpha-2":"PH","dial":63},{"official_name":"State of Palestine","ISO3166-1-Alpha-2":"PS","dial":970},{"official_name":"Palau","ISO3166-1-Alpha-2":"PW","dial":680},{"official_name":"Papua New Guinea","ISO3166-1-Alpha-2":"PG","dial":675},{"official_name":"Poland","ISO3166-1-Alpha-2":"PL","dial":48},{"official_name":"Portugal","ISO3166-1-Alpha-2":"PT","dial":351},{"official_name":"Democratic People's Republic of Korea","ISO3166-1-Alpha-2":"KP","dial":850},{"official_name":"Puerto Rico","ISO3166-1-Alpha-2":"PR","dial":1},{"official_name":"Qatar","ISO3166-1-Alpha-2":"QA","dial":974},{"official_name":"Réunion","ISO3166-1-Alpha-2":"RE","dial":262},{"official_name":"Antarctica","ISO3166-1-Alpha-2":"AQ","dial":672},{"official_name":"Romania","ISO3166-1-Alpha-2":"RO","dial":40},{"official_name":"South Africa","ISO3166-1-Alpha-2":"ZA","dial":27},{"official_name":"Russian Federation","ISO3166-1-Alpha-2":"RU","dial":7},{"official_name":"Rwanda","ISO3166-1-Alpha-2":"RW","dial":250},{"official_name":"Western Sahara","ISO3166-1-Alpha-2":"EH","dial":212},{"official_name":"Samoa","ISO3166-1-Alpha-2":"WS","dial":685},{"official_name":"Senegal","ISO3166-1-Alpha-2":"SN","dial":221},{"official_name":"Seychelles","ISO3166-1-Alpha-2":"SC","dial":248},{"official_name":"Saint Helena","ISO3166-1-Alpha-2":"SH","dial":290},{"official_name":"Singapore","ISO3166-1-Alpha-2":"SG","dial":65},{"official_name":"Saint Kitts and Nevis","ISO3166-1-Alpha-2":"KN","dial":"1-869"},{"official_name":"Sierra Leone","ISO3166-1-Alpha-2":"SL","dial":232},{"official_name":"El Salvador","ISO3166-1-Alpha-2":"SV","dial":503},{"official_name":"San Marino","ISO3166-1-Alpha-2":"SM","dial":378},{"official_name":"Solomon Islands","ISO3166-1-Alpha-2":"SB","dial":677},{"official_name":"Somalia","ISO3166-1-Alpha-2":"SO","dial":252},{"official_name":"Saint Pierre and Miquelon","ISO3166-1-Alpha-2":"PM","dial":508},{"official_name":"Serbia","ISO3166-1-Alpha-2":"RS","dial":381},{"official_name":"Sri Lanka","ISO3166-1-Alpha-2":"LK","dial":94},{"official_name":"Sao Tome and Principe","ISO3166-1-Alpha-2":"ST","dial":239},{"official_name":"Sudan","ISO3166-1-Alpha-2":"SD","dial":249},{"official_name":"Switzerland","ISO3166-1-Alpha-2":"CH","dial":41},{"official_name":"Suriname","ISO3166-1-Alpha-2":"SR","dial":597},{"official_name":"Slovakia","ISO3166-1-Alpha-2":"SK","dial":421},{"official_name":"Slovenia","ISO3166-1-Alpha-2":"SI","dial":386},{"official_name":"Sweden","ISO3166-1-Alpha-2":"SE","dial":46},{"official_name":"Eswatini","ISO3166-1-Alpha-2":"SZ","dial":268},{"official_name":"Syrian Arab Republic","ISO3166-1-Alpha-2":"SY","dial":963},{"official_name":"French Polynesia","ISO3166-1-Alpha-2":"PF","dial":689},{"official_name":"United Republic of Tanzania","ISO3166-1-Alpha-2":"TZ","dial":255},{"official_name":"Turks and Caicos Islands","ISO3166-1-Alpha-2":"TC","dial":"1-649"},{"official_name":"Tonga","ISO3166-1-Alpha-2":"TO","dial":676},{"official_name":"Thailand","ISO3166-1-Alpha-2":"TH","dial":66},{"official_name":"Tajikistan","ISO3166-1-Alpha-2":"TJ","dial":992},{"official_name":"Tokelau","ISO3166-1-Alpha-2":"TK","dial":690},{"official_name":"Turkmenistan","ISO3166-1-Alpha-2":"TM","dial":993},{"official_name":"Timor-Leste","ISO3166-1-Alpha-2":"TL","dial":670},{"official_name":"Togo","ISO3166-1-Alpha-2":"TG","dial":228},{"official_name":"Taiwan","ISO3166-1-Alpha-2":"TW","dial":886},{"official_name":"Trinidad and Tobago","ISO3166-1-Alpha-2":"TT","dial":"1-868"},{"official_name":"Tunisia","ISO3166-1-Alpha-2":"TN","dial":216},{"official_name":"Turkey","ISO3166-1-Alpha-2":"TR","dial":90},{"official_name":"Tuvalu","ISO3166-1-Alpha-2":"TV","dial":688},{"official_name":"United Arab Emirates","ISO3166-1-Alpha-2":"AE","dial":971},{"official_name":"Uganda","ISO3166-1-Alpha-2":"UG","dial":256},{"official_name":"Ukraine","ISO3166-1-Alpha-2":"UA","dial":380},{"official_name":"Uruguay","ISO3166-1-Alpha-2":"UY","dial":598},{"official_name":"United States of America","ISO3166-1-Alpha-2":"US","dial":1},{"official_name":"Uzbekistan","ISO3166-1-Alpha-2":"UZ","dial":998},{"official_name":"Vanuatu","ISO3166-1-Alpha-2":"VU","dial":678},{"official_name":"Holy See","ISO3166-1-Alpha-2":"VA","dial":"39-06"},{"official_name":"Venezuela (Bolivarian Republic of)","ISO3166-1-Alpha-2":"VE","dial":58},{"official_name":"British Virgin Islands","ISO3166-1-Alpha-2":"VG","dial":"1-284"},{"official_name":"Viet Nam","ISO3166-1-Alpha-2":"VN","dial":84},{"official_name":"Saint Vincent and the Grenadines","ISO3166-1-Alpha-2":"VC","dial":"1-784"},{"official_name":"United States Virgin Islands","ISO3166-1-Alpha-2":"VI","dial":"1-340"},{"official_name":"Wallis and Futuna Islands","ISO3166-1-Alpha-2":"WF","dial":681},{"official_name":"Yemen","ISO3166-1-Alpha-2":"YE","dial":967},{"official_name":"Zambia","ISO3166-1-Alpha-2":"ZM","dial":260},{"official_name":"Zimbabwe","ISO3166-1-Alpha-2":"ZW","dial":263},{"official_name":"Bouvet Island","ISO3166-1-Alpha-2":"BV","dial":47},{"official_name":"British Indian Ocean Territory","ISO3166-1-Alpha-2":"IO","dial":246},{"official_name":"Curaçao","ISO3166-1-Alpha-2":"CW","dial":599},{"official_name":"French Southern Territories","ISO3166-1-Alpha-2":"TF","dial":262},{"official_name":"Heard Island and McDonald Islands","ISO3166-1-Alpha-2":"HM","dial":672},{"official_name":"Saint Barthélemy","ISO3166-1-Alpha-2":"BL","dial":590},{"official_name":"Saint Martin (French Part)","ISO3166-1-Alpha-2":"MF","dial":590},{"official_name":"Sint Maarten (Dutch part)","ISO3166-1-Alpha-2":"SX","dial":"1-721"},{"official_name":"South Georgia and the South Sandwich Islands","ISO3166-1-Alpha-2":"GS","dial":500},{"official_name":"South Sudan","ISO3166-1-Alpha-2":"SS","dial":211},{"official_name":"Svalbard and Jan Mayen Islands","ISO3166-1-Alpha-2":"SJ","dial":47},{"official_name":"United Kingdom of Great Britain and Northern Ireland","ISO3166-1-Alpha-2":"GB","dial":44}]`);function he(){const e=new Set;for(const i of Se){const n=typeof i.dial=="number"?String(i.dial):i.dial,a=n.includes(",")?n.split(",").map(t=>t.trim()):[n];for(const t of a){const d=`+${t}`;e.add(d)}}return Array.from(e).sort((i,n)=>{const a=i.replaceAll("+","").split(/[-,]/)[0]??"",t=n.replaceAll("+","").split(/[-,]/)[0]??"",d=Number.parseInt(a,10)||0,p=Number.parseInt(t,10)||0;return d-p}).map(i=>({label:i,value:i}))}const Ie=he();function ye(){return Ie}new Set(".\\+*[^]$()");const ge="de",Pe="CHF";export{Se as C,ge as D,Ce as T,ye as a,Ee as b,Pe as c,ue as u};

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.